26 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
27 #define __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
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);
99 std::vector<
int > getOutputDataTypes() const;
103 bool m_isInitialized;
130 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERKMEANSSTRATEGY_H
Raster KMeans Classifier strategy factory.
Base exception class for plugin module.
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.
#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.
Classifier Strategy Parameters.
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: