Abstract
Background/Objectives: Accurate volumetry of the remnant pancreas after pancreatectomy is crucial for assessing postoperative endocrine and exocrine function but remains challenging due to anatomical variability and complex postoperative morphology. This study aimed to develop and validate a deep learning (DL)-based model for automatic segmentation and volumetry of the remnant pancreas using abdominal CT images. Methods: A total of 1067 CT scans from 341 patients who underwent pancreaticoduodenectomy and 512 scans from 184 patients who underwent distal pancreatectomy were analyzed. Ground truth masks were manually delineated and verified through multi-expert consensus. Six 3D segmentation models were trained and compared, including four convolution-based U-Net variants (basic, dense, residual, and residual dense) and two transformer-based models (Trans U-Net and Swin U-Net). Model performance was evaluated using five-fold cross-validation with sensitivity, specificity, precision, accuracy, and Dice similarity coefficient. Results: The Residual Dense U-Net achieved the best performance among convolutional models, with dice similarity coefficient (DSC) values of 0.7655 ± 0.0052 for pancreaticoduodenectomy and 0.8086 ± 0.0091 for distal pancreatectomy. Transformer-based models showed slightly higher DSCs (Swin U-Net: 0.7787 ± 0.0062 and 0.8132 ± 0.0101), with statistically significant but numerically small improvements (p < 0.01). Conclusions: The proposed DL-based approach enables accurate and reproducible postoperative pancreas segmentation and volumetry. Automated volumetric assessment may support objective evaluation of remnant pancreatic function and provide a foundation for predictive modeling in long-term clinical management after pancreatectomy.