2D image to 3D surface

3 visualizaciones (últimos 30 días)
hendra prima
hendra prima el 31 de Jul. de 2012
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 31 de Jul. de 2012
Yes. If the image "IM" is grayscale, then
surf(IM)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by