将 3D 点转换为 2D 图像中的点

发布于 2025-01-14 17:38:13 字数 148 浏览 1 评论 0原文

有没有办法将 3D 点转换为与 2D 图像位置相对应的 2D 点?

Python/OpenCV 中是否有一个函数具有以下属性:

输入:3D 点、3D 中的相机位置、相机的方向,也许相机

输出的附加功能:相机 2D 图像上对应的 2D 点?

Is there a way how I could transform 3D points to 2D points corresponding to the positions of a 2D image?

Is there a function in Python/OpenCV that has following properties:

input: 3D points, camera position in 3D, direction of the camera, maybe additional features of the camera

output: corresponding 2D points on the 2D image of the camera?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

日暮斜阳 2025-01-21 17:38:13

你见过cv2.projectPoints方法吗?

Python: cv2.projectPoints(objectPoints, rvec, tvec, cameraMatrix, distCoeffs[, imagePoints[, jacobian[, aspectRatio]]]) → imagePoints, jacobian

该函数在给定内部和外部相机参数的情况下计算 3D 点到图像平面的投影。

更多详情此处

Have you seen cv2.projectPoints method?

Python: cv2.projectPoints(objectPoints, rvec, tvec, cameraMatrix, distCoeffs[, imagePoints[, jacobian[, aspectRatio]]]) → imagePoints, jacobian

The function computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters.

more details here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文