Hu's Invariant Moments
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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Hu's Moments/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |