25 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERSAMSTRATEGY_H
26 #define __TERRALIB_RP_INTERNAL_CLASSIFIERSAMSTRATEGY_H
32 #include <boost/shared_ptr.hpp>
93 AbstractParameters* clone() const;
104 bool execute(const
te::rst::Raster& inputRaster, const std::vector<
unsigned int>& inputRasterBands,
105 const std::vector<
te::gm::Polygon*>& inputPolygons,
te::rst::Raster& outputRaster,
106 const
unsigned int outputRasterBand, const
bool enableProgressInterface) throw(
te::rp::Exception);
109 std::vector<
int > getOutputDataTypes() const;
113 bool m_isInitialized;
117 SamplesT m_classesMeans;
119 std::vector< ClassIDT > m_classesIndex2ID;
142 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERSAMSTRATEGY_H
std::map< ClassIDT, SamplesT > ClassesSamplesT
Classes samples container type definition.
Base exception class for plugin module.
Spectral Angle Mapper strategy factory.
boost::shared_ptr< ClassesSamplesT > ClassesSamplesTPtr
A shared pointer to a multi classes samples container type definition.
ClassesSamplesTPtr m_trainSamplesPtr
A shared pointer to a always-valid structure where trainning samples are stored.
std::vector< double > SampleT
Class sample type definition.
Raster classifier strategy factory base class.
unsigned int ClassIDT
Class ID type definition (zero means invalid ID).
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Raster classifier strategy factory base class.
Configuration flags for the Raster Processing module of TerraLib.
Classifier Strategy Parameters.
Raster classifier strategy base class.
std::vector< SampleT > SamplesT
Class samples container type definition.
Raster classifier strategy base class.
Spectral Angle Mapper classification strategy.
std::vector< double > m_maxAngularDistances
This is a vector of maximum acceptable angles (radians) between one pixel spectra and the reference s...