Hu's Invariant Moments
Version 1.0.0.0 (2.41 KB) by
Vishnu Muralidharan
Calculates the 7 invariant Hu's moments for an image
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 (2026). 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 LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Find more on Region and Image Properties in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
