LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::colorModelSelector::parameters Class Reference

the parameters for the class colorModelSelector More...

#include <ltiColorModelSelector.h>

Inheritance diagram for lti::colorModelSelector::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::colorModelSelector::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual functor::parametersclone () 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

Detailed Description

the parameters for the class colorModelSelector


Constructor & Destructor Documentation

lti::colorModelSelector::parameters::parameters (  ) 

default constructor

Reimplemented from lti::transform::parameters.

lti::colorModelSelector::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::transform::parameters.

lti::colorModelSelector::parameters::~parameters (  )  [virtual]

destructor

Reimplemented from lti::functor::parameters.


Member Function Documentation

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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
virtual bool lti::colorModelSelector::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parameters from the given ioHandler

Parameters:
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.
Returns:
true if write was successful

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

Parameters:
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.
Returns:
true if write was successful

Reimplemented from lti::functor::parameters.


Member Data Documentation

filename of the default color model (with path).

See also:
lti::colorModelSelector::addColorModel

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)

See also:
lti::colorModelSelector::addColorModel

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)


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

Generated on Sat Apr 10 15:27:09 2010 for LTI-Lib by Doxygen 1.6.1