Calculate a Homography with only Translation, Rotation and Scale in Opencv

前端 未结 2 660
感动是毒
感动是毒 2021-02-06 06:30

I do have two sets of points and I want to find the best transformation between them. In OpenCV, you have the following function:

Mat H = Calib3d.findHomography         


        
2条回答
  •  梦如初夏
    2021-02-06 07:01

    OpenCV estimateRigidTransform function is exactly what you need: it returns Translation, Rotation and Scale (use false value for fullAffine flag). And it DOES use RANSAC (see source code to be sure of it).

提交回复
热议问题