Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I did not find in Mathematica a function for Histogram of Oriented Gradients (HOG) descriptors.

Is there any similar function? Do you have an implementation you are willing to share?

share|improve this question
How far have you got with your implementation, ImageConvolve might be a good place to start? – image_doctor Dec 6 '12 at 1:27

1 Answer 1

up vote 5 down vote accepted

From the Mathematica 9 help for GradientOrientationFilter:

Compute the histogram of oriented gradient (HOG) for an image, where each pixel casts a vote weighted by its gradient magnitude in the bin corresponding to its local orientation:

share|improve this answer
Yes, this implementation is a bit crude but conveys the idea. – Matthias Odisio Dec 13 '12 at 16:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.