FragSAM: Near real-time rock fragment segmentation for size distribution analysis across diverse engineering domains
Yudi Tang , Yulin Wang , Jixiong Zhang , Runzhe Hu , Changwei Wang , Joung Oh , Guangyao Si
Int J Min Sci Technol ›› 2026, Vol. 36 ›› Issue (6) : 1167 -1188.
Rock fragment size distribution (FSD) plays an important role in various engineering applications, such as mining, tunnelling, and other underground construction scenarios. While vision-based deep learning approaches have been increasingly applied to FSD analysis, they are often case-specific, showing limited cross-site generalization despite their accuracy. To address these challenges, FragSAM, an end-to-end, fully automated framework is proposed for near real-time rock fragment segmentation and FSD analysis across diverse engineering environments. FragSAM integrates the generalization power of Segment Anything Model (SAM) with a context-aware prompting mechanism and lightweight architecture for efficient dense fragment segmentation. In Stage 1, an enhanced SAM automatically generates high-quality annotations, which are used to train a modified CenterNet for precise centroid prediction. In Stage 2, these centroids serve as prompts for EdgeSAM, a lightweight SAM variant optimized for real-time inference. This two-stage design eliminates dense grid prompting and reduces reliance on heavy post-processing, enabling efficient and scalable segmentation. Experimental results show that FragSAM achieves competitive segmentation performance with significantly lower latency and model complexity compared to existing SAM-based methods. In comparison with supervised learning approaches, it also demonstrates superior generalization and performs better in low-quality or unseen scenarios. Furthermore, case studies on blasting fragmentation, TBM muck, and coastal rock surfaces confirm its robustness and seamless cross-site adaptability, requiring no tuning or retraining, making it highly practical for on-site applications.
Segment anything model / Rock fragment size distribution / FragSAM / Prompt-based vision models / Near real-time segmentation
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
|
| [38] |
|
| [39] |
|
| [40] |
|
| [41] |
|
| [42] |
|
| [43] |
|
| [44] |
|
| [45] |
|
| [46] |
|
| [47] |
|
| [48] |
|
| [49] |
|
| [50] |
|
/
| 〈 |
|
〉 |