Gulzar
Gulzar

Reputation: 27946

how to do image registration of affinically/projective different images

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:

  1. Matlab

  2. Python (opencv?)

  3. Others

Upvotes: 0

Views: 329

Answers (1)

alexander-liu7
alexander-liu7

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

Related Questions