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 Comment

Jan
Jan on 26 Jul 2011
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?

Sign in to comment.

Answers (2)

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

2 Comments

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 ??

Sign in to comment.

Bharti thakur
Bharti thakur on 28 Feb 2019

0 votes

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!

Asked:

on 26 Jul 2011

Answered:

on 28 Feb 2019

Community Treasure Hunt

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

Start Hunting!