align one set of 2d points with another using only translation and rotation

后端 未结 3 580
灰色年华
灰色年华 2021-02-14 03:49

I\'m working in OpenCV but I don\'t think there is a function for this. I can find a function for finding affine transformations, but affine transformations include scaling, and

3条回答
  •  别跟我提以往
    2021-02-14 04:19

    The way I would do it in Excel is to make a couple columns representing the points. Cells representing rotation/translation of a set (no need to rotate and translate both of them). Then columns representing those same points rotated/translated.
    Then another column for the distance between the points of the rotated/translated points.
    Then a cell of the sum of the distances between points. Finally, use Solver to optimize the rotation and translation cells.

提交回复
热议问题