Resize specific dimensions of images

3 Ansichten (letzte 30 Tage)
Mar
Mar am 16 Nov. 2018
Bearbeitet: KSSV am 16 Nov. 2018
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?

Antworten (1)

KSSV
KSSV am 16 Nov. 2018
Bearbeitet: KSSV am 16 Nov. 2018
Read about imresize
I = rand(256,256, 36, 99) ;
I = imresize(I,[100,100]) ;

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by