Next Article in Journal
Ozonated Water Modulates Cell Proliferation and Vascular Density in Solid Ehrlich Tumor of Mice
Previous Article in Journal
Long-Term Outcomes and EUSOMA Quality Indicators in a Large Single-Center Surgical Breast Cancer Cohort from North Africa
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Classification of Pancreatic Cancer and Normal Tissue in 2D and 3D Optical Coherence Tomography Images Using Convolutional Neural Networks: A Comparative Study

1
Department of General, Visceral, Pediatric and Transplantation Surgery, University Hospital RWTH Aachen, Pauwelsstrasse 30, 52074 Aachen, Germany
2
Fraunhofer Institute for Production Technology IPT, Steinbachstraße 17, 52074 Aachen, Germany
3
Laboratory for Machine Tools and Production Engineering (WZL) of RWTH Aachen University, Campus-Boulevard 30, 52074 Aachen, Germany
4
Institute for Pathology, University Hospital RWTH Aachen, Pauwelsstrasse 30, 52074 Aachen, Germany
*
Author to whom correspondence should be addressed.
Cancers 2026, 18(5), 732; https://doi.org/10.3390/cancers18050732
Submission received: 19 January 2026 / Revised: 18 February 2026 / Accepted: 23 February 2026 / Published: 25 February 2026

Simple Summary

Surgeons treating pancreatic cancer need to remove all cancer tissue to give patients the best chance of recovery. This study looked at whether a special imaging method, called optical coherence tomography (OCT), combined with artificial intelligence (AI), could tell cancer tissue apart from normal pancreatic tissue, which could be used to check if the entire tumor has been removed during surgery. Researchers scanned tissue that had already been removed from 27 patients with pancreatic cancer. They then trained computer programs to recognize differences between cancer and healthy tissue in these images. The best-performing program correctly identified cancer tissue most of the time and was also good at recognizing normal tissue. The results suggest that combining OCT with AI could one day help surgeons quickly check tissue during operations, possibly reducing the need for time-consuming laboratory tests. More research is needed to see how well this works during real surgeries on living patients.

Abstract

Background/Objectives: Early and complete (R0) surgical resection is essential for optimal outcomes in pancreatic cancer. Optical coherence tomography (OCT) combined with artificial intelligence (AI) may offer real-time intraoperative guidance, potentially reducing reliance on frozen sections. This ex vivo study evaluated convolutional neural networks (CNNs) for distinguishing pancreatic ductal adenocarcinoma (PDAC) from normal pancreatic tissue in OCT images obtained ex vivo. Methods: Between October 2020 and April 2021, OCT scans were obtained from resected pancreatic specimens of 27 adult patients. Tumor and adjacent normal tissue were imaged using a 1310 nm OCT system, followed by histopathological confirmation. A total of 25 PDAC and 30 non-malignant scans were preprocessed and analyzed using cross-validated CNN models (ResNet50, DenseNet121, and MobileNetV2) with both 2D and 3D inputs. Results: Using five-fold stratified cross-validation on 9040 2D and 3000 3D samples (224 px resolution), the 3D DenseNet121 model achieved the highest performance, with an F1-score of 0.74, sensitivity of 72%, and specificity of 81%. Other architectures demonstrated comparable results. Conclusions: AI-assisted OCT can accurately differentiate PDAC from normal pancreatic tissue ex vivo, supporting its potential as a rapid intraoperative diagnostic adjunct. Further studies are warranted to assess its in vivo performance and utility in evaluating resection margins.

1. Introduction

Pancreatic ductal adenocarcinoma (PDAC) is the 14th most common malignant neoplasm and the 7th leading cause of cancer-related death worldwide [1]. Its high mortality primarily stems from late diagnosis and the lack of effective treatment options for advanced disease. In Western Europe, the 5-year survival rate remains dismal, ranging between 0.5% and 9% [2]. Early detection (T1, N0, M0) is crucial for curative treatment but is rare due to nonspecific symptoms and the absence of reliable screening methods. Approximately 60–70% of tumors arise in the pancreatic head [3], where proximity to major vessels and bile ducts often leads to local invasion, rendering many tumors unresectable.
Complete (R0) surgical resection offers the best oncologic outcomes in pancreatic cancer [4]. Depending on tumor location and extent, surgical approaches include left pancreatic resection for tumors in the body or tail, the classical pancreatoduodenectomy (Kausch–Whipple procedure), or the pylorus-preserving Traverso–Longmire method for lesions of the pancreatic head [4]. Achieving an R0 resection requires accurate intraoperative margin assessment, currently performed by frozen section analysis. Although reliable, this technique is time-consuming and costly, extending operative duration and potentially increasing postoperative complications and hospital stay [5]. Given reported non-R0 resection rates ranging from <20% to >80% [6], more efficient and precise intraoperative margin assessment methods are urgently needed.
Optical coherence tomography (OCT) provides high-resolution, real-time imaging of tissue microstructures and represents a promising alternative [7,8,9,10]. When integrated with artificial intelligence (AI), particularly convolutional neural networks (CNN), OCT may enable automated and accurate tissue classification [11,12]. Previous studies have demonstrated the diagnostic potential of OCT combined with CNN—for instance, our group successfully applied this approach to differentiate colorectal liver metastases and cholangiocarcinoma from normal liver tissue [8,9,11]. However, existing studies on OCT for pancreatic tissue have largely excluded AI-based analysis [13,14,15,16,17,18].
This study investigates the feasibility of combining two- (2D) and three-dimensional (3D) OCT with CNN to differentiate PDAC from healthy pancreatic tissue ex vivo. We evaluate three established CNN architectures—ResNet50, DenseNet121, and MobileNetV2—selected for their proven performance in medical image classification, varying network complexity, and computational efficiency [19,20,21]. While 2D CNN models represent the established standard in OCT-based image analysis and have demonstrated robust performance across various clinical applications, OCT inherently provides volumetric information. PDAC is characterized by complex three-dimensional glandular and stromal architecture. We therefore hypothesized that 3D CNN may better capture spatial continuity, glandular structures, and microarchitectural distortions across adjacent slices, potentially improving tissue discrimination compared to single-slice 2D representations.

2. Materials and Methods

2.1. Patient Cohort and Inclusion Criteria

Consecutive adult patients undergoing elective pancreatic resection at University Hospital RWTH Aachen between October 2020 and April 2021 were included in this prospective study. Exclusion criteria comprised patients under 18 years, emergency procedures, and inability or unwillingness to provide informed consent.

2.2. Specimen Collection and Scanning

Freshly resected tissue specimens were immediately transported from the operating room to the pathology department for optimal preservation. A pathologist performed macroscopic evaluation and marked resection margins with colored ink. Following standard frozen section analysis [22], the specimens were cut into 0.5 cm slices, and OCT imaging was conducted (Figure 1). Both macroscopically healthy and suspicious regions were scanned using a table-top OCT system (Telesto™ V1, Thorlabs GmbH, Lübeck, Germany). Scanned regions were needle-marked and color-coded to ensure spatial correlation. After imaging, samples were formalin-fixed, paraffin-embedded, and stained with hematoxylin and eosin (H&E). A pathologist reviewed the histological slides to establish direct correspondence between OCT regions and histological diagnoses.

2.3. OCT Imaging System and Scan Settings

A spectral-domain OCT system with a central wavelength of 1310 nm was used, as described previously [7,8,9]. The system provides an axial resolution of 4.9 µm and a penetration depth of up to 2.5 mm. Each 3D volume (C-scan) covered 9.9 mm × 2.55 mm × 2.55 mm and consisted of 512 B-scans, each derived from multiple axial A-scans. The resulting voxel resolution was 2048 × 512 × 512 pixels, corresponding to 4.83 µm × 4.98 µm × 4.97 µm in the x-, y-, and z-directions, respectively. Due to hardware configuration differences during the acquisition period, lateral resolution varied between 2.5 µm, 3 µm and 4.9 µm.
To ensure comparability across scans, all volumes were resampled using 2D or 3D interpolation to a standardized spatial resolution, using the fixed axial resolution as reference. A C-scan refers to a complete three-dimensional OCT acquisition obtained from a defined tissue region. In this study, the terms scan, C-scan, and volume are used synonymously to describe a full 3D OCT dataset. Smaller image subsets were extracted from each C-scan for model training. A patch refers to a localized 2D or 3D subregion cropped from a C-scan. The term sample denotes an individual 2D or 3D patch used as input to the CNN.

2.4. Sample Generation

A total of 27 patients were included, yielding 55 C-scans: 30 from non-malignant pancreatic tissue and 25 from PDAC. To establish an independent test set, 18% of scans (5 non-malignant, 5 PDAC) were randomly selected and excluded from model training. The remaining 45 scans (25 healthy, 20 malignant) were used for training and cross-validation. Cross-validation and independent test splitting were performed at the scan level. Because multiple C-scans were obtained from individual patients, strict patient-level independence across splits cannot be fully guaranteed.
Due to the large size of OCT volumes, direct training on full scans was not feasible. Instead, smaller 2D and 3D patches were extracted while preserving key structural information. Regions with high contrast-to-noise ratio (CNR) were identified and selected for inclusion. An axial size of 320 pixels was chosen as optimal for information density. Extraction was performed such that a 3-pixel margin remained above the tissue surface to prevent loss of structural information. At the scan level, class distribution was balanced (30 non-malignant, 25 PDAC). Patch extraction was performed automatically using identical criteria across all scans without class-specific stratification. Therefore, patch-level distribution reflects the intrinsic tissue composition of the respective scans and was not manually adjusted.
This process yielded 11,148 2D samples (9040 training; 2108 test) and 3700 3D samples (3000 for training; 700 for testing). Preprocessing was performed individually for each C-scan without access to class labels. To mitigate inter-scan intensity variation and suppress outliers, every tenth B-scan within each C-scan was analyzed to derive scan-specific intensity statistic. For each selected B-scan, the mean of maximum intensity values per A-scan and the mean intensity values per A-scan were computed. These values were used to define lower and upper cutoff thresholds. Intensities outside these thresholds were clipped accordingly. Following intensity clipping, samples were linearly normalized to the 0–1 range. All preprocessing steps were derived solely from intra-scan intensity distributions and applies identically across training, validation, and test sets.
Non-representative samples (e.g., <50% tissue content or excessive adipose tissue) were excluded independent of diagnosis. For validation of tissue localization, grayscale images were binarized using a dynamic threshold at the 75th percentile of pixel intensities. This internal step ensured accurate tissue surface identification without altering the data provided to the CNN. Data augmentation was applied uniformly across all training samples to enhance variability and prevent overfitting. Horizontal flipping was applied with a probability of 50%. In addition, 3D samples were used to vary image contrast, with γ defined as γ = exp(β), where β was sampled from a uniform distribution U (−3, 3). After the first training epoch, samples were randomly shifted laterally to further increase dataset diversity. Shifts were sampled from a uniform distribution U (−25, 25) pixels. For 2D samples, shifts were applied along the lateral axis only.

2.5. Neural Network Analysis

Three convolutional neural network (CNN) architectures were evaluated: ResNet50, DenseNet121, and MobileNetV2. ResNet50 employs skip connections to preserve image features across deeper layers, serving as a standard reference model in medical imaging [20,21]. DenseNet121 connects each layer to all preceding layers, improving feature reuse and efficiency—beneficial for smaller medical datasets [20]. MobileNetV2 is optimized for computational efficiency, making it suitable for potential intraoperative applications [19]. The selected architectures represent complementary and widely established CNN design strategies in medical image analysis.
Transfer learning was implemented to enhance performance. For 2D models, ImageNet (ILSVRC) pre-trained weights were applied. For 3D models, 2D filters were extended along the third dimension to simulate pretraining effects. Model robustness was assessed using five-fold stratified cross-validation. In each iteration, four folds were used for training and one for validation, with results averaged across all folds to reduce bias and overfitting.
All models were optimized using the Adam optimizer (PyTorch v2.9.1 implementation) with default parameters and trained for 50 epochs with an initial learning rate of 1e–4, reduced by a factor of 0.1 after five epochs without improvement in validation loss. Early stopping was not applied. Manual reductions were also applied at 10, 15, 20, and 30 epochs based on cross-validation results. Hyperparameters were kept consistent across models to ensure comparability rather than maximize architecture-specific performance. The batch size was 32 for 2D models and 16 for 3D models (via gradient accumulation over eight mini-batches of two samples each). Weight decay was set to 0. No additional dropout layers were introduced. Models were trained on the complete training set and evaluated on the independent test set.

3. Results

3.1. Specimen Statistics

A total of 27 patients were included in the study, comprising 15 females and 12 males. Of these, 20 patients underwent pancreatoduodenectomy, yielding 41 C-scans. Five patients underwent left-sided pancreatic resection, yielding 11 C-scans, while 2 patients underwent atypical resections, producing 3 C-scans. In total, 55 C-scans were analyzed.

3.2. Cross-Validation and Known-Data Test Results

All CNN architectures exhibited consistent learning behavior during five-fold cross-validation. Training loss declined markedly within the first 10–15 epochs across all models. In 2D architectures, validation loss initially increased slightly before stabilizing, whereas 3D models demonstrated stable validation loss and achieved higher accuracy and F1-scores throughout training. Among the evaluated models, DenseNet achieved the best validation performance, followed by MobileNet and ResNet. In general, 3D models outperformed 2D models, displaying superior generalization and lower inter-fold variability. However, increasing the lateral sample size in 3D inputs resulted in higher loss and reduced accuracy, suggesting diminishing returns beyond the optimal patch size.
After cross-validation, final models were retrained on the complete training set. All models exhibited a similar learning trajectory: a rapid decrease in binary cross-entropy loss and an increase in accuracy during the first 10 epochs, followed by convergence around epoch 15 after learning rate adjustments. In final performance metrics, 2D DenseNet and 2D ResNet achieved the lowest loss (~0.01), followed by 2D MobileNet and 3D ResNet (~0.03). Additionally, 3D DenseNet and 3D MobileNet converged at slightly higher loss values (~0.07). Accuracy and F1-scores reflected similar trends, with 2D models achieving marginally higher values overall compared with 3D counterparts during validation. Detailed results of the cross-validation process are shown in Figure 2 and Table 1. Paired fold-level comparison of 2D and 3D CNN cross-validation results, with a paired t-test and Cohen’s d, are shown in Table 2. Here, mean F1 scores and accuracy from the cross-validation runs of 2D and 3D versions of the same model are compared. Results are significantly better for the 3D architectures of the DenseNet and MobileNet models.

3.3. Unknown Data/Test Set Results

Independent evaluation was performed on a reserved test set comprising 10 scans (5 non-malignant and 5 malignant). Sensitivity, specificity, accuracy, and F1-score were calculated for each architecture (Table 3). The 3D DenseNet model achieved the highest overall diagnostic performance, with a specificity of 81%, sensitivity of 72%, and the highest F1-score (0.74). Other architectures demonstrated comparable classification results, with 3D variants consistently outperforming their 2D equivalents in both sensitivity and specificity.

4. Discussion

In this ex vivo study, we demonstrated the potential of OCT combined with AI-assisted image analysis to differentiate PDAC from non-malignant pancreatic tissue ex vivo. The results were consistent across multiple CNN architectures, with minimal performance variation between models. To our knowledge, this is the first study to apply deep learning to OCT imaging of pancreatic tissue and the first to directly compare 2D and 3D CNN approaches in this context.
Across all architectures, 3D models consistently outperformed their 2D counterparts, despite being trained on a smaller number of samples (C-scans instead of B-Scans). This finding highlights the superior capacity of volumetric OCT data to capture spatial and textural features relevant for tissue differentiation. Although 3D acquisition and analysis are more time-intensive, they yield more reliable diagnostic performance. Among the tested architectures, ResNet achieved the lowest overall performance but still produced acceptable results, with a specificity of 83% and sensitivity of 69% in its 3D configuration. For DenseNet121 and MobileNetV2, 3D models achieved significantly higher F1-score and accuracy compared to their 2D variants. In contrast, no statistically significant differences were detected between 2D and 3D configurations of ResNet50.
Our results are not directly comparable to previous studies on OCT-based pancreatic tissue characterization, as these did not employ AI-methods. For example, Van Manen et al. [13] examined 100 OCT images from specimens of 29 patients, with two pathologists scoring images as malignant or benign independently. They achieved a sensitivity of 72% and specificity of 74%, respectively, when compared to the corresponding H&E slides [13]. In an explorative study, Kist et al. [14] examined samples from 4 patients who underwent pancreatic surgery. They examined the feasibility of OCT for distinguishing benign, premalignant, and malignant pancreatic lesions, without conducting any formal statistical analysis. Additionally, Iftimia et al. [16] examined 66 fresh pancreatectomy specimens from patients with cystic lesions, which were split into training and test sets. Criteria developed using the first set were applied by three clinicians to classify OCT images in the test set and results were compared to histological examination, with sensitivity and specificity reaching values over 95%. Other studies focused on feasibility of OCT imaging in pancreatic tissues, such as a needle-based approach in hamster pancreata [15], in vivo scanning of canine pancreatobiliary systems [23] and other OCT-based approaches [24]. Further studies have been carried out on the pancreatobiliary system without specifically focusing on pancreas and related pathologies [17,18,25,26,27].
Nevertheless, our results are consistent with prior work applying AI-assisted OCT imaging in oncologic contexts. In previous studies, our group demonstrated high diagnostic accuracy using CNN-based analysis of OCT data, achieving F1-scores of 0.93 for differentiating colorectal liver metastases and healthy liver tissue [9] and 0.94 for intrahepatic cholangiocarcinoma [8]. Furthermore, Luo et al. achieved an area under the curve of 0.975 in distinguishing colorectal cancer from normal colon tissues, using OCT combined with ResNet in 43 tissue specimens [28]. Finally, Scholler et al. combined OCT with various AI-algorithms, including CNN, to reach accuracies of over 96% in distinguishing breast cancer from normal tissue in mastectomy specimens [29]. The lower accuracy observed in the current study can be partly attributed to the complex histoarchitecture of pancreatic tissue, which exhibits heterogeneous glandular structures, variable fat content, and collagen fibers, which can simulate PDAC. This complicates both OCT signal interpretation and CNN-based classification [13].
Although no prior work has compared 2D and 3D CNNs for pancreatic OCT data, similar studies in other tissues support our observations. For example, Rasel et al. compared 2D and 3D CNNs for glaucoma detection from retinal OCT volumes. They reported slightly superior performance for 2D models (AUC up to 0.96), likely due to overfitting in 3D models and limited dataset size [30]. Conversely, Tampu et al. evaluated thyroid OCT images and found that a 3D Vision Transformer outperformed 2D CNNs, achieving 90% accuracy and a Matthews correlation coefficient of 0.79 [31]. These findings collectively suggest that 3D architectures may provide diagnostic advantages when sufficient data and computational resources are available. These findings collectively suggest that 3D architectures may provide diagnostic advantages when sufficient data and computational resources are available. Direct comparisons between 2D and 3D CNN approaches for OCT data remain uncommon. A recent 2024 study investigating glaucoma detection from retinal OCT volumes reported that 2D CNN outperformed 3D models, likely reflecting dataset size and overfitting constraints rather than inherent architectural superiority [32]. To our knowledge, comparable 2D versus 3D analyses in OCT-based tissue characterization of pancreas have not yet been reported.
This study’s strengths include the use of histopathologically verified region-level labeling, the systematic evaluation of three CNN architectures across 2D and 3D input formats, and the implementation of repeated sampling and cross-validation for robust model assessment. Despite moderate classification performance, the findings establish a methodological foundation for future optimization and potential intraoperative application.
Several limitations must be acknowledged. First, the analyses were performed ex vivo; thus, the influence of physiological motion, perfusion, and temperature on in vivo imaging remains to be determined. Second, while 3D imaging provided superior accuracy, its acquisition and processing times may currently limit intraoperative feasibility. Third, all scans were acquired at a single center using the same OCT system under standardized ex vivo conditions. While this ensured methodological consistency, it limits technical variability and may restrict generalizability across different institutions, devices, operators, and clinical environments. Fourth, the relatively small cohort size constrained model generalizability. Although scan-level class distribution was balanced, the limited number of patients and acquisition settings may not fully capture the biological and technical heterogeneity of PDAC. Larger, multicenter datasets will therefore be essential for external validation. Finally, an important methodological limitation is that data splitting was performed at the scan level rather than at the patient level. As several scans originated from the same patient, overlap of patient data across training and test sets cannot be excluded. Future studies should ensure strict patient-level stratification to improve generalizability.
Overall, these findings support the feasibility of CNN-assisted OCT for rapid, label-free tissue differentiation in pancreatic surgery. A potential near-term clinical application could involve intraoperative assessment of resection margins to complement frozen section analysis, provided real-time acquisition and processing can be achieved. Additionally, integration into endoscopic ultrasound-guided platforms may allow enhanced characterization of suspicious pancreatic lesions during diagnostic procedures [10,17]. However, translation into clinical workflows requires several intermediate steps, including prospective in vivo validation, strict patient-level data separation, multicenter external validation, and benchmarking against established intraoperative diagnostic standards. Larger, prospective studies are necessary before routine clinical implementation can be considered.

5. Conclusions

This proof-of-concept study demonstrates that OCT combined with CNN-assisted image analysis enables reliable differentiation between PDAC and non-malignant pancreatic tissue ex vivo. The results highlight the potential of AI-assisted OCT for intraoperative application, offering a pathway to reduce operative time by minimizing reliance on frozen section diagnostics. While the results are promising, further validation in larger, prospectively designed in vivo studies is necessary before translation into intraoperative clinical workflows. Future research should focus on validating this approach in clinical settings, particularly for in vivo imaging and real-time assessment of resection margins.

Author Contributions

The study was designed by the initiating study team (M.D., B.W. and I.A.). Data collection and analysis were carried out by M.D., B.W., S.W., K.J., S.C., G.W. and I.A. The manuscript was drafted by M.D. All additional authors (C.G., N.K., R.S., M.W.v.W., T.V., F.W.R.V.) contributed substantially to the final version of the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research project was supported by the START-Program (#01/23) of the Faculty of Medicine of the RWTH Aachen University, Aachen, Germany. The funding body was not involved in study design, data collection, data analysis, manuscript preparation or the decision to publish.

Institutional Review Board Statement

The study was conducted under the ethical approval of the Institutional Review Board of the RWTH Aachen University (EK-105/20, approved on 22 June 2020) and in accordance with the current version of the Declaration of Helsinki, the Declaration of Istanbul, and good clinical practice guidelines (ICHGCP). Informed consent was waived due to the retrospective study design and collection of readily available clinical data. The authors are accountable for all aspects of the work (if applied, including full data access, integrity of the data and the accuracy of the data analysis) and in ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Data used and generated during this study can be made available upon reasonable request to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
2DTwo-dimensional
3DThree-dimensional
AIArtificial Intelligence
CNRContrast-to-Noise Ratio
CNNConvolutional Neural Network
CVCross-Validation
DLDeep Learning
H&E Hematoxylin and Eosin
MLMachine Learning
OCTOptical Coherence Tomography
PDACPancreatic ductal adenocarcinoma

References

  1. Bray, F.; Ferlay, J.; Soerjomataram, I.; Siegel, R.L.; Torre, L.A.; Jemal, A. Global cancer statistics 2018: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA A Cancer J. Clin. 2018, 68, 394–424. [Google Scholar] [CrossRef]
  2. Carrato, A.; Falcone, A.; Ducreux, M.; Valle, J.W.; Parnaby, A.; Djazouli, K.; Alnwick-Allu, K.; Hutchings, A.; Palaska, C.; Parthenaki, I. A Systematic Review of the Burden of Pancreatic Cancer in Europe: Real-World Impact on Survival, Quality of Life and Costs. J. Gastrointest. Cancer 2015, 46, 201–211. [Google Scholar] [CrossRef]
  3. Luchini, C.; Capelli, P.; Scarpa, A. Pancreatic Ductal Adenocarcinoma and Its Variants. Surg. Pathol. Clin. 2016, 9, 547–560. [Google Scholar] [CrossRef] [PubMed]
  4. Conroy, T.; Pfeiffer, P.; Vilgrain, V.; Lamarca, A.; Seufferlein, T.; O’reilly, E.; Hackert, T.; Golan, T.; Prager, G.; Haustermans, K.; et al. Pancreatic cancer: ESMO Clinical Practice Guideline for diagnosis, treatment and follow-up. Ann. Oncol. 2023, 34, 987–1002. [Google Scholar] [CrossRef]
  5. Williams, M.D.; Bhama, A.R.; Naffouje, S.; Kamarajah, S.K.; Becerra, A.Z.; Zhang, Y.; Pappas, S.G.; Dahdaleh, F.S. Effect of Operative Time on Outcomes of Minimally Invasive Versus Open Pancreatoduodenectomy. J. Gastrointest. Surg. 2022, 27, 93–104. [Google Scholar] [CrossRef]
  6. Rau, B.M.; Moritz, K.; Schuschan, S.; Alsfasser, G.; Prall, F.; Klar, E. R1 resection in pancreatic cancer has significant impact on long-term outcome in standardized pathology modified for routine use. Surgery 2012, 152, S103–S111. [Google Scholar] [CrossRef]
  7. Garcia-Allende, P.B.; Amygdalos, I.; Dhanapala, H.; Goldin, R.D.; Hanna, G.B.; Elson, D.S. Morphological analysis of optical coherence tomography images for automated classification of gastrointestinal tissues. Biomed. Opt. Express 2011, 2, 2821–2836. [Google Scholar] [CrossRef] [PubMed]
  8. Wolff, L.I.; Hachgenei, E.; Goßmann, P.; Druzenko, M.; Frye, M.; König, N.; Schmitt, R.H.; Chrysos, A.; Jöchle, K.; Truhn, D.; et al. Optical coherence tomography combined with convolutional neural networks can differentiate between intrahepatic cholangiocarcinoma and liver parenchyma ex vivo. J. Cancer Res. Clin. Oncol. 2023, 149, 7877–7885. [Google Scholar] [CrossRef]
  9. Amygdalos, I.; Hachgenei, E.; Burkl, L.; Vargas, D.; Goßmann, P.; Wolff, L.I.; Druzenko, M.; Frye, M.; König, N.; Schmitt, R.H.; et al. Optical coherence tomography and convolutional neural networks can differentiate colorectal liver metastases from liver parenchyma ex vivo. J. Cancer Res. Clin. Oncol. 2022, 149, 3575–3586. [Google Scholar] [CrossRef]
  10. Gora, M.J.; Suter, M.J.; Tearney, G.J.; Li, X. Endoscopic optical coherence tomography: Technologies and clinical applications [Invited]. Biomed. Opt. Express 2017, 8, 2405–2444. [Google Scholar] [CrossRef]
  11. Alikarami, M.; Faraj, T.A.; Hama, N.H.; Hosseini, A.S.; Habibi, P.; Mosleh, I.S.; Alavi, M.; Kashani, M.; Aminnezhad, S. Artificial intelligence in advancing optical coherence tomography for disease detection and cancer diagnosis: A scoping review. Eur. J. Surg. Oncol. (EJSO) 2025, 51, 110188. [Google Scholar] [CrossRef]
  12. Weaver, H.L.; Fontes, G.S.; Shen, Y.; Jennings, R.; Lapsley, J.M.; Selmic, L.E. Polarisation Sensitive Optical Coherence Tomography Image Characteristics for Gastrointestinal Tumours and Normal Tissues at Surgical Margins in Dogs. Vet. Comp. Oncol. 2025, 23, 486–492. [Google Scholar] [CrossRef]
  13. van Manen, L.; Stegehuis, P.L.; Fariña-Sarasqueta, A.; de Haan, L.M.; Eggermont, J.; Bonsing, B.A.; Morreau, H.; Lelieveldt, B.P.F.; van de Velde, C.J.H.; Vahrmeijer, A.L.; et al. Validation of full-field optical coherence tomography in distinguishing malignant and benign tissue in resected pancreatic cancer specimens. PLoS ONE 2017, 12, e0175862. [Google Scholar] [CrossRef]
  14. Kist, M.; Strenge, P.; Keck, T.; Weber, A.; Bronsert, P.; Abdalla, T.S.A.; Wellner, U.F.; Thomaschewski, M. Intraoperative differentiation of pancreatic neoplastic lesions using optical coherence tomography (OCT). Langenbeck’s Arch. Surg. 2025, 410, 227. [Google Scholar] [CrossRef]
  15. Hwang, J.H.; Cobb, M.J.; Kimmey, M.B.; Li, X. Optical Coherence Tomography Imaging of the Pancreas: A Needle-Based Approach. Clin. Gastroenterol. Hepatol. 2005, 3, S49–S52. [Google Scholar] [CrossRef] [PubMed]
  16. Cizginer, S.; Deshpande, V.; Pitman, M.; Tatli, S.; Iftimia, N.-A.; Hammer, D.X.; Mujat, M.; Ustun, T.; Ferguson, R.D.; Brugge, W.R. Differentiation of pancreatic cysts with optical coherence tomography (OCT) imaging: An ex vivo pilot study. Biomed. Opt. Express 2011, 2, 2372–2382. [Google Scholar] [CrossRef] [PubMed]
  17. Mahmud, M.S.; May, G.R.; Kamal, M.M.; Khwaja, A.S.; Sun, C.; Vitkin, A.; Yang, V.X. Imaging pancreatobiliary ductal system with optical coherence tomography: A review. World J. Gastrointest. Endosc. 2013, 5, 540–550. [Google Scholar] [CrossRef]
  18. Tyberg, A.; Xu, M.-M.; Gaidhane, M.; Kahaleh, M. Second generation optical coherence tomography: Preliminary experience in pancreatic and biliary strictures. Dig. Liver Dis. 2018, 50, 1214–1217. [Google Scholar] [CrossRef]
  19. Movassagh, A.A.; Jajroudi, M.; Jafari, A.H.; Pour, E.K.; Farrokhpour, H.; Faghihi, H.; Riazi, H.; ArabAlibeik, H. Quantifying the Characteristics of Diabetic Retinopathy in Macular Optical Coherence Tomography Angiography Images: A Few-Shot Learning and Explainable Artificial Intelligence Approach. Cureus 2025, 17, e76746. [Google Scholar] [CrossRef] [PubMed]
  20. Wang, Y.; Chen, C.; Wang, Z.; Wu, Y.; Lu, H.; Xiong, J.; Sugisawa, K.; Kamoi, K.; Ohno-Matsui, K. Development of Deep Learning Models to Screen Posterior Staphylomas in Highly Myopic Eyes Using UWF-OCT Images. Transl. Vis. Sci. Technol. 2025, 14, 25. [Google Scholar] [CrossRef]
  21. Yao, H.; Wang, X.; Suo, Y.; He, J.; Chu, C.; Yang, Z.; Xu, Q.; Zhou, J.; Zhu, M.; Sun, X.; et al. Primary angle-closed diseases recognition through artificial intelligence-based anterior segment-optical coherence tomography imaging. Graefe’s Arch. Clin. Exp. Ophthalmol. 2024, 263, 1081–1087. [Google Scholar] [CrossRef]
  22. Mogler, C.; Flechtenmacher, C.; Schirmacher, P.; Bergmann, F. Schnellschnittdiagnostik in der Viszeralchirurgie: Leber, Gallenwege und Pankreas [Frozen section diagnostics in visceral surgery: Liver, bile ducts and pancreas]. Der Pathologe. 2012, 33, 413–423. (In German) [Google Scholar] [CrossRef]
  23. Singh, P.; Chak, A.; Willis, J.E.; Rollins, A.; Sivak, M.V. In vivo optical coherence tomography imaging of the pancreatic and biliary ductal system. Gastrointest. Endosc. 2005, 62, 970–974. [Google Scholar] [CrossRef]
  24. Yu, X.; Ding, Q.; Hu, C.; Mu, G.; Deng, Y.; Luo, Y.; Yuan, Z.; Yu, H.; Liu, L. Evaluating Micro-Optical Coherence Tomography as a Feasible Imaging Tool for Pancreatic Disease Diagnosis. IEEE J. Sel. Top. Quantum Electron. 2018, 25, 6800108. [Google Scholar] [CrossRef]
  25. Testoni, P.; Mariani, A.; Mangiavillano, B.; Albarello, L.; Arcidiacono, P.; Masci, E.; Doglioni, C. Main pancreatic duct, common bile duct and sphincter of Oddi structure visualized by optical coherence tomography: An ex vivo study compared with histology. Dig. Liver Dis. 2006, 38, 409–414. [Google Scholar] [CrossRef]
  26. Tabibian, J.H.; Visrodia, K.H.; Levy, M.J.; Gostout, C.J. Advanced endoscopic imaging of indeterminate biliary strictures. World J. Gastrointest. Endosc. 2015, 7, 1268–1278. [Google Scholar] [CrossRef]
  27. Joshi, V.; Patel, S.N.; Vanderveldt, H.; Oliva, I.; Raijman, I.; Molina, C.; Carr-Locke, D.L. Mo1963 A Pilot Study of Safety and Efficacy of Directed Cannulation With a Low Profile Catheter (LP) and Imaging Characteristics of Bile Duct Wall Using Optical Coherance Tomography (OCT) for Indeterminate Biliary Strictures Initial Report on In-Vivo Evaluation During ERCP. Gastrointest. Endosc. 2017, 85, AB496–AB497. [Google Scholar] [CrossRef]
  28. Luo, H.; Li, S.; Zeng, Y.; Cheema, H.; Otegbeye, E.; Ahmed, S.; Chapman, W.C.; Mutch, M.; Zhou, C.; Zhu, Q. Human colorectal cancer tissue assessment using optical coherence tomography catheter and deep learning. J. Biophotonics 2022, 15, e202100349. [Google Scholar] [CrossRef]
  29. Scholler, J.; Mandache, D.; Mathieu, M.C.; Ben Lakhdar, A.; Darche, M.; Monfort, T.; Boccara, C.; Olivo-Marin, J.-C.; Grieve, K.; Meas-Yedid, V.; et al. Automatic diagnosis and classification of breast surgical samples with dynamic full-field OCT and machine learning. J. Med. Imaging 2023, 10, 034504. [Google Scholar] [CrossRef] [PubMed]
  30. Rasel, R.K.; Wu, F.; Chiariglione, M.; Choi, S.S.; Doble, N.; Gao, X.R. Assessing the efficacy of 2D and 3D CNN algorithms in OCT-based glaucoma detection. Sci. Rep. 2024, 14, 11758. [Google Scholar] [CrossRef]
  31. Tampu, I.E.; Eklund, A.; Johansson, K.; Gimm, O.; Haj-Hosseini, N. Diseased thyroid tissue classification inOCTimages using deep learning: Towards surgical decision support. J. Biophotonics 2022, 16, e202200227. [Google Scholar] [CrossRef] [PubMed]
  32. Ly, S.; Badré, A.; Brandt, P.; Wang, C.; Calle, P.; Reynolds, J.; Zhang, Q.; Fung, K.; Cui, H.; Yu, Z.; et al. Deep Learning for Autonomous Surgical Guidance Using 3-Dimensional Images From Forward-Viewing Endoscopic Optical Coherence Tomography. J. Biophotonics 2025, 18, e202500181. [Google Scholar] [CrossRef] [PubMed]
Figure 1. A typical OCT scanning orientation of a pancreas specimen with PDAC.
Figure 1. A typical OCT scanning orientation of a pancreas specimen with PDAC.
Cancers 18 00732 g001
Figure 2. Confusion matrix values (TP = true positive, FN = false negative, FP = false positive, TN = true negative) across five cross-validation folds for all CNN models (2D and 3D).
Figure 2. Confusion matrix values (TP = true positive, FN = false negative, FP = false positive, TN = true negative) across five cross-validation folds for all CNN models (2D and 3D).
Cancers 18 00732 g002
Table 1. Performance metrics for DenseNet121, ResNet50, and MobileNetV2 in 2D and 3D across five cross-validation (CV) folds and their respective mean values.
Table 1. Performance metrics for DenseNet121, ResNet50, and MobileNetV2 in 2D and 3D across five cross-validation (CV) folds and their respective mean values.
CNN, CVSensitivity/RecallSpecificityPPV/PrecisionNPVAccuracyF1-Score
DenseNet 2D CV10.550.920.880.650.730.68
DenseNet 2D CV20.810.620.660.780.710.73
DenseNet 2D CV30.950.830.830.950.890.89
DenseNet 2D CV40.920.950.960.920.940.94
DenseNet 2D CV50.610.750.640.720.690.62
DenseNet 2D mean0.770.810.800.800.790.77
DenseNet 3D CV10.620.970.960.700.790.76
DenseNet 3D CV20.920.690.730.910.800.82
DenseNet 3D CV30.990.890.890.990.940.94
DenseNet 3D CV40.920.950.950.910.930.94
DenseNet 3D CV50.650.860.790.800.800.71
DenseNet 3D mean0.820.870.860.860.850.83
ResNet 2D CV10.510.900.850.630.700.64
ResNet 2D CV20.800.560.630.750.680.70
ResNet 2D CV30.960.800.810.950.880.88
ResNet 2D CV40.850.970.970.850.910.91
ResNet 2D CV50.650.610.550.700.630.60
ResNet 2D mean0.750.770.760.780.760.75
ResNet3D CV10.540.920.880.640.720.67
ResNet3D CV20.960.660.720.950.800.82
ResNet3D CV30.980.920.910.980.950.95
ResNet3D CV40.710.960.950.730.820.81
ResNet3D CV50.590.750.640.710.680.61
ResNet 3D mean0.760.840.820.800.790.77
MobileNet 2D CV10.540.910.870.640.710.66
MobileNet 2D CV20.730.650.660.730.690.69
MobileNet 2D CV30.960.790.800.960.870.88
MobileNet 2D CV40.900.950.950.890.920.93
MobileNet 2D CV50.530.770.630.690.670.58
MobileNet 2D mean0.730.810.780.780.770.75
MobileNet 3D CV10.620.960.940.690.780.75
MobileNet 3D CV20.930.770.780.920.840.85
MobileNet 3D CV31.000.930.931.000.960.96
MobileNet 3D CV40.910.930.940.900.920.93
MobileNet 3D CV50.740.740.680.790.740.71
MobileNet 3D mean0.840.870.860.860.850.84
Reported metrics include sensitivity (recall), specificity, positive predictive value (PPV/precision), negative predictive value (NPV), accuracy, and F1-score. Mean values for each model across 5 CV-folds are shown in bold.
Table 2. Paired fold-level comparison of 2D and 3D CNN cross-validation results, with a paired t-test and Cohen’s d.
Table 2. Paired fold-level comparison of 2D and 3D CNN cross-validation results, with a paired t-test and Cohen’s d.
CNNMetricMean Δ (3D vs. 2D)95% CI of Δp-ValueCohen’s dCNN
DenseNet121F10.061[0.012–0.111]0.0261.547DenseNet121
DenseNet121Accuracy0.040[0.009–0.115]0.0321.442DenseNet121
ResNet50F10.028[−0.072–0.128]0.4820.346ResNet50
ResNet50Accuracy0.026[−0.060–0.136]0.3440.480ResNet50
MobileNetV2F11.547[0.018–0.168]0.0261.541MobileNetV2
MobileNetV2Accuracy0.077[0.007–0.147]0.0381.360MobileNetV2
The difference in metrics between 3D and 2D models is given as Δ, with 95% confidence intervals.
Table 3. Classification performance of 2D and 3D CNN architectures on the test data.
Table 3. Classification performance of 2D and 3D CNN architectures on the test data.
CNNSensitivitySpecificityAccuracyF1-Score
Densenet1210.710.680.690.68
Densenet121 3D0.720.810.770.74
Mobilenet_v20.720.700.710.69
Mobilenet_v2 3D0.600.860.740.67
ResNet500.690.700.700.68
ResNet50 3D0.690.830.790.73
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Druzenko, M.; Westerheide, B.; Girmen, C.; König, N.; Schmitt, R.; Warkentin, S.; Jöchle, K.; Cammann, S.; Wiltberger, G.; von Websky, M.W.; et al. Classification of Pancreatic Cancer and Normal Tissue in 2D and 3D Optical Coherence Tomography Images Using Convolutional Neural Networks: A Comparative Study. Cancers 2026, 18, 732. https://doi.org/10.3390/cancers18050732

AMA Style

Druzenko M, Westerheide B, Girmen C, König N, Schmitt R, Warkentin S, Jöchle K, Cammann S, Wiltberger G, von Websky MW, et al. Classification of Pancreatic Cancer and Normal Tissue in 2D and 3D Optical Coherence Tomography Images Using Convolutional Neural Networks: A Comparative Study. Cancers. 2026; 18(5):732. https://doi.org/10.3390/cancers18050732

Chicago/Turabian Style

Druzenko, Maria, Bastian Westerheide, Caroline Girmen, Niels König, Robert Schmitt, Svetlana Warkentin, Katharina Jöchle, Sebastian Cammann, Georg Wiltberger, Martin W. von Websky, and et al. 2026. "Classification of Pancreatic Cancer and Normal Tissue in 2D and 3D Optical Coherence Tomography Images Using Convolutional Neural Networks: A Comparative Study" Cancers 18, no. 5: 732. https://doi.org/10.3390/cancers18050732

APA Style

Druzenko, M., Westerheide, B., Girmen, C., König, N., Schmitt, R., Warkentin, S., Jöchle, K., Cammann, S., Wiltberger, G., von Websky, M. W., Vogel, T., Vondran, F. W. R., & Amygdalos, I. (2026). Classification of Pancreatic Cancer and Normal Tissue in 2D and 3D Optical Coherence Tomography Images Using Convolutional Neural Networks: A Comparative Study. Cancers, 18(5), 732. https://doi.org/10.3390/cancers18050732

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop