|
| LTIPixelLookupTable (const LTIPixel &pixelProps, lt_uint32 tableSize) |
| default constructor More...
|
|
| LTIPixelLookupTable (const LTIPixelLookupTable &) |
| copy constructor More...
|
|
| ~LTIPixelLookupTable () |
| destructor More...
|
|
lt_uint32 | getTableSize () const |
| get table size More...
|
|
void | setTableEntry (lt_uint32 index, const LTIPixel &pixelData) |
| set table entry More...
|
|
void | setTableEntries (const void *mapData) |
| set all table entries More...
|
|
LTIPixel * | getTableEntry (lt_uint32 index) const |
| get table entry More...
|
|
const void * | getTableEntries () const |
| get all table entries More...
|
|
| LTIPixel (void) |
| constructor More...
|
|
| LTIPixel (LTIColorSpace colorSpace, lt_uint16 numBands, LTIDataType dataType, const LTISample *samples=NULL) |
| constructor More...
|
|
| LTIPixel (const LTIPixel &pixel, const lt_uint16 *bandSelection, lt_uint16 numBands) |
| constructor More...
|
|
| LTIPixel (const LTISample *samples, lt_uint16 numBands, LTIColorSpace colorSpace=LTI_COLORSPACE_INVALID) |
| constructor More...
|
|
| LTIPixel (const LTIPixel &) |
| copy constructor More...
|
|
virtual | ~LTIPixel () |
| destructor More...
|
|
LTIPixel & | operator= (const LTIPixel &) |
| assignment operator More...
|
|
bool | operator== (const LTIPixel &) const |
| equality operator More...
|
|
bool | operator!= (const LTIPixel &) const |
| equality operator More...
|
|
lt_uint16 | getNumBands () const |
| get the number of bands More...
|
|
lt_uint16 | getNumBandsWithoutAlpha () const |
| get the number of bands not counting alpha More...
|
|
LTIDataType | getDataType () const |
| get the sample datatype More...
|
|
bool | isSignedData () const |
|
LTIColorSpace | getColorSpace () const |
| get the colorspace More...
|
|
LTIColorSpace | getColorSpaceWithoutAlpha () const |
| get the colorspace without alpha More...
|
|
bool | hasAlphaBand () const |
| returns true if colorspace has alpha channel flags More...
|
|
bool | hasPreMultipliedAlphaBand () const |
| returns true if colorspace has the pre-multiplied lpha channel flag More...
|
|
lt_uint32 | getNumBytes () const |
| get the size of a pixel More...
|
|
lt_uint32 | getNumBytesWithoutAlpha () const |
| get the size of a pixel not counting the alpha band More...
|
|
lt_uint32 | getMaxBytesPerSample () const |
| returns the largest size of any sample More...
|
|
LT_STATUS | checkImpedance (const LTIPixel &pixel, bool enforceColorSpace=true) const |
| returns status code comparing two pixels More...
|
|
LT_STATUS | checkImpedanceWithoutAlpha (const LTIPixel &pixel) const |
|
LTISample * | getSamples () const |
|
LTISample & | getSample (lt_uint16) const |
|
LT_STATUS | getBandSelection (lt_uint16 *&bandSelection) const |
|
const void * | getSampleValueAddr (lt_uint16 band) const |
| returns the address of the specified sample's value More...
|
|
lt_uint8 | getSampleValueUint8 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
lt_int8 | getSampleValueSint8 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
lt_uint16 | getSampleValueUint16 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
lt_int16 | getSampleValueSint16 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
lt_uint32 | getSampleValueUint32 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
lt_int32 | getSampleValueSint32 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
float | getSampleValueFloat32 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
double | getSampleValueFloat64 (lt_uint16 band) const |
| returns the specified sample's value More...
|
|
bool | areSampleValuesMin () const |
| are all samples equal to the minimum value More...
|
|
bool | areSampleValuesMax () const |
| are all samples equal to the maximum value More...
|
|
void | setSampleValuesToMin () |
| sets all samples to minimum More...
|
|
void | setSampleValuesToMax () |
| sets all samples to maximum More...
|
|
void | setSampleValueAddr (lt_uint16 band, const void *data) const |
| sets sample value by address More...
|
|
void | setSampleValuesUint8 (lt_uint8 value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesSint8 (lt_int8 value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesUint16 (lt_uint16 value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesSint16 (lt_int16 value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesUint32 (lt_uint32 value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesSint32 (lt_int32 value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesFloat32 (float value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesFloat64 (double value) |
| sets all samples to the given value More...
|
|
void | setSampleValuesFromDouble (double value) |
| sets all samples to the given value More...
|
|
void | setSampleValueUint8 (lt_uint16 band, lt_uint8 value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueSint8 (lt_uint16 band, lt_int8 value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueUint16 (lt_uint16 band, lt_uint16 value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueSint16 (lt_uint16 band, lt_int16 value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueUint32 (lt_uint16 band, lt_uint32 value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueSint32 (lt_uint16 band, lt_int32 value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueFloat32 (lt_uint16 band, float value) |
| sets the given sample to the given value More...
|
|
void | setSampleValueFloat64 (lt_uint16 band, double value) |
| sets the given sample to the given value More...
|
|
void | setSampleValuesUint8 (const lt_uint8 values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesSint8 (const lt_int8 values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesUint16 (const lt_uint16 values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesSint16 (const lt_int16 values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesUint32 (const lt_uint32 values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesSint32 (const lt_int32 values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesFloat32 (const float values[]) |
| sets all samples to the given values More...
|
|
void | setSampleValuesFloat64 (const double values[]) |
| sets all samples to the given values More...
|
|
This class implements a color lookup table, for use with "indexed" or "palletized" images.
Definition at line 28 of file lti_pixelLookupTable.h.