MeVisLab Toolbox Reference
mlInputSubImageProperties.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_INPUT_SUB_IMAGE_PROPERTIES_H
14#define ML_INPUT_SUB_IMAGE_PROPERTIES_H
15
20
21#include "mlScaleShiftData.h"
22
24
25//-------------------------------------------------------------------------
32//-------------------------------------------------------------------------
34{
35
36public:
37
40 dataType(MLint8Type),
41 dataTypeWasSet(false),
42 useInputTileCache(false),
43 readOnlyInputTile(false),
44 scaleShift() // Leave the default setting which is the identity.
45 {
46 }
47
50
53
58
65
70};
71
73
74#endif // __mlInputSubImageProperties_H
75
76
77
Defines the class InputSubImageProperties which is a simple container for some properties which can b...
MLDataType dataType
Data type for the subimage. It must not be changed if useInputTileCache is true.
bool dataTypeWasSet
A flag if the datatype was set by the user.
ScaleShiftData scaleShift
Describes scaling of the input data buffers; default is the identity, that is _shift=0 and _scale = 1...
InputSubImageProperties()
Constructor initializing all members.
bool readOnlyInputTile
If this flag is set, the input tiles (SubImgs) that are passed to Module::calculateOutputSubImage are...
bool useInputTileCache
Data type for the subimage.
MLint32 MLDataType
MLDataType.
Definition mlTypeDefs.h:596
@ MLint8Type
Enumerator for the signed 8 bit ML integer type.
Definition mlTypeDefs.h:620
Target mlrange_cast(Source arg)
Generic version of checked ML casts.