2D to 3D image conversion

Is it possible to convert a 2D image in to 3D? Can I use VRML tool box to do this task? Is there any other techniques to perform 2D to 3D conversion in Matlab?

1 个评论

Please explain, what the 3D object should be. Do you want to draw a picture on a rectangular PATCH, which is located arbitrarily in 3D space?

请先登录,再进行评论。

回答(2 个)

You can use the cat function:
image3D = cat(3, image2D, image2D, image2D);

2 个评论

If we use "cat", then can you tell me how to print that 3D image on to our screen??
Can we directly use * imshow(image3D) * or else Is their any other command ??

请先登录,再进行评论。

Bharti thakur
Bharti thakur 2019-2-28

0 个投票

Hii I am new to matlab so any help is highly appriciated.
I have 300 2d images from OCT and I want to reconstruct a 3d image using these 2d data. Can anyone help me with a sample code.
Thanks in advance!

Community Treasure Hunt

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

Start Hunting!

Translated by