MATLAB Answers

How to put 2D image in 3D space

15 views (last 30 days)
zongxian
zongxian on 30 Apr 2020
Commented: zongxian on 30 Apr 2020
I can plot some images one by one
im1 = image(rand(100,100)*100)
colormap('prism')
im2 = image(rand(100,100)*100)
colormap('prism')
im3 = image(rand(100,100)*100)
colormap('prism')
Now I need put them in 3D-space, such as, when x=0.1 put im1 in (y,z)-plane, when x=0.2 put im2 in (y,z)-plane, when x=0.3 put im3 in (y,z)-plane, an so on.
and I want to keep the colors same as original image.
Is there any suggestions on this?

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!