HOG (Histogram of Oriented Gradients) MEX Implementation

Rectangular histogram of gradients (R-HoG) descriptor MEX implementation.

You are now following this Submission

Descriptor implemented according to Histograms of Oriented Gradients for Human Detection [Dalal, Triggs, 2005], with added variance normalization for the input image.

Compile using mex hog.cxx.

All the code is in the header file, hog.h, so it is possible to include that header file into your cpp application and use it directly. hog.cxx simply serves as an entry point for matlab.

See the comments in hog.cxx for usage.

Cite As

Paul Sastrasinh (2026). HOG (Histogram of Oriented Gradients) MEX Implementation (https://www.mathworks.com/matlabcentral/fileexchange/38916-hog-histogram-of-oriented-gradients-mex-implementation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Description / tags updated.

1.0.0.0