Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Mol. Biosci.

Sec. Molecular Diagnostics and Therapeutics

Volume 12 - 2025 | doi: 10.3389/fmolb.2025.1616271

This article is part of the Research TopicApplication of Deep Learning in Biomedical Image ProcessingView all 5 articles

An Automatic Laryngoscopic Image Segmentation System Based on SAM Prompt Engineering: From Glottis Annotation to Vocal Fold Segmentation

Provisionally accepted
Yucong  ZhangYucong Zhang1Yuchen  SongYuchen Song2Juan  LiuJuan Liu1*Ming  LiMing Li2*
  • 1Wuhan University, Wuhan, Hubei Province, China
  • 2Duke Kunshan University, Kunshan, China

The final, formatted version of the article will be published soon.

The laryngeal high-speed video (HSV) is a commonly used method for diagnosing laryngeal diseases. Among various approaches, the segmentation of glottis areas on laryngeal images shows great potential in analyzing vocal fold vibration patterns and diagnosing vocal fold disorder. However, few works have been done on vocal fold segmentation. In this study, we present an innovative approach to automatic vocal fold segmentation using only the glottis information. Our system designs prompt engineering techniques customized for the Segment Anything Model (SAM), leveraging glottis data to enhance segmentation accuracy. By combining vocal fold information extracted from U-Net masks-enhanced through brightness contrast adjustment and morphological closing-with a coarse bounding box of the larynx region generated by the YOLO-v5 model, we generate an effective bounding box prompt.Additionally, we introduce a point prompt derived from the local extrema in the first derivative of gray-scale intensity along glottis-intersecting lines, providing auxiliary information on the vocal fold location. Experimental results show that our method that does not need labeled vocal fold training data achieves comparable performance with the fully supervised method, reaching a Dice Coefficient of 0.91. Exemplary features extracted on the segmented masks are included to further show the effectiveness of our work. We release our codes at https: //github.com/yucongzh/Laryngoscopic-Image-Segmentation-Toolkit.

Keywords: Medical Image Analysis, Laryngoscope, Prompt Engineering, Segment Anything Model, Vocal Fold Segmentation

Received: 22 Apr 2025; Accepted: 26 Jun 2025.

Copyright: © 2025 Zhang, Song, Liu and Li. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Juan Liu, Wuhan University, Wuhan, 430072, Hubei Province, China
Ming Li, Duke Kunshan University, Kunshan, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.