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

1 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by