|
MrSID Decode SDK for Raster Reference Manual
9.5.5.5244
|
#include <lti_imageStageOverrides.h>
Public Member Functions | |
| LTIOverridePixelPropsData () | |
| ~LTIOverridePixelPropsData () | |
| LT_STATUS | setPixelProps (const LTIPixel &pixelProps) |
| set pixel properties of the image More... | |
| LT_STATUS | setPixelBPS (lt_uint8 bps) |
| LT_STATUS | setColorSpace (LTIColorSpace colorspace) |
| LT_STATUS | setDynamicRange (const LTIPixel &drmin, const LTIPixel &drmax) |
| set the dynamic range of the image More... | |
| LT_STATUS | setDefaultDynamicRange (void) |
| set the dynamic range of the image More... | |
| LT_STATUS | setBackgroundPixel (const LTIPixel *backgroundPixel) |
| set the background color of the image More... | |
| LT_STATUS | setNoDataPixel (const LTIPixel *nodataPixel) |
| set the "no data" (transparency) color of the image More... | |
Public Attributes | |
| LTIPixel * | m_pixelProps |
| LTIPixel * | m_drminPixel |
| LTIPixel * | m_drmaxPixel |
| LTIPixel * | m_backgroundPixel |
| LTIPixel * | m_nodataPixel |
Definition at line 91 of file lti_imageStageOverrides.h.
| LTIOverridePixelPropsData::LTIOverridePixelPropsData | ( | ) |
| LTIOverridePixelPropsData::~LTIOverridePixelPropsData | ( | ) |
This function is used to set the background color of the image.
Derived classes may choose to call this function from within their initialize() method. If the background color is not set, or if nullptr is passed in, a background color of black (sample values of 0) will be used. (Exception: for CMYK images, the background is set to white.)
| backgroundPixel | the data for the background color |
Referenced by LTIOverridePixelProps< BASE >::overrideBackgroundPixel().
| LT_STATUS LTIOverridePixelPropsData::setColorSpace | ( | LTIColorSpace | colorspace | ) |
Referenced by LTIOverridePixelProps< BASE >::overrideColorSpace().
| LT_STATUS LTIOverridePixelPropsData::setDefaultDynamicRange | ( | void | ) |
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 nullptr, 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< BASE >::overrideDynamicRange().
This function is used to set the "no data" or transparency color of the image.
Derived classes may choose to call this function from within their initialize() method. If the transparency color is not set, or if nullptr is passed in, the image will be assumed to have no transparent pixels.
| nodataPixel | the data for the transparency color |
Referenced by LTIOverridePixelProps< BASE >::overrideNoDataPixel().
Referenced by LTIOverridePixelProps< BASE >::overridePixelBPS().
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) |
| LTIPixel* LTIOverridePixelPropsData::m_backgroundPixel |
Definition at line 183 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< BASE >::getBackgroundPixel().
| LTIPixel* LTIOverridePixelPropsData::m_drmaxPixel |
Definition at line 182 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< BASE >::getMaxDynamicRange().
| LTIPixel* LTIOverridePixelPropsData::m_drminPixel |
Definition at line 181 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< BASE >::getMinDynamicRange().
| LTIPixel* LTIOverridePixelPropsData::m_nodataPixel |
Definition at line 184 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< BASE >::getNoDataPixel().
| LTIPixel* LTIOverridePixelPropsData::m_pixelProps |
Definition at line 180 of file lti_imageStageOverrides.h.
Referenced by LTIOverridePixelProps< BASE >::getPixelProps().
| Extensis |