25 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERMAPSTRATEGY_H 26 #define __TERRALIB_RP_INTERNAL_CLASSIFIERMAPSTRATEGY_H 31 #include "../classification/MAP.h" 32 #include "../classification/Adaptors.h" 34 #include <boost/shared_ptr.hpp> 90 AbstractParameters* clone() const;
101 bool execute() throw(
te::rp::Exception);
103 unsigned int getOutputNumberBands(
void);
107 bool m_isInitialized;
113 te::cl::MAP m_genClassInstance;
139 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERMAPSTRATEGY_H MClassesSamplesCTPtr m_trainSamplesPtr
A shared pointer to a always-valid structure where trainning samples are stored.
Maximum a posteriori probability strategy factory.
boost::shared_ptr< MClassesSamplesCT > MClassesSamplesCTPtr
A shared pointer to a multi classes samples container type definition.
unsigned int m_prioriCalcSampleStep
A positive non-zero sample step used when calculating piori probabilities (default:5 - 1/5 of samples...
Base exception class for plugin module.
unsigned int ClassIDT
Class ID type definition (zero means invalid ID).
std::vector< double > m_prioriProbs
Priori probabilities, one for each class. Values from 0 to 1 (use an empty vector to allow internal c...
Raster classifier strategy factory base class.
std::map< ClassIDT, ClassSamplesContainerT > MClassesSamplesCT
Multi-classes samples container type definition.
std::vector< double > ClassSampleT
Class sample type definition.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Maximum a posteriori probability strategy.
Raster classifier strategy factory base class.
Configuration flags for the Raster Processing module of TerraLib.
Classifier Strategy Parameters.
Raster classifier strategy base class.
Raster classifier strategy base class.
std::vector< ClassSampleT > ClassSamplesContainerT
Class samples container type definition.