Figures
Abstract
Analyzing geological drilling hole images acquired by Axial View Panoramic Borehole Televiewer (APBT) is a key step to explore the geological structure in a geological exploration. Conventionally, the borehole images are examined by technicians, which is inefficient and subjective. In this paper, three dominant types of borehole-wall images on coal-rock mass structure, namely, border images, fracture images and intact rock mass images are mainly studied. The traditional image classification methods based on unified feature extraction algorithm and single classifier is not effect for the borehole images. Therefore, this paper proposes a novel two-stage classification approach to improve the classification performance of borehole images. In the first-stage classification, the border images are identified from three kinds of images based on texture features and gray-scale histograms features. For the remaining two types of images, in the second-stage classification, Gabor filter is first applied to segment the region of interest (ROI) (such as microfracture, absciss layer and horizontal cracks, etc.) and the central interference region. Then, using the same feature vector after eliminating the central interference region, fracture images are separated from intact rock mass images. We test our two-stage classification system with real borehole images. The results of experimental show that the two-stage classification method can effectively classify three major borehole-wall images with the correction rate of 95.55% in the first stage and 95% in the second stage.
Citation: Deng Z, Cao M, Rai L, Gao W (2018) A two-stage classification method for borehole-wall images with support vector machine. PLoS ONE 13(6): e0199749. https://doi.org/10.1371/journal.pone.0199749
Editor: Zhaoqing Pan, Nanjing University of Information Science and Technology, CHINA
Received: May 19, 2017; Accepted: June 13, 2018; Published: June 28, 2018
Copyright: © 2018 Deng et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All data underlying the study are within the paper and supporting information files.
Funding: The authors received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
Introduction
The structural feature and mechanical property of fractures, absciss layers and other structural planes are significant to study the geological stability, engineering design and construction safety [1,2]. In geological exploration, the core boring method [3] is a traditional way to analyze the geological condition, which is characterized by heavy workload, low efficiency and difficulty in obtaining the cores of weak layers such as broken mudded intercalation and weathered interlayer. To overcome these shortages, Borehole Camera Technology (BCT) was introduced into the geological exploration in 1950s to directly observe the internal structure of geological bodies [4,5]. Thereafter, this technique has experienced about 3 phases, namely, Borehole Photo Camera(BPC), Borehole Televiewer (BTV) and Digital Borehole Optical Televiewer (DBOT). BPC uses photographic film to take static photos of the borehole-wall, which is lack of real-time monitoring capabilities. Currently, Axial View Panoramic Borehole Televiewer (APBT) [6] and Digital Panoramic Borehole Camera System (DPBCS) [7] are the most common techniques for the geological borehole observation. The DPBCS can obtain the section or entire of borehole-wall unrolled image, but the equipment is complex, expensive and only suitable for vertical holes [8, 9]. In contrast, the APBT can generate visualized panoramic images with simple structure, small volume and low cost. Moreover, it can be directly applied to horizontal holes and inclined holes, etc. [6].
Through borehole images acquired by APBT, we can observe the underground geological conditions. At the moment, however, these borehole images are usually examined by human eyes. It is time consuming and tedious to check possibly a large number of images even for experienced engineers. Moreover, it depends on the personal experience of engineers, which is weak in quantitative analysis and easy to cause errors. Therefore, it is necessary to establish some reliable and efficient approaches to analyze the borehole images. Recognition and classification of geological image have not been an object of active research in recent years although there have been some studies in this field. Khojasteh et al. [10] applies color and texture analysis for classification of keybeds in Gachsaran, and the upper Asmari formations and classification is done by using the SVM. Tools for classification were in that research co-occurrence matrix and fuzzy c-mean clustering (FCM). Jungmann et al. [11] successfully used the method of texture-based supervised classification to the classification of electrical borehole wall images. They extracted different texture features such as Haralick features, Zernike moments and wavelet-based features to combine with different classification methods and got a good classification results for certain rock groups. Yin et al. [12] analyzed the images characteristics of rock structure acquired by Formation Micro Imager (FMI) and developed a rock structure classification system. But its feature extraction method was simpler and coarse, which led to an unsatisfied classification accuracy. Although some researches have been conducted successfully on different types of geological image by image processing technology, they have not particularly focused on identification and classification of borehole images acquired by APBT. Therefore, this paper presents an automatic classification method for the borehole-wall images to assist geologists to survey and study for geological structure. We hope this has important practical significance for the geological engineering investigation and design.
Classification of geological images is an extremely difficult task in the field of visual inspection and image analysis [13]. In classification, a number of visual descriptors are extracted to classify images based on their content. The most common visual descriptors are colors, textures, and shapes occurring in the images. Nonetheless, the color of borehole-wall images is flat and unvaried, and the shape (such as fractures, joints, and structural plane, etc.) is usually irregular even if the images represent the same type. Thus these two features cannot discriminate the different classes best. Borehole-wall images can be classified into different categories based on their texture similarity [14]. Gray level co-occurrence matrix (GLCM) is probably the most popular method for texture analysis [15]. However, due to the similarity of horizontal crack images and intact rock mass images, a single statistical method of extracting the texture feature may not be sufficient for the classification task. Considering feature extraction and image recognition, many scholars have combined several algorithms for obtaining better results. Monika et al. [16] proposed that the variance of the GLCM combined with the normalized difference vegetation index (NDVI) is able to separate slums and formal areas. Park et al. [17] identified the candidate regions of ground glass opacity (GGO) based on homogeneity values calculated by the GLCM and the intensity values. Cheng [18] compared three feature extraction methods of intensity histogram, GLCM, and bag-of-words (BoW) model in the classification of brain tumors. Ashraf et al. [19] presented a reinterpretation of the application of Gabor filters, as a preprocessing step, to a linear SVM in terms of a manipulation of the margin. He et al. [20] proposed a fusion scheme to gain a better understanding and a fusion method for a face-iris-fingerprint multimodal biometric system. They used particle swarm optimization to train a set of adaptive Gabor filters in order to achieve the proper Gabor basic functions for each modality. In [21], GLCM and fractal features are extracted from the segmented ultrasound images to compose a feature space and classified using support vector machines (SVM) and artificial neural networks (ANN).
In this paper, we study borehole images with limited samples by using image processing and pattern recognition technologies. With analyzing the characteristics of borehole images obtained by APBT, we propose an automatic two-stage classification system to classify three dominant types of borehole-wall images, namely, border images, fracture images and intact rock mass images by using SVM [22], which replaces traditional classification method to improve the classification accuracy. Border images with relatively large effective regions have rich distinguishing features and are easy to be identified by the primitive image features, while fracture images and intact rock mass images have fewer features and are more complex. If the classifier is trained like the traditional method using three kinds of mixed samples, it may cause classification conflict, which will lead to unsatisfactory classification results. Therefore, in the first-stage classification, all three classes of image samples are mainly divided into border images and non-border images, and then the non-border images are put into the second stage among the classification of fracture images and intact rock mass images. Finally the classification results are merged together.
The rest of this work is organized as follows. Section 2 describes briefly the classification system framework. In Sec. 3, feature extraction, effective region segmentation and the used classifier are presented. Experimental results and some analysis are shown in Sec. 4, in which the proposed method is tested using real borehole images. Finally, Sec. 5 concludes this work.
Proposed system
In this paper, we mainly concern our study on the classification of the most common three classes of borehole-wall images: border images, fracture images and intact rock mass images. In general, border images are characterized by large portion of bright area and clear contrasts across boundaries corresponding to a high degree of variability in the gray histogram, significantly different from other categories of images. Intact rock mass images are featured by highly homogenous in terms of directionality, granularity, and color. Typically, the differences between fracture images and intact rock mass images are not as clear as the border images. The fracture image is actually the intact rock mass image that exists fracture, abscission layer, and joint, etc. Therefore, the traditional classification methods that the features of all samples are extracted with a unified feature extraction method and then input into a single classifier did not allow us to distinguish the borehole images satisfactorily.
For the foregoing reasons, this paper presents a novel two-stage classification method to divide targets into three classes by two independent SVM classifier as shown in Fig 1, which can solve the above problem successfully. The specific process is as follows: In the first stage of our classification, based on texture features and gray features of original images, all pre-classified images should concurrently be made a binary decision: border image and non-border image. For the latter two classes, the visual differences of original images between the classes are not as clear as the first class. Hence, in the second-stage classification, we apply Gabor filter to effectively segment the region of interest (ROI) (such as absciss layer, horizontal cracks, etc.) and the central interference region, and then perform image segmentation to eliminate interference region. Finally, the processed images are divided into two types: fracture images or intact rock mass images. Our method constructs the two-stage classification model to enlarge differentiation advantage and gets the satisfactory classification results. The details of classification method is described in S1 File. And the relevant raw data are available in S2, S3 and S4 Files.
Methodology
Feature extraction
Feature extraction is a major part of image recognition, and it heavily affects the final classification accuracy. This study focuses on color analysis (gray analysis) and texture analysis to extract effective features from borehole-wall images. Furthermore, a SVM is utilized to classify the images into different types. Texture analysis methods have been utilized in a variety of application domains such as surface inspection, medical imaging and remote sensing, etc. [23]. Generally, there are lots of algorithms for texture feature extraction, including wavelet analysis, Laws texture extraction, Gabor filters, Local Binary Pattern (LBP), and GLCM. Admittedly, the GLCM is one of the main efficient methods of texture analysis. In the image classification, it is often beneficial to combine different visual descriptors to obtain the best possible classification result. In order to further improve the accuracy of classification, we introduce the statistical features of gray histogram for the classifier along with texture features.
Texture feature extraction
Texture is one of the important features used in describing and assessing object surfaces [24]. Gray level co-occurrence matrix (GLCM) approach is a typical statistical analysis method, which is widely used in image textural analysis [25]. In this paper, we use GLCM as well to extract the texture features of borehole-wall images. It captures the degree of texture roughness and local variation of an image described by specific parameters. The local characteristics in the borehole-wall images, such as interface, cracks and absciss layer, are quantified by specific parameters defined by GLCM approach and used to recognize different categories of image.
Five statistical parameters of GLCM are taken into considerations. They are Angular Second Moment (ASM), Entropy (ENT), Inverse Difference Moment (IDM), Contrast (CON) and Correlation (COR), as shown below [26].
Gray-scale histogram feature extraction
In the process of capturing borehole images, as a result of the shooting environment, the borehole images are missing color information obviously, and thus the color feature should correspond to the gray feature. Feature extracting based on the gray histogram is a typical algorithm in the gray feature extraction of images. However, the histogram of image usually cannot be directly used as feature, but by statistical features of the image histogram, among which the most commonly used are gray mean and variance.
The gray mean reflects the average gray value of an image, which is defined as:
(6)
and the gray variance indicates that the discrete distribution of image gray value, which is defined as:
(7)
where f (i, j) is pixel gray value, and m and n defined the numbers of row and column in borehole-wall image.
In the first-stage classification of our system, we use gray-scale histogram features to separate border images from the other two classes of images. As shown in the Fig 2, the gray histogram of a border image (Fig 2B) has the obvious difference with the histograms of a fracture image and an intact rock mass image (Fig 2D and 2F), whereas the histograms of a fracture image and an intact rock mass image present a larger similarity. Therefore, statistical features of the gray histogram of original image can only be used as effective features for distinguishing border images from borehole images.
Gabor transform
Gabor transform theory was proposed by Dennis Gabor in 1946 and later was extended to 2-D by Daugman [27]. In a 2D spatial domain, a Gabor wavelet is a complex exponential modulated by a Gaussian function, which can obtain high resolution in both time and frequency domains. The function can be defined as follows:
(8)
where, x0 = x cos(θ) + y sin(θ), y0 = −x sin(θ) + y cos(θ), x and y denote the pixel positions, σx and σy are the variances of the Gaussian function along x orientation and y orientation respectively, f is the frequency of sine function, and θ represents the orientation of Gabor filter. By the experiments, when f, σx, σy, and θ are16, 2, 4, and π/3, respectively, the filtering effect of borehole images are the best.
Typically, an input image I(x, y) is convolved with a Gabor kernel G(x, y) to obtain a Gabor filtered image.
(9)
where, * is the convolution operator.
Fig 3 shows an example of applying Gabor filter to a fracture image and an intact rock mass image. In Fig 3B and 3D, the filtered fracture image contains an absciss layer and a central interference region, and the filtered intact rock mass image only contains a central interference region. Although this method makes a large number of image information lost, it greatly expands the difference between fracture images and intact rock mass images, and therefore more discriminative features can be extracted to achieve a better classification.
(A) fracture image; (B) Gabor filtered fracture image; (C) intact rock mass image; (D) Gabor filtered intact rock mass image.
Image segmentation
Due to the imaging principle of axial view borehole TV, the center of the borehole image has a big visual blind spot (the central interference region), which is independent of the image content. As shown in Fig 3B, the center region and the fracture are segmented by the Gabor filter. The aim of image segmentation is to eliminate the central interference region. We found that the threshold value of 0.85 achieves best effective segmentation of the target region. Fig 4 shows an example of the image segmentation of a Gabor filtered image.
(A) Gabor filtered image; (B) Threshold image.
Usually, the central region has two common features: the area is almost the biggest in all regions, and the shape is closer to circle. Hence, the area and circularity can be combined to achieve the location of the central interference region. The region-labeling algorithm is used to assign the same mark to each connected region. And the area of each region, defined as the number of pixels in the region, are calculated. The circularity is generally defined as follows:
(10)
where α is the area of region, p is the border length of region, and e represents the similarity between the region and circular.
In our borehole-wall images, the region of the largest area and circularity identify the central interference region. As shown in Fig 5A, the center area contains 2868 pixels and circularity is 0.22, both are the maximal values in all regions. Therefore, we can locate the centroid of central region and eliminate the interference region within an appropriate range, as is shown in Fig 5B.
(A) Region labeling; (B) Eliminate center interference region.
SVM classifier
Support Vector Machine (SVM) classifier, based on statistical learning theory and structural risk minimum principle, is a new machine learning classification algorithm [28,29]. The main aim of SVM is to obtain the decision boundary or hyperplane which optimally separates two kinds of samples as illustrated in Fig 6. Where H is the hyperplane, H1 and H2 are planes parallel to the hyperplane, the distance () between H1 and H2 is the separating margin, and ω is a vector defining the boundary. For a given training set, seeking an optimal hyperplane is to maximize the separating margin between two classes [30].
When samples are non-linear, quadratic programming method is used to obtain optimal hyperplane, as shown in formula (11):
(11)
where ∅(ω) is object function, εi is slack variable, and C is penalty factor. The optimal classification function is as follows.
When we solve the optimization problem of SVM, kernel function K(x, xi) based on the Mercer’s theorem can replace inner product ⟨x,xi⟩, which implicitly makes the input vector map into a high-dimensional feature space, thus the nonlinear problem can be solved as a linear problem.
There are several types of kernel functions, namely, liner kernel function, polynomial kernel function, radial basic kernel function (RBF) and Sigmoid kernel function. The decision function can be expressed as follows:
(13)
where αi and yi are Lagrange multipliers, and xi = [x1, x2, x3,…, xn] is the input data.
Classification experiments with borehole-wall images
In this section, the performance of the proposed two-stage classification method is examined using the borehole images acquired by Axial View Panoramic Borehole Televiewer (APBT). In all experiments, SVM is selected to be the classifier for supervised classification, which is suitable for small sample classification.
The database of borehole-wall images
The APBT can directly observe the structural feature and mechanical property of rock mass through pre-drilled borehole, with characteristics of the borehole-wall being surveyed in air or clear fluid filled boreholes. We adopt the YTJ20 type of APBT system, which mainly consists of the CCD camera, transmission line, guide bars, depth measuring device, integrated control box as shown in Fig 7, and its specifications are given in Table 1. The resolution of the image acquired by this apparatus is up to 0.1 mm, which can observe the distribution of small fractures in borehole.
The borehole-wall image samples for this research are obtained from the coal mine exploration [31]. These images are manually divided into three classes by an experienced geological expert as: (1) border images, including coal-rock boundary and different rock boundary, etc. (2) fracture images, including absciss layer, microfracture, joint and cracks, etc. and (3) intact rock mass images. The division is based on their color and texture properties. There are total 150 original image samples and each of the three classes contains 50 images where 30 images are randomly selected as training images and 20 images as testing samples. The size of the each image is 300 × 238 pixels. Fig 8 presents three example images of each three class. The objective of these experiments is to make a classification between these image classes.
(A) border images; (B) fracture images; (C) intact rock mass images.
Feature extraction and normalization
In the classification experiments, different visual descriptors are extracted from the database of borehole-wall images. We use two descriptors: Gray level co-occurrence matrix (GLCM) with five features and two statistical features of the image histogram.
For the textural feature extraction of borehole-wall image, we performed a texture analysis to create the feature vector of each image, which is composed by five GLCM features in four directions (0°, 45°, 90°, 135°): ASM, ENT, IDM, CON and COR. These features are simply and fast computed based on the co-occurrence matrix and have been demonstrated to be very discriminative in the image classification. In order to improve the robustness of parameter to the direction, the average value of four directions is taken by the formula (14). The extracted texture feature vector is (ASM, ENT, IDM, CON, COR).
Afterwards, the mean and variance of image are calculated by using formula (6) and (7) respectively to compose the gray feature vector. For each sampling image, texture features combined with gray features form a seven-dimensional feature vector x = (ASM, ENT, IDM, CON, COR, E, D), which is labelled with the corresponding borehole-wall image class.
To ensure that the data is in same quantity rank, normalized method is adopted to pretreat the imported data during training and testing the SVM classifier processes. Formula (15) is the data normalization model.
(15)
where x is the raw data, xmax and xmin are the maximal and minimal values of data, respectively.
Experimental results and analysis
To ensure the validity of the proposed system, this section makes three experiments, which demonstrate the effectiveness of the two-stage classification model and Gabor filter. And moreover, we compare the performances of different classifiers and filtering algorithms in classification of borehole images.
Experiment (1)
The innovation of traditional classification methods mainly lies in the image feature extraction or the classifier optimization, using a unified feature extraction method for samples of all classes and a single classifier. To confirm the validity of two-stage structure, traditional image classification methods by using one classifier are done and then different kernel functions for evaluating the performance of SVM are tested. In the first experiment, we directly extract the features of all three types of images for classification without the method of two-stage, and choose three different feature extraction methods:
- Algorithm (1): In this method, five texture features of original images extracted by GLCM combined with two gray features constitute the feature vector, which is selected as an input for the SVM classifier.
- Algorithm (2): In this case, the borehole-wall images are decomposed by multi-scale wavelet, then the energy and moments as the features to be recognized by SVM are extracted.
- Algorithm (3): The second-stage classification method in this paper is applied to classify all three types of images. All kinds of borehole images are filtered by Gabor and eliminated the central interference region, then the same seven-dimensional feature vector is extracted and inputted to the SVM classifier.
However, as shown in Fig 9, much information which is essential for distinguishing border images from the others will be lost. Moreover, after the Gabor filtering, some of the border images are similar to the fracture images, thus increasing the difficulty in classification. Fig 9C and 9D are Gabor filtered border images which similar to the Gabor filtered fracture images.
(A) and (B) are original border images; (C) and (D) are Gabor filtered border images.
The accuracy of algorithm (1), (2) and (3) are shown in Table 2. As can be seen from Table 2, a single statistical method of GLCM has the highest accuracy. Since distinguishing features of border images are lost, algorithm (3) cannot work well for classification of all borehole-wall images.
The selection of the kernel function will affect the precision of the SVM [32]. Until now, there is no effective method to select an optimal kernel function for a particular question. Therefore, different kernel functions for evaluating the performance of SVM are tested. Algorithm (1) is used for the choice of optimal kernel function, and the accuracy is shown in Fig 10. It can be seen that RBF is the most successful classifier in distinguishing borehole images with 83.33% accuracy in comparison to the Linear, Sigmoid and Polynomial with 71.66%, 63.33% and 70% (testing samples), respectively. Therefore, in this paper, RBF is used as the kernel function for SVM.
Experiment (2)
In this section we have illustrated the validity of these texture and gray features in distinguishing between the samples of fracture images and intact rock mass images after using Gabor filter and image segmentation. In our second-stage classification, the method combining Gabor filter and image segmentation technology is used to improve the distinguish capability of features in latter two classes.
Fig 11, in which the horizontal axis is the samples number and the vertical axis describe feature value, shows different characteristics of each class conferring to different features of GLCM and gray value. The discriminative ability of contrast is shown in Fig 11A and 11B, presenting its value for 30 images in the fracture image class and intact rock mass image class. It can be seen from Fig 11A that these values are interlocked together, and thus cannot distinguish the two types of images. Remarkably, after the Gabor transform and image segmentation, Fig 11B illustrates that the contrast values between two classes have big difference and the gap is wide in comparison to the original feature values (in Fig 11A), which make the contrast become an effective distinguishing feature for image classification. This is quite obvious, using Gabor filter to the remaining two classes is due to the fact that the processed image can highlight the ROI (such as absciss layer, microfracture, and joint etc.), and the central interference region can be removed. The result can be observed in Fig 11B, where samples of the fracture images are located at high values and the intact rock mass images show small values. The distribution of these two separated clusters presented gives evidence that a decision boundary can be established with good discrimination and, consequently, low probability of classification error.
(A) contrast of original images; (B) contrast of processed images; (C) correlation of original images; (D) correlation of processed images; (E) mean of original images; (F) mean of processed images; (G) variance of original images; (H) variance of processed images.
Subsequently, Fig 11C to 11H show the contrast effects of correlation, mean, and variance, respectively. Consistent with this observation, a SVM classifier shows the best performance for this task with 95% of accuracy for the latter two kinds of borehole images. This performance supports that the proposed second-stage classification method is effective, and thus can differentiate fracture image and intact rock mass image accurately.
Experiment (3)
In the borehole image classification, the classification accuracy of different classifier is different. It is related with statistical distribution characteristics of data, prior knowledge, the size of samples and structure of classifier itself and so on. In the third experiment, we compare the support vector machine (SVM) [33] and artificial neural network (ANN) classifiers for the classification of borehole images, and analyze the filter performance of wavelet filtering instead of Gabor in the second-stage classification. The third experiments use the two-stage classification approach, thus the first-stage classification have the same accuracy which is the recognition rates of border images. The experiments are as follows:
Algorithm (4): In this method, the low-frequency coefficients image of wavelet decomposition are used to replace the Gabor filtered image in second-stage classification.
Proposed method (ANN): In this case, two classifiers in our proposed method are replaced by ANN classifier.
For classifier, the LibSVM [34] with RBF kernel and the Fast Artificial Neural Network Library (FANN) [35] are employed. The parameter setting of FANN is n:y:c, where n (number of features), y = |Z1|-1 and c (number of classes) are the number of neurons in the input, hidden and output layers, respectively.
The first-stage classification accuracy is the recognition rate of border images, which is higher than that of the traditional image classification methods, as shown in Table 3. Both the wavelet transform and Gabor filter can reflect the local detail information of the image in each scale [36,37]. Due to the application of Gabor filtering, we particularly improved the classification effect for the fracture image and intact rock mass image class, the most problematic classes of the borehole image classification. The classification accuracy of Gabor reached 92.5% while wavelet transform it correctly classify the test set at a rate of 87.5%. From the result above, it is found that the classification effect of Gabor filter is better than wavelet transform mainly. Because after wavelet decomposition, the low-frequency coefficients of the image is not clear in the ROI, and the outer edge exists a lot of interference. By contrast, Gabor filter effectively eliminates the noise region and segments the ROI better [38]. The filtering results of the two algorithms are shown in Fig 12.
(A) and (D) are original images; (B) and (E) are low-frequency images of wavelet decomposition; (C) and (F) are Gabor filtered images.
The obtained results in Fig 13 show that the two-stage classification method based on SVM is able to outperform the conventional image classification strategies in the classification of borehole images. And as the limited of image samples, SVM classifier has a greater improvement than ANN classifiers. The accuracy of the proposed method is able to achieve 94.44% in training samples, thus it shows that the algorithm proposed in this paper is effective.
Conclusion
Analyzing images of geological drilling holes is an important and crucial task to explore the geological structure. Several studies have been developed for geological image analysis, but few of them take care about identification and classification of borehole images obtained by Axial View Panoramic Borehole Televiewer (APBT). Therefore, this paper presents a novel two-stage classification approach for the automatic classification of borehole images. It can improve the classification accuracy of borehole images significantly. At the first stage of classification, the border images are recognized by the first level SVM from three types of borehole images based on texture and gray features of original image. Afterwards, in the second-stage classification, the ROI of the fracture images and intact rock mass images are extracted by Gabor filter and image segmentation technology, and then the processed images are well classified by the second SVM.
Experiments with real borehole images captured from the coal and rock exploration show that the proposed two-stage classification method is more effective than the traditional method of classification since it highlights the differences between the fracture images and intact rock mass images, and consequently extract more discriminative features. The proposed method gives promising results in classification of the borehole-wall images by using SVM classifier with RBF kernel and the results of this research would be highly helpful in analyzing images of geological drilling holes. On the test set, the classification accuracy in the first-stage and second-stage has reached 93.33% and 92.5% respectively.
Our classification system is with very limited samples due to the strict conditions and practical limitations. A higher accuracy is expected if more samples are given. Future work involve expanding the number of image samples and also selecting more and better features to perform the classification task.
Supporting information
S1 File. Detailed description of methods used for data processing and analysis.
https://doi.org/10.1371/journal.pone.0199749.s001
(PDF)
S3 File. Original data for the fracture image.
https://doi.org/10.1371/journal.pone.0199749.s003
(ZIP)
S4 File. Original data for the intact rock mass image.
https://doi.org/10.1371/journal.pone.0199749.s004
(ZIP)
References
- 1. Chen H M, Zhao Z Y, Choo L Q, Sun J P. Rock Cavern Stability Analysis Under Different Hydro-Geological Conditions Using the Coupled Hydro-Mechanical Model. Rock Mechanics and Rock Engineering. 2016; 49(2):555–572.
- 2. Schepers R, Rafat G, Gelbke C, Lehmann B. Application of borehole logging, core imaging and tomography to geotechnical exploration. International Journal of Rock Mechanics and Mining Sciences. 2001; 38(6):867–876.
- 3. Zohreh M, Junin R, Bakhtiary H A, Poor S T, Mohamadian R, Movahed A A. The evaluation of borehole imaging result comparing with cores in Sarvak fractured and non-fractured reservoir. Arabian Journal of Geosciences, 2016; 9(3):1–12.
- 4. Kanaori Y. The observation of crack development around an underground rock chamber by borehole television system. Rock Mechanics and Rock Engineering. 1983; 16(2):133–142.
- 5. Skoczylas N, Godyń K. Evaluating selected lithological features using photographs taken with an introscopic camera in boreholes. International Journal of Rock Mechanics and Mining Sciences. 2014; 72:319–324.
- 6. Wang C, Ge X, Bai S. Axial view panoramic borehole TV and its application. Chinese Journal of Rock Mechanics and Engineering. 2001; 20:1687–1691.
- 7. Williams J H, Johnson C D. Acoustic and optical borehole-wall imaging for fractured-rock aquifer studies. Journal of Applied Geophysics. 2004; 55(1–2):151–159.
- 8. Lo H C, Chou P Y, Hsu S M, Chao C H, Wang C T. Using borehole prospecting technologies to determine the correlation between fracture properties and hydraulic conductivity: a case study in taiwan. Journal of Environmental and Engineering Geophysics. 2012;17(1), 27–37.
- 9. Xiao Y X, Feng X T, Hudson J A, Chen B R, Feng G L, Liu J P. Isrm suggested method for in situ microseismic monitoring of the fracturing process in rock masses. Rock Mechanics and Rock Engineering. 2016; 49(1), 343–369.
- 10. Khojasteh P, Ahmadyfard A, Tokhmechi B, Mirmahdavi S A. Automatic detection of formations using images of oil well drilling cuttings. Journal of Petroleum Science and Engineering. 2015; 125(125): 67–74.
- 11. Jungmann M, Kopal M, Clauser C, Berlage T. Multi-class supervised classification of electrical borehole wall images using texture features. Computers and Geosciences. 2011; 37(4): 541–553.
- 12. Yin X C, Liu Q, Hao H W, Wang Z B, Huang K. FMI image based rock structure classification using classifier combination. Neural Computing and Applications. 2011; 20(7): 955–963.
- 13. Shu L, Mcisaac K, Osinski G R, Francis R. Unsupervised feature learning for autonomous rock image classification. Computers and Geosciences. 2017; 106: 10–17.
- 14. Lau J S O, Auger L F, Bisson J G. Subsurface fracture surveys using a borehole television camera and acoustic televiewer: Reply. Canadian Geotechnical Journal. 2011; 24(4):499–508.
- 15. Shih C T, Hsu J T, Han R P, Hsieh B T, Chang S J, Wu J. A Novel Method of Estimating Dose Responses for Polymer Gels Using Texture Analysis of Scanning Electron Microscopy Images. Plos One. 2013; 8(7): e67281. pmid:23843998
- 16. Kuffer M, Pfeffer K, Sliuzas R, Baud I. Extraction of Slum Areas From VHR Imagery Using GLCM Variance. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing. 2016; 9(5):1830–1840.
- 17. Park S, Kim B, Lee J, Jin M G, Shin Y G. GGO nodule volume-preserving nonrigid lung registration using GLCM texture analysis. IEEE Transactions on Biomedical Engineering. 2011; 58(10):2885–2894. pmid:21775252
- 18. Cheng J, Huang W, Cao S, Yang R, Yang W, Yun Z, et al. Enhanced Performance of Brain Tumor Classification via Tumor Region Augmentation and Partition. Plos One. 2015; 10(12):31–60.
- 19. Ashraf A B, Lucey S, Chen T. Reinterpreting the application of gabor filters as a manipulation of the margin in linear support vector machines. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2010; 32(7):1335–41. pmid:20489236
- 20. He F, Liu Y, Zhu X, Huang C, Han Y, Chen Y. Score level fusion scheme based on adaptive local Gabor features for face-iris-fingerprint multimodal biometric. Journal of Electronic Imaging. 2014; 23(3):572–579.
- 21. Raghesh K K, Radhakrishnan S. Focal and diffused liver disease classification from ultrasound images based on isocontour segmentation. Iet Image Processing. 2015; 9(4):261–270.
- 22. Cao Z, Ge Y, Feng J. SAR Image Classification with a Sample Reusable Domain Adaptation Algorithm Based on SVM Classifier. Pattern Recognition. 2017. https://doi.org/10.1016/j.patcog.2017.07.032
- 23. Hu Y, Liang Z, Song B, Han H, Pickhardt P J, Zhu W, et al. Texture feature extraction and analysis for polyp differentiation via computed tomography colonography. IEEE Transactions on Medical Imaging. 2016; 35(6), 1522–1531. pmid:26800530
- 24. Dhara A K, Mukhopadhyay S, Dutta A, Garg M, Khandelwal N. A combination of shape and texture features for classification of pulmonary nodules in lung CT images. Journal of Digital Imaging. 2016; 29(4): 466–475. pmid:26738871
- 25. Wang H, Feng Y, Yu S, Lu J Q, Ding J, Zhang J, et al. Pattern recognition and classification of two cancer cell lines by diffraction imaging at multiple pixel distances. Pattern Recognition. 2017; 61: 234–244.
- 26. Al-Sahaf H, Al-Sahaf A, Xue B, Johnston M, Zhang M. Automatically Evolving Rotation-Invariant Texture Image Descriptors by Genetic Programming. IEEE Transactions on Evolutionary Computation. 2017; 21(1): 83–101.
- 27. Daugman J G. Uncertainty relation for resolution in space, spatial frequency, and orientation optimized by two-dimensional visual cortical filters. Journal of the Optical Society of America A Optics and Image Science. 1985; 2(7):1160–9. pmid:4020513
- 28. Guo H, Wang W. An active learning-based SVM multi-class classification model. Pattern Recognition. 2015; 48(5): 1577–1597.
- 29. Geng Y, Chen J, Fu R, Bao G. Enlighten Wearable Physiological Monitoring Systems: On-body RF Characteristics Based Human Motion Classification Using a Support Vector Machine. IEEE Transactions on Mobile Computing. 2016; 15(3): 656–671.
- 30. Wang M, Wan Y, Ye Z, Lai X. Remote sensing image classification based on the optimal support vector machine and modified binary coded ant colony optimization algorithm. Information Sciences. 2017; 402: 50–68.
- 31. Li S J, Feng X T, Wang C Y, Hudson J A. ISRM Suggested Method for Rock Fractures Observations Using a Borehole Digital Optical Televiewer. Rock Mechanics and Rock Engineering. 2013; 46(3):635–644.
- 32. Chen C J, Pai T W, Cheng M. A support vector machine approach for truncated fingerprint image detection from sweeping fingerprint sensors. Sensors. 2015, 15(4):7807–7822. pmid:25835186
- 33. Bass C, Helkkula P, Paola V D, Clopath C, Bharath A A. Detection of axonal synapses in 3d two-photon images. Plos One. 2017; 12(9): e0183309. pmid:28873436
- 34. Chang C C, Lin C J. LIBSVM: A library for support vector machines. Acm Transactions on Intelligent Systems and Technology. 2011; 2(3):27.
- 35.
Nissen S. Implementation of a Fast Artificial Neural Network library (FANN). Report. 2003.
- 36. Lahmiri S, Boukadoum M. Hybrid discrete wavelet transform and Gabor filter banks processing for mammogram features extraction. New Circuits and Systems Conference IEEE. 2011; pp: 53–56.
- 37. Keskin F, Suhre E, Kose K, Ersahin T, Cetin A E, et al. Image classification of human carcinoma cells using complex wavelet-based covariance descriptors. Plos One. 2013; 8(1): e52807. pmid:23341908
- 38. Bissi L, Baruffa G, Placidi P, Ricci E, Scorzoni A, Valigi P. Automated defect detection in uniform and structured fabrics using Gabor filters and PCA. Journal of Visual Communication and Image Representation. 2013; 24(7):838–845.