latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class colorModelSelector More...
#include <ltiColorModelSelector.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 | |
rectangle | window |
std::string | colorHistFile |
std::string | nonColorHistFile |
probabilityMap::parameters | mapParameters |
int | pcaDataPoints |
the parameters for the class colorModelSelector
lti::colorModelSelector::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::transform::parameters.
lti::colorModelSelector::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::transform::parameters.
lti::colorModelSelector::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::colorModelSelector::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::transform::parameters.
parameters& lti::colorModelSelector::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::transform::parameters.
const char* lti::colorModelSelector::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::transform::parameters.
parameters& lti::colorModelSelector::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::colorModelSelector::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::functor::parameters.
virtual bool lti::colorModelSelector::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::functor::parameters.
filename of the default color model (with path).
Default value: "../skin/skin-32-32-32.hist"
default parameters for the probabilityMap functors.
This will be taken into account only for the models added after setting the parameters object.
Default values: see probabilityMap::parameters
filename of the default non-color histogram (with path)
Default value: "../skin/nonskin-32-32-32.hist"
Deprecated
To compute the PCA used for the color zooming, a specific number of data points is required, generated from the color model used. The number of data points used can be specified here.
This parameter is not required any more and will be ignore. The covariance and mean values for the PCA functor are computed directly from the histogram.
Default value 500000
rectangle that defines the window in the given image for which the color probability is calculated and finally the colorModel is selected by.
Some apply methods accept this parameter directly. In these cases, the value of window
will be ignored.
Default value: (0,0,10000,10000)