Describes a region or a cluster (group of regions with similar properties) to be used by ISOSeg method. More...
#include <ClassifierISOSegStrategy.h>
Public Member Functions | |
| double | getBhattacharyyaDistance (Pattern const *const p) const |
| Returns the Bhattacharyya distance between two patterns. | |
| double | getMahalanobisDistance (Pattern const *const p) const |
| Returns the Mahalanobis distance between two patterns. | |
| bool | operator< (const Pattern &rhs) const |
| Pattern & | operator= (const Pattern &rhs) |
| bool | operator== (const Pattern &rhs) const |
| Return true if two clusters are equal. | |
| Pattern () | |
| Pattern (const Pattern &rhs) | |
| Copy constructor. | |
| Pattern (int i, double a, std::vector< double > mv, boost::numeric::ublas::matrix< double > cm) | |
| Constructor. | |
| void | reset () |
| Reset to initial state. | |
| ~Pattern () | |
Public Attributes | |
| double | m_area |
| The area of all regions inside a pattern. | |
| boost::numeric::ublas::matrix< double > | m_covarianceInversion |
| The inversion of covariance matrix between bands. | |
| boost::numeric::ublas::matrix< double > | m_covarianceMatrix |
| The covariance matrix between bands. | |
| double | m_covarianceMatrixDet |
| The covariance matrix determinant. | |
| int | m_id |
| The id of the region of the pattern. | |
| std::vector< double > | m_meanVector |
| The vector of mean values, 1 value per band;. | |
| Pattern * | m_myCluster |
| The associated cluster of this pattern (optional). | |
Protected Attributes | |
| unsigned int | m_getBhattacharyyaDistance_bandIdx |
| boost::numeric::ublas::matrix< double > | m_getBhattacharyyaDistance_covsMege |
| double | m_getBhattacharyyaDistance_covsMegeDet |
| boost::numeric::ublas::matrix< double > | m_getBhattacharyyaDistance_covsMegeInv |
| boost::numeric::ublas::matrix< double > | m_getBhattacharyyaDistance_distanceTerm1 |
| double | m_getBhattacharyyaDistance_distanceValue |
| boost::numeric::ublas::matrix< double > | m_getBhattacharyyaDistance_meansDif |
| unsigned int | m_getBhattacharyyaDistance_nBands |
Describes a region or a cluster (group of regions with similar properties) to be used by ISOSeg method.
Definition at line 121 of file ClassifierISOSegStrategy.h.
| te::rp::ClassifierISOSegStrategy::Pattern::Pattern | ( | ) |
Referenced by getBhattacharyyaDistance(), getMahalanobisDistance(), operator<(), operator=(), operator==(), and Pattern().
| te::rp::ClassifierISOSegStrategy::Pattern::Pattern | ( | int | i, |
| double | a, | ||
| std::vector< double > | mv, | ||
| boost::numeric::ublas::matrix< double > | cm ) |
Constructor.
| i | The id of the initial region. |
| a | The area of the region. |
| mv | The vector of mean values, 1 value per band. |
| cm | The covariance matrix between bands. |
| te::rp::ClassifierISOSegStrategy::Pattern::Pattern | ( | const Pattern & | rhs | ) |
Copy constructor.
| rhs | The right-hand-side copy that would be used to copy from. |
References Pattern().
| te::rp::ClassifierISOSegStrategy::Pattern::~Pattern | ( | ) |
| double te::rp::ClassifierISOSegStrategy::Pattern::getBhattacharyyaDistance | ( | Pattern const *const | p | ) | const |
Returns the Bhattacharyya distance between two patterns.
References Pattern().
| double te::rp::ClassifierISOSegStrategy::Pattern::getMahalanobisDistance | ( | Pattern const *const | p | ) | const |
Returns the Mahalanobis distance between two patterns.
References Pattern().
| bool te::rp::ClassifierISOSegStrategy::Pattern::operator< | ( | const Pattern & | rhs | ) | const |
References Pattern().
References Pattern().
| bool te::rp::ClassifierISOSegStrategy::Pattern::operator== | ( | const Pattern & | rhs | ) | const |
Return true if two clusters are equal.
References Pattern().
| void te::rp::ClassifierISOSegStrategy::Pattern::reset | ( | ) |
Reset to initial state.
| double te::rp::ClassifierISOSegStrategy::Pattern::m_area |
The area of all regions inside a pattern.
Definition at line 171 of file ClassifierISOSegStrategy.h.
| boost::numeric::ublas::matrix<double> te::rp::ClassifierISOSegStrategy::Pattern::m_covarianceInversion |
The inversion of covariance matrix between bands.
Definition at line 175 of file ClassifierISOSegStrategy.h.
| boost::numeric::ublas::matrix<double> te::rp::ClassifierISOSegStrategy::Pattern::m_covarianceMatrix |
The covariance matrix between bands.
Definition at line 174 of file ClassifierISOSegStrategy.h.
| double te::rp::ClassifierISOSegStrategy::Pattern::m_covarianceMatrixDet |
The covariance matrix determinant.
Definition at line 172 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 181 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 185 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 182 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 186 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 187 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 183 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 184 of file ClassifierISOSegStrategy.h.
|
mutableprotected |
Definition at line 180 of file ClassifierISOSegStrategy.h.
| int te::rp::ClassifierISOSegStrategy::Pattern::m_id |
The id of the region of the pattern.
Definition at line 169 of file ClassifierISOSegStrategy.h.
| std::vector<double> te::rp::ClassifierISOSegStrategy::Pattern::m_meanVector |
The vector of mean values, 1 value per band;.
Definition at line 173 of file ClassifierISOSegStrategy.h.
| Pattern* te::rp::ClassifierISOSegStrategy::Pattern::m_myCluster |
The associated cluster of this pattern (optional).
Definition at line 170 of file ClassifierISOSegStrategy.h.