US20230351576A9
2023-11-02
17/963,915
2022-10-11
US 12,307,641 B2
2025-05-20
-
-
Idowu O Osifade | Dylan John Mendez Muniz
Birch, Stewart, Kolasch & Birch, LLP
2044-01-09
The present disclosure relates to a half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting, including the following steps: S1-2: photographing first and second contrast images as well as a half-cast mark image after blasting; S3-6: performing denoising, gray-scale processing and binary processing on the above images, and identifying a boundary of a half-cast mark in each of the images; S7-9: determining a flatness damage variable, a quantitative relation among an area of a half-cast mark region, the damage variable and a fractal dimension, and a damage value of the half-cast mark image; S10-11: forming five-dimensional (5D) eigenvectors to obtain multi-dimensional digital information features of the images; and S12-13: selecting eigenvectors of 60 images as training data to input to a naive Bayes classifier (NBC), and taking eigenvectors of remaining 30 images as classification data to input the above well-trained NBC for classification.
Get notified when new applications in this technology area are published.
G06T7/0002 » CPC main
Image analysis Inspection of images, e.g. flaw detection
G06T5/002 » CPC further
Image enhancement or restoration; Image restoration Denoising; Smoothing
E21D9/003 » CPC further
Tunnels or galleries, with or without linings; Methods or apparatus for making thereof ; Layout of tunnels or galleries Arrangement of measuring or indicating devices for use during driving of tunnels, e.g. for guiding machines
E21D9/006 » CPC further
Tunnels or galleries, with or without linings; Methods or apparatus for making thereof ; Layout of tunnels or galleries by making use of blasting methods
G06T2207/20116 » CPC further
Indexing scheme for image analysis or image enhancement; Special algorithmic details; Image segmentation details Active contour; Active surface; Snakes
G06T2207/20081 » CPC further
Indexing scheme for image analysis or image enhancement; Special algorithmic details Training; Learning
G06T2207/30204 » CPC further
Indexing scheme for image analysis or image enhancement; Subject of image; Context of image processing Marker
G06T2207/30181 » CPC further
Indexing scheme for image analysis or image enhancement; Subject of image; Context of image processing Earth observation
F42D3/04 » CPC further
Particular applications of blasting techniques for rock blasting
G06T7/00 IPC
Image analysis
G06T5/00 IPC
Image enhancement or restoration
G06T5/40 » CPC further
Image enhancement or restoration by the use of histogram techniques
G06T7/149 » CPC further
Image analysis; Segmentation; Edge detection involving deformable models, e.g. active contour models
G06T5/20 » CPC further
Image enhancement or restoration by the use of local operators
G06T7/13 » CPC further
Image analysis; Segmentation; Edge detection Edge detection
G06T3/40 » CPC further
Geometric image transformation in the plane of the image Scaling the whole image or part thereof
E21D9/00 IPC
Tunnels; Galleries; Large underground chambers; Linings therefor
E21D9/00 IPC
Tunnels or galleries, with or without linings; Methods or apparatus for making thereof ; Layout of tunnels or galleries
G06T7/136 » CPC further
Image analysis; Segmentation; Edge detection involving thresholding
G06T7/194 » CPC further
Image analysis; Segmentation; Edge detection involving foreground-background segmentation
G06V10/764 » CPC further
Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
G06V10/774 » CPC further
Arrangements for image or video recognition or understanding using pattern recognition or machine learning; Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
G06V10/776 » CPC further
Arrangements for image or video recognition or understanding using pattern recognition or machine learning; Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation Validation; Performance evaluation
This patent application claims the benefit and priority of Chinese Patent Application No. 202111398003.1, filed with the China National Intellectual Property Administration on Nov. 24, 2021, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the field of image analysis in tunnel blasting, and in particular to a half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting.
The contour forming quality and a half-cast mark rate in tunnel blasting are crucial to evaluate excavation quality of tunnel drilling and blasting and a utilization rate of blastholes, and are main factors to directly determine construction period and investment cost of the tunnel.
The conventional blasting evaluation method is implemented simply by identifying and determining apparent characteristics of a half-cast mark in site by naked eyes, and surveying the half-hole mark with a tape or a total station. The half-cast mark rate is calculated by only extracting data about remaining lengths of the blastholes, which does not take into account influences from an overall flatness of a certain region around the blastholes on the damage and is seriously affected by subjective consciousnesses of surveyors. Till now, there haven't been any reports concerning statistical classification of damaged flatness in different blasting methods. In the prior art, the damaged flatness is artificially identified, determined and classified in most cases, with large identification and classification errors, poor robustness and poor stability, which is far from satisfactory in production practices. Therefore, there is an urgent need to provide convenient and efficient half-cast mark identification and feature parameter extraction methods for blastholes in tunnel blasting as well as a damaged flatness and classification method for surrounding rock surface in different blasting plans, so as to scientifically select related parameters in the tunnel blasting and determine the blasting plan, thereby realizing the ideal tunnel blasting.
In view of technical problems of artificial identification in the background, the present disclosure provides a half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting.
A half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting includes the following specific steps:
S1: photographing standard contrast images, a size of each of the standard contrast images being comprehensively determined by an analysis scale, and the standard contrast images including a first contrast image of surrounding rock surface with an ideal half-cast mark and a second contrast image that is unacceptable with excessive backbreak or overbreak;
S2: acquiring a half-cast mark image after actual blasting to serve as a third analysis image, a size and a photographing environment of the analysis image being consistent with those of the above contrast images;
S3: denoising the above three images by a two-dimensional (2D) Gaussian algorithm according to a characteristic that Gaussian noise in an acquired image obeys a normal distribution;
S4: performing gray-scale processing on three denoised images according to a preset threshold of an image histogram to reduce an original data volume in each of the images, thereby preventing image distortion to lose information;
S5: performing binary processing on gray-scale processed images, and setting an optimal binary threshold by maximum entropy thresholding, so as to extract boundary contours of the half-cast mark images;
S6: identifying a boundary and a related region of a half-cast mark in each of the images with a gradient vector flow (GVF)-Snake and active contour model (ACM) (GVF-Snake-ACM);
S7: importing each of three half-cast mark identified images to ImageJ software, and determining a ratio of an area of a half-cast mark region to a total area of the image as a flatness damage variable;
S8: normalizing an interval for an area ratio of a half-cast mark in each of the first contrast image and the second contrast image, and establishing a quantitative relation Ο=(D)Ξ² between a damage degree and a fractal dimension D, thereby determining a quantitative relation among the area ratio of the half-cast mark region, the damage variable and the fractal dimension;
S9: determining a damage value of the third analysis image through linear interpolation calculation on an area ratio of a half-cast mark;
S10: extracting, for each of a plurality of half-cast mark identified images with a gray-level co-occurrence matrix (GLCM) in 0Β°, 45Β°, 90Β°, and 135Β° directions or 180Β°, 225Β°, 270Β°, and 315Β° directions, five eigenvalues including an energy mean, an entropy mean, a contrast mean, a correlation mean, and a uniformity mean, thereby forming a five-dimensional (5D) eigenvector;
S11: respectively photographing 90 blasting images for a tunnel excavation surrounding rock surface in three blasting plans, which specifically include conventional blasting, presplit blasting and smooth blasting and employ a same explosive charge during tunneling, to form a set C={c1, c2, c3}, analyzing target matrices corresponding to the conventional blasting, the presplit blasting and the smooth blasting, and obtaining 5D eigenvectors F={f1, f2, f3, f4, f5}, in different blasting plans, where a feature attribute of each of the images is composed of a 5D eigenvector, including an energy mean, an entropy mean, a contrast mean, a correlation mean, and a uniformity mean, thereby obtaining a multi-dimensional digital information feature of the image;
S12: randomly selecting 5D eigenvectors of 60 images from the image set in the three different blasting plans as training data to input to a naive Bayes classifier (NBC), and calculating with five eigenvalues fi(i=1,2,3,4,5) of each of the images, a probability that a training image falls into a category cj(j=1,2,3)
P β‘ ( c j / F ) = P β‘ ( c j ) β’ P β‘ ( c j / F ) P β‘ ( F ) = P β‘ ( c j ) β’ P β‘ ( f 1 , f 2 , f 3 , f 4 , f 5 / c j ) P β‘ ( F ) ,
where for an eigenvector F, a larger posterior probability P(cj/F) indicates a higher probability that the F falls into cj, and the category into which the F falls is calculated by:
c β‘ ( F ) = arg β’ max β’ P β‘ ( c j ) β’ β j = 1 3 P β‘ ( f i β c j ) ,
and
after P(cj) and P(cj/F) are calculated, a category with a maximum posterior probability is returned, thereby obtaining the category of the F; and
S13: inputting eigenvectors of remaining 30 images in the image set in the different blasting plans to a well-trained NBC, and determining a state with a maximum probability in different given categories cj(j=1,2,3) based on a maximum a posteriori (MAP) principle of the NBC to take as a final result for evaluation and classification of the blasting plans, thereby implementing classification on blasting effects of the conventional blasting, the presplit blasting and the smooth blasting and on damaged flatness of surrounding rock surfaces.
Preferably, in step S3, a Gaussian filter based model satisfies the following 2D Gaussian distribution:
G β‘ ( x , y ) = 1 2 β’ ΟΟ 2 β’ e - x 2 + y 2 2 β’ Ο 2
where x and y are transverse and longitudinal sizes of the image, and Ο2 is a variance of the normal distribution.
Preferably, in step S5, the maximum entropy thresholding specifically includes: defining, according to a concept of a Shannon entropy, an entropy of an image having a gray scale in a range of 0, 1, 2, . . . , Lβ1 as
H = β i = 0 L - 1 iP i ,
Pi being a probability that a pixel having a value of i occupies the whole image, and dividing the image into a target O and a background B according to a set threshold t, probabilities of the pixel in the target and the background being:
region β’ O : P i P t , i = 0 , 1 , β¦ , t , where , P t = β i = 0 t P i ; and β’ region β’ B : P i 1 - P t , i = t + 1 , β¦ , L - 1.
Preferably, the target O and the background B each have the following entropy function:
H o ( t ) = - β i = 0 t p i P t β’ ln β’ p i P t = ln β’ P t + H t P t , where β’ H t = - β i = 0 t p i β’ ln β’ p i ; H B ( t ) = - β i = t + 1 L - 1 p i 1 - P t β’ ln β’ p i 1 - P t = ln β‘ ( 1 - P t ) + H - H t 1 - P t , where β’ H = - β i = 0 L - 1 p i β’ ln β’ p i ;
a total entropy of the image is:
H β‘ ( t ) = H o ( t ) + H B ( t ) = ln β’ P t ( 1 - P t ) + H t P t + H - H t 1 - P t
the total entropy of the image is maximized through a maximum threshold T:
T=arg max(H(t)); and
the optimal binary threshold is determined according to a principle of maximizing the total entropy of the image.
Preferably, step S6 specifically includes:
S61: acquiring pixel points on a row and a column of an initial image ImΓn (having a resolution of mΓn) at a step length d=2, and performing downsampling for s times to obtain s+1 to-be-tested images (including the initial image ImΓn), where a resolution in kth sampling is
I m 2 k Γ n 2 k ;
S62: preprocessing an image
I m 2 s Γ n 2 s ;
in sth downsampling, performing edge detection with a Canny operator, defining an initial contour ls+1 on an edge image, a number of control points on the initial contour ls+1 being Ns+1, and calculating a GVF external force field, where due to a diffusivity of the GVF external force field in a smooth region, the initial contour ls+1 approaches continuously to an edge of the image; and when 0.98Ns+1 control points on the initial contour ls+1 reach a target contour (a termination criterion), it is considered that an initial contour curve reaches a target edge, and iteration is stopped to obtain a target contour curve ls at the resolution
m 2 s Γ n 2 s ;
S63: preprocessing an image
I m 2 s - 1 Γ n 2 s - 1
in (sβ1)th downsampling with the Canny operator, taking the contour curve ls in the previous step as an initial contour curve, recalculating a GVF external force field on the image
I m 2 s - 1 Γ n 2 s - 1 ,
and obtaining a target contour curve lsβ1 according to the termination criterion in step 62 under pushing of an external force; and
S64: repeating step S63, to until a target contour curve l of the identified image lmΓn is obtained.
Preferably, in step S7, the flatness damage variable is calculated by
Ο = A * A = n * n ,
where A* is the area of the identified half-cast mark region, A is the total area of the image, n* is a number of pixel points in the half-cast mark region of the image, and n is a total number of pixel points in the image.
Preferably, in step S7, Ο=0 indicates that the half-cast mark is clear in a damage negligible state; Ο=1 indicates that the half-cast mark is diffused in a completely damaged state; and 0<Ο<1 indicates that the surrounding rock surface is damaged in different degrees.
Preferably, in step S12, a training number is set as 1,000 times; and the NBC is trained repeatedly with a plurality of sets of image data, until a classification error in training is less than 10β3.
The present disclosure has the following beneficial effects:
1. The present disclosure solves problems of half-cast mark identification and feature extraction for blastholes in tunnel blasting through combinational algorithms, implements scientific classification for damaged flatness of a surrounding rock surface in conventional blasting, presplit blasting and smooth blasting, and overcomes problems of poor precision and no adaptation of conventional half-cast mark identification and evaluation.
2. The present disclosure provides a half-cast mark identification method that meets future automatic, intelligent and delicate tunnel blasting requirements, and a damaged flatness classification method for the surrounding rock surface after the blasting, further provides a more complete and scientific feature digitalization solution for the half-cast mark of the blastholes in the tunnel blasting, solves the defects of poor surveying precision, poor operability and serious restriction from subjective idea of surveyors in the conventional artificial surveying method, and provides intelligent, convenient and efficient identification, evaluation and classification methods for dedicate blasting design and parameter optimization of the tunnel.
Other parts not mentioned in the method are the same as those in the prior art or can be implemented by the prior art.
FIG. 1 is a flowchart of a half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting according to the present disclosure;
FIG. 2 illustrates a layout of a blasthole of a typical tunnel blasting;
FIG. 3 illustrates a third analysis image for a half-cast mark in tunnel blasting;
FIG. 4 illustrates a first photographed contrast image of a surrounding rock surface with an ideal half-cast mark of a blasthole;
FIG. 5 illustrates a second photographed contrast image of an unacceptable surrounding rock surface with excessive backbreak or overbreak;
FIG. 6 illustrates a binary processing result of an analysis image;
FIG. 7 illustrates an identified result of a GVF-Snake;
FIG. 8 illustrates an identified result of an ACM model for a half-cast mark;
FIG. 9 illustrates calculation of a fractal box dimension of an analysis image;
FIG. 10 illustrates division of a feature extraction direction in a GLCM;
FIG. 11 illustrates an eigenvector value of an analysis image;
FIG. 12 is a flowchart of an NBC;
FIG. 13 illustrates an evaluation and classification result of an NBC; and
FIG. 14 illustrates a half-cast mark and flatness identified result for a group of blastholes.
The technical solutions of the present disclosure are further described in detail below with reference to specific embodiments.
Referring to FIGS. 1-14, a half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting includes the following specific steps:
S1: Photograph standard contrast images, a size of each of the standard contrast images being comprehensively determined by an analysis scale, and the standard contrast images including a first contrast image of a rock surface with an ideal half-hole mark and a second contrast image that is unacceptable with excessive backbreak or overbreak.
S2: Acquire a half-cast mark image after actual blasting to serve as a third analysis image, a size and a photographing environment of the analysis image being consistent with those of the above contrast images.
S3: Denoise the above three images by a 2D Gaussian algorithm according to a characteristic that Gaussian noise in an acquired image obeys a normal distribution. A Gaussian filter based model satisfies the following 2D Gaussian distribution:
G β‘ ( x , y ) = 1 2 β’ ΟΟ 2 β’ e - x 2 + y 2 2 β’ Ο 2 ,
where x and y are transverse and longitudinal sizes of the image, and Ο2 is a variance of the normal distribution.
S4: Perform gray-scale processing on three denoised images according to a preset threshold of an image histogram to reduce an original data volume in each of the images, thereby preventing image distortion to lose information.
S5: Perform binary processing on gray-scale processed images, and set an optimal binary threshold by maximum entropy thresholding. The maximum entropy thresholding specifically includes: Define, according to a concept of a Shannon entropy, an entropy of an image having a gray scale in a range of 0, 1, 2, . . . , Lβ1 as
β i = 0 L - 1 iP i ,
Pi being a probability that a pixel having a value of i occupies the whole image, and divide the image into a target O and a background B according to a set threshold t, probabilities of the pixel in the target and the background being:
region β’ O : P i P t , i = 0 , 1 , β¦ , t , where , P t = β i = 0 t P i ; and β’ region β’ B : P i 1 - P t , i = t + 1 , β¦ , L - 1.
In the present disclosure, the target O and the background B each have the following entropy function:
H o ( t ) = - β i = 0 t p i P t β’ ln β’ p i P t = ln β’ P t + H t P t , where β’ H t = - β i = 0 t p i β’ ln β’ p i ; H B ( t ) = - β i = t + 1 L - 1 p i 1 - P t β’ ln β’ p i 1 - P t = ln β‘ ( 1 - P t ) + H - H t 1 - P t , where β’ H = - β i = 0 L - 1 p i β’ ln β’ p i ;
a total entropy of the image is:
H β‘ ( t ) = H o ( t ) + H B ( t ) = ln β’ P t ( 1 - P t ) + H t P t + H - H t 1 - P t
the total entropy of the image is maximized through a maximum threshold T:
T=arg max(H(t)); and
the optimal binary threshold is determined according to a principle of maximizing the total entropy of the image.
S6: Identify a boundary and a related region of a half-cast mark in each of the images with a GVF-Snake-ACM.
S61: Acquire pixel points on a row and a column of an initial image ImΓn (having a resolution of mΓn) at a step length d=2, and perform downsampling for s times to obtain s+1 to-be-tested images (including the initial image ImΓn), where a resolution in kth sampling is
I m 2 k Γ n 2 k .
S62: Preprocess an image
I m 2 s Γ n 2 s
in sth downsampling, perform edge detection with a Canny operator, define an initial contour ls+1 on an edge image, a number of control points on the initial contour ls+1 being Ns+1, and calculate a GVF external force field, where due to a diffusivity of the GVF external force field in a smooth region, the initial contour ls+1 approaches continuously to an edge of the image; and when 0.98Ns+1 control points on the initial contour ls+1 reach a target contour (a termination criterion), it is considered that an initial contour curve reaches a target edge, and iteration is stopped to obtain a target contour curve ls at the resolution
m 2 s Γ n 2 s .
S63: Preprocess an image
I m 2 s - 1 Γ n 2 s - 1
in (sβ1)th downsampling with the Canny operator, take the contour curve ls in the previous step as an initial contour curve, recalculate a GVF external force field on the image
I m 2 s - 1 Γ n 2 s - 1 ,
and obtain a target contour curve lsβ1 according to the termination criterion in Step S62 under pushing of an external force.
S64: Repeat Step S63, to until a target contour curve l of the identified image lmΓn is obtained.
S7: Import each of three half-cast mark identified images to ImageJ software, and determine a ratio of an area of a half-cast mark region to a total area of the image as a flatness damage variable: The flatness damage variable is calculated by
Ο = A * A = n * n ,
where A* is the area of the identified half-cast mark region, A is the total area of the image, n* is a number of pixel points in the half-cast mark region of the image, and n is a total number of pixel points in the image. Ο=0 indicates that the half-cast mark is clear in a damage negligible state; Ο=1 indicates that the half-cast mark is diffused in a completely damaged state; and 0<Ο<1 indicates that the surrounding rock surface is damaged in different degrees.
S8: Normalize an interval for an area ratio of a half-cast mark in each of the first contrast image and the second contrast image, and establish a quantitative relation Ο=(D)Ξ² between a damage degree and a fractal dimension D, thereby determining a quantitative relation among the area ratio of the half-cast mark region, the damage variable and the fractal dimension.
S9: Determine a damage value of the third analysis image through linear interpolation calculation on an area ratio of a half-cast mark.
S10: Extract, for each of a plurality of half-cast mark identified images with a GLCM in 0Β°, 45Β°, 90Β°, and 135Β° directions or 180Β°, 225Β°, 270Β°, and 315Β° directions, five eigenvalues including an energy mean, an entropy mean, a contrast mean, a correlation mean, and a uniformity mean, thereby forming a 5D eigenvector.
S11: Respectively photograph 90 blasting images for a tunnel excavation surrounding rock surface in three blasting plans, which specifically include conventional blasting, presplit blasting and smooth blasting and employ a same explosive charge during tunneling, to form a set C={c1, c2, c3}, analyze target matrices corresponding to the conventional blasting, the presplit blasting and the smooth blasting, and obtain 5D eigenvectors F={f1, f2, f3, f4, f5} in different blasting plans, where a feature attribute of each of the images is composed of a 5D eigenvector, including an energy mean, an entropy mean, a contrast mean, a correlation mean, and a uniformity mean, thereby obtaining a multi-dimensional digital information feature of the image.
S12: Randomly select 5D eigenvectors of 60 images from the image set in the three different blasting plans as training data to input to an NBC, and calculate, with five eigenvalues fi(i=1,2,3,4,5) of each of the images, a probability that a training image falls into a category cj(j=1,2,3)
P β‘ ( c j / F ) = P β‘ ( c j ) β’ P β‘ ( c j / F ) P β‘ ( F ) = P β‘ ( c j ) β’ P β‘ ( f 1 , f 2 , f 3 , f 4 , f 5 / c j ) P β‘ ( F ) ,
where for an eigenvector F, a larger posterior probability P(cj/F) indicates a higher probability that the F falls into cj, and the category into which the F falls is calculated by:
c β‘ ( F ) = arg β’ max β’ P β‘ ( c j ) β’ β j = 1 3 P β‘ ( f i | c j ) ,
and
after P(cj) and P(cj/F) are calculated, a category with a maximum posterior probability is returned, thereby obtaining the category of the F. A training number is set as 1,000 times; and the NBC is trained repeatedly with a plurality of sets of image data, until a classification error in training is less than 10β3.
S13: Input eigenvectors of remaining 30 images in the image set in the different blasting plans to a well-trained NBC, and determine a state with a maximum probability in different given categories cj(j=1,2,3) based on an MAP principle of the NBC to take as a final result for evaluation and classification of the blasting plans, thereby implementing classification on blasting effects of the conventional blasting, the presplit blasting and the smooth blasting and on damaged flatness of surrounding rock surfaces.
The ImageJ software has a version of 1.8.0. The GLCM is implemented by extracting the eigenvalues in 0Β°, 45Β°, 90Β°, and 135Β° directions.
According to FIG. 12, the workflow of the NBC can be divided into a preparation stage, a training stage of the NBC, and an application stage. The preparation stage is to determine an eigenvector attribute F and obtain a training sample. The training stage is to determine P(F) for each category, and calculate conditional probabilities of all divisions for each eigenvector attribute. The application stage is to calculate P(cj)P(cj/F) for each category, and take a maximum term of the P(cj)P(cj/F) as the category to which the eigenvector attribute belongs.
The foregoing are merely descriptions of preferred specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any equivalent replacement or modification made within a technical scope of the present disclosure by a person skilled in the art according to the technical solutions of the present disclosure and inventive concepts thereof shall fall within the protection scope of the disclosure.
1. A half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting, comprising the following specific steps:
S1: photographing standard contrast images, a size of each of the standard contrast images being comprehensively determined by an analysis scale, and the standard contrast images comprising a first contrast image of a surrounding rock surface with an ideal half-cast mark and a second contrast image that is unacceptable with excessive backbreak or overbreak;
S2: acquiring a half-cast mark image after actual blasting to serve as a third analysis image, a size and a photographing environment of the analysis image being consistent with those of the above contrast images;
S3: denoising the above three images by a two-dimensional (2D) Gaussian algorithm according to a characteristic that Gaussian noise in an acquired image obeys a normal distribution;
S4: performing gray-scale processing on three denoised images according to a preset threshold of an image histogram to reduce an original data volume in each of the images;
S5: performing binary processing on gray-scale processed images, and setting an optimal binary threshold by maximum entropy thresholding;
S6: identifying a boundary and a related region of a half-hole mark in each of the images with a gradient vector flow (GVF)-Snake and active contour model (ACM) (GVF-Snake-ACM);
S7: importing each of three half-cast mark identified images to ImageJ software, and determining a ratio of an area of a half-cast mark region to a total area of the image as a flatness damage variable;
S8: normalizing an interval for an area ratio of a half-cast mark in each of the first contrast image and the second contrast image, and establishing a quantitative relation Ο=(D)Ξ² between a damage degree and a fractal dimension D, thereby determining a quantitative relation among the area ratio of the half-cast mark region, the damage variable and the fractal dimension;
S9: determining a damage value of the third analysis image through linear interpolation calculation on an area ratio of a half-cast mark;
S10: extracting, for each of a plurality of half-hole mark identified images with a gray-level co-occurrence matrix (GLCM) in 0Β°, 45Β°, 90Β°, and 135Β° directions or 180Β°, 225Β°, 270Β°, and 315Β° directions, five eigenvalues comprising an energy mean, an entropy mean, a contrast mean, a correlation mean, and a uniformity mean, thereby forming a five-dimensional (5D) eigenvector;
S11: respectively photographing 90 blasting images for a tunnel excavation surface in three blasting plans, which specifically comprise conventional blasting, presplit blasting and smooth blasting and employ a same explosive charge during tunneling, to form a set C={c1, c2, c3}, analyzing target matrices corresponding to the conventional blasting, the presplit blasting and the smooth blasting, and obtaining 5D eigenvectors F={f1, f2, f3, f4, f5} in different blasting plans, wherein a feature attribute of each of the images is composed of a 5D eigenvector, comprising an energy mean, an entropy mean, a contrast mean, a correlation mean, and a uniformity mean, thereby obtaining a multi-dimensional digital information feature of the image;
S12: randomly selecting 5D eigenvectors of 60 images from the image set in the three different blasting plans as training data to input to a naive Bayes classifier (NBC), and calculating, with five eigenvalues fi(i=1,2,3,4,5) of each of the images, a probability that a training image falls into a category cj(j=1,2,3)
P β‘ ( c j / F ) = P β‘ ( c j ) β’ P β‘ ( c j / F ) P β‘ ( F ) = P β‘ ( c j ) β’ P β‘ ( f 1 , f 2 , f 3 , f 4 , f 5 / c j ) P β‘ ( F ) ,
wherein for an eigenvector F, a larger posterior probability P(cj/F) indicates a higher probability that the F falls into cj, and the category into which the F falls is calculated by:
c β‘ ( F ) = arg β’ max β’ P β‘ ( c j ) β’ β j = 1 3 P β‘ ( f i | c j ) ,
and
after P(cj) and P(cj/F) are calculated, a category with a maximum posterior probability is returned, thereby obtaining the category of the F; and
S13: inputting eigenvectors of remaining 30 images in the image set in the different blasting plans to a well-trained NBC, and determining a state with a maximum probability in different given categories cj(j=1,2,3) based on a maximum a posteriori (MAP) principle of the NBC to take as a final result for evaluation and classification of the blasting plans, thereby implementing classification on blasting effects of the conventional blasting, the presplit blasting and the smooth blasting and on damaged flatness of surrounding rock surfaces.
2. The half-cast mark identification and damaged flatness evaluation classification method for blastholes in tunnel blasting according to claim 1, wherein in step S3, a Gaussian filter based model satisfies the following 2D Gaussian distribution:
G β‘ ( x , y ) = 1 2 β’ Ο β’ Ο 2 β’ e - x 2 + y 2 2 β’ Ο 2 ,
wherein x and y are transverse and longitudinal sizes of the image, and Ο2 is a variance of the normal distribution.
3. The half-cast mark identification and damaged flatness evaluation classification method for blastholes in tunnel blasting according to claim 1, wherein in step S5, the maximum entropy thresholding specifically comprises: defining, according to a concept of a Shannon entropy, an entropy of an image having a gray scale in a range of 0, 1, 2, . . . , Lβ1 as
H = β i = 0 L - 1 iP i ,
Pi being a probability that a pixel having a value of i occupies the whole image, and dividing the image into a target O and a background B according to a set threshold t, probabilities of the pixel in the target and the background being:
region β’ O : P i P t , i = 0 , 1 , β¦ , t , wherein , P t = β i = 0 t P i ; and region β’ B : P i 1 - P t , i = t + 1 , β¦ , L - 1.
4. The half-hole mark identification and damaged flatness evaluation classification method for blastholes in tunnel blasting according to claim 3, wherein the target O and the background B each have the following entropy function:
H o ( t ) = - β i = 0 t p i P t β’ ln β’ p i P t = ln β’ P t + H t P t , wherein β’ H t = - β i = 0 t p i β’ ln β’ p i ; H B ( t ) = - β i = t + 1 L - 1 p i 1 - P t β’ ln β’ p i 1 - P t = ln β‘ ( 1 - P t ) + H - H t 1 - P t , wherein β’ H = - β i = 0 L - 1 p i β’ ln β’ p i ;
a total entropy of the image is:
H β‘ ( t ) = H o ( t ) + H B ( t ) = ln β’ P t ( 1 - P t ) + H t P t + H - H t 1 - P t
the total entropy of the image is maximized through a maximum threshold T:
T=arg max(H(t)); and
the optimal binary threshold is determined according to a principle of maximizing the total entropy of the image.
5. The half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting according to claim 1, wherein step S6 specifically comprises:
S61: acquiring pixel points on a row and a column of an initial image ImΓn (having a resolution of mΓn) at a step length d=2, and performing downsampling for s times to obtain s+1 to-be-tested images (comprising the initial image ImΓn), wherein a resolution in kth sampling is
I m 2 k Γ n 2 k .
S62: preprocessing an image
I m 2 s Γ n 2 s
in sth downsampling, performing edge detection with a Canny operator, defining an initial contour ls+1 on an edge image, a number of control points on the initial contour ls+1 being Ns+1, and calculating a GVF external force field, wherein due to a diffusivity of the GVF external force field in a smooth region, the initial contour ls+1 approaches continuously to an edge of the image; and when 0.98Ns+1 control points on the initial contour ls+1 reach a target contour (a termination criterion), it is considered that an initial contour curve reaches a target edge, and iteration is stopped to obtain a target contour curve ls at the resolution
m 2 s Γ n 2 s ;
S63: preprocessing an image
I m 2 s - 1 Γ n 2 s - 1
in (sβ1)th downsampling with the Canny operator, taking the contour curve ls in the previous step as an initial contour curve, recalculating a GVF external force field on the image
I m 2 s - 1 Γ n 2 s - 1 ,
and obtaining a target contour curve lsβ1 according to the termination criterion in step S62 under pushing of an external force; and
S64: repeating step S63, to until a target contour curve l of the identified image ImΓn is obtained.
6. The half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting according to claim 1, wherein in step S7, the flatness damage variable is calculated by
Ο = A * A = n * n ,
wherein A* is the area of an identified half-hole mark region, A is the total area of the image, n* is a number of pixel points in the half-hole mark region of the image, and n is a total number of pixel points in the image.
7. The half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting according to claim 6, wherein in step S7, Ο=0 indicates that the half-cast mark is clear in a damage negligible state; Ο=1 indicates that the half-cast mark is diffused in a completely damaged state; and 0<Ο<1 indicates that the surrounding rock surface is damaged in different degrees.
8. The half-cast mark identification and damaged flatness evaluation and classification method for blastholes in tunnel blasting according to claim 1, wherein in step S12, a training number is set as 1,000 times; and the NBC is trained repeatedly with a plurality of sets of image data, until a classification error in training is less than 10β3.