latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class histogramRGBL More...
#include <ltiHistogramRGBL.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 | |
bool | smooth |
kernel1D< double > | kernel |
bool | normalize |
int | cells |
bool | considerAllData |
rgbPixel | ignoreValue |
the parameters for the class histogramRGBL
lti::histogramRGBL::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::histogramRGBL::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::histogramRGBL::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::globalFeatureExtractor::parameters.
virtual functor::parameters* lti::histogramRGBL::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::histogramRGBL::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
const char* lti::histogramRGBL::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::histogramRGBL::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
virtual bool lti::histogramRGBL::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::functor::parameters.
virtual bool lti::histogramRGBL::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::functor::parameters.
if true, the ignoreValue will be ignored and all data values will be considered in the histogram generation.
If false (the default) all but the pixels with value ignoreValue
will be considered. Default value: false
this value will be ignored in the histogram.
It is usually used to ignore the background. Default value (0,0,0), i.e. black will be ignored.
smoothing kernel.
Default: gaussian kernel of size 3 (default variance).
If true, the area under the each single histogram will be normalized to one; i.e.
the total area will be four. Default value: true