All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::rp::SegmenterRegionGrowingStrategy::Parameters Class Reference

Segmenter Parameters. More...

#include <SegmenterRegionGrowingStrategy.h>

Inheritance diagram for te::rp::SegmenterRegionGrowingStrategy::Parameters:
te::rp::SegmenterStrategyParameters te::common::AbstractParameters

Public Member Functions

AbstractParametersclone () const
 Create a clone copy of this instance. More...
 
const Parametersoperator= (const Parameters &params)
 
 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

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...
 

Global parameters

enum  SegmentFeaturesType { InvalidFeaturesType, MeanFeaturesType, BaatzFeaturesType }
 
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...
 
SegmentFeaturesType m_segmentFeatures
 What segment features will be used on the segmentation process (default:InvalidFeaturesType). 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...
 

Detailed Description

Member Enumeration Documentation

Segment features types.

Enumerator
InvalidFeaturesType 

Invalid features type.

MeanFeaturesType 

The mean of segments pixel values will be used - Reference: S. A. Bins, L. M. G. Fonseca, G. J. Erthal e F. M. Ii, "Satellite Imagery segmentation: a region growing approach", VIII Simposio Brasileiro de Sensoriamento Remoto, Salvador, BA, 14-19 abril 1996.

BaatzFeaturesType 

The Baatz based features will be used - Reference: Baatz, M.; Schape, A. Multiresolution segmentation: an optimization approach for high quality multi-scale image segmentation. In: XII Angewandte Geographische Informationsverarbeitung, Wichmann-Verlag, Heidelberg, 2000.

Definition at line 68 of file SegmenterRegionGrowingStrategy.h.

Constructor & Destructor Documentation

te::rp::SegmenterRegionGrowingStrategy::Parameters::Parameters ( )

Definition at line 77 of file SegmenterRegionGrowingStrategy.cpp.

References reset().

te::rp::SegmenterRegionGrowingStrategy::Parameters::~Parameters ( )

Definition at line 82 of file SegmenterRegionGrowingStrategy.cpp.

Member Function Documentation

te::common::AbstractParameters * te::rp::SegmenterRegionGrowingStrategy::Parameters::clone ( ) const
virtual

Create a clone copy of this instance.

Returns
A clone copy of this instance.
Note
The caller will take the ownership of the returned pointer.

Implements te::common::AbstractParameters.

Definition at line 119 of file SegmenterRegionGrowingStrategy.cpp.

void te::rp::SegmenterRegionGrowingStrategy::Parameters::reset ( )
throw (te::rp::Exception
)
virtual

Clear all internal allocated resources and reset the parameters instance to its initial state.

Implements te::common::AbstractParameters.

Definition at line 105 of file SegmenterRegionGrowingStrategy.cpp.

Referenced by Parameters(), and te::rp::SegmenterRegionGrowingStrategy::reset().

Member Data Documentation

std::vector< double > te::rp::SegmenterRegionGrowingStrategy::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 94 of file SegmenterRegionGrowingStrategy.h.

Referenced by te::rp::SegmenterRegionGrowingStrategy::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), te::rp::SegmenterRegionGrowingStrategy::initialize(), and operator=().

double te::rp::SegmenterRegionGrowingStrategy::Parameters::m_colorWeight
double te::rp::SegmenterRegionGrowingStrategy::Parameters::m_compactnessWeight
bool te::rp::SegmenterRegionGrowingStrategy::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 83 of file SegmenterRegionGrowingStrategy.h.

Referenced by te::rp::SegmenterRegionGrowingStrategy::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), and operator=().

bool te::rp::SegmenterRegionGrowingStrategy::Parameters::m_enableSameIterationMerges

If enabled, a merged segment could be merged with another within the same iteration (default:false).

Definition at line 85 of file SegmenterRegionGrowingStrategy.h.

Referenced by te::rp::SegmenterRegionGrowingStrategy::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), and operator=().

double te::rp::SegmenterRegionGrowingStrategy::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 77 of file SegmenterRegionGrowingStrategy.h.

Referenced by te::rp::SegmenterRegionGrowingStrategy::execute(), te::qt::widgets::SegmenterWizardPage::getInputParams(), te::rp::SegmenterRegionGrowingStrategy::initialize(), te::qt::widgets::SegmenterDialog::on_okPushButton_clicked(), operator=(), te::idl::rp::RegionGrowingSegmenter(), and te::qt::widgets::SegmenterWizardPage::SegmenterWizardPage().

unsigned int te::rp::SegmenterRegionGrowingStrategy::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 81 of file SegmenterRegionGrowingStrategy.h.

Referenced by te::rp::SegmenterRegionGrowingStrategy::execute(), and operator=().


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