Discussion in 'C' started by Dhaval_nandu2010, Apr 21, 2012.
Can anybody help me to get an algorithm for generating depth map from an image...... Please
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.
Separate names with a comma.