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.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this 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.
Maximum a posteriori probability strategy.
rasterPointer reset(te::rst::RasterFactory::make("MEM", new te::rst::Grid(nCols, nLines), bandsProps, std::map< std::string, std::string >(), 0, 0))
Raster classifier strategy factory base class.
Classifier Strategy Parameters.
Raster classifier strategy base class.
Raster classifier strategy base class.
Configuration flags for the Raster Processing module of TerraLib.
std::vector< ClassSampleT > ClassSamplesContainerT
Class samples container type definition.