26 #ifndef __TERRALIB_RP_INTERNAL_MIXTUREMODELLINEARSTRATEGY_H 27 #define __TERRALIB_RP_INTERNAL_MIXTUREMODELLINEARSTRATEGY_H 38 #include <boost/numeric/ublas/matrix.hpp> 72 void reset()
throw( te::rp::Exception );
75 AbstractParameters* clone()
const;
85 bool initialize(
StrategyParameters const*
const strategyParams)
throw(te::rp::Exception);
88 bool execute(
const te::rst::Raster& inputRaster,
const std::vector<unsigned int>& inputRasterBands,
89 const std::vector<std::string>& inputSensorBands,
const std::map<std::string, std::vector<double> >& components,
90 te::rst::Raster& outputRaster,
const bool enableProgressInterface)
throw(te::rp::Exception);
93 bool getTransformMatrix(boost::numeric::ublas::matrix<double>& matrix)
const;
96 bool setTransformMatrix(boost::numeric::ublas::matrix<double>& matrix) ;
99 bool generateTransformMatrix(
const std::vector<unsigned int>& inputRasterBands,
const std::vector<std::string>& inputSensorBands,
100 const std::map<std::string, std::vector<double> >& components);
103 bool getMinMax(std::vector<double>&, std::vector<double>&)
const;
137 #endif // __TERRALIB_RP_INTERNAL_MIXTUREMODELLINEARSTRATEGY_H Raster Mixture model strategy factory base class.
Raster linear mixture model strategy factory.
boost::numeric::ublas::matrix< double > m_transposeA
Transformation matrix;.
Raster mixture model strategy factory base class.
boost::numeric::ublas::matrix< double > m_transfMatrix
std::vector< double > m_min
Transpose of A (A is the set of known reflectances for each component);.
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.
#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.
MixtureModelLinearStrategy::Parameters m_parameters
Internal execution parameters.
Raster mixture model strategy base class.
std::vector< double > m_max
Maximum value.
bool m_isInitialized
True if this instance is initialized.