mri_to_ascii, a C code which reads a file containing MRI information in binary format, and writes an equivalent ASCII text file.

Usually, the ASCII data is created so that it can be modified in some way; if it is necessary to convert the modified data back to the MRI format, the ascii_to_mri command can be used.


mri_to_ascii prefix


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


mri_to_ascii is available in a C version.

Related Data and Programs:

ASCII_TO_MRI, a C code which converts translated ASCII text back to binary format.


MRI_TO_PGM, a C code which converts binary MRI information to a sequence of PGM graphics files.

PGH_MRI, a data directory which contains examples of PGH MRI files, a format for storing brain scan data gathered by magnetic resonance imaging;

Source Code:

Last revised on 14 July 2019.