latest version v1.9 - last update 10 Apr 2010 |
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>
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 |
histogramRGBL & | copy (const histogramRGBL &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
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
.
lti::histogramRGBL::histogramRGBL | ( | ) |
default constructor
lti::histogramRGBL::histogramRGBL | ( | const histogramRGBL & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::histogramRGBL::~histogramRGBL | ( | ) | [virtual] |
destructor
operates on a copy of the given parameters.
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.
other | the functor to be copied |
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.