Ask Your Question

ronak.dedhia's profile - activity

2020-12-04 20:57:02 -0600 received badge  Notable Question (source)
2020-03-11 07:33:19 -0600 received badge  Popular Question (source)
2018-11-26 22:28:35 -0600 commented answer How to find rotation angle from homography matrix?

Thankyou..works for me...sorry cant upvote since its showing points should be greater than 5

2018-11-26 22:00:50 -0600 marked best answer How to find rotation angle from homography matrix?

I have 2 images and i am finding simliar key points by SURF. I want to find rotation angle between the two images from homograpohy matrix. Can someone please tell me how to find rotation angle between two images from homography matrix.

 if len(good)>MIN_MATCH_COUNT:
    src_pts = np.float32([ kp1[m.queryIdx].pt for m in good ]).reshape(-1,1,2)
    dst_pts = np.float32([ kp2[m.trainIdx].pt for m in good ]).reshape(-1,1,2)

    M, mask = cv2.findHomography(src_pts, dst_pts, cv2.RANSAC,5.0)

Thank you.

2018-11-26 22:00:50 -0600 received badge  Scholar (source)
2018-11-23 01:53:06 -0600 asked a question How to find rotation angle from homography matrix?

How to find rotation angle from homography matrix? if len(good)>MIN_MATCH_COUNT: src_pts = np.float32([ kp1[m.que