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

4 visualizaciones (últimos 30 días)
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

Respuestas (1)

Harsh
Harsh el 21 de Jul. de 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.

Categorías

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