Go to the documentation of this file.
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;
103 unsigned int getOutputNumberBands(
void);
107 bool m_isInitialized;
113 te::cl::MAP m_genClassInstance;
139 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERMAPSTRATEGY_H
boost::shared_ptr< MClassesSamplesCT > MClassesSamplesCTPtr
A shared pointer to a multi classes samples container type definition.
~ClassifierMAPStrategyFactory()
unsigned int m_prioriCalcSampleStep
A positive non-zero sample step used when calculating piori probabilities (default:5 - 1/5 of samples...
MClassesSamplesCTPtr m_trainSamplesPtr
A shared pointer to a always-valid structure where trainning samples are stored.
Classifier Strategy Parameters.
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 base class.
unsigned int ClassIDT
Class ID type definition (zero means invalid ID).
Maximum a posteriori probability strategy.
Base exception class for plugin module.
Maximum a posteriori probability strategy factory.
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.
ClassifierMAPStrategyFactory()
const Parameters & operator=(const Parameters ¶ms)
void reset()
Clear all internal allocated resources and reset the parameters instance to its initial state.
Raster classifier strategy factory base class.
Proxy configuration file for TerraView (see terraview_config.h).
Raster classifier strategy base class.
te::rp::ClassifierStrategy * build()
Concrete factories (derived from this one) must implement this method in order to create objects.
std::vector< ClassSampleT > ClassSamplesContainerT
Class samples container type definition.
Raster classifier strategy factory base class.