latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class skinASM More...
#include <ltiSkinASM.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
int | enlargeExtent |
int | shrinkExtent |
float | maxInsideSkin |
float | skinThreshold |
bool | onlySkinBordersReliable |
the parameters for the class skinASM
lti::skinASM::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::gradientASM::parameters.
lti::skinASM::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::gradientASM::parameters.
lti::skinASM::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::gradientASM::parameters.
virtual functor::parameters* lti::skinASM::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::gradientASM::parameters.
parameters& lti::skinASM::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::gradientASM::parameters.
const char* lti::skinASM::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::gradientASM::parameters.
parameters& lti::skinASM::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::gradientASM::parameters.
virtual bool lti::skinASM::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
read the parameters from the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::gradientASM::parameters.
virtual bool lti::skinASM::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::gradientASM::parameters.
the outside radius in which skin borders are searched, if too many borderpoints are inside a skin-area (must be higher than searchExtent, to produce an effect).
default: 30
defines how many points of the border are allowed to lie inside skin regions (valid: 0.0...1.0; meaning 0% to 100%) if too many points are inside skin regions, the shape is enlarged.
default: 0.7
reliability: only skin borders considered to be reliable
default: true
the inside radius in which skin borders are searched, if no skin is inside search extent (must be higher than searchExtent, to produce an effect).
default: 15
threshold to decide, if a pixel is skin or not (valid: 0.0...1.0)
default: 0.5