mri_to_pgm_test, a C code which calls mri_to_pgm(), which reads a file containing MRI information in binary format, and writes a sequence of PGM graphics files corresponding to successive XY planes of data.
The information on this web page is distributed under the MIT license.
mri_to_pgm, a C code which converts the binary data in a magnetic resonance imaging (MRI) file to a sequence of Portable Gray Map (PGM) image files.
ROI is a set of MRI data, which comes as separate header and data files.