Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个图像,我想在 python 中获得该图像的齐次变换矩阵。图像。有人可以帮帮我吗?
非常感谢。
平移矩阵(用于平移的变换矩阵)的形式为 -
[[1, 0, 0, tx], [0, 1, 0, ty], [0, 0, 1, tz], [0, 0, 0, 1]]
您可以imutils使用方便实现这些转换的库或参考官方opencv 文档。
imutils
opencv
我希望这有帮助。