Can Matlab transforming a 2D image into a 3D image?

2 views (last 30 days)
Can Matlab transforming a 2D image into a 3D image?
  1 Comment
Walter Roberson
Walter Roberson on 3 Oct 2016
Only if additional information about the scene is available. For example there are routines to work with stereo pairs of images.

Sign in to comment.

Accepted Answer

Adrian Stannard
Adrian Stannard on 3 Oct 2016
For an image to be 3D in the sense of how our eyes perceive the world, then there needs to be a pair of 2D images that are offset by the average human IPD (Distance between pupils, which on average is 64mm). This results in a disparity between the two that each eye must see separately (as is done in virtual and augmented reality) that our brain then converges into depth perception. If you have just one single 2D image, then there is no disparity information to generate a 3D image. If you had knowledge available about the size of objects in the image, and location of at least one of them, you may be able to generate a 3D representation through triangulation of the object space - in effect performing the reverse of a 3D stereo-depth measurement, identifying each unique object and keystoning/distorting to induce the appropriate parallax for each eye, however this is computationally very demanding, and I've yet to see an adequate demonstration of such a method.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!