12 #ifndef ossimBandAverageFilter_HEADER 13 #define ossimBandAverageFilter_HEADER 29 const std::vector<double>& weights);
89 const char* prefix=0);
94 const char* prefix=0)
const;
102 template<
class T>
void averageInput(
ossimRefPtr< ossimImageData > theTile
This filter outputs a single band that is the weighted average of all the input bands retrieved from ...
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
virtual void initialize()
virtual double getMinPixelValue(ossim_uint32 band=0) const
Returns the min pixel of the band.
unsigned int ossim_uint32
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
std::vector< double > theWeights
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)