25 #ifndef __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGBAATZMERGER_H 26 #define __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGBAATZMERGER_H 58 const double& compactnessWeight,
59 const std::vector< double >& bandsWeights,
92 MergeData(
const unsigned int featuresNumber );
179 void getTouchingEdgeLength(
180 const unsigned int& colStart1,
181 const unsigned int& rowStart1,
182 const unsigned int& colBound1,
183 const unsigned int& rowBound1,
184 const unsigned int& colStart2,
185 const unsigned int& rowStart2,
186 const unsigned int& colBound2,
187 const unsigned int& rowBound2,
190 unsigned int& touchingEdgeLength )
const;
195 #endif // __TERRALIB_RP_INTERNAL_SEGMENTERREGIONGROWINGBAATZMERGER_H Segmenter data used by the merger in region growing process.
rg::BaatzFeatureType m_getDissimilarity_heightUnionD
std::vector< rg::BaatzFeatureType > m_bandsWeights
A vector where each bands weight are stored.
int * m_dirsRowOffsVecPtr
pointer to a internal vector of directions row offsets.
int m_getTouchingEdgeLength_seg1RowStart
double DissimilarityTypeT
Type for dissimilarity.
unsigned int m_segmentFeaturesSize
rg::BaatzFeatureType * m_update_featuresPtr
rg::BaatzFeatureType m_colorWeight
The weight given to the color component, deafult:0.5, valid range: [0,1].
const MergeData & operator=(const MergeData &other)
unsigned int m_segmentsIdsMatrixNRows
Matrix rows numnber;.
MergeData * m_getDissimilarity_mergeDataPtr
rg::BaatzFeatureType m_getDissimilarity_hColor
float BaatzFeatureType
Baatz Strategy feature type.
rg::BaatzFeatureType m_getDissimilarity_stdDevUnion
rg::BaatzFeatureType m_getDissimilarity_hSmooth
rg::BaatzFeatureType m_allSegsStdDevGain
The gains applied to normalize the standard deviation value.
int m_getTouchingEdgeLength_col
Segmenter merger used in region growing process.
rg::BaatzFeatureType m_compactnessWeight
The weight given to the compactness component, deafult:0.5, valid range: [0,1].
rg::BaatzFeatureType m_getDissimilarity_sumUnion
rg::BaatzFeatureType m_getDissimilarity_meanUnion
unsigned int m_update_band
const SegmentsIdsMatrixT & m_segmentsIdsMatrix
A reference to an external valid structure where each all segments IDs are stored.
unsigned int SegmentIdDataType
rg::BaatzFeatureType m_update_smoothnessMax
rg::BaatzFeatureType m_allSegsSmoothnessGain
The gains applied to normalize the smoothness value.
int * m_dirsColOffsVecPtr
pointer to a internal vector of directions column offsets.
rg::BaatzFeatureType const * m_update_stdDevPtr
rg::BaatzFeatureType m_getDissimilarity_hForm
SegmenterRegionGrowingSegment< rg::BaatzFeatureType > * m_update_currentActSegPtr
rg::BaatzFeatureType m_allSegsStdDevOffset
The offsets applied to normalize the standard deviation value.
rg::BaatzFeatureType * m_features
Vctor of segment features (this class will take the ownership and delete[] at destruction time)...
Abstract class for the segments merger.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
rg::BaatzFeatureType m_update_smoothnessMin
rg::BaatzFeatureType m_allSegsCompactnessGain
The gains applied to normalize the compactness value.
unsigned int m_bandsNumber
The number of features (bands).
MergeData const * m_mergeFeatures_mergeDataPtr
rg::BaatzFeatureType m_getDissimilarity_widthUnionD
rg::BaatzFeatureType m_getDissimilarity_squaresSumUnion
rg::BaatzFeatureType m_getDissimilarity_sizeUnionD
rg::BaatzFeatureType m_update_stdDevMin
unsigned int m_getDissimilarity_sumsIdx
Baatz specific merge data.
Baatz based Segments merger.
Configuration flags for the Raster Processing module of TerraLib.
rg::BaatzFeatureType m_getDissimilarity_hCompact
unsigned int getSegmentFeaturesSize() const
Return the required segments features vector size (numer of elements).
rg::BaatzFeatureType m_update_stdDevMax
MergeData(const MergeData &other)
unsigned int m_getDissimilarity_touchingEdgeLength
rg::BaatzFeatureType m_allSegsCompactnessOffset
The offsets applied to normalize the compactness value.
unsigned int m_segmentsIdsMatrixNCols
Matrix cols numnber;.
Segmenter data used by the merger (region growing process).
rg::BaatzFeatureType m_update_compactnessMin
rg::BaatzFeatureType m_allSegsSmoothnessOffset
The offsets applied to normalize the smoothness value.
rg::BaatzFeatureType m_getDissimilarity_sizeSeg1D
rg::BaatzFeatureType m_update_compactnessMax
int m_getTouchingEdgeLength_row
int m_getTouchingEdgeLength_seg1ColStart
rg::BaatzFeatureType m_getDissimilarity_sizeSeg2D