Image registration by translation in x and y alone

7 visualizzazioni (ultimi 30 giorni)
Holmbrero
Holmbrero il 19 Nov 2020
Commentato: Holmbrero il 19 Nov 2020
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 Commento
Holmbrero
Holmbrero il 19 Nov 2020
Nevermind,
I think imregcorr(moving,fixed,'translation') does the job!
Regards,
Anders Holmberg

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by