Depth Map
|
Newbie Member
|
|
| 21Apr2012,11:18 | #1 |
|
Can anybody help me to get an algorithm for generating depth map from an image...... Please
|
|
Mentor
|
![]() |
| 23Apr2012,21:14 | #2 |
|
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.
|

