A method, device, computer equipment and storage medium for determining crack width

By processing the crack light intensity image matrix, using calibration models and expressions, and combining gray scale, filtering and constraint coefficients, the accuracy problem of measuring three-dimensional crack width in the existing technology is solved, and the accurate measurement of crack width distribution is achieved. .

CN115619741BActive Publication Date: 2024-08-23CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211282218.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2024-08-23
Estimated Expiration
2042-10-19

Smart Images

  • Figure CN115619741B
    Figure CN115619741B
Patent Text Reader

Abstract

The present specification relates to the field of crack detection technology, and in particular to a crack width determination method, device, computer equipment and storage medium. The method includes obtaining a crack light intensity image matrix for a crack to be measured; and processing the crack light intensity image matrix using a calibration model to determine a target crack width distribution. Using the embodiments of the present specification, by obtaining a crack light intensity image matrix for a crack to be measured, and processing the crack light intensity image matrix using a calibration model to obtain a target crack width distribution, the target crack width distribution corresponding to the crack to be measured is determined based on the crack light intensity image matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the field of crack detection technology, and in particular to a crack width determination method, device, computer equipment and storage medium. Background Art

[0002] At present, when users need to know the width of a three-dimensional crack inside an object, the method often used is to cut the object along the direction perpendicular to the crack extension direction to obtain a two-dimensional section of the crack, measure the lengths of different scale points in the two-dimensional section, and obtain multiple length data. However, in the process of cutting the object, new cracks often appear in the object, so that the determined length data is not accurate enough. In addition, since the object has been cut along a certain diameter, the width data in the width direction perpendicular to the length direction cannot be measured.

[0003] How to determine the target crack width distribution corresponding to the crack based on the crack width image is a problem that needs to be solved urgently in the prior art. Summary of the invention

[0004] In order to solve the problems in the prior art, the embodiments of this specification provide a method, device, computer equipment and storage medium for determining crack width, which calibrates the crack light intensity image matrix to be measured extracted from the crack light intensity image to be measured to obtain the target crack width distribution, thereby realizing the determination of the target crack width distribution corresponding to the crack to be measured based on the crack light intensity image matrix to be measured.

[0005] In order to solve the above technical problems, the specific technical solutions of this specification are as follows:

[0006] On the one hand, an embodiment of the present specification provides a method for determining a crack width, comprising:

[0007] For the crack to be measured, obtaining a light intensity image matrix of the crack to be measured; and

[0008] The calibration model is used to process the crack light intensity image matrix to be measured to determine the target crack width distribution.

[0009] Furthermore, the method of processing the crack light intensity image matrix to be measured by using the calibration model to determine the target crack width distribution further includes:

[0010] Determining a standardized value according to the calibrated width image matrix and the crack light intensity image matrix to be measured; and

[0011] The target crack width distribution is obtained by processing the crack light intensity image matrix to be measured using the calibration expression and the standardized value.

[0012] Furthermore, the method further comprises: using the calibration expression and the standardized value to process the crack light intensity image matrix to be measured to obtain the target crack width distribution.

[0013] Using the calibration expression and the standardized value, the crack light intensity image matrix to be measured is processed to obtain a first width distribution;

[0014] Processing the first width distribution using a smoothing filter model to obtain a second width distribution; and

[0015] A target crack width distribution is determined according to the constraint coefficient and the second width distribution.

[0016] Furthermore, the step of determining the standardized value according to the calibrated width image matrix and the crack light intensity image matrix to be measured further includes:

[0017] Determining first data according to the calibration width pixel values ​​in the calibration width image matrix corresponding to the width being zero in the calibration width image;

[0018] Determine second data according to pixel values ​​of the crack image width to be measured corresponding to the width of zero in the crack image to be measured in the crack light intensity image matrix to be measured; and

[0019] A normalized value is determined based on the first data and the second data.

[0020] Furthermore, the method for determining the calibration expression further includes:

[0021] Perform grayscale and filtering processing on the calibration width image to obtain a calibration width image matrix;

[0022] A regression fitting is performed on the width value corresponding to each calibrated width pixel value in the calibrated width image matrix and the calibrated width image matrix to obtain a calibration expression.

[0023] Furthermore, for the crack to be measured, obtaining the light intensity image matrix of the crack to be measured further includes:

[0024] Pumping is performed on the crack to be measured and photographing a collection plane of the crack that is perpendicular to the width measurement direction to obtain a light intensity image of the crack to be measured; and

[0025] Grayscale and filtering processing is performed on the crack light intensity image to be measured to obtain a crack light intensity image matrix to be measured.

[0026] Furthermore, the method for determining the constraint coefficient further includes:

[0027] determining a pumping volume of the pumping;

[0028] Obtaining a predicted volume according to the second width distribution and a unit area corresponding to the crack image to be measured;

[0029] The quotient of the pumping volume and the predicted volume is determined as a constraint coefficient.

[0030] On the other hand, the embodiments of this specification also provide a crack width determination device, comprising:

[0031] An acquisition module, used for acquiring a light intensity image matrix of a crack to be measured for the crack to be measured; and

[0032] The processing module is used to process the crack light intensity image matrix to be measured by using the calibration model to determine the target crack width distribution.

[0033] On the other hand, an embodiment of the present specification further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0034] On the other hand, an embodiment of the present specification further provides a computer-readable storage medium on which computer instructions are stored, and the computer instructions implement the above method when executed by a processor.

[0035] By using the embodiments of this specification, by grayscale and filtering the calibrated width image, a calibrated width image matrix is ​​obtained, and a calibration expression is obtained by using a width value set and the calibrated width image matrix. When receiving the crack light intensity image to be measured, grayscale and filtering are performed on the crack light intensity image to be measured to obtain the crack light intensity image matrix to be measured. Then, the light intensity data in the crack light intensity image matrix to be measured is processed using the calibration expression to obtain the target crack width distribution corresponding to the crack light intensity image to be measured. Thus, the target crack width distribution corresponding to the crack to be measured is determined based on the crack light intensity image matrix to be measured. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 It is a schematic diagram of a system for implementing a method for determining crack width according to an embodiment of this specification;

[0038] Figure 2It is a flow chart of a method for determining crack width according to an embodiment of this specification;

[0039] Figure 3 Shown is a flow chart of a method for determining crack width according to another embodiment of the present specification;

[0040] Figure 4 Shown is a schematic diagram of a method for determining a calibration expression according to an embodiment of this specification;

[0041] Figure 5 Shown is a schematic diagram of a method for determining crack width according to another embodiment of the present specification;

[0042] Figure 6 The figure shows a schematic diagram of the structure of a crack width determination device according to an embodiment of the present specification;

[0043] Figure 7 This is a schematic diagram of the structure of a computer device according to an embodiment of this specification.

[0044] [Description of Reference Numerals]

[0045] 101. User terminal;

[0046] 102. Server;

[0047] 311. Calibrate width image;

[0048] 312. Calibrate the width image matrix;

[0049] 313. Multiple width values;

[0050] 314. Calibration expression;

[0051] 321. Light intensity image of crack to be measured;

[0052] 322. A plurality of crack matrices to be measured;

[0053] 323. The image matrix of the crack light intensity to be measured;

[0054] 324. first width distribution;

[0055] 325, second width distribution;

[0056] 326. Target crack width distribution;

[0057] 401. Calibrate and collect the plane image;

[0058] 402. Calibrate the width plane image;

[0059] 411. Determine the collection area;

[0060] 421, calibrate width area;

[0061] 501, grayscale filtered image;

[0062] 502. Standard crack intensity image;

[0063] 503, first width distribution;

[0064] 504, second width distribution;

[0065] 505. Target crack width distribution;

[0066] 610. Acquisition module;

[0067] 620, processing module;

[0068] 702. Computer equipment;

[0069] 704. Processing equipment;

[0070] 706. Storage resources;

[0071] 708, driving mechanism;

[0072] 710, input / output module;

[0073] 712. Input devices;

[0074] 714. Output devices;

[0075] 716. Presentation equipment;

[0076] 718. Graphical user interface;

[0077] 720, network interface;

[0078] 722. Communication link;

[0079] 724. Communication bus. DETAILED DESCRIPTION

[0080] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0081] It should be noted that the terms "first", "second", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this specification described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0082] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0083] like Figure 1 The schematic diagram of the implementation system of a crack width determination method according to an embodiment of the present specification is shown, which may include: a user terminal 101 and a server 102. The user terminal 101 and the server 102 communicate with each other through a network, which may include a local area network (LAN), a wide area network (WAN), the Internet or a combination thereof, and is connected to a website, a user device (such as a computing device) and a back-end system. The user may use the user terminal 101 to take a crack intensity image to be measured for the crack to be measured, and send the crack intensity image to be measured to the server 102. The server 102 may perform pixel processing on the crack intensity image to be measured obtained by the user terminal 101, determine a target crack width distribution corresponding to the crack intensity image to be measured, and then send the target crack width distribution to the user terminal 101 through the network. The user terminal 101 displays the target crack width distribution provided by the server 102, so that the user corresponding to the user terminal 101 can view it on the user terminal 101. Alternatively, the server 102 may be a node of a cloud computing system (not shown), or each server 102 may be a separate cloud computing system including a plurality of computers interconnected by a network and operating as a distributed processing system.

[0084] In an optional embodiment, the user terminal 101 may include electronic devices such as, but not limited to, smart phones, acquisition devices, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device may include, but not limited to, Android, IOS, Linux, Windows, etc.

[0085] In addition, it should be noted that Figure 1 What is shown is only an application environment provided by the present disclosure. In actual application, multiple user terminals 101 may also be included, and this specification does not limit this.

[0086] like Figure 2 The flowchart of a crack width determination method in an embodiment of the present specification is shown. The crack width determination method is described in this figure, but it may include more or fewer operation steps based on conventional or non-creative work. The order of steps listed in the embodiment is only one way of executing the steps among many steps, and does not represent the only execution order. When the actual system or device product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings or in parallel. Specifically, Figure 2 As shown, the method may include:

[0087] S210, obtaining a light intensity image matrix of the crack to be measured;

[0088] S220, using the calibration model to process the crack light intensity image matrix to be measured, and determine the target crack width distribution.

[0089] By performing grayscale and filtering processing on the calibrated width image, a calibrated width image matrix is ​​obtained, and a calibration expression is obtained using a width value set and the calibrated width image matrix. When receiving the crack light intensity image to be measured, grayscale and filtering processing is performed on the crack light intensity image to be measured to obtain the crack light intensity image matrix to be measured. Then, the light intensity data in the crack light intensity image matrix to be measured is processed using the calibration expression to obtain the target crack width distribution corresponding to the crack light intensity image to be measured. Thus, the target crack width distribution corresponding to the crack to be measured is determined based on the crack light intensity image matrix to be measured. Furthermore, it is conducive to accelerating the study of the crack propagation mechanism, providing a theoretical basis for on-site crack prediction, and optimizing construction parameters.

[0090] According to an embodiment of the present specification, when a user wants to perform a three-dimensional detection on a crack, a two-dimensional cross-sectional image containing the crack is taken for the crack to be detected, and the two-dimensional cross-sectional image is used as the crack intensity image to be measured. The crack intensity image to be measured is a light intensity image of a collection plane perpendicular to the width measurement direction. For example, the two-dimensional cross-sectional image containing the crack can be taken for the crack to be detected, by cutting the object containing the crack along a certain diameter of the crack to obtain a cross section, and obtaining a corresponding two-dimensional cross-sectional image for the cross section. For example, the two-dimensional cross-sectional image containing the crack can be taken for the crack to be detected, by using a scanning device to extract a two-dimensional cross-sectional image corresponding to a certain diameter of the object containing the crack along the crack. For example, the two-dimensional cross-sectional image containing the crack can be taken for the crack to be detected, by setting a parallel light source parallel to the object outside the object containing the crack, setting a curtain on the other side of the parallel light source with the object as the center, and taking the imaged image on the curtain as the two-dimensional cross-sectional image, the light source is a light that can penetrate the object and can present the direction of the crack on the curtain.

[0091] After determining the crack light intensity image to be measured, for example, the crack light intensity image to be measured can be subjected to grayscale processing to obtain a crack light intensity image matrix to be measured. The grayscale processing can be, for example, processing the crack light intensity image to be measured using any model that can convert the image to be processed into a grayscale image. After the grayscale processing, a grayscale image is obtained, and pixel values ​​of the grayscale image are extracted to obtain a crack light intensity image matrix to be measured.

[0092] After determining the crack intensity image to be measured, for example, the crack intensity image to be measured can also be grayscaled and filtered to obtain a crack intensity image matrix to be measured. The grayscale processing method described above is used to perform grayscale processing on the crack intensity image to be measured to obtain a grayscale image. Then, filtering is performed on the grayscale image to obtain a grayscale filtered image, and the pixel values ​​of the grayscale filtered image are extracted to obtain a crack intensity image matrix to be measured. The filtering process can be, for example, any model that can process points on the image to be processed that have poor width and pixel value fit due to noise to process the image to be processed.

[0093] After determining the crack light intensity image matrix to be measured, the calibration model is used to process the pixel value of each crack light intensity to be measured in the crack light intensity image matrix to obtain multiple width values, and the target crack width distribution is obtained based on the multiple width values. The calibration model is a function mapping relationship between pixel values ​​and width values.

[0094] The calibration model may be obtained by fitting a calibration width image and a width value corresponding to each pixel value in the calibration width image, for example. The calibration width image may include a light intensity image of a calibration acquisition plane perpendicular to the calibration width measurement direction. The target crack width distribution may be, for example, a width matrix composed of a plurality of width values, each width value in the width matrix corresponding to each pixel value of the crack image width to be measured in the crack intensity image matrix to be measured. The target crack width distribution may also be, for example, an image of the crack in a width direction perpendicular to the width direction determined based on a plurality of width values. The target crack width distribution may also be, for example, a three-dimensional image of the crack, the width value of the crack in the width direction being determined based on the crack intensity image to be measured.

[0095] According to another embodiment of the present specification, the crack light intensity image matrix to be measured is processed using a calibration model to determine a target crack width distribution, including: determining a standardized value based on the calibration width image matrix and the crack light intensity image matrix to be measured; and processing the crack light intensity image matrix to be measured using a calibration expression and the standardized value to obtain a target crack width distribution.

[0096] The calibration width image matrix is ​​a matrix determined based on the pixel values ​​in the calibration width image. Since the determination criteria of the pixel values ​​in the crack light intensity image matrix to be measured and the calibration width image matrix may be different, it is necessary to calibrate the crack light intensity image matrix to be measured so that the determination criteria of the pixel values ​​in the crack light intensity image matrix to be measured and the calibration width image matrix are the same, so as to improve the accuracy of the measured width value. The crack light intensity image matrix to be measured is corrected using a standardized value. The method for determining the standardized value may include, for example, determining first data according to the calibration width pixel value corresponding to the width value of the target value in the calibration width image matrix, determining second data according to the crack light intensity pixel value to be measured corresponding to the target value in the crack light intensity image matrix to be measured, and determining a standardized value according to the first data and the second data. For example, the quotient of the first data and the second data may be used as the standardized value, or the product of the quotient of the first data and the second data and a preset value may be used as the standardized value. The target value is, for example, a preset value. For example, it is determined that the calibrated width pixel value corresponding to the width value of 1 is 230, and the width pixel value of the crack image to be measured corresponding to the width value of 1 is 175, then the first data is 230, the second data is 175, and the standardized value is 230 / 175.

[0097] After determining the standardized value, the product of the standardized value and the crack light intensity image matrix to be measured is calculated to obtain a standard crack light intensity image matrix. Each standard crack light intensity pixel value in the standard crack light intensity image matrix is ​​processed using a calibration expression to obtain multiple width values, and the target crack width distribution is obtained based on the multiple width values.

[0098] According to another embodiment of the present specification, determining a standardized value based on a calibrated width image matrix and a crack light intensity image matrix to be measured includes: determining first data based on calibrated width pixel values ​​in the calibrated width image matrix corresponding to a width of zero in the calibrated width image; determining second data based on crack image width pixel values ​​in the crack light intensity image matrix to be measured corresponding to a width of zero in the crack image to be measured; and determining a standardized value based on the first data and the second data.

[0099] According to another embodiment of the present specification, a calibration width pixel value is determined according to a plurality of first pixel values ​​in the calibration width image matrix corresponding to a width of zero in the calibration width image; and then the first data is determined according to the calibration width pixel value. For example, the average value of the plurality of first pixel values ​​can be used as the calibration width pixel value.

[0100] According to another embodiment of the present specification, a pixel value of the width of the crack image to be measured is determined according to a plurality of second pixel values ​​in the crack intensity image matrix to be measured corresponding to a width of zero in the crack image to be measured; and then the second data is determined according to the pixel value of the width of the crack image to be measured. For example, the average value of the plurality of second pixel values ​​can be used as the pixel value of the width of the crack image to be measured.

[0101] According to another embodiment of the present specification, the measured crack light intensity image matrix is ​​processed using the calibration expression and the standardized numerical value to obtain the target crack width distribution, including: using the calibration expression and the standardized numerical value to process the measured crack light intensity image matrix to obtain a first width distribution; and determining the target crack width distribution based on the constraint coefficient and the first width distribution.

[0102] The product of the standardized value and the crack intensity image matrix to be measured is calculated to obtain a standard crack intensity image matrix. Each standard crack intensity pixel value in the standard crack intensity image matrix is ​​processed using a calibration expression to obtain a plurality of width values, and the plurality of width values ​​are arranged according to the position of the crack image width pixel value to be measured in the crack intensity image matrix to be measured, to obtain a first width distribution. The first width distribution may, for example, be a width matrix composed of a plurality of width values, each width value in the width matrix corresponding to each crack image width pixel value to be measured in the crack intensity image matrix to be measured. The first width distribution may, for example, also be an image of the width direction of the crack perpendicular to the width direction determined based on a plurality of width values.

[0103] After determining the first width distribution, in order to reduce the error between each width value in the first width distribution and the actual width data, each width value is processed using a constraint coefficient to improve the accuracy of the measured width value. For example, the product of the constraint coefficient and the first width distribution is calculated to obtain a target crack width distribution. The constraint coefficient may be, for example, a preset value, such as 0.859.

[0104] Figure 3 Shown is a flow chart of a crack width determination method according to another embodiment of the present specification.

[0105] According to another embodiment of the present specification, the measured crack light intensity image matrix is ​​processed using calibration expressions and standardized values ​​to obtain a target crack width distribution, including: using calibration expressions and standardized values ​​to process the measured crack light intensity image matrix to obtain a first width distribution; using a smoothing filter model to process the first width distribution to obtain a second width distribution; and determining the target crack width distribution based on the constraint coefficient and the second width distribution.

[0106] The product of the standardized value and the crack intensity image matrix to be measured is calculated to obtain a standard crack intensity image matrix. Each standard crack intensity pixel value in the standard crack intensity image matrix is ​​processed using a calibration expression to obtain a plurality of width values, and a first width distribution is obtained based on the plurality of width values. Since the plurality of width values ​​are determined based on each standard crack intensity pixel value, each two standard crack intensity pixel values ​​are discontinuous, but the width value needs to be a continuous value, so it is necessary to perform a smooth filtering process on the obtained plurality of width values ​​to obtain a continuous width distribution, and use the continuous width distribution as the second width distribution. The smooth filtering process can, for example, be to process the first width distribution using any model that can convert discontinuous data into continuous data to obtain a second width distribution. The smooth filtering model can, for example, be a Kalman filter model. The second width distribution can, for example, be a predicted width matrix composed of a plurality of predicted width values, and each predicted width value in the predicted width matrix corresponds to each width value in the first width distribution. The second width distribution can, for example, also be an image of the width direction of the crack perpendicular to the width direction determined based on a plurality of predicted width values.

[0107] The smoothing filter model may include the following formula, for example.

[0108] For each width value in the first width distribution, smooth filtering is performed using formula (1).

[0109]

[0110] in, is the predicted width value in the second width distribution for the nth point, is the predicted width value in the second width distribution for the n-1th point, K n Iterative calculation by formula (2), formula (3) and formula (4) and Z n is the width value in the first width distribution for the nth point.

[0111] K n =Pminus(n) / (Pminus(n)+R) Formula (2)

[0112] Pminus(n)=P(n-1)+Q K Formula (3)

[0113] P(n-1)=(1-K n-1 ×Pminus(n-1)) Formula (4)

[0114] Among them, Pminus(n) is the estimated variance of the nth point, R is the measured variance of the nth point, P(n-1) is the optimal estimated variance of the n-1th point, Q Kis the process variance, and Pminus(n-1) is the estimated variance of the n-1th point. When n is 0, n-1 is set to 0.

[0115] After processing each width value in the first width distribution using the smoothing filter model, a plurality of predicted width values ​​in the second width distribution are obtained, and then the second width distribution is obtained. The constraint coefficient is multiplied by the second width distribution to obtain the target crack width distribution.

[0116] According to another embodiment of the present specification, for the calibration object, a calibration width image 311 is obtained, the pixel value of each point in the calibration width image 311 is extracted to obtain a pixel matrix, and for the pixel matrix, the pixel values ​​of each part of R, G, and B are respectively extracted to determine the calibration crack matrix for each part to obtain multiple calibration crack matrices. Grayscale processing and filtering processing are performed on the multiple calibration crack matrices to obtain a calibration width image matrix 312. Regression fitting is performed on each data in the preset multiple width values ​​313 and the calibration width image matrix 312 to obtain a calibration expression 314. Grayscale processing, for example, can be performed by weighting each calibration crack matrix in the multiple calibration crack matrices using weight coefficients corresponding to R, G, and B, respectively, to obtain a first grayscale matrix. Then, for the first grayscale matrix, a mean filter is established using a 5×5 window for filtering processing to obtain a calibration width image matrix 312.

[0117] The weight coefficients corresponding to R, G, and B can be determined, for example, based on the degree of change of the pixel values ​​in each of the multiple calibrated crack matrices, so as to achieve the effect of amplifying the pixel value difference. For example, if the difference between each two pixel values ​​in the multiple pixel values ​​in two calibrated crack matrices is greater than a preset threshold value, the weight coefficients corresponding to the two calibrated crack matrices are determined to be 0.5, and the weight coefficient corresponding to another calibrated crack matrix in the three calibrated crack matrices is 0. If the difference between each two pixel values ​​in the multiple pixel values ​​in one calibrated crack matrix is ​​greater than a preset threshold value, the weight coefficient corresponding to the calibrated crack matrix is ​​determined to be 1, and the weight coefficients corresponding to the other two calibrated crack matrices in the three calibrated crack matrices are 0.

[0118] When the user wants to perform three-dimensional detection on the crack, the crack intensity image 321 to be measured is sent to the server through the user terminal. After receiving the crack intensity image 321 to be measured, the server extracts the pixel values ​​of the R, G, and B parts of the crack intensity image 321 to be measured, determines the crack matrix to be measured for each part, and obtains multiple crack matrices 322 to be measured. Using the weight coefficients corresponding to R, G, and B, each of the multiple crack matrices 322 to be measured is weighted to obtain a second gray matrix. Then, the second gray matrix is ​​filtered to obtain a crack intensity image matrix 323 to be measured. The weight coefficients corresponding to R, G, and B, for example, can be the weight coefficients corresponding to R, G, and B obtained in the calibration width image processing.

[0119] After determining the crack light intensity image matrix 323 to be measured, each pixel value of the width to be measured in the crack light intensity image matrix 323 to be measured is substituted into the calibration expression 314 to obtain multiple width values. According to the multiple width values, a first width distribution 324 is obtained. A smooth filtering model is used to perform smooth filtering processing on the first width distribution 324 to obtain a second width distribution 325. Then, the constraint coefficient is multiplied by the second width distribution 325 to obtain a target crack width distribution 326.

[0120] Figure 4 Shown is a schematic diagram of a method for determining a calibration expression according to an embodiment of this specification.

[0121] According to another embodiment of the present specification, a method for determining a calibration expression includes: determining a calibration width image matrix for a calibration width image, performing regression fitting on the width value corresponding to each calibration width pixel value in the calibration width image matrix and the calibration width image matrix to obtain a calibration expression.

[0122] Determine the width value corresponding to each calibrated width pixel value in the calibrated width image matrix from a plurality of predetermined width values, and obtain a plurality of width sets for regression fitting, each width set including a calibrated width pixel value and a width value corresponding to the calibrated width pixel value. Perform regression fitting using the plurality of width sets to obtain a calibration expression as shown in formula (5).

[0123] W=C1X 3 +C2X 2 +C3X+C4 formula (5)

[0124] Wherein, W is the width value, X is the pixel value of the crack light intensity to be measured, C1, C2, C3 and C4 are calibration coefficients respectively, and the calibration coefficients can be determined according to the least square method, for example.

[0125] According to another embodiment of the present specification, since the fluorescent fracturing fluid absorbs light of a specific wavelength and emits fluorescence of a specific wavelength, and the light intensity absorbed by the fluorescent fracturing fluid is positively correlated with the volume of the fluorescent fracturing fluid per unit illumination area, i.e., the crack width, the fluorescent fracturing fluid can be pumped into the cracks of the calibration object to determine the calibration expression based on the calibration width image and multiple width values.

[0126] The calibration object can be, for example, a transparent cuboid with a standard wedge-shaped crack inside. The wedge-shaped crack contains complete, non-overlapping cracks, and the wedge-shaped crack itself and the materials around the wedge-shaped crack need to be completely transparent so as not to affect the normal passage of light. The wedge-shaped crack should be filled with a homogeneous, continuous fluid containing fluorescent dye, so that the wider the wedge-shaped crack, the larger the volume of fluid contained in the wedge-shaped crack. A parallel light source is set on one side of the calibration object, and the light of the parallel light source should be as perpendicular to the boundary of the wedge-shaped crack as possible and in the same direction as the light intensity direction of the wedge-shaped crack. The user terminal, the crack, and the parallel light source are in the same straight line, and the light emitted by the parallel light source passes through the wedge-shaped crack and is captured by the user terminal to obtain a light intensity image of the wedge-shaped crack, and the light intensity image is used as the calibration width image, and the process is controlled to have no other light sources.

[0127] The front view of the standard wedge-shaped crack can be shown as the calibration acquisition plane image 401, and the side view of the standard crack can be shown as the calibration width plane image 402. The calibration acquisition plane image 401 includes multiple calibration acquisition areas. For the calibration acquisition area 411 in the calibration acquisition plane image 401, multiple pixel values ​​of calibration width are determined. The calibration acquisition area 411 corresponds to the calibration width area 421. The calibration width area 421 includes multiple width curves, and the width curves are parallel to each other, and each width curve corresponds to a width value. Each pixel value of the calibration width in the calibration acquisition area 411 corresponds to a width value in the calibration width area 421. And the pixel value of each width in the calibration acquisition area 411 is combined with the corresponding width value into a width set to obtain multiple width sets. Similarly, each width pixel value in the wedge-shaped crack area is processed in this way to obtain multiple width sets for regression fitting. Regression fitting is performed using multiple width sets to obtain a calibration expression.

[0128] Figure 5 Shown is a schematic diagram of a method for determining crack width according to another embodiment of the present specification.

[0129] According to another embodiment of the present specification, for the cracks to be measured, obtaining the light intensity image matrix of the cracks to be measured includes: pumping the cracks to be measured and photographing the acquisition plane of the cracks that is perpendicular to the width measurement direction to obtain the light intensity image of the cracks to be measured; and performing grayscale and filtering processing on the light intensity image of the cracks to be measured to obtain the light intensity image matrix of the cracks to be measured.

[0130] For the same reason as pumping the fluorescent fracturing fluid for the calibrated article, the fluorescent fracturing fluid is pumped into the fracture to be measured, and an acquisition plane perpendicular to the width measurement direction of the fracture is obtained, and a corresponding light intensity image of the fracture to be measured is obtained. For the light intensity image of the fracture to be measured, the pixel values of each part of R, G, and B are extracted respectively, a matrix of the fracture to be measured for each part is determined, and multiple matrices of the fracture to be measured are obtained. Using the weight coefficients corresponding to R, G, and B respectively, each matrix of the fracture to be measured in the multiple matrices of the fracture to be measured is weighted to obtain a second gray matrix. Then, filtering processing is performed on the second gray matrix to obtain a light intensity image matrix of the fracture to be measured.

[0131] According to another embodiment of the present specification, the method for determining the constraint coefficient includes: determining the pumping volume; obtaining the predicted volume according to the second width distribution and the unit area corresponding to the image of the fracture to be measured; and determining the quotient of the pumping volume and the predicted volume as the constraint coefficient.

[0132] The calculation formula of the pumping volume is shown in the following formula (6), and the calculation formula of the predicted volume is shown in the following formula (7).

[0133] V P = Q×t Formula (6)

[0134]

[0135] Wherein, V P is the pumping volume, Q is the pumping flow rate, t is the pumping duration, V f is the predicted volume, W 2-i is the i-th predicted width value in the second width distribution, S i is the area of the pixel point corresponding to the i-th predicted width value, 1 < i ≤ m, and m is an integer greater than 1.

[0136] After the server receives the light intensity image of the fracture to be measured, gray scale and filtering processing are performed on the light intensity image of the fracture to be measured to obtain a gray scale filtered image 501. After determining the gray scale filtered image 501, normalization processing corresponding to the gray scale filtered image 501 is performed using the normalized value to obtain a light intensity image matrix of the fracture to be measured and a standard light intensity image 502 of the fracture corresponding to the light intensity image matrix of the fracture to be measured.

[0137] Using the calibration expression, width conversion is performed for each pixel value of the crack light intensity to be measured in the crack light intensity image matrix to be measured, and multiple width values ​​and a first width distribution 503 corresponding to the width value are obtained. Then, a smooth filtering model is used to perform smooth filtering on each width value in the first width distribution 503 to obtain a second width distribution 504. After determining the second width distribution 504, the constraint coefficient is used to constrain the second width distribution 504 to obtain a target crack width distribution 505.

[0138] Figure 6 The figure shows a schematic diagram of the structure of a crack width determination device according to an embodiment of the present specification. Figure 6 As shown, including,

[0139] An acquisition module 610 is used to acquire a light intensity image matrix of a crack to be measured for the crack to be measured; and

[0140] The processing module 620 is used to process the crack light intensity image matrix to be measured using the calibration model to determine the target crack width distribution.

[0141] Since the principle of solving the problem by the above device is similar to that of the above method, the implementation of the above device can refer to the implementation of the above method, and the repeated parts will not be repeated.

[0142] like Figure 7 The structure diagram of a computer device in an embodiment of the present specification is shown. The apparatus in the present specification can be a computer device in the present embodiment, and the method of the present specification is executed. The computer device 702 may include one or more processing devices 704, such as one or more central processing units (CPUs), and each processing unit may implement one or more hardware threads. The computer device 702 may also include any storage resource 706, which is used to store any kind of information such as code, settings, data, etc. Non-limitingly, for example, the storage resource 706 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any storage resource can use any technology to store information. Further, any storage resource can provide volatile or non-volatile retention of information. Further, any storage resource can represent a fixed or removable component of the computer device 702. In one case, when the processing device 704 executes an associated instruction stored in any storage resource or a combination of storage resources, the computer device 702 can perform any operation of the associated instruction. The computer device 702 also includes one or more drive mechanisms 708 for interacting with any storage resources, such as a hard disk drive mechanism, an optical disk drive mechanism, and the like.

[0143] The computer device 702 may also include an input / output module 710 (I / O) for receiving various inputs (via input devices 712) and for providing various outputs (via output devices 714). A specific output mechanism may include a presentation device 716 and an associated graphical user interface (GUI) 718. In other embodiments, the input / output module 710 (I / O), the input device 712, and the output device 714 may not be included, and the computer device 702 may be used as a computer device in a network. The computer device 702 may also include one or more network interfaces 720 for exchanging data with other devices via one or more communication links 722. One or more communication buses 724 couple the components described above together.

[0144] The communication link 722 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 722 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.

[0145] The embodiments of the present specification also provide a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above method is implemented.

[0146] The embodiments of this specification also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the above method is implemented.

[0147] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0148] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0149] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0151] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of this specification. It should be understood that the above are only specific embodiments of this specification and are not intended to limit the scope of protection of this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A method for determining crack width, characterized in that: include: For the crack to be measured, a light intensity image matrix of the crack to be measured is obtained, wherein the light intensity image matrix of the crack to be measured includes a light intensity image matrix of a collection plane perpendicular to the width measurement direction, wherein the light intensity image of the crack to be measured corresponding to the light intensity image matrix of the crack to be measured is an image obtained by pumping the crack to be measured and photographing the collection plane of the crack to be measured; and The calibration model is used to process the crack intensity image matrix to determine the target crack width distribution. The calibration model includes a model obtained by fitting a calibration width image and a width value corresponding to each pixel value in the calibration width image. The method for obtaining the calibration width image includes: setting a parallel light source on one side of a transparent calibration object; and capturing a light intensity image of light emitted by the parallel light source passing through a standard wedge-shaped crack, and using the light intensity image as the calibration width image.

2. The method according to claim 1, characterized in that: The process of processing the crack light intensity image matrix to be measured by using the calibration model to determine the target crack width distribution includes: Determining a standardized value according to the calibrated width image matrix and the crack light intensity image matrix to be measured; and The target crack width distribution is obtained by processing the crack light intensity image matrix to be measured using the calibration expression and the standardized value. The method for determining the standardized value includes determining first data according to the calibrated width pixel value corresponding to the width value being the target value in the calibrated width image matrix; determining second data according to the crack light intensity pixel value to be measured corresponding to the target value in the crack light intensity image matrix to be measured; and determining the standardized value according to the first data and the second data. Among them, the method for determining the calibration expression includes: obtaining a calibration width image matrix for the calibration width image; and performing regression fitting on the width value corresponding to each calibration width pixel value in the calibration width image matrix and the calibration width image matrix to determine the calibration expression.

3. The method according to claim 2, characterized in that The method of processing the crack light intensity image matrix to be measured by using the calibration expression and the standardized value to obtain the target crack width distribution includes: Using the calibration expression and the standardized value, the crack light intensity image matrix to be measured is processed to obtain a first width distribution; Processing the first width distribution using a smoothing filter model to obtain a second width distribution; and A target crack width distribution is determined according to the constraint coefficient and the second width distribution.

4. The method according to claim 2, characterized in that: Determining the standardized value according to the calibrated width image matrix and the crack light intensity image matrix to be measured comprises: Determining first data according to the calibration width pixel values ​​in the calibration width image matrix corresponding to the width being zero in the calibration width image; Determine second data according to pixel values ​​of the crack image width to be measured corresponding to the width of zero in the crack image to be measured in the crack light intensity image matrix to be measured; and A normalized value is determined based on the first data and the second data.

5. The method according to claim 3, characterized in that: The method for determining the calibration expression includes: Performing grayscale and filtering processing on the calibration width image to obtain a calibration width image matrix; and A regression fitting is performed on the width value corresponding to each calibrated width pixel value in the calibrated width image matrix and the calibrated width image matrix to obtain a calibration expression.

6. The method according to claim 3, characterized in that: The step of obtaining a light intensity image matrix of a crack to be measured comprises: Pumping is performed on the crack to be measured and photographing a collection plane of the crack that is perpendicular to the width measurement direction to obtain a light intensity image of the crack to be measured; and Grayscale and filtering processing is performed on the crack light intensity image to be measured to obtain a crack light intensity image matrix to be measured.

7. The method according to claim 6, characterized in that The method for determining the constraint coefficient includes: determining a pumping volume of the pumping; Obtaining a predicted volume according to the second width distribution and a unit area corresponding to the crack image to be measured; and The quotient of the pumping volume and the predicted volume is determined as a constraint coefficient.

8. A crack width determination device, characterized in that: include, an acquisition module, for acquiring a light intensity image matrix of a crack to be measured, wherein the light intensity image matrix of the crack to be measured includes a light intensity image matrix of a collection plane perpendicular to a width measurement direction, wherein a light intensity image of the crack to be measured corresponding to the light intensity image matrix of the crack to be measured is an image obtained by pumping the crack to be measured and photographing the collection plane of the crack to be measured; and A processing module is used to process the crack light intensity image matrix to be measured using a calibration model to determine the target crack width distribution. The calibration model includes a model obtained by fitting a calibration width image and a width value corresponding to each pixel value in the calibration width image. Wherein, obtaining the calibration width image includes: setting a parallel light source on one side of a transparent calibration object; and capturing a light intensity image of light emitted by the parallel light source passing through a standard wedge-shaped crack, and using the light intensity image as the calibration width image.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of claims 1 to 7 is executed.