Code covered by the BSD License  

Highlights from
The Seven Invariant Moments

4.0

4.0 | 6 ratings Rate this file 88 Downloads (last 30 days) File Size: 234 KB File ID: #33975

The Seven Invariant Moments

by MATLABacademy

 

28 Nov 2011

Calculates the Seven Invariant Moments in terms of centralized Moments

| Watch this File

File Information
Description

Two function files that can be applied on an image to calculate the seven invariant moments defined by Hu(1962)in terms of centralized Moments for purpose of shape recognition . The function to be used directly by the user is
feature_vec(A),where A is a 2D matrix representing an image.
Inside this function another function :cent_moment(p,q,A)is called to calculate the normalized central moments
You can use it in separate.But you don't need to do so when using feature_vec(A)
Attached with the two functions is a pdf file containing short mathematical notes about the theory of Invariant Moments.

Required Products MATLAB
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
httpwwwmathworksinmatlabcentralanswers28455imagefeatureextractio(2), image processing, moment invariants(2)
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
18 Oct 2012 Elvis Condori

Muy buena contribución.

13 Aug 2012 Long  
19 Jun 2012 Omid  
12 Mar 2012 Ishrat Badami  
12 Mar 2012 Ishrat Badami  
10 Mar 2012 Ishrat Badami

Lot of redundant calculations. Also instead of using lot of for loops you can try efficient matrix multiplication.

08 Feb 2012 shobhit

ans this pls
http://www.mathworks.in/matlabcentral/answers/28455-image-feature-extraction-using-invariant-moments

Contact us