how can i read a stack of images which are in .mat format into my matlab program

3 vues (au cours des 30 derniers jours)
jing huang
jing huang le 19 Juil 2017
Réponse apportée : Harsh le 21 Juil 2017
I put it into my workspace, but it says cannot display summaries of variables with more than 524288 elements.
now i have a small program, i want to use my program to enhancement these 40 MRI images.
I am new to matlab, could you please show me step by step how can i read into these 40 .mat format MRI images into my program. thanks a lot for your help
  1 commentaire
Stephen23
Stephen23 le 19 Juil 2017
How do imagine viewing an array with more than half a million elements will be useful?

Connectez-vous pour commenter.

Réponses (1)

Harsh
Harsh le 21 Juil 2017
Here is a good answer with examples on processing a sequence of files in a loop: https://www.mathworks.com/matlabcentral/answers/57446-faq-how-can-i-process-a-sequence-of-files
The load function would be useful to work with .mat files.
The error 'Cannot display summaries of variables with more than 524288 elements." is expected behavior to limit the spike in memory usage of MATLAB.

Community Treasure Hunt

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

Start Hunting!

Translated by