HOG描述函数
C++:
gpu::HOGDescriptor::
HOGDescriptor
(Size win_size=Size(64, 128), Size block_size=Size(16, 16), Size block_stride=Size(8, 8), Size cell_size=Size(8, 8), int nbins=9, double win_sigma=DEFAULT_WIN_SIGMA, double threshold_L2hys=0.2, bool gamma_correction=true, int nlevels=DEFAULT_NLEVELS)
-
Parameters: - win_size – Detection window size. Align to block size and block stride.
- block_size – Block size in pixels. Align to cell size. Only (16,16) is supported for now.
- block_stride – Block stride. It must be a multiple of cell size.必须是cell size的倍数
- cell_size – Cell size. Only (8, 8) is supported for now.
- nbins – Number of bins. Only 9 bins per cell are supported for now.
- win_sigma – Gaussian smoothing window parameter.高斯平滑窗口参数
- threshold_L2hys – L2-Hys normalization method shrinkage.对block进行区间归一化的方法,HOG作者论文中写了四种
- gamma_correction – Flag to specify whether the gamma correction preprocessing is required or not.用于指定伽玛校正预处理是否需要的标志。
- nlevels – Maximum number of detection window increases.检测窗口增加的最大数量?