Is there any method to get the depth of the object from an image
2 次查看(过去 30 天)
显示 更早的评论
I an image where in i have a window, can i get the dimensions or the depth of the window from this image.
0 个评论
回答(1 个)
Image Analyst
2013-11-19
Depends on what kind of image it is. If it's a depth image, yes. You can get these kinds of images from profilometers or stereo cameras. See the first two submissions here: http://www.mathworks.com/matlabcentral/fileexchange/index?term=authorid%3A29180
If it's just a flat 2D image, then no. That image of the moon could be a real telescopic image or it could be a photo of a poster on your wall. In the first case the depth of the crater could be 100 meters, but in the case of a poster, it might be 30 micrometers. You can't tell just from the image alone.
2 个评论
Image Analyst
2013-11-19
You can get depth from shading if you have multiple images. See http://iris.usc.edu/Vision-Notes/bibliography/contentsshapefrom.html#3-D%20Shape%20from%20X%20--%20Shading,%20Textures,%20Lasers,%20Structured%20Light,%20Focus,%20Line%20Drawings
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!