Baatz based segment features. More...
#include <SegmenterRegionGrowingStrategy.h>
Public Member Functions | |
SegmenterRegionGrowingStrategy::SegmentFeatures * | clone () const |
Creat a clone of this object. More... | |
void | copy (SegmenterRegionGrowingStrategy::SegmentFeatures const *const otherPtr) |
Copy the other instance state into this one. More... | |
SegmentFeatures () | |
~SegmentFeatures () | |
Public Attributes | |
double | m_compactness |
Compactness of the current segment. More... | |
unsigned int | m_edgeLength |
Segment edge length. More... | |
SegmenterSegmentsBlock::SegmentIdDataType | m_id |
Segment ID. More... | |
unsigned int | m_size |
Segment area (pixels number). More... | |
double | m_smoothness |
Smoothness of the current segment. More... | |
std::vector< double > | m_squaresSum |
The sum of squares of pixel values (for each band). More... | |
std::vector< double > | m_stdDev |
Standard deviation of segment pixel velues. More... | |
std::vector< double > | m_sums |
Segment sum of segment pixel velues. More... | |
unsigned int | m_xBound |
Segment lower bound X coordinate box over the label image. More... | |
unsigned int | m_xStart |
Segment left X coordinate box over the label image. More... | |
unsigned int | m_yBound |
Segment lower bound Y coordinate box over the label image. More... | |
unsigned int | m_yStart |
Segment upper Y coordinate box over the label image. More... | |
Private Member Functions | |
const SegmentFeatures & | operator= (const SegmentFeatures &other) |
SegmentFeatures (const SegmentFeatures &) | |
Baatz based segment features.
Definition at line 325 of file SegmenterRegionGrowingStrategy.h.
te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::SegmentFeatures | ( | ) |
Definition at line 210 of file SegmenterRegionGrowingStrategy.cpp.
|
virtual |
Reimplemented from te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures.
Definition at line 214 of file SegmenterRegionGrowingStrategy.cpp.
|
inlineprivate |
Definition at line 353 of file SegmenterRegionGrowingStrategy.h.
|
virtual |
Creat a clone of this object.
Implements te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures.
Definition at line 219 of file SegmenterRegionGrowingStrategy.cpp.
References copy().
|
virtual |
Copy the other instance state into this one.
otherPtr | The other instance ponter. |
Implements te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures.
Definition at line 231 of file SegmenterRegionGrowingStrategy.cpp.
References m_compactness, m_edgeLength, m_smoothness, m_squaresSum, m_stdDev, m_sums, te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=(), and TERP_DEBUG_TRUE_OR_THROW.
Referenced by clone().
|
inlineprivate |
Definition at line 355 of file SegmenterRegionGrowingStrategy.h.
double te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_compactness |
Compactness of the current segment.
Definition at line 337 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::update().
unsigned int te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_edgeLength |
Segment edge length.
Definition at line 335 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), and te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures().
|
inherited |
Segment ID.
Definition at line 145 of file SegmenterRegionGrowingStrategy.h.
Referenced by te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=().
|
inherited |
Segment area (pixels number).
Definition at line 150 of file SegmenterRegionGrowingStrategy.h.
Referenced by te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), te::rp::SegmenterRegionGrowingStrategy::MeanMerger::mergeFeatures(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=().
double te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_smoothness |
Smoothness of the current segment.
Definition at line 339 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::update().
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_squaresSum |
The sum of squares of pixel values (for each band).
Definition at line 331 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), and te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures().
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_stdDev |
Standard deviation of segment pixel velues.
Definition at line 333 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::update().
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_sums |
Segment sum of segment pixel velues.
Definition at line 329 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), and te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures().
|
inherited |
Segment lower bound X coordinate box over the label image.
Definition at line 160 of file SegmenterRegionGrowingStrategy.h.
Referenced by te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), te::rp::SegmenterRegionGrowingStrategy::MeanMerger::mergeFeatures(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=().
|
inherited |
Segment left X coordinate box over the label image.
Definition at line 155 of file SegmenterRegionGrowingStrategy.h.
Referenced by te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), te::rp::SegmenterRegionGrowingStrategy::MeanMerger::mergeFeatures(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=().
|
inherited |
Segment lower bound Y coordinate box over the label image.
Definition at line 170 of file SegmenterRegionGrowingStrategy.h.
Referenced by te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), te::rp::SegmenterRegionGrowingStrategy::MeanMerger::mergeFeatures(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=().
|
inherited |
Segment upper Y coordinate box over the label image.
Definition at line 165 of file SegmenterRegionGrowingStrategy.h.
Referenced by te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::getDissimilarityIndex(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), te::rp::SegmenterRegionGrowingStrategy::MeanMerger::mergeFeatures(), te::rp::SegmenterRegionGrowingStrategy::BaatzMerger::mergeFeatures(), and te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=().