Mean 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 | |
SegmenterSegmentsBlock::SegmentIdDataType | m_id |
Segment ID. More... | |
std::vector< double > | m_means |
Segment mean values (for each band), normalized between 0 and 1. More... | |
unsigned int | m_size |
Segment area (pixels number). 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 &) | |
Mean based segment features.
Definition at line 271 of file SegmenterRegionGrowingStrategy.h.
te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::SegmentFeatures::SegmentFeatures | ( | ) |
Definition at line 163 of file SegmenterRegionGrowingStrategy.cpp.
|
virtual |
Reimplemented from te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures.
Definition at line 167 of file SegmenterRegionGrowingStrategy.cpp.
|
inlineprivate |
Definition at line 289 of file SegmenterRegionGrowingStrategy.h.
|
virtual |
Creat a clone of this object.
Implements te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures.
Definition at line 172 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 184 of file SegmenterRegionGrowingStrategy.cpp.
References m_means, te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=(), and TERP_DEBUG_TRUE_OR_THROW.
Referenced by clone().
|
inlineprivate |
Definition at line 291 of file SegmenterRegionGrowingStrategy.h.
|
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=().
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::SegmentFeatures::m_means |
Segment mean values (for each band), normalized between 0 and 1.
Definition at line 275 of file SegmenterRegionGrowingStrategy.h.
Referenced by copy(), te::rp::SegmenterRegionGrowingStrategy::MeanMerger::getDissimilarityIndex(), and te::rp::SegmenterRegionGrowingStrategy::MeanMerger::mergeFeatures().
|
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=().
|
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=().