No BSD License
-
fm_gui.m
-
crosspowerspectrum(in1,in2)
USAGE : cps = crosspowerspectrum(in1,in2)
-
fm_guifun(action)
GUI functions for Fourier-Mellin transform GUI
-
fm_parse_inputs(data)
fm_parse_inputs(data)
-
fourier_mellin(data)
USAGE : [combImage,registered1,registered2,reg_output,cps_rs,cps_trans] = fourier_mellin(data)
-
hipass_filter(ht,wd)
hi-pass filter function
-
image_scale(input,lower,upper)
USAGE : output = image_scale(input,lower,upper)
-
imlogpolar(varargin)
IMLOGPOLAR Compute logarithmic polar transformation of image.
-
parse_inputs(varargin)
-
readpgm( filename )
-
transformImage(A,Ar,Ac,Nrho,N...
-
w=window1d(p,wtype,param)
USAGE: w=window1d(p,wtype,param)
-
w=window2d(p,q,wtype,param)
-
zeropad(i1,i2,centre_flag)
-
fft_resize_test.m
-
help_fm.html
-
View all files
from
Fourier-Mellin based Image Registration (with GUI)
by Adam Wilmer
GUI-implementation of the Fourier-Mellin transform for simple image rotation, scale and translation.
|
| help_fm.html |
Fourier-Mellin Transform GUI Help
Fourier-Mellin Transform GUI Help
Adam I. Wilmer (aiw99r@ecs.soton.ac.uk)
Introduction
This MATLAB toolbox implements the Fourier-Mellin transform. Necessary requirements are the MATLAB Image Processing Toolbox and the cartesian to log-polar conversion code (which is included).
Example
Use this example to get an idea for what the program is all about.
1) Run 'fm_gui' at the MATLAB command prompt.
2) Load 'lena.bmp' into both Input 1 and Input 2 windows.
3) Apply any rotation and a scale change between 1 and 2 to the image 2 window.
4) Set all 3 interpolation methods to 'bicubic' except for scale which should be set to 'nearest'.
5) Press REGISTER.
6) Note registration has not been successful so set Window to 'Kaiser' (or any other for that matter).
7) Press REGISTER.
8) The registration has been successful this time.
Playing with the rotation and scale of image 2 should give you some idea of how robust the Fourier-Mellin registration approach is. Scaling the Lena image more than about 2.6 and less than 3 does not give successful registration unless a multiple points in the rotation/scale phase correlation plot are searched for the one that is most likely. The slider under the REGISTER button allows the number of such points to be selected. This can give increased performance at the cost of speed. The best way to use the slider is to set it to 1 and then REGISTER and then increment it slowly until successful registration is obtained.
Options
Drop-down menus next to images 1 and 2 allow different measurements necessary for registration to be displayed. It is necessary for REGISTER to be pressed before these can be viewed. These inlude the
The input image itself
Log-magnitude spectrum
Phase Spectrum
Log-polar plot of the magnitude spectrum
Invariant Features (or "the Log magnitude of the Log-polar of the log magnitude of the original image")
A drop-down menu above the registered image allows the following to be visualised
The registered image combined with input 1.
The registered image alone.
The phase-correlation plot of the log-polar magnitudes. (The maximum peak defines the rotation and scale registration parameters.)
The phase-correlation plot of the log magnitudes. (The maximum peak defines the translation registration parameter.)
Reference
"An FFT-based Technique for Translation, Rotation and Scale-Invariant Image Registration", B. S. Reddy and B. N. Chatterji, IEEE Transactions on Image Processing, Volume 5, No. 8, August 1996, pp 1266-1271
|
|
Contact us at files@mathworks.com