#include <SegmenterRegionGrowingBaatzStrategy.h>
Public Member Functions | |
AbstractParameters * | clone () const |
Create a clone copy of this instance. More... | |
const Parameters & | operator= (const Parameters ¶ms) |
Parameters () | |
void | reset () throw ( te::rp::Exception ) |
Clear all internal allocated resources and reset the parameters instance to its initial state. More... | |
~Parameters () | |
Public Attributes | |
Global parameters | |
unsigned int | m_minSegmentSize |
A positive minimum segment size (pixels number - default: 100). More... | |
double | m_segmentsSimilarityThreshold |
Segments similarity treshold - Use lower values to merge only those segments that are more similar - Higher values will allow more segments to be merged - valid values range: positive values - default: 0.03 ). More... | |
unsigned int | m_segmentsSimIncreaseSteps |
The maximum number of steps to increment the similarity threshold value for the cases where no segment merge occurred - zero will disable segment similarity threshold increments - defaul: 2. More... | |
bool | m_enableLocalMutualBestFitting |
If enabled, a merge only occurs between two segments if the minimum dissimilarity criteria is best fulfilled mutually (default: false). More... | |
bool | m_enableSameIterationMerges |
If enabled, a merged segment could be merged with another within the same iteration (default:false). More... | |
Baatz specific parameters | |
std::vector< double > | m_bandsWeights |
The weight given to each band, when applicable (note: the bands weights sum must always be 1) or an empty vector indicating that all bands have the same weight. More... | |
double | m_colorWeight |
The weight given to the color component, deafult:0.9, valid range: [0,1]. More... | |
double | m_compactnessWeight |
The weight given to the compactness component, deafult:0.5, valid range: [0,1]. More... | |
Definition at line 59 of file SegmenterRegionGrowingBaatzStrategy.h.
te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::Parameters | ( | ) |
te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::~Parameters | ( | ) |
|
virtual |
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
const Parameters& te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::operator= | ( | const Parameters & | params | ) |
|
virtual |
Clear all internal allocated resources and reset the parameters instance to its initial state.
Implements te::common::AbstractParameters.
std::vector< double > te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_bandsWeights |
The weight given to each band, when applicable (note: the bands weights sum must always be 1) or an empty vector indicating that all bands have the same weight.
Definition at line 84 of file SegmenterRegionGrowingBaatzStrategy.h.
double te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_colorWeight |
The weight given to the color component, deafult:0.9, valid range: [0,1].
Definition at line 86 of file SegmenterRegionGrowingBaatzStrategy.h.
double te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_compactnessWeight |
The weight given to the compactness component, deafult:0.5, valid range: [0,1].
Definition at line 88 of file SegmenterRegionGrowingBaatzStrategy.h.
bool te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_enableLocalMutualBestFitting |
If enabled, a merge only occurs between two segments if the minimum dissimilarity criteria is best fulfilled mutually (default: false).
Definition at line 73 of file SegmenterRegionGrowingBaatzStrategy.h.
bool te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_enableSameIterationMerges |
If enabled, a merged segment could be merged with another within the same iteration (default:false).
Definition at line 75 of file SegmenterRegionGrowingBaatzStrategy.h.
unsigned int te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_minSegmentSize |
A positive minimum segment size (pixels number - default: 100).
Definition at line 67 of file SegmenterRegionGrowingBaatzStrategy.h.
double te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_segmentsSimilarityThreshold |
Segments similarity treshold - Use lower values to merge only those segments that are more similar - Higher values will allow more segments to be merged - valid values range: positive values - default: 0.03 ).
Definition at line 69 of file SegmenterRegionGrowingBaatzStrategy.h.
unsigned int te::rp::SegmenterRegionGrowingBaatzStrategy::Parameters::m_segmentsSimIncreaseSteps |
The maximum number of steps to increment the similarity threshold value for the cases where no segment merge occurred - zero will disable segment similarity threshold increments - defaul: 2.
Definition at line 71 of file SegmenterRegionGrowingBaatzStrategy.h.