25#ifndef __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSEGMENT_H
26#define __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGSEGMENT_H
40 template<
typename FeatureDataTypeT >
153 template<
typename FeatureDataTypeT >
154 SegmenterRegionGrowingSegment< FeatureDataTypeT >&
194 template<
typename FeatureDataTypeT >
200 unsigned int idx = 0;
229 template<
typename FeatureDataTypeT >
233 unsigned int numberOfZeroes = 0;
234 unsigned int idx = 0;
255 unsigned int idx2 = 0;
271 template<
typename FeatureDataTypeT >
unsigned int SegmentIdDataType
Namespace for Raster Processing module of TerraLib.
bool isEnabled() const
Returns true if this segment is enabled.
void removeAllNeighborSegmentsPtrs()
Remove all neighbor segments.
SegmenterRegionGrowingSegment< FeatureDataTypeT > * m_prevActiveSegment
A pointer to the previous active segment.
void addNeighborSegmentPtr(SegmenterRegionGrowingSegment< FeatureDataTypeT > *const nSegPtr)
Add a pointer of a neighbor segment (if it is not already there).
unsigned int m_neighborSegmentsSize
The current size of m_neighborSegments.
void removeNeighborSegmentPtr(SegmenterRegionGrowingSegment< FeatureDataTypeT > *const nSegPtr)
Remove all occurrences of a neighbor segment.
SegmenterRegionGrowingSegment< FeatureDataTypeT > * m_nextActiveSegment
A pointer to the next active segment.
unsigned int m_xBound
Segment lower bound X coordinate box over the label image.
void disable()
Disable this segment ( same as m_mergetIteration = std::numeric_limits< SegmenterRegionGrowingSegment...
unsigned int m_featuresSize
The current size of m_features.
unsigned int m_yBound
Segment lower bound Y coordinate box over the label image.
SegmenterRegionGrowingSegment< FeatureDataTypeT > & operator=(const SegmenterRegionGrowingSegment< FeatureDataTypeT > &other)
unsigned int m_xStart
Segment left X coordinate box over the label image.
unsigned short int IterationCounterType
Feature type definition.
FeatureType * m_features
A pionter to a fixed size vector of segment features.
FeatureDataTypeT FeatureType
Feature type definition.
unsigned int m_yStart
Segment upper Y coordinate box over the label image.
unsigned int m_size
Segment area (pixels number).
IterationCounterType m_mergetIteration
The current merge iteration.
SegmenterRegionGrowingSegment< FeatureDataTypeT > ** m_neighborSegments
Neighborhood segments pointers (some pointers can be null) or a null pointer if there is no neighborh...
SegmenterSegmentsBlock::SegmentIdDataType m_id
Segment ID.
Configuration flags for the Raster Processing module of TerraLib.