Where code meets discovery: Open-source software unlocking accessible MRI

30 Sep 2026
Magnetic fields of the coils causing the distortions
30 Sep 2026

This article is the third in a series profiling the software, developers and research teams contributing to UCT's growing research software ecosystem in the lead-up to International Research Software Engineering Day on 8 October 2026. We feature a specialized research software framework designed to enhance the effectiveness of low-field MRI scanners, that aims to provide a more affordable and accessible alternative through open-source innovation.

The UCT Research Software* Programme was launched earlier this year by the Deputy Vice-Chancellor for Research and Internationalisation, Professor Thokozani Majozi. This university-wide initiative aims to showcase the digital tools that underpin modern research, strengthen the ecosystem in which it is developed, and celebrate its creators. In the lead-up to International Research Software Engineering Day on 8 October 2026, UCT eResearch is profiling a selection of locally developed research software and the individuals and teams behind it. These stories highlight the innovation, collaboration and impact of research software at UCT, whether it is enabling new discoveries or addressing real-world challenges.

* Definition: Research Software includes source code files, algorithms, scripts, computational workflows and executables that were created during the research process or for a research purpose.

Up to 70% of medical diagnoses benefit from imaging, yet more than two thirds of the world’s population lack access to essential diagnostic imaging services. One reason is that advanced imaging technologies such as magnetic resonance imaging (MRI) remain prohibitively expensive and technically demanding to deploy.  

MRI is an incredibly versatile medical imaging modality, but standard high-field MRI scanners carry upfront costs of R30-50 million, as well as strict site infrastructure requirements, making such technology inaccessible in low-resource settings. More affordable low-field MRI scanners that cost closer to R1 million may lessen the economic barrier, but instead introduce reduced signal quality and image artefacts.  

In an effort to address this, Liam Truter’s Master’s research is bridging engineering, physics and computer science to build accessible software to support low-cost MRI research and development. A University of Cape Town postgraduate student, Truter is co-developing Low-Field Imaging Simulation and Analysis (LISA) – a specialized research software framework that is designed to optimise and enhance the effectiveness of low-field MRI scanners. This initiative aims to provide a more affordable and accessible alternative through open-source innovation.  

Development of LISA began in July 2025 within the Medical Imaging Research Group in UCT's Biomedical Engineering Division (Faculty of Health Sciences). Truter, who is supervised by Prof. Ernesta M. Meintjes and Dr Stephen Jermy, is also collaborating with team members at the Leiden University Medical Centre (LUMC).

The software bridges multiple disciplines to simulate hardware performance and evaluate strategies for improving image quality for diagnostic use. LISA can characterise scanner hardware, run simulations, quantify image quality, and support artefact correction and distortion analysis, helping researchers optimise image quality. Together, these capabilities help researchers optimise low-field MRI systems and the pulse sequences used to operate them. 

Progression of image quality

Progression of image quality from: 1. Ideal subject; 2. Basic acquisition; 3. Advanced acquisition; 4. Advanced acquisition and reconstruction

Crucially, while existing reconstruction tools often rely on cloud computing – raising data privacy concerns when handling sensitive patient data – LISA is built to run directly on local computers used to operate the scanner. "There is a tool for reconstructing images... But it's fairly limited, and it primarily uses cloud compute. And that's obviously got some privacy concerns when you're handling sensitive medical information. I wanted something that can be run from pretty much any computer that you're using to take the scan,” Truter said.

Having programmed in Python from a young age through personal projects, Truter studied mechatronics and then in his fourth year took an elective: Introduction to Medical Imaging. “When I decided to do a Masters, I reached out to the staff who ran the course and discovered they were building an MRI machine. I was obviously on board with that!” he said. As he transitions to a PhD, Truter plans to expand LISA into a comprehensive framework for hardware characterisation, optimal scanner programming and end-to-end simulation.

Currently in early alpha development, LISA will eventually be released under an open-source license, allowing researchers across the globe to inspect, adapt and build upon the codebase. Although still in its early stages, Truter believes the framework has significant potential to support improved diagnostic imaging in underserved regions.

Beyond high-level research, LISA also aims to play a vital role in building local technical capacity and enhancing student education at UCT. Historically, students learned complex MRI physics without practical tools to test theoretical concepts. LISA intends to speed up research and hardware development. Testing new hardware configurations experimentally can require repeated MRI scans, which are time-consuming and resource-intensive. By allowing researchers to simulate these configurations digitally, the software will dramatically accelerate research iterations.

"High-field MRI machines are extremely expensive and heavily scheduled, so there's quite a lot of students that don't really have anything to play around with to let the concept stick," Truter said. LISA also seeks to provide an accessible simulation platform where students can interactively program sequences and visualise image formation.

“People use all this complex software that runs these complex machines and they don't always understand exactly how it works. They are also interested in the hardware because we used open-source designs and tools that other people have developed,” he said.

 

Magnetic fields of the coils causing the distortions

Magnetic fields of the coils causing the distortions

In December 2024, the South African Low-Field MRI Consortium (SoLow) constructed an open-source scanner at UCT based on the OSI2 One design. Truter’s software directly supports this research hardware. The open-source repository contained both a novel coil design and a standard reference design. Using LISA, the team was able to simulate and compare their performance isolated from other effects. The results suggested that the novel design could produce images that were more faithful to the object being scanned.

Truter presented findings from an early version of LISA at the International Society for Magnetic Resonance in Medicine (ISMRM) conference in May 2026. He shared that the designer of the coil came up to him and expressed surprise that they actually built the hardware. “He said he just put it on the internet and forgot about it… he wasn't expecting anyone to actually build it because of how crazy it is!” Truter recalled. “But my simulations show that the baseline performance of the coil is improved, so images acquired using a standard pulse sequence will look more true to form than the standard design offers.”

Through open-source software engineering, this research software innovation is helping ensure that UCT remains at the forefront of global efforts to make life-saving medical diagnostic tools accessible to all.

 

Low-Field Imaging Simulation and Analysis (LISA) 
Developed by Liam Truter.
Funded by the National Research Foundation (NRF) and U.S. National Institutes of Health (NIH). Findings are those of the grant holder and do not necessarily represent the official views of either the NRF or the NIH. 
Supervised by Prof. Ernesta M. Meintjes and Dr Stephen Jermy.
Collaboration with Leiden University Medical Centre (LUMC). 

Contact: Liam Truter, Biomedical Engineering Division, Faculty of Health Sciences, University of Cape Town — TRTLIA002@myuct.ac.za.