OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Twelve bit normalized remap table to go to/from normalized value to pixel value. More...
#include <ossimNormalizedU12RemapTable.h>
Public Types | |
enum | { TABLE_ENTRIES = 4096 } |
Public Member Functions | |
ossimNormalizedU12RemapTable () | |
default constructor More... | |
virtual | ~ossimNormalizedU12RemapTable () |
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 |
Twelve bit normalized remap table to go to/from normalized value to pixel value.
Definition at line 27 of file ossimNormalizedU12RemapTable.h.
anonymous enum |
ossimNormalizedU12RemapTable::ossimNormalizedU12RemapTable | ( | ) |
default constructor
Definition at line 19 of file ossimNormalizedU12RemapTable.cpp.
References getEntries(), ossimNormalizedRemapTable::getNormalizer(), theTable, and theTableIsInitialized.
|
virtual |
|
inlinevirtual |
Gets the number of table entries.
Implements ossimNormalizedRemapTable.
Definition at line 78 of file ossimNormalizedU12RemapTable.h.
References TABLE_ENTRIES.
Referenced by ossimNormalizedU12RemapTable().
|
inlinevirtual |
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
Implements ossimNormalizedRemapTable.
Definition at line 89 of file ossimNormalizedU12RemapTable.h.
References TABLE_ENTRIES, and theTable.
Referenced by ossimU12ImageData::convertToNormalizedDouble(), ossimU12ImageData::copyTileToNormalizedBuffer(), and ossimU12ImageData::getNormalizedFloat().
|
inlinevirtual |
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
Implements ossimNormalizedRemapTable.
Definition at line 83 of file ossimNormalizedU12RemapTable.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 ossimNormalizedU12RemapTable.h.
References ossimNormalizedRemapTable::getNormalizer().
Referenced by ossimU12ImageData::copyNormalizedBufferToTile(), and ossimU12ImageData::setNormalizedFloat().
|
staticprivate |
Definition at line 73 of file ossimNormalizedU12RemapTable.h.
Referenced by normFromPix(), operator[](), and ossimNormalizedU12RemapTable().
|
staticprivate |
Definition at line 74 of file ossimNormalizedU12RemapTable.h.
Referenced by ossimNormalizedU12RemapTable().