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