HOG Class Reference

List of all members.

Public Member Functions

 HOG ()
 Constructor.
virtual ~HOG ()
 Destructor.
ImageSet< float > getFeatures (const Image< PixRGB< byte > > &img, int numBins)
 Compute HOG features on an RGB image.
void getMaxGradient (const Image< PixRGB< byte > > &img, Image< float > &mag, Image< float > &ori, int numOrientations=-1)
ImageSet< float > getOriHistogram (const Image< float > &mag, const Image< float > &ori, int numOrientations, int numBins)
ImageSet< double > computeFeatures (const ImageSet< float > &hist)
Image< double > getHistogramEnergy (const ImageSet< float > &hist)
Image< PixRGB< byte > > getHistogramImage (const ImageSet< float > &hist, const int binSize=20)

Detailed Description

Definition at line 74 of file HOG.H.


Constructor & Destructor Documentation

HOG::HOG (  ) 

Constructor.

Definition at line 52 of file HOG.C.

HOG::~HOG (  )  [virtual]

Destructor.

Definition at line 56 of file HOG.C.


Member Function Documentation

ImageSet< float > HOG::getFeatures ( const Image< PixRGB< byte > > &  img,
int  numBins 
)

Compute HOG features on an RGB image.

Definition at line 60 of file HOG.C.

References getMaxGradient().

void HOG::getMaxGradient ( const Image< PixRGB< byte > > &  img,
Image< float > &  mag,
Image< float > &  ori,
int  numOrientations = -1 
)

Compute the gradient on a color img by taking the max gradient If numOrientations > 0 then snap to the best orientation

Definition at line 307 of file HOG.C.

References Image< T >::beginw(), PixRGB< T >::blue(), Image< T >::getHeight(), Image< T >::getWidth(), PixRGB< T >::green(), PixRGB< T >::red(), Image< T >::resize(), and sqrt().

Referenced by getFeatures().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:22:14 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3