相机矩阵的原理点(编程问题)

发布于 2024-11-19 10:40:27 字数 95 浏览 3 评论 0原文

在 3x3 相机矩阵中,主点的作用是什么?它的位置是如何形成的?我们能想象一下吗? 据了解,主点是光轴与像平面的交点。但为什么它并不总是位于图像的中心呢? 我们使用opencv

In a 3x3 camera matrix what does the principle point do? how its location is formed? can we visualize that?
It is told that the principle point is the intersection of optical axis with the image plane. but why it is not always in the center of image?
we use opencv

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

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

发布评论

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

评论(2

人│生佛魔见 2024-11-26 10:40:27

3x3 相机内在矩阵用于将图像中的坐标映射到物理世界坐标。同样,该矩阵中主点的作用是图像中坐标到物理世界坐标之间“光轴与图像平面的交点”的映射。对于大多数相机来说,理想情况下主点位于图像的中心,但实际情况并非总是如此。由于切向畸变或透镜部件的中心不完美以及其他制造缺陷,主点可能会稍微偏离中心。 3x3 相机内在矩阵试图纠正这种失真。

我发现网站对我学习时有帮助关于相机校准。虽然它是在 MATLAB 中,但它基于 OpenCV 中使用的相同相机校准。

The 3x3 camera intrinsics matrix is used to map between the coordinates in the image to the physical world coordinates. Similarly, the role of the principle point in this matrix is the mapping of "the intersection of optical axis with the image plane", between the coordinates in the image to the physical world coordinates. Ideally the principle point is in the center of the image, for most cameras, but this is not always the case in practice. The principle point may be slightly off center due to tangential distortion or imperfect centering of the lens components and other manufacturing defects. The 3x3 camera intrinsics matrix tries to correct this distortion.

I have found this site to be helpful to me when when learning about camera calibration. Although it is in MATLAB, it is based on the same camera calibration used in OpenCV.

白色秋天 2024-11-26 10:40:27

更有用的是,3x3 相机校准矩阵中的点也可能表示图像裁剪。如果图像已在对象周围裁剪,则将像素坐标映射到单词坐标需要一个平移向量,该向量在矩阵中显示为非中心主点。

The principal point in the 3x3 camera calibration matrix might also, more usefully, represent image cropping. If the image has been cropped around an object, then mapping the pixel coordinates to word coordinates requires a translation vector which appears as a non-centralized principal point in the matrix.

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