41 #ifndef PCL_PEOPLE_HOG_H_ 42 #define PCL_PEOPLE_HOG_H_ 44 #include <pcl/pcl_macros.h> 76 gradMag (
float *I,
int h,
int w,
int d,
float *M,
float *O )
const;
91 gradHist (
float *M,
float *O,
int h,
int w,
int bin_size,
int n_orients,
bool soft_bin,
float *H)
const;
105 normalization (
float *H,
int h,
int w,
int bin_size,
int n_orients,
float clip,
float *G )
const;
120 compute (
float *I,
int h,
int w,
int n_channels,
int bin_size,
int n_orients,
bool soft_bin,
float *descriptor);
129 compute (
float *I,
float *descriptor)
const;
137 grad1 (
float *I,
float *Gx,
float *Gy,
int h,
int w,
int x )
const;
149 gradQuantize (
float *O,
float *M,
int *O0,
int *O1,
float *M0,
float *M1,
int n_orients,
int nb,
int n,
float norm )
const;
155 alMalloc (
size_t size,
int alignment )
const;
161 alFree (
void* aligned)
const;
float clip_
value at which to clip histogram bins (default = 0.2)
HOG represents a class for computing the HOG descriptor described in Dalal, N.
int w_
image width (default = 64)
int n_channels_
image number of channels (default = 3)
bool soft_bin_
if true, each pixel can contribute to multiple spatial bins (using bilinear interpolation) (default =...
int bin_size_
spatial bin size (default = 8)
int h_
image height (default = 128)
int n_orients_
number of orientation bins (default = 9)