Curated endoscopic retrograde cholangiopancreatography images dataset These authors contributed equally. These authors jointly supervised this work.
Alda João Andrade, Mónica Martins, André Ferreira, Tarcísio Araújo, Luís Lopes, Victor Alves · 2026
Read Curated endoscopic retrograde cholangiopancreatography images dataset These authors contributed equally. These authors jointly supervised this work. by Alda João Andrade, Mónica Martins, André Ferreira, Tarcísio Araújo, Luís Lopes, Victor Alves (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-16759.txt.
Introduction
Alda Andrade, Mónica Martins, André Ferreira, Tarcísio Araújo, Luís Lopes, and Victor Alves share a new photo set for gut care. The set holds scope shots from a test called ERCP. That test lets docs see and treat bile and pancreas ducts. AI could help docs read such shots fast. But free photo sets for this test are rare.
Their 2026 preprint fills that gap with a large, cleaned set. Each shot was picked and checked with care. Labs can now train tools on the same base. Shared sets make tool tests fair and clear. They may speed safe AI help in gut clinics.
Catalog record
| CREATOR | Alda João Andrade, Mónica Martins, André Ferreira, Tarcísio Araújo, Luís Lopes, Victor Alves |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 20 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-16759
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Curated endoscopic retrograde cholangiopancreatography images dataset These authors contributed equally. These authors jointly supervised this work. Alda João Andrade, Mónica Martins, André Ferreira, Tarcísio Araújo, Luís Lopes, Victor Alves Abstract Endoscopic Retrograde Cholangiopancreatography (ERCP) is a key procedure in the diagnosis and treatment of biliary and pancreatic diseases. Artificial intelligence has been pointed as one solution to automatize diagnosis. However, public ERCP datasets are scarce, which limits the use of such approach. Therefore, this study aims to help fill this gap by providing a large and curated dataset. The collection is composed of 19.018 raw images and 19.317 processed from 1.602 patients. 5.519 images are labeled, which provides a ready to use dataset. All images were manually inspected and annotated by two gastroenterologist with more than 5 years of experience and reviewed by another gastroenterologist with more than 20 years of experience, all with more than 400 ERCP procedures annually. The utility and validity of the dataset is proven by a classification experiment. This collection aims to provide or contribute for a benchmark in automatic ERCP analysis and diagnosis of biliary and pancreatic diseases. 1 Background & Summary Endoscopic Retrograde Cholangiopancreatography (ERCP) is a key procedure in the diagnosis and treatment of biliary and pancreatic diseases, yet publicly available imaging datasets documenting its fluoroscopic component are extremely limited. At the same time, recent reviews have highlighted a growing interest in applying Artificial Intelligence (AI) approaches to pancreaticobiliary endoscopy, including ERCP, for tasks such as the prediction of post-ERCP pancreatitis and the differentiation between malignant and benign bile-duct strictures [ 1 , 2 , 3 ] . Despite this increasing interest, this field is consistently described as being at an early stage of development, primarly due to methodological and data-related limitations [ 4 , 5 ] . Most existing studies are based on small, single-center datasets, which undermines reproducibility and limits the generalization of the proposed models [ 6 , 3 , 7 ] . Moreover, the lack of publicly available fluoroscopic ERCP image repositories hinders the development of standardized benchmarks for tasks such as image classification, lesion detection and procedural quality assessment. Therefore, this dataset was compiled to help address these limitations by providing a structured and anonymized collection of ERCP fluoroscopic images obtained during routine clinical practice at a tertiary care center. Through systematic selection and preprocessing, the dataset offers a resource that researchers can use to explore computational methods applicable to real-world ERCP imaging, supporting methodological studies in machine learning, computer vision, and interventional endoscopy. The dataset is composed of fluoroscopy images acquired during ERCP procedures and includes clinically relevant categories such as biliary lithiasis, biliary leaks, benign strictures, malignant strictures, and normal findings. The images are made publicly available and are intended to complement existing endoscopic imaging resources [ 8 , 9 , 10 ] . The dataset may be used in studies involving image-based analysis of therapeutic endoscopy procedures, including the development and evaluation of automatic image classification methods. Labeled and unlabeled images are present in the dataset, allowing its use in fully supervised learning approaches when considering only the labeled subset, as well as in semi-supervised or weakly supervised learning research that combines both labeled and unlabeled data. Furthermore, the collection can be used for transfer learning and data augmentation, facilitating the adaptation of existing models to fluoroscopic imaging and other medical imaging modalities. Beyond research, the dataset can be used as an educational resource for trainees and specialists in gastroenterology and radiology, as well as for computer vision researchers, promoting interdisciplinary training in ERCP interpretation and AI applications in gastroenterology. 2 Methods The DICOM files were retrospectively extracted from the clinical archive of a tertiary care hospital using the SECTRA PACS system, enabling the collection of ERCP images acquired between 2015 and 2025. All procedures were performed by gastroenterologists with more than five years of ERCP experience and an annual case volume exceeding 400 procedures, at a high-volume ERCP center performing over 750 procedures annually. Fluoroscopic images were acquired by radiology technicians present in the procedure room. All examinations were subsequently reviewed independently by a second gastroenterologist to ensure consistency and diagnostic reliability. Retrieval from the PACS allowed for automated export of full image series, ensuring comprehensive coverage of the fluoroscopic examinations. The dataset includes all fluoroscopic images acquired throughout the ERCP workflow, encompassing pre-cannulation images used for anatomical orientation and procedural planning, cholangiographic images obtained during contrast injection and therapeutic maneuvers, as well as post-procedural images documenting the final outcome of the intervention. The images were acquired using different fluoroscopic systems, including the Ziehm Vision RFD 3D, and Philips PCR Eleva units, resulting in natural variability in image characteristics across the dataset. Following extraction from the SECTRA PACS system, all DICOM files underwent a multi-stage Python-based processing pipeline designed to organize, extract, segment and anonymize the final dataset. The dataset is available in https://doi.org/10.6084/m9.figshare.31079236 . The workflow comprised the steps described in the following sub-sections. 2.1 Ethics statement* The study was approved by the Board of Directors of Unidade Local de Saúde do Alto Minho (ULSAM). Approval ID: 243/CA-2025. 2.2 DICOM extraction and creation of the primary dataset All exported files were initially distributed across multiple ZIP archives. These were batch-unpacked, and the individual DICOM files processed sequentially. For each DICOM file: 1. The file was read using pydicom.dcmread. 2. The pixel data were extracted and converted into a PNG image, saved in the ”raw” directory. 3. Relevant metadata were retrieved using standard DICOM tags: • Patient ID (0010,0020) • Patient Sex (0010,0040) • Patient Birth Date (0010,0030) • Content Date (0008,0023) • Acquisition Time (0008,0032) • Manufacturer’s Model Name (0008,1090) 4. A corresponding entry was appended to an initial metadata CSV file. Raw images followed the naming convention: \{patient\_id\}\_image\{N\}.png where N is an incrementing index per patient. This stage produced 19.018 PNG images corresponding to 1.602 patients and their metadata. 2.3 Manual classification of images into S (single) and V (vertical multipanel) The raw images in the dataset were acquired using multiple fluoroscopic systems, each with distinct acquisition and export characteristics. Consequently, the dataset exhibited substantial variability in image structure: some systems produced isolated single-frame fluoroscopic images, whereas others generated multi-frame sequences exported as vertically stacked composite images. This heterogeneity in image morphology necessitated a manual classification step to ensure dataset standardization and to enable consistent downstream processing and analysis. Following visual inspection, each image was assigned to one of two categories: • S – single-frame fluoroscopic image • V – vertically stacked multi-frame composite image This classification was recorded in the dataset’s metadata file as a dedicated column named image_type , providing an explicit identifier for subsequent preprocessing and modeling tasks. 2.4 Automated partitioning of multi-vertical (V) images Images classified as multi-frame vertical composite (V) frequently contained multiple fluoroscopic frames displayed side-by-side within a single composite DICOM image. To isolate these frames, an automated partitioning procedure was applied, as illustrated in Figure 1 . Figure 1: Data preprocessing pipeline. First, each V image was processed using the Canny edge detector to enhance structural boundaries and facilitate vertical-line detection. This procedure increased the visibility of structural discontinuities and emphasized intensity transitions, which are characteristic of the vertical separators commonly generated by fluoroscopic