计算图像旋转时相对于原点的点位置

发布于 2025-01-20 11:20:13 字数 316 浏览 1 评论 0原文

我在这里有一个机器人臂,上面附有相机。相机固定在手臂上,并在手臂旋转 /位置拍照。 我使用openCV检测图像中的某些点,需要将检测到的坐标转换回机器人臂的坐标系。 (越过它们) 我正在努力弄清楚如何改变我的观点(所有给定的信息都是:我的臂坐标系统的起源,图像中的手臂位置和点位置) 这是(希望)解释我要实现的目标:

​。 但是,应该通过将坐标转换为角度+长度,减去X并将其转换回它们来实现这一点。

I have a robot-arm here with a camera attached. The camera is fixed to the arm and takes photos in the arms rotation / position.
I use opencv to detect certain points within the image and need to translate my detected coordinates back to the coordinate system of my robot-arm. (To move over them)
I'm struggling to figure out how to transform my points (all the given information is: Origin of my arms coordinate system, arm position and point position inside the image)
Here is an image (hopefully) explaining what I want to achieve:

Robo Arm Image

In Addition I need to subtract X units from my arms length, since the pickup tool is on the tip of the arm and the camera before it.
This however should be possible by transforming the coordinates to angle+length, subtracting X and transforming them back.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文