# Revision history [back]

### Determining perspective transform between two images

I have transformed an image by using affine transform by using the function getAffineTransform() by manually passing 3 points for each image. (i.e. I know the affine transform)

Now, I would like to obtain a homogenous matrix of the transform. How is it possible ? The reason, I am doing it is that I am trying to determine the false positives by extracting the features using SURF and matching using FLANN based Matcher . So, if I can get the homogenous transform between the two images, I can just compare the output of warpperspective on original keypoints and the matched keypoints.

### Determining How to Determine perspective transform between two images

I have transformed an image by using affine transform by using the function getAffineTransform() by manually passing 3 points for each image. (i.e. I know the affine transform)

Now, I would like to obtain a homogenous matrix of the transform. How is it possible ? The reason, I am doing it is that I am trying to determine the false positives by extracting the features using SURF and matching using FLANN based Matcher . So, if I can get the homogenous transform between the two images, I can just compare the output of warpperspective on original keypoints and the matched keypoints. 3 retagged sturkmen 6772 ●3 ●48 ●79 https://github.com/stu...

### How to Determine perspective transform between two images

I have transformed an image by using affine transform by using the function getAffineTransform() by manually passing 3 points for each image. (i.e. I know the affine transform)

Now, I would like to obtain a homogenous matrix of the transform. How is it possible ? The reason, I am doing it is that I am trying to determine the false positives by extracting the features using SURF and matching using FLANN based Matcher . So, if I can get the homogenous transform between the two images, I can just compare the output of warpperspective on original keypoints and the matched keypoints.