Ze Wang , Heng Lyu , Yanqing Guo , Shun'an Zhou , Chi Zhang
{"title":"How to use general AI for task-specific applications: A case study of monitoring water level trends with river cameras","authors":"Ze Wang , Heng Lyu , Yanqing Guo , Shun'an Zhou , Chi Zhang","doi":"10.1016/j.envsoft.2025.106550","DOIUrl":null,"url":null,"abstract":"<div><div>Water level variations influence geochemical and hydrological processes within river networks. Water segmentation from river camera images using deep learning supports water level trend monitoring, but domain-specific model accuracies are constrained by limited annotated data. To improve accuracy, this study proposes a framework combining domain-specific models with General AI. The framework uses the Segment Anything Model (SAM) as backbone, with a pre-trained ResUnet model identifying highest-probability water pixels as a prompt to SAM, without any requirement for human intervention or local annotation. Applied to river camera images from Tewkesbury, UK, the framework increased the Intersection over Union (<em>IoU</em>) by over 15 % compared to the single ResUnet. <em>Point prompt</em> was identified as the optimal mode for feeding water-related prior knowledge to SAM. The static observer flooding index derived from segmented masks showed a strong correlation (0.90) with real water level, surpassing the ResUnet's 0.54. Our framework allows for the supplementation of river monitoring networks with camera gauges, providing robust water level trend observations.</div></div>","PeriodicalId":310,"journal":{"name":"Environmental Modelling & Software","volume":"192 ","pages":"Article 106550"},"PeriodicalIF":4.6000,"publicationDate":"2025-05-28","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/S1364815225002348","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
Water level variations influence geochemical and hydrological processes within river networks. Water segmentation from river camera images using deep learning supports water level trend monitoring, but domain-specific model accuracies are constrained by limited annotated data. To improve accuracy, this study proposes a framework combining domain-specific models with General AI. The framework uses the Segment Anything Model (SAM) as backbone, with a pre-trained ResUnet model identifying highest-probability water pixels as a prompt to SAM, without any requirement for human intervention or local annotation. Applied to river camera images from Tewkesbury, UK, the framework increased the Intersection over Union (IoU) by over 15 % compared to the single ResUnet. Point prompt was identified as the optimal mode for feeding water-related prior knowledge to SAM. The static observer flooding index derived from segmented masks showed a strong correlation (0.90) with real water level, surpassing the ResUnet's 0.54. Our framework allows for the supplementation of river monitoring networks with camera gauges, providing robust water level trend observations.
期刊介绍:
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.