25#ifndef __TERRALIB_RP_INTERNAL_CLASSIFIEREDSTRATEGY_H
26#define __TERRALIB_RP_INTERNAL_CLASSIFIEREDSTRATEGY_H
33#include <boost/numeric/ublas/matrix.hpp>
34#include <boost/shared_ptr.hpp>
Raster classifier strategy factory base class.
Raster classifier strategy base class.
This class can be used to inform the progress of a task.
AbstractParameters()
Constructor.
~ClassifierEDStrategyFactory()
te::rp::ClassifierStrategy * build()
Concrete factories (derived from this one) must implement this method in order to create objects.
ClassifierEDStrategyFactory()
unsigned int ClassIDT
Class ID type definition (zero means invalid ID).
std::map< ClassIDT, ClassSamplesContainerT > MClassesSamplesCT
Multi-classes samples container type definition.
std::vector< ClassSampleT > ClassSamplesContainerT
Class samples container type definition.
std::vector< double > ClassSampleT
Class sample type definition.
AbstractParameters * clone() const
Create a clone copy of this instance.
boost::shared_ptr< MClassesSamplesCT > MClassesSamplesCTPtr
A shared pointer to a multi classes samples container type definition.
MClassesSamplesCTPtr m_trainSamplesPtr
A shared pointer to a always-valid structure where trainning samples are stored.
void reset() _NOEXCEPT_OP(false)
Clear all internal allocated resources and reset the parameters instance to its initial state.
const Parameters & operator=(const Parameters ¶ms)
std::vector< Parameters::ClassIDT > m_classesIndex2ID
An class index ordered vector of classes IDs;.
bool initialize(ClassifierStrategyParameters const *const strategyParams) _NOEXCEPT_OP(false)
Initialize the classification strategy.
bool execute() _NOEXCEPT_OP(false)
Executes the classification strategy.
unsigned int getOutputNumberBands(void)
ClassifierEDStrategy::Parameters m_initParams
Initialization parameters.
std::vector< std::vector< double > > m_classesMeans
Classes means;.
bool m_isInitialized
Is this instance initialized?
Parameters::ClassIDT m_highestTrainClassID
The highest train class ID.
ClassifierStrategyFactory(const std::string &factoryKey)
Classifier Strategy Parameters.
ClassifierStrategyParameters()
Raster classifier strategy base class.
ClassifierStrategy()
Default constructor.
Namespace for Raster Processing module of TerraLib.
Configuration flags for the Raster Processing module of TerraLib.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.