Hu's Invariant Moments

Calculates the 7 invariant Hu's moments for an image
3K Downloads
Updated 24 Jul 2015

View License

The functions compute the 7 invariant Hu's moments for an image and finally returns an array that contains the 7 moments . Users have the added option of computing the Hu's moments for a specific region of the image. To avail this feature, the user is requested to do the necessary preprocessing to create the mask that selects the interested region out of the whole image.
Example use of the functions:
eta_mat = SI_moment(input_image,mask);
hu_arr = Hu_Moments(eta_mat);

Cite As

Vishnu Muralidharan (2024). Hu's Invariant Moments (https://www.mathworks.com/matlabcentral/fileexchange/52259-hu-s-invariant-moments), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0