15 #ifndef ossimNormalizedU13RemapTable_HEADER 16 #define ossimNormalizedU13RemapTable_HEADER 98 if(normPix <= 0.0)
return 0;
104 p = ( (p < TABLE_ENTRIES) ? (p >= 0.0 ? p : 0.0) :
getNormalizer());
107 p = ossim::round<ossim_int32>(p);
virtual ossim_float64 normFromPix(ossim_int32 pix) const =0
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
virtual ossim_int32 getEntries() const
Gets the number of table entries.
virtual ossim_float64 operator[](ossim_int32 pix) const
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
virtual ossim_float64 normFromPix(ossim_int32 pix) const
Gets a normalized value (between '0.0' and '1.0') from a pixel value.
static bool theTableIsInitialized
virtual ossim_int32 getEntries() const =0
Pure virtual method to get the number of table entries.
Thirteen bit normalized remap table to go to/from normalized value to pixel value.
virtual ossim_int32 pixFromNorm(ossim_float64 normPix) const
Returns an pixel value as an int from a normalized value.
virtual ossim_int32 pixFromNorm(ossim_float64 normPix) const =0
Returns an pixel value as an int from a normalized value.
static ossim_float64 theTable[TABLE_ENTRIES]
Base class implemetation of normalized remap tables to go to/from normalized value to pixel value...
virtual ossim_float64 getNormalizer() const
Get the value used to normalize and un-normalize table entries.
virtual ossim_float64 operator[](ossim_int32 pix) const =0
Gets a normalized value (between '0.0' and '1.0') from a pixel value.