converting cross sectional slides to vertical section in CT scan images

I have 76 2D cross sectional slices of CT scan images. I want to generate a vertical section by those slices.
Can somebody please give me an idea or tip about how to do it?
a sample of CT slices:
a sample of what I'm looking for:

 Accepted Answer

Instead of having 76 separate image matrices, you should hold all the slices in an MxNxP array. If A is this array, then you can extract slices along whatever axis you want by indexing
A(:,:,i); %axial
A(:,i,:); %sagittal/coronal
A(i,:,:); %coronal/sagittal
You can also use griddedInterpolant() to interpolate oblique slices.

1 Comment

If the 76 images came from DICOM, you can import to a MATLAB 3D volume using one of several tools on the File Exchange, e.g.,

Sign in to comment.

More Answers (0)

Categories

Tags

Asked:

on 20 Apr 2014

Commented:

on 20 Apr 2014

Community Treasure Hunt

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

Start Hunting!