I want to change the size of a patch of .mat files from 40x40x40 to 64x64x64

2 次查看(过去 30 天)
I have 600 .mat files that represent images and their size is 40x40x40 I am working on vnet which only accepts multiples of 8 I want to change the size to 64x64x64.
I am attaching an example of the files here. please help

回答(1 个)

KSSV
KSSV 2022-9-15
Read about imresize3.
I1 = imresize3(I,[64 64 64]) ; % I is your 40x40x40 image

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by