arXiv:2610.40073cs.CVOct 2026

Manuscript Offprint

arXiv:2610.40073

Uncertainty-aware Coarse-to-Fine Main Pancreatic Duct Segmentation for Width Measurement in 3D MRCP

Zipei Zhang, Jaakko Sahlsten, Mikko Saukkoriipi, Johanna Ronkainen, Mona Lehto, Akseli Aittoniemi, Irina Rinta-Kiikka, Kimmo Kaski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Assessment of the main pancreatic duct (MPD) from volumetric magnetic resonance cholangiopancreatography (MRCP) scans is an essential task for ductal dilatation diagnosis and pancreatic cancer analysis. However, manual assessment is affected by reader variability in which automated analysis may assist. Nevertheless, fully automated and uncertainty-aware MPD analysis from volumetric MRCP remains underexplored area of research. In this study, we propose an automatic and uncertainty-aware deep learning-based pipeline for MPD segmentation and maximum-width analysis from MRCP scans. A coarse localisation model first identifies the ductal region-of-interest, followed by a fine model that segments the MPD within the region. The dataset consists of 256 MPD-segmented MRCP scans from 69 patients. A randomly selected holdout test subset of 14 patients with 55 MRCP volumes was used for evaluation. We employed a five-model cross-validation ensemble for improved performance and uncertainty estimation. The best MPD segmentation performance was 0.634 DSC, 0.744 precision, and 0.593 recall. The mean absolute error for maximum MPD width prediction was 0.355 mm and dilated MPD ( ≥\geq 5 mm) was detected with 75.0% sensitivity and 74.4% specificity. These novel results suggest that automated MPD segmentation can be used to aid MRCP-based duct measurements.

1 Introduction

Pancreatic cancer, most commonly pancreatic ductal adenocarcinoma (PDAC), is one of the most aggressive cancers worldwide, ranking seventh among cancer-related deaths, with incidence still increasing 1^{1}. One reason for the poor prognosis is that more than 80 % of patients with PDAC are diagnosed in late stages which is why early detection is critical for improving prognosis, as tumors often become inoperable after infiltrating adjacent structures. Imaging plays a central role in identification of early disease, including small solid tumors and secondary morphological changes in the pancreatic parenchyma and main pancreatic duct (MPD). Computed tomography (CT) is the main imaging modality used in the diagnosis of PDAC, while magnetic resonance imaging (MRI) is used as a problem-solving imaging modality for cases that are not conclusive in CT.

The main reason for this is that MRI provides a higher sensitivity for detecting small (< 2 cm) isodense lesions compared to CT 2^{2}. Another main advantage of MRI is the ability to obtain images of the ducts by magnetic resonance cholangiopancreatography (MRCP). MRCP imaging is based on heavily T2-weighted pulse sequences and thus highlights the natural differences in T2-weighted contrast between fluid-filled structures such as ducts and surrounding soft tissues 3^{3}. The MRCP is one of the imaging sequences taken routinely during abdominal MRI 4^{4}. In addition to an expansive tumour finding, imaging findings may be secondary 5^{5}. The most common of these is dilatation of the main pancreatic duct 6,7^{6,7} which can be associated with an obstructing tumour that causes focal stricture with dilatation upstream, and the stricture is usually abrupt in morphology and over 6 mm long in malignant cases 8^{8}. Changes in MPD can be detected in MRCP images 3^{3}.

In their study Toshima et al. 7^{7} concluded that most patients with pancreatic ductal adenocarcinoma showed focal pancreatic abnormalities on CT performed at least 1 year before diagnosis. The focal change in MPD diameter exhibited the shortest duration from its development to subsequent diagnosis 7^{7}. Hence, it is important to develop tools to maximise the acquisition of information about the morphology of the main duct. Moreover, the volume and diameter of MPD as features have been shown to improve the classification performance of pancreatic ductal adenocarcinoma compared to using only radiomics features 9^{9}.

Deep learning has been extensively applied in the field of medical image analysis, including a variety of tasks such as semantic segmentation, image to image enhancement, and classification. In medical image segmentation, U-net 10^{10}, i.e., the encoder-decoder architecture with skip connections, has become the standard model architecture. For volumetric segmentation,

3D variants such as 3D U-Net has been proposed 11^{11}. More recently, complex variants of U-net have been proposed, such as nnU-Net 12^{12}, which include fully automated preprocessing pipelines and automated architectural choice, such as number of layers and features, and Swin-UNETR 13^{13} that are still based on the encoder-decoder approach but instead of convolutional layers, it utilises shifted window approach and transformer blocks.

The segmentation of the main pancreatic duct using deep learning approaches has previously been studied using CT-based imaging. In the pancreatic domain, so far most automatic analysis of the main pancreatic duct (MPD) has been developed on CT rather than MRCP. Abi Nader et al. 14^{14} proposed a deep learning pipeline on portal venous CT for pancreatic lesion detection and MPD dilatation assessment. Their method first segmented the pancreas, lesions, and visible MPD using nnU-Net, and then derived imaging features including MPD diameters in the pancreatic head, body, and tail. In a large multi-institutional cohort, they reported a mean MPD Dice score of 0.58±0.370.58 \pm 0.37, showing both the feasibility and difficulty of automatic duct segmentation. More recently, Tan et al. 15^{15} studied MPD segmentation on photon-counting CT and reported an average Dice score of 0.621 using nnU-Net. In addition, Ambo et al. 16^{16} proposed an automated CT-based pipeline for MPD dilatation detection that combined pancreas segmentation, MPD segmentation, centreline estimation, and cross-sectional shape analysis. Together, these studies show that automatic duct analysis is possible, but the literature remains centred on CT. MPD segmentation has been studied with high resolution, high contrast, and large field-of-view Photon-Counting CT scans using nnU-Net, which was trained using 53 scans and evaluated on 13 scans, resulting in average DSC of 0.621150.621^{15}.

In contrast to studies with CT, there are few studies on MPD analysis based on MRCP volumes, largely due to limited availability of 3D MRCP datasets with expert annotation. However, MRCP is clinically important for MPD evaluation due to its high contrast for fluid-filled structures without ionizing radiation. Existing MRCP-based studies in pancreatic imaging are more commonly focused on detection or characterisation of pancreatic cystic lesions, or they rely on manual or semi-automatic duct segmentation, rather than delivering a fully automated 3D MPD segmentation tool 17^{17}. Beyer et al. 18^{18} established age-dependent reference values for the diameter of the pancreatic duct in MRCP in a large population dataset, showing that the diameter of the duct increases with age and that conventional upper limits may overestimate abnormality in healthy subjects. Ikezawa et al. 19^{19} studied the correlation between MPD diameter measurements on special pancreatic ultrasonography and MRCP, again treating MRCP as a measurement reference rather than as an input to automated image analysis. Similarly, Zhang et al. 20^{20} analysed MPD diameter on MRI to identify malignant intraductal papillary mucinous neoplasm, which reinforces the clinical importance of MPD width as a biomarker. Still there is no research work on the fully automated MPD segmentation-width analysis pipeline, the lack of which motivates the need for data-driven MRCP analysis approaches that explicitly address automated MPD width categorized classification.

References (22)