Skip to main content
Log in

Automatic classification of volcanic rocks from thin section images using transfer learning networks

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

In this study, efficient deep transfer learning models are proposed to classify six types of volcanic rocks, and this paper has a novelty in classifying volcanic rock types for the first time using thin section images. Convolutional neural network-based DenseNet121 and ResNet50 networks, which are transfer learning methods, are used to extract the features from thin section images of rocks, and the classification process is carried out with a single-layer fully connected neural network. The proposed models are trained and tested on 1200 thin section images using four different optimizers (Adadelta, ADAM, RMSprop, SGD). AUC, accuracy, precision, recall and f1-score are used as performance metrics. Proposed models are run 10 times for each optimizer. DenseNet121 classifies volcanic rock types using RMSprop with an average accuracy of 99.50% and a maximum of 100.00%, and ResNet50 classifies using ADAM with an average accuracy of 98.80% and a maximum of 99.72%. Thus, the applied deep transfer learning is promising in geosciences and can be used to identify rock types quickly and accurately.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Baykan NA, Yilmaz N (2010) Mineral identification using color spaces and artificial neural networks. Comput Geosci. https://doi.org/10.1016/j.cageo.2009.04.009

    Article  Google Scholar 

  2. Chatterjee S (2013) Vision-based rock-type classification of limestone using multi-class support vector machine. Appl Intell 39:14–27. https://doi.org/10.1007/s10489-012-0391-7

    Article  Google Scholar 

  3. Cheng G, Guo W (2017) Rock images classification by using deep convolution neural network. J Phys Conf Ser. https://doi.org/10.1088/1742-6596/887/1/012089

    Article  Google Scholar 

  4. Fawcett T (2006) An introduction to ROC analysis. Pattern Recogn Lett 27(8):861–874. https://doi.org/10.1016/j.patrec.2005.10.010

    Article  MathSciNet  Google Scholar 

  5. Goodfellow I, Bengio Y, Courville A (2016) Deep learning. MIT press, US

    MATH  Google Scholar 

  6. Grandini M, Bagli E, Visani G (2020) Metrics for multi-class classification: an overview. arXiv. arXiv:2008.05756

  7. Guo Y, Liu Y, Oerlemans A, Lao S, Wu S, Lew MS (2016) Deep learning for visual understanding: a review. Neurocomputing 187:27–48. https://doi.org/10.1016/j.neucom.2015.09.116

    Article  Google Scholar 

  8. Harinie T, Janani Chellam I, Sathya Bama SB, Raju S, Abhaikumar V (2012) Classification of rock textures. In: Satapathy SC, Avadhani PS, Abraham A (eds) Proceedings of the international conference on information systems design and intelligent applications held in Visakhapatnam, India, January 2012. Advances in intelligent and soft computing, 132. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-27443-5_102

  9. Kaiming H, Xiangyu Z, Shaoqing R, Jian S (2015) Deep residual learning for image recognition. arXiv: org/abs/1512.03385

  10. Huang G, Liu Z, Maaten L, Weinberger KQ (2016) Densely connected convolutional networks. arXiv:org/abs/1608.06993

  11. Joseph S, Ujir H, Hipiny I (2017) Unsupervised classification of intrusive igneous rock thin section images using edge detection and colour analysis. In Proc: IEEE international conference on signal and image processing applications 530-535

  12. Lacassie JP, del Solar JR, Roser B, Hervé F (2006) Visualization of volcanic rock geochemical data and classification with artificial neural networks. Math Geol 36(6):697–710. https://doi.org/10.1007/s11004-006-9042-z

    Article  Google Scholar 

  13. LeCun Y, Boser B, Denker JS, Henderson D, Howard RE, Hubbard W, Jackel LD (1989) Backpropagation applied to handwritten zip code recognition. Neural Comput 1(4):541–551. https://doi.org/10.1162/neco.1989.1.4.541

    Article  Google Scholar 

  14. Lepistö L, Kunttu I, Visa A (2005) Rock image classification using color features in Gabor space. J Electron Imaging 14(4):040503. https://doi.org/10.1117/1.2149872

    Article  Google Scholar 

  15. Marmo R, Amodio S, Tagliaferri R, Ferreri V, Longo G (2005) Textural identification of carbonate rocks by image processing and neural network: methodology proposal and examples. Comput Geosci 31(5):649–659. https://doi.org/10.1016/j.cageo.2004.11.016

    Article  Google Scholar 

  16. Marschallinger R (1997) Automatic mineral classification in the macroscopic scale. Comput Geosci 23(1):119–126

    Article  Google Scholar 

  17. Menéndez M, González-Gallego J (2010) Rock mass classification schemes in volcanic rocks. ISRM international workshop on rock mechanics and Puerto de la CruzGeoengineering in Volcanic Environments, Puerto de la Cruz, Spain

  18. Metz CH (1978) Basic principles of ROC analysis. Semin Nucl Med 8(4):283–298

    Article  Google Scholar 

  19. Młynarczuk M, Górszczyk A, Ślipek B (2013) The application of pattern recognition in the automatic classification of microscopic rock images. Comput Geosci 60:126–133. https://doi.org/10.1016/j.cageo.2013.07.015

    Article  Google Scholar 

  20. Patel AK, Chatterjee S (2016) Computer vision-based limestone rock-type classification using probabilistic neural network. Geosci Front 7(1):53–60. https://doi.org/10.1016/j.gsf.2014.10.005

    Article  Google Scholar 

  21. Powers DMW (2011) Evaluation: from precision, recall and f-measure to ROC, informedness, markedness and correlation. J Machine Learn Technol 2(1):37–63 (arXiv.org/abs/2010.16061)

    MathSciNet  Google Scholar 

  22. Ran X, Xue L, Zhang Y, Liu Z, Sang X, He J (2019) Rock classification from field image patches analyzed using a deep convolutional neural network. Mathematics 7(8):755. https://doi.org/10.3390/math7080755

    Article  Google Scholar 

  23. Salinas RA, Raff U, Farfan C (2005) Automated estimation of rock fragment distributions using computer vision and its application in mining. Proc: IEEE Vision, Image and Signal Process 152(1):1–8. https://doi.org/10.1049/ip-vis:20050810

    Article  Google Scholar 

  24. Shaaban SM, Tawfik SZ (2020) Classification of volcanic rocks based on rough set theory. Eng Technol Appl Sci Res 10(2):5501–5504. https://doi.org/10.48084/etasr.3420

    Article  Google Scholar 

  25. Singh N, Singh TN, Tiwary A, Sarkar KM (2010) Textural identification of basaltic rock mass using image processing and neural network. Comput Geosci 14:301–310. https://doi.org/10.1007/s10596-009-9154-x

    Article  MATH  Google Scholar 

  26. Sokolava M, Lapalme G (2009) A systematic analysis of performance measures for classification tasks. Inform Process Manag 45(4):427–437. https://doi.org/10.1016/j.ipm.2009.03.002

    Article  Google Scholar 

  27. Streckeisen A (1980) Classification and nomenclature of volcanic rocks, lamprophyres, carbonatites and melilitic rocks IUGS subcommission on the systematics of igneous rocks. Geologische Rundschau 69(1):194–207. https://doi.org/10.1007/BF01869032

    Article  Google Scholar 

  28. Tharwat A (2020) Classification assessment methods. Appl Comput Inform. https://doi.org/10.1016/j.aci.2018.08.003

    Article  Google Scholar 

  29. Tian Y, Guo C, Lv L, Li F, Gao C, Liu Y (2019) Multi-color space rock shin-section image classification with SVM. In Proc: IEEE 8th joint international information technology and artificial intelligence conference 571-574. https://doi.org/10.1109/ITAIC.2019.8785477

  30. Tsuji T, Yamaguchi H, Ishii T, Matsuoka T (2010) Mineral classification from quantitative X-ray maps using neural network: application to volcanic rocks. Island Arc 19(1):105–119. https://doi.org/10.1111/j.1440-1738.2009.00682.x

    Article  Google Scholar 

  31. Yin XC, Liu Q, Hao HW, Wang ZB, Huang K (2011) FMI image based rock structure classification using classifier combination. Neural Comput Appl 20(7):955–963. https://doi.org/10.1007/s00521-010-0395-3

    Article  Google Scholar 

  32. Zeiler MD (2012) ADADELTA: An adaptive learning rate method. CoRR, vol.abs/1212.5701, arXiv.org/pdf/1212.5701.pdf

  33. Zhang Y, MingChao L, Han S (2018) Automatic identification and classification in lithology based on deep learning in rock images. Acta Petrol Sin 34(2):333–342

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

Özlem Polat designed the study, developed the software with Python, performed the experiments, analyzed the results and wrote the manuscript. Ali Polat conceived the presented idea and provided support in development of computer codes and writing manuscript. Taner Ekici prepared the image dataset by taking photograph and provided support in writing manuscript.

Corresponding author

Correspondence to Özlem Polat.

Ethics declarations

Funding

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Conflicts of interest/Competing interests

We have no conflicts of interest/competing interests to disclose.

Availability of data

Datasets can be accessed from https://drive.google.com/drive/folders/12cVpuVQw6sS7ZXMChRdyQNht4b4E_Pvq

Code availability:

Computer codes are publicly available on https://drive.google.com/drive/folders/1UU0aiFzxjclEQfAo9VnHxXIiDuXsSxRE

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Polat, Ö., Polat, A. & Ekici, T. Automatic classification of volcanic rocks from thin section images using transfer learning networks. Neural Comput & Applic 33, 11531–11540 (2021). https://doi.org/10.1007/s00521-021-05849-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-05849-3

Keywords

Navigation