Can Matlab transforming a 2D image into a 3D image?
1 view (last 30 days)
Show older comments
LauraMat
on 3 Oct 2016
Commented: Walter Roberson
on 3 Oct 2016
Can Matlab transforming a 2D image into a 3D image?
1 Comment
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.
Accepted Answer
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.
1 Comment
Walter Roberson
on 3 Oct 2016
There are papers about 3d reconstruction from single images. See for example http://link.springer.com/chapter/10.1007%2F978-3-319-02958-0_28
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration 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!