丁燕,崔淑英,王舸,等. 基于SAM2分割大模型和K-Means聚类算法的岩屑图像识别方法[J]. 石油钻采工艺,2025,47(5):646-655. DOI: 10.13639/j.odpt.202505008
引用本文: 丁燕,崔淑英,王舸,等. 基于SAM2分割大模型和K-Means聚类算法的岩屑图像识别方法[J]. 石油钻采工艺,2025,47(5):646-655. DOI: 10.13639/j.odpt.202505008
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. DOI: 10.13639/j.odpt.202505008
Citation: 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. DOI: 10.13639/j.odpt.202505008

基于SAM2分割大模型和K-Means聚类算法的岩屑图像识别方法

Drilling cuttings image recognition based on the Segment Anything Model 2 and the K-Means Algorithm

  • 摘要: 钻井过程中对上返岩屑的监测与识别是感知地层变化、及时发现掉块并减缓井壁失稳风险的关键手段。实现快速、客观、自动化的岩屑识别对保障钻井安全、提高钻井效率具有重要意义。目前,岩屑识别主要依赖人工经验判断,存在主观性强、耗时长和工作量大等问题。基于实际采集的岩屑图像,提出一种基于Segment Anything Model 2(SAM2)与K-Means聚类算法的岩屑识别模型,实现对岩屑颗粒的精确分割与自动聚类。同时,设计了交互式选择功能,支持工程师快速挑选目标岩屑块,显著提升岩屑块可视化与识别效率。实验结果表明,SAM2在岩屑图像分割任务中表现优异,分割精度较现有主流方法提升3%~6%。在四川威远构SX井的实际岩屑图像测试中,模型聚类识别准确率达83.9%,与人工标注结果高度一致。在典型井段的应用中,模型识别出4类主要岩屑,各类别占比分布与人工判别结果差异较小。研究结果表明,本文提出的模型方法能够有效划分不同粒径岩屑块并合理预测各类岩性占比,有助于辅助工程师快速判定地层岩性,提升钻井过程监测的客观性与实时性。

     

    Abstract: Monitoring and identifying drill cuttings during drilling is an important means of perceiving formation changes, detecting borehole breakouts in time, and mitigating well instability. Achieving rapid, objective, and automated cuttings identification is of great significance for ensuring drilling safety and improving drilling efficiency. Current cuttings identification largely relies on engineers’ experience, which is highly subjective, time-consuming, and labor-intensive. In this paper, based on collected drill cuttings images, we propose a cuttings recognition model that combines Segment Anything 2 (SAM2) with the K-Means clustering algorithm to achieve accurate segmentation and clustering of cuttings particles. Furthermore, we design an interactive selection function that allows engineers to quickly select target cuttings, thereby enhancing visualization and recognition efficiency. We first evaluated the segmentation accuracy of SAM2, and the results show that the model outperforms other methods by 3%-6%. We then validated the model on drill cuttings images from the SX well in the Weiyuan structure of Sichuan, where the clustering recognition accuracy reached 83.9%, closely matching the results of manual annotation. In representative well sections, the model predicted four lithology categories, with category proportion distributions showing only minor differences compared with manual judgment, significantly reducing the cost of manual identification. Our model can effectively delineate cutting blocks of different particle sizes and predict the number and proportions of lithology categories. It can assist engineers in rapidly determining formation lithology, thereby improving the objectivity and real-time capability of cuttings monitoring during drilling operations.

     

/

返回文章
返回