Skeleton input parameters. More...
#include <Skeleton.h>
Public Member Functions | |
AbstractParameters * | clone () const |
Create a clone copy of this instance. More... | |
InputParameters () | |
InputParameters (const InputParameters &) | |
const InputParameters & | operator= (const InputParameters ¶ms) |
void | reset () throw ( te::rp::Exception ) |
Clear all internal allocated resources and reset the parameters instance to its initial state. More... | |
~InputParameters () | |
Public Attributes | |
unsigned int | m_diffusionMaxIterations |
The maximum number of iterations to perform (zero: no iterations limit). More... | |
double | m_diffusionRegularization |
A regularization parameter to control the variation from one iteration to the next one (higher values can reduce the number of iterations but can bring the system to an unstable state, valid range: (0,1] positive values ). More... | |
double | m_diffusionThreshold |
A threshold over the residue from one iteration to another, if the residue drops below this value the process is finished - valid range: (0,1] positive values, lower values will cause more iterations to be performed. More... | |
bool | m_enableMultiThread |
Enable (true) the use of threads. More... | |
bool | m_enableProgress |
Enable/Disable the progress interface (default:false). More... | |
te::rst::Raster const * | m_inputMaskRasterPtr |
A pointer to an input raster (where pixels with zero velues will be ignored) or an null pointer if no input mask raster must be used. More... | |
unsigned int | m_inputRasterBand |
Bands to process from the input raster. More... | |
te::rst::Raster const * | m_inputRasterPtr |
Input raster. More... | |
double | m_skeletonThreshold |
A threshold to select those pixels as being part of the final skeleton - valid range [0,1]. More... | |
Skeleton input parameters.
Definition at line 78 of file Skeleton.h.
te::rp::Skeleton::InputParameters::InputParameters | ( | ) |
Definition at line 64 of file Skeleton.cpp.
References reset().
te::rp::Skeleton::InputParameters::InputParameters | ( | const InputParameters & | other | ) |
Definition at line 69 of file Skeleton.cpp.
References te::rp::Algorithm::operator=(), and te::rp::Skeleton::reset().
te::rp::Skeleton::InputParameters::~InputParameters | ( | ) |
Definition at line 75 of file Skeleton.cpp.
References te::rp::Skeleton::reset().
|
virtual |
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
Definition at line 111 of file Skeleton.cpp.
const Skeleton::InputParameters & te::rp::Skeleton::InputParameters::operator= | ( | const InputParameters & | params | ) |
Definition at line 93 of file Skeleton.cpp.
References m_diffusionMaxIterations, m_diffusionRegularization, m_diffusionThreshold, m_enableMultiThread, m_enableProgress, m_inputMaskRasterPtr, m_inputRasterBand, m_inputRasterPtr, m_skeletonThreshold, and te::rp::Skeleton::reset().
|
virtual |
Clear all internal allocated resources and reset the parameters instance to its initial state.
Implements te::common::AbstractParameters.
Definition at line 80 of file Skeleton.cpp.
Referenced by InputParameters(), and te::rp::Skeleton::reset().
unsigned int te::rp::Skeleton::InputParameters::m_diffusionMaxIterations |
The maximum number of iterations to perform (zero: no iterations limit).
Definition at line 92 of file Skeleton.h.
Referenced by te::rp::Skeleton::applyVecDiffusion(), and operator=().
double te::rp::Skeleton::InputParameters::m_diffusionRegularization |
A regularization parameter to control the variation from one iteration to the next one (higher values can reduce the number of iterations but can bring the system to an unstable state, valid range: (0,1] positive values ).
Definition at line 90 of file Skeleton.h.
Referenced by te::rp::Skeleton::applyVecDiffusion(), te::rp::Skeleton::initialize(), and operator=().
double te::rp::Skeleton::InputParameters::m_diffusionThreshold |
A threshold over the residue from one iteration to another, if the residue drops below this value the process is finished - valid range: (0,1] positive values, lower values will cause more iterations to be performed.
Definition at line 88 of file Skeleton.h.
Referenced by te::rp::Skeleton::applyVecDiffusion(), te::rp::Skeleton::initialize(), and operator=().
bool te::rp::Skeleton::InputParameters::m_enableMultiThread |
Enable (true) the use of threads.
Definition at line 94 of file Skeleton.h.
Referenced by te::rp::Skeleton::applyVecDiffusion(), and operator=().
bool te::rp::Skeleton::InputParameters::m_enableProgress |
Enable/Disable the progress interface (default:false).
Definition at line 98 of file Skeleton.h.
Referenced by te::rp::Skeleton::execute(), and operator=().
te::rst::Raster const* te::rp::Skeleton::InputParameters::m_inputMaskRasterPtr |
A pointer to an input raster (where pixels with zero velues will be ignored) or an null pointer if no input mask raster must be used.
Definition at line 86 of file Skeleton.h.
Referenced by te::rp::Skeleton::initialize(), te::rp::Skeleton::loadData(), and operator=().
unsigned int te::rp::Skeleton::InputParameters::m_inputRasterBand |
Bands to process from the input raster.
Definition at line 84 of file Skeleton.h.
Referenced by te::rp::Skeleton::execute(), te::rp::Skeleton::initialize(), te::rp::Skeleton::loadData(), and operator=().
te::rst::Raster const* te::rp::Skeleton::InputParameters::m_inputRasterPtr |
Input raster.
Definition at line 82 of file Skeleton.h.
Referenced by te::rp::Skeleton::execute(), te::rp::Skeleton::initialize(), te::rp::Skeleton::loadData(), and operator=().
double te::rp::Skeleton::InputParameters::m_skeletonThreshold |
A threshold to select those pixels as being part of the final skeleton - valid range [0,1].
Definition at line 96 of file Skeleton.h.
Referenced by te::rp::Skeleton::execute(), te::rp::Skeleton::initialize(), and operator=().