Reputation: 27946
I have 2 images.
Image 1 - just an image. Image 2 - an (approximately) affine transformation of image 1.
What is the best way to do affine image registration for those 2 images, meaning finding the affine transformation matrix between them?
What is the best way to do projective image registration for those 2 images, meaning finding the projective transformation matrix between them?
If it matters, the images are both aerial photographs, taken at intervals of 50 to 2000 milliseconds.
If you recommend some off the shelf code, my priorities are:
Matlab
Python (opencv?)
Others
Upvotes: 0
Views: 329
Reputation: 201
You can get the matrix with the help of OPENCV
(python)
M, mask = cv2.findHomography(src_pts, dst_pts, cv2.RANSAC,5.0)
M
is the transformation matrix between them.
Upvotes: 1