2D image to 3D surface

3 次查看(过去 30 天)
hendra prima
hendra prima 2012-7-31
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.

回答(1 个)

Walter Roberson
Walter Roberson 2012-7-31
Yes. If the image "IM" is grayscale, then
surf(IM)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by