OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Unsigned 16 bit normalized remap table to go to/from normalized value to pixel value. More...
#include <ossimNormalizedU16RemapTable.h>
Public Types | |
enum | { TABLE_ENTRIES = 65536 } |
Public Member Functions | |
ossimNormalizedU16RemapTable () | |
default constructor More... | |
virtual | ~ossimNormalizedU16RemapTable () |
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 Protected Attributes | |
static ossim_float64 | theTable [TABLE_ENTRIES] |
static bool | theTableIsInitialized = false |
Unsigned 16 bit normalized remap table to go to/from normalized value to pixel value.
Definition at line 27 of file ossimNormalizedU16RemapTable.h.
anonymous enum |
ossimNormalizedU16RemapTable::ossimNormalizedU16RemapTable | ( | ) |
default constructor
Definition at line 20 of file ossimNormalizedU16RemapTable.cpp.
References getEntries(), ossimNormalizedRemapTable::getNormalizer(), theTable, and theTableIsInitialized.
|
virtual |
|
inlinevirtual |
Gets the number of table entries.
Implements ossimNormalizedRemapTable.
Definition at line 77 of file ossimNormalizedU16RemapTable.h.
References TABLE_ENTRIES.
Referenced by ossimNormalizedU16RemapTable().
|
inlinevirtual |
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
Implements ossimNormalizedRemapTable.
Definition at line 88 of file ossimNormalizedU16RemapTable.h.
References TABLE_ENTRIES, and theTable.
Referenced by ossimU16ImageData::convertToNormalizedDouble(), and ossimU16ImageData::getNormalizedFloat().
|
inlinevirtual |
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
Implements ossimNormalizedRemapTable.
Definition at line 82 of file ossimNormalizedU16RemapTable.h.
References TABLE_ENTRIES, and theTable.
|
inlinevirtual |
Returns an pixel value as an int from a normalized value.
Implements ossimNormalizedRemapTable.
Definition at line 94 of file ossimNormalizedU16RemapTable.h.
References ossimNormalizedRemapTable::getNormalizer().
Referenced by ossimU16ImageData::copyNormalizedBufferToTile(), and ossimU16ImageData::setNormalizedFloat().
|
staticprotected |
Definition at line 72 of file ossimNormalizedU16RemapTable.h.
Referenced by normFromPix(), operator[](), and ossimNormalizedU16RemapTable().
|
staticprotected |
Definition at line 73 of file ossimNormalizedU16RemapTable.h.
Referenced by ossimNormalizedU16RemapTable().