PedestrainCounting
Public Member Functions | List of all members
HoGFeature Class Reference

#include <HoGFeature.h>

Public Member Functions

 HoGFeature (int offsetW, int offsetH, int w, int h)
 
bool Extract (const IntegralImage *intImage, const Rect &roi, Feature *feature, float scale=1.0f) const
 

Detailed Description

Extract the HoG of subregion in the roi.

Author
Zhengrong Wang.

Member Function Documentation

bool HoGFeature::Extract ( const IntegralImage intImage,
const Rect roi,
Feature feature,
float  scale = 1.0f 
) const

The patch is like this:

<---—[scaledWith / 2]---—^----—[scaledWidth - scaledWidth / 2]---—> | | | [scaledHeight / 2] | | | | | ^-------------------------—^-----------------------------------------—^ | | | [scaledHeight - | | scaledHeight / 2] | | | | | ^-------------------------—^-----------------------------------------—^


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