OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ossimTableRemapper Class Reference

#include <ossimTableRemapper.h>

Inheritance diagram for ossimTableRemapper:
ossimImageSourceFilter ossimImageSource ossimConnectableObjectListener ossimSource ossimListener ossimConnectableObject ossimErrorStatusInterface ossimObject ossimListenerManager ossimPropertyInterface ossimReferenced ossimHistogramRemapper ossimPiecewiseRemapper

Public Types

enum  RemapTableType { UKNOWN = 0, NATIVE = 1, MIN_MAX = 2, NORMALIZED = 3 }
 
- Public Types inherited from ossimConnectableObject
enum  ossimConnectableObjectDirectionType { CONNECTABLE_DIRECTION_NONE = 0, CONNECTABLE_DIRECTION_INPUT = 1, CONNECTABLE_DIRECTION_OUTPUT = 2 }
 
typedef std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
 

Public Member Functions

 ossimTableRemapper ()
 default constructor More...
 
virtual ossimScalarType getOutputScalarType () const
 This will be used to query the output pixel type of the tile source. More...
 
virtual ossimRefPtr< ossimImageDatagetTile (const ossimIrect &tile_rect, ossim_uint32 resLevel=0)
 
virtual void initialize ()
 
virtual bool saveState (ossimKeywordlist &kwl, const char *prefix=0) const
 Method to save the state of an object to a keyword list. More...
 
virtual bool loadState (const ossimKeywordlist &kwl, const char *prefix=0)
 Method to the load (recreate) the state of an object from a keyword list. More...
 
virtual ostream & print (ostream &os) const
 Outputs theErrorStatus as an ossimErrorCode and an ossimString. More...
 
- Public Member Functions inherited from ossimImageSourceFilter
 ossimImageSourceFilter (ossimObject *owner=NULL)
 
 ossimImageSourceFilter (ossimImageSource *inputSource)
 
 ossimImageSourceFilter (ossimObject *owner, ossimImageSource *inputSource)
 
virtual void getOutputBandList (std::vector< ossim_uint32 > &bandList) const
 
virtual ossim_uint32 getNumberOfInputBands () const
 
bool canConnectMyInputTo (ossim_int32 inputIndex, const ossimConnectableObject *object) const
 required to be overriden by derived classes More...
 
virtual void connectInputEvent (ossimConnectionEvent &event)
 
virtual void disconnectInputEvent (ossimConnectionEvent &event)
 
virtual void propertyEvent (ossimPropertyEvent &event)
 
virtual void refreshEvent (ossimRefreshEvent &event)
 
virtual void setProperty (ossimRefPtr< ossimProperty > property)
 
virtual ossimRefPtr< ossimPropertygetProperty (const ossimString &name) const
 
virtual void getPropertyNames (std::vector< ossimString > &propertyNames) const
 
- Public Member Functions inherited from ossimImageSource
 ossimImageSource (ossimObject *owner=0)
 
 ossimImageSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true)
 
virtual ~ossimImageSource ()
 
virtual ossimRefPtr< ossimImageDatagetTile (const ossimIpt &origin, ossim_uint32 resLevel=0)
 
virtual bool getTile (ossimImageData *result, ossim_uint32 resLevel=0)
 Method to get a tile. More...
 
virtual ossimObjectgetObject ()
 For RTTI support. More...
 
virtual const ossimObjectgetObject () const
 For RTTI support. More...
 
virtual void getDecimationFactor (ossim_uint32 resLevel, ossimDpt &result) const
 Will return the decimation factor for the given resolution level. More...
 
virtual void getDecimationFactors (std::vector< ossimDpt > &decimations) const
 Will return an array of all decimations for each resolution level. More...
 
virtual ossim_uint32 getNumberOfDecimationLevels () const
 Will return the number of resolution levels. More...
 
virtual ossim_uint32 getNumberOfOutputBands () const
 Returns the number of bands in a tile returned from this TileSource. More...
 
virtual ossim_uint32 getTileWidth () const
 Returns the default processing tile width. More...
 
virtual ossim_uint32 getTileHeight () const
 Returns the default processing tile height. More...
 
virtual double getNullPixelValue (ossim_uint32 band=0) const
 Each band has a null pixel associated with it. More...
 
virtual double getMinPixelValue (ossim_uint32 band=0) const
 Returns the min pixel of the band. More...
 
virtual double getMaxPixelValue (ossim_uint32 band=0) const
 Returns the max pixel of the band. More...
 
virtual ossimIrect getBoundingRect (ossim_uint32 resLevel=0) const
 This will return the bounding rect of the source. More...
 
virtual void getBoundingRect (ossimIrect &rect, ossim_uint32 resLevel=0) const
 Gets the bounding rectangle of the source. More...
 
virtual void getValidImageVertices (std::vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const
 ordering specifies how the vertices should be arranged. More...
 
virtual ossimRefPtr< ossimImageGeometrygetImageGeometry ()
 Returns the image geometry object associated with this tile source or NULL if not defined. More...
 
virtual void setImageGeometry (const ossimImageGeometry *geom)
 Default implementation sets geometry of the first input to the geometry specified. More...
 
virtual void saveImageGeometry () const
 Default method to call input's saveImageGeometry. More...
 
virtual void saveImageGeometry (const ossimFilename &geometry_file) const
 Default method to call input's saveImageGeometry. More...
 
virtual bool isIndexedData () const
 
- Public Member Functions inherited from ossimSource
 ossimSource (ossimObject *owner=0)
 
 ossimSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true)
 
virtual ~ossimSource ()
 
virtual bool isSourceEnabled () const
 
virtual void enableSource ()
 
virtual void disableSource ()
 
virtual bool getEnableFlag () const
 
virtual void setEnableFlag (bool flag)
 
virtual bool isInitialized () const
 
virtual void setInitializedFlag (bool flag)
 
- Public Member Functions inherited from ossimConnectableObject
 ossimConnectableObject (ossimObject *owner=0)
 Base constructor of this object. More...
 
 ossimConnectableObject (ossimObject *owner, ossim_int32 inputListSize, ossim_int32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true)
 
virtual ~ossimConnectableObject ()
 
void setId (const ossimId &id)
 All connectable objects will have id's. More...
 
const ossimIdgetId () const
 Will allow us to get this object's id. More...
 
const ossimObjectgetOwner () const
 Fetches the current owner, most likely a container but not limited to one. More...
 
virtual void changeOwner (ossimObject *owner)
 Permits changing the object's owner. More...
 
virtual void setDescription (const ossimString &description)
 
virtual ossimString getDescription () const
 
virtual bool isConnected (ossimConnectableObjectDirectionType direction=CONNECTABLE_DIRECTION_INPUT) const
 will check the direction specified to see if all slots are full. More...
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findConnectableObject(const ossimId &id))
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(RTTItypeid typeId, ossimConnectableObjectDirectionType directionType, bool recurse=true))
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(const ossimString &obj, ossimConnectableObjectDirectionType directionType, bool recurse=true))
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findInputObjectOfType(const ossimString &className))
 
virtual ossim_int32 findInputIndex (const ossimConnectableObject *object)
 Return a valid index of the input list if the passed in object is found else return -1. More...
 
virtual ossim_int32 findInputIndex (const ossimId &id)
 Return a valid index of the input list if the passed id is found else return -1. More...
 
virtual ossim_int32 findOutputIndex (const ossimConnectableObject *object)
 Return a valid index of the output list if the passed in object is found else return -1. More...
 
virtual ossim_int32 findOutputIndex (const ossimId &id)
 Return a valid index of the output list if the passed in object is found else return -1. More...
 
virtual ossim_int32 getMyInputIndexToConnectTo (ossimConnectableObject *object) const
 Should return the first available index to connect to. More...
 
virtual ossim_int32 getMyOutputIndexToConnectTo (ossimConnectableObject *object) const
 Should return the first available index to connect to. More...
 
virtual bool canConnectMyOutputTo (ossim_int32 myOutputIndex, const ossimConnectableObject *object) const
 default implementation is to allow anyone to connect to us. More...
 
virtual void disconnect (ossimConnectableObject *object=0)
 Will disconnect the object passed in. More...
 
virtual void disconnect (const ossimId &id)
 Will disconnect the object passed in. More...
 
virtual ossimRefPtr< ossimConnectableObjectdisconnectMyInput (ossim_int32 inputIndex, bool disconnectOutputFlag=true, bool createEventFlag=true)
 Will disconnect the object at the given input index and generate a connection event. More...
 
virtual void disconnectMyInput (ossimConnectableObject *input, bool disconnectOutputFlag=true, bool createEventFlag=true)
 Finds the index of the passed in input and calls disconnectMyInput(inputIndex, disconnectOutputFlag, createEventFlag);. More...
 
virtual void disconnectMyInputs (ConnectableObjectList &inputList, bool disconnectOutputFlag=true, bool createEventFlag=true)
 
virtual ossimRefPtr< ossimConnectableObjectdisconnectMyOutput (ossim_int32 outputIndex, bool disconnectInputFlag=true, bool createEventFlag=true)
 Will disconnect the object at the given output index and generate a connection event. More...
 
virtual void disconnectMyOutput (ossimConnectableObject *output, bool disconnectInputFlag=true, bool createEventFlag=true)
 Will disconnect the output object. More...
 
virtual void disconnectMyOutputs (ConnectableObjectList &outputList, bool disconnectOutputFlag=true, bool createEventFlag=true)
 
virtual void disconnectAllInputs ()
 Will disconnect all of the input objects. More...
 
virtual void disconnectAllOutputs ()
 Will disconnect all of the output objects. More...
 
virtual ossim_int32 connectMyInputTo (ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true)
 Will try to connect this objects input to the passed in object. More...
 
virtual ossim_int32 connectMyInputTo (ossim_int32 inputIndex, ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true)
 Will connect the specified input to the passed in object. More...
 
virtual bool connectMyInputTo (ConnectableObjectList &inputList, bool makeOutputConnection=true, bool createEventFlag=true)
 
virtual ossim_int32 connectMyOutputTo (ossimConnectableObject *outputObject, bool makeInputConnection=true, bool createEventFlag=true)
 Will try to connect this objects output to the passed in object. More...
 
virtual bool connectMyOutputTo (ConnectableObjectList &outputList, bool makeInputConnection=true, bool createEventFlag=true)
 
virtual bool connectInputList (ConnectableObjectList &inputList)
 Will disconnect itself from all inputs and reset to the passed in input list. More...
 
virtual bool connectOutputList (ConnectableObjectList &outputList)
 Will disconnect itself from all outputs and reset to the passed in output list. More...
 
virtual ossim_uint32 getNumberOfInputs () const
 Returns the number of input objects. More...
 
virtual ossim_uint32 getNumberOfOutputs () const
 Return the number of output objects. More...
 
ossimConnectableObjectgetInput (ossim_uint32 index=0)
 returns the object at the specified index. More...
 
const ossimConnectableObjectgetInput (ossim_uint32 index=0) const
 returns the object at the specified index. More...
 
ossimConnectableObjectgetOutput (ossim_uint32 index=0)
 returns the object at the specified index. More...
 
const ossimConnectableObjectgetOutput (ossim_uint32 index=0) const
 returns the object at the specified index. More...
 
virtual void setNumberOfInputs (ossim_int32 numberOfInputs)
 Will set the number of inputs. More...
 
virtual bool getInputListIsFixedFlag () const
 
virtual bool getOutputListIsFixedFlag () const
 
virtual void setNumberOfOutputs (ossim_int32 numberOfInputs)
 Will set the number of outputs. More...
 
const ConnectableObjectListgetInputList () const
 
const ConnectableObjectListgetOutputList () const
 
ConnectableObjectListgetInputList ()
 
ConnectableObjectListgetOutputList ()
 
 OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const RTTItypeid &typeInfo, bool recurse=true))
 
 OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const ossimString &className, bool recurse=true))
 
virtual void propagateEventToOutputs (ossimEvent &event)
 
virtual void propagateEventToInputs (ossimEvent &event)
 
virtual void setProperty (const ossimString &name, const ossimString &value)
 
virtual ossim_uint32 saveStateOfAllInputs (ossimKeywordlist &kwl, bool saveThisStateFlag=true, ossim_uint32 objectIndex=1, const char *prefix=0) const
 Save the state of all inputs to a keyword list. More...
 
virtual bool fillContainer (ossimConnectableContainer &container)
 Inserts this object and all of its children and inputs into the container provided. More...
 
bool moveInputUp (const ossimId &id)
 Moves the input connection matching id up one in the connection list. More...
 
bool moveInputDown (const ossimId &id)
 Moves the input connection matching id down one in the connection list. More...
 
bool moveInputToTop (const ossimId &id)
 Moves the input connection matching id to the top of the connection list. More...
 
bool moveInputToBottom (const ossimId &id)
 Moves the input connection matching id to the bottom of the connection list. More...
 
virtual void accept (ossimVisitor &visitor)
 We will add a visitor interface for all connectable objects. More...
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimObjectdup () const
 
virtual ossimString getShortName () const
 
virtual ossimString getLongName () const
 
virtual ossimString getClassName () const
 
virtual RTTItypeid getType () const
 
virtual bool canCastTo (ossimObject *obj) const
 
virtual bool canCastTo (const RTTItypeid &id) const
 
virtual bool canCastTo (const ossimString &parentClassName) const
 
virtual bool isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 
- Public Member Functions inherited from ossimListenerManager
 ossimListenerManager ()
 
virtual ~ossimListenerManager ()
 
virtual void fireEvent (ossimEvent &event)
 
virtual bool addListener (ossimListener *listener)
 
virtual bool removeListener (ossimListener *listener)
 
virtual bool findListener (ossimListener *listener)
 
- Public Member Functions inherited from ossimPropertyInterface
 ossimPropertyInterface ()
 
virtual ~ossimPropertyInterface ()
 
virtual ossimString getPropertyValueAsString (const ossimString &name) const
 
void getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const
 
void setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList)
 
- Public Member Functions inherited from ossimErrorStatusInterface
 ossimErrorStatusInterface ()
 
virtual ~ossimErrorStatusInterface ()
 
virtual ossimErrorCode getErrorStatus () const
 
virtual ossimString getErrorStatusString () const
 
virtual void setErrorStatus (ossimErrorCode error_status) const
 
virtual void setErrorStatus () const
 
virtual void clearErrorStatus () const
 
bool hasError () const
 
- Public Member Functions inherited from ossimConnectableObjectListener
 ossimConnectableObjectListener ()
 
virtual ~ossimConnectableObjectListener ()
 
virtual void processEvent (ossimEvent &event)
 ProcessEvent. More...
 
virtual void objectDestructingEvent (ossimObjectDestructingEvent &)
 
virtual void connectionEvent (ossimConnectionEvent &)
 
virtual void disconnectOutputEvent (ossimConnectionEvent &)
 
virtual void connectOutputEvent (ossimConnectionEvent &)
 
virtual void addObjectEvent (ossimContainerEvent &)
 
virtual void removeObjectEvent (ossimContainerEvent &)
 
virtual void containerEvent (ossimContainerEvent &)
 
- Public Member Functions inherited from ossimListener
 ossimListener ()
 
virtual ~ossimListener ()
 
void enableListener ()
 
void disableListener ()
 
void setListenerEnableFlag (bool flag)
 
bool isListenerEnabled () const
 
bool getListenerEnableFlag () const
 

Protected Member Functions

virtual ~ossimTableRemapper ()
 virtual destructor More...
 
void allocate (const ossimIrect &rect)
 
void destroy ()
 
void remapFromNativeTable (ossimRefPtr< ossimImageData > &inputTile)
 
template<class T >
void remapFromNativeTable (T dummy, ossimRefPtr< ossimImageData > &inputTile)
 
void remapFromNormalizedTable (ossimRefPtr< ossimImageData > &inputTile)
 
template<class T >
void dumpTable (T dummy, ostream &os) const
 
 ossimTableRemapper (const ossimTableRemapper &tr)
 
ossimTableRemapperoperator= (const ossimTableRemapper &tr)
 
- Protected Member Functions inherited from ossimImageSourceFilter
virtual ~ossimImageSourceFilter ()
 
- Protected Member Functions inherited from ossimImageSource
 ossimImageSource (const ossimImageSource &rhs)
 
const ossimImageSourceoperator= (const ossimImageSource &)
 
- Protected Member Functions inherited from ossimSource
 ossimSource (const ossimSource &rhs)
 
const ossimSourceoperator= (const ossimSource &rhs)
 
- Protected Member Functions inherited from ossimConnectableObject
ossimConnectableObjectfindObjectOfType (ConnectableObjectList *connectableList, ossimVisitor &visitor)
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 
- Protected Member Functions inherited from ossimListenerManager
 ossimListenerManager (const ossimListenerManager &rhs)
 

Protected Attributes

ossimRefPtr< ossimImageDatatheTile
 
ossimRefPtr< ossimImageDatatheTmpTile
 
std::vector< ossim_uint8theTable
 
ossim_float64theNormBuf
 
ossim_uint32 theTableBinCount
 
ossim_uint32 theTableBandCount
 
RemapTableType theTableType
 
ossimScalarType theInputScalarType
 
ossimScalarType theOutputScalarType
 
- Protected Attributes inherited from ossimImageSourceFilter
ossimImageSourcetheInputConnection
 
- Protected Attributes inherited from ossimSource
bool theEnableFlag
 
bool theInitializedFlag
 
- Protected Attributes inherited from ossimConnectableObject
ossimId theId
 
ossimString theDescription
 
ossimObjecttheOwner
 
bool theInputListIsFixedFlag
 Indicates whether the theInputObjectList is fixed. More...
 
bool theOutputListIsFixedFlag
 Indicates whether the theOutputObjectList is fixed. More...
 
ConnectableObjectList theInputObjectList
 Holds a list of input objects. More...
 
ConnectableObjectList theOutputObjectList
 Holds a list of output objects. More...
 
- Protected Attributes inherited from ossimListenerManager
std::list< ossimListener * > theListenerList
 
bool theEnabledFlag
 
std::list< ossimListener * > theDelayedAdd
 
std::list< ossimListener * > theDelayedRemove
 
bool theFireEventFlag
 
- Protected Attributes inherited from ossimErrorStatusInterface
ossimErrorCode theErrorStatus
 
- Protected Attributes inherited from ossimListener
bool theListenerEnableFlag
 

Friends

ostream & operator<< (ostream &os, const ossimTableRemapper &tr)
 

Detailed Description

Definition at line 25 of file ossimTableRemapper.h.

Member Enumeration Documentation

◆ RemapTableType

Enumerator
UKNOWN 
NATIVE 
MIN_MAX 
NORMALIZED 

Definition at line 28 of file ossimTableRemapper.h.

29  {
30  UKNOWN = 0,
31  NATIVE = 1,
32  MIN_MAX = 2, // the data is native but must use min max for scale
33  NORMALIZED = 3
34  };

Constructor & Destructor Documentation

◆ ossimTableRemapper() [1/2]

ossimTableRemapper::ossimTableRemapper ( )

default constructor

Definition at line 33 of file ossimTableRemapper.cpp.

34  :
35  ossimImageSourceFilter(), // base class
36  theTile(0),
37  theTmpTile(0),
38  theNormBuf(0),
44 {
45  //***
46  // Set the base class "theEnableFlag" to off since no adjustments have been
47  // made yet.
48  //***
49  //disableSource();
50 }
RemapTableType theTableType
ossimImageSourceFilter(ossimObject *owner=NULL)
ossimRefPtr< ossimImageData > theTile
ossim_float64 * theNormBuf
ossimScalarType theInputScalarType
ossim_uint32 theTableBandCount
ossimRefPtr< ossimImageData > theTmpTile
ossimScalarType theOutputScalarType
ossim_uint32 theTableBinCount

◆ ~ossimTableRemapper()

ossimTableRemapper::~ossimTableRemapper ( )
protectedvirtual

virtual destructor

Definition at line 52 of file ossimTableRemapper.cpp.

References destroy().

53 {
54  destroy();
55 }

◆ ossimTableRemapper() [2/2]

ossimTableRemapper::ossimTableRemapper ( const ossimTableRemapper tr)
protected

Member Function Documentation

◆ allocate()

void ossimTableRemapper::allocate ( const ossimIrect rect)
protected

Definition at line 100 of file ossimTableRemapper.cpp.

References ossimImageDataFactory::create(), destroy(), ossimImageData::getMinPix(), ossimImageData::getNumberOfBands(), ossimImageSource::getNumberOfOutputBands(), getOutputScalarType(), ossimImageData::getSize(), ossimIrect::height(), ossimImageData::initialize(), ossimImageDataFactory::instance(), NATIVE, NORMALIZED, ossimImageData::setImageRectangle(), ossimImageData::setMinPix(), ossimImageSourceFilter::theInputConnection, theInputScalarType, theNormBuf, theOutputScalarType, theTableType, theTile, theTmpTile, and ossimIrect::width().

Referenced by getTile(), and ossimHistogramRemapper::getTile().

101 {
102  //---
103  // It's either first getTile or we've had either a resize, so allocate
104  // needed stuff...
105  //---
106  destroy();
107 
108  if (theInputConnection)
109  {
110  ossim_uint32 width = rect.width();
111  ossim_uint32 height = rect.height();
112 
114  theTile->setImageRectangle(rect);
115  // theTile =
116  // ossimImageDataFactory::instance()->create(this,
117  // getOutputScalarType(),
118  // getNumberOfOutputBands(),
119  // width,x
120  // height);
121  theTile->initialize();
122 
123 
126  {
127  //---
128  // We need a temp tile so we can do two remaps
129  // inputTile->remapTable->tmpTile then
130  // tmpTile->normalize->theTile(unnormalize to new scalar)...
131  //---
132  theTmpTile
136  width,
137  height);
140 
141  }
142 
145  {
147  }
148  }
149 }
RemapTableType theTableType
virtual ossim_uint32 getNumberOfBands() const
virtual void setImageRectangle(const ossimIrect &rect)
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
ossimRefPtr< ossimImageData > theTile
ossim_float64 * theNormBuf
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
ossim_uint32 height() const
Definition: ossimIrect.h:487
ossimScalarType theInputScalarType
virtual void initialize()
Initialize the data buffer.
double ossim_float64
static ossimImageDataFactory * instance()
ossimImageSource * theInputConnection
unsigned int ossim_uint32
virtual ossimRefPtr< ossimImageData > create(ossimSource *owner, ossimScalarType scalar, ossim_uint32 bands=1) const
ossim_uint32 width() const
Definition: ossimIrect.h:500
virtual const ossim_float64 * getMinPix() const
ossimRefPtr< ossimImageData > theTmpTile
virtual ossim_uint32 getSize() const
Returns the total number of pixels in a tile for all bands.
ossimScalarType theOutputScalarType
virtual void setMinPix(ossim_float64 min_pix)

◆ destroy()

void ossimTableRemapper::destroy ( )
protected

Definition at line 57 of file ossimTableRemapper.cpp.

References theNormBuf, theTile, and theTmpTile.

Referenced by allocate(), initialize(), and ~ossimTableRemapper().

58 {
59  if (theNormBuf)
60  {
61  delete [] theNormBuf;
62  theNormBuf = 0;
63  }
64  theTmpTile = 0;
65  theTile = 0;
66 }
ossimRefPtr< ossimImageData > theTile
ossim_float64 * theNormBuf
ossimRefPtr< ossimImageData > theTmpTile

◆ dumpTable()

template<class T >
void ossimTableRemapper::dumpTable ( dummy,
ostream &  os 
) const
protected

Definition at line 553 of file ossimTableRemapper.cpp.

References theTable, theTableBandCount, and theTableBinCount.

555 {
556  if (theTable.empty() || !theTableBinCount || !theTableBandCount)
557  {
558  return;
559  }
560 
561  const T* table = reinterpret_cast<const T*>(&theTable.front());
562 
563  ossim_uint32 table_index = 0;
564  for (ossim_uint32 band = 0; band < theTableBandCount; ++band)
565  {
566  for (ossim_uint32 index = 0; index < theTableBinCount; ++index)
567  {
568  os << "tabel[" << band << "][" << index << "]: "
569  << static_cast<int>(table[table_index]) << endl;
570  ++table_index;
571  }
572  }
573 }
std::vector< ossim_uint8 > theTable
unsigned int ossim_uint32
ossim_uint32 theTableBandCount
ossim_uint32 theTableBinCount

◆ getOutputScalarType()

ossimScalarType ossimTableRemapper::getOutputScalarType ( ) const
virtual

This will be used to query the output pixel type of the tile source.

Please ignore the argument. It will soon be removed.

Reimplemented from ossimImageSource.

Definition at line 437 of file ossimTableRemapper.cpp.

References ossimImageSource::getOutputScalarType(), OSSIM_SCALAR_UNKNOWN, and theOutputScalarType.

Referenced by allocate(), ossimHistogramRemapper::buildAutoLinearMinMaxTable(), ossimHistogramRemapper::buildAutoLinearPercentileTable(), ossimPiecewiseRemapper::buildLinearNativeTable(), ossimHistogramRemapper::buildLinearTable(), and ossimHistogramRemapper::setupTable().

438 {
440  {
441  return theOutputScalarType;
442  }
443 
445 }
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
ossimScalarType theOutputScalarType

◆ getTile()

ossimRefPtr< ossimImageData > ossimTableRemapper::getTile ( const ossimIrect rect,
ossim_uint32  resLevel = 0 
)
virtual
Returns
the requested region of interest

Reimplemented from ossimImageSource.

Reimplemented in ossimPiecewiseRemapper, and ossimHistogramRemapper.

Definition at line 151 of file ossimTableRemapper.cpp.

References allocate(), ossimDataObject::getDataObjectStatus(), ossimImageSource::getTile(), NATIVE, OSSIM_EMPTY, OSSIM_NULL, remapFromNativeTable(), remapFromNormalizedTable(), ossimImageData::setImageRectangle(), ossimSource::theEnableFlag, ossimImageSourceFilter::theInputConnection, theTable, theTableType, theTile, theTmpTile, ossimRefPtr< T >::valid(), and ossimImageData::validate().

Referenced by ossimPiecewiseRemapper::getTile().

153 {
154  ossimRefPtr<ossimImageData> result = 0;
155 
157  {
158  // Fetch tile from pointer from the input source.
159  result = theInputConnection->getTile(tile_rect, resLevel);
160  if (theEnableFlag&&result.valid())
161  {
162  // Get its status of the input tile.
163  ossimDataObjectStatus tile_status = result->getDataObjectStatus();
164 
165  // Check for remap bypass:
166  if ( (tile_status != OSSIM_NULL) &&
167  (tile_status != OSSIM_EMPTY) && theTable.size() )
168  {
169 
170  // OK we have an input tile... and it's not null or empty.
171  if(!theTile)
172  {
173  allocate(tile_rect);
174  }
175  if (theTile.valid())
176  {
177  theTile->setImageRectangle(tile_rect);
178  if(theTmpTile.valid()) // not mandatory for all modes.
179  {
180  theTmpTile->setImageRectangle(tile_rect);
181  }
182  // Think things are good. Do the real work...
184  {
185  // Most efficient case...
186  remapFromNativeTable(result);
187  }
188  else
189  {
190  remapFromNormalizedTable(result);
191  }
192 
193  theTile->validate();
194  result = theTile;
195  }
196  }
197  }
198  }
199  return result;
200 }
RemapTableType theTableType
virtual void setImageRectangle(const ossimIrect &rect)
bool theEnableFlag
Definition: ossimSource.h:62
bool valid() const
Definition: ossimRefPtr.h:75
ossimRefPtr< ossimImageData > theTile
void remapFromNativeTable(ossimRefPtr< ossimImageData > &inputTile)
std::vector< ossim_uint8 > theTable
virtual ossimDataObjectStatus getDataObjectStatus() const
virtual ossimDataObjectStatus validate() const
ossimImageSource * theInputConnection
void allocate(const ossimIrect &rect)
ossimRefPtr< ossimImageData > theTmpTile
void remapFromNormalizedTable(ossimRefPtr< ossimImageData > &inputTile)
ossimDataObjectStatus
Definitions for data object status.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)

◆ initialize()

void ossimTableRemapper::initialize ( )
virtual

Reimplemented from ossimImageSourceFilter.

Reimplemented in ossimPiecewiseRemapper, and ossimHistogramRemapper.

Definition at line 68 of file ossimTableRemapper.cpp.

References destroy(), ossimImageSource::getOutputScalarType(), ossimImageSourceFilter::initialize(), OSSIM_SCALAR_UNKNOWN, ossimImageSourceFilter::theInputConnection, theInputScalarType, theOutputScalarType, theTile, and ossimRefPtr< T >::valid().

69 {
70  //---
71  // Call the base class initialize.
72  // Note: This will reset "theInputConnection" if it changed...
73  //---
75  destroy();
77  {
79 
80  // Since we override "getOutputScalarType" make sure something's set.
82  {
84  }
85 
86  if (theTile.valid())
87  {
88  //if ( theTile->getNumberOfBands() !=
89  // theInputConnection->getNumberOfOutputBands() )
90  // {
91  // Wipe everything slick. The next getTile will call allocate.
92  // destroy();
93  // }
94  }
95  }
96 
97  // Nothing else to do for this...
98 }
bool valid() const
Definition: ossimRefPtr.h:75
ossimRefPtr< ossimImageData > theTile
ossimScalarType theInputScalarType
ossimImageSource * theInputConnection
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
ossimScalarType theOutputScalarType

◆ loadState()

bool ossimTableRemapper::loadState ( const ossimKeywordlist kwl,
const char *  prefix = 0 
)
virtual

Method to the load (recreate) the state of an object from a keyword list.

Return true if ok or false on error.

Reimplemented from ossimImageSourceFilter.

Reimplemented in ossimHistogramRemapper, and ossimPiecewiseRemapper.

Definition at line 447 of file ossimTableRemapper.cpp.

References ossimScalarTypeLut::instance(), ossimImageSourceFilter::loadState(), OSSIM_SCALAR_UNKNOWN, and theOutputScalarType.

449 {
450  // Look for scalar type keyword.
452  getEntryNumber(kwl, prefix, true);
453 
454  // Lookup table returns -1 if not found so check return...
455  if ( (st != -1) && (st != OSSIM_SCALAR_UNKNOWN) )
456  {
457  theOutputScalarType = static_cast<ossimScalarType>(st);
458  }
459 
460  return ossimImageSourceFilter::loadState(kwl, prefix);
461 }
static ossimScalarTypeLut * instance()
Returns the static instance of an ossimScalarTypeLut object.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
ossimScalarType
ossimScalarType theOutputScalarType
int ossim_int32

◆ operator=()

ossimTableRemapper & ossimTableRemapper::operator= ( const ossimTableRemapper tr)
protected

Definition at line 593 of file ossimTableRemapper.cpp.

594 {
595  return *this;
596 }

◆ print()

ostream & ossimTableRemapper::print ( ostream &  out) const
virtual

Outputs theErrorStatus as an ossimErrorCode and an ossimString.

Returns
std::ostream&
Note
Derived classes should only have to implement a virtual print, not an operator<< funtion as it's implemented here.

Reimplemented from ossimSource.

Reimplemented in ossimHistogramRemapper, and ossimPiecewiseRemapper.

Definition at line 476 of file ossimTableRemapper.cpp.

References ossimScalarTypeLut::instance(), theTableBandCount, and theTableBinCount.

Referenced by ossimPiecewiseRemapper::buildLinearNativeTable(), and operator<<().

477 {
479 
480  os << "\nossimTableRemapper::print:"
481  << "\ntheTableBinCount: " << theTableBinCount
482  << "\ntheTableBandCount: " << theTableBandCount
483  << "\ntheTableType: " << TABLE_TYPE[theTableType]
484  << "\ntheInputScalarType: " << (*sl)[theInputScalarType]
485  << "\ntheOutputScalarType: " << (*sl)[theOutputScalarType]
486  << endl;
487 
488  if (theTile.valid())
489  {
490  os << "theTile:\n" << *theTile << endl;
491  }
492  if (theTmpTile.valid())
493  {
494  os << "theTmpTile:\n" << *theTmpTile << endl;
495  }
496 
497  switch (theOutputScalarType)
498  {
499  case OSSIM_UCHAR:
500  {
501  dumpTable(ossim_uint8(0), os);
502  break;
503  }
504 
505  case OSSIM_USHORT11:
506  case OSSIM_USHORT12:
507  case OSSIM_USHORT13:
508  case OSSIM_USHORT14:
509  case OSSIM_USHORT15:
510  case OSSIM_USHORT16:
511  {
512  dumpTable(ossim_uint16(0), os);
513  break;
514  }
515 
516  case OSSIM_SSHORT16:
517  {
518  dumpTable(ossim_sint16(0), os);
519  break;
520  }
521 
523  case OSSIM_FLOAT:
524  {
525  dumpTable(ossim_float32(0), os);
526  break;
527  }
528 
530  case OSSIM_DOUBLE:
531  {
532  dumpTable(ossim_float64(0), os);
533  break;
534  }
535 
537  default:
538  {
539  if(traceDebug())
540  {
541  // Shouldn't hit this.
543  << "ossimTableRemapper::print OSSIM_SCALAR_UNKNOWN!\n";
544  }
545  break;
546  }
547 
548  } // End of "switch (theTableType)"
549 
550  return os;
551 }
16 bit unsigned integer (15 bits used)
RemapTableType theTableType
bool valid() const
Definition: ossimRefPtr.h:75
float ossim_float32
ossimRefPtr< ossimImageData > theTile
16 bit unsigned integer (14 bits used)
16 bit unsigned integer (13 bits used)
ossimScalarType theInputScalarType
unsigned short ossim_uint16
double ossim_float64
static ossimScalarTypeLut * instance()
Returns the static instance of an ossimScalarTypeLut object.
signed short ossim_sint16
32 bit normalized floating point
void dumpTable(T dummy, ostream &os) const
64 bit normalized floating point
16 bit unsigned integer (11 bits used)
ossim_uint32 theTableBandCount
ossimRefPtr< ossimImageData > theTmpTile
Used to convert from scalar type enumeration to strings and vice versa.
ossimScalarType theOutputScalarType
ossim_uint32 theTableBinCount
32 bit floating point
16 bit unsigned iteger
64 bit floating point
16 bit signed integer
unsigned char ossim_uint8
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
8 bit unsigned iteger
16 bit unsigned integer (12 bits used)

◆ remapFromNativeTable() [1/2]

void ossimTableRemapper::remapFromNativeTable ( ossimRefPtr< ossimImageData > &  inputTile)
protected

Definition at line 202 of file ossimTableRemapper.cpp.

References OSSIM_DOUBLE, OSSIM_FLOAT, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SSHORT16, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, OSSIM_USHORT16, and theOutputScalarType.

Referenced by getTile().

204 {
205  switch (theOutputScalarType)
206  {
207  case OSSIM_UINT8:
208  {
209  remapFromNativeTable(ossim_uint8(0), inputTile);
210  break;
211  }
212 
213  case OSSIM_USHORT11:
214  case OSSIM_USHORT12:
215  case OSSIM_USHORT13:
216  case OSSIM_USHORT14:
217  case OSSIM_USHORT15:
218  case OSSIM_USHORT16:
219  {
220  remapFromNativeTable(ossim_uint16(0), inputTile);
221  break;
222  }
223 
224  case OSSIM_SSHORT16:
225  {
226  remapFromNativeTable(ossim_sint16(0), inputTile);
227  break;
228  }
229 
231  case OSSIM_FLOAT:
232  {
233  remapFromNativeTable(ossim_float32(0), inputTile);
234  break;
235  }
236 
238  case OSSIM_DOUBLE:
239  {
240  remapFromNativeTable(ossim_float64(0), inputTile);
241  break;
242  }
243 
245  default:
246  {
247  if(traceDebug())
248  {
249  // Shouldn't hit this.
251  << "ossimTableRemapper::remapFromNativeTable"
252  << "\nOutput scalar type is OSSIM_SCALAR_UNKNOWN!\n";
253  }
254  break;
255  }
256 
257  } // End of "switch (theTableType)"
258 }
16 bit unsigned integer (15 bits used)
float ossim_float32
void remapFromNativeTable(ossimRefPtr< ossimImageData > &inputTile)
16 bit unsigned integer (14 bits used)
16 bit unsigned integer (13 bits used)
unsigned short ossim_uint16
double ossim_float64
signed short ossim_sint16
32 bit normalized floating point
64 bit normalized floating point
16 bit unsigned integer (11 bits used)
ossimScalarType theOutputScalarType
8 bit unsigned integer
32 bit floating point
16 bit unsigned iteger
64 bit floating point
16 bit signed integer
unsigned char ossim_uint8
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
16 bit unsigned integer (12 bits used)

◆ remapFromNativeTable() [2/2]

template<class T >
void ossimTableRemapper::remapFromNativeTable ( dummy,
ossimRefPtr< ossimImageData > &  inputTile 
)
protected

Definition at line 260 of file ossimTableRemapper.cpp.

References ossimImageData::copyNormalizedBufferToTile(), ossimImageData::copyTileToNormalizedBuffer(), ossimImageData::getBuf(), ossimImageData::getNumberOfBands(), ossimImageData::getSizePerBand(), theInputScalarType, theNormBuf, theOutputScalarType, theTable, theTableBandCount, theTableBinCount, theTile, and theTmpTile.

263 {
264 
265  const ossim_uint32 BANDS = theTile->getNumberOfBands();
266  const ossim_uint32 PPB = theTile->getSizePerBand(); // pixels per band
267  //---
268  // NOTE:
269  // If (theTableBandCount == one) that means we only have one band; or,
270  // the user wanted to remap all bands using the same table...
271  //---
272  const ossim_uint32 BAND_OFFSET =
274 
275 
276 
277  const T* rt = reinterpret_cast<T*>(&theTable.front()); // remap table (rt)
280  {
281  id = theTile;
282  }
283  else
284  {
285  id = theTmpTile;
286  }
287  if(theTable.size() >= (BANDS*BAND_OFFSET))
288  {
289  for (ossim_uint32 band = 0; band < BANDS; ++band)
290  {
291  const T NULL_PIX = static_cast<T>(id->getNullPix(band));
292  //const T MIN_PIX = static_cast<T>(id->getMinPix(band));
293 
294  const T* s = static_cast<T*>(inputTile->getBuf(band)); // source (s)
295  T* d = static_cast<T*>(id->getBuf(band)); // destination (d)
296 
297  if(s&&d)
298  {
299  for (ossim_uint32 pixel = 0; pixel < PPB; ++pixel)
300  {
301  //---
302  // Get the source pixel and use it as an index to the table.
303  // Note Null is always the "0" index, min always the "1".
304  //---
305  T p = s[pixel];
306  if (p == NULL_PIX) // Null is not always zero (dted).
307  {
308  d[pixel] = NULL_PIX;
309  // p = 0;
310  }
311  else
312  {
313  // else
314  // {
315  // p = (p+1-MIN_PIX); // If min == 1 we want that to map to index 1.
316  // }
317 
318  ossim_uint32 table_index = static_cast<ossim_uint32>(p);
319 
320  //---
321  // If within range use to index the remap table; else, null.
322  // Note:
323  // There is no min, max range checking on value retrieved from table.
324  // Range checking should be performed when the table is built.
325  //---
326  if(table_index < theTableBinCount)
327  {
328  d[pixel] = rt[table_index];
329  }
330  // else if(table_index < 0)
331  // {
332  // if(theTableBinCount > 1)
333  // {
334  // d[pixel] = rt[1];
335  // }
336  // else
337  // {
338  // d[pixel] = table_index;
339  // }
340  // }
341  else
342  {
343  if(theTableBinCount>0)
344  {
345  d[pixel] = rt[theTableBinCount-1];
346  }
347  else
348  {
349  d[pixel] = p;
350  }
351  }
352  }
353  }
354 
355  }
356 
357  rt += BAND_OFFSET; // Go to next band in the table.
358  }
359 
360  }
361 
363  {
364  // Normalize and copy the temp tile to a buffer.
366 
367  // Un-normalize and copy the buffer to the destination tile.
369  }
370 }
virtual ossim_uint32 getNumberOfBands() const
ossimRefPtr< ossimImageData > theTile
ossim_float64 * theNormBuf
std::vector< ossim_uint8 > theTable
ossimScalarType theInputScalarType
virtual ossim_uint32 getSizePerBand() const
Returns the number of pixels in a single band in a tile.
unsigned int ossim_uint32
virtual void copyTileToNormalizedBuffer(ossim_float64 *buf) const
Copies entire tile to buf passed in.
virtual void copyNormalizedBufferToTile(ossim_float64 *buf)
Copies buf passed in to tile.
ossim_uint32 theTableBandCount
ossimRefPtr< ossimImageData > theTmpTile
ossimScalarType theOutputScalarType
virtual const void * getBuf() const
ossim_uint32 theTableBinCount

◆ remapFromNormalizedTable()

void ossimTableRemapper::remapFromNormalizedTable ( ossimRefPtr< ossimImageData > &  inputTile)
protected

Definition at line 372 of file ossimTableRemapper.cpp.

References ossimImageData::copyNormalizedBufferToTile(), ossimImageData::copyTileToNormalizedBuffer(), ossimImageData::getNumberOfBands(), ossimImageData::getSize(), ossimImageData::getSizePerBand(), theNormBuf, theTable, theTableBandCount, theTableBinCount, and theTile.

Referenced by getTile().

374 {
375  if (!theNormBuf) // First time...
376  {
378  }
379 
380  // Normalize and copy the source tile to a buffer.
382 
383  const ossim_uint32 BANDS = theTile->getNumberOfBands();
384  const ossim_uint32 PPB = theTile->getSizePerBand(); // pixels per band
385 
386  //---
387  // NOTE:
388  // If (theTableBandCount == one) that means we only have one band; or,
389  // the user wanted to remap all bands using the same table...
390  //---
391  const ossim_uint32 BAND_OFFSET = (theTableBandCount == 1) ? 0 : PPB;
392 
393  // remap table (rt)
394  ossim_float64* rt = reinterpret_cast<ossim_float64*>(&theTable.front());
395 
396  ossim_float64* buf = theNormBuf;
397  ossim_float64 p = 0.0;
398  for (ossim_uint32 band = 0; band < BANDS; ++band)
399  {
400  for (ossim_uint32 pixel = 0; pixel < PPB; ++pixel)
401  {
402  // Get the source pixel...
403  ossim_uint32 idx
404  = static_cast<ossim_uint32>(buf[pixel]*theTableBinCount+0.5);
405 
406  if((idx < theTableBinCount))
407  {
408  // If within range use to index the remap table; else, null.
409  p = (idx < theTableBinCount) ? rt[idx] : 0.0;
410  }
411 // else if(idx < 0)
412 // {
413 // p = 0.0;
414 // }
415  else
416  {
417  p = 1.0;
418  }
419  // Range check (in case table bad) and assign to destination pixel.
420  buf[pixel] = (p >= 0.0) ? ( (p <=1.0) ? p : 1) : 0.0;
421  }
422 
423  // (GP)this is not for th table so this offset appears wrong
424  // commenting this out and replacing with t bin count
425  // Go to next band.
426  //rt += BAND_OFFSET;
427 
428 
429  rt += theTableBinCount;
430  buf += PPB;
431  }
432 
433  // Un-normalize and copy the buffer to the destination tile.
435 }
virtual ossim_uint32 getNumberOfBands() const
ossimRefPtr< ossimImageData > theTile
ossim_float64 * theNormBuf
std::vector< ossim_uint8 > theTable
double ossim_float64
virtual ossim_uint32 getSizePerBand() const
Returns the number of pixels in a single band in a tile.
unsigned int ossim_uint32
virtual void copyTileToNormalizedBuffer(ossim_float64 *buf) const
Copies entire tile to buf passed in.
virtual void copyNormalizedBufferToTile(ossim_float64 *buf)
Copies buf passed in to tile.
ossim_uint32 theTableBandCount
virtual ossim_uint32 getSize() const
Returns the total number of pixels in a tile for all bands.
ossim_uint32 theTableBinCount

◆ saveState()

bool ossimTableRemapper::saveState ( ossimKeywordlist kwl,
const char *  prefix = 0 
) const
virtual

Method to save the state of an object to a keyword list.

Return true if ok or false on error.

Reimplemented from ossimImageSourceFilter.

Reimplemented in ossimHistogramRemapper, and ossimPiecewiseRemapper.

Definition at line 463 of file ossimTableRemapper.cpp.

References ossimKeywordlist::add(), ossimScalarTypeLut::instance(), ossimImageSourceFilter::saveState(), ossimKeywordNames::SCALAR_TYPE_KW, and theOutputScalarType.

465 {
466  // Save the output scalar type.
467  kwl.add(prefix,
470  getEntryString(theOutputScalarType).c_str(),
471  true);
472 
473  return ossimImageSourceFilter::saveState(kwl, prefix);
474 }
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
static ossimScalarTypeLut * instance()
Returns the static instance of an ossimScalarTypeLut object.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossimScalarType theOutputScalarType
static const char * SCALAR_TYPE_KW

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  os,
const ossimTableRemapper tr 
)
friend

Definition at line 576 of file ossimTableRemapper.cpp.

577 {
578  return tr.print(os);
579 }
virtual ostream & print(ostream &os) const
Outputs theErrorStatus as an ossimErrorCode and an ossimString.

Member Data Documentation

◆ theInputScalarType

ossimScalarType ossimTableRemapper::theInputScalarType
protected

Definition at line 74 of file ossimTableRemapper.h.

Referenced by allocate(), initialize(), and remapFromNativeTable().

◆ theNormBuf

ossim_float64* ossimTableRemapper::theNormBuf
protected

◆ theOutputScalarType

ossimScalarType ossimTableRemapper::theOutputScalarType
protected

◆ theTable

std::vector<ossim_uint8> ossimTableRemapper::theTable
protected

◆ theTableBandCount

ossim_uint32 ossimTableRemapper::theTableBandCount
protected

◆ theTableBinCount

ossim_uint32 ossimTableRemapper::theTableBinCount
protected

◆ theTableType

RemapTableType ossimTableRemapper::theTableType
protected

◆ theTile

ossimRefPtr<ossimImageData> ossimTableRemapper::theTile
protected

◆ theTmpTile

ossimRefPtr<ossimImageData> ossimTableRemapper::theTmpTile
protected

Definition at line 68 of file ossimTableRemapper.h.

Referenced by allocate(), destroy(), getTile(), and remapFromNativeTable().


The documentation for this class was generated from the following files: