Next Article in Journal
Systematic Evaluation of Imaging Features of Early Bladder Cancer Using Computed Tomography Performed before Pathologic Diagnosis
Previous Article in Journal
Impact of the COVID-19 Pandemic on Iron Overload Assessment by MRI in Patients with Hemoglobinopathies: The E-MIOT Network Experience
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

Generating Synthetic Radiological Images with PySynthMRI: An Open-Source Cross-Platform Tool

1
Laboratory of Medical Physics and Magnetic Resonance, IRCCS Stella Maris, 56128 Pisa, Italy
2
Imago 7 Research Foundation, 56128 Pisa, Italy
3
Department of Computer Science, University of Pisa, 56127 Pisa, Italy
4
Department of Diagnostic and Interventional Radiology and Nuclear Medicine, Azienda Ospedaliero-Universitaria Pisana, 56124 Pisa, Italy
5
Italian National Institute of Nuclear Physics (INFN), Section of Pisa, 56127 Pisa, Italy
6
Department of Translational Research and New Technologies in Medicine and Surgery, University of Pisa, 56126 Pisa, Italy
7
Department of Neuroscience, Rehabilitation, Ophthalmology, Genetics, Maternal and Child Sciences (DINOGMI), University of Genoa, 16132 Genoa, Italy
*
Author to whom correspondence should be addressed.
Tomography 2023, 9(5), 1723-1733; https://doi.org/10.3390/tomography9050137
Submission received: 17 August 2023 / Revised: 7 September 2023 / Accepted: 8 September 2023 / Published: 11 September 2023

Abstract

:
Synthetic MR Imaging allows for the reconstruction of different image contrasts from a single acquisition, reducing scan times. Commercial products that implement synthetic MRI are used in research. They rely on vendor-specific acquisitions and do not include the possibility of using custom multiparametric imaging techniques. We introduce PySynthMRI, an open-source tool with a user-friendly interface that uses a set of input images to generate synthetic images with diverse radiological contrasts by varying representative parameters of the desired target sequence, including the echo time, repetition time and inversion time(s). PySynthMRI is written in Python 3.6, and it can be executed under Linux, Windows, or MacOS as a python script or an executable. The tool is free and open source and is developed while taking into consideration the possibility of software customization by the end user. PySynthMRI generates synthetic images by calculating the pixelwise signal intensity as a function of a set of input images (e.g., T1 and T2 maps) and simulated scanner parameters chosen by the user via a graphical interface. The distribution provides a set of default synthetic contrasts, including T1w gradient echo, T2w spin echo, FLAIR and Double Inversion Recovery. The synthetic images can be exported in DICOM or NiFTI format. PySynthMRI allows for the fast synthetization of differently weighted MR images based on quantitative maps. Specialists can use the provided signal models to retrospectively generate contrasts and add custom ones. The modular architecture of the tool can be exploited to add new features without impacting the codebase.

1. Introduction

Magnetic Resonance Imaging (MRI) is a noninvasive modality that allows one to obtain images at a high spatial resolution with a wide range of radiologically meaningful structural soft tissue contrast and functional information. A complete MRI exam typically consists of the acquisition of several sequences, designed to obtain images with different contrasts, which depend on the differences in tissue properties, such as T1 and T2 relaxation times and proton density, and acquisition parameters, such as the times of repetition (TR), echo (TE) and inversion (TI). Each MRI sequence has a typical duration of several minutes and is designed to achieve only one specific tissue contrast. As a consequence, a complete MRI exam involves long acquisition times that can be challenging for children and uncollaborative patients. The recent development of methods for quantitative multiparametric mapping with a single time-efficient acquisition has paved the way for a new imaging approach, known as synthetic MRI, which aims to generate diverse contrast-weighted MR images from a set of tissue parameters [1,2,3,4]. This approach has been used and validated for clinical feasibility, and commercial products implementing synthetic MRI, such as SyMRI (SyntheticMR, Linköping, Sweden), are being used in research and clinical exams [5,6]. These products, however, rely on vendor-specific acquisitions and do not include the possibility of using custom implementations of multiparametric imaging techniques, such as MR Fingerprinting [7], MR-STAT [8], QALAS [9] and Quantitative Transient-state Imaging (QTI [10]). To the best of our knowledge, there is currently no open-source software available to perform synthetic MRI.
This article presents PySynthMRI, an open-source tool that uses a set of input images, such as quantitative maps of T1, T2 and proton density (PD), and allows the user to combine them to produce synthetic contrast-weighted images by varying simulated sequence parameters, such as TE, TR and TI(s). Pre-release versions of PySynthMRI have successfully been used to produce synthetic radiological images in the context of clinical research studies, recently presented in abstract form [11,12].

2. Method

The PySynthMRI tool is written in Python 3.6, an open programming language available in all computing platforms. The tool makes use of the open source numpy and open-cv packages, chosen with the aim of maximizing the efficiency in manipulating image matrices and therefore of making the interaction with the graphical interface fluid for the user. The code is organized in a Model-View-Controller (MVC) pattern [13], and its modularity simplifies the tests and makes it possible to add new features without impacting the codebase. PySynthMRI has been developed in continuous collaboration with technicians and clinicians in order to obtain an easily usable interface, shown in Figure 1. PySynthMRI can be executed under Linux, Windows or MacOS as a python script or an executable. The minimum operating system requirements to run the software are Windows 7, Ubuntu 16.04, Red Hat Linux 6.6 or MacOS 10.11, depending on the system used. PySynthMRI can be executed on standard laptops with no special hardware requirements and is guaranteed to run on 2 GHz CPU and 4 GB RAM without a graphic card.
PyInstaller library has been used to bundle the tool and all its dependencies into a single executable package. PySynthMRI software version 1.0.0 with the source code and documentation is released on GitHub under a free GPL software license and can be accessed at: https://github.com/FiRMLAB-Pisa/pySynthMRI.git (accessed on 10 September 2023).
A scheme of its architecture is shown in Figure 2. The specific features of the tool are described below.

2.1. Synthetic Image Generation

The core functionality of PySynthMRI implements the generation of contrast images.
The tool interface provides a simple way to modify sequence parameters in order to choose values that generate the requested synthetic image, which is immediately shown to the user using the preferred interpolation for best rendering. The image synthesis is performed by calculating, pixel by pixel, the expected signal intensity as a function of a set of input images (for example, quantitative maps of T1, T2 and proton density) and simulated scanner parameters. The generic signal model that takes into account the effects of inversion recovery, T1 and T2 weighting is:
S = a b s P D 1 2 e x p T I / T 1 1 e x p T R / T 1 e x p T E / T 2
PySynthMRI is distributed with a pre-defined set of sample presets for the generation of synthetic T1-weighted gradient-recalled echo (GRE), bias-free T1-weighted MPRAGE [14]/MP2RAGE [15], T2-weighted spin echo (SE), FLuid Attenuated Inversion Recovery (FLAIR) [16], Tissue Border Enhancement [17] and Double Inversion Recovery (DIR) [18]. The sample presets, as well as a sample input dataset consisting of quantitative maps of the T1, T2 and proton density of a healthy subject, are meant as a starting point to help the user get acquainted with the software. However, it is worth highlighting that PySynthMRI is designed to enable the full customization of the signal equations, which can be easily expanded to include additional input data, such as quantitative maps of T2* and magnetic susceptibility.

2.2. Data Formats

PySynthMRI provides complete support for the Digital COmmunications in Medicine standard (DICOM) and Neuroimaging Informatics Technology Initiative standard (NIfTI). Both standards can be used for importing the input data and exporting the synthetic images. Although NIfTI images include an extended header to store, amongst others, DICOM tags and attributes, they usually do not contain all tags requested by DICOM viewers [19]. To overcome this issue, PySynthMRI generates DICOM images using a template containing all necessary tags and automatically updates modified parameters, such as the TR, TE, TI, window scale, and series description. The Nibabel python library was used to handle both DICOM and NIfTI formats.
To achieve the proposed data-agnostic model, PySynthMRI maps the file format internally using an ad hoc Python data loader. The design choice allows developers to easily add new data formats if necessary.

2.3. Configuration File

Signal models can be easily defined using a configuration file formatted as a JavaScript Object Notation (JSON) open standard format. The JSON format supports all data types needed by PySynthMRI, and it provides human readability, which is a key feature for easy access. An example of a configuration file is shown in Figure 3. Signal models of synthetic images are grouped in presets in order to facilitate the use of the appropriate set of signal models and parameters depending on the input dataset (for example, to load appropriate simulated scanning parameters for MR scanners operating at different fields). Each signal model is provided as a JSON object consisting of an equation that represents the actual model and the list of scanner parameters, along with their default values. The Configuration File contains the list of quantitative maps that are accepted by PySynthMRI, and it can be adjusted as desired and modified while using the tool: the updates are immediately applied. A validator checks for errors and inconsistencies each time the file is loaded, helping the user with the correct compilation.

2.4. Graphical Interface Interaction

The interface of PySynthMRI is shown in Figure 1. The user can load the desired number of input images, which can be quantitative maps of T1, T2 and PD, as well as other types of maps (including user-defined binary masks). The files can be uploaded so as to provide a path or using the drag-n-drop feature.
The user can immediately evaluate the synthesized images resulting from simulated scanner parameters, which can be modified using sliders and/or mouse/keyboard interactions. The provided image viewer features include zoom, span and window greyscale regulation, as well as slicing and reformatting in the three orthogonal planes. Custom signal models can be added at runtime or using the Configuration File in order to obtain new synthetic contrasts.

2.5. Batch Synthesization

Although PySynthMRI is mainly intended for a direct graphical usage, one secondary feature is the execution of batch synthesization. The batch synthesization consists of automatically generating multiple contrast images from the provided input data of different subjects. The user selects the contrasts to be generated and provides the path containing the input data of different subjects. The tool sequentially synthesizes all the images without the need to export them individually. Batch synthesization drastically reduces the time required to apply synthetic MRI models to multiple acquisitions once the simulated acquisition parameters have been determined.

2.6. Testing

PySynthMRI has been tested by using input images representing maps of T1, T2 and PD obtained with different methods [10,20,21] on different scanners operating at 1.5T, 3T and 7T.
For demonstration purposes, a neuroradiologist with little programming skills and nine years of research experience used PySynthMRI to generate six types of synthetic images (T1w GRE and MP2RAGE [15]; T2w FSE and FLAIR [16]; TBE [17]; DIR [18]) from a set of input images consisting of maps of T1, T2 and PD obtained on a 3T scanner (MR750, GE Healthcare, Chicago, IL, USA). The input dataset was obtained using a 3D QTI sequence [10,20], consisting of an inversion-prepared steady-state free precession acquisition with spiral k-space sampling achieving the simultaneous quantification of PD, T1 and T2 of the whole head at a 1.1 mm isotropic resolution in 7 min. The user empirically edited the sample equations and the simulated scanning parameters to optimize the desired synthetic contrasts.

3. Results and Discussion

Figure 4 displays six types of synthetic images (T1w GRE and MP2RAGE; T2w FSE and FLAIR; DIR; TBE) obtained with PySynthMRI using maps of T1, T2 and PD of one subject (18-year-old male) as input. To obtain these images, the user empirically edited the sample equations and set the simulated scanning parameters.
  • Synthetic T1-weighted images simulating GRE (Gradient-recalled Echo) were synthesized with the following equation, incorporating the input maps of PD and T1 and setting the simulated acquisition parameter TR:
    S G R E = P D 1 e x p T R / T 1 TR   =   113   ms .
  • Bias-free T1-weighted MPRAGE was synthesized by taking into consideration that B1 bias in QTI is incorporated in the PD map, which can be excluded from the formula, achieving a similar appearance to MP2RAGE uniform imaging [15]:
    S M P 2 R A G E = a b s 1 2 e x p T I / T 1 TI   =   1816   ms
  • Synthetic T2-weighted images simulating a SE (Spin Echo) acquisition were obtained as follows:
    S S E = P D 1 e x p T R / T 1 e x p T E / T 2 TR   =   8000   ms ;   TE   =   80   ms
  • Synthetic T2-FLAIR was obtained with a user-modified formula incorporating a coefficient TSAT, which enables the introduction of T1-weighting, which better mimics the one in conventional imaging:
    S F L A I R = a b s P D e x p T E / T 2 e x p T S A T / T 1 1 2 e x p T I / T 1 TE   =   80   ms ;   TSAT   =   1405   ms ;   TI   =   2075   ms .
  • Synthetic TBE acquisitions were obtained from the generic signal model, with the appropriate parameters TI, TR, TE:
    S T B E = a b s P D 1 2 e x p T I / T 1 1 e x p T R / T 1 e x p T E / T 2 TR   =   5020   ms ;   TE   =   1   ms ;   TI   =   795   ms
  • Double Inversion Recovery (DIR [18,22]) was obtained by including the two times of the inversion TI1 and TI2 in the signal equation, as follows:
    S D I R = a b s P D 1 2 e x p T I 2 / T 1 + 2 e x p T I 1 + T I 2 / T 1 e x p T R / T 1 e x p T E / T 2 TR   =   6670   ms ;   TE   =   80   ms ;   TI 1   =   2208   ms ;   TI 2   =   545   ms
The user was able to obtain the desired synthetic images without any programming skills.
For a qualitative comparison with images obtained with conventional acquisitions, Figure 5 displays three synthetic image contrasts generated with PySynthMRI (T1-w, T2w and T2-FLAIR) using the quantitative maps obtained with one single QTI acquisition (total acquisition time: 7 min) from a 28-year-old female, compared with the images obtained with conventional 3D FSPGR (TR = 8.1 ms; TE = 3.2 ms; TI = 450 ms; spatial resolution = 1 × 1 × 1 mm3; scan duration = 4′11″), 2D FSE (TR = 3636 ms; effective TE = 113.3 ms; resolution = 0.57 × 0.57 × 4 mm3; scan duration = 2′11″) and 3D T2-FLAIR (TR = 7000 ms; effective TE = 113.3 ms; TI = 1945 ms; resolution = 1.16 × 1.16 × 1.2 mm3; scan duration = 5′25″).
The storage size is exactly the same for synthetic and conventional images with the same resolution and coverage.
Synthetic FLAIR image (Figure 5C) fails in fluid suppression and artifacts are visible in the basal ganglia. Those artefacts are not related to PySynthMRI but are instead related to the input maps that were used for testing the software. QTI acquisition is known to provide erroneous relaxation estimates in moving tissue, that is, in particular, in the ventricular cerebrospinal fluid. As previously reported in the literature, the FLAIR artefacts are also caused by partial volume effects at the interface between periventricular tissue and cerebrospinal fluid [23]. One possible way of mitigating the problem of partial voluming is to leverage the software so as to include an additional input map in the signal model (e.g., a water fraction map) that can be produced from the same QTI acquisition used for T1 and T2 mapping. Furthermore, the synthesized FLAIR can be improved using a deep-learning method based on the Generative Adversarial Network [24].
The synthetic images were saved in DICOM and NIfTI formats, suitable for radiological evaluation and storage on conventional PACS as well as for further image processing/analysis using external software. The same presets were applied to a batch of 210 different patients (including patients with neurodegenerative diseases, neurodevelopmental disorders, epilepsy, and brain tumors) in order to provide six radiological contrasts for each patient, resulting in the generation of 210 × 6 = 1260 3D volume images, which were saved in the DICOM format. The processing time was 1.1 s per 3D synthetic image on a Windows machine equipped with an i5-8500 CPU @ 3.0 GHz, 6 cores and 16 GB RAM.
Despite the fact that we tested PySynthMRI on the provided signal models, it is possible to include further input maps, such as B1 field and/or noise models, which may, on the one hand, have limited use in the generation of synthetic images for radiological inspection but may, on the other hand, have a potential use when the software is used for educational purposes.
The development and dissemination of time-efficient quantitative MRI techniques motivate the use of PySynthMRI in clinical research. It allows specialists to easily synthesize, at post-processing time, multiple contrasts for a particular subject. This function can be useful for refining the desired contrasts, as optimal parameters depend on the patient age, region of interest and/or pathology. The synthesization process can be useful in cases where it is desirable to generate contrasts not originally considered at the time of acquisition.
PySynthMRI also shows a high potential in education, as it can be used to show how sequence parameters impact the generation of images with different tissue contrasts.
PySynthMRI complements other types of software whose main purpose is the accurate simulation of the MR signal. In this respect, it is worth referring to simulation tools such as SIMRI [25], JEMRIS [26], MRiLab [27] and others [28,29,30]. These simulators are primarily intended as tools for MRI physicists to support the development of new sequences and the optimization of acquisition parameters. On the contrary, the primary function of PySynthMRI is that of an interactive viewer tailored for radiologists in a clinical research context, and it is aimed at evaluating and producing synthetic contrasts in real time. Its computation time for one entire 3D volume is in the order of 1 s, while for signal simulators, it is in the order of minutes or hours. The MRI community may take advantage of the future development of tools in which both of these complementary aspects (that is, an accurate MRI signal simulation and the production of synthetic images for radiological purposes in a clinical context) are implemented.
The modular architecture allows developers and contributors to easily extend and customize the tool to incorporate additional parameter maps, such as T2* or MT, or different predefined contrast images. Future releases of PySynthMRI will aim to incorporate further capabilities, including an automatic tissue segmentation software module capable of computing and showing probabilistic maps of white matter (WM), gray matter (GM) and cerebrospinal fluid (CSF) using a pre-built lookup table representing the relationship between partial volume tissue composition and provided quantitative maps [31].

Author Contributions

Conceptualization, L.P. and M.C. (Mauro Costagli); Data curation, L.P., P.C. and M.C. (Mirco Cosottini); Funding acquisition, G.B. and M.C. (Mauro Costagli); Investigation, L.P., G.D., P.C. and M.C. (Mauro Costagli); Methodology, M.C. (Matteo Cencini) and M.C. (Mauro Costagli); Project administration, M.T. and M.C. (Mauro Costagli); Resources, M.C. (Mirco Cosottini) and M.T.; Software, L.P., M.C. (Matteo Cencini) and G.B.; Supervision, M.T. and M.C. (Mauro Costagli); Validation, G.D. and M.C. (Mauro Costagli); Visualization, L.P. and G.D.; Writing—original draft, L.P., M.C. (Matteo Cencini) and M.C. (Mauro Costagli); Writing—review & editing, G.D., M.C. (Matteo Cencini), P.C., G.B., M.C. (Mirco Cosottini), M.T. and M.C. (Mauro Costagli). All authors have read and agreed to the published version of the manuscript.

Funding

This study is part of a research project funded by the Italian Ministry of Health (grant n. GR-2016-02361693). This study was also partially supported by grant RC and the 5 × 1000 voluntary contributions to IRCCS Fondazione Stella Maris, funded by the Italian Ministry of Health.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Ethics Committee “Comitato Etico Regionale per la Sperimentazione Clinica della Regione Toscana” (protocol code 50/2018, 16 April 2018 and protocol code 9351, 18 February 2019).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Software and sample data are available at https://github.com/FiRMLAB-Pisa/pySynthMRI.git (access date: 10 September 2023).

Conflicts of Interest

Matteo Cencini and Michela Tosetti received a research grant from GE Healthcare. The other authors (Luca Peretti, Graziella Donatelli, Paolo Cecchi, Guido Buonincontri, Mirco Cosottini, Mauro Costagli) declare no conflict of interest.

References

  1. Hagiwara, A.; Hori, M.; Yokoyama, K.; Takemura, M.Y.; Andica, C.; Tabata, T.; Kamagata, K.; Suzuki, M.; Kumamaru, K.K.; Nakazawa, M.; et al. Synthetic MRI in the Detection of Multiple Sclerosis Plaques. Am. J. Neuroradiol. 2017, 38, 257–263. [Google Scholar] [CrossRef] [PubMed]
  2. Andica, C.; Hagiwara, A.; Hori, M.; Kamagata, K.; Koshino, S.; Maekawa, T.; Suzuki, M.; Fujiwara, H.; Ikeno, M.; Shimizu, T.; et al. Review of synthetic MRI in pediatric brains: Basic principle of MR quantification, its features, clinical applications, and limitations. J. Neuroradiol. 2019, 46, 268–275. [Google Scholar] [CrossRef] [PubMed]
  3. Ji, S.; Yang, D.; Lee, J.; Choi, S.H.; Kim, H.; Kang, K.M. Synthetic MRI: Technologies and Applications in Neuroradiology. J. Magn. Reson. Imaging 2022, 55, 1013–1025. [Google Scholar] [CrossRef] [PubMed]
  4. Blystad, I.; Warntjes, J.B.M.; Smedby, O.; Landtblom, A.-M.; Lundberg, P.; Larsson, E.-M. Synthetic Mri of the Brain in a Clinical Setting. Acta Radiol. 2012, 53, 1158–1163. [Google Scholar] [CrossRef]
  5. Tanenbaum, L.N.; Tsiouris, A.J.; Johnson, A.N.; Naidich, T.P.; DeLano, M.C.; Melhem, E.R.; Quarterman, P.; Parameswaran, S.X.; Shankaranarayanan, A.; Goyen, M.; et al. Synthetic MRI for Clinical Neuroimaging: Results of the Magnetic Resonance Image Compilation (MAGiC) Prospective, Multicenter, Multireader Trial. Am. J. Neuroradiol. 2017, 38, 1103–1110. [Google Scholar] [CrossRef]
  6. Ryu, K.H.; Baek, H.J.; Moon, J.I.; Choi, B.H.; Park, S.E.; Ha, J.Y.; Jeon, K.N.; Bae, K.; Choi, D.S.; Cho, S.B.; et al. Initial clinical experience of synthetic MRI as a routine neuroimaging protocol in daily practice: A single-center study. J. Neuroradiol. 2020, 47, 151–160. [Google Scholar] [CrossRef]
  7. Ma, D.; Gulani, V.; Seiberlich, N.; Liu, K.; Sunshine, J.L.; Duerk, J.L.; Griswold, M.A. Magnetic resonance fingerprinting. Nature 2013, 495, 187–192. [Google Scholar] [CrossRef]
  8. Sbrizzi, A.; van der Heide, O.; Cloos, M.; van der Toorn, A.; Hoogduin, H.; Luijten, P.R.; Berg, C.A.T. van den Fast quantitative MRI as a nonlinear tomography problem. Magn. Reson. Imaging 2018, 46, 56–63. [Google Scholar] [CrossRef]
  9. Kvernby, S.; Warntjes, M.J.B.; Haraldsson, H.; Carlhäll, C.-J.; Engvall, J.; Ebbers, T. Simultaneous three-dimensional myocardial T1 and T2 mapping in one breath hold with 3D-QALAS. J. Cardiovasc. Magn. Reson. 2014, 16, 102. [Google Scholar] [CrossRef]
  10. Gómez, P.A.; Cencini, M.; Golbabaee, M.; Schulte, R.F.; Pirkl, C.; Horvath, I.; Fallo, G.; Peretti, L.; Tosetti, M.; Menze, B.H.; et al. Rapid three-dimensional multiparametric MRI with quantitative transient-state imaging. Sci. Rep. 2020, 10, 13769. [Google Scholar] [CrossRef]
  11. Donatelli, G.; Migaleddu, G.; Cencini, M.; Cecchi, P.; Peretti, L.; D’Amelio, C.; Buonincontri, G.; Tosetti, M.; Cosottini, M.; Costagli, M. Postcontrast 3D MRF-derived synthetic T1-weighted images capture pathological contrast enhancement in brain diseases. In Proceedings of the XIII Annual Meeting of the Italian Association of Magnetic Resonance in Medicine (AIRMM), Pisa, Italy, 23–25 November 2022. [Google Scholar]
  12. Donatelli, G.; Migaleddu, G.; Cencini, M.; Cecchi, P.; Peretti, L.; D’Amelio, C.; Buonincontri, G.; Tosetti, M.; Cosottini, M.; Costagli, M. Pathological contrast enhancement in different brain diseases in synthetic T1-weigthed images derived from 3D quantitative transient-state imaging (QTI). In Proceedings of the Annual Meeting of the International Society of Magnetic Resonance in Medicine (ISMRM), Toronto, ON, Canda, 3–8 June 2023. [Google Scholar]
  13. Krasner, G.E.; Pope, S.T. A description of the model-view-controller user interface paradigm in the smalltalk-80 system. J. Object Oriented Program. 1988, 1, 26–49. [Google Scholar]
  14. Mugler, J.P.; Brookeman, J.R. Three-dimensional magnetization-prepared rapid gradient-echo imaging (3D MP RAGE). Magn. Reson. Med. 1990, 15, 152–157. [Google Scholar] [CrossRef] [PubMed]
  15. Marques, J.P.; Kober, T.; Krueger, G.; van der Zwaag, W.; Van de Moortele, P.-F.; Gruetter, R. MP2RAGE, a self bias-field corrected sequence for improved segmentation and T1-mapping at high field. NeuroImage 2010, 49, 1271–1281. [Google Scholar] [CrossRef] [PubMed]
  16. Hajnal, J.V.; Bryant, D.J.; Kasuboski, L.; Pattany, P.M.; Coene, B.D.; Lewis, P.D.; Pennock, J.M.; Oatridge, A.; Young, I.R.; Bydder, G.M. Use of Fluid Attenuated Inversion Recovery (FLAIR) Pulse Sequences in MRI of the Brain. J. Comput. Assist. Tomogr. 1992, 16, 841–844. [Google Scholar] [CrossRef]
  17. Costagli, M.; Kelley, D.A.C.; Symms, M.R.; Biagi, L.; Stara, R.; Maggioni, E.; Tiberi, G.; Barba, C.; Guerrini, R.; Cosottini, M.; et al. Tissue Border Enhancement by inversion recovery MRI at 7.0 Tesla. Neuroradiology 2014, 56, 517–523. [Google Scholar] [CrossRef]
  18. Saranathan, M.; Worters, P.W.; Rettmann, D.W.; Winegar, B.; Becker, J. Physics for clinicians: Fluid-attenuated inversion recovery (FLAIR) and double inversion recovery (DIR) Imaging: FLAIR and DIR Imaging. J. Magn. Reson. Imaging 2017, 46, 1590–1600. [Google Scholar] [CrossRef] [PubMed]
  19. Mildenberger, P.; Eichelberg, M.; Martin, E. Introduction to the DICOM standard. Eur. Radiol. 2002, 12, 920–927. [Google Scholar] [CrossRef] [PubMed]
  20. Kurzawski, J.W.; Cencini, M.; Peretti, L.; Gómez, P.A.; Schulte, R.F.; Donatelli, G.; Cosottini, M.; Cecchi, P.; Costagli, M.; Retico, A.; et al. Retrospective rigid motion correction of three-dimensional magnetic resonance fingerprinting of the human brain. Magn. Reson. Med. 2020, 84, 2606–2615. [Google Scholar] [CrossRef]
  21. Pirkl, C.M.; Cencini, M.; Kurzawski, J.W.; Waldmannstetter, D.; Li, H.; Sekuboyina, A.; Endt, S.; Peretti, L.; Donatelli, G.; Pasquariello, R.; et al. Learning residual motion correction for fast and robust 3D multiparametric MRI. Med. Image Anal. 2022, 77, 102387. [Google Scholar] [CrossRef]
  22. Redpath, T.W.; Smith, F.W. Use of a double inversion recovery pulse sequence to image selectively grey or white brain matter. Br. J. Radiol. 1994, 67, 1258–1263. [Google Scholar] [CrossRef] [PubMed]
  23. Hagiwara, A.; Warntjes, M.; Hori, M.; Andica, C.; Nakazawa, M.; Kumamaru, K.K.; Abe, O.; Aoki, S. SyMRI of the Brain: Rapid Quantification of Relaxation Rates and Proton Density, With Synthetic MRI, Automatic Brain Segmentation, and Myelin Measurement. Invest. Radiol. 2017, 52, 647–657. [Google Scholar] [CrossRef]
  24. Hagiwara, A.; Otsuka, Y.; Hori, M.; Tachibana, Y.; Yokoyama, K.; Fujita, S.; Andica, C.; Kamagata, K.; Irie, R.; Koshino, S.; et al. Improving the Quality of Synthetic FLAIR Images with Deep Learning Using a Conditional Generative Adversarial Network for Pixel-by-Pixel Image Translation. Am. J. Neuroradiol. 2019, 40, 224–230. [Google Scholar] [CrossRef]
  25. Benoit-Cattin, H.; Collewet, G.; Belaroussi, B.; Saint-Jalmes, H.; Odet, C. The SIMRI project: A versatile and interactive MRI simulator. J. Magn. Reson. 2005, 173, 97–115. [Google Scholar] [CrossRef] [PubMed]
  26. Stöcker, T.; Vahedipour, K.; Pflugfelder, D.; Shah, N.J. High-performance computing MRI simulations. Magn. Reson. Med. 2010, 64, 186–193. [Google Scholar] [CrossRef] [PubMed]
  27. Liu, F.; Velikina, J.V.; Block, W.F.; Kijowski, R.; Samsonov, A.A. Fast Realistic MRI Simulations Based on Generalized Multi-Pool Exchange Tissue Model. IEEE Trans. Med. Imaging 2017, 36, 527–537. [Google Scholar] [CrossRef] [PubMed]
  28. Kwan, R.K.-S.; Evans, A.C.; Pike, G.B. MRI simulation-based evaluation of image-processing and classification methods. IEEE Trans. Med. Imaging 1999, 18, 1085–1097. [Google Scholar] [CrossRef]
  29. Yoder, D.A.; Zhao, Y.; Paschal, C.B.; Fitzpatrick, J.M. MRI simulator with object-specific field map calculations. Magn. Reson. Imaging 2004, 22, 315–328. [Google Scholar] [CrossRef]
  30. Klepaczko, A.; Szczypiński, P.; Dwojakowski, G.; Strzelecki, M.; Materka, A. Computer Simulation of Magnetic Resonance Angiography Imaging: Model Description and Validation. PLoS ONE 2014, 9, e93689. [Google Scholar] [CrossRef]
  31. West, J.; Warntjes, J.B.M.; Lundberg, P. Novel whole brain segmentation and volume estimation using quantitative MRI. Eur. Radiol. 2012, 22, 998–1007. [Google Scholar] [CrossRef]
Figure 1. The graphical interface of PySynthMRI. On the left, the provided scanner parameter. In the middle, the synthesized FLAIR image. On the right, the input quantitative maps.
Figure 1. The graphical interface of PySynthMRI. On the left, the provided scanner parameter. In the middle, the synthesized FLAIR image. On the right, the input quantitative maps.
Tomography 09 00137 g001
Figure 2. PySynthMRI architecture. The architecture follows the Model View Controller design pattern. PySynthMRI supports both DICOM and NIfTI files.
Figure 2. PySynthMRI architecture. The architecture follows the Model View Controller design pattern. PySynthMRI supports both DICOM and NIfTI files.
Tomography 09 00137 g002
Figure 3. Example configuration file of PysynthMRI.
Figure 3. Example configuration file of PysynthMRI.
Tomography 09 00137 g003
Figure 4. Synthetic T1-weighted and T2-weighted contrasts generated with PySynthMRI. On the left, the input quantitative maps; on the right, the synthesized images.
Figure 4. Synthetic T1-weighted and T2-weighted contrasts generated with PySynthMRI. On the left, the input quantitative maps; on the right, the synthesized images.
Tomography 09 00137 g004
Figure 5. Direct qualitative comparison between synthetic images obtained with PySynthMRI from QTI-derived maps (top row) and conventional T1-weighted (A,A’), T2-weighted (B,B’) and T2-FLAIR (C,C’) images of conventional acquisitions (bottom row).
Figure 5. Direct qualitative comparison between synthetic images obtained with PySynthMRI from QTI-derived maps (top row) and conventional T1-weighted (A,A’), T2-weighted (B,B’) and T2-FLAIR (C,C’) images of conventional acquisitions (bottom row).
Tomography 09 00137 g005
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Peretti, L.; Donatelli, G.; Cencini, M.; Cecchi, P.; Buonincontri, G.; Cosottini, M.; Tosetti, M.; Costagli, M. Generating Synthetic Radiological Images with PySynthMRI: An Open-Source Cross-Platform Tool. Tomography 2023, 9, 1723-1733. https://doi.org/10.3390/tomography9050137

AMA Style

Peretti L, Donatelli G, Cencini M, Cecchi P, Buonincontri G, Cosottini M, Tosetti M, Costagli M. Generating Synthetic Radiological Images with PySynthMRI: An Open-Source Cross-Platform Tool. Tomography. 2023; 9(5):1723-1733. https://doi.org/10.3390/tomography9050137

Chicago/Turabian Style

Peretti, Luca, Graziella Donatelli, Matteo Cencini, Paolo Cecchi, Guido Buonincontri, Mirco Cosottini, Michela Tosetti, and Mauro Costagli. 2023. "Generating Synthetic Radiological Images with PySynthMRI: An Open-Source Cross-Platform Tool" Tomography 9, no. 5: 1723-1733. https://doi.org/10.3390/tomography9050137

Article Metrics

Back to TopTop