Depth Map

Discussion in 'C' started by Dhaval_nandu2010, Apr 21, 2012.

  1. Dhaval_nandu2010

    Dhaval_nandu2010 New Member

    Joined:
    Sep 10, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    India
    Can anybody help me to get an algorithm for generating depth map from an image...... Please
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    One way is to assign specific colours (or greyscale values) to specific depths. For example red=1, orange=2, yellow=3, green=4, blue=5. It's a bit trickier if a looping sequence means a continued slope, e.g. if ROYGBROYGB means a slope from 1 to 10, but you'll know if that's the case from the nature of the project.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice