People Innovation Excellence

Feature Descriptor : Histogram of Oriented Gradients (HoG)

Figure 1: Pixel value of given input image. Red color means observed pixel

In order to implement this feature descriptor [1], the gradient vector are calculated as follows:

In order to make this method robust with the variance of contrast, the magnitude feature vector needs to be normalized as follows

Dalal and Triggs used resolution 64×128 of input images. Then, to com- pute HoG descriptor a windowing method of 8×8 pixels was developed and    a block of 50% overlapping was applied. These magnitude values are stored  in 9 bins of histogram.

The blocks used [1] were 4 cells in 1 block, 2×2 cells. These blocks have 50% overlapping.  This block normalization is performed by concatenating  the histograms of the four cells within the block into a vector with 36 com- ponents (4 histograms x 9 bins per histograms).

Figure 2: HoG setup used by Dalal and Triggs


[1] N. Dalal and B. Triggs. Histograms of oriented gradients for human detection. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition  (CVPR’05),  volume  1,  pages  886–893 vol. 1, June 2005. doi: 10.1109/CVPR.2005.177.

Published at : Updated
Written By
Hanry Ham, S.Kom.,M.Eng
Subject Content Coordinator – Software Development | School of Computer Science

Periksa Browser Anda

Check Your Browser

Situs ini tidak lagi mendukung penggunaan browser dengan teknologi tertinggal.

Apabila Anda melihat pesan ini, berarti Anda masih menggunakan browser Internet Explorer seri 8 / 7 / 6 / ...

Sebagai informasi, browser yang anda gunakan ini tidaklah aman dan tidak dapat menampilkan teknologi CSS terakhir yang dapat membuat sebuah situs tampil lebih baik. Bahkan Microsoft sebagai pembuatnya, telah merekomendasikan agar menggunakan browser yang lebih modern.

Untuk tampilan yang lebih baik, gunakan salah satu browser berikut. Download dan Install, seluruhnya gratis untuk digunakan.

We're Moving Forward.

This Site Is No Longer Supporting Out-of Date Browser.

If you are viewing this message, it means that you are currently using Internet Explorer 8 / 7 / 6 / below to access this site. FYI, it is unsafe and unable to render the latest CSS improvements. Even Microsoft, its creator, wants you to install more modern browser.

Best viewed with one of these browser instead. It is totally free.

  1. Google Chrome
  2. Mozilla Firefox
  3. Opera
  4. Internet Explorer 9