MATLAB Answers

image registration

how to register a medical image in matlab

  0 Comments

4 Answers

Answer by Image Analyst
on 30 Mar 2012

It's not easy, especially if it's a 3D image. There are lots of complicated papers on the process. For starters, why don't you start with cpselect(), a simple, manual 2D registration using user-selected landmarks. In the help, navigate to this discussion: Image Processing Toolbox -> User's Guide -> Image Registration -> Registering an Image.

Another option is Brett Shoelson's http://www.mathworks.com/matlabcentral/fileexchange/34510-image-registration-gui

  0 Comments


Thanks Image Analyst.. I tried the code with cpselect. After running the program, how to find whether the image has been registered.

  2 Comments

Image Analyst
on 30 Mar 2012

If you can't tell then maybe it didn't matter in the first place.

Image Analyst
on 31 Mar 2012

First, exclude all pixels that are at the edges that aren't in both of the images - you know, the black triangles that appear at the outer edges when you rotate, scale, and translate the image to make it align with the reference image. Only consider pixels that are common to both images. Then do a subtraction or PSNR or RMS error or something like that.


Answer by Alex Taylor
on 30 Mar 2012

Siva,

If you are using R2012a, you might also check out the new function imregister. This function can be used to perform automated image registration:

help imregister

  1 Comment

Alex,
Thanks. Unfortunately i am still using 2008b. I will remember your answer and when i come to use 2012a, i will work it out


Image Analyst, Thanks and I shall try your ideas

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today