For solving part of my problem I needed to find the transformation matrix between the rotated image and its original so I told myself why not write the post in my blog about this problem. For this post I am going to show you how we can transform rotated image to the original image. Let’s start:
- Rotated image
- Original image
close all clear all %% Input images. original_lena=imread('image2.jpg'); rotated_lena=imread('lena.jpg');
Detect features in both images and match the features: