BPG is committed to discovery and dissemination of knowledge
Basic Study
©The Author(s) 2025.
World J Gastroenterol. Nov 7, 2025; 31(41): 111184
Published online Nov 7, 2025. doi: 10.3748/wjg.v31.i41.111184
Table 1 Details of the self-collected dataset
Aspect
Details
Source hospitalsKiang Wu Hospital, Macao; Xiangyang Central Hospital, Xiangyang, Hubei Province, China
Data collection period2019-2024
Total images3313 endoscopic images
Imaging modalityWhite light endoscopy (majority); narrow band imaging (subset)
Imaging equipmentOlympus EVIS X1 CV-1500 with GIF EZ1500 gastroscopes (Kiang Wu Hospital); Olympus CF-HQ290-I and PENTAX EG29-i10 gastroscopes (Xiangyang Central Hospital)
Disease classesNormal: 1014 images; esophageal neoplasm: 256 images; esophageal varices: 228 images; GERD: 143 images; gastric neoplasm: 486 images; gastric polyp: 526 images; gastric ulcer: 366 images; gastric varices: 83 images; duodenal ulcer: 211 images
Data acquisitionImages were retrieved from the two hospital databases: (1) Normal images were selected based on chronic superficial gastritis cases exhibiting visually normal appearance on white light endoscopy and no significant pathological findings; and (2) Disease images were identified using international classification of diseases codes under the supervision of gastroenterologists and biomedical engineering postgraduate students
Annotation processDisease labels were verified by gastroenterologists; Mask annotations were created using Anylabeling by a PhD student and a post-doctoral researcher in biomedical engineering under the supervision of a gastroenterologist; annotations were exported as JSON and converted to binary PNG masks; Masks were independently reviewed by an experienced gastroenterologist
Ethical approval identifiersMedical Ethics Committee of Xiangyang Central Hospital (No. 2024-145); and Medical Ethics Committee of Kiang Wu Hospital, Macao (No. 2019-005)
ComplianceConducted in accordance with the Declaration of Helsinki
Pre-processing pipelineBlack borders and text metadata are removed; Images are cropped to resolutions ranging from 268 × 217 pixels to 1545 × 1156 pixels; images are divided into training-and-validation (80%) and test (20%) sets, and further split training-and-validation into training (80%) and validation (20%); multi-class segmentation masks are generated with nine channels: All pixels in normal images are assigned to the “normal” channel. While in disease images, non-lesion/background areas are assigned to the “normal” channel and lesion areas to their respective disease channels


Write to the Help Desk