Electric imaging logging width invalid image restoration method and system, terminal and medium

By acquiring and processing dynamic/static maps, two-dimensional curves and plate azimuth curves in an electrical imaging logger, the failed plate image data index is calculated and repaired, the repair problem of wide-frame invalid images in complex well conditions is solved, and the reliability of geological phenomenon identification and feature parameter calculation is improved.

CN120013813APending Publication Date: 2025-05-16CHINA NAT PETROLEUM CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311524136.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2025-05-16

Smart Images

  • Figure CN120013813A_ABST
    Figure CN120013813A_ABST
Patent Text Reader

Abstract

The invention discloses an electric imaging logging wide invalid image restoration method and system, a terminal and a medium, and the method comprises the steps: obtaining an electric imaging logging dynamic / static graph two-dimensional curve, a first polar plate orientation curve P1AZ and a failed polar plate number BI, and finding a failed polar plate image according to a polar plate region and an invalid value region of the first polar plate orientation curve P1AZ; replacing the data of the invalid pole plate image with an invalid value, enabling the invalid pole plate image to be replaced with a blank strip, carrying out the full-borehole image restoration of the invalid pole plate image replaced with the invalid value through an image restoration algorithm, obtaining a full-borehole restoration image, and carrying out the recognition of the invalid pole plate image according to the obtained invalid pole plate image data index. And extracting image data after the failed polar plate is repaired from the full-borehole repair image, and replacing the image data of the failed polar plate in the original dynamic / static image with the image data after the failed polar plate is repaired to finish the repair of the electric imaging logging width failure image. The problem of restoration of a wide invalid image caused by pole plate failure or incompact pole plate pushing is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of petroleum exploration well logging data processing, and in particular to a method, system, terminal and medium for repairing wide-width invalid images of electric imaging well logging. Background Art

[0002] The probe of the electrical imaging logging instrument is composed of multiple plates, each of which contains multiple button electrodes. Taking the electrical imaging logging instrument MCI of CNPC Logging as an example, it is composed of 6 plates, each of which contains 24 button electrodes. During the logging process, the plates are pushed against the well wall to collect the resistivity values ​​near the well wall, and the two-dimensional image of the well is obtained by processing the scale. The electrical imaging logging map can intuitively and clearly reflect the well wall structure and characteristics, and has become an indispensable technical means for logging evaluation of complex reservoirs. In most cases, the electrical imaging logging instrument cannot achieve full coverage of the well wall measurement, and the distance between adjacent plates and the width of different plates in the two-dimensional dynamic and static images generated by the projection are different with the well conditions and the centering of the instrument during measurement. Under complex well conditions, during the electrical imaging logging acquisition process, sometimes the plate pushes against the plate unrealistically, or some button electrodes on the plate fail, or even the entire plate fails. The above situations will lead to invalid image strips in the two-dimensional dynamic and static images of the electrical imaging logging, which is not conducive to the subsequent identification of geological phenomena and the quantitative calculation of characteristic parameters.

[0003] At present, the identification of failed button electrodes based on histograms and common interpolation algorithms can better solve the problem of repairing narrow invalid images caused by the failure of some button electrodes on the electrode plate. For the repair of wide invalid images caused by the false push of the electrode plate or the failure of the entire electrode plate, the existing technical solution is based on the valid electrode plate data on the adjacent sides of the failed electrode plate. Assuming that the distance between adjacent electrodes is 25 data points, the electrode plate is set in the middle as a fixed width of 25 points to be restored, forming an image to be repaired with a total width of 75 points. The image data of the failed electrode plate is reconstructed using a variety of image repair methods, and finally projected to generate dynamic and static images (Hu Jingwei, 2020). The existing solution assumes that the interval between adjacent electrodes and the electrode plate width are fixed. In a vertical well with good borehole conditions and when the instrument is measured in the center, the contact relationship between the instrument electrode plate and the well wall is simple. This simplified model can effectively express the contact relationship between the electrode plate and the well wall of the electrical imaging instrument; but under complex borehole conditions, when the instrument is measured eccentrically, the contact relationship between the electrode plate and the well wall is very complex. This simplified model cannot effectively reflect the contact relationship between the electrode plate and the well wall and the relationship between the electrode plates. At this time, geological bodies such as inclined strata or high-angle cracks in the plate image repaired based on the simplified model will be seriously distorted, which will interfere with the subsequent identification of geological phenomena and the quantitative calculation of characteristic parameters. Summary of the invention

[0004] In order to overcome the defects of the above-mentioned prior art, the purpose of the present invention is to provide a method, system, terminal and medium for repairing wide-width invalid images of electrical imaging logging, so as to solve the technical problem of wide-width invalid images that are easily generated due to plate failure or inaccurate plate pushing under complex well conditions.

[0005] The present invention is achieved through the following technical solutions:

[0006] A method for repairing an invalid wide-width image of electrical imaging logging comprises the following steps:

[0007] Step 1: Get dynamic / static electrical imaging logging Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0008] Step 2: Use the acquired electrical imaging logging dynamic / static Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0009] Step 3, replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0010] Step 4, performing full borehole image repair on the failed plate image replaced with an invalid value by an image repair algorithm to obtain a full borehole repair image;

[0011] Step 5, extracting image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0012] Step 6: Replace the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, and complete the repair of the wide-width failed image of electrical imaging logging.

[0013] Preferably, in step 1, the electrical imaging logging data of the failed plate is preprocessed in the dynamic / static diagram containing the failed plate data and a dynamic / static diagram is generated. Figure 2 Dimension curve.

[0014] Preferably, in step 2, the obtained electrical imaging logging dynamic / static Figure 2 The specific process of calculating the failed plate image data index based on the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI is as follows:

[0015] Set dynamic / static Figure 2 The dimensional curve has N data points in the horizontal direction, and each point represents a direction of 360 / N degrees; the middle position of the No. 1 plate is in the dynamic / static Figure 2The index in the dimensional curve is int(P1AZ / (360 / N)); the blank strip between the two plates in the dynamic / static diagram is set to an invalid value of -32767, the plate area is non-negative data, and the index range of the failed plate image data is calculated in sequence from the non-negative data of plate No. 1 to the invalid value.

[0016] Preferably, in step 3, the obtained failed plate image data index replaces the data of the failed plate image with an invalid value, so that the failed plate image is replaced with a blank strip.

[0017] Preferably, in step 4, the specific process of performing full borehole image repair on the failed plate image replaced with an invalid value by an image repair algorithm to obtain a full borehole repair image is as follows:

[0018] Assume Ω is the area to be repaired in the structural image, δΩ is the boundary of the area to be repaired, and p is any point on the boundary. In the known area of ​​the image around point p, a neighborhood B(ε) with a sufficiently small ε as the scale is selected. Given the pixel value I(q) of point q and the gradient value of q, the first-order estimation formula of point p is obtained by the following formula:

[0019]

[0020] Among them, the pixel value of point p can be calculated by the following formula:

[0021]

[0022] Among them, w(p,q) is the weight function;

[0023] Iterate the first-order estimation formula of point p and the pixel value formula of point p, and gradually shrink the boundary of the area to be repaired until the entire area is repaired.

[0024] Furthermore, texture restoration is performed on the restored full borehole restoration image. The restoration process is as follows:

[0025] A set of filters is used to classify the various patterns of the training image containing the main features. Based on the pattern classification, the area to be simulated is simulated. During the simulation process, the filter is used to obtain the filter score of the data event in the area to be simulated, and the pattern closest to the data event in the training image is found. Then, the pattern is pasted into the area to be simulated to complete the image restoration of the blank area.

[0026] Furthermore, three types of filters are used to process the training images, including two average filters, two gradient filters and two curvature filters. Six filters are used to process the same training image to obtain different filter scores, which reflect the image features from different angles. When the filter scores of two patterns in the image are close, the images of the two patterns are similar.

[0027] An electrical imaging logging wide invalid image repair system, comprising:

[0028] Acquisition module, used to obtain dynamic / static electrical imaging logging Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0029] Image processing module, used to obtain dynamic / static electrical imaging logging Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0030] A first data replacement module, used for replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0031] An image repair module is used to extract image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0032] The second data replacement module replaces the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, so as to complete the repair of the wide-width failed image of the electrical imaging logging.

[0033] A mobile terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for repairing wide-width invalid images of electrical imaging logging are implemented as described above.

[0034] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for repairing a wide-width invalid image of electrical imaging logging are implemented as described above.

[0035] Compared with the prior art, the present invention has the following beneficial technical effects:

[0036] The present invention provides a method for repairing a wide-width invalid image of electrical imaging logging, by obtaining dynamic / static Figure 2The image of the failed plate is found according to the plate area and invalid value area of ​​the plate azimuth curve P1AZ, and the data of the failed plate image is replaced with an invalid value, so that the failed plate image is replaced with a blank strip. The failed plate image replaced with the invalid value is repaired in the whole borehole by the image repair algorithm to obtain the whole borehole repair image. Then, according to the obtained failed plate image data index, the image data of the repaired failed plate is extracted from the whole borehole repair image, and the image data of the failed plate in the original dynamic / static image is replaced with the image data of the repaired failed plate to complete the repair of the wide-width failed image of the electrical imaging logging, which effectively solves the problem of repairing the wide-width invalid image caused by plate failure or false plate pushing under complex well conditions. The repaired dynamic and static images have good consistency in overall vision, and have good continuity in image areas such as inclined formations and high-angle fractures, which improves the reliability of geological phenomenon recognition and characteristic parameter calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of the method for repairing the wide-width invalid image of electrical imaging logging in the present invention;

[0038] Figure 2 A schematic diagram of replacing invalid plate data with invalid value data in an embodiment of the present invention;

[0039] Figure 3 This is a result diagram of the output of the image repair of the invalid plate of the electrical imaging logging in the embodiment of the present invention;

[0040] Figure 4 Schematic diagram of structural image restoration in an embodiment of the present invention;

[0041] Figure 5 It is a filter used by the texture image restoration algorithm in the embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0043] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0044] The purpose of the present invention is to provide a method, system, terminal and medium for repairing wide-width invalid images of electrical imaging logging, so as to solve the technical problem of wide-width invalid images that are easily generated due to plate failure or inaccurate plate pushing under complex well conditions.

[0045] See also Figure 1 The present invention provides a method for repairing a wide-width invalid image of electrical imaging logging, comprising the following steps:

[0046] Step 1: Get dynamic / static electrical imaging logging Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0047] Specifically, the electrical imaging logging data of the failed plate is preprocessed in the dynamic / static diagram containing the failed plate data and a dynamic / static diagram is generated. Figure 2 Dimension curve.

[0048] Step 2: Use the acquired electrical imaging logging dynamic / static Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0049] Specifically, the acquired electrical imaging logging dynamic / static Figure 2 The specific process of calculating the failed plate image data index based on the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI is as follows:

[0050] Set dynamic / static Figure 2 The dimensional curve has N data points in the horizontal direction, and each point represents a direction of 360 / N degrees; the middle position of the No. 1 plate is in the dynamic / static Figure 2 The index in the dimensional curve is int(P1AZ / (360 / N)); the blank strip between the two plates in the dynamic / static diagram is set to an invalid value of -32767, the plate area is non-negative data, and the index range of the failed plate image data is calculated in sequence from the non-negative data of plate No. 1 to the invalid value.

[0051] Step 3, replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0052] Specifically, the obtained failed plate image data index replaces the data of the failed plate image with an invalid value, so that the failed plate image is replaced with a blank strip.

[0053] Step 4, performing full borehole image repair on the failed plate image replaced with an invalid value by an image repair algorithm to obtain a full borehole repair image;

[0054] Specifically, the specific process of performing full borehole image repair on the failed plate image replaced with an invalid value by the image repair algorithm to obtain the full borehole repair image is as follows:

[0055] Assume Ω is the area to be repaired in the structural image, δΩ is the boundary of the area to be repaired, and p is any point on the boundary. In the known area of ​​the image around point p, a neighborhood B(ε) with a sufficiently small ε as the scale is selected. Given the pixel value I(q) of point q and the gradient value of q, the first-order estimation formula of point p is obtained by the following formula:

[0056]

[0057] Among them, the pixel value of point p can be calculated by the following formula:

[0058]

[0059] Among them, w(p,q) is the weight function;

[0060] Iterate the first-order estimation formula of point p and the pixel value formula of point p, and gradually shrink the boundary of the area to be repaired until the entire area is repaired.

[0061] Among them, the texture repair is performed on the repaired full borehole repair image, and the repair process is as follows:

[0062] A set of filters is used to classify the various patterns of the training image containing the main features. Based on the pattern classification, the area to be simulated is simulated. During the simulation process, the filter is used to obtain the filter score of the data event in the area to be simulated, and the pattern closest to the data event in the training image is found. Then, the pattern is pasted into the area to be simulated to complete the image restoration of the blank area.

[0063] Among them, three types of filters are used to process the training images, including two average filters, two gradient filters and two curvature filters. Six filters are used to process the same training image to obtain different filter scores, which reflect the image features from different angles. When the filter scores of two modes in the image are close, the images of the two modes are similar.

[0064] The full borehole repaired image and the texture repaired image are given different weights for fusion to obtain a new image, such as Figure 3 The third image is shown.

[0065] Step 5, extracting image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0066] Step 6, replace the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, and complete the wide-width failed image repair of electrical imaging logging, such as Figure 3 The fourth image is shown.

[0067] Example

[0068] Take the processing of MCI electrical imaging logging data including failed pads by CIFLog logging processing and interpretation software as an example;

[0069] This embodiment provides a method for repairing an invalid wide-width image of electrical imaging logging, comprising the following steps:

[0070] Step 1: Preprocess the electrical imaging logging data with failed plates and generate dynamic / static Figure 2 dimensional curve, where the dynamic / static diagram is developed with the north direction as 0 degrees; Figure 2 As shown in Track 1, the yellow area is the image corresponding to the failed plate;

[0071] Step 2: Calculate the failed plate image data index according to the No. 1 plate orientation curve P1AZ and the failed plate number BI.

[0072] Assume dynamic / static Figure 2 The 2D curve has N data points in the horizontal direction, and each point represents a direction of 360 / N degrees. Then the index of the middle position of the No. 1 plate in the above two-dimensional curve is int(P1AZ / (360 / N)). Since the blank strip between the two plates in the dynamic / static image is an invalid value of -32767, the plate area is non-negative data. Based on this feature, the index range of the failed plate image data is calculated. Figure 2 As shown in the third track in FIG, the black strip is the extracted image area of ​​the designated failed plate.

[0073] Step 3: Replace the failed plate image data with the invalid value -32767 according to the index extracted in step 2. Figure 2 As shown in lane 4 of .

[0074] Step 4: Use the image restoration algorithm to perform full borehole image restoration on the image in step 3.

[0075] Take the adaptive image restoration algorithm as an example to illustrate.

[0076] Step 1) Perform structural repair on the image processed in step 3, and the repair method is as follows:

[0077] Assume that the area to be repaired in the Ω image (see Figure 4), δΩ is the boundary of the area to be repaired, and p is any point on the boundary. In the known area of ​​the image around point p, a neighborhood B(ε) with ε as the scale is selected. Then, the pixel value of p can be approximated by the pixel value inside the neighborhood B(ε). When the scale parameter ε is small enough, the pixel value I(q) of a given point q and the gradient value of q are Then the first-order estimate of point p

[0078]

[0079] Then, the pixel value of point p can be calculated by the following formula

[0080]

[0081] Where w(p, q) is the weight function. Iterate equation (2) and gradually shrink the boundary of the area to be repaired until the entire area is repaired.

[0082] Step 2) Perform texture restoration on the image processed in step 3, and the restoration method is as follows:

[0083] The texture image is repaired using a filter-based multi-point geostatistical method. The calculation process of this method can be divided into two steps:

[0084] First, a set of filters is used to classify the various patterns of the training image containing the main features. The training image is processed using 6 filters of 3 categories, namely, average filter, gradient filter and curvature filter, as shown in the schematic diagram. Figure 5 Using these six filters to process the same training image, different filter scores are obtained, which reflect the image features from different angles. When the filter scores of two patterns in an image are close, the images of the two patterns are similar.

[0085] Then, based on the pattern classification, the area to be simulated is simulated. During the simulation process, the filter is used to obtain the "filter score" of the data event in the area to be simulated, and the pattern closest to the data event in the training image is found. Then the pattern is "pasted" to the area to be simulated to complete the image restoration of the blank area.

[0086] Step 3) assigning different weights to the image processed in step 1) and the image processed in step 2) to fuse them and obtain a new image. Figure 3 As shown in the third track.

[0087] Step 5: According to the invalid plate image data index obtained in step 2, the data after the invalid plate image repair is extracted from the full borehole repair image in step 4.

[0088] Step 6: Use the invalid plate image data extracted in step 5 to replace the invalid plate image data in the original dynamic / static image in step 1, and complete the wide-width invalid image repair of electrical imaging logging. Figure 3 As shown in lane 4 of .

[0089] In summary, the present invention provides a method for repairing wide-width invalid images of electrical imaging logging, by obtaining dynamic / static images of electrical imaging logging. Figure 2 The image of the failed plate is found according to the plate area and invalid value area of ​​the plate azimuth curve P1AZ, and the data of the failed plate image is replaced with an invalid value, so that the failed plate image is replaced with a blank strip. The failed plate image replaced with the invalid value is repaired in the whole borehole by the image repair algorithm to obtain the whole borehole repair image. Then, according to the obtained failed plate image data index, the image data of the repaired failed plate is extracted from the whole borehole repair image, and the image data of the failed plate in the original dynamic / static image is replaced with the image data of the repaired failed plate to complete the repair of the wide-width failed image of the electrical imaging logging, which effectively solves the problem of repairing the wide-width invalid image caused by plate failure or false plate pushing under complex well conditions. The repaired dynamic and static images have good consistency in overall vision, and have good continuity in image areas such as inclined formations and high-angle fractures, which improves the reliability of geological phenomenon recognition and characteristic parameter calculation.

[0090] The present invention also provides an electrical imaging logging wide invalid image repair system, comprising an acquisition module, an image processing module, a first data replacement module, an image repair module and a second data replacement module;

[0091] Acquisition module, used to obtain dynamic / static electrical imaging logging Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0092] Image processing module, used to obtain dynamic / static electrical imaging logging Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0093] A first data replacement module, used to replace the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0094] An image repair module is used to extract image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0095] The second data replacement module replaces the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, so as to complete the repair of the wide-width failed image of the electrical imaging logging.

[0096] The present invention also provides a mobile terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, such as a wide-width invalid image repair program for electrical imaging logging.

[0097] The steps of implementing the above-mentioned method for repairing the wide-width invalid image of electrical imaging logging when the processor executes the computer program include the following steps:

[0098] Step 1: Get dynamic / static electrical imaging logging Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0099] Step 2: Use the acquired electrical imaging logging dynamic / static Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0100] Step 3, replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0101] Step 4, performing full borehole image repair on the failed plate image replaced with an invalid value by an image repair algorithm to obtain a full borehole repair image;

[0102] Step 5, extracting image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0103] Step 6: Replace the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, and complete the repair of the wide-width failed image of electrical imaging logging.

[0104] Alternatively, when the processor executes the computer program, the functions of each module in the above system are realized, for example, an acquisition module is used to acquire dynamic / static information of electrical imaging logging. Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0105] Image processing module, used to obtain dynamic / static electrical imaging logging Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0106] A first data replacement module, used for replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0107] An image repair module is used to extract image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0108] The second data replacement module replaces the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, so as to complete the repair of the wide-width failed image of the electrical imaging logging.

[0109] Exemplarily, the computer program may be divided into one or more modules / units, and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the mobile terminal. For example, the computer program may be divided into an acquisition module, an image processing module, a first data replacement module, an image repair module, and a second data replacement module, and the specific functions of each module are as follows:

[0110] Acquisition module, used to obtain dynamic / static electrical imaging logging Figure 2 Dimension curve, No. 1 plate orientation curve P1AZ and failed plate number BI;

[0111] Image processing module, used to obtain dynamic / static electrical imaging logging Figure 2 The failed plate image data index is calculated by using the dimension curve, the No. 1 plate orientation curve P1AZ and the failed plate number BI;

[0112] A first data replacement module, used to replace the data of the failed plate image with an invalid value according to the obtained failed plate image data index;

[0113] An image repair module is used to extract image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index;

[0114] The second data replacement module replaces the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, so as to complete the repair of the wide-width failed image of the electrical imaging logging.

[0115] The mobile terminal may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The mobile terminal may include, but is not limited to, a processor and a memory.

[0116] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal.

[0117] The memory may be used to store the computer programs and / or modules, and the processor implements various functions of the mobile terminal by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory.

[0118] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0119] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for repairing a wide-width invalid image of electrical imaging logging are implemented.

[0120] If the module / unit integrated in the mobile terminal is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0121] Based on this understanding, the present invention implements all or part of the processes in the above method, and can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned electrical imaging logging wide-width invalid image repair method can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.

[0122] The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0123] It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.

[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for repairing wide-width invalid images of electrical imaging logging, characterized in that: The steps include: Step 1, obtaining the two-dimensional curve of the dynamic / static diagram of the electrical imaging logging, the azimuth curve P1AZ of the No. 1 electrode plate and the number BI of the failed electrode plate; Step 2, calculating the failed plate image data index through the acquired electrical imaging logging dynamic / static two-dimensional curve, the No. 1 plate azimuth curve P1AZ and the failed plate number BI; Step 3, replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index; Step 4, performing full borehole image repair on the failed plate image replaced with an invalid value by an image repair algorithm to obtain a full borehole repair image; Step 5, extracting image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index; Step 6: Replace the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, and complete the repair of the wide-width failed image of electrical imaging logging.

2. The method for repairing wide-width invalid images of electrical imaging logging according to claim 1, characterized in that: In step 1, the electrical imaging logging data of the failed plate is preprocessed in the dynamic / static diagram containing the failed plate data and a dynamic / static diagram two-dimensional curve is generated.

3. The method for repairing wide-width invalid images of electrical imaging logging according to claim 1, characterized in that: In step 2, the specific process of calculating the failed plate image data index through the acquired electrical imaging logging dynamic / static graph two-dimensional curve, the No. 1 plate azimuth curve P1AZ and the failed plate number BI is as follows: The two-dimensional curve of the dynamic / static image is set to have N data points in the horizontal direction, and each point represents an orientation of 360 / N degrees; the index of the middle position of the No. 1 electrode plate in the two-dimensional curve of the dynamic / static image is int(P1AZ / (360 / N)); the blank strip between the two electrodes in the dynamic / static image is set to an invalid value of -32767, and the electrode area is non-negative data, and the index range of the failed electrode plate image data is calculated in sequence from the non-negative data of the No. 1 electrode plate to the invalid value.

4. The method for repairing wide-width invalid images of electrical imaging logging according to claim 1, characterized in that: In step 3, the obtained failed plate image data index replaces the data of the failed plate image with an invalid value, so that the failed plate image is replaced with a blank strip.

5. The method for repairing wide-width invalid images of electrical imaging logging according to claim 1, characterized in that: In step 4, the specific process of performing full borehole image repair on the failed plate image replaced with invalid values ​​by the image repair algorithm to obtain the full borehole repair image is as follows: Assume Ω is the area to be repaired in the structural image, δΩ is the boundary of the area to be repaired, and p is any point on the boundary. In the known area of ​​the image around point p, a neighborhood B(ε) with a sufficiently small ε as the scale is selected. Given the pixel value I(q) of point q and the gradient value of q, the first-order estimation formula of point p is obtained by the following formula: Among them, the pixel value of point p can be calculated by the following formula: Among them, w(p,q) is the weight function; Iterate the first-order estimation formula of point p and the pixel value formula of point p, and gradually shrink the boundary of the area to be repaired until the entire area is repaired.

6. A method for repairing wide-width invalid images of electrical imaging logging according to claim 5, characterized in that: The texture of the repaired full borehole repair image is repaired. The repair process is as follows: A set of filters is used to classify the various patterns of the training image containing the main features. Based on the pattern classification, the area to be simulated is simulated. During the simulation process, the filter is used to obtain the filter score of the data event in the area to be simulated, and the pattern closest to the data event in the training image is found. Then, the pattern is pasted into the area to be simulated to complete the image restoration of the blank area.

7. A method for repairing wide-width invalid images of electrical imaging logging according to claim 6, characterized in that: The training images are processed using three types of filters, including two average filters, two gradient filters, and two curvature filters. The same training image is processed using six filters to obtain different filter scores, which reflect the image features from different angles. When the filter scores of two patterns in the image are close, the images of the two patterns are similar.

8. A wide-width invalid image repair system for electrical imaging logging, characterized in that: include: An acquisition module is used to acquire a two-dimensional curve of a dynamic / static graph of electrical imaging logging, a No. 1 plate azimuth curve P1AZ and a failed plate number BI; An image processing module is used to calculate the failed plate image data index through the acquired two-dimensional curve of the electrical imaging logging dynamic / static diagram, the No. 1 plate azimuth curve P1AZ and the failed plate number BI; A first data replacement module, used for replacing the data of the failed plate image with an invalid value according to the obtained failed plate image data index; An image repair module is used to extract image data of the repaired failed plate from the full borehole repair image according to the obtained failed plate image data index; The second data replacement module replaces the image data of the failed plate in the original dynamic / static image with the image data after the failed plate is repaired, so as to complete the repair of the wide-width failed image of the electrical imaging logging.

9. A mobile terminal 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 steps of the method for repairing wide-width invalid images of electrical imaging logging as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a method for repairing a wide-width invalid image of electrical imaging logging as described in any one of claims 1 to 7 are implemented.