基于YOLO-SAM和DBSCAN算法的RFC坝层面露石识别评价方法

安宇, 徐小蓉, 杨家琦, 付立群, 夏维学, 金峰

长江科学院院报 ›› 2026, Vol. 43 ›› Issue (10) : 200-209.

PDF(3780 KB)
PDF(3780 KB)
长江科学院院报 ›› 2026, Vol. 43 ›› Issue (10) : 200-209. DOI: 10.11988/ckyyb.20260308
堆石混凝土高坝建设与智能建造专栏

基于YOLO-SAM和DBSCAN算法的RFC坝层面露石识别评价方法

作者信息 +

An Identification and Evaluation Method for Exposed Stones on Dam Surfaces Based on YOLO-SAM and DBSCAN Algorithms

Author information +
文章历史 +

摘要

堆石混凝土(RFC)坝层面保留一定露石能够显著增强层面齿颌与抗剪能力,是施工质量管控的重要环节。然而,如何实现层面露石的准确高效识别与合理评价尚待进一步研究。基于此,提出YOLO-SAM的融合算法框架以增强识别精度与效率,引入基于密度的带有噪声的空间聚类算法DBSCAN以增强层面评价结果的可靠性。研究结果表明:①对于现场采集的24张复杂背景干扰下的层面照片,YOLOv26s-DET+SAM2展现出了较高的识别精度,与人工标注的结果平均误差仅为4.36%,优于YOLOv11s-SEG和YOLOv26s-SEG的YOLO分割模型;②根据规范定义与要求,DBSCAN给出了堆石外露区的判别标准,降低了照片采集范围对评价结果的影响;③不同工程9个层面的分析结果显示,基于YOLO-SAM与DBSCAN算法检测评价方法实现了对堆石外露区的稳定准确判别,有效提升了检测评价结果的可靠性与稳定性。研究成果可为RFC坝现场层面露石的快速检测与质量管控提供技术支撑。

Abstract

[Objective] Accurate and efficient identification of exposed stones on rock-filled concrete (RFC) dam surfaces is critical for ensuring interlayer shear resistance and construction quality, yet existing methods lack the necessary precision, automation, and reliability under complex onsite conditions. To fill this gap, this study aims to develop a fused algorithm framework that combines YOLO-based detection with the Segment Anything Model (SAM) to significantly improve identification accuracy and efficiency, and to integrate the Density Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm to establish a robust, standard compliant criterion for evaluating exposed stone zones. The overarching goal is to provide an automated, repeatable evaluation pipeline that overcomes the limitations of direct segmentation and reduces the influence of photograph collection scope on layer assessment. [Methods] A dataset of 24 highresolution layer photographs was acquired from actual RFC dam construction sites, featuring complex backgrounds including dust, water stains, and uneven lighting. All images were manually annotated at pixel level to generate groundtruth masks of exposed stones. The proposed framework first employs a YOLO variant (v26s-D) as a detector to identify individual stones and produce bounding boxes. Subsequently, SAM2—the latest Segment Anything Model—is applied to each detected region to generate finegrained segmentation masks. The spatial distribution of segmented stone pixels is then analyzed using the DBSCAN clustering algorithm. Based on definitions from relevant construction standards, a clustering criterion is established that groups contiguous exposed stone pixels into meaningful “exposed rock zones” while automatically discarding sparse, isolated noise. The effective exposed stone area ratio is then computed for each layer. For comparison, two YOLObased instance segmentation models (v11s-S and v26s-S) are trained and evaluated on the same data. To assess practical reliability, the complete YOLOSAM2+DBSCAN workflow is further applied to nine independent layers taken from different RFC dam projects. The impact of photograph collection scope on evaluation results is systematically analyzed, and the consistency with expert visual inspections is examined. [Results] On the 24 test photographs, the YOLO(v26s-D)-SAM2 fusion achieved a mean pixel-wise error of only 4.36% compared with manual annotations. This performance clearly surpassed the YOLO segmentation models v11s-S and v26s-S, which exhibited notably higher errors under the same complex backgrounds, demonstrating the advantage of decoupling detection from fine segmentation. With the DBSCAN-based exposed rock zone criterion, the influence of photograph collection scope on the evaluated exposed stone area ratio was substantially reduced; repeated measurements under intentionally varied shooting conditions yielded highly consistent zone boundaries and area percentages, whereas direct full-image segmentation led to obvious fluctuations. In the nine-layer cross-project analysis, the proposed method consistently produced stable and accurate identifications of exposed rock zones. The layer-wise exposed stone ratios closely matched the judgments of experienced site engineers, with discrepancies remaining well within the acceptable tolerance for construction quality control. The method also showed strong repeatability, with a low coefficient of variation across multiple runs, confirming its robustness against real-world disturbances.[Conclusions] The YOLOSAM and DBSCAN fused framework can accurately and efficiently identify exposed stones on RFC dam surfaces, solving the key problem of unreliable segmentation in cluttered construction environments. The 4.36% mean error represents a substantial improvement over conventional YOLO segmentation models, validating the practical value of the detection segmentation cascade. The DBSCAN based postprocessing, explicitly anchored in construction standards, transforms the raw segmentation output into a physically meaningful exposed rock zone evaluation that is largely insensitive to photograph collection scope, thereby greatly enhancing the objectivity and stability of layer assessment. The innovation of this work lies in the synergistic combination of realtime detection, SAM powered fine segmentation,and densitybased unsupervised clustering to achieve both pixellevel accuracy and semanticlevel reliability.

关键词

堆石混凝土 / 层面露石 / YOLO / SAM / DBSCAN聚类算法

Key words

rock-filled concrete / exposed stones on dam surfaces / YOLO / Segment Anything Model / Density-Based Spatial Clustering of Applications with Noise

引用本文

导出引用
安宇, 徐小蓉, 杨家琦, 等. 基于YOLO-SAM和DBSCAN算法的RFC坝层面露石识别评价方法[J]. 长江科学院院报. 2026, 43(10): 200-209 https://doi.org/10.11988/ckyyb.20260308
AN Yu, XU Xiao-rong, YANG Jia-qi, et al. An Identification and Evaluation Method for Exposed Stones on Dam Surfaces Based on YOLO-SAM and DBSCAN Algorithms[J]. Journal of Changjiang River Scientific Research Institute. 2026, 43(10): 200-209 https://doi.org/10.11988/ckyyb.20260308
中图分类号: TV523 (施工质量控制与检查)   

参考文献

[1]
金峰, 安雪晖, 石建军, 等. 堆石混凝土及堆石混凝土大坝[J]. 水利学报, 2005(11):78-83.
(Jin Feng, An Xuehui, Shi Jianjun, et al. Rock-fill concrete and rock-fill concrete dams[J]. Journal of Hydraulic Engineering, 2005(11): 78-83. (in Chinese))
[2]
金峰. 堆石混凝土坝建设与技术标准体系发展与展望[J]. 水利水电科技进展, 2025, 45(5): 13-25.
(Jin Feng. Progress and prospects of construction and technical standards for rock-filled concrete dams[J]. Advances in Science and Technology of Water Res-ources, 2025, 45(5):13-25. (in Chinese))
[3]
南康宁, 杨家琦, 李萌, 等. 堆石混凝土抗冲耐磨一体化浇筑施工期温度变化研究[J]. 三峡大学学报(自然科学版), 2025, 47(3):20-27,58.
(Nan Kangning, Yang Jiaqi, Li Meng, et al. Study on temperature during the construction of rock-filled concrete dam with integrated placement of erosion-resistant and wear-resistant layer[J]. Journal of China Three Gorges University (Natural Sciences), 2025, 47(3):20-27,58. (in Chinese))
[4]
Jin F, Huang D. Rock-Filled Concrete Dam[M]. Singa-pore: Springer Nature Singapore, 2022.
[5]
Jin F, Huang D, Lino M, et al. A brief review of rock-filled concrete dams and prospects for next-generation concrete dam construction technology[J]. Engineering, 2024, 32:99-105.
[6]
夏勇, 杨家琦, 赵恒, 等. 高寒区堆石混凝土一体化厚层浇筑坝体温度研究[J]. 水利水电技术(中英文), 2025, 56(5): 202-213.
(Xia Yong, Yang Jiaqi, Zhao Heng, et al. Study on temperature of rock-filled concrete dams under integrated thick-layer placement in high-altitude cold regions[J]. Water Resources and Hydropower Engineering, 2025, 56(5): 202-213. (in Chinese))
[7]
任明倩. 堆石混凝土层间界面剪切力学性能研究[D]. 北京: 清华大学, 2019.
(Ren Mingqian. Research on the shear mechanical properties of rock-filled concrete construction joints[D]. Beijing: Tsinghua University, 2019. (in Chinese))
[8]
胡松涛, 陈芳, 祝小靓, 等. 堆石混凝土层面渗透性能影响因素试验研究[J]. 人民长江, 2022, 53(8):149-152,166.
(Hu Songtao, Chen Fang, Zhu Xiaoliang, et al. Experimental study on influencing factors for interlayer anti-penetrating performance of rock-filled concrete[J]. Yangtze River, 2022, 53(8): 149-152, 166. (in Chinese))
[9]
徐小蓉, 金峰, 廖仕信, 等. 堆石混凝土坝信息化施工管理研究[J]. 水利水电技术(中英文), 2023, 54(7):150-160.
(Xu Xiaorong, Jin Feng, Liao Shixin, et al. Research of informatization in construction management of rock-filled concrete dam[J]. Water Resources and Hydropower Engineering, 2023, 54(7):150-160. (in Chinese))
[10]
杨家琦, 金峰, 周虎, 等. 智能化赋能堆石混凝土坝施工建设:CIM4R[J]. 水电与抽水蓄能, 2025, 11(1):44-53.
(Yang Jiaqi, Jin Feng, Zhou Hu, et al. Intelligent empowerment for rock-filled concrete dam construction: CIM4R[J]. Hydropower and Pumped Storage, 2025, 11(1):44-53. (in Chinese))
[11]
方星桦, 阳军生, 黄定著, 等. 基于全景展开图像的隧道围岩节理识别方法[J]. 长江科学院院报, 2024, 41(5):116-123.
摘要
为了解决目前节理信息识别方法仅适用于局部岩体图像的问题,采用全景展开图像方法,将采集到的局部洞壁围岩图像进行特征点提取、点云模型重建、矫正拼接处理,获得高分辨率的隧道洞壁围岩全景展开图像。通过图像预处理、小尺寸特征图片的smaAt-Unet神经网络识别、小尺寸图片识别结果的融合拼接,对洞壁围岩全景展开图像的节理信息进行了区域粗略分割识别。采用Zhang-Suen算法和8邻域连通域分析方法,从骨架化与骨架线分离、毛刺剔除、骨架线连接方面进行了算法分析计算,完成了节理信息的细化提取。对体积节理数和节理空间产状信息进行了量化分析,最终建立了一种基于全景展开图像的隧道洞壁围岩节理信息识别方法。工程应用结果表明,洞壁围岩全景展开图像识别后,节理面空间方程的平均拟合误差为0.90,说明该识别方法能够较好地识别全景展开图像中的节理信息。另外,洞壁围岩图像采集具有时间短、易操作、灵活性较高的优点,对现场施工影响较小,该识别方法能够较为快速地完成节理信息识别,给现场施工与动态设计提供参考。
(Fang Xinghua, Yang Junsheng, Huang Dingzhu, et al. A recognition method for surrounding rock joints of tunnel based on panoramic developed images[J]. Journal of Changjiang River Scientific Research Institute, 2024, 41(5): 116-123. (in Chinese))
[12]
赵科锋, 曹慧群, 林莉, 等. 人工智能视频识别在水利数字孪生中的典型应用[J]. 长江科学院院报, 2023, 40(3): 186-190.
摘要
视频监控与人工智能技术越来越广泛应用在水利智慧化建设方面,数字孪生建设是构建智慧水利的关键和核心。针对水利数字孪生建设实际需求,利用视频监控、图像处理、人工智能等技术手段,研发视频智能识别模型系统,通过智能模拟,实现与物理要素仿真运行、虚实交互。主要针对视频智能识别在水利数字孪生中主要应用场景进行系统化设计,实现如水尺识别、漂浮物识别、地表水体检测等应用。从实际运行情况来看,视频智能识别系统能够实现对物理对象进行不间断监控、分析、识别及预测预警,在水利智慧化建设方面具有较大的应用价值。
(Zhao Kefeng, Cao Huiqun, Lin Li, et al. Typical applications of artificial intelligence video recognitionin water conservancy digital twin[J]. Journal of Changjiang River Scientific Research Institute, 2023, 40(3): 186-190. (in Chinese))
[13]
安宇, 徐小蓉, 尹志刚, 等. 基于SAM&ImageJ图像处理的堆石混凝土坝层面露石率研究[J]. 水资源与水工程学报, 2024, 35(1): 154-161.
(An Yu, Xu Xiaorong, Yin Zhigang, et al. Research on exposed rockfill proportion of RFC surface based on SAM and ImageJ image processing[J]. Journal of Water Resources and Water Engineering, 2024, 35(1): 154-161. (in Chinese))
[14]
刘易, 付立群, 徐小蓉, 等. 仓面大粒径堆石的图像处理与粒径识别[J]. 三峡大学学报(自然科学版), 2022, 44(6):28-34.
(Liu Yi, Fu Liqun, Xu Xiaorong, et al. Image processing and particle size identification of large particle size rockfill on placement surface[J]. Journal of China Three Gorges University (Natural Sciences), 2022, 44(6): 28-34. (in Chinese))
[15]
付立群, 金峰, 张喜喜, 等. 结合Mask R-CNN和SAM获取堆石混凝土坝堆石级配曲线[J]. 水电能源科学, 2024, 42(11): 7-11, 130.
(Fu Liqun, Jin Feng, Zhang Xixi, et al. Obtaining particle size distribution curves for rock-filled concrete dams by combining mask R-CNN and SAM[J]. Water Resources and Power, 2024, 42(11): 7-11, 130. (in Chinese))
[16]
Sapkota R, Flores-Calero M, Qureshi R, et al. YOLO advances to its genesis: A decadal and comprehensive review of the You Only Look Once (YOLO) series[J]. Artificial Intelligence Review, 2025, 58(9):274.
[17]
Khanam R, Hussain M. YOLOv11: An overview of the key architectural enhancements[J]. ArXiv, 2024, 2410:17725.
[18]
Sapkota R, Karkee M. YOLOE-26: integrating YOLO26 with YOLOE for real-time open-vocabulary instance segmentation[J]. ArXiv, 2026, 2602:00168.
[19]
郭慧英, 杨家琦, 付立群, 等. 堆石混凝土入仓堆石的分割识别与统计评价方法研究[J]. 水利水电技术(中英文), 2026, 57(4): 173-186.
摘要
【目的】堆石混凝土浇筑施工质量与仓内堆石体的粒径形状参数密切相关,但目前工程现场对于入仓堆石的评判和控制,强烈依赖工人的主观经验和判断,因而,有必要研究并提出快速有效的堆石混凝土入仓堆石分割识别与统计评价方法。【方法】基于YOLO算法框架提出了改进的堆石分割识别方法,给出了考虑图像边界堆石影响的粒径与形状参数的统计计算方法,结合DBSCAN算法提出了逊径料集中区域的判别方法;而后,结合规范要求和工程实际,提出了硬指标与软指标相结合的入仓堆石粒径形状参数的分区评价方法。【结果】结果显示:堆石、标杆与安全帽等分割识别模型的平均精度mAP50分别为92.3%、99.4%与97.5%,识别精度较高;给出的粒径形状参数估计与逊径料集中区域判别方法,经室内与现场算例验证,取得了较好的估计判别效果;提出的分区统计评价方法,结合典型工程进行了验证分析,评价结果与工程实际相符。【结论】提出的堆石分割识别与统计评价方法能够对现场仓内堆石质量进行有效分析与评价,可为堆石混凝土工程入仓堆石的分析评价提供必要技术手段。
(Guo Huiying, Yang Jiaqi, Fu Liqun, et al. Research on segmentation, identification, and statistical evaluation methods for rockfill placement in rock-filled concrete[J]. Water Resources and Hydropower Engineering, 2026, 57(4): 173-186. (in Chinese))

[Objective] The construction quality of rock-filled concrete placement is closely related to the particle size and shape parameters of the rockfill inside the placement areas. However, current on-site evaluation and control of rockfill placement heavily rely on workers' subjective experience and judgment. Therefore, it is necessary to develop a rapid and effective method for segmentation, identification, and statistical evaluation of the rockfill placement used in rock-filled concrete. [Methods] Based on this, an improved rockfill segmentation and identification method was proposed within the YOLO(You Only Look Once) algorithm framework. Furthermore, a statistical calculation method for particle size and shape parameters was presented that accounted for the influence of boundary rockfill in images. A discrimination method for identifying concentration zones of undersized rockfill materials was proposed using the DBSCAN(Density-Based Spatial Clustering of Applications with Noise) algorithm. Then, based on relevant standards and engineering practices, a zoning evaluation method combining hard and soft indicators for the particle size and shape parameters of rockfill placement was developed. [Results] The result showed that the mean average precision(mAP50) for the segmentation and identification models of rockfill, reference markers, and safety helmets were 92.3%, 99.4%, and 97.5%, respectively, demonstrating high recognition accuracy. The proposed method for particle size and shape parameter estimation and the identification of concentration zones of undersized rockfill materials were validated through laboratory and field case studies, demonstrating reliable estimation and discrimination performance. The zoning statistical evaluation method was verified in typical engineering applications, with result consistent with actual engineering conditions. [Conclusion] The segmentation, identification, and statistical evaluation method proposed in this study enables effective field analysis and evaluation of rockfill placement quality, providing an essential technical solution for evaluating rockfill placement in rock-filled concrete engineering.

[20]
丁燕, 崔淑英, 王舸, 等. 基于SAM2分割大模型和K-Means聚类算法的岩屑图像识别方法[J]. 石油钻采工艺, 2025, 47(5): 646-655.
(Ding Yan, Cui Shuying, Wang Ge, et al. Drilling cuttings image recognition based on the Segment Anything Model 2 and the K-Means Algorithm[J]. Oil Drilling & Production Technology, 2025, 47(5): 646-655. (in Chinese))
[21]
张化进, 吴顺川, 韩龙强. 基于DBSCAN选择性聚类集成的岩体结构面优势产状分组方法[J]. 岩土力学, 2022, 43(6): 1585-1595.
(Zhang Huajin, Wu Shunchuan, Han Longqiang. Dominant partitioning method of rock mass discontinuity based on DBSCAN selective clustering ensemble[J]. Rock and Soil Mechanics, 2022, 43(6): 1585-1595. (in Chinese))
[22]
魏永新, 赵顾尧, 庹晓军, 等. 基于模糊C均值聚类的振冲碎石桩加固地层识别[J]. 长江科学院院报, 2023, 40(5): 111-117.
摘要
精准掌握软弱地基的地质信息资料是确定振冲碎石桩施工工艺和控制成桩质量的重要依据。现有地质勘探技术确定地层地质信息的方法存在较大的随机性和离散性,不能获取所有加固区域的地质条件。为了克服传统方法存在的缺陷,依托拉哇水电站振冲碎石桩施工过程实时监控系统采集到的大量桩成孔过程中与地层分类属性相关的数据,通过对大数据进行清洗,选取与地层分类属性相关的进尺深度、速度和电流为特征属性,采用模糊C均值聚类算法对软弱地基进行地层识别研究。结果表明,与传统的K-means算法相比,本文方法对地层分类识别具有更高的准确性和优越性,可实现对地层地质条件的实时研判。研究成果对后续进行振冲碎石桩施工质量合理评价以及振冲碎石桩桩成过程智能化施工等都有重要的指导意义。
(Wei Yongxin, Zhao Guyao, Tuo Xiaojun, et al. Identification of stratum reinforced by vibro-replacement stone column based on fuzzy C-means clustering algorithm[J]. Journal of Yangtze River Scientific Research Institute, 2023, 40(5): 111-117. (in Chinese))
Accurately obtaining the geological information of soft foundation is an essential basis for determining the construction technique and controlling the pile quality of vibro-replacement stone columns. The existing geological exploration technology used to determine stratum information is considerably random and discrete, which makes it impossible to comprehensively understand the geological conditions of the reinforced areas. To overcome these limitations, this study relies on a large amount of data related to stratum classification attributes collected by the real-time monitoring system during the construction process of vibro-replacement stone columns at Lawa Hydropower Station. By cleaning big data, features such as penetration depth, speed, and current related to stratum classification attributes were selected for fuzzy C-means clustering algorithm-based study of stratum identification of the soft foundation. The results indicate that compared to the traditional K-means algorithm, the method proposed in this paper exhibits higher accuracy and superiority in identifying strata and enables real-time research and judgment of geological conditions. The research findings presented in this paper are of great significance in the rational evaluation of vibro-replacement stone column construction quality and the intelligent construction of the pile formation process.
[23]
Zhang J, Tang H. SAM2 for image and video segmentation:A comprehensive survey[J]. ArXiv, 2025, 2503:12781.
[24]
Li X, Pu X, Ling W, et al. YOLO-SAM an end-to-end framework for efficient real time object detection and segmentation[J]. Scientific Reports, 2025, 15: 40854.
[25]
NB/T 10077-2024堆石混凝土坝设计规范[S].
(NB/T 10077-2024 Design specification for rock-filled concrete dam[S]. (in Chinese))
[26]
SL/T678-2025 胶结坝技术规范[S].
(SL/T 678-2025 Technical specification for cemented material dam[S]. (in Chinese))
[27]
Krishna K, Narasimha Murty M. Genetic K-means algorithm[J]. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 1999, 29(3): 433-439.

基金

国家自然科学基金重点项目(52039005)
国家自然科学基金项目(52579122)
中央高校基本科研业务费专项(2025MS070)

编辑: 刘运飞
PDF(3780 KB)

Accesses

Citation

Detail

段落导航
相关文章

/

〈 〉