MATLAB: Stacking multiple 2D images to form 3D image.

3d plotsforming 3d box using multiple 2d imagesMATLAB

I have 100 ct images in .ima files. I want those 100 images to form a 3D box and view it in 3D.
I am using MATLAB R2010a. Do I have to install any special toolboxes to process that 3D image?

Best Answer

You can do all of this with core MATLAB.
Here is an example of reconstruction of a wooden dowel and visualization.
You will be using 3-d matrices
T(:,:,1) = m %Pronounced Matrix T, all rows, all columns, layer one equals m
The slice.m command will also be useful. You might be interested in sliceomatic also.