Resize specific dimensions of images

1 visualización (últimos 30 días)
Mar
Mar el 16 de Nov. de 2018
Editada: KSSV el 16 de Nov. de 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?

Respuestas (1)

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

Categorías

Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by