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

lti::histogramRGBL Class Reference

This simple feature consists on four independently calculated histograms, one for each color component R, G and B and the luminance L, defined as L = (min(R,G,B) + max(R,G,B))/2. More...

#include <ltiHistogramRGBL.h>

Inheritance diagram for lti::histogramRGBL:
Inheritance graph
[legend]
Collaboration diagram for lti::histogramRGBL:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class histogramRGBL More...

Public Member Functions

 histogramRGBL ()
 histogramRGBL (const histogramRGBL &other)
virtual ~histogramRGBL ()
virtual const char * getTypeName () const
bool apply (const image &src, vector< double > &dest) const
histogramRGBLcopy (const histogramRGBL &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

This simple feature consists on four independently calculated histograms, one for each color component R, G and B and the luminance L, defined as L = (min(R,G,B) + max(R,G,B))/2.

Each histogram contains the number of cells given in the parameters, which means that the resulting feature vector has a dimensionality of 4*cells.


Constructor & Destructor Documentation

lti::histogramRGBL::histogramRGBL (  ) 

default constructor

lti::histogramRGBL::histogramRGBL ( const histogramRGBL other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::histogramRGBL::~histogramRGBL (  )  [virtual]

destructor


Member Function Documentation

bool lti::histogramRGBL::apply ( const image src,
vector< double > &  dest 
) const [virtual]

operates on a copy of the given parameters.

Parameters:
src image with the source data.
dest feature vector
Returns:
true if apply successful or false otherwise.

Reimplemented from lti::globalFeatureExtractor.

virtual functor* lti::histogramRGBL::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Reimplemented from lti::globalFeatureExtractor.

histogramRGBL& lti::histogramRGBL::copy ( const histogramRGBL other  ) 

copy data of "other" functor.

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

Reimplemented from lti::globalFeatureExtractor.

const parameters& lti::histogramRGBL::getParameters (  )  const

returns used parameters

Reimplemented from lti::globalFeatureExtractor.

virtual const char* lti::histogramRGBL::getTypeName (  )  const [virtual]

returns the name of this type ("histogramRGBL")

Reimplemented from lti::globalFeatureExtractor.


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

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