首页 > 其他 > 详细

HOG

时间:2014-09-01 19:09:03      阅读:263      评论:0      收藏:0      [点我收藏+]

HOG Descriptor

Histogram of oriented gradients (HOG) are feature descriptors for the object detection purpose. Descriptor is a set of feature vectors. Each feature vector is computed from a block placed across the source image. Each element of a vector is a histogram of gradient orientations.

 

The algorithm of finding the HOG descriptor consists of the following steps:

  1. 1,Compute gradients for each pixel of an image.
  2. 2,Perform binning of gradients orientation (from 0 to 180 degrees, opposite directions count as the same).

3,Collect the histogram within a cell of pixels.

  1. 4,Weight the histogram by blocks and cells for local normalization of the contrasts.
  2. 5,Normalize the histogram.
  3. 6,Train a linear support vector machines (SVM) to detect an object. The output from the trained linear SVM is a set of coefficients for each element in a feature vector.

HOG

原文:http://www.cnblogs.com/sprint1989/p/3949600.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!