OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Wed, 28 Jun 2017 08:35:21 -0500How to find depth of gray image?http://answers.opencv.org/question/162668/how-to-find-depth-of-gray-image/ Hello ,
I am using calibrated raspberry pi camera. I want to find scaling factor from two image(from monocular camera) taking at t and t+1 time. I have 2 sets of image points(x,y), from this i am calculating rotation and translation using essential matrix(it's 2D-2D transformation).
But now i want to find 3D points(or z- depth of image) from image point, how can i find depth of image?
(For 3D point i have camera matrix, distortion coefficient, transformation between /base_footprint to /base_link and /base_link to /camera is there any requirment for this?)
or how can i find scaling factor from 2D points ?
Thank you in advance!Wed, 28 Jun 2017 06:37:56 -0500http://answers.opencv.org/question/162668/how-to-find-depth-of-gray-image/Comment by Eduardo for <p>Hello ,
I am using calibrated raspberry pi camera. I want to find scaling factor from two image(from monocular camera) taking at t and t+1 time. I have 2 sets of image points(x,y), from this i am calculating rotation and translation using essential matrix(it's 2D-2D transformation).</p>
<p>But now i want to find 3D points(or z- depth of image) from image point, how can i find depth of image?
(For 3D point i have camera matrix, distortion coefficient, transformation between /base_footprint to /base_link and /base_link to /camera is there any requirment for this?)
or how can i find scaling factor from 2D points ?
Thank you in advance!</p>
http://answers.opencv.org/question/162668/how-to-find-depth-of-gray-image/?comment=162684#post-id-162684Look at [structure from motion](http://mi.eng.cam.ac.uk/~cipolla/publications/contributionToEditedBook/2008-SFM-chapters.pdf) topic ([OpenMVG](https://github.com/openMVG/openMVG))?Wed, 28 Jun 2017 08:35:21 -0500http://answers.opencv.org/question/162668/how-to-find-depth-of-gray-image/?comment=162684#post-id-162684