码迷,mamicode.com
首页 > 其他好文 > 详细

HOG

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

标签:des   os   io   ar   for   cti   on   line   c   

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

标签:des   os   io   ar   for   cti   on   line   c   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!