Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Depth Map (http://www.go4expert.com/forums/depth-map-t28242/)

Dhaval_nandu2010 21Apr2012 11:18

Depth Map
Can anybody help me to get an algorithm for generating depth map from an image...... Please

xpi0t0s 23Apr2012 21:14

Re: Depth Map
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.

All times are GMT +5.5. The time now is 03:54.