Image registration by translation in x and y alone

7 views (last 30 days)
Hi!
Is there a good way of registering images by only considering the x and y translation?
The registration does not need to be perfect as i only want to use the x and y translation from the transformation matrix to simplify things later in the program.
In the current code, i use SURF to detect and match features which gives me a transformation matrix which also includes shearing, scaling and rotation. This however seems to have an effect on the values of x and y translation as when i use those to values alone to match the before and after image, they are a bit off.
I have provided the before and after images.
Any suggestions?
Regards,
Anders Holmberg
  1 Comment
Holmbrero
Holmbrero on 19 Nov 2020
Nevermind,
I think imregcorr(moving,fixed,'translation') does the job!
Regards,
Anders Holmberg

Sign in to comment.

Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!