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

Mean based segment features. More...

#include <SegmenterRegionGrowingStrategy.h>

Inheritance diagram for te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::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

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

Detailed Description

Mean based segment features.

Definition at line 271 of file SegmenterRegionGrowingStrategy.h.

Constructor & Destructor Documentation

te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::SegmentFeatures::SegmentFeatures ( )

Definition at line 163 of file SegmenterRegionGrowingStrategy.cpp.

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

Definition at line 289 of file SegmenterRegionGrowingStrategy.h.

Member Function Documentation

SegmenterRegionGrowingStrategy::SegmentFeatures * te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::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 172 of file SegmenterRegionGrowingStrategy.cpp.

References copy().

void te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::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 184 of file SegmenterRegionGrowingStrategy.cpp.

References m_means, te::rp::SegmenterRegionGrowingStrategy::SegmentFeatures::operator=(), and TERP_DEBUG_TRUE_OR_THROW.

Referenced by clone().

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

Definition at line 291 of file SegmenterRegionGrowingStrategy.h.

Member Data Documentation

std::vector< double > te::rp::SegmenterRegionGrowingStrategy::MeanBasedSegment::SegmentFeatures::m_means

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