Related Experiment Video
Updated: Jul 23, 2025

Author Spotlight: Point-of-Care Ultrasound for Gastric Content Assessment and Risk Stratification in Perioperative Care
Published on: September 22, 2023
Demarcating Z-line and Gastric Folds Boundary Based on the Segmentation of the Lower Esophageal Sphincter Images
Rasoul Sharifian1, Behzad Nazari1, Saeed Sadri1
1Department of Electrical and Computer Engineering, Digital Signal Processing Lab., Isfahan University of Technology, Isfahan, Iran.
Background And Objective:
The endoscopic diagnosis of pathological changes in the gastroesophageal junction including esophagitis and Barrett's mucosa is based on the visual detection of two boundaries: mucosal color change between esophagus and stomach, and top endpoint of gastric folds. The presence and pattern of mucosal breaks in the gastroesophageal mucosal junction (Z line) classify esophagitis in patients and the distance between the two boundaries points to the possible columnar lined epithelium. Since visual detection may suffer from intra- and interobserver variability, our objective was to define the boundaries automatically based on image processing algorithms, which may enable us to measure the detentions of changes in future studies.
Methods:
To demarcate the Z-line, first the artifacts of endoscopy images are eliminated. In the second step, using SUSAN edge detector, Mahalanobis distance criteria, and Gabor filter bank, an initial contour is estimated for the Z-line. Using region-based active contours, this initial contour converges to the Z-line. Finally, by applying morphological operators and Gabor Filter Bank to the region inside of the Z-line, gastric folds are segmented.
Results:
To evaluate the results, a database consisting of 50 images and their ground truths were collected. The average dice coefficient and mean square error of Z-line segmentation were 0.93 and 3.3, respectively. Furthermore, the average boundary distance criteria are 12.3 pixels. In addition, two other criteria that compare the segmentation of folds with several ground truths, i.e., Sweet-Spot Coverage and Jaccard Index for Golden Standard, are 0.90 and 0.84, respectively.
Conclusions:
Considering the results, automatic segmentation of Z-line and gastric folds are matched to the ground truths with appropriate accuracy.
Related Concept Videos
Esophagus
The movement of edibles from the pharynx into the esophagus is facilitated by the upper esophageal sphincter, which is formed primarily by the...
Gross Anatomy of the Stomach
Esophageal Strictures-I: Introduction
Etiology
The primary cause of esophageal strictures is long-standing gastroesophageal reflux disease (GERD), accounting for about 70 to 80% of adult cases. Chronic acid reflux can lead to injury and scarring of the esophageal lining, culminating in...
Esophageal Strictures-II: Clinical Features and Management
Healthcare providers should gather a comprehensive medical history and conduct a physical examination for diagnosis. If esophageal stricture is...
Barrett Esophagus-II: Clinical Manifestations and Management
To diagnose Barrett's esophagus, healthcare providers often recommend an endoscopy for those showing symptoms of acid reflux. The procedure...
Histology of the Gastrointestinal (GI) Tract
The mucosa is sometimes called a mucous membrane due to its mucus-secreting features. This membrane is composed of epithelium, which directly interacts with ingested substances, and the lamina propria, a layer...

