A deep learning approach for synthetic MRI based on two routine sequences and training with synthetic data
Abstract
Producción Científica
Full text
Computer Methods and Programs in Biomedicine 210 (2021) 106371 Contents lists available at ScienceDirect Computer Methods and Programs in Biomedicine journal homepage: www.elsevier.com/locate/cmpb A deep learning approach for synthetic MRI based on two routine sequences and training with synthetic data Elisa Moya-Sáez ∗, Óscar Peña-Nogales , Rodrigo de Luis-García , Carlos Alberola-López Laboratorio de Procesado de Imagen, Universidad de Valladolid, Valladolid, Spain a r t i c l e i n f o Article history: Received 10 March 2021 Accepted 18 August 2021 Keywords: Parametric Maps Quantitative MRI Synthetic MRI Deep learning a b s t r a c t Background and Objective: Synthetic magnetic resonance imaging (MRI) is a low cost procedure that serves as a bridge between qualitative and quantitative MRI. However, the proposed methods require very specific sequences or private protocols which have scarcely found integration in clinical scanners. We propose a learning-based approach to compute T1, T2, and PD parametric maps from only a pair of T1- and T2-weighted images customarily acquired in the clinical routine. Methods: Our approach is based on a convolutional neural network (CNN) trained with synthetic data; specifically, a synthetic dataset with 120 volumes was constructed from the anatomical brain model of the BrainWeb tool and served as the training set. The CNN learns an end-to-end mapping function to transform the input T1- and T2-weighted images to their underlying T1, T2, and PD parametric maps. Then, conventional weighted images unseen by the network are analytically synthesized from the parametric maps. The network can be fine tuned with a small database of actual weighted images and maps for better performance. Results: This approach is able to accurately compute parametric maps from synthetic brain data achieving normalized squared error values predominantly below 1%. It also yields realistic parametric maps from actual MR brain acquisitions with T1, T2, and PD values in the range of the literature and with correlation values above 0.95 compared to the T1 and T2 maps obtained from relaxometry sequences. Further, the synthesized weighted images are visually realistic; the mean square error values are always below 9% and the structural similarity index is usually above 0.90. Network fine tuning with actual maps improves performance, while training exclusively with a small database of actual maps shows a performance degradation. Conclusions: These results show that our approach is able to provide realistic parametric maps and weighted images out of a CNN that (a) is trained with a synthetic dataset and (b) needs only two inputs, which are in turn obtained from a common full-brain acquisition that takes less than 8 min of scan time. Although a fine tuning with actual maps improves performance, synthetic data is crucial to reach acceptable performance levels. Hence, we show the utility of our approach for both quantitative MRI in clinical viable times and for the synthesis of additional weighted images to those actually acquired. ©2021 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ ) 1. Introduction Magnetic resonance imaging (MRI) is widely used in the clinical routine due to its capability of providing meaningful anatomical and functional information. Images are obtained by applying a Abbreviations: CNN, convolutional neural network; T1, spin-lattice relaxation time; T2, spin-spin relaxation time; PD, proton density. ∗Corresponding author. E-mail address: [email protected]el.uva.es (E. Moya-Sáez). URL: http://www.lpi.tel.uva.es (E. Moya-Sáez) pulse sequence with a selection of parameters; their combination gives rise to a specific weighting of the tissue magnetic properties, which, in turn, produce an image with an associated contrast. Hereinafter, each of the different contrasts is referred as an image modality. An MRI scan protocol consists of a number of sequences that provide different image modalities, which are intended to provide complementary information for diagnosis [1] . These so-called weighted images are of a qualitative nature and are routinely used by radiologists for diagnosis. Quantitative MRI, on the other side, consists in finding the tissue magnetic properties themselves (the so-called T1, T2, and PD maps, which are jointly https://doi.org/10.1016/j.cmpb.2021.106371 0169-2607/© 2021 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ )
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 referred to as parametric maps). These parametric maps are more robust than weighted images due to their lower sensitivity to MRI hardware and sequence configurations [2] . In addition, the dependence of these maps with biophysical tissue properties plays an important role in tissue characterization in healthy and diseased stages, for pathologies such as epilepsy [3] or multiple sclerosis [4] , and for tumor detection [5] . Although, as indicated above, radiologists are not used to performing diagnosis solely on the basis of T1, T2, and PD parametric maps [6] , quantitative MRI is gaining popularity [7] . Synthetic MRI has recently entered the field and it somehow serves as a bridge between qualitative and quantitative MRI [8] . It has been conventionally defined as a three-step procedure [9] where 1) a set of weighted images are acquired, 2) quantitative parametric maps are computed from them and 3) any weighted image can be synthesized using the equations that describe MR intensity as a function of sequence parameters and parametric maps. Thus, this low-cost procedure could retrospectively enhance patient throughput and facilitate radiologists routine. In this paper we propose a novel method for synthetic MRI in which step 2 of the procedure described above is based on deep learning. Its main novelty stems from the fact that the proposed training is performed mainly on the basis of synthetic data. The inputs to our method are two conventional sequences customarily used in any brain acquisition protocol (step 1). A number of weighted images unseen by the network can be then satisfactorily obtained out of the parametric maps we provide (step 3). Thus, the proposed method is not limited to a number of predefined weighted images that have entered the learning process, but is able to generalize to any image modality. 2. Related work 2.1. Quantitative MRI: classical relaxometry techniques In the classical methods to obtain parametric maps —steps 1) and 2) of synthetic MRI— a set of weighted images with different sequence parameters is customarily acquired; from these images, the map is computed by voxelwise fitting a known relaxation model. These techniques are termed as relaxometry. In order to perform this fitting, different estimation-based procedures have been proposed [10–12] . Also, approaches that perform the fitting by deep learning have been recently developed [13] . However, the acquisitions needed to obtain a sufficiently large set of weighted images are time consuming, a fact that limits their utility in clinical routine. In addition, most of the proposed methods only provide information of a single parameter at a time [12–14] , so additional sequences are needed to obtain the three parametric maps. To overcome these limitations, MR fingerprinting (MRF) [15] is able to estimate parametric maps within a short scan time. However, the specific spiral acquisition needed has rarely found integration into clinical scan protocols [16] . 2.2. Medical image translation Various deep learning approaches have been proposed that learn the mapping between different pairs of images [17–19] , a procedure that we will refer to as medical image translation. These approaches share the same objective as step 3) of synthetic MRI, although their input is a set of weighted images as opposed to parametric maps. Hence, they are not flexible as to which modalities can be generated, since most of them are tailored for a specific application where, given some input image modalities, new predefined image modalities are synthesized. For example, in [18] the authors synthesize T1-weighted images from T2-weighted images (hereinafter, T1w and T2w). These methodologies limit themselves to the image modalities used in the learning stage since the potential of parametric maps to synthesize any weighted image is not employed. This design choice may be the consequence of the nonexistence of large datasets that contain both weighted images and the corresponding parametric maps due to their long acquisition times. At first glance, this would be mandatory since deep learning model training requires extensive datasets [20] . 2.3. Synthetic MRI methods Different methods that fit the conventional three-step definition of synthetic MRI [9] have been proposed. Gulani et al. [21] proposed an steady-state precession (IR-TrueFISP) sequence in which a series of different IR time-delayed TrueFISP images are acquired to quantify the parametric maps. Then T1w, T2w, PD-weighted (PDw), and T2w fluid attenuated inversion recovery (T2w FLAIR) images were synthesized from these maps. Warntjes et al. [22] proposed a multiecho acquisition of a saturation-recovery turbo spinecho readout (QRAPMASTER) 1 for the quantification of T1, T2, PD, and B1 inhomogeneity parametric maps. After quantification, T1w, T2w, and T2w FLAIR images were synthesized [24] . Finally, Cheng et al. [25] suggested a multipathway multiecho (MPME) sequence using an unbalanced steady-state sequence with two different flip angles and resolution scans to quantify T1, T2, T2 ∗, B1 inhomogeneity, and B0 inhomogeneity parametric maps. Then, the authors showed the synthesis of T1w, T2w, PDw, T2w FLAIR, and magnetization prepared rapid gradient echo (MPRAGE) images using a neural network. Nevertheless, this latter method suffers from noise amplification due to the multiple processing steps which leads to somewhat noisy maps and synthesized images. It is important to note, however, that all of these methods require very specific sequences or private protocols scarcely available in clinical scanners. Also, these quantitative sequences are focused on obtaining the parametric maps, but they are not valuable by themselves for diagnosis purposes in the clinical routine. 2.4. Our contributions In this work we propose a joint synthetic MRI approach for the computation of the T1, T2, and PD parametric maps and the synthesis of different weighted images from two common clinical routine sequences, through a convolutional neural network (CNN). Our main contributions are summarized as follows: •A novel three-from-two approach for the computation of T1, T2, and PD parametric maps from only a pair of weighted images, namely a T1w and a T2w. The mapping between the weighted images and the parametric maps is carried out by means of a CNN. The T1w and T2w input sequences are customarily used in the clinical routine. •A new training strategy based on a synthetic dataset generated from the BrainWeb anatomical brain model is proposed. This way, we overcome the need of large datasets with quantitative parametric maps. •Realistic parametric maps with values in the range of the literature for 3T scanners are computed from actual MR brain acquisitions. These achieve high correlation values compared to parametric maps obtained from relaxometry sequences, hereinafter referred to as silver standard . •The synthesis of multiple realistic weighted images from these computed parametric maps both for modalities previously seen 1 QRAPMASTER is nowadays referred to as a multidynamic multiecho (MDME) sequence [23] . 2
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 Fig. 1. Pipeline of the proposed training and validation approaches. a) Synthetic dataset generation used for training and testing of the supervised convolutional neural network (CNN). b) Validation of the CNN with actual MR brain acquisitions. by the network and for other modalities not used in the learning stage. Quantitative and qualitative comparisons between the synthesized and the acquired weighted images are provided. •The performance of our approach to synthesize additional image modalities with different sequence parameters (i.e., TE, TR, TI) is compared with other state-of-the-art methods. 3. Methods In this manuscript we propose a joint synthetic MRI approach for the computation of the T1, T2, and PD parametric maps and the synthesis of different weighted images from only a pair of inputs, namely a T1w and a T2w. To this end, we adapt the CNN proposed by Chartsias et al. [17] and train it with a synthetic dataset where the T1w and the T2w images were synthesized from their corresponding parametric maps. The proposed dataset generation, neural network training, and validation procedures are shown in Fig. 1 . 3.1. Sequences Any weighted MR image can be analytically synthesized if the parametric maps needed to feed the pulse sequence are known. For simple cases, this synthesis can be performed using the wellknown equations that describe MR intensity as a function of sequence parameters, such as echo time (TE), repetition time (TR), inversion time (TI) and flip angle ( α), in relation to the involved parametric maps. In more complicated cases, more sophisticated methods are needed [26] . In this manuscript, based on the T1, T2, and PD maps, we synthesise weighted images corresponding to the sequences magnetization prepared rapid gradient echo (MPRAGE), spin echo (SE), gradient echo (GRE), and inversion recovery spin echo (IR-SE), with respective Eqs. (1) –(4) : m MPRAGE (x ) = P D (x ) 1 −2 e −T I /T 1 (x ) + e −T R /T 1 (x ) 1 + cos (α) e −T R /T 1 (x ) sin (α) e −T E /T 2 (x ) (1) m SE (x ) = P D (x ) 1 −2 e −(T R −T E / 2) /T 1 (x ) +e −T R /T 1 (x ) e −T E /T 2 (x ) (2) m GRE (x ) = P D (x ) 1 −e −T R /T 1 (x ) 1 −cos (α) e −T R /T 1 (x ) sin (α) e −T E /T 2 (x ) (3) Table 1 Ranges of the T1, T2, and PD values for each of the three considered tissues in the anatomical brain model (WM: white matter, GM: grey matter, and CSF: cerebrospinal fluid) for the generation of 120 synthetic brain volumes. The specific value for each parameter in each tissue and volume is selected from a uniform distribution within these ranges. T1 and T2 values are given in seconds. T1 (s) T2 (s) PD WM 0.80–1.10 0.055–0.075 0.65–0.72 GM 1.40–1.60 0.075–0.120 0.77–0.82 CSF 4.50–4.80 1.200–1.600 1.20–1.30 m IR-SE (x ) = P D (x ) 1 −2 e −T I /T 1 (x ) + 2 e −(T R −T E / 2) /T 1 (x ) −e −T R /T 1 (x ) e −T E /T 2 (x ) (4) with x the voxel location defined on some domain X . Equations (1) and (2) are employed for the generation of the synthetic dataset used for training and testing the CNN. On the other hand, the four of them are employed for the validation of the proposed approach with actual MR brain acquisitions. 3.2. Proposed approach 3.2.1. Synthetic dataset generation We create a synthetic dataset with 120 brain volumes starting from the anatomical model of a normal brain obtained with Brain- Web [27] . The pipeline to create the synthetic dataset is described in the next four steps (see Fig. 1 a). First, we created 120 different sets of T1, T2, and PD maps from the BrainWeb anatomical model by giving uniformly distributed random values to the white matter (WM), grey matter (GM), and cerebrospinal fluid (CSF) of each map, one value for each label. The exact ranges of T1, T2, and PD values defined for each parameter in each tissue are shown in Table 1 . Note that these ranges are within those reported in the literature for 3T MR scanners [28] . Also, additive Gaussian noise was added to each volume with distribution N (μ= 0 , σ= 0 . 01) . 3
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 Table 2 Parameters of the acquisitions in Brain MRI and Quantitative Brain MRI protocols. The parameters are the echo time (TE), the repetition time (TR), the inversion time (TI), the flip angle (alpha), the echo train length (ETL), the SENSE acceleration factor (SENSE), the number of signal averages (NSA), the number of slices (and its orientation), the slice thickness, the in-plane resolution, the field-of-view (FOV), and the approximate acquisition scan time. Brain MRI Quantitative Brain MRI T1w(MPRAGE) T2 ∗w(GRE) T2w FLAIR(IR-TSE) PDw/T2w(TSE) T1(VFA GRE) T2(multiecho TSE) PD(GRE) TE (ms) 3 20 100 30/85 2 17, 46, 75, 104, 133, 162 2 TR (ms) 6.44 746.99 11000 4000 18 1000 50 TI (ms) 900 - 2800 - - - - α( ◦) 10 20 - - 2, 3, 4, 5, 7, 9, 11, 14, 17, 19, 22 - 5 ETL 192 1 12 10 1 30 1 SENSE 1.8/1/1.2 2 2 2 2 2 2 NSA 1 1 1 1 1 1 1 # Slices 170 27 27 50 150 150 150 (sagittal) (axial) (axial) (axial) (axial) (axial) (axial) Thickness (mm) 1.2 5 5 3 1.5 1.5 1.5 Resolution (mm 2 ) 1.25 ×1.25 0.94 ×1.25 0.94 ×1.25 1.02 ×1.36 1.50 ×1.50 1.50 ×1.50 1.50 ×1.50 FOV (mm) 240 ×240 240 ×240 240 ×240 260 ×195 240 ×240 240 ×240 240 ×240 Scan time (min) ∼4:00 2:30 - 4:00 2:30 - 4:30 2:30 - 4:30 ∼17:00 ∼18:00 4:00 - 4:30 Second, in order to introduce spatial variability across brain volumes (i.e., brains with different anatomical features), the maps were affine-registered to the PD25 atlas [29] using the FLIRT tool of FSL (Oxford, UK) [30] . Then, each set of maps was non-linearly registered to one out of the 120 different T1w volumes selected from the PPMI database (www.ppmi-info.org), with the FNIRT tool of FSL as described in [31] . The size of each of these maps is of 240 ×176 with 256 slices. Subsequently, all sets of parametric maps were skull-stripped. Third, for each set of skull-stripped T1, T2, and PD maps, a pair of weighted images was analytically synthesized. A T1w image was synthesized as a MPRAGE acquisition ( Eq. (1) ) with TE = 3 ms, TR = 6.44 ms, TI = 900 ms, and α= 10 ◦. A T2w image was synthesized as a SE acquisition ( Eq. (2) ) with TE = 85 ms and TR = 40 0 0 ms. These particular sequences and parameter sets were chosen to match the actual MR brain acquisitions described in Table 2 . Note that the weighted images have the same dimensions as the parametric maps (i.e., 240 ×176 with 256 slices). Finally, we normalized the T1w and T2w images by dividing each of them by its average intensity without considering the background. This facilitates convergence of the CNN during training without altering image properties due to their qualitative nature. 3.2.2. The network Network training with the synthetic dataset . The aforementioned synthetic dataset was used to train an adapted version of the CNN described in [17] ; our adaptation pursued to perform an end-to- end mapping function to transform the input T1w and T2w images to their corresponding set of T1, T2, and PD parametric maps (see Fig. 1 a). Specifically, the weighted images were input to two encoders which embed these inputs into multi-channel latent spaces with the same image size as the inputs. Note that the CNN processes the inputs as 2D slices. The number of channels used is 16. Then, the latent representations of the input are fused into a single 16-channel representation using a maximum pixelwise function between each pair of corresponding channels. This fused latent representation is next input to three decoders to obtain the three desired parametric maps. Supervised training was carried out using the cost function proposed in [17] . This cost function minimizes 1) the mean absolute error (MAE) between the groundtruth parametric maps and the output’s decoders (i.e. the synthesized parametric maps), and 2) the mean pixelwise variance between latent representations. The model was trained through a mini-batch approach with a batch size of 8 images using Adam optimizer [32] with a learning rate of 1 ×10 −5 . We performed the training with early stopping to avoid overfitting. From the 120 brain volumes of the synthetic dataset with a set of three parametric maps and two weighted images each, we used 70 for training (17920 slices), 36 for the early-stopping monitoring (9216 slices), and 14 for test (3584 slices). The adapted CNN is coded in Python with Keras. We run the code using the TensorFlow backend on a single NVidia GeForce GTX 1070. The total learning took about 10 h of computation time. Note that once the CNN has been trained, the network computation time reduces to a few seconds. Network testing with the synthetic dataset . We evaluated the proper parametric mapping of the network through the 14 brain volumes of the synthetic dataset remaining for testing. In addition to visual evaluation, we carried out a quantitative analysis in the parametric maps domain due to the existence of the corresponding ground-truth. The comparison between the computed and the ground-truth T1, T2, and PD parametric maps was performed with the normalized squared error (NSE) map computed as NSE (x ) = ( MAP c (x ) −MAP GT (x )) 2 MAP 2 GT ( x ) ×100% , (5) where MAP is one of the T1, T2, or PD maps, c stands for computed and GT for ground-truth . Similarly, they are also compared with the scalar metrics described later in Section 3.3 . 3.2.3. Validation with actual MR acquisitions MRI acquisitions. The real data used in these experiments have the approval of the institutional review board (IRB) and the eight subjects involved —suspected of early Alzheimer disease— signed the informed written consent; the Brain MRI protocol that follows was acquired with a 32-channel head coil on a 3T scanner (Achieva, Philips, Best, The Netherlands). Local B0 and B1 shimming were used in order to correct for field inhomogeneities. Each study was composed of four sequences and a total of five image modalities. These sequences are: 1) 3D MPRAGE sequence to obtain T1w images; 2) GRE sequence to obtain T2 ∗w images; 3) IRTSE sequence to obtain T2w FLAIR images; 4) turbo spin echo (TSE) multi echo sequence to obtain PDw and T2w images. Additionally, for validation purposes in the same MRI unit and with the same corrections, we also scanned five healthy volunteers with IRB approval and informed written consent. For these volunteers, we performed the Quantitative Brain MRI protocol with previous 1) and 4) sequences to input the CNN, sequence 3) only for registration purposes, and the following set of relaxometry sequences: 5) The T1 map was retrieved using a variable flip angle (VFA) of a 3D GRE sequence with 11 different flip angles. Then, NOVIFAST algorithm [12] was employed for the T1 estimation; 6) The T2 map was measured using a 3D multi echo sequence with six different TEs and a least squares estimation procedure; 7) The 4
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 PD map was obtained using a 3D GRE. We name the maps that result from 5), 6) and 7) silver standard, since they are affected by common artifacts as well as by physiological motion due to the length of the sequences. The parameters of each of previous sequences are given in Table 2 . Data preprocessing . We preprocessed the actual MR brain volumes in order to register all the image modalities to the same image space and to adapt them to the network input layer. All image modalities were affine-registered to the T2w FLAIR using FLIRT (Oxford, UK) [30] . After registration, the size of each image modality is of 256 ×256 with 27 slices with voxel size of 0.94 ×1.25 ×5 mm as shown in Table 2 . Note that this registration step is only necessary for training and validation purposes, because in production mode —once the network is fully trained— the only requirement is to have the input images with spatial alignment. All images were then skull-stripped. Subsequently, all images were cropped to 240 ×176 pixels which is the dimension of the network’s input layer. We normalized the weighted images by dividing each of them by its average intensity without considering the background. This normalization was done in accordance with the preprocessing steps of the CNN training data. In addition, the relaxometry PD maps were normalized so that their 99th percentiles matched the maximum of the PD map from the synthetic training dataset. Finally, the 14 central slices of each actual MR brain volume were then selected to avoid slices with predominant background areas and/or very prone to artifacts. Validation . We validated the performance of the proposed approach to compute parametric maps and to synthesize different weighted image modalities when actual T1w and T2w images are input to the network following the pipeline in Fig. 1 b). Synthesis quality has been assessed both on the maps directly provided by the network output as well as on the synthesized weighted images. Quality parameters have been defined both at region of interest (ROI) level and at whole image level. Precise definitions for these parameters are provided in the next section. 3.3. Quantitative parameters for quality assessment We drew nine circular ROIs in each subject of the Brain MRI protocol co-localized across the different parametric maps and weighted images enumerated in Fig. 1 b). From the nine ROIs, three were located in the CSF (approximately 3 mm of radius), three in the white matter (approximately 3 mm of radius), and three in the grey matter (approximately 2 mm of radius). Let X k i (n ) denote the set of voxels 2 belonging to ROI i, 1 ≤i ≤3 from tissue k, 1 ≤k ≤3 (say, 1 for CSF, 2 for GM, and 3 for WM) and subject n, 1 ≤n ≤8 . As for the parametric maps provided by the network from Brain MRI , we define the following two parameters μk = 1 8 n =1 3 i =1 |X k i (n ) | 8 n =1 3 i =1 x ∈X k i (n ) MAP n c (x ) (6) s k = 1 8 n =1 3 i =1 |X k i (n ) | 8 n =1 3 i =1 x ∈X k i (n ) MAP n c (x ) −μk 2 (7) with MAP n c (x ) a computed parametric map evaluated at point x and | ·| denotes the cardinality of a set. For the particular case of the subjects that underwent the Quantitative Brain MRI protocol, we drew 12 circular ROIs in each tissue co-localized across the different parametric maps and 2 ROIs have been delineated in 2D, so the third component ∀ x ∈ X k i (n ) coincides. weighted images. For its parametric maps we define: μk i (n ) L = 1 |X k i (n ) | x ∈X k i (n ) MAP n L (x ) (8) with MAP n L (x ) a parametric map of the n th healthy subject evaluated at point x and L is a label that takes the values c for the MAP computed by the network and Silver for the silver standard relaxometry maps; k follows the same convention as in Eqs. (6) and (7) , 1 ≤i ≤12 , and 1 ≤n ≤5 . As for the weighted images of Brain MRI , we define: μk i (n ) = 1 |X k i (n ) | x ∈X k i (n ) m n (x ) (9) s k i (n ) = 1 |X k i (n ) | x ∈X k i (n ) m n (x ) −μk i (n ) 2 (10) s (n ) = 1 9 3 i =1 3 k =1 s k i (n ) (11) with m n (x ) an image (either computed or acquired) of the n th subject evaluated at point x . Then, the following samples (per tissue k, 1 ≤k ≤3 ) are created: 1. Intensity values μk i (n ) , 1 ≤i ≤3 , 1 ≤n ≤8 . 2. Contrast: c k ij (n ) = μk i (n ) −μk j (n ) μk i ( n ) + μk j (n ) , (12) 1 ≤i, j ≤3 , i = j, 1 ≤n ≤8 . 3. Contrast-to-noise ratio (CNR): CNR k ij (n ) = μk i (n ) −μk j (n ) s ( n ) , (13) 1 ≤i, j ≤3 , i = j, 1 ≤n ≤8 . 4. Signal-to-noise ratio (SNR): SNR k i (n ) = μk i (n ) s (n ) , (14) 1 ≤i ≤3 , 1 ≤n ≤8 . In addition, in each subject of Brain MRI we also drew a rectangular ROI measuring approximately 70.50 mm ×33.75 mm, which was chosen to encompass the occipital region of the brain. The number of pixels of this rectangular ROI was of 2025. At a whole image level, we used four well-known metrics commonly used in medical image translation methods. These metrics are the mean squared error (MSE), the structural similarity index (SSIM), the peak signal-to-noise ratio (PSNR), and the correlation coefficient (CORR) defined as follows: m n = 1 |X | x ∈X m n (x ) c m n 1 m n 2 = 1 |X | x ∈X m n 1 (x ) −m n 1 m n 2 (x ) −m n 2 MSE (n ) = 1 |X | x ∈X ( m n c (x ) −m n s (x ) ) 2 (15) PSNR (n ) = 10 log 10 max x ∈X ( m n c (x ) ) 2 MSE (n ) (16) CORR (n ) = c m n c m n s c m n c m n c c m n s m n s (17) 5
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 SSIM (n ) = (2 m n c m n s + C 1 )(2 c m n c m n s + C 2 ) m n c 2 + m n s 2 + C 1 c m n c m n c + c m n s m n s + C 2 (18) with m n c (x ) and m n s (x ) the computed and acquired images, respectively, for the n th subject of Brain MRI , 1 ≤n ≤8 , evaluated at point x ; voxels take on values within domain X . Unless otherwise stated, this domain will consist of the brain area. These four metrics have also been used with parametric maps for performance assessment on synthetic data. 3.4. Experiments Network verification with synthetic images as inputs has been accomplished by visual assessment as well as with the NSE map defined in Eq. (5) . In addition, the parameters defined in Eqs. (15) – (18) have also been employed. As for the network validation with real images, all the parameters defined in the previous section have been employed, and assessment has been carried out both directly on the network outputs (i.e., on the parametric maps) as well as on the synthesized weighted images. For the former, we have employed the silver standard maps from the five subjects involved in the Quantitative Brain MRI protocol. For the latter, and as indicated in Fig. 1 b), we analytically synthesized the same weighted images acquired in the Brain MRI protocol with the same sequence parameters as those described in Table 2 . The equations used for each sequence are Eqs. (1) –(4) for the synthesis of T1w, PDw/T2w, T2 ∗w, and T2w FLAIR, respectively. In addition, we synthesized additional weighted images with the same sequences as in the Brain MRI protocol, but varying the sequence parameters (i.e. TE, TR, TI). These sequences are SE ( Eq. (2) ) with TE in the range of 20 to 100 ms and TR of 120 and 40 0 0 ms, and IR-SE ( Eq. (4) ) with three different combinations of TE, TR, and TI. We do not have the corresponding acquired weighted images as ground-truth due to scan time restrictions, but we pursue to investigate the versatility of our approach to synthesize any weighted image with coherent contrast. We have also tested how the network deals with non skullstripped images, a fact that is indicated to be an issue in [17] . To this end, non skull-stripped T1w and T2w images were input to the CNN. In this case, normalization was done by dividing each of them by the skull-stripped images average intensity in accordance with the synthetic dataset generation and network training. From the parametric maps with skull computed by the CNN, we then analytically synthesized the same weighted images acquired in the Brain MRI protocol. Finally, we propose a network refinement by performing additional training with a small number of real weighted images and their corresponding silver standard parametric maps obtained with the Quantitative Brain MRI protocol. We have carried out a cross validation procedure; specifically, we tested with 5 −tsubjects, where 2 ≤t ≤4 , and the remaining tsubjects have been divided into training and early-stopping monitoring datasets; cross validation stems from the fact that we have 5 t combinations of testing datasets for each t; each combination will be hereinafter referred to as a split. Note that the case t = 4 corresponds to a leave-one-out scheme. Within this scheme, we have carried out two experiments: (i) the CNN previously trained with the synthetic dataset is fined tuned with the parametric maps and (ii) the CNN is trained from scratch making use exclusively of the parametric maps of the Quantitative Brain MRI protocol (i.e., no synthetic data are shown to the CNN). Maps from experiment (i) will be referred to as MAP c-(i) while maps from experiment (ii) will be denoted by MAP c-(ii) . Fig. 2. A representative axial slice of the T1, T2, and PD maps computed from a test brain volume of the synthetic dataset. a) T1w and T2w images input to the network. b–d) Computed, ground-truth, and normalized squared error (NSE) maps from the same slice for the T1, T2, and PD parameter maps, respectively. The T1 and T2 values are given in miliseconds (ms). Main differences between the computed and the ground-truth maps appear in the boundary of the brain, although the NSE is predominantly below 1 % on the three computed T1, T2, and PD maps. 3.5. Statistical analysis The parameters defined in Eqs. (15) –(18) when applicable, are shown as averages (and sample standard deviation) along the 14 synthetic volumes used for testing or the 8 subjects used for system validation; these parameters are calculated within a 3D domain of the 14 central slices (where largest brain areas are found). As for parameters defined in Eqs. (8) , (9) , (12) –(14) we have measured the Pearson correlation coefficient and the intra-class correlation coefficient ICC(2,1) [33] . As for the former, we run a correlation test based on the Fisher transformation to test the hypothesis that the correlation coefficient is less than or equal to a predefined value; a p −v alue = P < 0 . 05 was considered significant so as to reject the hypothesis. We have also analyzed Eqs. (12) – (14) using linear regression. Additionally, for the rectangular ROI drawn in the synthesized and acquired weighted images we have computed the Pearson correlation coefficient and performed an F- test for linear regression. Finally, we carry out a Bland-Altman plot analysis of a representative slice per subject where pixel values were normalized so that a value of ”1.0” represented the signal strength of WM for each particular weighted image as in [25] . 4. Results 4.1. Network testing with the synthetic dataset Figure 2 shows a representative axial slice of the T1, T2, and PD maps computed from one of the test brain volumes of the synthetic dataset together with their corresponding NSE maps. Main differences between the computed and ground-truth maps appear in the boundary of the brain and in the tissue interfaces to a lower extent. Nevertheless, the NSE is predominantly below 1% on the three computed T1, T2, and PD maps. Further, the mean evalua- 6
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 Fig. 3. A representative axial slice of T1, T2, and PD maps computed from a subject of the Quantitative Brain MRI protocol. a) Computed T1, T2, and PD parametric maps. b) Their corresponding silver standard relaxometry maps. c) Correlation of parameter μk i (n ) L ( Eq. 8 ) between the computed and the silver standard relaxometry maps for the five healthy subjects. T1 and T2 values are given in miliseconds (ms). The markers indicate the mean values of WM (yellow diamonds), GM (red stars), and CSF (blue circles). Diagonal lines represent the identity. Table 3 Metrics (mean ±std) used to evaluate the performance of the CNN to compute each set of T1, T2, and PD maps from each pair of T1w and T2w images of the test brain volumes of the synthetic dataset. These metrics are the mean squared error (MSE), structural similarity error index (SSIM), peak signal-to-noise ratio (PSNR), and correlation coefficient (CORR). The metrics were calculated between the computed parametric maps and the groundtruth T1, T2, and PD maps. Note that for the calculation of the metrics the background voxels were not considered. T1 map T2 map PD map MSE 0.0072 0.0013 0.0004 (0.0044) (0.0010) (0.0002) SSIM 0.9932 0.9933 0.9912 (0.0016) (0.0044) (0.0033) PSNR 36.1274 33.8001 37.2614 (2.2800) (2.5282) (1.5868) CORR 0.9983 0.9975 0.9990 (0.0007) (0.0007) (0.0004) tion metrics obtained in the synthetic data testing of all 14 test brain volumes show good agreement between the computed and the ground-truth maps as can be seen in Table 3 . The SSIM is always above 0.99 and the MSE below 1%. 4.2. Validation with actual MR acquisitions Table 8 shows the parameters defined in Eqs. (6) and (7) for the T1, T2, and PD parametric maps obtained from all the ROIs within a tissue along all the subjects of the Brain MRI protocol. The values obtained in this work are mostly within the range of the values previously reported in the literature for a 3T scanner. As for the particular case of the PD maps, the GM/WM ratio is close to the ratio reported in the literature (1.22 vs. 1.10, respectively). In addition, Fig. 3 shows a representative axial slice of the T1, T2, and PD maps computed from a subject of the Quantitative Brain MRI protocol and their corresponding silver standard relaxometry maps. The computed parametric maps are visually realistic and capture most of the structural information without computational errors. Note that no outliers appear in the CSF of the T1 map. The correlation diagrams include the values of parameter μk i (n ) L ( Eq. (8) ) for the five subjects of the Quantitative Brain MRI protocol. There is high correlation between the computed and the silver standard relaxometry maps, namely 0.9616, 0.9703, and 0.7707 for the T1, T2, and PD, respectively; the first two values are statistically higher than 0.90 ( P < 0.01). Similarly, respective ICC values are 0.9454, 0.9445, and 0.6489. Figure 4 shows a representative axial slice of weighted images synthesized from one set of the T1, T2, and PD maps computed by the CNN and their corresponding acquired images for a subject of the Brain MRI protocol. Overall, the synthesized and acquired weighted images are visually similar regarding both structural information and contrasts between tissues. The image modalities used to train the network present higher similarity than the others, being the T1w the most similar and the T2w FLAIR the least similar but yet with visual resemblance. The boundary of the CSF on the cortical area is hyperintense on the synthesized T2w FLAIR, which is presumably caused by partial volume effects. Supplementary Material Figure S1 shows an extended version of Fig. 4 with a representative axial slice for each of the eight subjects of the Brain MRI protocol. Figure 5 shows a scatter plot between the synthesized and the acquired weighted images (we show the pairs of values μk i (n ) defined in Eq. (9) for the acquired and the synthesized images) for the eight subjects of Brain MRI . There is high correlation between the pairs of weighted images, namely 0.9979, 0.9952, 0.9912, 0.9820, and 0.9602 for the T1w, T2w, PDw, T2 ∗w, and T2w 7
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 Fig. 4. A representative axial slice of the weighted images synthesized from one set of the T1, T2, and PD maps computed by the CNN and their corresponding acquired images. a–e) The synthesized T1w, T2w, PDw, T2 ∗w, and T2w FLAIR images. f–j) Their corresponding acquired weighted images. Fig. 5. Correlation of parameter μk i (n ) ( Eq. 9 ) between the synthesized and the acquired weighted images. a) T1w, b) T2w, c) PDw, d) T2 ∗w, and e) T2w FLAIR. The markers indicate the mean values of WM (yellow diamonds), GM (red stars), and CSF (blue circles). The diagonal lines represent the identity. FLAIR, respectively; all of these values are statistically higher than 0.90 ( P < 0.001). Similarly, respective ICC values are 0.9918, 0.9438, 0.8919, 0.7424, and 0.9367. Figure 6 shows similar scatter plots of the contrast, CNR, and SNR samples between the synthesized and acquired weighted images (as defined in Eqs. (12) –(14) ). There is high correlation with values between 0.9907 and 0.9241 for the contrast, 0.9807 and 0.8739 for the CNR, and 0.9845 and 0.9082 for the SNR for all the weighted images, as shown in Table 7 ; most of these values are statistically larger than 0.90 ( P < 0.05), except in the case of the T2 ∗w and T2w FLAIR for the CNR and SNR, and the PDw only for the SNR, which are statistically greater than 0.84. The ICC values for the three same samples are between 0.9730 and 0.9421 for the T1w, between 0.9579 and 0.8954 for the T2w, and between 0.9120 and 0.8607 for the T2w FLAIR. In contrast, the ICC values are lower for the PDw and T2 ∗w, as shown in Table 7 . Linear regression showed that the SNR of the synthesized weighted images is generally better with an improvement that reaches 47.74% (CI: [41.93%; 53.54%]). CNR is fairly similar for the T1w ( −5.31%, CI: [ −6.33%; −4.29%]), the T2 ∗w ( −0.12%, CI: [ −2.75%; 2.52%]), and the T2w FLAIR (5.36%, CI: [1.67%; 9.05%]), although it is slightly worse for the T2w ( −17.46%, CI: [ −18.94%; −15.99%]) and the PDw ( −26.45%, CI: [ −27.79%; −25.10%]). Finally, contrast only improves in the T2w FLAIR (22.77%, CI: [20.57%; 24.98%]). See details in Table 4 . Figure 7 shows a scatter plot between the pixel values of the rectangular ROIs drawn on the synthesized and the acquired weighted images of a representative subject of Brain MRI . There is high correlation between the pairs of weighted images, namely 0.9911, 0.9684, 0.8898, 0.8477, and 0.6403 for the T1w, T2w, PDw, T2 ∗w, and T2w FLAIR, respectively; all of these values are statistically significant ( P << 0.0 0 01) in the F-test for linear regression. For the sake of completeness, the correlation values for each of the eight subjects of the Brain MRI protocol are given in Supplementary Material Table S1. Additionally, the high values of the mean SSIM, SNR, and CORR and low values of the MSE obtained in the subjects of Brain MRI show good agreement between synthesized and acquired weighted 8
E. Moya-Sáez, Ó. Peña-Nogales, R.d. Luis-García et al. Computer Methods and Programs in Biomedicine 210 (2021) 106371 Fig. 6. Correlation of the contrast, the contrast-to-noise ratio (CNR), and the signal-to-noise ratio (SNR) between the synthesized and the acquired weighted images. a) Contrast, b) CNR, and c) SNR of the T1w, T2w, PDw, T2 ∗w, and T2w FLAIR images. For the Contrast (a) and the CNR (b) the markers indicate the contrast/CNR values between each combination of the GM ROIs with the WM ROIs (yellow diamonds), each combination of CSF ROIs with the GM ROIs (red stars), and each combination of CSF ROIs with the WM ROIs (blue circles). For the SNR (c) the markers indicate the mean SNR values of WM (yellow diamonds), GM (red stars), and CSF (blue circles). The diagonal lines represent the identity. 9