ascii_to_mri, a C code which reads a file containing MRI information in ASCII text format, and restores it to its original binary format.

Usually, the ASCII data was created by the program mri_to_ascii, after which it may have been modified in some way, and now needs to be rewritten into the MRI format.


ascii_to_mri prefix


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


ascii_to_mri is available in a C version.

Related Data and Programs:


mri_to_ascii, a C code which converts binary MRI information to ASCII text 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 24 December 2010.