Image reconstruction is an essential part of the magnetic resonance imaging process, and a whole field of research is dedicated to the development of reconstruction algorithms. For this reason, scanner manufacturers provide researchers with programming frameworks that give full control over the whole procedure. The drawback is that these environments are complex, and the code is non-portable and covered by non-disclosure agreements. In this article, a simplified framework based on a free scripting language (Lua) is presented. It is oriented to the development of postprocessing algorithms that are seamlessly integrated with the pipeline of a commercial scanner. The structure privileges simplicity over performance, to be quickly learned and used by researchers and students who might not be acquainted with low-level programming languages. Common postprocessing algorithms (contrast modulation, pixelwise fitting, phase-contrast imaging) could be implemented with 100 logical lines of code or less, using a syntax that is similar to the Matlab programming language. The average performance of the reconstruction was lower with respect to the native implementation, but superior to offline postprocessing on a desktop computer, without the bottleneck of offline data export.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.