# Development of in-house software to process real-time cine magnetic resonance images acquired during 1.5 T MR-guided radiation therapy

**Authors:** Jiwon Sung, Yeonho Choi, Jina Kim, Jun Won Kim, Jihun Kim

PMC · DOI: 10.1038/s41598-025-15107-4 · 2025-08-12

## TL;DR

This paper describes the development of software to convert binary MR images from a radiation therapy system into standard formats for easier analysis.

## Contribution

The novel contribution is an in-house software tool for processing 1.5 T MR-guided radiation therapy images into readable formats with high accuracy.

## Key findings

- The software successfully converted binary 2D cine MR images into metadata/DICOM format.
- Converted images showed over 99.6% accuracy in geometric size and 94.2% accuracy in motion measurements.
- The software can classify images into coronal, sagittal, and axial planes automatically.

## Abstract

This study aimed to develop and publicly release an in-house software package that converts the binary file format of 2D cine magnetic resonance (MR) images acquired through the Treatment Session Manager (TSM) of MOSAIQ on the Elekta Unity (Elekta AB, Stockholm, Sweden) into standard readable data formats. The software was developed using MATLAB (MathWorks, Natick, MA, USA) and includes an automatic image-sorting algorithm to classify the images into coronal, sagittal, and axial planes. To verify the geometric accuracy of the converted images, they were acquired from an MRgRT motion management QA phantom, both with and without motion. For the converted images without motion, the geometric size of the phantom was measured and compared with the known values. For the images acquired with motion, the magnitudes measured using the converted cine MR images were compared with the artificially introduced motions. The results showed that the 2D cine MR images in the binary file format were successfully converted into the metadata/DICOM format and accurately classified into different planes. The accuracies of the geometric size and motion in the converted 2D cine MR images were greater than 99.6% and 94.2%, respectively. This software is expected to be useful for 1.5 T MR-linac users in analyzing internal organ motion during radiation treatment.

The online version contains supplementary material available at 10.1038/s41598-025-15107-4.

## Full-text entities

- **Diseases:** tumor (MESH:D009369), pancreatic adenocarcinoma (MESH:D010190), lung tumors (MESH:D008175), arrhythmia (MESH:D001145), prostate cancer (MESH:D011471)
- **Chemicals:** water (MESH:D014867)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12343943/full.md

---
Source: https://tomesphere.com/paper/PMC12343943