How to correctly use cv::triangulatePoints()

后端 未结 5 2109
清歌不尽
清歌不尽 2020-11-29 20:45

I am trying to triangulate some points with OpenCV and I found this cv::triangulatePoints() function. The problem is that there is almost no documentation or ex

5条回答
  •  迷失自我
    2020-11-29 21:20

    A small addition to @Ander Biguri's answer. You should get your image points on a non-undistorted image, and invoke undistortPoints() on the cam0pnts and cam1pnts, because cv::triangulatePoints expects the 2D points in normalized coordinates (independent from the camera) and cam0 and cam1 should be only [R|t^T] matricies you do not need to multiple it with A.

提交回复
热议问题