English 中文(简体)
从两个 2D 点重建一个 3D 点?
原标题:Reconstruction a 3D point from two 2D points?

OpenCV包含许多支持 3D 重建的立体摄像机。 在我的例子中,我有两个摄像头,我想知道 3D 的坐标。

我有:

  1. pixel coordinates of point on both images
  2. Known intrinsic and extrinsic camera parametres

What I want to get: Coordinates this point in 3D

问题回答

我在另一篇文章

我不知道 Opencv 是否有这个构造。 但我知道您可以使用 angle- Side- Agle 的正弦法则, 用点 & gt; camera- gt; 其他相机的内角作为您的参考点, 来构造摄像头的直线距离水平平行线 。

到达距离后,您就可以使用相同的构造来计算垂直定位:当角度从死中心计算到点的上方或下方,以任何摄像头为参照点,与第一步中发现的物体的距离,然后可以使用90度作为您在想象的点(与相机水平相比的天体)与对象之间的角。





相关问题
Python/OpenCV: Converting images taken from capture

I m trying to convert images taken from a capture (webcam) and do some processing on them with OpenCV, but I m having a difficult time.. When trying to convert the image to grayscale, the program ...

How to smooth a histogram?

I want to smooth a histogram. Therefore I tried to smooth the internal matrix of cvHistogram. typedef struct CvHistogram { int type; CvArr* bins; float thresh[CV_MAX_DIM][2]; /* ...

Testing complex datatypes?

What s are some ways of testing complex data types such as video, images, music, etc. I m using TDD and wonder are there alternatives to "gold file" testing for rendering algorithms. I understand that ...

Displaying OpenCV iplimage data structures with wxPython

Here is my current code (language is Python): newFrameImage = cv.QueryFrame(webcam) newFrameImageFile = cv.SaveImage("temp.jpg",newFrameImage) wxImage = wx.Image("temp.jpg", wx.BITMAP_TYPE_ANY)....

What is the memory structure of OpenCV s cvMat?

Imagine I have the following: CvMat* mat = cvCreateMat(3,3,CV_16SC3) This is a 3x3 matrix of integers of channel 3. Now if you look at OpenCV documentation you will find the following as the ...

Face detection and comparison

I m running a small research on face detection and comparison for my article. Currently, I m using rapid face detection based on haar like features based on OpenCV cascade (I ll implement learning ...