No BSD License  

Highlights from
Fourier Mellin Image Registration

5.0

5.0 | 2 ratings Rate this file 85 Downloads (last 30 days) File Size: 166.19 KB File ID: #19731
image thumbnail

Fourier Mellin Image Registration

by Robinson Laundon

 

27 Apr 2008 (Updated 29 Apr 2008)

An implementation of Fourier Mellin Phase Correlation for Image Registration

| Watch this File

File Information
Description

This is a tidied up version of Adam Wilmer's Fourier-Mellin transform for simple image rotation, scale and translation. No GUI is included and some code is cribbed directly from his implementation. I'm totally new to Matlab, so please excuse any coding faux-pas I have committed here.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
28 Apr 2008 Kenneth Eaton

Quite a racy sample pic, don't you think? =)

28 Apr 2008 Robinson Laundon

You know what Kenneth? I've been playing with this image during testing for Fourier Mellin (and other things) and thanks to you, for the first time, I've noticed the pixels to which you are referring. Now I look back over all of the papers I've been reading that make use of Lena, I can see they are appropriately cropped (!). I can only offer apologies and if I can work out how to modify my submission, some edits for those of a sensitive disposition.

28 Apr 2008 Kenneth Eaton

No sensitive disposition here, I just found it amusing =). I figured it was just a miscrop, but that you might want to know before anyone started complaining. If you log in and click to your submission page, there should be an option on the right (in the blue box) to update/modify your submission. I think you can just modify the picture and leave everything else.

K

23 Feb 2009 Pradyumna A

Nice, it was useful in building my program.

26 Feb 2009 Chaos

bombs with UINT16 images

??? Error using ==> times
Matrix dimensions must agree.

Error in ==> Register at 129
    IB = hipass_filter(size(I2, 1),size(I2,2)).*abs(FB);

??? Error using ==> times
Number of array dimensions must match for binary array op.

Error in ==> Register at 129
    IB = hipass_filter(size(I2, 1),size(I2,2)).*abs(FB);

??? Subscript indices must either be real positive integers or logicals.

Error in ==> interp2>nearest at 563
    F = arg3(ndx);

Error in ==> interp2 at 230
    zi = nearest(ExtrapVal,x,y,z,xi,yi);

Error in ==> Register>transformImage at 400
    r=interp2(A,xx,yy,'nearest');

Error in ==> Register at 131
    L1 = transformImage(IA, SizeX, SizeY, SizeX, SizeY, 'nearest',
    size(IA) / 2, 'valid');

08 Sep 2009 Robinson Laundon

Chaos, the comments at the top of the code state that it only works with 8-bit greyscale images, unfortunately.

09 Oct 2010 Yaron Kauffmann

The rotation and translation works great. How can i add also the scaling to this code ?

08 Feb 2012 lama riad

what does 1 and 2 mean in size(I,1),size(I,2)??????

Please login to add a comment or rating.
Updates
29 Apr 2008

Re-cropped Lena, updated a few comments in .m file.

Tag Activity for this File
Tag Applied By Date/Time
geometric transformation Robinson Laundon 22 Oct 2008 09:59:20
image registration Robinson Laundon 22 Oct 2008 09:59:20
image registration fourier mellin phase correlation Robinson Laundon 22 Oct 2008 09:59:20
geometric transformation ? 30 Apr 2012 13:14:32

Contact us at files@mathworks.com