Display same slice across all 3d images in the same folder

1 view (last 30 days)
I have 15 3D images (size: 96x96x24) in a folder. I want to display the same slice from all images (for example: I want to show only the 12th slice out of the 24 slices). How do I do that? Thank you.

Answers (1)

yanqi liu
yanqi liu on 20 May 2022
yes,sir,may be use for loop to get image list,and use data(:,:,12) to get the 12th slice

Community Treasure Hunt

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

Start Hunting!

Translated by