generate a 2D images into 3D plot

Hallo, I am a new user for Matlab and i really need your help. please. I am trying to generate a 2D images into 3D plot, can anyone help me please.

4 个评论

What images?
a bending steel plate, a curved surface, basically an image that shows the difference high of a surface, can you help me..?
Atach the image and your expectations.

请先登录,再进行评论。

回答(1 个)

Hello you are looking for the surf function. https://www.mathworks.com/help/matlab/ref/surf.html
image=imread('path/to/image')
surf(image)
Hope this helps
RC

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by