Chenqi Fang , Kai Duan , Zhipeng Lv , Juncai Huang , Qirui Zhong , Jing Chen , Di Long
{"title":"Improving image-based water-level monitoring by coupling water-line detection techniques and the segment anything model","authors":"Chenqi Fang , Kai Duan , Zhipeng Lv , Juncai Huang , Qirui Zhong , Jing Chen , Di Long","doi":"10.1016/j.envsoft.2025.106566","DOIUrl":null,"url":null,"abstract":"<div><div>Image-based water level measurements offer cost-effective alternatives to traditional methods but often face challenges from environmental disturbances. We present a novel gauge image segmentation method integrating water-line detection techniques with the Segment Anything Model (adaptive-SAM) for continuous water level monitoring. The method uses adaptive prompt points derived from water line detection to generate high-quality masks of staff gauges and retrieve real-time water level data. Experiments conducted at an urban lake in southern China demonstrated the effectiveness of this integration, with the mean error reduced to 0.79 cm. The adaptive locating strategy facilitates the generation of accurate prompt points to guide SAM, thus significantly enhances its resilience to complex environmental disturbances (i.e., water texture, darkness, reflection, and overexposure) and achieves a substantial reduction in maximum errors by 22.2–41.1 cm. This simple yet robust approach provides an accessible tool for non-professionals, potentially increasing hydrological data density when traditional sensors fail.</div></div>","PeriodicalId":310,"journal":{"name":"Environmental Modelling & Software","volume":"192 ","pages":"Article 106566"},"PeriodicalIF":4.6000,"publicationDate":"2025-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environmental Modelling & Software","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1364815225002506","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Image-based water level measurements offer cost-effective alternatives to traditional methods but often face challenges from environmental disturbances. We present a novel gauge image segmentation method integrating water-line detection techniques with the Segment Anything Model (adaptive-SAM) for continuous water level monitoring. The method uses adaptive prompt points derived from water line detection to generate high-quality masks of staff gauges and retrieve real-time water level data. Experiments conducted at an urban lake in southern China demonstrated the effectiveness of this integration, with the mean error reduced to 0.79 cm. The adaptive locating strategy facilitates the generation of accurate prompt points to guide SAM, thus significantly enhances its resilience to complex environmental disturbances (i.e., water texture, darkness, reflection, and overexposure) and achieves a substantial reduction in maximum errors by 22.2–41.1 cm. This simple yet robust approach provides an accessible tool for non-professionals, potentially increasing hydrological data density when traditional sensors fail.
期刊介绍:
Environmental Modelling & Software publishes contributions, in the form of research articles, reviews and short communications, on recent advances in environmental modelling and/or software. The aim is to improve our capacity to represent, understand, predict or manage the behaviour of environmental systems at all practical scales, and to communicate those improvements to a wide scientific and professional audience.