9 #ifndef ossimMultiBandHistogramTileSource_HEADER 10 #define ossimMultiBandHistogramTileSource_HEADER 18 OSSIM_HISTOGRAM_NO_ALGORITHM = 0,
19 OSSIM_HISTOGRAM_LINEAR_STRETCH_ALGORITHM = 1
23 double maxValuePercent,
31 theMinValuePercentArray = arrayPercents;
35 theMaxValuePercentArray = arrayPercents;
40 if(arrayIndex < theMinValuePercentArray.size())
42 theMinValuePercentArray[arrayIndex] = minValue;
48 if(arrayIndex < theMaxValuePercentArray.size())
50 theMaxValuePercentArray[arrayIndex] = maxValue;
55 if(arrayIndex < theMinValuePercentArray.size())
57 return theMinValuePercentArray[arrayIndex];
63 if(arrayIndex < theMaxValuePercentArray.size())
65 return theMaxValuePercentArray[arrayIndex];
80 const char* prefix=0);
82 const char* prefix=0)
const;
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=NULL)
Method to the load (recreate) the state of an object from a keyword list.
Represents serializable keyword/value map.
ossimMultiBandHistogramAlgorithm theAlgorithm
double nan()
Method to return ieee floating point double precision NAN.
virtual void setMaxValuePercent(ossim_uint32 arrayIndex, double maxValue)
virtual void initialize()
virtual double getMaxValuePercent(ossim_uint32 arrayIndex) const
std::vector< double > theMaxValuePercentArray
std::vector< double > theMinValuePercentArray
ossimMultiBandHistogramAlgorithm
ossimRefPtr< ossimImageData > theTile
virtual void setMinValuePercent(ossim_uint32 arrayIndex, double minValue)
unsigned int ossim_uint32
virtual ossim_uint32 getNumberOfMaxValues() const
virtual void setMaxValuePercent(const std::vector< double > &arrayPercents)
virtual ossim_uint32 getNumberOfMinValues() const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=NULL) const
Method to save the state of an object to a keyword list.
virtual double getMinValuePercent(ossim_uint32 arrayIndex) const
virtual void setMinValuePercent(const std::vector< double > &arrayPercents)
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)