latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class chromaticityHistogram More...
#include <ltiChromaticityHistogram.h>
Public Types | |
enum | eNormType { , L1, L2 } |
Public Member Functions | |
parameters () | |
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 | verticalNeighbourhood |
float | horizontalNeighbourhood |
eNormType | norm |
int | smoothingKernelSize |
int | greenCells |
int | redCells |
rgbPixel | backgroundColor |
the parameters for the class chromaticityHistogram
lti::chromaticityHistogram::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::chromaticityHistogram::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::globalFeatureExtractor::parameters.
lti::chromaticityHistogram::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::globalFeatureExtractor::parameters.
virtual functor::parameters* lti::chromaticityHistogram::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::globalFeatureExtractor::parameters.
parameters& lti::chromaticityHistogram::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::chromaticityHistogram::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::globalFeatureExtractor::parameters.
virtual bool lti::chromaticityHistogram::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::chromaticityHistogram::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.
The value of the background will be ignored in the histogram.
The number of cells in the histogram to store the green-chromaticity values.
To compensate illumination variations, the norm of a pixel-neighbourhood centered on the analyzed pixel will be calculated.
The following factor will be multiplied by the number of columns of the analyzed image to get the size of the neighbourhood.
Which kind of normalization should be used? (Default L2 Norm).
The number of cells in the histogram to store the red-chromaticity values.
Dimension of the 1D gaussian kernel which is used to smooth the resulting 1D histogram.
To compensate illumination variations, the norm of a pixel-neighbourhood centered on the analyzed pixel will be calculated.
The following factor will be multiplied by the number of rows of the analyzed image to get the height of the neighbourhood.