Detecting garbage homographies from findHomography in OpenCV?

前端 未结 3 1028
自闭症患者
自闭症患者 2020-12-07 19:23

I\'m using findHomography on a list of points and sending the result to warpPerspective.

The problem is that sometimes the result is comple

3条回答
  •  离开以前
    2020-12-07 19:56

    But this depends on the point-correspondences you use to compute the homography... Just think that you are trying to find a transformation that maps lines to lines (from one plane to another), so not any possible configuration of point-correspondences will give you an homography that creates nice images. It is even possible that the homography maps some of the points to the infinity.

提交回复
热议问题