26 #ifndef __TERRALIB_RP_INTERNAL_MIXTUREMODELSTRATEGY_H 27 #define __TERRALIB_RP_INTERNAL_MIXTUREMODELSTRATEGY_H 30 #include "../raster/Raster.h" 39 #include <boost/numeric/ublas/matrix.hpp> 61 virtual bool initialize(
StrategyParameters const*
const strategyParams)
throw(te::rp::Exception) = 0;
74 virtual bool execute(
const te::rst::Raster& inputRaster,
const std::vector<unsigned int>& inputRasterBands,
75 const std::vector<std::string>& inputSensorBands,
const std::map<std::string, std::vector<double> >& components,
76 std::vector<te::rst::Raster*>& outputRaster,
const bool normalize,
const bool enableProgressInterface)
throw(te::rp::Exception) = 0;
83 virtual bool getTransformMatrix( boost::numeric::ublas::matrix<double>& matrix )
const = 0;
90 virtual bool setTransformMatrix(boost::numeric::ublas::matrix<double>& matrix) = 0;
99 virtual bool generateTransformMatrix(
const std::vector<unsigned int>& inputRasterBands,
const std::vector<std::string>& inputSensorBands,
100 const std::map<std::string, std::vector<double> >& components) = 0;
102 virtual bool getMinMax(std::vector<double>&, std::vector<double>&)
const = 0;
103 virtual bool getMinMaxError(std::vector<double>&, std::vector<double>&)
const = 0;
132 #endif // __TERRALIB_RP_INTERNAL_MIXTUREMODELSTRATEGY_H
Raster mixture model strategy base class.
TEMNTEXPORT void getMinMax(te::rst::Raster *inputRst, double &vmin, double &vmax)
An abstract class for raster data strucutures.
Raster strategy parameters base class.
Raster strategy parameters base class.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the Raster Processing module of TerraLib.