Filter to change data type of an image. More...
#include <spatmod/imagefilterdatatype.h>

Classes | |
| class | SETTINGS |
| Filter settings. More... | |
Public Types | |
| enum | MODE { MODE_Source = 0, MODE_RoundLimit = 1, MODE_RoundInvalidate = 2, MODE_RoundRescale = 3, MODE_RoundNoCheck = 4, MODE_FloorLimit = 5, MODE_FloorInvalidate = 6, MODE_FloorRescale = 7, MODE_FloorNoCheck = 8, MODE_Limit = MODE_RoundLimit, MODE_Invalidate = MODE_RoundInvalidate, MODE_Rescale = MODE_RoundRescale, MODE_NoCheck = MODE_RoundNoCheck } |
Public Member Functions | |
| FILTER_DATATYPE (STAGE *pSourceImage, bool TakeOwnership, const SETTINGS *Settings) | |
| FILTER_DATATYPE (STAGE *pSourceImage, bool TakeOwnership, DATATYPE TargetDataType, int Precision, MODE Mode, double MinValue, double MaxValue, bool PassOpacity=true) | |
| FILTER_DATATYPE (STAGE *pSourceImage, bool TakeOwnership, DATATYPE TargetDataType, int Precision, MODE Mode, bool PassOpacity=true) | |
| FILTER_DATATYPE (STAGE *pSourceImage, bool TakeOwnership, DATATYPE TargetDataType, MODE Mode, double MinValue, double MaxValue, bool PassOpacity=true) | |
| FILTER_DATATYPE (STAGE *pSourceImage, bool TakeOwnership, DATATYPE TargetDataType, MODE Mode, bool PassOpacity=true) | |
| virtual | ~FILTER_DATATYPE () |
Filter to change data type of an image.
Mode for how values are converted and handling for out of range values.
| SPATMOD::IMAGE::FILTER_DATATYPE::FILTER_DATATYPE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| DATATYPE | TargetDataType, | |||
| MODE | Mode, | |||
| bool | PassOpacity = true | |||
| ) |
Construct with same target data type and mode for all samples and default range.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| TargetDataType | Target data type | |
| Mode | Mode for value conversion and range validation | |
| PassOpacity | Pass opacity samples unchanged |
| SPATMOD::IMAGE::FILTER_DATATYPE::FILTER_DATATYPE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| DATATYPE | TargetDataType, | |||
| MODE | Mode, | |||
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | PassOpacity = true | |||
| ) |
Construct with same target data type and mode for all samples and specified range.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| TargetDataType | Target data type | |
| Mode | Mode for value conversion and range validation | |
| MinValue | Minimum target sample value | |
| MaxValue | Maximum target sample value | |
| PassOpacity | Pass opacity samples unchanged |
| SPATMOD::IMAGE::FILTER_DATATYPE::FILTER_DATATYPE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| DATATYPE | TargetDataType, | |||
| int | Precision, | |||
| MODE | Mode, | |||
| bool | PassOpacity = true | |||
| ) |
Construct with same target data type and mode for all samples and default range.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| TargetDataType | Target data type | |
| Precision | Sample Precision | |
| Mode | Mode for value conversion and range validation | |
| PassOpacity | Pass opacity samples unchanged |
| SPATMOD::IMAGE::FILTER_DATATYPE::FILTER_DATATYPE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| DATATYPE | TargetDataType, | |||
| int | Precision, | |||
| MODE | Mode, | |||
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | PassOpacity = true | |||
| ) |
Construct with same target data type and mode for all samples and specified range.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| TargetDataType | Target data type | |
| Precision | Sample Precision | |
| Mode | Mode for value conversion and range validation | |
| MinValue | Minimum target sample value | |
| MaxValue | Maximum target sample value | |
| PassOpacity | Pass opacity samples unchanged |
| SPATMOD::IMAGE::FILTER_DATATYPE::FILTER_DATATYPE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| const SETTINGS * | Settings | |||
| ) |
Construct with SETTINGS array.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| Settings | Array of settings, one entry for each input sample |
| virtual SPATMOD::IMAGE::FILTER_DATATYPE::~FILTER_DATATYPE | ( | ) | [virtual] |
1.6.1