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.

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 7 月 31 日

0 投票

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

カテゴリ

質問済み:

2012 年 7 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by