1 | initial version |
you need to find the translation and rotation matrices. First apply a keypoints feature detector (surf, sift, etc...), extract the descriptors, match the descriptors, extract homography (i.e. translation and rotation matrices) and then apply warpPerspective or remap functionality as @thdrksdfthmn said in his answer.
2 | No.2 Revision |
you need to find the translation and rotation matrices. First apply a keypoints feature detector (surf, sift, etc...), extract the descriptors, match the descriptors, descriptors (or you can avoid this if you use predefined points, with known coordinate points), extract homography (i.e. translation and rotation matrices) and then apply warpPerspective or remap functionality as @thdrksdfthmn said in his answer.
3 | No.3 Revision |
you need to find the translation and rotation matrices. First apply a keypoints feature detector (surf, sift, etc...), extract the descriptors, match the descriptors (or you can avoid this if you use predefined points, with known coordinate points, you will need minimum 4 points), extract homography (i.e. translation and rotation matrices) and then apply warpPerspective or remap functionality as @thdrksdfthmn said in his answer.