32 #ifndef ossimHistogramRemapper_HEADER 33 #define ossimHistogramRemapper_HEADER 1 45 LINEAR_1STD_FROM_MEAN = 1,
46 LINEAR_2STD_FROM_MEAN = 2,
47 LINEAR_3STD_FROM_MEAN = 3,
48 LINEAR_AUTO_MIN_MAX = 4,
49 LINEAR_AUTO_PERCENTILE = 5,
80 void setStretchMode(StretchMode mode,
bool rebuildTableFlag=
false);
93 void setStretchModeAsString(
const ossimString& mode,
94 bool rebuildTableFlag=
false);
99 StretchMode getStretchMode()
const;
455 const char* prefix=0)
const;
464 const char* prefix=0);
496 void buildLinearTable();
497 void buildAutoLinearMinMaxTable();
498 void buildAutoLinearPercentileTable();
499 template <
class T>
void buildLinearTable(T dummy);
500 template <
class T>
void buildAutoLinearMinMaxTableTemplate(T dummy);
501 template <
class T>
void buildAutoLinearPercentileTableTemplate(T dummy);
507 void buildLinearTableStdFromMean();
513 void initializeClips();
526 void initializeMinMaxOutput();
541 void verifyEnabled();
554 void setBypassFlag(
bool flag);
562 template <
class T>
void applyLinearStretch(
ossimTableRemapper & operator=(const ossimTableRemapper &tr)
virtual ostream & print(ostream &os) const
Outputs theErrorStatus as an ossimErrorCode and an ossimString.
StretchMode theStretchMode
vector< ossim_float64 > theNormalizedLowClipPoint
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &tile_rect, ossim_uint32 resLevel=0)
Represents serializable keyword/value map.
ossimRefPtr< ossimMultiResLevelHistogram > theHistogram
vector< ossim_uint32 > theBandList
vector< ossim_float64 > theNormalizedHighClipPoint
virtual ossimString getShortName() const
bool theResetBandIndicesFlag
virtual void initialize()
virtual double getMinPixelValue(ossim_uint32 band=0) const
Returns the min pixel of the band.
vector< ossim_float64 > theMinOutputValue
bool canConnectMyInputTo(ossim_int32 inputIndex, const ossimConnectableObject *object) const
required to be overriden by derived classes
unsigned int ossim_uint32
virtual ossimString getLongName() const
vector< ossim_float64 > theMaxOutputValue
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
vector< ossim_float64 > theMidPoint
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
std::basic_ostream< char > ostream
Base class for char output streams.