LTI-Lib latest version v1.9 - last update 24 Nov 2005
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

lti::colorQuantization::parameters Class Reference

the parameters for the class colorQuantization More...

#include <ltiColorQuantization.h>

Inheritance diagram for lti::colorQuantization::parameters:

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

Detailed Description

the parameters for the class colorQuantization


Constructor & Destructor Documentation

lti::colorQuantization::parameters::parameters  ) 
 

default constructor

Reimplemented from lti::functor::parameters.

Reimplemented in lti::kMColorQuantization::parameters, lti::lkmColorQuantization::parameters, and lti::medianCut::parameters.

lti::colorQuantization::parameters::parameters const parameters other  ) 
 

copy constructor

Parameters:
other the parameters object to be copied

lti::colorQuantization::parameters::~parameters  )  [virtual]
 

destructor

Reimplemented from lti::functor::parameters.

Reimplemented in lti::kMColorQuantization::parameters, lti::lkmColorQuantization::parameters, and lti::medianCut::parameters.


Member Function Documentation

virtual functor::parameters* lti::colorQuantization::parameters::clone  )  const [virtual]
 

returns a pointer to a clone of the parameters

Implements lti::functor::parameters.

Reimplemented in lti::kMColorQuantization::parameters, lti::lkmColorQuantization::parameters, and lti::medianCut::parameters.

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

const char* lti::colorQuantization::parameters::getTypeName  )  const [virtual]
 

returns name of this type

Reimplemented from lti::functor::parameters.

Reimplemented in lti::kMColorQuantization::parameters, lti::lkmColorQuantization::parameters, and lti::medianCut::parameters.

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

Reimplemented in lti::kMColorQuantization::parameters, lti::lkmColorQuantization::parameters, and lti::medianCut::parameters.

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

Reimplemented in lti::kMColorQuantization::parameters, lti::lkmColorQuantization::parameters, and lti::medianCut::parameters.


Member Data Documentation

int lti::colorQuantization::parameters::numberOfColors
 

Number of colors that the resulting channel must have.

Usually this value must be between 2 and 256, but each functor can modify this requirement. Default value: 256


The documentation for this class was generated from the following file:
Generated on Thu Nov 24 16:37:17 2005 for LTI-Lib by Doxygen 1.4.4