26 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
27 #define __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
76 void reset() throw( te::rp::Exception );
79 AbstractParameters* clone() const;
86 ~ClassifierKMeansStrategy();
89 bool initialize(
StrategyParameters const* const strategyParams) throw(te::rp::Exception);
92 bool execute(const te::rst::Raster& inputRaster, const std::vector<
unsigned int>& inputRasterBands,
93 const std::vector<te::gm::Polygon*>& inputPolygons, te::rst::Raster& outputRaster,
94 const
unsigned int outputRasterBand, const
bool enableProgressInterface) throw(te::rp::Exception);
125 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
unsigned int m_maxInputPoints
The maximum number of points used to estimate the clusters (default = 1000).
double m_epsilon
The stop criteria. When the clusters change in a value smaller then epsilon, the convergence is achie...
Raster KMeans Classifier strategy factory.
Raster strategy parameters base class.
KMeans strategy for image classification. Step-by-step:
unsigned int m_maxIterations
The maximum of iterations to perform if convergence is not achieved.
unsigned int m_K
The number of clusters (means) to detect in image.
Raster classifier strategy base class.
Raster classifier strategy factory base class.
Configuration flags for the Raster Processing module of TerraLib.
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.