필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Amira Youssef
Amira Youssef 2022년 9월 15일
답변: KSSV 2022년 9월 15일
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 Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by