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

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)

yes,sir,may be use for loop to get image list,and use data(:,:,12) to get the 12th slice

Asked:

on 19 May 2022

Answered:

on 20 May 2022

Community Treasure Hunt

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

Start Hunting!