25 #ifndef __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSEGMENT_H
26 #define __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSEGMENT_H
136 void clearNeighborSegments();
141 inline void disable() { m_mergetIteration = std::numeric_limits< IterationCounterType>::max(); };
147 inline bool isEnabled()
const {
return m_mergetIteration != std::numeric_limits< IterationCounterType>::max(); };
unsigned int m_neighborSegmentsSize
The current size of m_neighborSegments.
void disable()
Disable this segment ( same as m_mergetIteration = std::numeric_limits< SegmenterRegionGrowingSegment...
unsigned int m_yBound
Segment lower bound Y coordinate box over the label image.
unsigned int m_xStart
Segment left X coordinate box over the label image.
IterationCounterType m_mergetIteration
The current merge iteration.
unsigned int m_xBound
Segment lower bound X coordinate box over the label image.
SegmenterRegionGrowingSegment * m_nextActiveSegment
A pointer to the next active segment.
unsigned int SegmentIdDataType
SegmenterRegionGrowingSegment * m_prevActiveSegment
A pointer to the previous active segment.
unsigned short int IterationCounterType
Feature type definition.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
FeatureType * m_features
A pionter to a fixed size vector of segment features.
SegmenterRegionGrowingSegment ** m_neighborSegments
Neighborhood segments pointers (some pointers can be null) or a null pointer if there is no neighborh...
unsigned int m_size
Segment area (pixels number).
unsigned int m_featuresSize
The current size of m_features.
Configuration flags for the Raster Processing module of TerraLib.
unsigned int m_yStart
Segment upper Y coordinate box over the label image.
float FeatureType
Feature type definition.
bool isEnabled() const
Returns true if this segment is enabled.
SegmenterSegmentsBlock::SegmentIdDataType m_id
Segment ID.