26 #ifndef __TERRALIB_RP_INTERNAL_MIXTUREMODELPCASTRATEGY_H 27 #define __TERRALIB_RP_INTERNAL_MIXTUREMODELPCASTRATEGY_H 38 #include <boost/numeric/ublas/matrix.hpp> 70 void reset()
throw( te::rp::Exception );
73 AbstractParameters* clone()
const;
83 bool initialize(
StrategyParameters const*
const strategyParams)
throw(te::rp::Exception);
86 bool execute(
const te::rst::Raster& inputRaster,
const std::vector<unsigned int>& inputRasterBands,
87 const std::vector<std::string>& inputSensorBands,
const std::map<std::string, std::vector<double> >& components,
88 std::vector<te::rst::Raster*>& outputRaster,
const bool normalize,
const bool enableProgressInterface)
throw(te::rp::Exception);
91 bool getTransformMatrix( boost::numeric::ublas::matrix<double>& matrix )
const;
94 bool setTransformMatrix(boost::numeric::ublas::matrix<double>& matrix);
97 bool generateTransformMatrix(
const std::vector<unsigned int>& inputRasterBands,
const std::vector<std::string>& inputSensorBands,
98 const std::map<std::string, std::vector<double> >& components);
101 bool getMinMax(std::vector<double>&, std::vector<double>&)
const;
102 bool getMinMaxError(std::vector<double>&, std::vector<double>&)
const;
137 #endif // __TERRALIB_RP_INTERNAL_MIXTUREMODELPCASTRATEGY_H Raster Mixture model strategy factory base class.
std::vector< double > m_maxerror
Maximum error value.
std::vector< double > m_max
Maximum value.
std::vector< double > m_minerror
Minimun error value.
Raster mixture model strategy factory base class.
MixtureModelPCAStrategy::Parameters m_parameters
Internal execution parameters.
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.
Raster PCA mixture model strategy factory.
std::vector< double > m_min
Transformation matrix;.
Configuration flags for the Raster Processing module of TerraLib.
boost::numeric::ublas::matrix< double > m_transfMatrix
bool m_isInitialized
True if this instance is initialized.
Raster mixture model strategy base class.