OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Sun, 29 Mar 2015 15:46:59 -05003D coordinates of two points in room and angle between themhttp://answers.opencv.org/question/58641/3d-coordinates-of-two-points-in-room-and-angle-between-them/ I have a room with 4 cameras. Each camera is in an upper corner in this room. (non-parallel stereo!)<br>
I will have different points which can be detected with these cameras. Let's assume there are only two.<br>
Now my question is as follow:<br>
How can I calibrate all **4 cameras** so I can determine real world coordinates of each point?<br>
After I will find out where the points are (X1/Y1/Z1) and (X2/Y2/Z2) I will be able to determine the angle between them but this is not the problem part.<br>
<br>
My assumtion is this like:<br>
- I thought to calibrate each pair of cams (i.e. 1 <-> 2 <-> 3 <-> 4 <-> 1)
- with stereoCalibrate I would get rvec, tvec and then the fundamental matrix
- I thought to simply use the chessboard which would be seen with every camera at the same time
- after getting rvec, tvec, F I could reproject a 2D Point from every image (cam-1, cam-2 a.s.o.) and I could verify if every single reprojection is the same in 3D
<br>
It will be very helpful for me to know if my idea to solve my problem is correct and where are the aspects which can be done more easier and more correct.
P.S.: I have done homography for just 2D and with Z=0 but the problem here is more complex for me.x4k3pSun, 29 Mar 2015 15:46:59 -0500http://answers.opencv.org/question/58641/