IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0321249.html
   My bibliography  Save this article

Image segmentation algorithm based on improved YOLOv8 model and its application in underground coal and gangue recognition

Author

Listed:
  • Lei Zhu
  • Wenzhe Gu
  • Chengyong Liu
  • Beiyan Zhang
  • Wentao Liu
  • Chaofeng Yuan

Abstract

Coal and gangue recognition technology is one of the key technologies in the intelligent construction of coal mines. With the deepening of the research, only the coal and gangue recognition, the pixel segmentation of the coal gangue image is needed. Aiming at the gangue segmentation algorithm with low accuracy, easy to miss detection, wrong detection and large amount of detection data, slow detection speed and other problems. A coal gangue segmentation model based on improved YOLOv8 is proposed to achieve fast and accurate recognition of coal gangue images, and the overall computational volume of the model is not large, which has achieved better application results. Using the YOLOv8 model as the base model, the standard convolutional modules in the first, second & third C2f modules were replaced with depth separable convolution (DSC) modules in the YOLOv8 model backbone network, reducing the overall computational effort of the model. Adding the CBAM module before the second convolution of the up-sampling module and down-sampling stage in the model neck network improves the differentiation of the model for gangue and enhances the recognition accuracy. The original dataset was expanded from 1980 to 11,265 sheets using data expansion techniques and some hyperparameters were adjusted. Results show that the improved YOLOv8 model has an accuracy (Precision) of 95.67%, a recall (Recall) of 95.74%, a transmitted frames per second (FPS) of 32.11 frames/s, and a mean average precision (mAP) of 96.88%, which is an improvement of 5.6% in accuracy, 7.12% in recall, and the mean average precision (mAP) is improved by 4.65% and FPS is improved by 8.83 frames/s. By comparing with YOLOv3, YOLOv5, YOLOv7, and YOLOv8 models, the improved model is optimal in terms of accuracy and speed. Finally, the model is successfully applied to underground coal gangue image segmentation through transfer learning, and the effect of coal gangue image segmentation is good, which verifies the re-liability of the algorithm.

Suggested Citation

  • Lei Zhu & Wenzhe Gu & Chengyong Liu & Beiyan Zhang & Wentao Liu & Chaofeng Yuan, 2025. "Image segmentation algorithm based on improved YOLOv8 model and its application in underground coal and gangue recognition," PLOS ONE, Public Library of Science, vol. 20(5), pages 1-21, May.
  • Handle: RePEc:plo:pone00:0321249
    DOI: 10.1371/journal.pone.0321249
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0321249
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0321249&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0321249?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0321249. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.