latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class histogramEqualization More...
#include <ltiHistogramEqualization.h>
Public Member Functions | |
parameters (const float upperLimit=1.0f) | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (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 | |
float | lowerInputLimit |
float | lowerOutputLimit |
int | cells |
float | upperInputLimit |
float | upperOutputLimit |
the parameters for the class histogramEqualization
lti::histogramEqualization::parameters::parameters | ( | const float | upperLimit = 1.0f |
) |
default constructor
upperLimit | upper value used for the input and output upper limits. It is 1.0f as default, but if you plan to equalize channel8 objects, you should use 255 |
lti::histogramEqualization::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
lti::histogramEqualization::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::histogramEqualization::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::modifier::parameters.
parameters& lti::histogramEqualization::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
const char* lti::histogramEqualization::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::modifier::parameters.
virtual bool lti::histogramEqualization::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::modifier::parameters.
virtual bool lti::histogramEqualization::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::modifier::parameters.
the number of cells, the histogram uses for equalization
Default 256