MATLAB: Displacement vector

image analysis

Hi, I have two images of same size such that
im1_o=image at time 0
im2_1=image at time 1
I want to compute displacement vetor for these two images using intensity correlation for given Window size (odd). I donot understand where to start. Can I use some builtin function of matlab? Any help or link to some code.

Best Answer

If you look at the cross correlation registration demo in the Image Processing Toolbox, you'll see how normxcorr2 can be used to solve for the displacement vector you are interested in.