An ultrasonic imaging method based on image processing

By preset frequency range and gamma correction technology in ultrasonic imaging, calculating formation differences and iterative update adjustment parameters, the problem of impact of echo signal quality is solved, and more accurate underground resource identification and more efficient exploration strategies are achieved. Reduced the risk of resource development.

CN118604831BActive Publication Date: 2024-11-08XIAN MOKO XINGYE PETROLEUM ENG TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411081208.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-08
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

The existing ultrasonic imaging methods fail to effectively consider the quality of the echo signal, resulting in inaccurate imaging results.

Method used

By presetting the frequency range of ultrasonic emission, the formation differences of each strata are calculated, combined with gamma correction technology, the echoes are converted into grayscale maps, and the adjustment parameters are iteratively updated to maximize the difference in grayscale values, and accurately divide the rock and oil and gas areas. , optimize imaging quality.

Benefits of technology

It improves the accuracy and reliability of geological exploration, enhances the ability to identify underground resources, reduces the economic and environmental risks of resource development, and improves exploration efficiency and economic returns of resource development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604831B_ABST
    Figure CN118604831B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of ultrasonic imaging, and more specifically, to an ultrasonic imaging method based on image processing. The method comprises: presetting the frequency range of ultrasonic emission; obtaining the echo of the target frequency, calculating the acoustic impedance of the target frequency according to the echo, and calculating the stratigraphic difference of each layer; dividing the stratigraphic area at the current position into a rock area and an oil and gas area according to the extreme point in the stratigraphic difference sequence of the optimal frequency; converting the echo of the detection area into a grayscale image based on gamma correction, and calculating the discrimination of the grayscale image; iteratively updating the adjustment parameters in the gamma correction, and when the discrimination is the largest, obtaining the optimal adjustment parameters, and completing ultrasonic imaging. Through the technical solution of the present invention, the accuracy of ultrasonic imaging can be increased, the exploration strategy can be optimized, and the development risk can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ultrasonic imaging, and more specifically, to an ultrasonic imaging method based on image processing. Background Art

[0002] Ultrasonic imaging technology, also known as acoustic geophysical exploration technology, is an advanced underground detection method widely used in geological exploration and the oil and gas industry. This technology uses the difference in the propagation speed of sound waves in different media to emit ultrasonic beams of specific frequencies into the ground. These sound waves will be reflected, refracted or scattered when they encounter rock formations of different densities and elasticities. Ultrasonic imaging technology has the advantages of high resolution, easy operation, high cost-effectiveness and environmental friendliness, and is an indispensable tool for modern geological exploration. In addition, with the continuous advancement of computing technology and signal processing algorithms, the accuracy and efficiency of ultrasonic imaging have been significantly improved, allowing explorers to assess the potential of underground resources more quickly and accurately.

[0003] The existing Chinese patent application document with publication number CN107126260A discloses an ultrasonic imaging method, system and ultrasonic imaging equipment. The method transmits ultrasonic signals at different angles, obtains corresponding images according to different echo signals, and calculates according to the difference or deflection between different images to determine the final ultrasonic image.

[0004] However, the above method only involves the computational fusion of images at different angles, and does not take into account the quality of the collected echo signals. This is because when ultrasonic waves are emitted to different media, the intensity of the echo signals will be affected by physical properties, resulting in inaccurate ultrasonic imaging results. Summary of the invention

[0005] In order to solve the problem of inaccurate ultrasonic imaging results, the present invention proposes an ultrasonic imaging method based on image processing.

[0006] The invention discloses an ultrasonic imaging method based on image processing, comprising: presetting a frequency range for ultrasonic emission, taking any frequency in the frequency range as a target frequency; obtaining an echo of the target frequency, calculating the acoustic impedance of the target frequency according to the echo, calculating the stratigraphic difference of each stratum, traversing the total number of preset strata, constructing a stratigraphic difference sequence of the target frequency, and calculating the mean of the stratigraphic difference sequence; taking the frequency with the maximum mean value in the frequency range as the optimal frequency, and dividing the stratum at the current position into a rock area and an oil and gas area according to the extreme point in the stratigraphic difference sequence of the optimal frequency; traversing to obtain the echo of each position in the detection area, converting the echo of the detection area into a grayscale image based on gamma correction, and taking the absolute value of the difference between the mean grayscale value of the pixel points belonging to the rock area and the mean grayscale value of the pixel points belonging to the oil and gas area in the grayscale image as the discrimination degree; iteratively updating the adjustment parameter in the gamma correction, and when the discrimination degree is maximum, obtaining the optimal adjustment parameter, and completing the ultrasonic imaging.

[0007] By selecting the optimal frequency and calculating the differences in formations, the location and properties of different formations can be accurately divided, improving the accuracy and reliability of geological exploration. Secondly, the grayscale image processing technology based on gamma correction effectively converts echo data into visual images, further intuitively showing the distribution of rocks and oil and gas areas. By iteratively updating the gamma correction parameters, the imaging quality is optimized, and the grayscale value difference between the rock area and the oil and gas area is maximized, thereby improving the clarity and resolution of the imaging.

[0008] Preferably, the frequency range includes: obtaining the echo time interval when the ultrasonic wave is transmitted at any frequency, calculating the attenuation degree of the echo when the ultrasonic wave is transmitted at any frequency; taking the result of summing the attenuation degree and the normalized echo time interval as the echo intensity when the ultrasonic wave is transmitted at any frequency; and taking the frequency at which the echo intensity is greater than a preset intensity threshold as the frequency range.

[0009] The attenuation degree is combined with the normalized time interval to identify the frequency where the echo intensity exceeds the preset threshold, thereby intelligently screening out the effective frequency range. This not only improves the sensitivity and accuracy of ultrasonic detection, but also enhances the ability to identify formation characteristics.

[0010] Preferably, the attenuation degree satisfies the relationship:

[0011] ,in, Indicates the frequency of ultrasound The attenuation of the echo during transmission, represents the attenuation coefficient, Indicates the frequency of ultrasound The echo time interval during transmission, Indicates the frequency of ultrasound The propagation speed in the medium at the time of emission, represents the normalization function, Represents an exponential function.

[0012] The exponential attenuation method is used to describe the attenuation characteristics of ultrasound in the medium with increasing time and propagation distance, which helps to more accurately evaluate and predict the propagation and attenuation behavior of ultrasound at different frequencies, helping geological prospectors to better understand underground structures and improve exploration efficiency and the success rate of resource development.

[0013] Preferably, the formation difference satisfies the relationship:

[0014] ,in, Indicates The stratigraphic differences between the layers of the strata, Indicates The acoustic impedance of the formation, Indicates The acoustic impedance of the formation.

[0015] Preferably, the formation difference also satisfies the relationship:

[0016] ,in, Indicates The stratigraphic differences between the layers of the strata, Indicates The acoustic impedance of the formation, Indicates The acoustic impedance of the formation, Indicates the maximum value.

[0017] Preferably, obtaining the grayscale image includes: constructing a coordinate system for the detection area, setting the ultrasound to an optimal frequency, and obtaining an echo at each position in the detection area; converting the echo at each position into a pixel value by gamma correction to satisfy the relationship:

[0018] ,in, The coordinates are The pixel value of the pixel point, The coordinates are The echo of the pixel point, Indicates the adjustment parameter.

[0019] Traverse the pixel points at each position in the detection area to obtain a grayscale image.

[0020] Gamma correction technology is used to convert echo signals into pixel values, where adjustment parameters are used to enhance or adjust the contrast of pixels. By traversing each pixel point, a grayscale image is formed, which can more clearly show the differences in acoustic characteristics of different media in the detection area. This method not only improves the visualization quality of the image, but also enhances the accuracy of formation medium identification.

[0021] Preferably, obtaining the optimal adjustment parameters includes: taking any pixel point in the detection area as the target pixel point, presetting the initial adjustment parameters, obtaining the initial grayscale image, and calculating the initial discrimination; selecting an adjustment parameter greater than the initial adjustment parameter as the iteration parameter, and calculating the iteration discrimination; in response to the initial discrimination being greater than the iteration discrimination, selecting an adjustment parameter less than the initial adjustment parameter as the iteration parameter; in response to the initial discrimination being less than the iteration discrimination, continuing to select an adjustment parameter greater than the iteration parameter; when the discrimination is maximum, obtaining the optimal adjustment parameters.

[0022] By adjusting the parameters to optimize the grayscale image of the pixels, the discrimination of the target pixels can be improved. By iteratively comparing the discrimination under different adjustment parameters and finally determining the optimal parameters, the clarity and recognition of the target in the image can be effectively enhanced.

[0023] Beneficial effects of the present invention:

[0024] 1. By determining the frequency range, the echo signal at each frequency is analyzed to construct a stratigraphic difference sequence in the detection area, which reveals the distribution characteristics of rocks and oil and gas areas. By using gamma correction technology and combining the optimal adjustment parameters, the complex echo signal is converted into intuitive pixel values, and the generated ultrasonic image has reached a new height in clarity and contrast, which greatly promotes the accurate identification and evaluation of underground resources.

[0025] 2. The exploration strategy has been optimized to make exploration activities more targeted and significantly reduce the economic and environmental risks of resource development by reducing uncertainties and avoiding ineffective drilling.

[0026] 3. Through more accurate resource positioning and assessment, the efficiency and economic returns of resource development are improved, while ensuring the sustainability of resource development, providing solid technical support for achieving long-term environmental protection goals. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0028] Figure 1 It is a flow chart of an ultrasonic imaging method based on image processing according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0030] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.

[0031] The present invention provides an ultrasonic imaging method based on image processing. Figure 1 As shown, an ultrasonic imaging method based on image processing includes steps S1 to S4, which are described in detail below.

[0032] S1, preset the frequency range of ultrasonic emission.

[0033] In one embodiment, during the drilling process, an ultrasonic transmitting device is placed in the well, and an ultrasonic wave is transmitted at any frequency. The echo of the ultrasonic wave when it is transmitted at the frequency is obtained, the transmission time of the ultrasonic wave and the time when the ultrasonic wave echo is received are recorded, and the echo time interval when the ultrasonic wave is transmitted at any frequency is calculated.

[0034] Calculate the attenuation of the echo when the ultrasonic wave is emitted at any frequency. The attenuation satisfies the relationship:

[0035] ,in, Indicates the frequency of ultrasound The attenuation of the echo during transmission, represents the attenuation coefficient, Indicates the frequency of ultrasound The echo time interval during transmission, Indicates the frequency of ultrasound The propagation speed in the medium at the time of emission, represents the normalization function, Represents an exponential function.

[0036] The propagation speed of ultrasound depends on the physical properties of the medium, such as density, elastic modulus, etc. These properties will also affect the energy loss of sound waves when propagating in the medium, and then affect the attenuation degree of the echo signal. Therefore, the attenuation coefficient is determined according to the hardness and density of the geological core, which can generally be obtained by technical personnel in this field.

[0037] It can reflect the propagation distance of ultrasound. As the propagation distance of ultrasound increases, the signal will experience more attenuation because the sound wave energy is gradually consumed in the medium.

[0038] It should be noted that when ultrasound propagates in a medium, part of the energy will be absorbed, resulting in a decrease in signal strength. In addition, particles and structures in the medium may cause sound wave scattering, further affecting the strength of the echo signal. The higher the frequency of ultrasound, the shorter the wavelength, resulting in stronger directionality, but it is also more susceptible to the microstructure of the medium, increasing scattering and absorption, thereby increasing signal attenuation. According to wave theory, the propagation speed of ultrasound is positively correlated with frequency, that is, the greater the propagation speed of ultrasound, the greater the attenuation.

[0039] The sum of the attenuation degree and the normalized echo time interval is taken as the echo intensity when the ultrasound is emitted at any frequency. The echo intensity satisfies the relationship:

[0040] ,in, Indicates the frequency of ultrasound The echo strength at the time of transmission, Indicates the frequency of ultrasound The echo time interval during transmission, Indicates the frequency of ultrasound The attenuation of the echo during transmission, Represents the weight coefficient, which is used to eliminate the dimension and balance the echo time interval and attenuation degree. represents an exponential function. For example, Take 1, the specific data can be set by those skilled in the art. If only the echo time interval is concerned, the weight coefficient of the echo time interval can be If you only care about the attenuation degree, you can increase the weight coefficient of the echo time interval. Turn down.

[0041] The frequency at which the echo intensity is greater than a preset intensity threshold is taken as the frequency range. Exemplarily, the preset intensity threshold is set to 0.6.

[0042] In another embodiment, the frequency range of ultrasonic emission is set by those skilled in the art according to the geological structure of the detection area.

[0043] S2, obtaining the echo of the target frequency, calculating the acoustic impedance of the target frequency according to the echo, and calculating the stratigraphic difference of each stratigraphic layer.

[0044] In one embodiment, any frequency in the frequency range is taken as the target frequency, and the acoustic impedance of the target frequency is calculated according to the echo.

[0045] It should be noted that acoustic impedance is a physical quantity that describes the resistance of a medium to the propagation of sound waves. It is usually expressed as a complex number, with the real part called acoustic resistance and the imaginary part called acoustic reactance. Acoustic impedance reflects the damping characteristics of a particle caused by a mechanical disturbance at a certain position in the medium. The size of acoustic impedance affects the energy transfer efficiency of sound waves when they propagate in the medium. When sound waves propagate from one medium to another, if the difference in acoustic impedance between the two is large, a strong reflection phenomenon will occur at the interface.

[0046] The acoustic impedance of each stratum is calculated, and then the stratum difference of each stratum is calculated. The stratum difference satisfies the relationship:

[0047] ,in, Indicates The stratigraphic differences between the layers of the strata, Indicates The acoustic impedance of the formation, Indicates The denominator is added with 0.001 to avoid the situation where the denominator is zero.

[0048] Exemplarily, the detection area is divided into five strata, the stratigraphic difference of stratum 1 is not calculated, the difference between stratum 1 and stratum 2 is calculated as the stratigraphic difference of stratum 2, the difference between stratum 2 and stratum 3 is calculated as the stratigraphic difference of stratum 3, the difference between stratum 3 and stratum 4 is calculated as the stratigraphic difference of stratum 4, and the difference between stratum 4 and stratum 5 is calculated as the stratigraphic difference of stratum 5, that is, the stratigraphic difference sequence corresponding to the target frequency includes four stratigraphic differences.

[0049] In another embodiment, the formation difference also satisfies the relationship:

[0050] ,in, Indicates The stratigraphic differences between the layers of the strata, Indicates The acoustic impedance of the formation, Indicates The acoustic impedance of the formation, Indicates the maximum value.

[0051] S3, the strata are divided into rock areas and oil and gas areas according to the extreme points in the stratigraphic difference sequence of the optimal frequency.

[0052] In one embodiment, for the same position in the detection area, the stratigraphic difference sequence corresponding to each frequency in the frequency range of ultrasonic emission is traversed according to step S2, and the mean of each stratigraphic difference sequence is calculated, and the frequency with the maximum mean value is taken as the optimal frequency, and the formation is divided into rock area and oil and gas area according to the extreme points in the stratigraphic difference sequence of the optimal frequency.

[0053] Calculate the variance of the stratigraphic difference sequence at the current position. When the variance is less than the preset variance threshold, it means that the stratigraphic difference sequence is stable and the strata at the current position are all rock areas. When the variance is greater than the preset variance threshold, it means that the stratigraphic difference sequence fluctuates and there are oil and gas areas and rock areas in the strata at the current position. Then, the oil and gas areas and rock areas are determined based on the extreme point positions of the stratigraphic difference sequence. For example, the stratigraphic differences contained in the stratigraphic difference sequence are 0.3, 0.7, 0.6, and 0.2, respectively. Then, the strata with stratigraphic differences of 0.7 and 0.6 are oil and gas areas, that is, strata 3 and strata 4 are oil and gas areas.

[0054] Traverse each location in the detection area to obtain the distribution results of the oil and gas area and rock area at each location. This is done because even in the same detection area, the soil strata at different locations are different, including density and gravel size and quantity, which will lead to different optimal frequencies at each location. Therefore, it is necessary to distinguish the rock area and oil and gas area at each location in the detection area.

[0055] S4, based on gamma correction, the echo of the detection area is converted into a grayscale image, and the discrimination of the grayscale image is calculated, and the adjustment parameters in the gamma correction are iteratively updated to obtain the optimal adjustment parameters to complete the ultrasonic imaging.

[0056] In one embodiment, a coordinate system is constructed for the detection area, the ultrasound is set to an optimal frequency, and the echo of each position in the detection area is obtained; the echo of each position is converted into a pixel value through gamma correction to satisfy the relationship:

[0057] ,in, The coordinates are The pixel value of the pixel point, The coordinates are The echo of the pixel point, Indicates the adjustment parameter.

[0058] The pixel points at each position in the detection area are traversed, and the echo of the detection area is converted into a grayscale image based on gamma correction. The absolute value of the difference between the mean grayscale value of the pixel points belonging to the rock area and the mean grayscale value of the pixel points belonging to the oil and gas area in the grayscale image is used as the discrimination.

[0059] Iteratively updating the adjustment parameters in the gamma correction to obtain the optimal adjustment parameters includes: taking any pixel point in the detection area as the target pixel point, presetting the initial adjustment parameters, obtaining the initial grayscale image, and calculating the initial discrimination; selecting an adjustment parameter greater than the initial adjustment parameter as the iteration parameter, and calculating the iteration discrimination; in response to the initial discrimination being greater than the iteration discrimination, selecting an adjustment parameter less than the initial adjustment parameter as the iteration parameter; in response to the initial discrimination being less than the iteration discrimination, continuing to select an adjustment parameter greater than the iteration parameter; when the number of iterations reaches a maximum, selecting the adjustment parameter with the largest discrimination as the optimal adjustment parameter. Exemplarily, the maximum number of iterations is set to 1000 times.

[0060] The pixel values ​​of each pixel point in the detection area are recalculated by optimizing the adjustment parameters to obtain the most clearly distinguished grayscale image and complete ultrasonic imaging.

[0061] In another embodiment, a grayscale image is obtained using preset adjustment parameters, and the maximum and minimum points of the pixel values ​​are used as growth points to perform regional growth. When the growth stops, the rock area and oil and gas area in the grayscale image are obtained to complete ultrasonic imaging.

[0062] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

[0063] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An ultrasonic imaging method based on image processing, It is characterized in that include: Presetting the frequency range of ultrasonic emission, including: obtaining the echo time interval when the ultrasonic wave is emitted at any frequency, calculating the attenuation degree of the echo when the ultrasonic wave is emitted at any frequency; taking the sum of the attenuation degree and the normalized echo time interval as the echo intensity when the ultrasonic wave is emitted at any frequency; taking the frequency whose echo intensity is greater than a preset intensity threshold as the frequency range; taking any frequency in the frequency range as the target frequency; Get the echo of the target frequency, calculate the acoustic impedance of the target frequency based on the echo, calculate the stratigraphic differences of each layer, and satisfy the relationship: ,in, Indicates The stratigraphic differences between the layers of the strata, Indicates The acoustic impedance of the formation, Indicates The acoustic impedance of the formation, Indicates the maximum value; traverses the total number of preset strata, constructs a stratum difference sequence of the target frequency, and calculates the mean of the stratum difference sequence; The frequency with the maximum mean value in the frequency range is taken as the optimal frequency, and the strata at the current position are divided into rock areas and oil and gas areas according to the extreme points in the strata difference sequence of the optimal frequency; Traverse and obtain the echo of each position in the detection area, convert the echo of the detection area into a grayscale image based on gamma correction, and take the absolute value of the difference between the mean grayscale value of the pixel points belonging to the rock area and the mean grayscale value of the pixel points belonging to the oil and gas area in the grayscale image as the discrimination degree; The adjustment parameters in the gamma correction are iteratively updated. When the discrimination is maximized, the optimal adjustment parameters are obtained to complete the ultrasonic imaging.

2. The ultrasonic imaging method based on image processing according to claim 1, It is characterized in that The attenuation degree satisfies the relationship: ,in, Indicates the frequency of ultrasound The attenuation of the echo during transmission, represents the attenuation coefficient, Indicates the frequency of ultrasound The echo time interval during transmission, Indicates the frequency of ultrasound The propagation speed in the medium at the time of emission, represents the normalization function, Represents an exponential function.

3. The ultrasonic imaging method based on image processing according to claim 1, It is characterized in that Acquiring the grayscale image includes: Construct a coordinate system for the detection area, set the ultrasonic wave to the optimal frequency, and obtain the echo at each position in the detection area; The echo at each position is converted into a pixel value through gamma correction, satisfying the relationship: ,in, The coordinates are The pixel value of the pixel point, The coordinates are The echo of the pixel point, represents the adjustment parameter; Traverse the pixel points at each position in the detection area to obtain a grayscale image.

4. The ultrasonic imaging method based on image processing according to claim 1, It is characterized in that Obtaining the optimal adjustment parameters includes: Take any pixel point in the detection area as the target pixel point, preset the initial adjustment parameters, obtain the initial grayscale image, and calculate the initial discrimination degree; Select a tuning parameter that is larger than the initial tuning parameter as the iteration parameter and calculate the iteration discrimination; In response to the initial discrimination being greater than the iterative discrimination, selecting an adjustment parameter that is less than the initial adjustment parameter as the iterative parameter; In response to the initial discrimination being less than the iterative discrimination, continuing to select an adjustment parameter greater than the iterative parameter; When the discrimination is maximum, the optimal adjustment parameters are obtained.