All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures Class Reference

Baatz based segment features. More...

#include <SegmenterRegionGrowingStrategy.h>

Inheritance diagram for te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures:
te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures

Public Member Functions

SegmenterRegionGrowingStrategy::SegmentFeaturesclone () 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 SegmentFeaturesoperator= (const SegmentFeatures &other)
 
 SegmentFeatures (const SegmentFeatures &)
 

Detailed Description

Baatz based segment features.

Definition at line 325 of file SegmenterRegionGrowingStrategy.h.

Constructor & Destructor Documentation

te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::SegmentFeatures ( )

Definition at line 210 of file SegmenterRegionGrowingStrategy.cpp.

te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::~SegmentFeatures ( )
virtual
te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::SegmentFeatures ( const SegmentFeatures )
inlineprivate

Definition at line 353 of file SegmenterRegionGrowingStrategy.h.

Member Function Documentation

SegmenterRegionGrowingStrategy::SegmentFeatures * te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::clone ( ) const
virtual

Creat a clone of this object.

Returns
A clone of this object.
Note
The caller of this method must take the ownership of the returned object and delete it when necessary.

Implements te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures.

Definition at line 219 of file SegmenterRegionGrowingStrategy.cpp.

References copy().

void te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::copy ( SegmenterRegionGrowingStrategy::SegmentFeatures const *const  otherPtr)
virtual

Copy the other instance state into this one.

Parameters
otherPtrThe 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().

const SegmentFeatures& te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::operator= ( const SegmentFeatures other)
inlineprivate

Definition at line 355 of file SegmenterRegionGrowingStrategy.h.

Member Data Documentation

double te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_compactness
unsigned int te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_edgeLength
double te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_smoothness
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_squaresSum
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_stdDev
std::vector< double > te::rp::SegmenterRegionGrowingStrategy::BaatzBasedSegment::SegmentFeatures::m_sums

The documentation for this class was generated from the following files: