Abstract
Magnetic resonance imaging (MRI) provides images for estimating fetal volume and weight, but manual delineations are time consuming. The aims were to (1) validate an algorithm to automatically quantify fetal volume by MRI; (2) compare fetal weight by Hadlock’s formulas to that of MRI; and (3) quantify fetal blood flow and index flow to fetal weight by MRI. Forty-two fetuses at 36 (29–39) weeks gestation underwent MRI. A neural network was trained to segment the fetus, with 20 datasets for training and validation, and 22 for testing. Hadlock’s formulas 1–4 with biometric parameters from MRI were compared with weight by MRI. Blood flow was measured using phase-contrast MRI and indexed to fetal weight. Bland–Altman analysis assessed the agreement between automatic and manual fetal segmentation and the agreement between Hadlock’s formulas and fetal segmentation for fetal weight. Bias and 95% limits of agreement were for automatic versus manual measurements 4.5 ± 351 ml (0.01% ± 11%), and for Hadlock 1–4 vs MRI 108 ± 435 g (3% ± 14%), 211 ± 468 g (7% ± 15%), 106 ± 425 g (4% ± 14%), and 179 ± 472 g (6% ± 15%), respectively. Umbilical venous flow was 406 (range 151–650) ml/min (indexed 162 (range 52–220) ml/min/kg), and descending aortic flow was 763 (range 481–1160) ml/min (indexed 276 (range 189–386) ml/min/kg). The automatic method showed good agreement with manual measurements and saves considerable analysis time. Hadlock 1–4 generally agree with MRI. This study also illustrates the confounding effects of fetal weight on absolute blood flow, and emphasizes the benefit of indexed measurements for physiological assessment.
Keywords: Fetal cardiovascular magnetic resonance imaging, Fetal weight, Prenatal diagnosis
Introduction
Congenital anomalies and fetal growth restriction are major contributors to fetal and neonatal morbidity and mortality [1, 2]. Prenatal diagnosis improves management including parental counseling [3–8]. Accurate quantification of fetal volume and hence fetal weight is important both for assessment of fetal growth and for indexing fetal blood flow to fetal weight. This provides a physiologically more accurate interpretation of blood flow volumes as blood flow is related both to fetal body size and pathology. Indexed umbilical blood flow volumes may also be a potential indicator of fetal growth restriction and placental dysfunction [9].
In clinical practice, fetal weight is estimated by ultrasound [10–12], and while these methods are widely available and easy to use, they are less accurate than 3D-based fetal segmentation [13].
Magnetic resonance imaging (MRI) can provide high-resolution 3D images for fetal volume quantification. However, accurate manual segmentation of the fetus is time consuming, and there is a need for fully automatic methods to make quantification of fetal volume and weight clinically applicable. Deep learning could potentially be used to accomplish automatic and fast fetal volume quantification [14, 15]. However, previous studies have either shown significant measurement errors for automatic versus manual segmentation or involved network structures that require highly specialized graphics cards.
The aims of this study were therefore to (1) validate an algorithm based on an artificial neural network to automatically quantify fetal volume from 3D MRI; (2) compare fetal weight estimated using formulas commonly used in fetal ultrasound with 3D MRI-based fetal weight measurements; and (3) quantify fetal blood flow in the umbilical vein and descending aorta and index blood flow to fetal weight by MRI.
Methods
Forty-two fetuses (gestational age 36 (29–39) weeks) underwent fetal MRI at Skane University Hospital in Lund, Sweden between October 2015 and December 2021. Fetal MRI examinations were performed both on clinical indication as dedicated fetal cardiovascular MRI to assess fetal cardiovascular anatomy, and for research aimed at developing fetal cardiovascular MRI. The cohort consisted of fetuses with and without known or suspected congenital heart disease. The regional ethics committee approved the study (Dnr 2013/551). All pregnant women gave written informed consent before participation in the study. The study was conducted in accordance with the Helsinki declaration.
Magnetic Resonance Image Acquisition
Fetal MRI was performed using a 1.5 T Aera scanner (Siemens Healthineers, Erlangen, Germany). Balanced steady-state free precession (bSSFP) sequences were used to acquire anatomical overview images in the transverse, sagittal, and coronal directions with typical parameters 1.7 × 1.1 × 4.5 mm acquired spatial resolution and a slice gap of 0 or −50%. For fetal volume quantification, a 3D image slab covering the uterus was acquired with typical parameters 1.8 × 1.4 × 2.5 mm acquired resolution, TE/TR = 1.77/4.08 ms, and flip angle = 50°. Phase-contrast flow images were acquired in the umbilical vein and fetal descending aorta using a 2D gradient recalled echo sequence with typical parameters 1.4 × 1.4 × 5 mm acquired spatial resolution, TE/TR = 2.76/5.03 ms, flip angle = 20°, VENC = 150 cm/s, and acquired temporal resolution 30.18 ms. The fetal MRI examination time was typically 40–60 min including research and development, whereas the 3D acquisition is less than 20 s.
Magnetic Resonance Image Analysis
Manual segmentations of the fetus, umbilical cord, placenta, and amniotic fluid were performed in Segment 3D print v 3.1 (Medviso AB, Lund, Sweden) using a 3D pen tool with a diameter of 3–4 mm (Fig. 1; top panel). Manual delineations were used as ground truth for training of neural networks and for evaluation of network performance. Fetal weight was calculated as fetal volume multiplied with a fetal density of 1.04 kg/l, as previously reported in late gestation fetuses [13].
Fetal weight was also estimated using Hadlock’s formulas 1–4 [11, 12] for direct comparison of accuracy of ultrasound-based measurements versus 3D MRI fetal weight as reference standard. For this, biometric parameters were measured in MR images. Figure 2 shows how these measurements of fetal head circumference (HC), biparietal diameter (BPD), abdominal circumference (AC) and femur length (FL) were performed. In the current study, the following Hadlock formulas were used; Hadlock 1: ; Hadlock 2: ; Hadlock 3: ; Hadlock 4: .
Blood flow was quantified in the umbilical vein in 15 fetuses and in the fetal descending aorta in 20 fetuses by manual vessel delineation using Segment v3.3 (Medviso AB, Lund, Sweden) [16, 17].
Algorithm for Automatic Fetal Segmentation
The algorithm was developed in a previous project [18]. In short, a core part of the algorithm is a U-net convolutional neural network [18, 19] trained to classify each pixel as fetus, placenta, umbilical cord, or amniotic fluid with manual delineations as ground truth [18]. While the fetus was the object of interest in the current study, the inclusion of all intrauterine structures was used in a multi-task learning process to provide more information to the network to improve network performance [20]. In contrast to previous attempts to automatically segment the fetus [15], the current network structure is a 2D U-net which processes data on a slice-by-slice basis in three different orthogonal directions. The final segmentation result is thus a voxel-wise voting of the three directions. Fourfold cross-validation was used for training and hyperparameter optimization, with 15 datasets used for training and 5 for validation for each iteration. Of the remaining 22 datasets, 21 were used for testing network performance versus manual segmentation, and one twin pregnancy dataset was used to test generalizability of the network as proof of concept.
Statistics
Fetal volumes and weights are reported in milliliters and grams, respectively. Bland–Altman analysis was used to assess agreement between automatic and manual fetal volume measurements, and between fetal weight estimated using Hadlock’s formulas and by volumes from 3D MRI. In addition to Bland–Altman analysis, agreement between automatic and manual fetal segmentation was assessed using the Dice similarity coefficient, defined for two sets A and B as and expressed as mean ± standard deviation. Absolute blood flow and blood flow indexed to fetal weight were plotted against fetal weight to illustrate the confounding effects of fetal weight on absolute blood flow and to provide proof-of-concept data on indexed blood flow values using the proposed method.
Results
Figure 1 (middle panel) shows an example of 3D fetal models generated by automatic and manual segmentation. This shows a visual good agreement between the automatic and manual fetal segmentation. Figure 3 shows the agreement between automatic and manual fetal volumes for the test set. Bias and 95% limits of agreement were −4.5 ± 351 ml (0.01% ± 11%). Mean Dice similarity index for automatic versus manual fetal segmentation was 0.94 ± 0.02.
Figure 4 shows the agreement between Hadlock’s formulas 1–4 for fetal weight estimation and fetal weight by 3D MRI. Bias and 95% limits of agreement for Hadlock’s formulas 1–4 versus 3D MRI manual delineations were 108 ± 435 g (3% ± 14%), 211 ± 468 g (7% ± 15%), 106 ± 425 g (4% ± 14%), and 179 ± 472 g (6% ± 15%), respectively. Weight estimation by Hadlock’s formulas showed a trend of increasing differences versus 3D MRI with increasing fetal weight.
Figure 1 (bottom panel) shows the result of the proposed automatic method applied on twin fetuses as proof of concept of using the network on other samples than the singleton pregnancies included for evaluation versus manual segmentation.
Figure 5 shows blood flow in the umbilical vein and descending aorta in absolute and indexed values. Median absolute umbilical venous flow was 406 ml/min (range 151–650 ml/min), which indexed to fetal weight was 162 ml/min/kg (range 52–220 ml/min/kg). Median absolute descending aortic flow was 763 ml/min (range 481–1160 ml/min), which indexed to fetal weight was 276 ml/min/kg (range 189–386 ml/min/kg).
Discussion
This study validated an automated deep learning-based algorithm for automatic quantification of fetal volume and weight from MR images. The automatic method showed high accuracy for fetal volume measurements compared with manual reference standard. While manual adjustments may be needed in some cases, the automatic method typically takes 45 s per fetus and therefore saves considerable analysis time per case. The automatic method thus makes it feasible to accurately quantify fetal volume and weight for both clinical and research purposes. This may lead to more accurate assessment of fetal growth and to improved assessment of fetal blood flow by indexing flow volumes to fetal weight, as absolute blood flow is dependent on the size of the fetus and not only pathology.
The current study showed a generally good agreement between Hadlock’s formulas and 3D MRI-based fetal segmentation for estimation of fetal weight, however with a trend of increasing differences with increasing fetal size. In particular, this study shows that MRI-based measurements of fetal biometric parameters may be used for accurate weight estimation using Hadlock’s formulas if complete 3D MRI datasets are not available. It remains unknown to what extent such fetal biometric measurements by MRI and ultrasound agree, however, a potential advantage by MRI is the ability to accurately acquire images perpendicular to the fetal head and abdomen and visualize the fetal femur regardless of acoustic windows. Therefore, the results in the current study may have exaggerated agreement in comparison to if fetal weight by MRI and ultrasound had been compared head-to-head. Although Hadlock’s formulas show higher overall accuracy compared to other ultrasound-based weight estimation formulas [10], Hadlock’s formulas are less reliable for small and large fetuses [10]. This may partly explain the trend of increasing differences for Hadlock’s formulas vs 3D MRI with increasing fetal weight observed in the current study. Furthermore, this difference could potentially mean the difference between small for gestational age versus normal weight, and therefore could be clinically significant in individual cases. Thus, the need for improved methods of fetal weight estimation remains and it may be hypothesized that 3D MRI-based fetal weight estimation could improve accuracy and thus clinical decision-making.
The current study agrees with previous studies in that indexed flow volumes may be a more appropriate measure of fetal circulatory physiology than absolute flow volumes, thus enabling accurate comparison of physiology between fetuses independent of fetal weight. Furthermore, the weight-indexed blood flow values obtained by phase-contrast MRI in the current study are in agreement with previously reported weight-indexed fetal blood flow values from ultrasound measurements [21, 22] and by fetal MRI [23].
Two previous studies have suggested machine learning methods for automatic segmentation of the fetus in magnetic resonance images [14, 15]. Zhang et al. (14) used a graph-based approach to automatically segment the fetal body in fetuses at 20–24 weeks of gestation. In the current study, the performance of the automatic method was higher as shown by the Dice similarity index of 0.94 versus 0.69 [14]. However, the current study included mainly late gestation fetuses, and the performance of the proposed method earlier in pregnancy remains to be investigated. In comparison, Dudovitch et al. [15] evaluated both two- and three-dimensional U-nets for automatic segmentation of the fetus, which showed high accuracy (Dice similarity index up to 0.96). No apparent improvement was however seen using a standard three-dimensional U-net compared to a standard two-dimensional U-net. Network performance increased for the three-dimensional U-net with the addition of another network to correct segmentation in slices prone to error. However, that three-dimensional U-net requires advanced graphics cards generally not available in clinical routine settings. Further, the current study used a two-dimensional U-net analyzing the image slab in three orthogonal directions. This means that the decision to classify a pixel as fetus is based on more information compared with standard two-dimensional U-nets, increasing network performance. Furthermore, two-dimensional U-nets are easily implemented on current clinical systems, making the proposed method useful for clinical application.
Finally, ultrasound may be better than 3D MRI for fetal volume quantification in early pregnancy due to the higher resolution of ultrasound images. Although there is currently no automatic method for generating fetal 3D models from ultrasound images, such methods are developing [24, 25]. On the other hand, it may be challenging to get ultrasound images of sufficient quality for segmentation of the whole fetus, particularly in late pregnancy where acoustic windows may be a limiting factor [25, 26]. It is thus plausible that ultrasound and MRI could complement one another to achieve accurate fetal volume quantification in early and late gestation, respectively.
This study has suggested an artificial intelligence-based automatic method for estimation of fetal weight using 3D MRI. This enables routine accurate and fast weight estimation of fetuses undergoing MRI examinations, and therefore adds potentially clinically useful information to existing fetal MRI imaging protocols. Future studies are warranted to develop artificial intelligence-based methods for automatic detection of fetal pathology, such as congenital heart disease, diaphragmatic hernia, or myelomeningocele.
Limitations
The current study included relatively large fetuses with a weight span of approximately 2000–4000 g. It remains to be shown if fetal volume measurements by the proposed method are feasible in smaller fetuses in early gestation, and to what extent such measurements agree with ultrasound-based estimations. However, in order to test the generalizability of the network, the automatic segmentation algorithm was tested on a twin pregnancy with promising results despite that the algorithm was not trained in twin pregnancies. This shows strong potential for the proposed method to work across a wider range of fetal sizes.
Conclusions
The proposed method can be clinically applied for automatic segmentation of fetal volume and weight. This saves analysis time and makes indexation of fetal blood flow to fetal size clinically feasible. Further, it could be a useful complement in clinical practice for assessing fetal growth restriction, particularly when acoustic windows are poor as in late gestation fetuses and in fetuses suspected to be smaller or larger than what standard ultrasound methods are accurate for. Indexed fetal blood flow values were similar across the range of fetal weights in the current study, which illustrates the confounding effect of fetal weight and the benefit of indexed values for physiological comparison between individuals.
Author contributions
DR, EiH, and EH designed the study. DR and EH performed fetal MRI examinations. DR and AN analyzed data. AN and EiH trained and validated the neural network for fetal segmentation. DR drafted the manuscript. All authors revised the manuscript critically for important intellectual content and approved the final version.
Funding
Open access funding provided by Lund University. Funding received by the Swedish Heart Lung Foundation (Grant No. 2018/0510), Region Skane, Skane University Hospital, and Anna Lisa och Sven-Eric Lundgrens stiftelse för medicinsk forskning.
Declarations
Conflict of interest
Einar Heiberg is the founder and owner of Medviso AB, developing Segment and Segment 3D Print used in analyzing images. This software is freely available for research but also sold for clinical use. All other authors report no competing interests.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Garite TJ, Clark R, Thorp JA. Intrauterine growth restriction increases morbidity and mortality among premature neonates. Am J Obstet Gynecol. 2004;191(2):481–487. doi: 10.1016/j.ajog.2004.01.036. [DOI] [PubMed] [Google Scholar]
- 2.Boyle B, Addor MC, Arriola L, Barisic I, Bianchi F, Csáky-Szunyogh M, et al. Estimating global burden of disease due to congenital anomaly: an analysis of european data. Arch Dis Child Fetal Neonatal Ed. 2018;103(1):22–28. doi: 10.1136/archdischild-2016-311845. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Levery A, Glickstein JS, Kleinman CS, Levasseur SM, Chen J, Gersony WM, et al. The Impact of prenatal diagnosis of complex congenital heart disease on neonatal outcomes. Pediatr Cardiol. 2010;31:587–597. doi: 10.1007/s00246-010-9648-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Satomi G, Yasukochi S, Shimizu T, Takigiku K, Ishii T. Has fetal echocardiography improved the prognosis of congenital heart disease? Comparison of patients with hypoplastic left heart syndrome with and without prenatal diagnosis. Pediatr Int. 1999;41:728–732. doi: 10.1046/j.1442-200x.1999.01154.x. [DOI] [PubMed] [Google Scholar]
- 5.Chakraborty A, Gorla SR, Swaminathan S. Impact of prenatal diagnosis of complex congenital heart disease on neonatal and infant morbidity and mortality. Prenat Diagn. 2018;38:958–963. doi: 10.1002/pd.5351. [DOI] [PubMed] [Google Scholar]
- 6.Holland BJ, Myers JA, Jr, CRW. Prenatal diagnosis of critical congenital heart disease reduces risk of death from cardiovascular compromise prior to planned neonatal cardiac surgery: a meta-analysis. Ultrasound Obstet Gynecol. 2015;45:631–638. doi: 10.1002/uog.14882. [DOI] [PubMed] [Google Scholar]
- 7.Franklin O, Burch M, Manning N, Sleeman K, Gould S, Archer N. Prenatal diagnosis of coarctation of the aorta improves survival and reduces morbidity. Heart. 2002;87:67–69. doi: 10.1136/heart.87.1.67. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Allan LD, Huggon IC. Counselling following a diagnosis of congenital heart disease. Prenat Diagn. 2004;24(13):1136–1142. doi: 10.1002/pd.1071. [DOI] [PubMed] [Google Scholar]
- 9.Ferrazzi E, Rigano S, Bozzo M, Bellotti M, Giovannini N, Galan H, et al. Umbilical vein blood flow in growth-restricted fetuses. Ultrasound Obstet Gynecol. 2000;16(5):432–438. doi: 10.1046/j.1469-0705.2000.00208.x. [DOI] [PubMed] [Google Scholar]
- 10.Hammami A, Mazer Zumaeta A, Syngelaki A, Akolekar R, Nicolaides KH. Ultrasonographic estimation of fetal weight: development of new model and assessment of performance of previous models. Ultrasound Obstet Gynecol. 2018;52(1):35–43. doi: 10.1002/uog.19066. [DOI] [PubMed] [Google Scholar]
- 11.Hadlock FP, Harrist RB, Sharman RS, Deter RL, Park SK. Estimation of fetal weight with the use of head, body, and femur measurements: a prospective study. Am J Obstet Gynecol. 1985;151(3):333–337. doi: 10.1016/0002-9378(85)90298-4. [DOI] [PubMed] [Google Scholar]
- 12.Hadlock FP, Harrist RB, Carpenter RJ, Deter RL, Park SK. Sonographic estimation of fetal weight. The value of femur length in addition to head and abdomen measurements. Radiology. 1984;150(2):535–540. doi: 10.1148/radiology.150.2.6691115. [DOI] [PubMed] [Google Scholar]
- 13.Kacem Y, Cannie MM, Kadji C, Dobrescu O, Lo ZL, Ziane S, et al. Fetal weight estimation: comparison of two-dimensional US and MR imaging assessments. Radiology. 2013;267(3):902–910. doi: 10.1148/radiol.12121374. [DOI] [PubMed] [Google Scholar]
- 14.Zhang T, Matthew J, Lohezic M, Davidson A, Rutherford M, Rueckert D, et al (2016) Graph-based whole body segmentation in fetal MR images. MICCAI Work PIPPI.
- 15.Dudovitch G, Link-Sourani D, Ben Sira L, Miller E, Ben Bashat D, Joskowicz L, et al. Deep learning automatic fetal structures segmentation in MRI scans with few annotated datasets. In: Martel AL, Abolmaesumi P, Stoyanov D, Mateus D, Zuluaga MA, Zhou SK, et al., editors. Medical image computing and computer assisted intervention: MICCAI 2020. Cham: Springer; 2020. pp. 365–374. [Google Scholar]
- 16.Heiberg E, Sjögren J, Ugander M, Carlsson M, Engblom H, Arheden H. Design and validation of Segment–freely available software for cardiovascular image analysis. BMC Med Imaging. 2010;10:1. doi: 10.1186/1471-2342-10-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Salehi D, Sun L, Steding-ehrenborg K, Bidhult S, Kording F, Ruprecht C, et al. Quantification of blood flow in the fetus with cardiovascular magnetic resonance imaging using Doppler ultrasound gating: validation against metric optimized gating. J Cardiovasc Magn Reson. 2019;8:1–15. doi: 10.1186/s12968-019-0586-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Nilsson A (2021) Quantification of fetal volume in magnetic resonance images using deep learning. Student Paper. Master’s Theses in Mathematical Sciences, Faculty of Engineering, Lund University. http://lup.lub.lu.se/student-papers/record/9043734
- 19.Ronneberger O, Fischer P, Brox T. U-net: convolutional networks for biomedical image segmentation. In: Navab N, Hornegger J, Wells WM, Frangi AF, editors. Medical image computing and computer-assisted intervention:MICCAI 2015. Cham: Springer; 2015. pp. 234–241. [Google Scholar]
- 20.Navarro F, Shit S, Ezhov I, Paetzold J, Gafita A, Peeken JC, et al. Shape-aware complementary-task learning for multi-organ segmentation. Lect Notes Comput Sci. 2019;11861:620–627. doi: 10.1007/978-3-030-32692-0_71. [DOI] [Google Scholar]
- 21.Maršál K, Lindblad A, Lingman G, Eik-Nes SH. Blood flow in the fetal descending aorta; intrinsic factors affecting fetal blood flow, i.e. fetal breathing movements and cardiac arrhythmia. Ultrasound Med Biol. 1984;10(3):339–348. doi: 10.1016/0301-5629(84)90168-6. [DOI] [PubMed] [Google Scholar]
- 22.Figueras F, Fernández S, Hernández-Andrade E, Gratacós E. Umbilical venous blood flow measurement: accuracy and reproducibility. Ultrasound Obstet Gynecol. 2008;32(4):587–591. doi: 10.1002/uog.5306. [DOI] [PubMed] [Google Scholar]
- 23.Seed M, Van Amerom JFP, Yoo SJ, Al Nafisi B, Grosse-Wortmann L, Jaeggi E, et al. Feasibility of quantification of the distribution of blood flow in the normal human fetal circulation using CMR: a cross-sectional study. J Cardiovasc Magn Reson. 2012;14(1):1–11. doi: 10.1186/1532-429X-14-79. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Li Y, Xu R, Ohya J, Iwata H (2017) Automatic fetal body and amniotic fluid segmentation from fetal ultrasound images by encoder-decoder network with inner layers. Proc Annu Int Conf IEEE Eng Med Biol Soc [DOI] [PubMed]
- 25.Tutschek B. 3D prints from ultrasound volumes. Ultrasound Obstet Gynecol. 2018;52(6):691–698. doi: 10.1002/uog.20108. [DOI] [PubMed] [Google Scholar]
- 26.Schild RL. Three-dimensional volumetry and fetal weight measurement. Ultrasound Obstet Gynecol. 2007;30(6):799–803. doi: 10.1002/uog.5181. [DOI] [PubMed] [Google Scholar]