Resize specific dimensions of images

조회 수: 3 (최근 30일)
Mar
Mar 2018년 11월 16일
편집: KSSV 2018년 11월 16일
Hi,
I have 4D images with dimensions Data=[256,256, 36, 99]. I would like to downscale only the x- and y-dimension of this dataset (keeping the other two fix), i.e. Data = [128,128,36,99]. Can anyone help with that?

답변 (1개)

KSSV
KSSV 2018년 11월 16일
편집: KSSV 2018년 11월 16일
Read about imresize
I = rand(256,256, 36, 99) ;
I = imresize(I,[100,100]) ;

카테고리

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