Abstract
This study aimed at developing a fully automatic technique for right lobe graft weight estimation using deep learning algorithms. The proposed method consists of segmentation of the full liver region from computed tomography (CT) images, classification of the entire liver region into the right and left lobes, and estimation of the right lobe graft weight from the CT-measured right lobe graft volume using a volume-to-weight conversion formula. The first two steps were performed with a transformer-based deep learning model. To train and evaluate the model, a total of 248 CT datasets (188 for training, 40 for validation, and 20 for testing and clinical evaluation) were used. The Dice similarity coefficient (DSC), mean surface distance (MSD), and the 95th percentile Hausdorff distance (HD95) were used for evaluating the segmentation accuracy of the full liver region and the right liver lobe. The correlation coefficient (CC), percentage error (PE), and percentage absolute error (PAE) were used for the clinical evaluation of the estimated right lobe graft weight. The proposed method achieved high accuracy in segmentation for DSC, MSD, and HD95 (95.9% ± 1.0%, 1.2 ± 0.4 mm, and 5.2 ± 1.9 mm for the entire liver region; 92.4% ± 2.7%, 2.0 ± 0.7 mm, and 8.8 ± 2.9 mm for the right lobe) and in clinical evaluation for CC, PE, and PAE (0.859, − 1.8% ± 9.6%, and 8.6% ± 4.7%). For the right lobe graft weight estimation, the present study underestimated the graft weight by − 1.8% on average. A mean difference of − 21.3 g (95% confidence interval: − 55.7 to 13.1, p = 0.211) between the estimated graft weight and the actual graft weight was achieved in this study. The proposed method is effective for clinical application.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Introduction
Living donor liver transplantation (LDLT) has become an effective treatment option for patients with end-stage liver disease1,2. Accurate graft weight estimation is vital to the safety of both recipients and donors in LDLT. An appropriately sized graft is essential for the success of LDLT. For the recipient, an inadequate graft could cause small-for-size syndrome3,4,5,6,7,8,9,10, whereas an excessively large graft could result in large-for-size syndrome11. For the donor, an insufficient remnant liver volume after graft harvest could lead to postoperative liver dysfunction12,13.
The right lobe graft weight has been estimated directly from the graft volume measured via computed tomography (CT) volumetry1 or indirectly using formulas that convert graft volume to graft weight1,14,15,16,17,18. Direct estimation of graft weight from graft volume was based on the assumption that the liver has the same density as water19,20; however, the density of the liver is slightly higher than that of water21. Thus, graft weight directly estimated from graft volume tended to be larger than actual graft weight measured intraoperatively15,17,22,23,24,25,26. The indirect formulas converting graft volume to graft weight can be classified into two groups; one with blood volume included in graft volume15,16 and the other with blood volume excluded from graft volume1,14,17,18. Formulas from the former group tended to have larger errors than those from the latter group because the graft weight measured intraoperatively excludes the weight of blood1.
Graft volume is commonly measured using commercial software in clinical practice. First, the full liver is extracted from CT images either semi-automatically or fully automatically by conventional machine learning algorithms27,28,29 or deep learning algorithms14,30. Then blood vessels, including the hepatic vein and portal vein, are extracted and then excluded from the extracted full liver1. Next, the liver is manually divided into the left and right lobes based on anatomical landmarks1,14. Lastly, the graft volume is calculated from the divided right lobe. The total processing time is ranged from 1.3 to 8 min1,14. For example, Park et al. used a commercial software solution which applies a deep learning algorithm for fully automated segmentation of the liver. After they corrected any segmentation errors, they defined the resection plane for the right lobe graft based on the Cantlie line by manually drawing two dividing lines14. The entire process of their method is still not fully automatic due to the manual division of the liver into the left and right lobes. Therefore, this study aimed to propose a deep learning-based fully automatic technique for division of the liver into the left and right lobes for right lobe graft weight estimation and evaluate its performance.
Methods
Study population
This study was approved by the Institutional Review Board of Jeonbuk National University Hospital (IRB No. 2022-08-001). This study was performed in accordance with the Declaration of Helsinki and participants’ informed consent was waived by the review board of Jeonbuk National University Hospital due to the retrospective nature of this study. We included 248 patients (171 males and 77 females; mean age: 50.0 ± 12.3 years; age range: 18–79 years), with healthy livers at Jeonbuk National University hospital from January 2009 to December 2021. Among them, 228 patients were healthy persons for medical checkup, whereas 20 patients were healthy LDLT donors. The 228 patients for medical checkup were randomly split into 188 patients (including 125 males and 63 females; mean age: 52.0 ± 11.0 years; age range: 30–79 years) and 40 patients (including 30 males and 10 females; mean age: 50.0 ± 9.5 years; age range: 32–74 years) for training and validation of the proposed deep learning technique, respectively. The 20 LDLT donors (16 males and 4 females; mean age: 29.5 ± 9.8 years; age range: 18–55 years) were used for test and clinical evaluation of the proposed deep learning technique. All the patients underwent abdominal CT examinations. The LDLT donors had their graft weights measured intraoperatively.
CT imaging
CT scans were obtained by a 128-row multidetector CT scanner SOMATOM Definition AS+ (Siemens, Forchheim, Germany) using a standard four-phase (non-contrast liver, late arterial phase, portal venous phase, and delayed phase) contrast enhanced imaging protocol. The resulting CT scans have a slice thickness of 1 mm or 3 mm. CT scans of the delayed phase were used in the present study.
CT volumetric measurement
The ground truth images of the entire liver region and the left and right liver lobes were generated by an expert with more than ten years of experience in abdominal imaging using Dr. Liver (Humanopia, Inc., Pohang, Korea), as shown in Fig. 1. First, the entire liver region was semi-automatically segmented from a CT scan by putting seed points over the liver region, with the liver region interactively edited if necessary, in Dr. Liver. Second, blood vessels, including the portal vein, and hepatic vein, were automatically segmented, and excluded from the segmented liver region in Dr. Liver. The segmented liver regions without the portal vein and hepatic vein were used as the ground truth images for whole liver segmentation. Third, the segmented liver region without blood vessels was interactively divided into the left and right lobes in Dr. Liver by following Cantlie’s line going through the center of the inferior vena cava, the middle hepatic vein, and the middle of the gallbladder bed31. The classified left and right lobes were used as the ground truth images for the classification of the entire liver region into the left and right lobes. The volume of the segmented liver and that of the classified right lobe were measured using the summation-of-area method32.
Intraoperative graft weight measurement
The liver graft of each LDLT donor was flushed at the back table with histidine-tryptophan-ketoglutarate solution (Custodiol; Köhler Chemie, Als-bach-Hähnlein, Germany) and then trimmed and weighed intraoperatively. The right liver lobes were harvested as liver grafts in the present study.
Deep learning model
As shown in Fig. 2, the proposed method consists of two steps: (1) segmentation of the entire liver region from a CT dataset and (2) classification of the liver into the left and right lobes from a CT dataset masked by the segmented liver region. In both steps, a deep learning model known as UNETR33 was used. The UNETR model consists of a transformer encoder to learn contextual information from the embedded input patches and is connected to a convolutional neural network (CNN)-based decoder through a skip connection to predict the segmentation outputs. The datasets were split into training, validation, and test sets with proportions of 76%, 16%, and 8%, respectively. The CT images were resampled into the isotropic voxel spacing of 1.0 mm and then randomly cropped with volume sizes of 32 × 32 × 32. Data augmentation was applied to the training data with a random flip in axial, sagittal, and coronal views. The UNETR models in the two steps were trained using a workstation with two NVIDIA RTX A5000 graphics cards. Both models were trained using the AdamW optimizer34 with an initial learning rate of 0.0001 and a decay rate of 0.00001. The model in the entire liver region segmentation step and that in the classification step were trained for 20,000 iterations and 10,000 iterations, respectively. For both models, the transformer-based encoder includes 12 layers and an embedding size of 768. A patch resolution of 16 × 16 × 16 was used. For post-processing, a 3D connected component method and morphological operations including erosion and dilation were used to improve segmentation results. For all datasets, the erosion operation with a radius of one was performed three times followed by three times of dilation with a radius of one. The parameters of the erosion and dilation operations were determined empirically.
Evaluation: metrics and statistical analysis
The segmentation results of the entire liver region and the right lobe were evaluated using the dice similarity coefficient (DSC), the 95th percentile of the Hausdorff Distance (HD95), and the mean surface distance (MSD). The DSC is used to measure the voxel overlap between the prediction (P) and the ground truth (G). The HD and MSD are used to measure the surface-based distance between the surfaces of P (SP) and G (SG), whereas HD measures the maximum surface distance. The three metrics are defined as follows:
For the clinical evaluation, a total of 20 donors with CT examinations and graft weights measured intraoperatively (actual graft weights) were included. The graft volume from CT volumetry measured using the proposed deep learning method was converted to the graft weight (predicted graft weight) using the formula graft weight = 206.3 + 0.653 × graft volume14. The predicted graft weight was then compared with the actual graft weight measured intraoperatively in terms of the percentage error (PE, %) and percentage absolute error (PAE, %). PE is defined as the ratio of the difference between the predicted graft weight and the actual graft weight to the actual graft weight. PAE is the absolute value of PE. Pearson’s correlation test was performed to obtain the coefficient of the correlation between the predicted graft weight and the actual graft weight. The paired t-test was used to test whether or not the predicted graft weight and the actual graft weight differed significantly from each other. All statistical tests were performed using Minitab version 18 (Minitab, LLC, State College, PV) at p < 0.05.
Results
Entire liver region segmentation
The mean ± standard deviation (SD) values of DSC, MSD, and HD95 for the entire liver region segmentation were 95.9% ± 1.0%, 1.2 ± 0.4 mm, and 5.2 ± 1.9 mm, respectively (Table 1). Figure 3A illustrates the entire liver region segmentation result of a patient from the test dataset.
Right lobe segmentation
The mean (± SD) values of DSC, MSD, and HD95 for the segmentation of the right lobe were 92.4% ± 2.7%, 2.0 ± 0.7 mm, and 8.8 ± 2.9 mm, respectively (Table 1). Figure 3B illustrates the right lobe segmentation result of a patient from the test dataset.
Clinical evaluation
The clinical evaluation results are shown in Table 2. The mean (± SD) graft volume was 770.2 ± 163.8 ml. The mean (± SD) intraoperative graft weight was 730.5 ± 138.0 g. Figure 4 shows the plot of the intraoperatively measured graft weight to CT measured graft volume. The mean (± SD) predicted graft weight was 709.2 ± 107.0 g. The mean (± SD) PE in graft weight estimation was − 1.8% ± 9.6%. The mean (± SD) PAE in graft weight estimation was 8.6% ± 4.7%. The coefficient of the correlation between the predicted graft weight and the actual graft weight was 0.859 (p < 0.001). The paired t-test showed that the predicted graft weight did not significantly differ from the actual graft weight (t(19) = ‒1.29, p = 0.211). Figure 5 shows the Bland–Altman plot of the difference between the predicted graft weight using the proposed deep learning-based method and the intraoperatively measured graft weight.
Discussion
In the present study, we proposed a fully automatic technique for estimating the right lobe graft weight using deep learning-based CT volumetry. The proposed method consists of three steps: (1) segmentation of the entire liver region, (2) classification of the liver into the left and right lobes, and (3) estimation of the right lobe graft weight from right lobe graft volume with a volume-to-weight conversion formula. The proposed method achieved higher accuracy in right lobe graft weight estimation (correlation coefficient to the actual graft weight = 0.859; PAE = 8.6% ± 4.7%), compared to that reported in Kwon et al.’s study35 (correlation coefficient to the actual graft weight = 0.807; PAE = 9.0% ± 8.7%). Kwon et al.’s method requires intensive manual intervention for CT volumetry using a commercial medical software application, whereas the proposed method is effective and fully automatic. The high accuracy of the proposed method is due to the high accuracy of the proposed the deep learning method in liver segmentation and left and right lobe classification and the volume-to-weight conversion formula. Furthermore, the exclusion of blood vessels from the segmented liver region contributes to the high accuracy of the proposed method as well because the graft is intraoperatively weighed after the blood in the liver is drained1. For segmentation of the liver, average DSC was 95.9% using the UNETR model in this study. In recent studies36,37,38, average DSC was ranged from 93.08 to 95.72% for segmentation of the liver on the Synapse dataset39 using various deep learning-based methods. The UNETR model we used incorporates a transformer encoder and a CNN-based decoder and has been proved to be promising for medical image segmentation33. Liver segmentation is still challenging due to the false inclusion of some organs such as the heart and spleen for some cases where the boundaries between the liver and other organs are severely blurry. For right lobe graft weight estimation, the present study underestimated the graft weight by − 1.8% on average. A mean difference of − 21.3 g (95% confidence interval: − 55.7 to 13.1, p = 0.211) between the estimated graft weight and the actual graft weight was achieved in this study. Recently, Buijk et al. conducted a systematic review and meta-analysis which included 31 studies for comparing estimated graft volume and actual graft weight40. For the right liver graft, they reported that the 31 existing studies overestimated the graft volume by 2.99% on average for manual volumetry. A mean difference of 34.0 g (95% confidence interval: 11.85–56.11, p = 0.003) was obtained for manual volumetry. Through comparison, our deep learning-based fully automatic method outperformed the existing studies on average.
For the first time, we proposed to use a deep learning-based method throughout the entire process of right lobe graft weight estimation. Especially, we proposed a deep learning-based method for fully automatic division of the liver into the left and right lobes. Park et al.14 claimed that they applied deep learning in right lobe graft weight estimation. However, they only applied deep learning to the segmentation of the entire liver region but not to the classification of the liver into the left and right lobes. Then, they manually classified the liver into the left and right lobes. In our study, the classification of the liver into the left and right lobes was fully automatically performed using deep learning as well. Therefore, our method does not require any manual intervention by the users.
Our study has several limitations. First, it was a single-center study. Though Yang et al.1 established a graft weight formula using data from a single medical center and proved that the formula was still accurate by a cross validation using data from a different medical center, it is better to collect more data from different centers to assess the performance of our method. Second, we used CT scans from the delayed phase in the present study. We need to extend our method to the cases from other phases like the portal venous phase. Third, our study was limited by the exclusion of patients with liver masses and cirrhosis. Fourth, the volume-to-weight conversion formula used in the present study tended to underestimate the graft weight. The formula we used was not built with our data and it is linear, which could cause the underestimation. However, we haven’t found any higher-order or non-linear models. We need to establish our own formula by considering higher-order or non-linear models for a more accurate estimation of graft weight after collecting more data. We will address these issues in our future studies.
In conclusion, we proposed a deep learning-based fully automatic method for the entire right lobe’s graft weight estimation process. We evaluated our method in terms of accuracy and clinical practice. The proposed fully automatic method has been proven accurate in clinical practice.
Data availability
The datasets generated or analyzed during the study are available from the corresponding author on reasonable request.
References
Yang, X. et al. Estimation of right-lobe graft weight from computed tomographic volumetry for living donor liver transplantation. Transplant. Proc. 49, 303–308 (2017).
Hwang, S., Lee, S. G., Joh, J. W., Suh, K. S. & Kim, D. G. Liver transplantation for adult patients with hepatocellular carcinoma in Korea: Comparison between cadaveric donor and living donor liver transplantations. Liver Transplant. 11, 1265–1272 (2005).
Kiuchi, T. et al. Small-for-size graft in living donor liver transplantation: How far should we go?. Liver Transplant. 9, S29–S35 (2003).
Heaton, N. Small-for-size liver syndrome after auxiliary and split liver transplantation: Donor selection. Liver Transplant. 9, S26–S28 (2003).
Sugawara, Y. et al. Small-for-size grafts in living-related liver transplantation. J. Am. Coll. Surg. 192, 510–513 (2001).
Nishizaki, T. et al. Small graft for living donor liver transplantation. Ann. Surg. 233, 575–580 (2001).
Ben-Haim, M. et al. Critical graft size in adult-to-adult living donor liver transplantation: Impact of the recipient’s disease. Liver Transplant. 7, 948–953 (2001).
Sakamoto, S. et al. Graft size assessment and analysis of donors for living donor liver transplantation using right lobe. Transplantation 71, 1407–1413 (2001).
Inomata, Y. et al. Auxiliary partial orthotopic living donor liver transplantation as an aid for small-for-size grafts in larger recipients. Transplantation 67, 1314–1319 (1999).
Kiuchi, T. et al. Impact of graft size mismatching on graft prognosis in liver transplantation from living donors. Transplantation 67, 321–327 (1999).
Levesque, E. et al. Influence of larger graft weight to recipient weight on the post-liver transplantation course. Clin. Transplant. 27, 239–247 (2013).
Schindl, M. J., Redhead, D. N., Fearon, K. C. H., Garden, O. J. & Wigmore, S. J. The value of residual liver volume as a predictor of hepatic dysfunction and infection after major liver resection. Gut 54, 289–296 (2005).
Ferrero, A. et al. Postoperative liver dysfunction and future remnant liver: Where is the limit? Results of a prospective study. World J. Surg. 31, 1643–1651 (2007).
Park, R. et al. Accuracy and efficiency of right-lobe graft weight estimation using deep-learning-assisted CT volumetry for living-donor liver transplantation. Diagnostics (Basel) 12, 590 (2022).
Lemke, A. J. et al. Living donor right liver lobes: Preoperative CT volumetric measurement for calculation of intraoperative weight and volume. Radiology 240, 736–742 (2006).
Yoneyama, T. et al. Coefficient factor for graft weight estimation from preoperative computed tomography volumetry in living donor liver transplantation. Liver Transplant. 17, 369–372 (2011).
Kim, K. W. et al. Right lobe estimated blood-free weight for living donor liver transplantation: Accuracy of automated blood-free CT volumetry—preliminary results. Radiology 256, 433–440 (2010).
Mokry, T. et al. Accuracy of estimation of graft size for living-related liver transplantation: First results of a semi-automated interactive software for CT-volumetry. PLOS ONE 9, e110201 (2014).
Lemke, A. J. et al. CT volumetry of the liver before transplantation. Rofo 166, 18–23 (1997).
Van Thiel, D. H. et al. In vivo hepatic volume determination using sonography and computed tomography. Validation and a comparison of the two techniques. Gastroenterology 88, 1812–1817 (1985).
Yu, H. C. et al. Estimation of standard liver volume for liver transplantation in the Korean population. Liver Transplant. 10, 779–783 (2004).
Hiroshige, S. et al. Accurate preoperative estimation of liver-graft volumetry using three-dimensional computed tomography. Transplantation 75, 1561–1564 (2003).
Gondolesi, G. E. et al. Accurate method for clinical assessment of right lobe liver weight in adult living-related liver transplant. Transplant. Proc. 36, 1429–1433 (2004).
Nakayama, Y. et al. Automated hepatic volumetry for living related liver transplantation at multisection CT. Radiology 240, 743–748 (2006).
Radtke, A. et al. Preoperative volume prediction in adult living donor liver transplantation: How much can we rely on it?. Am. J. Transplant. 7, 672–679 (2007).
Yuan, D., Chen, K., Li, B., Yan, L. & Wei, Y. Accurate and reasonable method for estimation of graft volume in living donor liver transplantation. Transplantation 86, 1011–1012 (2008).
Yang, X. et al. A hybrid semi-automatic method for liver segmentation based on level-set methods using multiple seed points. Comput. Methods Progr. Biomed. 113, 69–79 (2014).
Yang, X. et al. Dr. Liver: A preoperative planning system of liver graft volumetry for living donor liver transplantation. Comput. Methods Progr. Biomed. 158, 11–19 (2018).
Yang, X. et al. Segmentation of liver and vessels from CT images and classification of liver segments for preoperative liver surgical planning in living donor liver transplantation. Comput. Methods Progr. Biomed. 158, 41–52 (2018).
Ahn, Y. et al. Deep learning algorithm for automated segmentation and volume measurement of the liver and spleen using portal venous phase computed tomography images. Korean J. Radiol. 21, 987–997 (2020).
de Villa, V. H. et al. Right lobe living donor liver transplantation-addressing the middle hepatic vein controversy. Ann. Surg. 238, 275–282 (2003).
Heymsfield, S. B. et al. Accurate measurement of liver, kidney, and spleen volume and mass by computerized axial tomography. Ann. Intern. Med. 90, 185–187 (1979).
Hatamizadeh, A. et al. UNETR: Transformers for 3D medical image segmentation. arXiv:2201.01266 (2021).
Loshchilov, I. & Hutter, F. Decoupled weight decay regularization. arXiv:1711.05101 (2017).
Kwon, H. J. et al. Reproducibility and reliability of computed tomography volumetry in estimation of the right-lobe graft weight in adult-to-adult living donor liver transplantation: Cantlie’s line vs portal vein territorialization. J. Hepatobiliary Pancreat. Sci. 27, 541–547 (2020).
Chen, J. et al. Transunet: Transformers make strong encoders for medical image segmentation. arXiv:2102.04306 (2021).
Cao, H., Wang, Y., Chen, J., Jiang, D., Zhang, X., Tian, Q. & Wang, M. Swin-unet: Unet-like pure transformer for medical image segmentation. arXiv:2105.05537 (2021).
Hatamizadeh, A., Nath, V., Tang, Y., Yang, D., Roth, H. R. & Xu, D. Swin UNETR: Swin transformers for semantic segmentation of brain tumors in MRI images. arXiv:2201.01266 (2022).
Landman, B., Xu, Z., Igelsias, J. E., Styner, M., Langerak, T. & Klein, A. MICCAI multi-atlas labeling beyond the cranial vault-workshop and challenge. In MICCAI Multi-Atlas Labeling Beyond Cranial Vault-Workshop Challenge (2015).
Buijk, M. S. et al. Accuracy of preoperative liver volumetry in living donor liver transplantation: A systematic review and meta-analysis. J. Liver Transplant. 10, 100150 (2023).
Funding
This research was supported by No. of 202200960001 of Handong Global University Research Grants and Fund of Biomedical Research Institute, Jeonbuk National University Hospital.
Author information
Authors and Affiliations
Contributions
X.Y. study conception, study design, methodology, analysis, writing (draft, review and editing). S.P. methodology, analysis, writing (draft). S.L. and J.S.S. analysis, writing (review and editing). K.H. analysis. M.R.L. and H.C.Y. writing (review and editing). J.D.Y. study conception, study design, writing (review and editing). All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Yang, X., Park, S., Lee, S. et al. Estimation of right lobe graft weight for living donor liver transplantation using deep learning-based fully automatic computed tomographic volumetry. Sci Rep 13, 17746 (2023). https://doi.org/10.1038/s41598-023-45140-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-023-45140-0
- Springer Nature Limited