OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Fifteen bit normalized remap table to go to/from normalized value to pixel value. More...
#include <ossimNormalizedU15RemapTable.h>
Public Types | |
enum | { TABLE_ENTRIES = 32768 } |
Public Member Functions | |
ossimNormalizedU15RemapTable () | |
default constructor More... | |
virtual | ~ossimNormalizedU15RemapTable () |
virtual destructor More... | |
virtual ossim_int32 | getEntries () const |
Gets the number of table entries. More... | |
virtual ossim_float64 | operator[] (ossim_int32 pix) const |
Gets a normalized value (between '0.0' and '1.0') from a pixel value. More... | |
virtual ossim_float64 | normFromPix (ossim_int32 pix) const |
Gets a normalized value (between '0.0' and '1.0') from a pixel value. More... | |
virtual ossim_int32 | pixFromNorm (ossim_float64 normPix) const |
Returns an pixel value as an int from a normalized value. More... | |
![]() | |
ossimNormalizedRemapTable () | |
default constructor More... | |
virtual | ~ossimNormalizedRemapTable () |
virtual destructor More... | |
virtual ossim_float64 | getNormalizer () const |
Get the value used to normalize and un-normalize table entries. More... | |
Static Private Attributes | |
static ossim_float64 | theTable [TABLE_ENTRIES] |
static bool | theTableIsInitialized = false |
Fifteen bit normalized remap table to go to/from normalized value to pixel value.
Definition at line 27 of file ossimNormalizedU15RemapTable.h.
anonymous enum |
ossimNormalizedU15RemapTable::ossimNormalizedU15RemapTable | ( | ) |
default constructor
Definition at line 19 of file ossimNormalizedU15RemapTable.cpp.
References getEntries(), ossimNormalizedRemapTable::getNormalizer(), theTable, and theTableIsInitialized.
|
virtual |
|
inlinevirtual |
Gets the number of table entries.
Implements ossimNormalizedRemapTable.
Definition at line 78 of file ossimNormalizedU15RemapTable.h.
References TABLE_ENTRIES.
Referenced by ossimNormalizedU15RemapTable().
|
inlinevirtual |
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
Implements ossimNormalizedRemapTable.
Definition at line 89 of file ossimNormalizedU15RemapTable.h.
References TABLE_ENTRIES, and theTable.
Referenced by ossimU15ImageData::convertToNormalizedDouble(), ossimU15ImageData::copyTileToNormalizedBuffer(), and ossimU15ImageData::getNormalizedFloat().
|
inlinevirtual |
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
Implements ossimNormalizedRemapTable.
Definition at line 83 of file ossimNormalizedU15RemapTable.h.
References TABLE_ENTRIES, and theTable.
|
inlinevirtual |
Returns an pixel value as an int from a normalized value.
Implements ossimNormalizedRemapTable.
Definition at line 95 of file ossimNormalizedU15RemapTable.h.
References ossimNormalizedRemapTable::getNormalizer().
Referenced by ossimU15ImageData::copyNormalizedBufferToTile(), and ossimU15ImageData::setNormalizedFloat().
|
staticprivate |
Definition at line 73 of file ossimNormalizedU15RemapTable.h.
Referenced by normFromPix(), operator[](), and ossimNormalizedU15RemapTable().
|
staticprivate |
Definition at line 74 of file ossimNormalizedU15RemapTable.h.
Referenced by ossimNormalizedU15RemapTable().