Core image automatic interpretation and rock mass integrity comprehensive evaluation method and system

By using automatic core image interpretation and instance segmentation models, the problems of automation and digitization in rock mass integrity evaluation have been solved, enabling accurate characterization of fracture zones and correction of RQD, thereby improving the accuracy and efficiency of the evaluation.

CN123160900APending Publication Date: 2026-11-24ZHENGZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611554748.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-09
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing methods for evaluating rock mass integrity rely on manual measurements, which result in a large workload, insufficient repeatability of results, and difficulty in reflecting the spatial distribution of local fracture zones. The traditional RQD index is insufficient for evaluating local fracture.

Method used

An automatic interpretation method for rock core images is adopted. The rock core images are segmented into intact lithology, fractured lithology, and fracture zone categories through an instance segmentation model. Combined with morphological processing and scale conversion, the RQD is calculated and the spatial index of fractured structure is corrected to achieve a comprehensive evaluation of rock mass integrity.

Benefits of technology

It has achieved automation and digitization of rock mass integrity evaluation, reduced human error, and can accurately characterize the concentration of fractured areas and continuous weakening characteristics, thus overcoming the limitations of a single RQD.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160900A_ABST
    Figure CN123160900A_ABST
Patent Text Reader

Abstract

This invention relates to a method and system for automatic core image interpretation and comprehensive evaluation of rock mass integrity. The method includes the following steps: S1, data acquisition; S2, image preprocessing; S3, joint interpretation of core images; S4, extraction and length conversion of intact core segments; S5, automatic RQD calculation; S6, calculation of spatial indices for fractured structures; S7, integrity correction and grading: determining the initial rock mass integrity level based on RQD, and correcting the initial level based on the proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone, to obtain the comprehensive evaluation result of rock mass integrity. The beneficial effects of this invention are: by further dividing each lithology into intact and fractured states, and treating fractured zones as an independent category, the segmentation results of the same instance can simultaneously serve lithology interpretation, intact core segment extraction, fracture feature statistics, and integrity evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of engineering geological information processing, core digitization and computer vision technology, and specifically to a method for automatically obtaining lithology and integrity information using core image instance segmentation results, calculating rock quality index RQD, and combining the spatial characteristics of fractured structures to conduct a comprehensive evaluation of rock mass integrity. Background Technology

[0002] Core logging is a fundamental task in geotechnical engineering investigation, mineral resource development, underground space construction, tunnel engineering, and slope stability evaluation. Core box images can record information such as stratigraphic lithology, structural plane development, core fragmentation degree, core extraction quality, and rock mass integrity, making them an important data carrier for digital geological logging and engineering verification.

[0003] Current rock mass integrity assessments typically use the Rock Quality Determination (RQD) index. RQD is expressed as the percentage of total drilled core length (at least 10 cm) out of the total drilling footage within that statistical interval. Traditional RQD determination relies heavily on technicians manually identifying, measuring, recording, and compiling complete core segments. In large-scale drilling projects, this approach suffers from problems such as high workload, reliance on experience, insufficient repeatability, and limited digitization. Furthermore, factors such as camera angle, lighting variations, mud contamination on the core surface, irregular core placement, and scale conversion errors can further affect the results of manual or automated measurements.

[0004] Existing core image recognition methods are capable of lithology classification, core target detection, intact core segment segmentation, and RQD estimation. However, field core images have characteristics such as heterogeneous lithological texture, blurred boundaries between intact and broken states, easy adhesion between adjacent core segments, and slender, curved, and discontinuous fracture zones. They only output lithology categories or extract the length of intact cores, making it difficult to simultaneously express the concentrated distribution of fractured lithology, the development ratio of fracture zones, and continuous weakening characteristics.

[0005] Furthermore, the single RQD index is mainly evaluated based on the length of intact core segments. When there is a concentrated distribution of locally fractured lithology or continuous fracture zones within the statistical interval, even if the RQD value is still in a high range, it may not fully reflect the local weakening state of the rock mass. Therefore, it is necessary to establish a comprehensive evaluation method for rock mass integrity that can unify automatic interpretation of core images, measurement of intact core length, RQD calculation, and correction of spatial characteristics of fractured structures. Summary of the Invention

[0006] This invention provides a method and system for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity, in order to solve the above-mentioned technical problems.

[0007] To achieve the above objectives, the present invention adopts the following technical solution:

[0008] A method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity includes the following steps:

[0009] S1. Data Acquisition:

[0010] Collect images of core boxes at the construction or exploration site, and record the borehole number, core box number, core arrangement order inside the box, corresponding borehole depth information, total footage within the statistical interval, and pixel-to-actual length scale information.

[0011] S2. Image preprocessing:

[0012] Core box images are cropped, perspective geometrically corrected, and brightness normalized to obtain preprocessed core images, while maintaining the correspondence between the original image, the processed image, borehole depth information, and scale parameters.

[0013] S3 and core image joint interpretation:

[0014] The preprocessed core image is input into the core image instance segmentation model to obtain the category information and instance mask of the core instance. The category information includes complete lithology categories, fractured lithology categories, and independently set fracture zone categories.

[0015] S4. Extraction and length conversion of complete core segments:

[0016] Complete lithological instance masks are filtered, binarized, and converted into binary masks. Morphological processing is performed on the binary masks to separate adjacent or adhered core segments. Then, contour detection is performed to obtain the pixel-level contour and axial pixel length of each complete core segment.

[0017] S5 and RQD are automatically calculated:

[0018] Based on the scale parameters, the axial pixel length is converted into the actual length. Complete core segments with an actual length not less than a preset threshold are selected, and their cumulative effective length and RQD are calculated.

[0019] S6. Calculation of spatial index of fractured structure:

[0020] Based on the instances of fractured lithology and fractured zones, the cumulative length of fractured lithology, the cumulative length of fractured zones, and the maximum length of continuous fractured zones are calculated, and the corresponding proportional indicators are obtained.

[0021] S7. Integrity Correction Classification:

[0022] The initial rock mass integrity grade is determined based on the RQD (Rock Quality Determination). The initial grade is then corrected based on the proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone, resulting in a comprehensive evaluation of rock mass integrity.

[0023] Preferably, in step S2, the perspective geometry correction includes constructing a perspective transformation relationship based on the corner points of the outer boundary of the core box or the core arrangement area for images with obvious tilt or perspective distortion, and correcting the core box area to an approximately frontal state; the brightness normalization refers to performing brightness normalization processing on images with uneven lighting, local shadows or surface reflections to improve the recognizability of the core boundary, fracture and fracture zone contours.

[0024] Preferably, in step S4, for the i-th complete core outline, its minimum bounding rectangle is obtained, and the pixel width and height of the bounding rectangle are w and w, respectively. i and h i Then the axial pixel length of the corresponding core segment is determined according to formula (1);

[0025]

[0026] Based on the conversion factor in equation (1), the axial pixel length is converted to the actual length, and then calculated according to equation (2).

[0027]

[0028] In the formula, p i w is the axial pixel length of the i-th complete core segment; i and h i These are the pixel width and pixel height of its smallest bounding rectangle, respectively; i is the actual length of the i-th complete core segment.

[0029] Preferably, in step S5, the total advance length of the statistical depth interval is set to... The effective cumulative length of a complete rock core with a length of not less than 10 cm is RQD is calculated according to formula (3):

[0030]

[0031] Preferably, in step S6, the multiple rows of rock cores in the core box are unfolded into a one-dimensional depth sequence along the borehole direction according to the on-site placement order and borehole depth record, and the cumulative length of the fractured lithology is set as L. b The cumulative length of the fracture zone is L z The maximum continuous fracture zone length is L z,max The maximum continuous fracture zone length is obtained by merging the projection intervals of fracture zone instances along the borehole depth direction;

[0032] The proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone are calculated according to formulas (4) to (6), respectively.

[0033]

[0034] In the formula, P b The proportion of fractured lithology; P z The proportion of the crushed zone; C z This represents the maximum proportion of continuous fracture zones.

[0035] Preferably, in step S7, a ranking correction rule based on the instance segmentation result is established, and this rule uses P... b P z and C z As an auxiliary indicator, when a certain auxiliary indicator reaches the set threshold, the integrity level is corrected by one level in the direction of worseness; otherwise, no correction is made. The comprehensive correction value is calculated according to formula (7).

[0036]

[0037] The final integrity level is calculated according to formula (8).

[0038]

[0039] In the formula: G0 is the initial integrity level number determined based on Table 2, and G is the corrected integrity level number.

[0040] Preferably, the core image instance segmentation model is based on the YOLO series core image instance segmentation model. A spatial feature enhancement module that integrates large kernel attention and deformable sampling is set between the high-level feature extraction module and the multi-scale feature fusion network. A dynamic sampling module that adopts a cumulative offset serpentine sampling path is set in the instance mask prediction branch to enhance the spatial representation ability of complex lithological textures and irregular broken boundaries, as well as the mask boundary fitting ability of slender, curved and discontinuous broken structures.

[0041] Preferably, a first-level correction value is generated when the proportion of fractured lithology is not less than 30%, a first-level correction value is generated when the proportion of fractured zones is not less than 15%, and a first-level correction value is generated when the proportion of the largest continuous fractured zone is not less than 10%. The correction values ​​are accumulated to obtain a comprehensive correction value, and the comprehensive correction value does not exceed two levels. The rock mass integrity level is corrected in the direction of poor integrity according to the comprehensive correction value.

[0042] A system for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity includes: a data input module for acquiring rock core images, borehole depth range information, rock quality index (RQD), and pixel-to-actual length scale information; an instance segmentation module for outputting the category information and instance mask of rock core instances according to a joint category system of "lithology category - integrity state - fracture zone"; a fracture structure calculation module for calculating the proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone based on the fractured lithology instance mask and the fractured zone instance mask; and a comprehensive evaluation module for determining the initial level of rock mass integrity based on RQD, and correcting the initial level based on the proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone.

[0043] The beneficial effects of the technical solution of the present invention are: (1) By further dividing each type of lithology into intact state and broken state, and taking the broken zone as an independent category, the segmentation results of the same instance can simultaneously serve lithological interpretation, intact core segment extraction, broken feature statistics and integrity evaluation;

[0044] (2) By performing morphological processing, contour detection and scale conversion on the complete lithological instance mask, the automatic conversion from pixel-level segmentation results to the actual length of the core and RQD engineering indicators is realized, reducing the difference in manual measurement;

[0045] (3) By calculating the proportion of fractured lithology, the proportion of fractured zones and the proportion of the largest continuous fractured zone, the concentration, development and continuous weakening characteristics of the fractured area can be characterized.

[0046] (4) By using the spatial index of the fractured structure to correct the initial level of RQD, the problem of insufficient representation of the spatial distribution of local fractured zones by a single RQD can be made up.

[0047] (5) The evaluation process can retain the input image, instance mask, length conversion process, index calculation results and grade correction, which facilitates project review and digital management. Attached Figure Description

[0048] Figure 1 This is a flowchart illustrating the overall process of the automatic core image interpretation and comprehensive rock mass integrity evaluation method of the present invention.

[0049] Figure 2 This is a schematic diagram showing the relationship between the core image segmentation results, RQD, and rock mass integrity level in an example of the present invention.

[0050] Figure 3 This provides an instance-level polygon annotation interface for core images.

[0051] Figure 4 The training loss curve for the model. Detailed Implementation

[0052] The present invention will be further described below with reference to the accompanying drawings and embodiments. It should be noted that the following detailed description is illustrative and intended to provide further explanation of this application. In this invention, left and right refer to the left and right directions shown in the accompanying drawings. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0053] Example 1

[0054] A method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity, such as Figures 1-4 As shown, it includes the following steps:

[0055] S1. Data Acquisition:

[0056] Collect images of core boxes at the construction or exploration site, and record the borehole number, core box number, core arrangement order inside the box, corresponding borehole depth information, total footage within the statistical interval, and pixel-to-actual length scale information.

[0057] S2. Image preprocessing:

[0058] The core box image is preprocessed by cropping the core box area, performing perspective geometric correction, and normalizing brightness. This process maintains the correspondence between the original image, the processed image, borehole depth information, and scale parameters. Perspective geometric correction involves constructing perspective transformation relationships based on the corner points of the core box's outer boundary or the core arrangement area for images with significant tilt or perspective distortion, correcting the core box area to an approximately frontal view. Brightness normalization refers to performing brightness normalization processing on images with uneven lighting, local shadows, or surface reflections to improve the recognizability of core boundaries, fractures, and fracture zone contours.

[0059] S3 and core image joint interpretation:

[0060] The preprocessed core image is input into the core image instance segmentation model to obtain the category information and instance mask of the core instances. The category information includes complete lithology categories, fractured lithology categories, and independently set fracture zone categories. For example, in a sandstone-slate core image, the categories include complete sandstone, fractured sandstone, complete slate, fractured slate, and fracture zone. Instance labeling adopts polygon instance labeling, enabling the model to output a category label, spatial location, and pixel-level instance mask for each target. The complete lithology instance mask corresponding to the complete lithology category is used for measuring the length of the complete core segment and calculating RQD. The fractured lithology instance mask corresponding to the fractured lithology category is used for calculating the cumulative length and proportion of fractured lithology. The fracture zone instance mask corresponding to the fracture zone category is used for calculating the cumulative length of the fracture zone, the maximum continuous fracture zone length, the fracture zone proportion, and the maximum continuous fracture zone proportion.

[0061] S4. Extraction and length conversion of complete core segments:

[0062] Complete lithological instance masks are selected and binarized, converting them into binary masks where target areas are assigned a value of 1 and background areas are assigned a value of 0. To avoid inflated length statistics due to adhesion between adjacent core segments, mask edge burrs, and minor noise, morphological processing is performed on the binary masks to separate adjacent or adhered core segments, making the intervals between adjacent core segments clearer and removing false targets with excessively small areas. Then, contour detection is performed to obtain the pixel-level contour and axial pixel length of each complete core segment. In this embodiment, for the i-th complete core contour, its minimum bounding rectangle is obtained, and the pixel width and height of the bounding rectangle are w and w, respectively. i and h i Then the axial pixel length of the corresponding core segment is determined according to formula (1);

[0063]

[0064] Based on the conversion factor in equation (1), the axial pixel length is converted to the actual length, and then calculated according to equation (2).

[0065]

[0066] In the formula, p i w is the axial pixel length of the i-th complete core segment; i and h i These are the pixel width and pixel height of its smallest bounding rectangle, respectively; i is the actual length of the i-th complete core segment; for targets with extremely irregular shapes or too small areas, area thresholds and aspect ratio thresholds can be used to remove them;

[0067] S5 and RQD are automatically calculated:

[0068] The axial pixel length is converted to the actual length based on the scale parameter. Complete core segments with an actual length not less than a preset threshold are selected, and their cumulative effective length and RQD are calculated. In this embodiment, the total footage length within the statistical depth range is set to... The effective cumulative length of a complete rock core with a length of not less than 10 cm is RQD is calculated according to formula (3):

[0069]

[0070] S6. Calculation of spatial index of fractured structure:

[0071] Based on the fractured lithology instance mask and fractured zone instance mask, the cumulative length of fractured lithology, the cumulative length of fractured zone, and the maximum continuous fractured zone length are calculated, and the corresponding proportional indices are obtained. The spatial indices of fractured structure include the cumulative length of fractured lithology, the cumulative length of fractured zone, the maximum continuous fractured zone length, and the corresponding proportional indices. Among them, the fractured lithology ratio is the percentage of the cumulative length of fractured lithology to the total footage length, the fractured zone ratio is the percentage of the cumulative length of fractured zone to the total footage length, and the maximum continuous fractured zone ratio is the percentage of the maximum continuous fractured zone length to the total footage length.

[0072] Specifically, multiple rows of rock cores in the core box are unfolded into a one-dimensional depth sequence along the borehole direction according to the on-site placement order and borehole depth record, with the cumulative length of the fractured lithology set as L. b The cumulative length of the fracture zone is L z The maximum continuous fracture zone length is L z,max The maximum continuous fracture zone length is obtained by merging the projection intervals of fracture zone instances along the borehole depth direction;

[0073] The proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone are calculated according to formulas (4) to (6), respectively.

[0074]

[0075] In the formula, P b The proportion of fractured lithology; P z The proportion of the crushed zone; C z This represents the maximum proportion of continuous fracture zones.

[0076] S7. Integrity Correction Classification:

[0077] The initial rock mass integrity grade is determined based on the RQD (Rock Quality Determination). The initial grade is then corrected based on the proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone to obtain the comprehensive evaluation result of rock mass integrity, and the final rock mass integrity grade is output.

[0078] In this embodiment, the initial integrity levels are numbered from 1 to 5 from complete to broken, and the specific correspondence is shown in Table 1;

[0079] Table 1 Initial Integrity Levels Based on RQD

[0080]

[0081] Establish a ranking correction rule based on instance segmentation results (Table 2), which uses P as the criterion. b P z and C z As an auxiliary indicator, when a certain auxiliary indicator reaches a set threshold, the integrity level is corrected by one level in the worse direction; otherwise, no correction is made.

[0082] Table 2. Integrity Level Correction Rules Based on Auxiliary Indicators

[0083]

[0084] The comprehensive correction value is calculated according to formula (7);

[0085]

[0086] The final integrity level is calculated according to formula (8).

[0087]

[0088] In the formula: G0 is the initial integrity level number determined based on Table 2, and G is the corrected integrity level number; the level numbers are ranked from best to worst integrity as follows: 1—complete, 2—relatively complete, 3—poor integrity, 4—relatively fragmented, 5—fragmented. To avoid over-correction caused by auxiliary indicators, the maximum comprehensive correction value shall not exceed level 2.

[0089] In this embodiment, the core image instance segmentation model is based on the YOLO series core image instance segmentation model. A spatial feature enhancement module integrating large kernel attention and deformable sampling is set between the high-level feature extraction module and the multi-scale feature fusion network. A dynamic sampling module using a cumulative offset serpentine sampling path is set in the instance mask prediction branch to enhance the spatial representation ability of complex lithological textures and irregular fracture boundaries, as well as the mask boundary fitting ability of slender, curved, and discontinuous fracture structures. A first-level correction value is generated when the proportion of fractured lithology is not less than 30%, when the proportion of fractured zones is not less than 15%, and when the proportion of the largest continuous fractured zone is not less than 10%. The correction values ​​are accumulated to obtain a comprehensive correction value, and the comprehensive correction value does not exceed two levels. The rock mass integrity level is corrected towards the direction of poor integrity according to the comprehensive correction value.

[0090] Example 2

[0091] A system for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity includes: a data input module for acquiring rock core images, borehole depth range information, rock quality index (RQD), and pixel-to-actual length scale information; an instance segmentation module for outputting the category information and instance mask of rock core instances according to a joint category system of "lithology category - integrity state - fracture zone"; a fracture structure calculation module for calculating the proportion of fractured lithology, the proportion of fracture zones, and the proportion of the largest continuous fracture zone based on the fractured lithology instance mask and the fracture zone instance mask; and a comprehensive evaluation module for determining the initial level of rock mass integrity based on RQD, and correcting the initial level based on the proportion of fractured lithology, the proportion of fracture zones, and the proportion of the largest continuous fracture zone.

[0092] Example 3

[0093] Example of sandstone-slate core image segmentation and model performance verification:

[0094] like Figure 3 , Figure 4 As shown, this embodiment uses sandstone-slate core box images from 60 geological boreholes in a certain project for verification. After image filtering, perspective correction, and brightness processing, 200 valid core box images were obtained and uniformly adjusted to 640×640 pixels. The labeling categories are intact sandstone, fractured sandstone, intact slate, fractured slate, and fracture zone. Instance-level polygon annotation was used, resulting in 9840 polygon samples. The dataset was divided into training, validation, and test sets in a 7:2:1 ratio.

[0095] To visually illustrate the sample creation process of the joint category system, Figure 3 An instance-level polygon annotation interface is provided. During annotation, the outlines of intact sandstone, fractured sandstone, intact slate, fractured slate, and fracture zones are drawn respectively, so that the category labels correspond one-to-one with the pixel-level instance masks.

[0096] As a preferred instance segmentation implementation, YOLO11-seg is used as the basic framework. A Deformable-LKA spatial feature enhancement module is set between the high-level feature output and the multi-scale feature fusion network, and a DySnakeConv dynamic snake convolution module is set near the output end of the instance mask prediction branch. The training epochs are 200, the batch size is 16, the input size is 640, the optimizer is SGD, and the initial learning rate is 0.001.

[0097] During training, the model's detection box loss and segmentation loss decreased rapidly in the early stages, slowed down after about 50 epochs, and stabilized around 150-200 epochs. The training loss and validation loss decreased synchronously overall, and there was no sustained increase or significant oscillation in the validation loss later, indicating that the model has relatively stable generalization ability. The loss evolution curves are shown below. Figure 4 .

[0098] In the test results, the model accuracy and mAP@50 were 92.41% and 92.79%, respectively. The results indicate that the instance segmentation output can reliably distinguish between intact sandstone, fractured sandstone, intact slate, fractured slate, and fracture zones, and can be used as a unified data input for subsequent intact core segment extraction, RQD calculation, and integrity correction grading.

[0099] Example 4: RQD Calculation and Integrity Correction Grading Example

[0100] Taking the statistical interval of 16–48 m in boreholes AAZK01 to AAZK04 as an example, the automatic RQD and auxiliary indices were calculated according to Example 1. The root mean square error between the automatic RQD results and the manual measurement results was 1.70%. Samples with clear boundaries and good continuity of intact core segments had smaller errors; samples with higher degrees of fragmentation, obvious adhesion between adjacent core segments, or strong local shadowing may have segmentation boundary offsets and scale conversion errors.

[0101] Table 3. Completeness Grading Results of RQD and Auxiliary Indicator Corrections

[0102]

[0103] The automatic RQD for AAZK01 was 80.9%, with an initial rating of "relatively complete." However, its fractured zone proportion reached 15.0%, triggering a first-level correction, resulting in a final rating of "poor completeness," consistent with the manually recorded results. The auxiliary indicators for the other three boreholes did not trigger corrections, and their final ratings remained the initial levels. These results demonstrate that using spatial indicators of fractured structures to correct the initial RQD rating can compensate for the insufficient reflection of local fractured zone development by a single RQD indicator.

Claims

1. A method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity, characterized in that... Includes the following steps: S1. Data Acquisition: Collect images of core boxes at the construction or exploration site, and record the borehole number, core box number, core arrangement order inside the box, corresponding borehole depth information, total footage within the statistical interval, and pixel-to-actual length scale information. S2. Image preprocessing: Core box images are cropped, perspective geometrically corrected, and brightness normalized to obtain preprocessed core images, while maintaining the correspondence between the original image, the processed image, borehole depth information, and scale parameters. S3 and core image joint interpretation: The preprocessed core image is input into the core image instance segmentation model to obtain the category information and instance mask of the core instance. The category information includes complete lithology categories, fractured lithology categories, and independently set fracture zone categories. S4. Extraction and length conversion of complete core segments: Complete lithological instance masks are filtered, binarized, and converted into binary masks. Morphological processing is performed on the binary masks to separate adjacent or adhered core segments. Then, contour detection is performed to obtain the pixel-level contour and axial pixel length of each complete core segment. S5 and RQD are automatically calculated: Based on the scale parameters, the axial pixel length is converted into the actual length. Complete core segments with an actual length not less than a preset threshold are selected, and their cumulative effective length and RQD are calculated. S6. Calculation of spatial index of fractured structure: Based on the instances of fractured lithology and fractured zones, the cumulative length of fractured lithology, the cumulative length of fractured zones, and the maximum length of continuous fractured zones are calculated, and the corresponding proportional indicators are obtained. S7. Integrity Correction Classification: The initial rock mass integrity grade is determined based on the RQD (Rock Quality Determination). The initial grade is then corrected based on the proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone, resulting in a comprehensive evaluation of rock mass integrity.

2. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: In step S2, the perspective geometry correction includes constructing a perspective transformation relationship based on the corner points of the outer boundary of the core box or the core arrangement area for images with obvious tilt or perspective distortion, and correcting the core box area to an approximately frontal state; the brightness normalization refers to performing brightness normalization processing on images with uneven lighting, local shadows or surface reflections to improve the recognizability of core boundaries, fractures and fracture zone contours.

3. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: In step S4, for the i-th complete core outline, its minimum bounding rectangle is obtained, and the pixel width and height of the bounding rectangle are w and w, respectively. i and h i Then the axial pixel length of the corresponding core segment is determined according to formula (1); ; Based on the conversion factor in equation (1), the axial pixel length is converted to the actual length, and then calculated according to equation (2). ; In the formula, p i w is the axial pixel length of the i-th complete core segment; i and h i These are the pixel width and pixel height of its smallest bounding rectangle, respectively; i is the actual length of the i-th complete core segment.

4. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: In step S5, let the total advance length of the statistical depth interval be... The effective cumulative length of a complete rock core with a length of not less than 10 cm is RQD is calculated according to formula (3): 。 5. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: In step S6, the multiple rows of rock cores in the core box are unfolded into a one-dimensional depth sequence along the borehole direction according to the on-site placement order and borehole depth record. Let the cumulative length of the fractured lithology be L. b The cumulative length of the fracture zone is L z The maximum continuous fracture zone length is L z,max The maximum continuous fracture zone length is obtained by merging the projection intervals of fracture zone instances along the borehole depth direction; The proportion of fractured lithology, the proportion of fractured zones, and the proportion of the largest continuous fractured zone are calculated according to formulas (4) to (6), respectively. ; In the formula, P b The proportion of fractured lithology; P z The proportion of the crushed zone; C z This represents the maximum proportion of continuous fracture zones.

6. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: In step S7, a ranking correction rule based on the instance segmentation results is established, and this rule uses P... b P z and C z As an auxiliary indicator, when a certain auxiliary indicator reaches the set threshold, the integrity level is corrected by one level in the direction of worseness; otherwise, no correction is made. The comprehensive correction value is calculated according to formula (7). ; The final integrity level is calculated according to formula (8); ; In the formula: G0 is the initial integrity level number determined based on Table 2, and G is the corrected integrity level number.

7. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: The core image instance segmentation model is based on the YOLO series core image instance segmentation model. A spatial feature enhancement module that integrates large kernel attention and deformable sampling is set between the high-level feature extraction module and the multi-scale feature fusion network. A dynamic sampling module with cumulative offset serpentine sampling path is set in the instance mask prediction branch to enhance the spatial representation ability of complex lithological textures and irregular broken boundaries, as well as the mask boundary fitting ability of slender, curved and discontinuous broken structures.

8. The method for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity according to claim 1, characterized in that: A first-level correction value is generated when the proportion of fractured lithology is not less than 30%, a first-level correction value is generated when the proportion of fractured zones is not less than 15%, and a first-level correction value is generated when the proportion of the largest continuous fractured zone is not less than 10%. The correction values ​​are accumulated to obtain a comprehensive correction value, and the comprehensive correction value does not exceed two levels. The rock mass integrity level is corrected in the direction of poor integrity according to the comprehensive correction value.

9. A system for automatic interpretation of rock core images and comprehensive evaluation of rock mass integrity, characterized in that: include: The data input module is used to acquire core images, borehole depth range information, rock quality index RQD, and pixel-to-actual length scale information; The instance segmentation module is used to output the category information and instance mask of the core instance according to the joint category system of "lithology type - integrity state - fracture zone"; the fracture structure calculation module is used to calculate the proportion of fractured lithology, the proportion of fracture zone and the proportion of maximum continuous fracture zone based on the fractured lithology instance mask and the fracture zone instance mask; and the comprehensive evaluation module is used to determine the initial level of rock mass integrity based on RQD and correct the initial level based on the proportion of fractured lithology, the proportion of fracture zone and the proportion of maximum continuous fracture zone.