How to find 3D coordinates of point in 2D image?

7 views (last 30 days)
I want to find the three dimensional coordinates of 2D image by two camera.So i want to know the geometry which used in Matlab for solving this.

Answers (1)

Florian Morsch
Florian Morsch on 26 Apr 2018
If you want to know the algorithms behind the operations taken you can use
edit YourFunctionYouWantToSee
to look into the calculations.
  2 Comments
Varun Gupta
Varun Gupta on 26 Apr 2018
Thank you for your response.
Actually i applied the algorithm related to focal length, base line and disparity but did not find the exact value and got error in the result.
"edit YourFunctionYouWantToSee" How it works?
Florian Morsch
Florian Morsch on 26 Apr 2018
With edit 'FunctionName' you can look into the code for the function you are inserting. For example with
edit extrinsicsToCameraPose
you can see whats behind the function extrinsicsToCameraPose(). With this you can search the function you want for the maths / geometric calculations you need. With extrinsicsToCameraPose(R, t) you get the orientation and location parameter of your camera, so i think the coding behind the function is what you are looking for.

Sign in to comment.

Categories

Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!