HOW reshape 4D image array to 2D?

2 vues (au cours des 30 derniers jours)
mohammed mahmoud
mohammed mahmoud le 8 Juil 2018
Commenté : Walter Roberson le 11 Juil 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 commentaires
mohammed mahmoud
mohammed mahmoud le 11 Juil 2018
Walter Roberson
Walter Roberson le 11 Juil 2018
SliceNumber = 8392; %for example
frame = squeeze(YourArray(SliceNumber, :, :, :));
volumeViewer(frame)

Connectez-vous pour commenter.

Réponses (0)

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