Analyze 7.5 is a file format, developed by the Mayo Clinic, for storing MRI data. An Analyze 7.5 data set consists of two files:
Header file (filename.hdr) — Provides information about dimensions, identification, and processing history. You use the analyze75info function to read the header information.
Image file (filename.img) — Image data, whose data type and ordering are described by the header file. You use analyze75read to read the image data into the MATLAB® workspace.
Note The Analyze 7.5 format uses the same dual-file data set organization and the same filename extensions as the Interfile format; however, the file formats are not interchangeable. To learn how to read data from an Interfile data set, see Interfile Files.
The following example calls the analyze75info function to read the metadata from the Analyze 7.5 header file. The example then passes the info structure returned by analyze75info to the analyze75read function to read the image data from the image file.
info = analyze75info('brainMRI.hdr'); X = analyze75read(info);