MATLAB Answers


How to coregister two 2D images of size 2048x2048?

on 5 Dec 2012

The region of interest is shifted in one of the images. In the other image, the region of interest is at the center of the image. So how to map the pixels of the region of interest of the shifted image with the other one? Finally the aim is performing coregistration of the two images.


1 Answer

Answer by Image Analyst
on 5 Dec 2012

Did you try imregister() in the Image Processing Toolbox. This is exactly what it's meant for. Please try it.


on 5 Dec 2012

I am using Matlab 2008.. So there is no imregister function...

Image Analyst
on 5 Dec 2012

Then try normxcorr2() (in the Image Processing Toolbox) and imtranslate() (in the File Exchange).

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!