|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Signed 16 bit normalized remap tables to go to/from normalized value to pixel value. More...
#include <ossimNormalizedS16RemapTable.h>
Public Types | |
| enum | { TABLE_ENTRIES = 65536, OFFSET_TO_ZERO = 32768, NULL_PIX = -32768, MIN_PIX = -32767 } |
Public Member Functions | |
| ossimNormalizedS16RemapTable () | |
| default constructor More... | |
| virtual | ~ossimNormalizedS16RemapTable () |
| virtual destructor More... | |
| virtual ossim_int32 | getEntries () const |
| Gets the number of table entries. More... | |
| virtual ossim_float64 | operator[] (ossim_int32 pix) const |
| Gets normalized value (between '0.0' and '1.0') from an int which should in scalar range of a signed 16 bit. More... | |
| virtual ossim_float64 | normFromPix (ossim_int32 pix) const |
| Gets normalized value (between '0.0' and '1.0') from an int which should in scalar range of a signed 16 bit. More... | |
| virtual ossim_int32 | pixFromNorm (ossim_float64 normPix) const |
| Gets pixel value from normalized value. More... | |
Public Member Functions inherited from ossimNormalizedRemapTable | |
| 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 |
Signed 16 bit normalized remap tables to go to/from normalized value to pixel value.
Definition at line 27 of file ossimNormalizedS16RemapTable.h.
| anonymous enum |
| Enumerator | |
|---|---|
| TABLE_ENTRIES | |
| OFFSET_TO_ZERO | |
| NULL_PIX | |
| MIN_PIX | |
Definition at line 37 of file ossimNormalizedS16RemapTable.h.
| ossimNormalizedS16RemapTable::ossimNormalizedS16RemapTable | ( | ) |
default constructor
Definition at line 19 of file ossimNormalizedS16RemapTable.cpp.
References getEntries(), ossimNormalizedRemapTable::getNormalizer(), theTable, and theTableIsInitialized.
|
virtual |
|
inlinevirtual |
Gets the number of table entries.
Implements ossimNormalizedRemapTable.
Definition at line 89 of file ossimNormalizedS16RemapTable.h.
References TABLE_ENTRIES.
Referenced by ossimNormalizedS16RemapTable().
|
inlinevirtual |
Gets normalized value (between '0.0' and '1.0') from an int which should in scalar range of a signed 16 bit.
Implements ossimNormalizedRemapTable.
Definition at line 107 of file ossimNormalizedS16RemapTable.h.
References OFFSET_TO_ZERO, and theTable.
Referenced by ossimS16ImageData::convertToNormalizedDouble(), ossimS16ImageData::copyTileToNormalizedBuffer(), and ossimS16ImageData::getNormalizedFloat().
|
inlinevirtual |
Gets normalized value (between '0.0' and '1.0') from an int which should in scalar range of a signed 16 bit.
Implements ossimNormalizedRemapTable.
Definition at line 94 of file ossimNormalizedS16RemapTable.h.
References OFFSET_TO_ZERO, and theTable.
|
inlinevirtual |
Gets pixel value from normalized value.
Valid returns range is signed 16 bit range or -32768 to 32767.
Implements ossimNormalizedRemapTable.
Definition at line 120 of file ossimNormalizedS16RemapTable.h.
References ossimNormalizedRemapTable::getNormalizer(), MIN_PIX, NULL_PIX, and OFFSET_TO_ZERO.
Referenced by ossimS16ImageData::copyNormalizedBufferToTile(), and ossimS16ImageData::setNormalizedFloat().
|
staticprivate |
Definition at line 84 of file ossimNormalizedS16RemapTable.h.
Referenced by normFromPix(), operator[](), and ossimNormalizedS16RemapTable().
|
staticprivate |
Definition at line 85 of file ossimNormalizedS16RemapTable.h.
Referenced by ossimNormalizedS16RemapTable().
1.8.14