16
$\begingroup$

Is there anyway of segmenting objects based on how far they are from the viewer?

Can color values assess this sort of a thing for us? How will intensity levels help in determining how far the object is from the viewer?

enter image description here

Another image:

enter image description here

$\endgroup$
3
  • 3
    $\begingroup$ This is not segmentation, it's 3D reconstruction. Do you have other images that capture the scene from a different view or under different lighting conditions? $\endgroup$
    – Emre
    Commented Apr 14, 2012 at 23:08
  • $\begingroup$ i have provided another image with a different angle $\endgroup$
    – vini
    Commented Apr 16, 2012 at 11:10
  • $\begingroup$ Now you can follow en.wikipedia.org/wiki/3D_reconstruction_from_multiple_images $\endgroup$
    – Emre
    Commented Apr 16, 2012 at 18:05

2 Answers 2

11
$\begingroup$

This is an extremely difficult task, one which is a very active line of research. I've managed to find a semi-recent paper on the subject entitled " 3-D Depth Reconstruction from a Single Still Image". I won't go into the details, but here's a few things that this paper found that can be used.

  1. Textures: If you see a given texture, they can help you figure out how far something is away. The wood texture here would be quite ideal for this.
  2. Fixed object sizes: Identify common objects, see how large they are, and use them to help with depth analysis. The phone book, soda bottle, etc should work well with this.
  3. Focus: If you know how the picture was take, focus can help you identify ranges.
  4. Shadows- If you know where the light was coming from, shadows can help you identify how tall objects are, and thus how far they are away.
$\endgroup$
4
  • $\begingroup$ Thanks for that reference yup will look into that however what more methods could be considered while approaching this problem $\endgroup$
    – vini
    Commented Apr 11, 2012 at 14:04
  • $\begingroup$ Most 3D techniques are found in research papers could i found codes related to these topics? $\endgroup$
    – vini
    Commented Apr 13, 2012 at 8:09
  • 3
    $\begingroup$ @vini Cornell has a research page with depth estimation from a single image and shares code. $\endgroup$
    – Maurits
    Commented Apr 14, 2012 at 20:53
  • $\begingroup$ Yes i do have that code however which file to run is a problem in it $\endgroup$
    – vini
    Commented Apr 15, 2012 at 12:22
-1
$\begingroup$

See this code from matlab website: "Depth from gradient":

http://www.mathworks.com/matlabcentral/fileexchange/45269-dfgbox

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.