binary image registration, no rotation

2 views (last 30 days)
charlie
charlie on 16 Jul 2011
Hi guys,
I have a simple question, but cannot find the optimal solution.
I have two binary images, with a random X and Y shift, and without rotation. I want to register the images in order to find out what is the X/Y shift.
I can manually move 1 image around the other to find the best match. but I think there is something much easier out there.
please help.

Answers (1)

Image Analyst
Image Analyst on 16 Jul 2011
Try normxcorr2() in the Image Processing Toolbox.
  1 Comment
charlie
charlie on 16 Jul 2011
thanks for the reply. the function description says "The matrix A must be larger than the matrix template for the normalization to be meaningful. The values of template cannot all be the same"
is this the right method? could you please elaborate a little more.
many thanks

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!