|
latest version v1.9 - last update 10 Apr 2010 |
|
the parameters for the class skinProbabilityMap. More...
#include <ltiSkinProbabilityMap.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 | |
| float & | skinProbability |
| std::string | path |
the parameters for the class skinProbabilityMap.
| lti::skinProbabilityMap::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::probabilityMap::parameters.
| lti::skinProbabilityMap::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
| other | the parameters object to be copied |
Reimplemented from lti::probabilityMap::parameters.
| lti::skinProbabilityMap::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::probabilityMap::parameters.
| virtual functor::parameters* lti::skinProbabilityMap::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::probabilityMap::parameters.
| parameters& lti::skinProbabilityMap::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented from lti::probabilityMap::parameters.
| const char* lti::skinProbabilityMap::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::probabilityMap::parameters.
| parameters& lti::skinProbabilityMap::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented from lti::probabilityMap::parameters.
| virtual bool lti::skinProbabilityMap::parameters::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [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::probabilityMapBase::parameters.
| virtual bool lti::skinProbabilityMap::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::probabilityMapBase::parameters.
| std::string lti::skinProbabilityMap::parameters::path |
path where the skin probability histograms can be found.
The two files expected here are: skin-32-32-32.hist and nonskin-32-32-32.hist. These will be readed as soon as the parameters are set.
These files can be generated writing the lti::histogram objets with their own write method using an lti::lispStreamHandler object.
assumed overall probability of any pixel being skin (default is 0.5) This is an alias for the attribute of the parent class "objectProbability".