OpenCV版本2.3.1
hog头文件:opencv\modules\objdetect\include\opencv2\objdetect中的objdetect.hpp
hog实现文件:opencv\modules\objdetect\src中的hog.cpp
参考文献:Histograms of Oriented Gradients for Human Detection 作者 Navneet Dalal and Bill Triggs
关于hog中HOGDescriptor的参数。参考博文http://blog.csdn.net/raodotcong/article/details/6239431
窗口大小winSize
块大小blockSize
cellSize
winsize,blocksize,blockstride,cellsize的关系必须满足条件:
blockSize.width % cellSize.width == 0 &a