Submitted:
29 October 2024
Posted:
30 October 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Technologies
2.1. Basic U-Net Network Model
2.2. Residual Network ResNet
2.3. CBAM Module
3. Improved Network Model
4. Experiment
4.1. Data Sets
4.2. Data Preprocessing
4.2.1. Noise Removal
4.2.2. Image Augmentation
4.3. Experimental Environment
4.4. Experimental Parameterization
5. Experimental Results Analysis3.3 Evaluation Indicators
5.1. Evaluation Metrics

- (1)
- Recall: It indicates the proportion of correctly predicted positive cases to all positive cases, reflecting the model’s ability to check all cases. The higher the recall rate, the better the model can cover the real positive cases.
- (2)
- mIoU (mean Intersection over Union): is the average value of IoU between multiple classes, which reflects the similarity between multiple classes. the higher the IoU is, the more accurately the model is able to find the locations and ranges of the targets in different classes.
- (3)
- Accuracy: The proportion of true samples in which the model correctly predicts positive examples, reflecting the overall accuracy of the model’s model. The higher the accuracy, the better the model’s ability to predict the overall sample.
- (4)
- mPA (mean Pixel Accuracy): denotes the average of PA for multiple categories, reflecting the model’s correctness in classifying different categories at the pixel level. the higher the PA, the better the model is able to restore the details of different categories of images.
- (5)
- F1 Score :Also known as Balanced F-Score, it is defined as the reconciled mean of accuracy and recall. It is a metric used in statistics to measure the precision of a binary classification (or multi-task binary classification) model. It takes into account both the accuracy and recall of a classification model.The F1-score can be seen as a weighted average of the model’s accuracy and recall, with a maximum value of 1 and a minimum value of 0. A larger value means a better model.
5.2. Loss Function
5.3. Comparative Tests
5.4. Ablation Experiments
5.5. Model Generalization Experiment

6. Conclusions
References
- Jiang Y, Zhou J, Feng J, et al. Application of DBSCAN Algorithm and Mathematical Morphology in Rock Thin Section Image Segmentation [J]. Microcomputer and Applications, 2016, 35(17): 39-41+48. [CrossRef]
- Li F, Chen M, Zhao Y, et al. Overview of Research Methods for Micro-Pore Structures in Rocks [J]. Groundwater, 2019, 41(06): 112-114. [CrossRef]
- Zhang Z. Research on Sandstone Thin Section Image Segmentation and Recognition [D]. University of Science and Technology of China, 2020. [CrossRef]
- Liu Y, Lü J. Rock Image Segmentation and Recognition Based on Superpixel and Semi-Supervised Learning [J]. Engineering Science and Technology, 2023, 55(02): 171-183. [CrossRef]
- Aligholi S, Lashkaripour G R, Khajavi R, et al. Automatic mineral identification using color tracking [J]. Pattern Recognition, 2017, 65: 164-174. [CrossRef]
- Zhang T, Xu S, Wang Z. Method for Graphic Recognition of Microscopic Pore-Throat Networks in Reservoirs [J]. Journal of Jilin University (Earth Science Edition), 2011, 41(05): 1646-1650. [CrossRef]
- Asmussen P, Conrad O, Günther A, et al. Semi-automatic segmentation of petrographic thin section images using a “seeded-region growing algorithm” with an application to characterize weathered subarkose sandstone [J]. Computers & Geosciences, 2015, 83: 89-99.
- Obara B. A new algorithm using image colour system transformation for rock grain segmentation [J]. Mineralogy and Petrology, 2007, 91: 271-285. [CrossRef]
- Gorsevski P V, Onasch C M, Farver J R, et al. Detecting grain boundaries in deformed rocks using a cellular automata approach [J]. Computers & Geosciences, 2012, 42: 136-142. [CrossRef]
- Long J, Shelhamer E, Darrell T. Fully convolutional networks for semantic segmentation [C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015: 3431-3440.
- Chen L C. Rethinking atrous convolution for semantic image segmentation [J]. arXiv preprint arXiv:1706.05587, 2017.
- Ronneberger O, Fischer P, Brox T. U-net: Convolutional networks for biomedical image segmentation [C]//Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III. Springer International Publishing, 2015: 234-241.
- Qin X, Zhang Z, Huang C, et al. U2-Net: Going deeper with nested U-structure for salient object detection [J]. Pattern Recognition, 2020, 106: 107404. [CrossRef]
- He J, Feng J, Jiao H, et al. Concrete CT Pore and Fracture Segmentation Method Based on Improved UNet [J]. Journal of China University of Mining & Technology, 2023, 52(03): 615-624. [CrossRef]
- Liang Y, Yi C, Wang G. Building Change Detection in Remote Sensing Images Based on Encoder-Decoder Network UNet3+ [J]. Chinese Journal of Computers, 2023, 46(08): 1720-1733.
- Liu Y, Wu X, Teng Q, et al. Mineral Recognition in Rock Thin Section Images Based on Improved SKnet and Bi-GRU [J]. Intelligent Computers and Applications, 2023, 13(01): 104-111.
- Dong L, Qing L, He X, et al. Core Particle Image Edge Segmentation Algorithm Based on Improved SLIC [J]. Intelligent Computers and Applications, 2021, 11(09): 54-58.
- Li Z, Teng Q, Zhang Y. Particle Segmentation in Orthogonal Polarized Sequence Images of Rock Thin Sections [J]. Modern Computer (Professional Edition), 2018, (03): 26-32.
- Cai Y, Teng Q, Tu B. Automatic Pore Extraction from Rock Cast Thin Section Images Based on Deep Learning [J]. Science Technology and Engineering, 2020, 20(28): 11685-11692.
- He K, Zhang X, Ren S, et al. Deep residual learning for image recognition [C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016: 770-778.
- Woo S, Park J, Lee J Y, et al. CBAM: Convolutional Block Attention Module [C]//Proceedings of the European Conference on Computer Vision (ECCV), 2018: 3-19.
- Alom M Z, Hasan M, Yakopcic C, et al. Recurrent Residual Convolutional Neural Network Based on U-net (R2U-Net) for Medical Image Segmentation [J]. arXiv preprint arXiv:1802.06955, 2018.
- Abbaszadeh Shahri A, Asheghi R, Khorsand Zak M. A hybridized intelligence model to improve the predictability level of strength index parameters of rocks [J]. Neural Computing and Applications, 2021, 33: 3841-3854.
- Shahri A A, Spross J, Johansson F, et al. Landslide susceptibility hazard map in southwest Sweden using artificial neural network [J]. Catena, 2019, 183: 104225. [CrossRef]















| Parameter name | parameter value |
|---|---|
| Batchsize | 4 |
| learning rate | 1×10-4 |
| Number of iterations | 100 |
| num_classes | 2 |
| Number of training sets per round | 2400 |
| Segmentation method | Recall/% | mIoU/% | Accuracy/% | mPA/% | F1 Score |
|---|---|---|---|---|---|
| Traditional Threshold Segmentation | 72.51 | 60.23 | 81.23 | 66.84 | 0.74 |
| DeepLabV3+ | 76.55 | 62.31 | 83.32 | 77.45 | 0.83 |
| Mask R-CNN | 77.01 | 65.89 | 83.56 | 76.32 | 0.79 |
| UNet | 78.93 | 66.23 | 86.92 | 78.25 | 0.80 |
| ResUNet-CBAM | 79.73 | 69.26 | 90.58 | 79.73 | 0.89 |
| U-Net | ResNet | CBAM | Accuracy/% | IOU | F1 Score |
|---|---|---|---|---|---|
| √ | - | - | 80.92 | 0.78 | 0.86 |
| √ | √ | - | 82.32 | 0.81 | 0.89 |
| √ | - | √ | 83.56 | 0.80 | 0.88 |
| √ | √ | √ | 90.58 | 0.82 | 0.90 |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).