storing a folder as mat file

1 view (last 30 days)
Max
Max on 7 Oct 2011
i have around 30 mri scans in .tif format in a folder.i need to store these images in .mat format that folder so that its easy to access the images. please suggest the matlab codes for doing it

Accepted Answer

Andreas Goser
Andreas Goser on 7 Oct 2011
I'd say the following 3 commands do it:
DIR for returning the filename you want to read
IMREAD to read a file at a time
SAVE to save a MAT

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!