25 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERSAMSTRATEGY_H
26 #define __TERRALIB_RP_INTERNAL_CLASSIFIERSAMSTRATEGY_H
32 #include <boost/shared_ptr.hpp>
90 void reset() throw( te::rp::Exception );
93 AbstractParameters* clone() const;
101 bool initialize(
StrategyParameters const* const strategyParams) throw(te::rp::Exception);
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);
110 bool m_isInitialized;
139 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERSAMSTRATEGY_H
std::map< ClassIDT, SamplesT > ClassesSamplesT
Classes samples container type definition.
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).
Raster strategy parameters base class.
#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.
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...