1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,012
    Likes Received:
    203
    Trophy Points:
    0
    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