Resize specific dimensions of images

1 次查看(过去 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 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by