Histogram of Oriented Gradients (HOG) code using Matlab

Matlab code computes the HOG feature vector for any given image.
15K Downloads
Updated 19 May 2014

View License

Histogram of Oriented Gradients can be used for object detection in an image. Particularly, they were used for pedestrian detection as explained in the paper "Pedestrian Detection using Histogram of Oriented Gradients" By Dalal and Triggs. The Matlab code computes HOG in the detailed manner as explained in the paper. The descriptor can then be used for training a classifier and for detecting object/non-object regions.
For more visit my blog: sanyamgarg.blogspot.com

Cite As

Sanyam Garg (2024). Histogram of Oriented Gradients (HOG) code using Matlab (https://www.mathworks.com/matlabcentral/fileexchange/46408-histogram-of-oriented-gradients-hog-code-using-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Recognition, Object Detection, and Semantic Segmentation in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Updates file copyright settings

1.1.0.0

Improved comments and better readability of the code

1.0.0.0