Go to the documentation of this file.
   25 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERMAXLIKELIHOODSTRATEGY_H 
   26 #define __TERRALIB_RP_INTERNAL_CLASSIFIERMAXLIKELIHOODSTRATEGY_H 
   32 #include "../classification/MaxLikelihood.h" 
   33 #include "../classification/Adaptors.h" 
   35 #include <boost/shared_ptr.hpp> 
   95             AbstractParameters* clone() const;
 
  108         unsigned int getOutputNumberBands(
void);
 
  112         bool m_isInitialized; 
 
  118         te::cl::MaxLikelihood m_genClassInstance;  
 
  129           const 
te::rst::Raster& inputRaster,
 
  130           std::unique_ptr< 
te::rp::
Matrix< 
unsigned int > >& matrixPtr,
 
  131           const 
unsigned int classifiedMatrixNoDataValue,
 
  132           std::
string& errorMessage ) const;
 
  141         bool getICMBeta( const 
te::rp::
Matrix< 
unsigned int >& matrix,
 
  142           const 
unsigned int matrixNoDataValue, 
 
  143           double& betaValue, std::
string& errorMessage ) const;
 
  154         double rtbis(
double (*func) (
double x, 
double *param), 
double *param) const;
 
  156         static 
double plikehood_2(
double  , 
double * );
 
  158         static 
double plikehood_3(
double  , 
double * );
 
  160         static 
double plikehood_4(
double  , 
double * );        
 
  162         static 
double sigmo( 
double a );
 
  168         static 
void Estimacao_geral(  
double *term, const 
te::rp::
Matrix< 
unsigned int >& matrix  );        
 
  170         static 
int compara_uchar_vesre(const 
void *x, const 
void *y);
 
  195 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERMAXLIKELIHOODSTRATEGY_H 
  
 
MClassesSamplesCTPtr m_trainSamplesPtr
A shared pointer to a always-valid structure where trainning samples are stored.
 
std::vector< ClassSampleT > ClassSamplesContainerT
Class samples container type definition.
 
A generic template matrix.
 
unsigned int ClassIDT
Class ID type definition (zero means invalid ID).
 
Classifier Strategy Parameters.
 
Maximum a posteriori probability strategy factory.
 
te::rp::ClassifierStrategy * build()
Concrete factories (derived from this one) must implement this method in order to create objects.
 
Raster classifier strategy base class.
 
std::map< ClassIDT, ClassSamplesContainerT > MClassesSamplesCT
Multi-classes samples container type definition.
 
void reset()
Clear all internal allocated resources and reset the parameters instance to its initial state.
 
std::vector< double > ClassSampleT
Class sample type definition.
 
Base exception class for plugin module.
 
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
bool m_applyICM
Apply a Iterated conditional modes iteractive filtering (default:false);.
 
A maximum likelihood estimation strategy for classification (a.k.a. MaxVer in portuguese).
 
ClassifierMaxLikelihoodStrategyFactory()
 
Raster classifier strategy factory base class.
 
const Parameters & operator=(const Parameters ¶ms)
 
~ClassifierMaxLikelihoodStrategyFactory()
 
Proxy configuration file for TerraView (see terraview_config.h).
 
Raster classifier strategy base class.
 
float m_icmChangesThreshold
Minimum porcentage of number of pixel that changes from one iteration to the other [valid values rang...
 
unsigned int m_icmMaxIterations
Maximum number of ICM iterations to perform (default 10).
 
Raster classifier strategy factory base class.
 
boost::shared_ptr< MClassesSamplesCT > MClassesSamplesCTPtr
A shared pointer to a multi classes samples container type definition.