Borrar filtros
Borrar filtros

HOW reshape 4D image array to 2D?

3 visualizaciones (últimos 30 días)
mohammed mahmoud
mohammed mahmoud el 8 de Jul. de 2018
Comentada: Walter Roberson el 11 de Jul. de 2018
I'm having some trouble reshaping a 4D array to a 2D array. Currently the array is follows, (14965, 16, 32, 256). Where 14965 is number of images. I want to save every 2D array in image formate.
  10 comentarios
Walter Roberson
Walter Roberson el 11 de Jul. de 2018
SliceNumber = 8392; %for example
frame = squeeze(YourArray(SliceNumber, :, :, :));
volumeViewer(frame)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Images 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