Resize specific dimensions of images

3 vues (au cours des 30 derniers jours)
Mar
Mar le 16 Nov 2018
Modifié(e) : KSSV le 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?

Réponses (1)

KSSV
KSSV le 16 Nov 2018
Modifié(e) : KSSV le 16 Nov 2018
Read about imresize
I = rand(256,256, 36, 99) ;
I = imresize(I,[100,100]) ;

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by