1 Introduction

The study of structural surfaces in the borehole image is the basic work of engineering geological investigation by in-situ instrumentation. Numerous studies and tests have shown that the mechanical properties of rock structure are not only related to the characteristics of rock mass and the combined state of structural surface, but also are affected by the morphological feature of the structural surface. For a hard-structural surface with low filling degree, the surface morphology of the structural surface is the main influencing factor, which is controlling the mechanical properties of the structural surface (Bae et al. 2011; Luo et al. 2016). Therefore, the description and classification of rock surface have a vital significant for mechanical properties of rock mass. At present, some techniques related to laser profilometry and mathematical morphology are widely used to describe the morphological structures of rock surfaces, and have developed many kinds of introscopic camera system used in boreholes (MŁynarczuk 2010; Młynarczuk et al. 2016; Skoczylas and Godyń 2014), which have promoted the development and progress of rock and soil mechanics. However, obtaining information on deep structural surface in the borehole image by drilling and coring has many limitations. First, due to the rotational displacement of the core during the core drilling process, the occurrence information of structural surface in the borehole image may have been destroyed. Second, some disturbances generated by high-speed rotation of the drill bit and the circulation of the drilling fluid in the coring tube may affect the determination of openness and filling for the structural surface (Li et al. 2017; Valdez et al. 2018). Therefore, using the core as the source of structural surface information may exist some errors because of above uncontrollable influencing factors. It is necessary to propose an in-situ instrumentation technique to directly measure the structural surface of the drilled hole and obtain the morphological information of structural surface in the borehole image using in-situ instrumentation technique.

Digital panoramic borehole imaging technique and its related camera system are widely applied for in-situ instrumentation in recent year (Wang et al. 2017; Zou et al. 2018). It can obtain the camera image of borehole rock mass directly and the occurrence information of in-situ structural surface on the borehole wall. The obtained image and related occurrence information of rock hole wall are accurate and reliable without the effect of the core drilling process. Therefore, using an in-situ instrumentation technique, that is digital panoramic borehole imaging technique, can be more accurate in theory and will be more meaningful by in-situ instrumentation (Bae et al. 2011; Hashemi et al. 2015; Wang et al. 2018; Winkler and D'Angelo 2006; Zhang et al. 2010). There is great significance for the research of mechanical property based on in-situ camera image of borehole rock mass using digital panoramic borehole imaging technique.

This paper uses digital panoramic borehole imaging technique to obtain the camera image and related data, that is, the borehole image of hole-wall rock mass during in-situ instrumentation, and then extracts the profile line of structural surface, analyzes the dip direction and the dip angle, and transforms the circular structural profile line into three-dimensional feature. According to the relationship between three-dimensional feature of the profile line on the structural surface and related joint roughness coefficient (JRC) theory, the feature parameters of the profile lines in each direction are calculated, and they are used to form roughness coefficient rose diagram. Finally, the rose diagram with different parameters of the profile line is used to analyze some mechanical properties of the structural surface in deep borehole rock mass.

2 Analysis of Borehole Images

The digital panoramic borehole imaging technique is based on the principle of optical imaging. It uses panoramic technology to achieve the simultaneous observation of 360° hole walls, directly providing hole-wall images by photos or videos, and then, the relevant data and borehole image can be obtained accurately and further be engaged in quantitative analysis (Wang et al. 2016).

2.1 Image Resolution Analysis

The borehole image is composed of dot matrix pixels; that is, the minimum unit is composed of pixels. Therefore, it is necessary to analyze the correspondence between the image pixels and the actual size of the observed point on the hole wall.

Using the diameter of diamond drill bit as a benchmark, the circumferential image resolution and axial image resolution can be expressed as Eqs. (1) and (2):

$$\mu_{{\text{v}}} = \frac{{2\pi D_{\emptyset } }}{{n_{{\text{v}}} }},$$
(1)
$$\mu_{{\text{h}}} = \frac{{H_{{\text{z}}} }}{{n_{{\text{h}}} }},$$
(2)

where \(\mu_{{\text{v}}}\) is the circumferential image resolution; \(n_{{\text{v}}}\) is the number of circumferential pixel points of the hole-wall image; \(D_{\emptyset }\) is the borehole wall diameter (\(D_{\emptyset }\) = 46 mm, 59 mm, 75 mm, 91 mm, 110 mm, 130 mm); \({\mu }_{\mathrm{h}}\) is the axis image resolution; \({n}_{\mathrm{h}}\) is the number of axial pixel points of the borehole wall image; \({H}_{z}\) is the actual measurement distance along the borehole.

Assuming a digital borehole camera system with the lowest sampling capability, the axial image resolution obtained by the borehole camera system is 0.2 mm/pixel according to the specification and design principle of the system. The circumferential image resolution is related to the borehole diameter. Borehole images obtained by different diameters of the boreholes may exist different circumferential image resolution in theory. It is known that the number of pixels in the circumferential image of the borehole wall is fixed for a certain borehole camera system, such as 1024 and 2048. The circumferential image resolution corresponding to boreholes with different diameters can be shown as Fig. 1. As shown in Fig. 1, the drilling equipment with the lowest resolution sampling capability is used to measure boreholes with diameter within = \({D}_{{\varnothing }}\)130 mm, and the circumferential image resolution of borehole images can be less than 0.5 mm/pixel, which can basically meet the sampling analysis resolution requirements of structural surface in the borehole.

Fig. 1
figure 1

Relationship between borehole diameter and circumferential image resolution

2.2 Extract the Profile Line of Structural Surface

Digital panoramic borehole imaging technique can accurately observe the image of the 360° hole wall at any depths, and then transform the hole-wall image into borehole image with 360° wall surface development. If the structural surface is an ideal smooth surface to completely cut the borehole, it will show a continuous sinusoidal curve on the borehole image with 360° wall surface development (Zou et al. 2017), as shown in Fig. 2.

Fig. 2
figure 2

Curve of structural surface in the borehole image

The north of borehole wall is shown on the left side of the borehole image, the β is the dip angle of structural surface, and some feature points M, N, and L in the borehole wall are shown as in points M′, N′ and L′ in the borehole image. However, the curve of structural surface in the actual borehole image is not smooth and it is anisotropic morphology. If the borehole is cut by the same morphology surface, it will leave a rough profile line on the borehole image, as shown in Fig. 3.

Fig. 3
figure 3

Structural surface in borehole image from a borehole with 91 mm diameter

From Fig. 3, the structural surface in the borehole image can be divided into two parts: the upper structural surface and the lower structural surface in the borehole image. The upper and lower structural surface intersects with the borehole wall to form two profile lines. Taking the lower structural surface in Fig. 3 as an example, the digital image edge detection technique can be used to extract the profile lines. We take an improved Canny method (Mokrzycki and Samko 2012; Panetta et al. 2011) to detect the edge of structural surface and lastly obtained profile line of the lower structural surface is shown in Fig. 4. It can be clearly seen that the profile line of the lower structural surface in borehole image is like the sinusoidal curve just with a different phase.

Fig. 4
figure 4

Profile line of the lower structural surface in borehole image

2.3 Transform the Spatial Position of the Profile Line

Structural surfaces in borehole image have many morphological and physical characteristics, which can be represented by the hues, shapes, and widths of the sinusoidal ribbons. The intersections of structural surfaces in the borehole are approximately ellipses in the three-dimensional space, which become sine curves when expanded onto a two-dimensional image (Assous et al. 2013; Glossop et al. 1999; Thapa et al. 1997; Wu et al. 2011). Therefore, the ideal intersection between the smooth surface and the borehole wall is an ideal sinusoidal curve. The occurrence information of structural surface can be calculated based on the amplitude and phase of the sinusoidal curve in the borehole image. Combined with the measured drilling depth, the structural surface spatial position information can be obtained.

Therefore, the general equation of sinusoidal curve can be used to fit the profile line. The general equation of sinusoidal curve is Eq. (3):

$$y = A\, \cdot \,\sin \left( {\omega \, \cdot \,x + \varphi } \right) + k,$$
(3)

where A is the amplitude; ω is the angular velocity, which controls the period of sinusoidal curve; φ is the initial phase, reflected lateral displacement in the xy coordinate system; k is the offset distance, reflected longitudinal displacement in the xy coordinate system.

According to the least-squares fitting principle, the optimal criterion value f can be set as:

$$f = \mathop \sum \limits_{i = 1}^{N} \left[ {Y\left( x \right) - y\left( x \right)} \right]^{2} = \mathop \sum \limits_{i = 1}^{N} \left[ {Y\left( x \right) - \left( {A\, \cdot \,\sin \left( {\omega \, \cdot \,x + \varphi } \right) + k} \right)} \right]^{2} ,$$
(4)

where f is the optimal criterion value; N is the total number of sample points, that is, the number of circumferential pixel points of the borehole image (1024); Y(x) is the ordinate value of the point on the profile line; y(x) is the ordinate value of the point on the sinusoidal curve.

Because the circumferential image resolution \({\mu }_{\mathrm{v}}\) is not equal to the axis image resolution \({\mu }_{\mathrm{h}}\), the coordinate system of image in Fig. 4 needs to be corrected and transformed into actual length coordinate system. Therefore, the horizontal and vertical coordinates of profile line are, respectively, multiplied by the corresponding image resolution to obtain the actual length of profile line, as shown in Fig. 5. Using the optimal criterion value f as constraint condition to fit the obtained profile line in Fig. 4, the fitting sinusoidal curve can be obtained and shown in Fig. 5.

Fig. 5
figure 5

Sine fitting line of sinusoidal curve and the actual obtained profile line

According to the general equation of sinusoidal curve, the surface represented by the sine fitting line can be calculated. The represented surface is the closest surface to the lower structural surface in borehole wall. Therefore, it can be regarded as the reference surface. The occurrence information of the structural surface can be represented by the occurrence of the reference surface, and then, the occurrence of the reference surface can be obtained from the parameters of the sinusoidal curve general equation. The left of the sine fitting line in the image (Fig. 5) represents the true north direction, so the dip direction θ of the reference surface is:

$$\theta = 270^\circ - \varphi = 183.8^\circ .$$
(5)

The dip angle \(\beta\) is:

$$\beta = \arctan \left( \frac{2A}{D} \right) = 53.9^\circ .$$
(6)

3 Analysis of Profile Line of Structural Surface

The profile line of the structural surface in borehole image which obtained from borehole wall is not in the vertical direction of structural surface. Therefore, the coordinate and visual distance of the profile line based on the reference surface should be transformed before analysis.

First, the sine fitting line is used as a reference and expanded into a straight line, and then, the coordinate of the profile line is transformed along with the sine fitting line. According to the results in Fig. 5, a certain square block is intercepted, as shown in Fig. 6. Create an x′–y′ coordinate system on the sine fitting line, use the intersection of the y-axis and the sine fitting line in Fig. 5 as the origin of coordinate, take the path of the sine fitting line as the x′-axis, and take the vertical direction of the sine fitting line as the y′-axis. Then, the vertical distance from the point on the profile line to the sine fitting line in borehole image is Hi.

Fig. 6
figure 6

Schematic diagram of transformation for a random segment in Fig. 5

In the xy coordinate system of Fig. 5, the point on the profile line in the true north direction is taken as the starting point and other points are numbered in the clockwise direction. The coordinate of the ith point P on the profile line is (xi, yi), which is corresponding to P′(xi′, yi′) in the x′–y′ coordinate. The projection of point P′ on the x′-axis is Px (xi′, 0) and Px corresponds to Px(xj, yj) in the xy coordinate. Then, the relationship between point P and point Px coordinate can be shown as Eq. (7):

$$P\left( {x_{i} ,y_{i} } \right) = \left\{ {\begin{array}{*{20}l} {{\text{The}}\;{\text{profile}}\;{\text{line}}} \hfill \\ {y = \frac{{ - 1\left( {x - x_{j} } \right)}}{{A\omega \cos \left( {\omega x + \varphi } \right)}} + A\sin \left( {\omega x + \varphi } \right) + k.} \hfill \\ \end{array} } \right.$$
(7)

The linear distance of Hi between P and Px can be shown as Eq. (8):

$$H_{i} = \sqrt {\left( {x_{i} - y_{j} } \right)^{2} + \left( {x_{i} - y_{j} } \right)^{2} } .$$
(8)

Then, the calculated value Hi according to Eq. (8) also requires a line-of-sight transformation. There is an angle between the structural surface and the reference surface for the borehole wall, and most of them are oblique crossing and shown in Fig. 7. A line-of-sight transformation should be taken to obtain the vertical distance from the profile line to the reference surface.

Fig. 7
figure 7

Oblique-crossing structural surface and borehole wall

Random point P on the profile line and its foot of a perpendicular Px on the sine fitting line in Fig. 6 correspond to P1, P2 and Px1, Px2 in Fig. 7. The known line segment (\(\overrightarrow {{PP_{x} }}\)) is perpendicular to the line of intersection between the reference surface and the borehole wall at the Px point. However, \(\overrightarrow {{PP_{x} }}\) is not perpendicular to the reference surface, and the angle between the reference surface and the borehole wall at Px1 is not equal to the angle between the reference surface and the borehole wall at Px2 as shown in Fig. 7. Therefore, the line-of-sight transformation of the calculated value Hi in Eq. (8) is:

$$H_{i}^{\prime } = H_{i} \, \cdot \,\cos \alpha_{i} ,$$
(9)

where Hi′ is the vertical distance from point P to the reference surface at random point on the profile line; αi is the angle between the reference surface and the horizontal direction in the projection of \(\overrightarrow {{PP_{x} }}\), and the αi is calculated by Eq. (10):

$$\alpha_{i} = a\tan \left( {\frac{{\left| {2A\, \cdot \,\sin \left( {\omega \, \cdot \,x_{j} + \varphi } \right)} \right|}}{D}} \right).$$
(10)

According to Eqs. (7)–(10) and coordinate transformation relationship, the corresponding relationship between any point P′(xi′, yi′) in the x′–y′ coordinate system and point Px(xi, yj) in the xy coordinate system can be obtained as follows:

$$x_{i}^{\prime } = \mathop \int \limits_{0}^{x} \sqrt {1 + \left[ {A\, \cdot \,\omega \, \cdot \,\cos \left( {\omega \, \cdot \,x_{j} + \varphi } \right)} \right]^{2} } {\text{d}}x,$$
(11)
$$y_{i}^{\prime } = H_{i}^{\prime } .$$
(12)

Another, because the profile line is the curve around the borehole wall, all the points on the profile line have azimuth information, which can be reflected in the x′–y′ coordinate system at the same time; that is, the azimuth information of the points on the profile line corresponds to the coordinate value of the x′-axis. The corresponding relationship is shown as Eq. (13):

$$\gamma^{\prime}_{i} = \frac{360^\circ }{{\mu_{{\text{v}}} }}\, \cdot \,i,$$
(13)

where \({{\gamma^{\prime}}}_{i}\) is azimuth of ith point.

According to the above coordinate transform relationship, a development diagram of the profile line in the direction of the sine fitting line can be obtained. The x-axis is the circumferential distance along with the sine fitting line, and the azimuth information of the point on the profile line corresponds to the x-axis. The y-axis is the vertical distance of the profile line to the reference surface, and the origin is 0° in the sine fitting line. Taking the profile line of the structural surface in Fig. 5 as an example, the profile line is developed in Fig. 8.

Fig. 8
figure 8

Development diagram of the profile line in the direction of the sine fitting line

4 Morphological Feature Description Method

The roughness of rock fracture surface can be reflected by the fractal dimension. When the size scale of measure is fixed, the larger the fractal dimension is, the rougher the fracture surface is, which can quantitatively reflect the morphological features of the structural surface in the obtained borehole image (Alameda-Hernandez et al. 2014; Xie et al. 1998; Zhou and Xie 2003).

4.1 Analysis of Sampling Length and Sampling Resolution

The profile line in different directions of the structural surface has different morphological features, so it is necessary to find a suitable parameter to quantify the differences between different morphological features. Fractal dimensions are used to characterize the anisotropy of the profile lines from fracture surfaces and joint segments (Alameda-Hernandez et al. 2014; Li and Huang 2015). Referring to the previous work, we obtain the fractal dimension of the profile line in Fig. 8 and use it to describe the anisotropic characteristics of the structural surface.

To ensure that the calculated fractal dimension is comparable between different segment profiles, it is necessary to discuss the sampling length and sampling resolution of each segment profile. It is known that the profile line of the structural surface in Fig. 5 is in the form of an approximately sinusoidal curve, and the borehole image just has equal interval sampling characteristics in horizontal and vertical directions. Therefore, the development diagram (Fig. 8) of the profile line along with the direction of the sine fitting line does not have the property of equal spacing between sampling points, and the greater dip angle of the structural surface, the more obvious difference of the profile line in sampling resolution between different profile lines.

The sampling resolution is represented by the sampling step distance ∆r, and the sampling step ∆r between random two sampling points is calculated as Eq. (14):

$$\Delta r = \mathop \int \limits_{{x_{0} }}^{{x_{0} + 1}} \sqrt {1 + \left[ {A\, \cdot \,\omega \, \cdot \,\cos \left( {\omega \, \cdot \,x + \varphi } \right)} \right]^{2} } {\text{d}}x,$$
(14)

where ∆r is the sampling step; x0 is the abscissa of random point on the profile line in development diagram (Fig. 8).

By comparing the profile line with different sampling lengths, some results show that the sampling steps between the sampling points in the same segment have a small difference, and the maximum step difference is less than 10% when the sampling length of the profile line is less than 15 mm. Therefore, the sampling point can be approximated as equally spaced sample when the sampling length is less than 15 mm.

When the profile line segment approximately satisfies the equal space sampling, the difference in the sampling resolution between segments will also affect the calculation of the fractal dimension. The maximum difference between the sampling steps between segments is:

$$\Delta R_{\max } = 1\, \cdot \,\left( {\frac{{\mu_{{\text{v}}} }}{\cos \beta } - \mu_{{\text{v}}} } \right),$$
(15)

where ∆Rmax is the maximum difference between the sampling steps. When β < 60°, ∆Rmax < 1 · μv.

When the sampling step distance is within 0.125 mm ~ 1 mm, the fractal dimensions of the profile line can be calculated from different sampling step length and sampling length (Wang et al. 2000) as shown in Fig. 9. From Fig. 9, it can be clearly seen that the fractal dimension has been affected by the sampling length and the sampling step size, showing a significant scale effect, when the fractal dimension of the sampling length within 50 mm.

Fig. 9
figure 9

Scale effect of fractal dimension D from different rock fracture profiles

In summary, to ensure that the calculated fractal dimension is comparable between different segment profiles, the same sampling length and sampling resolution are required in different segments of the profile line and it is necessary to unify the profile lines. To ensure that the sampling data are reliable, a linear interpolation method is used to simplify the profile lines and reduce the sampling resolution between the sampling points, so that different profile line segments have the same sampling resolution, just as shown in Fig. 10.

Fig. 10
figure 10

Simplify treatment for a segment of the profile line

4.2 Morphological Feature Description Method

On the reference plane, the tangent line of the sine fitting line of the profile line is made. The central point is the point of tangent corresponding to the profile line, and a segment (length L) of the profile line is taken. When the vector direction of the approximate normal of the segment changes δ each time, sub-segment is cut off once, and then, sub-segment (360°/δ) can be obtained. Then, the profile line is treated uniformly, and the fractal dimension of each segment is calculated separately.

Taking the influence of the meso-structure of the rock material into account, the fluctuation degree of rough body on the rock surface shows a certain correlation with the position within a certain range. Therefore, the self-affine fractal description method which, like the Brownian motion process, can be used (Cambonie et al. 2015). According to the data characteristics of the sampling points on the segment of profile line, the fractal dimension calculation is as follows:

Let the vertical distance \({{H}_{i}}^{{^{\prime}}}\) from any point P on the profile segment to the reference plane be a random variable, and calculate the mean square error function V(n) of the profile segment. The V(n) of self-affine fractal properties is expressed in the form of explicit function Eq. (16) or Eq. (17):

$$V\left( n \right) = \frac{1}{{N^{\prime} - n + 1}}\mathop \sum \limits_{i = 1}^{{N^{\prime} - n + 1}} \left[ {H_{i + n}^{\prime } - H_{i}^{^{\prime}} } \right]^{2} = B\, \cdot \,\left[ {\Delta l} \right]^{{2\left( {2 - D} \right)}} ,$$
(16)

or

$$V\left( n \right) = \frac{1}{{N^{\prime} - n + 1}}\mathop \sum \limits_{i = 1}^{{N^{\prime} - n + 1}} \left[ {H_{i + n - 1}^{\prime } - H_{i}^{\prime } } \right]^{2} = B\, \cdot \,\left[ {\Delta r\, \cdot \,\left( {n - 1} \right)} \right]^{{2\left( {2 - D} \right)}} ,$$
(17)

where V(n) is the mean square error function; N′ is the total number of sample points in the total sample; n is the total number of sample points in the sub-sample; B is the coefficient; D is the fractal dimension; ∆l is the length of the sub-sample, and ∆l = ∆r∙(n − 1) for equally spaced sampling. Therefore, let us take the logarithm of the equal sign in Eq. (16) and simplified as:

$$D = 2 - \frac{\ln V\left( n \right) - \ln B}{{2\ln \left[ {\Delta l} \right]}}.$$
(18)

Take,

$$\varepsilon = \frac{\ln V\left( n \right) - \ln B}{{\ln \left[ {\Delta l} \right]}}.$$
(19)

Then, we can get:

$$\ln V\left( n \right) = \ln B + \varepsilon \, \cdot \,\ln \Delta l.$$
(20)

Obviously, ε is its slope, and ln B is the intercept on the ln V(n) axis in the logarithmic relationship between V(n) and ∆l.

Brownian motion is a typical example of fractal theory, and the Brownian motion under ideal state is Gaussian normal distribution (Babadagli and Develi 2001), so the fitting result obtained by the least-square method is the optimal linear unbiased estimator; that is, it has the smallest variance among all linear unbiased estimations according to related theoretical analysis (Valdez et al. 2018).

Take the profile line of structural surface, the sine fitting line, and the reference surface in Fig. 5 as example, set L = 30 mm, δ = 10°, and then, the profile line is divided into 36 segments. After simplifying treatment, the profile segments with equal spaced sampling are obtained. The mean square error V(n) of profile segment was calculated respectively, and the least-square method was used to fit the one-dimension function in the log–log relation diagram between V(n) and \(\Delta l\). Take the 0° segment of the profile line as an example, and the fitting results are shown in Fig. 11.

Fig. 11
figure 11

Log–log relation diagram of V(n) and \(\Delta l\), and the fitting line of the log–log relation from the 0° segment of the profile line

From Fig. 11, the slope of the fitting line of log–log relation diagram is ε = 1.1406, ln(B) =  − 1.1094, and fractal dimension D = 1.4297 can be calculated. According to the calculation formula of mean square error V(n) of the profile segment, it can be seen that when the sub-sample length \(\Delta l\) is larger, the data utilization rate of the sampling point on the profile segment is lower, which is reflected in the fact that the log–log relationship between V(n) and \(\Delta l\) is more sensitive and prone to distortion. Similarly, the logarithmic relationship between V(n) and \(\Delta l\) is no longer linearly correlated near the maximum value of \(\Delta l\) according to the marked position of the dotted line circle in Fig. 11.

Therefore, when calculating the fractal dimension of the 36-segmented profile line on the structural surface in the same way, some logarithm values of V(n) and \(\Delta l\) near the maximum value are first removed to make the linear correlation coefficient of the linear fitting results greater than 0.9 (\({R}^{2}\ge 0.81\)). Finally, the calculated results are displayed using the rose diagrams, and the fractal dimension rose diagram can be used to approximate describe the three-dimensional morphological features of the structure plane. The results are shown in Fig. 12.

Fig. 12
figure 12

Rose diagram with fractal dimensions from the statistical results of circumferential profile segments of the structural surface

Figure 12 shows that the fractal dimension is symmetric in the circumferential direction of the structural surface in the borehole image, which is significantly reflected in the two rectangular marks I and II. Therefore, it is judged that there is a symmetrical distribution of the morphological feature of profile line segments on the structural surface; that is, the symmetrical distribution of mechanical properties can be obtained by morphological feature description method of structural surface in borehole image.

5 Application in JRC Value Description

At present, the JRC values are generally determined by comparison with Barton's proposed ten standard profile lines, and there are some scholars who indirectly determined the JRC values of rock surface based on the statistical parameters of the rock profile lines and fractal theory. This application is based on the borehole image obtained from the digital panoramic borehole imaging system, and then calculate JRC values according to above morphological feature description method. Finally, we make a JRC rose diagram to express the morphological feature description results of structural surface in borehole image during in-situ instrumentation.

To meet the requirements of applying the relationship between JRC value and fractal dimension D, and the corresponding relationship between JRC value and statistical parameters of rock surface, it is necessary to process the micro-texture of rock structural surface and remove some micro-morphology features. Taking the profile line of the structural surface in Fig. 5 as an example, the microscopic morphology of the profile line is in a clear zigzag shape, which will inevitably cause interference when the surface parameters are counted or the fractal dimension is calculated. Therefore, it is necessary to remove the micro-zigzag texture of the profile line of the surface in advance and retain its macro-roughness morphology. The profile line segment (length 10 cm) has been removed the micro-zigzag texture by in a cubic interpolation, as shown in Fig. 13.

Fig. 13
figure 13

Processing of micro-zigzag texture in the profile line of the surface

The profile line of the structural surface after removing the micro-zigzag texture is like that of N. Barton's 10 standard curves, so the fractal dimension or surface roughness statistical parameter of the profile line can be calculated, and then, the JRC value can be obtained by the corresponding relationship of JRC according to some researchers’ publications, such as (Babanouri and Nasab 2017; Babanouri et al. 2013).

The ten standard curves of N. Barton were calculated and found that there are two statistical parameters with the highest degree of correlation between the JRC and the root mean square (RMS) (Tse and Cruden 1979). The corresponding relationship between the JRC and the statistical parameter Z2 can be shown as:

$${\text{JRC}} = 32.2 + 32.47\log \,Z_{2} ,$$
(21)
$$Z_{2} \approx \sqrt {\frac{1}{L}\mathop \sum \limits_{i = 1}^{N - 1} \frac{{\left( {H_{i + 1}^{\prime } - H_{i}^{\prime } } \right)^{2} }}{{x_{i + 1}^{\prime } - x_{i}^{\prime } }}} ,$$
(22)

where N is the number of sampling points; L is the total sampling length.

Still taking the profile line of structural surface in the borehole image, the sine fitting line, and the reference surface in Fig. 5 as example, set the interception length L = 100 mm of the profile line, the sampling rate \(\delta =10^\circ\), and then, we can get 36 segments of the profile line. After eliminate the surface micro-structure characteristics of these segments, statistical parameters Z2 and JRC values of every segment are calculated separately, and then, the Z2 and JRC values are drawn into the rose diagram respectively, just as shown in Fig. 14.

Fig. 14
figure 14

Rose diagram with statistical parameters Z2 and JRC values

From Fig. 14, there is an obvious phenomenon that the roughness increases together significantly in the sampling area of 180°–220°, so it is judged that the anti-sliding ability of the rock mass in the direction of 180°–220° is better than that in other directions. Therefore, the dominant anti-slip direction of the structural surface can be determined as about 200° in Fig. 14.

6 Conclusions

This paper proposes a method to describe the morphological features of structural surface in borehole image using digital panoramic borehole imaging technique, and forms a fractal dimension rose diagram to show the three-dimensional morphological features of the structural surface borehole rock mass. From the perspective of the macroscopic statistical analysis of the entire borehole, the occurrence and spatial distribution of structural surfaces in borehole image can be accurately obtained using the morphological feature description method. From the view of microscopic statistical point of each structural surface, the analysis of the profile line can be performed at a higher sampling resolution to identify the morphological features of the structural surface in borehole rock mass.

Therefore, using the digital panoramic borehole imaging system as an in-situ instrumentation technique to obtain the morphological feature of structural surface in borehole rock mass is feasible. The rose diagram with fractal dimension can well show the three-dimensional roughness information of structural surface in borehole and the symmetrical distribution of rock mass mechanical properties, and also the anisotropy of surface morphological features. Another, the rose diagram with JRC values can be used to determine the dominant anti-slip direction of the structural surface in borehole rock mass according to the relationship between the morphological feature and the mechanical properties of the structural plane in the obtained borehole image, which can solve the difficulty of obtaining the three-dimensional morphological features information and the mechanical properties of structural surface in deep rock mass.