All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::rp::SegmenterRegionGrowingSegment Struct Reference

Region Growing segment. More...

#include <SegmenterRegionGrowingSegment.h>

Public Types

typedef float FeatureType
 Feature type definition. More...
 

Public Member Functions

void addNeighborSegment (SegmenterRegionGrowingSegment *const nSegPtr)
 Add a pointer of a neighbor segment (if it is not already there). More...
 
void clearNeighborSegments ()
 Remove all neighbor segments. More...
 
SegmenterRegionGrowingSegmentoperator= (const SegmenterRegionGrowingSegment &other)
 
void removeNeighborSegment (SegmenterRegionGrowingSegment *const nSegPtr)
 Remove all occurrences of a neighbor segment. More...
 

Public Attributes

FeatureTypem_features
 A pionter to a fixed size vector of segment features. More...
 
unsigned int m_featuresSize
 The current size of m_features. More...
 
SegmenterSegmentsBlock::SegmentIdDataType m_id
 Segment ID. More...
 
SegmenterRegionGrowingSegment ** m_neighborSegments
 Neighborhood segments pointers (some pointers can be null) or a null pointer if there is no neighborhood. More...
 
unsigned int m_neighborSegmentsSize
 The current size of m_neighborSegments. More...
 
unsigned int m_size
 Segment area (pixels number). More...
 
bool m_status
 Segment status (active=true). 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...
 

Detailed Description

Region Growing segment.

Definition at line 38 of file SegmenterRegionGrowingSegment.h.

Member Typedef Documentation

Feature type definition.

Definition at line 43 of file SegmenterRegionGrowingSegment.h.

Member Function Documentation

void te::rp::SegmenterRegionGrowingSegment::addNeighborSegment ( SegmenterRegionGrowingSegment *const  nSegPtr)
void te::rp::SegmenterRegionGrowingSegment::clearNeighborSegments ( )
SegmenterRegionGrowingSegment & te::rp::SegmenterRegionGrowingSegment::operator= ( const SegmenterRegionGrowingSegment other)
void te::rp::SegmenterRegionGrowingSegment::removeNeighborSegment ( SegmenterRegionGrowingSegment *const  nSegPtr)

Member Data Documentation

unsigned int te::rp::SegmenterRegionGrowingSegment::m_featuresSize

The current size of m_features.

Definition at line 100 of file SegmenterRegionGrowingSegment.h.

Referenced by operator=().

SegmenterRegionGrowingSegment** te::rp::SegmenterRegionGrowingSegment::m_neighborSegments

Neighborhood segments pointers (some pointers can be null) or a null pointer if there is no neighborhood.

Note
The segments pool will delete the vector pointed by this pointer at this segment deletion time.

Definition at line 84 of file SegmenterRegionGrowingSegment.h.

Referenced by addNeighborSegment(), clearNeighborSegments(), te::rp::SegmenterRegionGrowingStrategy::mergeSegments(), te::rp::SegmenterRegionGrowingStrategy::mergeSmallSegments(), operator=(), and removeNeighborSegment().

unsigned int te::rp::SegmenterRegionGrowingSegment::m_neighborSegmentsSize

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