binary image registration, no rotation

6 次查看(过去 30 天)
charlie
charlie 2011-7-16
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.

回答(1 个)

Image Analyst
Image Analyst 2011-7-16
Try normxcorr2() in the Image Processing Toolbox.
  1 个评论
charlie
charlie 2011-7-16
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by