25 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERISOSEGSTRATEGY_H 26 #define __TERRALIB_RP_INTERNAL_CLASSIFIERISOSEGSTRATEGY_H 38 #include <boost/numeric/ublas/matrix.hpp> 76 BhattacharyyaDistanceType
93 AbstractParameters* clone() const;
115 Pattern(
int i,
double a, std::vector<double> mv, boost::numeric::ublas::matrix<double> cm);
122 Pattern(
const Pattern& rhs);
127 double getMahalanobisDistance(Pattern
const *
const p)
const;
133 double getBhattacharyyaDistance(Pattern
const *
const p)
const;
139 Pattern& operator=(
const Pattern& rhs );
142 bool operator<(
const Pattern& rhs)
const;
182 bool m_isInitialized;
209 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERISOSEGSTRATEGY_H unsigned int m_getBhattacharyyaDistance_bandIdx
TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
Raster ISOSeg Classifier strategy factory.
double m_getBhattacharyyaDistance_covsMegeDet
Base exception class for plugin module.
boost::numeric::ublas::matrix< double > m_getBhattacharyyaDistance_distanceTerm1
boost::numeric::ublas::matrix< double > m_covarianceInversion
The inversion of covariance matrix between bands.
double m_getBhattacharyyaDistance_distanceValue
boost::numeric::ublas::matrix< double > m_getBhattacharyyaDistance_meansDif
TEDATAACCESSEXPORT te::da::Expression * operator==(const te::da::Expression &e1, const te::da::Expression &e2)
boost::numeric::ublas::matrix< double > m_getBhattacharyyaDistance_covsMege
boost::numeric::ublas::matrix< double > m_getBhattacharyyaDistance_covsMegeInv
Raster classifier strategy factory base class.
ISOSeg strategy for OBIA classification. The algorithm orders regions by area (larger first)...
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Mahalanobis Distance Type.
DistanceType m_distanceType
Distance type.
Raster classifier strategy factory base class.
int m_id
The id of the region of the pattern.
Configuration flags for the Raster Processing module of TerraLib.
Describes a region or a cluster (group of regions with similar properties) to be used by ISOSeg metho...
Classifier Strategy Parameters.
Raster classifier strategy base class.
unsigned int m_getBhattacharyyaDistance_nBands
double m_area
The area of all regions inside a pattern.
std::vector< double > m_meanVector
The vector of mean values, 1 value per band;.
Raster classifier strategy base class.
double m_acceptanceThreshold
The acceptance threshold (the closer to 100%, few clusters are created).
Pattern * m_myCluster
The associated cluster of this pattern (optional).
double m_covarianceMatrixDet
The covariance matrix determinant.
boost::numeric::ublas::matrix< double > m_covarianceMatrix
The covariance matrix between bands.