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

3 views (last 30 days)
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

Answers (1)

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

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!