converting cross sectional slides to vertical section in CT scan images
2 views (last 30 days)
Show older comments
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:
0 Comments
Accepted Answer
Matt J
on 20 Apr 2014
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
Matt J
on 20 Apr 2014
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.,
More Answers (0)
See Also
Categories
Find more on Import, Export, and Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!