How to rotate image_1 according to image_2?

1 view (last 30 days)
Ron Nativ
Ron Nativ on 31 Jul 2023
Answered: Matt J on 11 Feb 2024
Hello all,
I have encountered an issue with my experiment's orthophotos that I need help with. Each orthophoto displays a map view of a rectangular table filled with silica paste, and the silica paste changes over time due to artificial rainfall.
During the experiment, I captured multiple photographs and later generated orthophotos of this dynamic 'landscape.' However, at one point in the middle of the experiment, the frame surrounding the silica table was slightly rotated while the silica table itself remained in place. As a result, I now have two consecutive orthophotos that are not aligned with each other (although the surrounding frame is perfectly aligned).
I am seeking a solution for how to rotate orthophoto_2 concerning orthophoto_1 in such a way that the silica tables are aligned.
Your assistance is highly appreciated!
Thanks,
R.

Answers (1)

Matt J
Matt J on 11 Feb 2024
Use imregister or imregtform with a "rigid" transform type.

Community Treasure Hunt

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

Start Hunting!