Mountain Streambed Roughness and Flood Extent Estimation from Imagery Using the Segment Anything Model (SAM)

IF 3.1 Q2 WATER RESOURCES
B. Baziak, Marek Bodziony, Robert Szczepanek
{"title":"Mountain Streambed Roughness and Flood Extent Estimation from Imagery Using the Segment Anything Model (SAM)","authors":"B. Baziak, Marek Bodziony, Robert Szczepanek","doi":"10.3390/hydrology11020017","DOIUrl":null,"url":null,"abstract":"Machine learning models facilitate the search for non-linear relationships when modeling hydrological processes, but they are equally effective for automation at the data preparation stage. The tasks for which automation was analyzed consisted of estimating changes in the roughness coefficient of a mountain streambed and the extent of floods from images. The Segment Anything Model (SAM) developed in 2023 by Meta was used for this purpose. Images from many years from the Wielka Puszcza mountain stream located in the Polish Carpathians were used as the only input data. The model was not additionally trained for the described tasks. The SAM can be run in several modes, but the two most appropriate were used in this study. The first one is available in the form of a web application, while the second one is available in the form of a Jupyter notebook run in the Google Colab environment. Both methods do not require specialized knowledge and can be used by virtually any hydrologist. In the roughness estimation task, the average Intersection over Union (IoU) ranges from 0.55 for grass to 0.82 for shrubs/trees. Ultimately, it was possible to estimate the roughness coefficient of the mountain streambed between 0.027 and 0.059 based solely on image data. In the task of estimation of the flood extent, when selecting appropriate images, one can expect IoU at the level of at least 0.94, which seems to be an excellent result considering that the SAM is a general-purpose segmentation model. It can therefore be concluded that the SAM can be a useful tool for a hydrologist.","PeriodicalId":37372,"journal":{"name":"Hydrology","volume":null,"pages":null},"PeriodicalIF":3.1000,"publicationDate":"2024-01-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Hydrology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/hydrology11020017","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"WATER RESOURCES","Score":null,"Total":0}
引用次数: 0

Abstract

Machine learning models facilitate the search for non-linear relationships when modeling hydrological processes, but they are equally effective for automation at the data preparation stage. The tasks for which automation was analyzed consisted of estimating changes in the roughness coefficient of a mountain streambed and the extent of floods from images. The Segment Anything Model (SAM) developed in 2023 by Meta was used for this purpose. Images from many years from the Wielka Puszcza mountain stream located in the Polish Carpathians were used as the only input data. The model was not additionally trained for the described tasks. The SAM can be run in several modes, but the two most appropriate were used in this study. The first one is available in the form of a web application, while the second one is available in the form of a Jupyter notebook run in the Google Colab environment. Both methods do not require specialized knowledge and can be used by virtually any hydrologist. In the roughness estimation task, the average Intersection over Union (IoU) ranges from 0.55 for grass to 0.82 for shrubs/trees. Ultimately, it was possible to estimate the roughness coefficient of the mountain streambed between 0.027 and 0.059 based solely on image data. In the task of estimation of the flood extent, when selecting appropriate images, one can expect IoU at the level of at least 0.94, which seems to be an excellent result considering that the SAM is a general-purpose segmentation model. It can therefore be concluded that the SAM can be a useful tool for a hydrologist.
利用分段任何模型 (SAM) 从图像中估算山区河床崎岖度和洪水范围
机器学习模型有助于在水文过程建模时寻找非线性关系,但对于数据准备阶段的自动化也同样有效。分析自动化的任务包括根据图像估算山区河床粗糙度系数的变化和洪水范围。为此,我们使用了 Meta 公司于 2023 年开发的分段任意模型(SAM)。该模型仅使用了波兰喀尔巴阡山脉 Wielka Puszcza 山涧多年来的图像作为输入数据。该模型未针对所述任务进行额外训练。SAM 可以在多种模式下运行,但本研究使用了两种最合适的模式。第一种是网络应用程序,第二种是在谷歌 Colab 环境中运行的 Jupyter 笔记本。这两种方法都不需要专业知识,几乎所有水文工作者都可以使用。在粗糙度估算任务中,草地和灌木/树木的平均交集(IoU)范围从 0.55 到 0.82。最终,仅凭图像数据就可以估算出山地河床的粗糙度系数在 0.027 到 0.059 之间。在洪水范围估算任务中,如果选择合适的图像,IoU 至少可以达到 0.94,考虑到 SAM 是一个通用的分割模型,这似乎是一个非常好的结果。因此可以得出结论,SAM 可以成为水文学家的有用工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Hydrology
Hydrology Earth and Planetary Sciences-Earth-Surface Processes
CiteScore
4.90
自引率
21.90%
发文量
192
审稿时长
6 weeks
期刊介绍: Journal of Hydrology publishes original research papers and comprehensive reviews in all the subfields of the hydrological sciences, including water based management and policy issues that impact on economics and society. These comprise, but are not limited to the physical, chemical, biogeochemical, stochastic and systems aspects of surface and groundwater hydrology, hydrometeorology, hydrogeology and hydrogeophysics. Relevant topics incorporating the insights and methodologies of disciplines such as climatology, water resource systems, ecohydrology, geomorphology, soil science, instrumentation and remote sensing, data and information sciences, civil and environmental engineering are within scope. Social science perspectives on hydrological problems such as resource and ecological economics, sociology, psychology and behavioural science, management and policy analysis are also invited. Multi-and interdisciplinary analyses of hydrological problems are within scope. The science published in the Journal of Hydrology is relevant to catchment scales rather than exclusively to a local scale or site. Studies focused on urban hydrological issues are included.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信