AI-Enhanced Macro-Mechanic Property Prediction Using Rock Slice Using Zero-Sample Segmentation and Numerical Analysis
Abstract
1. Introduction
2. Research Methods
2.1. Zero-Sample Segmentation of Large Models
2.1.1. Image Encoder
2.1.2. Cue Encoder
2.1.3. Mask Decoder
2.2. Deep Image Recognition Model
2.3. Graphics Automatic Vectorization Technique
3. Analysis of Gneiss Samples
3.1. Color Characteristics of Rock Minerals
3.2. Segmentation and Recognition of Rock Mineral Images
- (1)
- Data preprocessing: High-resolution rock sample images were collected and annotated, and the image size was adjusted to satisfy the input requirements of the SAM2.
- (2)
- Model inference: Segmentation of rock samples is performed using the SAM2.1 Hiera Large Model in the SAM2. The model generates segmentation masks based on prompt inputs, such as points and bounding boxes, to identify mineral components in thin-section images.
- (3)
- Interactive optimization: Based on the preliminary segmentation results, segmentation accuracy optimization is carried out by additional hint information (e.g., adding extra points or boxes), and the mis-segmented regions are corrected.
- (4)
- Evaluation and analysis: The segmentation performance is quantitatively evaluated using the Dice coefficient and intersection over union (IoU) to measure the spatial agreement between segmentation results obtained under different sampling densities. The highest-resolution case (128 sampling points) is treated as the reference configuration for consistency-based evaluation.
3.3. Numerical Modeling of Rock Minerals
4. Numerical-Simulation-Based Estimation of Physical and Mechanical Properties
4.1. Numerical Triaxial Mechanical Testing of Rocks
4.2. Parameter Estimation and Comparison
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Li, H.; Asbjörnsson, G.; Lindqvist, M. Image Process of Rock Size Distribution Using DexiNed-Based Neural Network. Minerals 2021, 11, 736. [Google Scholar] [CrossRef] [Scilit]
- Zhao, J.; Li, D.; Yu, Y. Identification of Rock Fragments after Blasting by Using Deep Learning-Based Segment Anything Model. Minerals 2024, 14, 654. [Google Scholar] [CrossRef] [Scilit]
- Osco, L.P.; Wu, Q.; de Lemos, E.L.; Gonçalves, W.N.; Ramos, A.P.M.; Li, J.; Marcato, J. The segment anything model (SAM) for remote sensing applications: From zero to one shot. Int. J. Appl. Earth Obs. Geoinf. 2023, 124, 103540. [Google Scholar] [CrossRef] [Scilit]
- Li, L.; Chen, T.; Liu, H.; Guo, R.; He, R.; Meng, Q. Coupled LEM–CZM Numerical Framework for Landslide Simulation and Its Application to Geotechnical Design. Designs 2025, 9, 133. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.; Ren, Y.; Li, X. Rock thin-section analysis and identification based on artificial intelligent technique. Pet. Sci. 2022, 19, 1605–1621. [Google Scholar] [CrossRef] [Scilit]
- Dell’Aversana, P. An Integrated Deep Learning Framework for Classification of Mineral Thin Sections and Other Geo-Data, a Tutorial. Minerals 2023, 13, 584. [Google Scholar] [CrossRef] [Scilit]
- Zhang, P.; Zhou, J.; Zhao, W.; Li, X.; Pu, L. The edge segmentation of grains in thin-section petrographic images utilising extinction consistency perception network. Complex Intell. Syst. 2024, 10, 1231–1245. [Google Scholar]
- Su, C.; Xu, S.; Zhu, K.; Zhang, X. Rock classification in petrographic thin section images based on concatenated convolutional neural networks. Earth Sci. Inform. 2020, 13, 1477–1484. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; Xia, B.; Zhang, S.; Zhou, L.; Zhang, X.; Li, X. Deep learning-based nanoindentation for evaluating the mechanical properties of rock-forming minerals. J. Rock Mech. Geotech. Eng. 2025, 18, 1892–1908. [Google Scholar]
- Yadav, A.; Behera, B.; Singh, G.S.P.; Sharma, S.K. Numerical modelling of post-failure behaviors of coal specimens. J. Rock Mech. Geotech. Eng. 2024, 16, 789–802. [Google Scholar] [CrossRef] [Scilit]
- Hassan, S.M.; Laban, N.; Khashaba, S.M.A.; El-Shibiny, N.H.; Bashir, B.; Azer, M.K.; Drüppel, K.; Keshk, H.M. Semantic Segmentation of Some Rock-Forming Mineral Thin Sections Using Deep Learning Algorithms: A Case Study from the Nikeiba Area, South Eastern Desert, Egypt. Remote Sens. 2024, 16, 2276. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Liu, X.; Yang, J.; Little, E.; Zhou, Y. Deep learning-based method for SEM image segmentation in mineral characterization, an example from Duvernay Shale samples in Western Canada Sedimentary Basin. Comput. Geosci. 2020, 138, 104450. [Google Scholar] [CrossRef] [Scilit]
- Carbonari, R.; Emmanuel, S.; Day-Stirrat, R.J. Identification of quartz cement in sandstone through deep learning segmentation of electron microscopy images. Geoenergy Sci. Eng. 2024, 233, 213049. [Google Scholar] [CrossRef] [Scilit]
- Minaee, S.; Boykov, Y.Y.; Porikli, F.; Plaza, A.J.; Kehtarnavaz, N.; Terzopoulos, D. Image segmentation using deep learning: A survey. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 3523–3542. [Google Scholar] [PubMed]
- Rahmon, G.; Bunyak, F.; Seetharaman, G.; Palaniappan, K. Motion U-Net: Multi-cue encoder-decoder network for motion segmentation. In 2020 25th International Conference on Pattern Recognition (ICPR); IEEE: Piscataway, NJ, USA, 2021; pp. 653–667. [Google Scholar]
- Fan, H.; Tian, Z.; Xu, X.; Sun, X.; Ma, Y.; Liu, H.; Lu, H. Rockfill material segmentation and gradation calculation based on deep learning. Case Stud. Constr. Mater. 2022, 17, e01216. [Google Scholar] [CrossRef] [Scilit]
- Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.Y.; et al. Segment Anything. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV); IEEE: Piscataway, NJ, USA, 2023; pp. 3992–4003. [Google Scholar]
- Ma, J.; He, Y.; Li, F.; Han, L.; You, C.; Wang, B. Segment anything in medical images. Nat. Commun. 2024, 15, 654. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- He, K.; Chen, X.; Xie, S.; Li, Y.; Dollár, P.; Girshick, R. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2022; pp. 16000–16009. [Google Scholar]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv 2021, arXiv:2010.11929. [Google Scholar]
- Amankwah, A.; Aldrich, C. Rock image segmentation using watershed with shape markers. In Proceedings of the 2010 IEEE 39th Applied Imagery Pattern Recognition Workshop (AIPR); IEEE: Piscataway, NJ, USA, 2010. [Google Scholar]
- Sereshki, F.; Hoseini, S.M.; Ataei, M. Blast fragmentation analysis using image processing. Int. J. Min. Geo-Eng. 2017, 50, 211–218. [Google Scholar]
- Guo, Q.; Wang, Y.; Yang, S.; Xiang, Z. A method of blasted rock image segmentation based on improved watershed algorithm. Sci. Rep. 2022, 12, 7143. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Guo, Q.; Yang, S.; Wang, Y.; Zhang, H. Size measurement of blasted rock fragments based on FRRSnet+. Measurement 2023, 218, 113305. [Google Scholar] [CrossRef] [Scilit]
- Liang, Z.; Nie, Z.; An, A.; Gong, J.; Wang, X. A particle shape extraction and evaluation method using a deep convolutional neural network and digital image processing. Powder Technol. 2019, 353, 156–170. [Google Scholar] [CrossRef] [Scilit]
- Yue, Z.Q.; Bekking, W.; Morin, I. Application of digital image processing to quantitative study of asphalt concrete microstructure. Transp. Res. Rec. 1995, 1492, 53–60. [Google Scholar]
- Xu, W.; Hu, R.; Yue, Z. Meso-structure character of soil-rock mixtures based on digital image. J. Liaoning Tech. Univ. (Nat. Sci.) 2008, 27, 14–17. [Google Scholar]
- Yan, L.; Meng, Q.-X.; Xu, W.-Y.; Wang, H.-L.; Zhang, Q.; Zhang, J.-C.; Wang, R.-B. A numerical method for analyzing the permeability of heterogeneous geomaterials based on digital image processing. J. Zhejiang Univ.-Sci. A 2017, 18, 124–137. [Google Scholar] [CrossRef] [Scilit]
- Meng, Q.-X.; Xu, W.-Y.; Wang, H.-L.; Zhuang, X.-Y.; Xie, W.-C.; Rabczuk, T. DigiSim—An Open Source Software Package for Heterogeneous Material Modeling Based on Digital Image Processing. Adv. Eng. Softw. 2020, 148, 102836. [Google Scholar] [CrossRef] [Scilit]
- Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2015; pp. 3431–3440. [Google Scholar]
- Zhang, P.; Jin, H.; Guo, R.; Xu, X.; Li, S.; Meng, Q. Optimization of the Prestress Value for Multi-Row Anchor in Anti-Slide Pile Based on a Staged Orthogonal Design. Designs 2025, 9, 142. [Google Scholar] [CrossRef] [Scilit]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar]
- Yi, S.F.; Zhang, Y.H.; Li, C.D.; Li, Z.F.; Zeng, F.J. Micromechanical properties of key rock-forming minerals based on nanoindentation. Rock Soil Mech. 2025, 46, 3841–3854+3912. [Google Scholar]













| Sampling Points | Dice Coefficient | IoU |
|---|---|---|
| 32 | 0.85 | 0.74 |
| 64 | 0.93 | 0.87 |
| 128 (reference) | 1.00 | 1.00 |
| Material | Density (kg/m3) | Young’s Modulus/GPa | Poisson’s Ratio | Cohesion/MPa | Friction Angle/° |
|---|---|---|---|---|---|
| K-F1 | 2600 | 54 | 0.35 | 5 | 36 |
| K-F2 | 2700 | 68 | 0.30 | 8 | 31 |
| K-F3 | 2600 | 56 | 0.30 | 5 | 30 |
| K-F4 | 2680 | 65 | 0.30 | 4 | 32 |
| K-F5 | 2600 | 54 | 0.31 | 4 | 30 |
| K-F7 | 2680 | 66 | 0.30 | 5 | 33 |
| K-F8 | 2600 | 51 | 0.35 | 5 | 34 |
| K-F9 | 2600 | 51 | 0.35 | 6 | 35 |
| K-F10 | 2700 | 68 | 0.32 | 6 | 35 |
| K-F11 | 2600 | 53 | 0.35 | 7 | 35 |
| M | 2600 | 53 | 0.35 | 5 | 35 |
| Na-F | 2700 | 97 | 0.30 | 6 | 32 |
| Q | 2600 | 102 | 0.25 | 8 | 33 |
| Source of Data | Modulus of Elasticity/GPa |
|---|---|
| Simulated test | 81.95 |
| Literature [31] | 79.20 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hu, W.-Q.; Li, Y.-B.; Liu, C.; Ma, L.-T.; Chen, J.-Q.; Meng, Q.-X. AI-Enhanced Macro-Mechanic Property Prediction Using Rock Slice Using Zero-Sample Segmentation and Numerical Analysis. Eng 2026, 7, 392. https://doi.org/10.3390/eng7080392
Hu W-Q, Li Y-B, Liu C, Ma L-T, Chen J-Q, Meng Q-X. AI-Enhanced Macro-Mechanic Property Prediction Using Rock Slice Using Zero-Sample Segmentation and Numerical Analysis. Eng. 2026; 7(8):392. https://doi.org/10.3390/eng7080392
Chicago/Turabian StyleHu, Wei-Qiang, Yang-Bing Li, Cheng Liu, Li-Tao Ma, Jian-Qi Chen, and Qing-Xiang Meng. 2026. "AI-Enhanced Macro-Mechanic Property Prediction Using Rock Slice Using Zero-Sample Segmentation and Numerical Analysis" Eng 7, no. 8: 392. https://doi.org/10.3390/eng7080392
APA StyleHu, W.-Q., Li, Y.-B., Liu, C., Ma, L.-T., Chen, J.-Q., & Meng, Q.-X. (2026). AI-Enhanced Macro-Mechanic Property Prediction Using Rock Slice Using Zero-Sample Segmentation and Numerical Analysis. Eng, 7(8), 392. https://doi.org/10.3390/eng7080392
