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

lti::kMColorQuantization::parameters Class Reference

the parameters for the class kMColorQuantization More...

#include <ltiKMColorQuantization.h>

Inheritance diagram for lti::kMColorQuantization::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::kMColorQuantization::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

int maximalNumberOfIterations
float thresholdDeltaPalette

Detailed Description

the parameters for the class kMColorQuantization


Constructor & Destructor Documentation

lti::kMColorQuantization::parameters::parameters (  ) 

default constructor

Reimplemented from lti::colorQuantization::parameters.

lti::kMColorQuantization::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::colorQuantization::parameters.

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

destructor

Reimplemented from lti::colorQuantization::parameters.


Member Function Documentation

virtual functor::parameters* lti::kMColorQuantization::parameters::clone (  )  const [virtual]

returns a pointer to a clone of the parameters

Reimplemented from lti::colorQuantization::parameters.

parameters& lti::kMColorQuantization::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::colorQuantization::parameters.

const char* lti::kMColorQuantization::parameters::getTypeName (  )  const [virtual]

returns name of this type

Reimplemented from lti::colorQuantization::parameters.

parameters& lti::kMColorQuantization::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

Reimplemented from lti::colorQuantization::parameters.

virtual bool lti::kMColorQuantization::parameters::read ( ioHandler handler,
const bool  complete = true 
) [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::colorQuantization::parameters.

virtual bool lti::kMColorQuantization::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::colorQuantization::parameters.


Member Data Documentation

maximal number of iteration for the k-Means algorithm (Default value: 50)

if "Palette-Changing" by iteration < thresholdDeltaPalette than stop iterating sum(distanceSqr(palNew-palOld)) (Default value: 0.2)


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

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