2D image to 3D surface

Hi all,
Anybody ever try to plot 2D image to 3D surface as function of colour intensity ? For example high colour intensity produce higher Z-level.
Thanks before.

Antworten (1)

Walter Roberson
Walter Roberson am 31 Jul. 2012

0 Stimmen

Yes. If the image "IM" is grayscale, then
surf(IM)

Kategorien

Gefragt:

am 31 Jul. 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by