LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::chromaticityHistogram::parameters Class Reference

the parameters for the class chromaticityHistogram More...

#include <ltiChromaticityHistogram.h>

Inheritance diagram for lti::chromaticityHistogram::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::chromaticityHistogram::parameters:
Collaboration graph
[legend]

List of all members.

Public Types

enum  eNormType { , L1, L2 }

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (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

float verticalNeighbourhood
float horizontalNeighbourhood
eNormType norm
int smoothingKernelSize
int greenCells
int redCells
rgbPixel backgroundColor

Detailed Description

the parameters for the class chromaticityHistogram


Member Enumeration Documentation

type used in the norm specification

Enumerator:
L1 

Do not normalize L1 norm

L2 

L2 norm


Constructor & Destructor Documentation

lti::chromaticityHistogram::parameters::parameters (  ) 

default constructor

Reimplemented from lti::globalFeatureExtractor::parameters.

lti::chromaticityHistogram::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied

Reimplemented from lti::globalFeatureExtractor::parameters.

lti::chromaticityHistogram::parameters::~parameters (  )  [virtual]

destructor

Reimplemented from lti::globalFeatureExtractor::parameters.


Member Function Documentation

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

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

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

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.

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


Member Data Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:27:06 2010 for LTI-Lib by Doxygen 1.6.1