Feature Detection: WarpPerspective not ok for low res images

asked 2019-09-20 02:19:10 -0500

I am using WarpPerspective using a matrix obtained from FindHomography to cut out and warp a section of an observed image.

The result is good when the observed image has a high res (1920x1080) but incorrect when using low res (640x360): the cut out image is too big.

I am using KAZE to find keypoints, and BFMatcher.knnMatch to find matches, which I filter and give to FindHomography to get the warp matrix.

What is causing this and how could I fix the low res warp? Any parameters I should look at ?

edit retag flag offensive close merge delete

Comments

How can we help you if we can't see your code nor images?

Witek gravatar imageWitek ( 2019-09-20 03:27:33 -0500 )edit