MrSID Decode SDK for Raster Reference Manual
9.0.0.3864
|
#include <lti_imageStageOverrides.h>
Public Member Functions | |
LTIOverridePixelPropsData () | |
~LTIOverridePixelPropsData () | |
LT_STATUS | setPixelProps (const LTIPixel &pixelProps) |
set pixel properties of the image | |
LT_STATUS | setPixelBPS (lt_uint8 bps) |
LT_STATUS | setDynamicRange (const LTIPixel &drmin, const LTIPixel &drmax) |
set the dynamic range of the image | |
LT_STATUS | setDefaultDynamicRange (void) |
set the dynamic range of the image | |
Public Attributes | |
LTIPixel * | m_pixelProps |
LTIPixel * | m_drminPixel |
LTIPixel * | m_drmaxPixel |
Definition at line 96 of file lti_imageStageOverrides.h.
This function is used to set the dynamic range of the image. The dynamic range consists of the minimum and maximum value for a given sample. This function sets these values to the natural range of the sample datatype.
Derived classes may choose to call this function from within their initialize() method. If the dynamic range is not set, the natural minimum and maximum of the datatype of the sample is used.
LT_STATUS LTIOverridePixelPropsData::setDynamicRange | ( | const LTIPixel & | drmin, |
const LTIPixel & | drmax | ||
) |
This function is used to set the dynamic range of the image. The dynamic range consists of the minimum and maximum value for a given sample.
If both the minimum and maximum are NULL, the natural range of the sample datatype will be used.
Derived classes may choose to call this function from within their initialize() method. If the dynamic range is not set, the natural minimum and maximum of the datatype of the sample is used.
drmin | the minimum dynamic range value |
drmax | the maximum dynamic range value |
Referenced by LTIOverridePixelProps< LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > >::overrideDynamicRange().
LT_STATUS LTIOverridePixelPropsData::setPixelProps | ( | const LTIPixel & | pixelProps | ) |
This function is used to set the pixel properties of the image, namely the datatype, colorspace, and number of bands.
Derived classes are required to call this function from within their initialize() method.
pixelProps | the basic pixel properties of the image (number of bands, colorspace, datatype) |
Definition at line 156 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > >::getMaxDynamicRange().
Definition at line 155 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > >::getMinDynamicRange().
Definition at line 154 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > >::getPixelProps().