#include <mlInputSubImageProperties.h>
Public Member Functions | |
| InputSubImageProperties () | |
| Constructor initializing all members. | |
Public Attributes | |
| 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. | |
| bool | useInputTileCache |
| Data type for the subimage. | |
| bool | readOnlyInputTile |
| If this flag is set, the input tiles (SubImgs) that are passed to Module::calculateOutputSubImage are read-only and may not be written to in Module::calculateOutputSubImage, the default is false, so that a module may write to the input tiles. | |
| ScaleShiftData | scaleShift |
| Describes scaling of the input data buffers; default is the identity, that is _shift=0 and _scale = 1. | |
The members are public since it is only a data container and no functionality is implemented on them.
Definition at line 27 of file mlInputSubImageProperties.h.
| ml::InputSubImageProperties::InputSubImageProperties | ( | ) | [inline] |
Data type for the subimage. It must not be changed if useInputTileCache is true.
Definition at line 43 of file mlInputSubImageProperties.h.
A flag if the datatype was set by the user.
Definition at line 46 of file mlInputSubImageProperties.h.
If this flag is set, the input tiles (SubImgs) that are passed to Module::calculateOutputSubImage are read-only and may not be written to in Module::calculateOutputSubImage, the default is false, so that a module may write to the input tiles.
This flag can be used by the ml::Host to directly pass ML pages to Module::calculateOutputSubImage if the size/datatype of the input tile matches the size/type of a page.
Definition at line 58 of file mlInputSubImageProperties.h.
Describes scaling of the input data buffers; default is the identity, that is _shift=0 and _scale = 1.
It must not be set to non default values if useInputTileCache is also true.
Definition at line 63 of file mlInputSubImageProperties.h.
Data type for the subimage.
useInputTileCache=true does not work together with non default scaleShift settings or inSubImgDType which differs from the type of the corresponding input subimage.
Definition at line 51 of file mlInputSubImageProperties.h.
1.5.8