
Public Member Functions | |
| ColorHist () | |
| Constructor. | |
| virtual ColorHist * | clone () |
| virtual | ~ColorHist () |
| Destructor. | |
| virtual std::vector< float > | createFeatureVector (const Image< PixRGB< byte > > &img) |
| Calculate the features using a color image. | |
| virtual std::vector< float > | createFeatureVector (const Image< float > &img) |
| Calculate the features using a grey image. | |
Definition at line 50 of file ColorHist.H.
| ColorHist::ColorHist | ( | ) |
Constructor.
Definition at line 50 of file ColorHist.C.
| ColorHist::~ColorHist | ( | ) | [virtual] |
Destructor.
Definition at line 54 of file ColorHist.C.
| std::vector< float > ColorHist::createFeatureVector | ( | const Image< float > & | img | ) | [virtual] |
Calculate the features using a grey image.
Definition at line 89 of file ColorHist.C.
References FeatureVector::addValue(), Image< T >::coordsOk(), FeatureVector::getFeatureVector(), Image< T >::getHeight(), Image< T >::getValInterp(), Image< T >::getWidth(), gradientSobel(), and min().
| std::vector< float > ColorHist::createFeatureVector | ( | const Image< PixRGB< byte > > & | img | ) | [virtual] |
Calculate the features using a color image.
Definition at line 58 of file ColorHist.C.
References CONV_BOUNDARY_CLEAN, getLAB(), Image< T >::getWidth(), lum, and sepFilter().
1.6.3