|
latest version v1.9 - last update 10 Apr 2010 |
|
the parameters for the class kMColorQuantization More...
#include <ltiKMColorQuantization.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 | maximalNumberOfIterations |
| float | thresholdDeltaPalette |
the parameters for the class kMColorQuantization
| lti::kMColorQuantization::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::colorQuantization::parameters.
| lti::kMColorQuantization::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
| other | the parameters object to be copied |
Reimplemented from lti::colorQuantization::parameters.
| lti::kMColorQuantization::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::colorQuantization::parameters.
| 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
| other | the parameters object to be copied |
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
| other | the parameters object to be copied |
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
| 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::colorQuantization::parameters.
| virtual bool lti::kMColorQuantization::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::colorQuantization::parameters.
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)