2D image to 3D surface

4 views (last 30 days)
hendra prima
hendra prima on 31 Jul 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.

Answers (1)

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

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!