26 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIEREMSTRATEGY_H
27 #define __TERRALIB_RP_INTERNAL_CLASSIFIEREMSTRATEGY_H
38 #include <boost/numeric/ublas/matrix.hpp>
83 void reset() throw( te::rp::Exception );
86 AbstractParameters* clone() const;
93 ~ClassifierEMStrategy();
96 bool initialize(
StrategyParameters const* const strategyParams) throw(te::rp::Exception);
99 bool execute(const te::rst::Raster& inputRaster, const std::vector<
unsigned int>& inputRasterBands,
100 const std::vector<te::gm::Polygon*>& inputPolygons, te::rst::Raster& outputRaster,
101 const
unsigned int outputRasterBand, const
bool enableProgressInterface) throw(te::rp::Exception);
105 bool m_isInitialized;
130 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIEREMSTRATEGY_H
Raster strategy parameters base class.
std::vector< std::vector< double > > m_clustersMeans
The previously estimated means of the clusters (optional).
Raster EM Classifier strategy factory.
unsigned int m_maxIterations
The maximum of iterations (E/M steps) to perform if convergence is not achieved.
double m_epsilon
The stop criteria. When the clusters change in a value smaller then epsilon, the convergence is achie...
Raster classifier strategy base class.
Raster classifier strategy factory base class.
EM strategy for pixel-based classification. This is an unsupervised and pixel-based classification al...
Configuration flags for the Raster Processing module of TerraLib.
unsigned int m_maxInputPoints
The maximum number of points used to estimate the clusters (default = 1000).
unsigned int m_numberOfClusters
The number of clusters (classes) to estimate in the image.
Raster classifier strategy base class.
Raster classifier strategy factory base class.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.