All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 Types

enum  SegmentFeaturesType { InvalidFeaturesType, MeanFeaturesType, BaatzFeaturesType }
 

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

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.5, valid range: [0,1]. More...
 
double m_compactnessWeight
 The weight given to the compactness component, deafult:0.5, valid range: [0,1]. More...
 
unsigned int m_minSegmentSize
 A positive minimum segment size (pixels number - default: 100). More...
 
SegmentFeaturesType m_segmentFeatures
 What segment features will be used on the segmentation process (default:InvalidFeaturesType). More...
 
double m_segmentsSimilarityThreshold
 Segments similarity treshold - Segments with similarity values below this value will be merged; valid values range: [ 0, 1 ]; default:0.1. 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: 10. 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 61 of file SegmenterRegionGrowingStrategy.h.

Constructor & Destructor Documentation

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

Definition at line 55 of file SegmenterRegionGrowingStrategy.cpp.

References reset().

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

Definition at line 60 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 93 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 81 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 74 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
double te::rp::SegmenterRegionGrowingStrategy::Parameters::m_segmentsSimilarityThreshold
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: 10.

Definition at line 80 of file SegmenterRegionGrowingStrategy.h.

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


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