26 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
27 #define __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
78 void reset() throw(
te::rp::Exception );
81 AbstractParameters* clone() const;
88 ~ClassifierKMeansStrategy();
94 bool execute(const
te::rst::Raster& inputRaster, const
std::vector<
unsigned int>& inputRasterBands,
95 const
std::vector<
te::gm::Polygon*>& inputPolygons,
te::rst::Raster& outputRaster,
96 const
unsigned int outputRasterBand, const
bool enableProgressInterface) throw(
te::rp::Exception);
100 bool m_isInitialized;
127 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
Raster KMeans Classifier strategy factory.
unsigned int m_maxInputPoints
The maximum number of points used to estimate the clusters (default = 1000).
Raster classifier strategy factory base class.
unsigned int m_K
The number of clusters (means) to detect in image.
Raster strategy parameters base class.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
double m_epsilon
The stop criteria. When the clusters change in a value smaller then epsilon, the convergence is achie...
Raster classifier strategy factory base class.
Configuration flags for the Raster Processing module of TerraLib.
Raster classifier strategy base class.
unsigned int m_maxIterations
The maximum of iterations to perform if convergence is not achieved.
Raster classifier strategy base class.
KMeans strategy for image classification. Step-by-step: