A core type sampling automatic identification device and method

By designing an automatic identification device for core category sampling and using image acquisition and computing processing technology to automatically identify core categories, it solves the problem of traditional core identification relying on manual experience and improves classification efficiency and accuracy.

CN118629022BActive Publication Date: 2024-10-29BEIJING DACHENG GUOCE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411082530.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-29
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

Traditional core identification and classification relies on the experience of on-site personnel, resulting in data quality that cannot be guaranteed and efficiency is low, and cannot effectively improve the understanding of geotechnical mechanics and geological structures.

Method used

An automatic identification device for core category sampling is designed, which includes core image acquisition, preprocessing, and arithmetic processing units. Through feature extraction and probability distribution calculation, the core category is automatically identified. The specific steps include image cropping, enhancement processing, and feature extraction. Map extraction and probability distribution output for identifying strongly weathered mudstone, moderately weathered mudstone, fine-grained mixed soil, coarse-grained mixed soil, and clay.

Benefits of technology

It improves the efficiency and accuracy of core classification, reduces human errors, and improves data quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629022B_ABST
    Figure CN118629022B_ABST
Patent Text Reader

Abstract

The invention discloses an automatic identification device for core category sampling, which comprises a core image acquisition unit for acquiring core image information; a core image preprocessing unit for preprocessing the core image information; the image preprocessing unit comprises: an image cropping subunit and an image enhancement processing subunit; a core image information calculation processing unit for calculating and processing the core RGB image information output by the core image preprocessing unit; the core image information calculation processing unit comprises a feature map processing subunit, a vector output subunit and a probability distribution output subunit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of core detection, and in particular relates to a core type sampling automatic identification device and method. Background Art

[0002] In the process of geological exploration, it is an important task to identify and classify rock cores in order to understand the geotechnical conditions and geological structures of the surveyed area. Traditional rock core identification and classification mainly rely on the experience and observation of on-site personnel, but due to the uneven quality of personnel, the quality of classification and identification data cannot be guaranteed and the efficiency is very low. Summary of the invention

[0003] The present invention provides a core type sampling automatic identification device, the device comprising:

[0004] A core image acquisition unit, used for acquiring core image information;

[0005] A core image preprocessing unit, used for preprocessing core image information;

[0006] The image preprocessing unit includes: an image cropping subunit and an image enhancement processing subunit;

[0007] A core image information calculation processing unit, used for calculating and processing the core RGB image information output by the core image preprocessing unit;

[0008] The core image information calculation processing unit includes a feature map processing subunit, a vector output subunit, and a probability distribution output subunit.

[0009] Furthermore, the image cropping subunit is used to crop the effective part of the core image into a preset size;

[0010] The image enhancement processing subunit is used to enhance the core image of the preset size cut by the image cutting subunit to obtain an RGB color image.

[0011] Furthermore, the feature map processing subunit is used to extract features from the core RGB image to obtain a feature map. The specific process is as follows:

[0012]

[0013] in, is the color channel and , represents pixel coordinates, It is in the channel and pixel coordinates The pixel value of Represents the core RGB image In Location and Channel The pixel value of express In Location The weight value of For a 5 The matrix of 5 is expressed as: .

[0014] Furthermore, the vector output subunit is used to process the feature map output by the feature map processing subunit to obtain an output vector , specifically:

[0015] For channels

[0016]

[0017] in, The output vector The middle element, The feature map Height, The feature map Width.

[0018] Furthermore, the probability distribution output subunit outputs the output vector of the vector output subunit. Processing is performed to obtain the probability distribution output, specifically:

[0019] Calculate the median value ,

[0020]

[0021] in, yes The representation corresponds to the category The weight matrix of For categories, is the output vector, yes dimensional bias vector;

[0022] Calculating Probability ,

[0023]

[0024] in, for The exponential function of is the independent variable, is the number of categories.

[0025] Calculate the input vector The probability distribution of belonging to each class , ,……, , and select the category corresponding to the highest probability value that exceeds the preset probability threshold as the judgment input vector The classification result belongs to which category.

[0026] Furthermore, the number of categories is 5, and the categories correspond to strongly weathered mudstone, moderately weathered mudstone, fine-grained mixed soil, coarse-grained mixed soil, and clay.

[0027] The present invention also relates to a method for automatically identifying the type of core sampling, which is used in the device for automatically identifying the type of core sampling as described above, and comprises the following steps:

[0028] S1. Collect core image information;

[0029] S2. Preprocessing the core image information;

[0030] S3. Performing computation on the core RGB image information output by the core image preprocessing unit;

[0031] The step S3 specifically includes:

[0032] S31. Extract features from the core RGB image to obtain a feature map. The specific process is as follows:

[0033]

[0034] in, is the color channel and , represents pixel coordinates, It is in the channel and pixel coordinates The pixel value of Represents the core RGB image In Location and Channel The pixel value of express In Location The weight value of For a 5 The matrix of 5 is expressed as: ;

[0035] S32. Process the feature map output by the feature map processing subunit to obtain an output vector , specifically:

[0036] For channels

[0037]

[0038] in, The output vector The middle element, The feature map Height, The feature map Width;

[0039] S33. Output vector output by the vector output subunit Processing is performed to obtain the probability distribution output, specifically:

[0040] Calculate the median value ,

[0041]

[0042] in, yes The representation corresponds to the category The weight matrix of For categories, is the output vector, yes dimensional bias vector;

[0043] Calculating Probability ,

[0044]

[0045] in, for The exponential function of is the independent variable, is the number of categories.

[0046] Calculate the input vector The probability distribution of belonging to each class , ,……, , and select the category corresponding to the highest probability value that exceeds the preset probability threshold as the judgment input vector The classification result belongs to which category.

[0047] Further, the step S2 specifically includes:

[0048] S21. Cutting the effective part of the core image into a preset size;

[0049] S22. Perform enhancement processing on the core image of the preset size cut by the image cutting subunit to obtain an RGB color image.

[0050] The present invention also relates to a computer program product, which comprises a computer program, and the computer program is executed by a processor to execute the above-mentioned method for automatic identification of core type sampling.

[0051] The present invention also relates to a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is executed by a processor to execute the above-mentioned automatic identification method for core type sampling.

[0052] The technical solution of the present invention can improve the efficiency and accuracy of core classification. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a structural block diagram of the automatic identification device for core type sampling of the present invention. DETAILED DESCRIPTION

[0054] The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the scope of protection of the present invention. It should be pointed out that the following detailed description is exemplary and is intended to provide further explanation of the present invention.

[0055] Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those generally understood by those of ordinary skill in the art to which the present invention belongs. It should be noted that the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0056] Embodiment 1 of the present invention relates to an automatic identification device for core type sampling, the device comprising:

[0057] The core image acquisition unit is used to acquire core image information.

[0058] The core image preprocessing unit is used to preprocess the core image information.

[0059] The image preprocessing unit includes: an image cropping subunit and an image enhancement processing subunit.

[0060] The image cropping subunit is used to crop the effective part of the core image into a preset size, such as 800 pixels in length H and 800 pixels in width W, so as to facilitate subsequent processing and avoid reducing processing efficiency due to images of too large size by preset sizes.

[0061] The image enhancement processing subunit is used to enhance the core image of the preset size cut by the image cutting subunit to obtain an RGB color image of 800x800 pixels.

[0062] The core image information calculation processing unit is used to calculate and process the core RGB image information output by the core image preprocessing unit.

[0063] The core image information calculation processing unit includes a feature map processing subunit, a vector output subunit, and a probability distribution output subunit.

[0064] The feature map processing subunit is used to extract features from the core RGB image and obtain a feature map. The specific process is as follows:

[0065]

[0066] in, is the color channel and , represents pixel coordinates, It is in the channel and pixel coordinates The pixel value of Represents the core RGB image In Location and Channel The pixel value of express In Location The weight value of For a 5 The matrix of 5 is expressed as: .

[0067] The vector output subunit is used to process the feature map output by the feature map processing subunit to obtain an output vector , specifically:

[0068] For channels

[0069]

[0070] in, The output vector The middle element, The feature map Height, The feature map Width.

[0071] The probability distribution output subunit outputs the output vector of the vector output subunit. Processing is performed to obtain the probability distribution output, specifically:

[0072] Calculate the median value ,

[0073]

[0074] in, yes The representation corresponds to the category The weight matrix of For categories, is the output vector, yes dimensional bias vector;

[0075] Calculating Probability ,

[0076]

[0077] in, for The exponential function of is the independent variable, is the number of categories.

[0078] Calculate the input vector The probability distribution of belonging to each class , ,……, , and select the category corresponding to the highest probability value that exceeds the preset probability threshold as the judgment input vector The classification result belongs to which category.

[0079] Specifically, the number of categories is 5, and the categories correspond to strongly weathered mudstone, moderately weathered mudstone, fine-grained mixed soil, coarse-grained mixed soil, and clay.

[0080] Embodiment 2 of the present invention relates to a method for automatically identifying core type sampling, the method comprising the following steps:

[0081] S1. Collect core image information.

[0082] S2. Preprocess the core image information.

[0083] The step S2 specifically includes:

[0084] S21. Cut the effective part of the core image into a preset size, such as 800 pixels in length H and 800 pixels in width W, so as to facilitate subsequent processing and avoid reducing processing efficiency due to images with too large size by using the preset size.

[0085] S22. Perform enhancement processing on the core image of the preset size cropped by the image cropping subunit to obtain an RGB color image of 800x800 pixels.

[0086] S3. Perform computational processing on the core RGB image information output by the core image preprocessing unit.

[0087] The step S3 specifically includes:

[0088] S31. Extract features from the core RGB image to obtain a feature map. The specific process is as follows:

[0089]

[0090] in, is the color channel and , represents pixel coordinates, It is in the channel and pixel coordinates The pixel value of Represents the core RGB image In Location and Channel The pixel value of express In Location The weight value of For a 5 The matrix of 5 is expressed as: .

[0091] S32. Process the feature map output by the feature map processing subunit to obtain an output vector , specifically:

[0092] For channels

[0093]

[0094] in, The output vector The middle element, The feature map Height, The feature map Width.

[0095] S33. Output vector output by the vector output subunit Processing is performed to obtain the probability distribution output, specifically:

[0096] Calculate the median value ,

[0097]

[0098] in, yes The representation corresponds to the category The weight matrix of For categories, is the output vector, yes dimensional bias vector;

[0099] Calculating Probability ,

[0100]

[0101] in, for The exponential function of is the independent variable, is the number of categories.

[0102] Calculate the input vector The probability distribution of belonging to each class , ,……, , and select the category corresponding to the highest probability value that exceeds the preset probability threshold as the judgment input vector The classification result belongs to which category.

[0103] Specifically, the number of categories is 5, and the categories correspond to strongly weathered mudstone, moderately weathered mudstone, fine-grained mixed soil, coarse-grained mixed soil, and clay.

[0104] Embodiment 3 of the present invention relates to a computer program product, wherein the computer program product comprises a computer program, and the computer program is executed by a processor to execute the method of embodiment 2.

[0105] Embodiment 4 of the present invention relates to a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is executed by a processor to execute the method of embodiment 2.

[0106] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention.

Claims

1. A core type sampling automatic identification device, characterized in that: The device comprises: A core image acquisition unit, used for acquiring core image information; A core image preprocessing unit, used for preprocessing core image information; The image preprocessing unit includes: an image cutting subunit and an image enhancement processing subunit, wherein the image cutting subunit is used to cut the effective part of the core image into a preset size; The image enhancement processing subunit is used to enhance the core image of the preset size cut by the image cutting subunit to obtain an RGB color image; A core image information calculation processing unit, used for calculating and processing the core RGB image information output by the core image preprocessing unit; The core image information calculation processing unit includes a feature map processing subunit, a vector output subunit, and a probability distribution output subunit; The feature map processing subunit is used to extract features from the core RGB image and obtain a feature map. The specific process is as follows: ; in, is the color channel and , represents pixel coordinates, It is in the channel and pixel coordinates The pixel value of Represents the core RGB image In Location and Channel The pixel value of express In Location The weight value of For a 5 The matrix of 5 is expressed as: ; The vector output subunit is used to process the feature map output by the feature map processing subunit to obtain an output vector , specifically: For channels , ; in, The output vector The middle element, The feature map Height, The feature map Width; The probability distribution output subunit outputs the output vector of the vector output subunit. Processing is performed to obtain the probability distribution output, specifically: Calculate the median value , ; in, It corresponds to the category The weight matrix of For categories, is the output vector, yes dimensional bias vector; Calculating Probability , ; in, for The exponential function of is the independent variable, is the number of categories; Calculate the output vector The probability distribution of belonging to each class , ,……, , and select the category corresponding to the highest probability value exceeding the preset probability threshold as the judgment output vector The classification result belongs to which category.

2. The automatic identification device for core type sampling according to claim 1 is characterized in that: Number of categories is 5, and the categories correspond to strongly weathered mudstone, moderately weathered mudstone, fine-grained mixed soil, coarse-grained mixed soil, and clay.

3. A method for automatically identifying the type of core sampling, the method being applied to the device for automatically identifying the type of core sampling as claimed in claim 1 or 2, characterized in that: The method comprises the following steps: S1. Collect core image information; S2. Preprocessing the core image information; S3. Performing computation on the core RGB image information output by the core image preprocessing unit; The step S3 specifically includes: S31. Extract features from the core RGB image to obtain a feature map. The specific process is as follows: ; in, is the color channel and , represents pixel coordinates, It is in the channel and pixel coordinates The pixel value of Represents the core RGB image In Location and Channel The pixel value of express In Location The weight value of For a 5 The matrix of 5 is expressed as: ; S32. Process the feature map output by the feature map processing subunit to obtain an output vector , specifically: For channels , ; in, The output vector The middle element, The feature map Height, The feature map Width; S33. Output vector output by the vector output subunit Processing is performed to obtain the probability distribution output, specifically: Calculate the median value , ; in, It corresponds to the category The weight matrix of For categories, is the output vector, yes dimensional bias vector; Calculating Probability , ; in, for The exponential function of is the independent variable, is the number of categories; Calculate the output vector The probability distribution of belonging to each class , ,……, , and select the category corresponding to the highest probability value exceeding the preset probability threshold as the judgment output vector The classification result belongs to which category.

4. The method for automatically identifying core type sampling according to claim 3, characterized in that: The step S2 specifically includes: S21. Cutting the effective part of the core image into a preset size; S22. Perform enhancement processing on the core image of the preset size cut by the image cutting subunit to obtain an RGB color image.

5. A computer program product, comprising a computer program, wherein the computer program is executed by a processor and is used to perform the method for automatically identifying core type sampling according to claim 3 or 4.

6. A computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program is executed by a processor to execute the automatic identification method for core type sampling according to claim 3 or 4.