Seismic image noise suppression method, device and electronic equipment

By combining the method of median filtering and bilateral filtering, the seismic image is filtered and repaired, which solves the problem of low signal-to-noise ratio in the existing technology, achieves effective removal of Gaussian noise and salt-and-pepper noise, and improves the signal-to-noise ratio of seismic images. and analytical accuracy.

CN114255179BActive Publication Date: 2024-09-06HEBEI GEO UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111496608.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2024-09-06
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

When existing random noise suppression methods are used to process seismic images, the signal-to-noise ratio is still low and cannot effectively remove Gaussian noise and salt-and-pepper noise in seismic images, resulting in limited inversion and migration imaging accuracy in seismic exploration.

Method used

A filter repair method that combines median filtering and bilateral filtering is used to perform median filtering and bilateral filtering on each pixel in the seismic image. The grayscale weight and distance weight are calculated by combining the median filtering algorithm and the bilateral filtering algorithm. , to achieve simultaneous removal of Gaussian noise and salt-and-pepper noise.

Benefits of technology

It improves the signal-to-noise ratio of seismic images, simplifies the denoising process, significantly improves the quality of seismic images, and enhances the accuracy of subsequent analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114255179B
    Figure CN114255179B
Patent Text Reader

Abstract

The present invention provides a method, device and electronic device for suppressing noise in seismic images, and relates to the field of image processing technology. The method comprises: performing the following filtering and repairing processing on each pixel point in the original seismic image in turn to obtain a target seismic image after noise suppression processing: performing median filtering on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain a filtering value; determining the grayscale weight corresponding to each neighboring point according to the filtering value; performing bilateral filtering on the current pixel point according to the grayscale weight corresponding to each neighboring point to obtain a target repair value corresponding to the current pixel point. This filtering and repairing method combining median filtering and bilateral filtering can effectively remove Gaussian noise and salt and pepper noise on the seismic image at the same time. Compared with the filtering method of performing median filtering and bilateral filtering on the original seismic image in turn, it simplifies the denoising process and improves the signal-to-noise ratio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method, device and electronic equipment for suppressing noise in seismic images. Background Art

[0002] In seismic exploration, high signal-to-noise ratio processing of seismic images can directly affect the subsequent inversion and migration imaging accuracy. Seismic image denoising is an indispensable link to improve the signal-to-noise ratio (SNR) of seismic signals. In many seismic exploration technologies such as seismic amplitude variation with offset (AVO) analysis, seismic attribute analysis and microseismic monitoring, the use of high signal-to-noise ratio seismic images is crucial. In the process of field seismic image acquisition, it is usually adopted to broaden the signal bandwidth to obtain more abundant seismic reflection wave information. In this way, while obtaining effective waves, various noise interferences will inevitably be recorded, thereby reducing the signal-to-noise ratio of seismic images. Therefore, suppressing random noise is the key to improving the signal-to-noise ratio of seismic images.

[0003] There are many random noise suppression methods. Traditional denoising methods mainly include spatial denoising algorithms, transform domain denoising algorithms, and comprehensive denoising algorithms that combine spatial denoising algorithms and transform domain denoising algorithms. However, the denoising results obtained by processing seismic images using existing random noise suppression methods still have a low signal-to-noise ratio. Summary of the invention

[0004] The object of the present invention is to provide a method, device and electronic equipment for suppressing noise in seismic images, so as to improve the signal-to-noise ratio of seismic images.

[0005] In a first aspect, an embodiment of the present invention provides a method for suppressing noise in a seismic image, comprising:

[0006] The following filtering and repairing processes are performed on each pixel in the original seismic image in turn to obtain the target seismic image after noise suppression:

[0007] According to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, median filtering is performed on the current pixel point to obtain a filtered value;

[0008] Determine the grayscale weight corresponding to each of the neighboring points according to the filter value;

[0009] According to the grayscale weights corresponding to the neighboring points, bilateral filtering is performed on the current pixel to obtain a target restoration value corresponding to the current pixel.

[0010] Furthermore, performing median filtering on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain a filtered value includes:

[0011] According to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, a two-dimensional multi-level median filtering algorithm is used to perform multi-level median filtering on the current pixel point to obtain a filtering value.

[0012] Furthermore, determining the grayscale weight corresponding to each of the neighboring points according to the filter value includes:

[0013] The grayscale weight corresponding to each of the neighboring points is calculated by the following formula:

[0014]

[0015] Among them, ω R (x,y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, Y mlm (x) represents the filter value corresponding to the current pixel x, u y Represents the gray value of the neighboring point y, σ R is a preset grayscale constant with a value range of (0, 1).

[0016] Furthermore, performing bilateral filtering on the current pixel point according to the grayscale weights corresponding to each of the neighboring points to obtain a target restoration value corresponding to the current pixel point includes:

[0017] The target restoration value corresponding to the current pixel is calculated by the following formula:

[0018]

[0019] ω(x,y)=ω S (x,y)ω R (x,y),

[0020]

[0021] in, represents the target restoration value corresponding to the current pixel point x, Ω represents the neighborhood corresponding to the current pixel point x, and u y Represents the gray value of the neighboring point y, ω S (x,y) represents the distance weight corresponding to the neighboring point y of the current pixel x, ω R (x, y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, |xy| represents the distance between the current pixel x and its neighboring point y, σ S is a preset distance constant with a value range of (0, 1).

[0022] In a second aspect, an embodiment of the present invention further provides a seismic image noise suppression device, the device is used to perform filtering and repair processing on each pixel point in the original seismic image in turn to obtain a target seismic image after noise suppression processing, the device comprising:

[0023] A median filtering module is used to perform median filtering on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain a filtered value;

[0024] A weight determination module, used to determine the grayscale weight corresponding to each of the neighboring points according to the filter value;

[0025] The bilateral filtering module is used to perform bilateral filtering on the current pixel point according to the grayscale weights corresponding to each of the neighboring points to obtain a target restoration value corresponding to the current pixel point.

[0026] Furthermore, the median filter module is specifically used for:

[0027] According to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, a two-dimensional multi-level median filtering algorithm is used to perform multi-level median filtering on the current pixel point to obtain a filtering value.

[0028] Furthermore, the weight determination module is specifically used for:

[0029] The grayscale weight corresponding to each of the neighboring points is calculated by the following formula:

[0030]

[0031] Among them, ω R (x,y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, Y mlm (x) represents the filter value corresponding to the current pixel x, u y Represents the gray value of the neighboring point y, σ R is a preset grayscale constant with a value range of (0, 1).

[0032] Furthermore, the bilateral filtering module is specifically used for:

[0033] The target restoration value corresponding to the current pixel is calculated by the following formula:

[0034]

[0035] ω(x,y)=ω S (x,y)ω R (x,y),

[0036]

[0037] in, represents the target restoration value corresponding to the current pixel point x, Ω represents the neighborhood corresponding to the current pixel point x, and u y Represents the gray value of the neighboring point y, ω S (x,y) represents the distance weight corresponding to the neighboring point y of the current pixel x, ω R (x,y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, |xy| represents the distance between the current pixel x and its neighboring point y, ω S is a preset distance constant with a value range of (0, 1).

[0038] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method of the first aspect when executing the computer program.

[0039] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the first aspect is executed.

[0040] The seismic image noise suppression method, device and electronic device provided by the embodiment of the present invention sequentially performs the following filtering and repairing processing on each pixel point in the original seismic image to obtain the target seismic image after the noise suppression processing: median filtering is performed on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain the filtering value; the grayscale weight corresponding to each neighboring point is determined according to the filtering value; the current pixel point is bilaterally filtered according to the grayscale weight corresponding to each neighboring point to obtain the target repair value corresponding to the current pixel point. This filtering and repairing method combining median filtering and bilateral filtering can effectively remove Gaussian noise and salt and pepper noise on the seismic image at the same time. Compared with the filtering method of performing median filtering and bilateral filtering on the original seismic image in sequence, it simplifies the denoising process and improves the signal-to-noise ratio. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0042] Figure 1 A schematic diagram of a flow chart of a method for suppressing noise in seismic images provided by an embodiment of the present invention;

[0043] Figure 2A schematic diagram of a basic sub-window in a two-dimensional multi-stage median filter provided by an embodiment of the present invention;

[0044] Figure 3a An original simulated seismic image without noise of a layered model provided by an embodiment of the present invention;

[0045] Figure 3b for Figure 3a The noisy simulated seismic image after adding noise to the original simulated seismic image in;

[0046] Figure 4a To use the multi-stage median filtering algorithm Figure 3b The result obtained by suppressing noise in the noise-added simulated seismic image;

[0047] Figure 4b To use bilateral filtering algorithm Figure 3b The result obtained by suppressing noise in the noise-added simulated seismic image;

[0048] Figure 5a for Figure 3b and Figure 4a The image obtained by subtraction;

[0049] Figure 5b for Figure 3b and Figure 4b The image obtained by subtraction;

[0050] Figure 6a For Figure 3b The noisy simulated seismic image in the image is first subjected to bilateral filtering denoising, and then to multi-level median filtering denoising.

[0051] Figure 6b To use the bilateral filtering algorithm based on multi-level median filtering Figure 3b The result obtained by suppressing noise in the noise-added simulated seismic image;

[0052] Figure 7 is the actual two-dimensional seismic profile image containing noise;

[0053] Figure 8 To use the bilateral filtering algorithm based on multi-level median filtering Figure 7 The result obtained by noise suppression of the two-dimensional seismic profile image in ;

[0054] Fig. 9 for Figure 7 and Figure 8 The image obtained by subtraction;

[0055] Fig.10 A schematic diagram of the structure of a seismic image noise suppression device provided by an embodiment of the present invention;

[0056] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than 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 are within the scope of protection of the present invention.

[0058] Seismic image denoising is the core link of seismic data processing, and the quality of denoising directly affects the accuracy of subsequent processing. Actual seismic images contain a variety of random noises, common random noises are Gaussian noise and salt and pepper noise (also known as impulse noise), which usually need to be suppressed by different denoising algorithms, which will inevitably cause the loss of effective signals, resulting in a low signal-to-noise ratio of the processed seismic image. The bilateral filtering algorithm can suppress Gaussian noise, but is not sensitive to salt and pepper noise. The median filtering algorithm can suppress salt and pepper noise, but cannot remove Gaussian noise. Based on this, a seismic image noise suppression method, device and electronic device provided in an embodiment of the present invention combine the median filtering algorithm with the bilateral filtering algorithm to simultaneously remove Gaussian noise and salt and pepper noise in the seismic image, which can improve the signal-to-noise ratio of the seismic image.

[0059] To facilitate understanding of this embodiment, a method for suppressing noise in seismic images disclosed in an embodiment of the present invention is first introduced in detail.

[0060] The embodiment of the present invention provides a method for suppressing noise in seismic images. The method can be executed by an electronic device with image processing capability. The method is suitable for suppressing noise in shallow seismic images. Figure 1 The flowchart of a method for suppressing noise in seismic images is shown in FIG. 1 , in which each pixel in the original seismic image is subjected to the filtering and repairing processing shown in steps S102 to S106 in sequence to obtain a target seismic image after noise suppression processing:

[0061] Step S102, performing median filtering on the current pixel according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel to obtain a filtered value.

[0062] The neighborhood corresponding to the current pixel refers to an area delineated with the current pixel as the center, and the neighboring points refer to the pixels in the neighborhood corresponding to the current pixel. Median filtering filters by replacing the current position with the median value in the filter window. The median filter that implements median filtering is a sequential filter that has a good suppression effect on salt and pepper noise and has a strong edge preservation ability.

[0063] In order to improve the filtering effect, the above step S102 can be specifically as follows: according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, a two-dimensional multi-level median filtering algorithm is used to perform multi-level median filtering on the current pixel point to obtain a filtering value. The multi-level median filtering has directionality, which ensures that it has a stronger ability to protect detail information than the general median filtering. The principle of the two-dimensional multi-level median filter for realizing the multi-level median filtering will be introduced in detail later.

[0064] Step S104, determining the grayscale weight corresponding to each neighboring point according to the above filtering value.

[0065] In some possible embodiments, the grayscale weight corresponding to each neighbor point can be calculated by the following formula:

[0066]

[0067] Among them, ω R (x,y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, Y mlm (x) represents the filter value corresponding to the current pixel x, u y Represents the gray value of the neighboring point y, σ R is a preset grayscale constant with a value range of (0, 1).

[0068] Step S106, performing bilateral filtering on the current pixel point according to the grayscale weights corresponding to each neighboring point, to obtain a target restoration value corresponding to the current pixel point.

[0069] The bilateral filter that realizes bilateral filtering is a nonlinear filter that smoothes the image. The bilateral filter can effectively suppress the Gaussian noise on the image. The principle of the bilateral filter will be introduced in detail later.

[0070] In some possible embodiments, the target restoration value corresponding to the current pixel point can be calculated by the following formula:

[0071]

[0072] ω(x,y)=ω S (x,y)ω R (x,y),

[0073]

[0074] in, represents the target restoration value corresponding to the current pixel point x, Ω represents the neighborhood corresponding to the current pixel point x, and u y Represents the gray value of the neighboring point y, ω S (x,y) represents the distance weight corresponding to the neighboring point y of the current pixel x, ωR (x, y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, |xy| represents the distance between the current pixel x and its neighboring point y, σ S is a preset distance constant with a value range of (0, 1).

[0075] The seismic image noise suppression method provided by the embodiment of the present invention obtains the target seismic image after noise suppression by sequentially performing the following filtering and repairing processing on each pixel in the original seismic image: performing median filtering on the current pixel according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel to obtain a filtering value; determining the grayscale weight corresponding to each neighboring point according to the filtering value; performing bilateral filtering on the current pixel according to the grayscale weight corresponding to each neighboring point to obtain a target repair value corresponding to the current pixel. This filtering and repairing method combining median filtering and bilateral filtering can effectively remove Gaussian noise and salt and pepper noise on the seismic image at the same time. Compared with the filtering method of performing median filtering and bilateral filtering on the original seismic image in sequence, it simplifies the denoising process and improves the signal-to-noise ratio.

[0076] For ease of understanding, the embodiments of the present invention further provide the principles of the above-mentioned bilateral filter and the two-dimensional multi-stage median filter, which are as follows:

[0077] 1. Bilateral filter principle

[0078] The bilateral filtering method of the bilateral filter is a spatial domain filtering method that performs filtering operations on the original seismic image point by point. The filtering operation process is: first, a neighborhood is defined with the point to be repaired as the center, and then the contribution of the points in the neighborhood (i.e., the neighboring points) to the center point (i.e., the point to be repaired) is calculated, and the gray value of the repaired point after bilateral filtering is obtained (i.e., the target repair value corresponding to the repaired point).

[0079] Specifically, assuming that u = u(x) is a noise-contaminated seismic record (seismic image), where x is the position of the pixel point, let Ω = Ω x (N) is the neighborhood centered at pixel x and N is the half filter width, y∈Ω, and u y To represent the gray value of the neighboring point y, then the target repair value after bilateral filtering is It can be expressed as:

[0080]

[0081] Among them, ω(x,y) is the bilateral filter kernel function:

[0082] ω(x,y)=ω S (x,y)ω R (x,y),

[0083]

[0084]

[0085] Among them, ω S (x,y) represents the distance weight corresponding to the neighboring point y of pixel point x, indicating that the farther the point y in the neighborhood Ω is from point x, the corresponding distance weight value ω S The smaller (x,y) is, the closer the point y is to The smaller the contribution of R (x, y) represents the grayscale weight corresponding to the neighboring point y of the pixel point x, indicating that the greater the difference between the grayscale value of point y in the neighborhood Ω and the grayscale value of point x (the filter value corresponding to point x in this embodiment), the higher the corresponding grayscale weight value ω. R The smaller (x,y) is, the closer the point y is to The smaller the contribution; |xy| represents the distance between pixel point x and its neighboring point y, σ S is a preset distance constant with a value range of (0, 1), Y mlm (x) represents the filter value corresponding to the pixel x, σ R is a preset grayscale constant with a value range of (0, 1).

[0086] 2. Principle of two-dimensional multi-stage median filter

[0087] The coordinates of the repaired point x are marked as (a, b), and -N≤k≤N, and the following basic sub-windows can be defined:

[0088]

[0089] Among them, W i (x) represents a numerical sequence centered on x. The basic sub-window of the two-dimensional multi-stage median filter can be Figure 2 As shown, the circle represents a neighborhood Ω=Ω of a point x in the image u x (2), the black dots represent the pixel positions of the basic sub-windows W1, W2, W3, and W4 respectively.

[0090] The output of the two-dimensional multi-stage median filter is defined as:

[0091] Y mlm (x) = median[Y max (x),Y min (x),x(a,b)],

[0092] in:

[0093]

[0094]

[0095] Z i (x)=median[x(,)∈W i (x)],i=1,2,3,4

[0096] Among them, median represents general median filtering.

[0097] The method for suppressing noise in seismic images provided by the embodiment of the present invention improves the traditional bilateral filter and combines it with a two-dimensional multi-level median filter to obtain a bilateral filtering algorithm based on multi-level median filtering. In the bilateral filtering algorithm based on multi-level median filtering, the grayscale weight formula in the traditional bilateral filter is changed to u x Replace it with the value after multi-level median filtering of the neighborhood centered at point x and N being half the filter width, that is, the grayscale weight formula is:

[0098]

[0099] It can be seen that if there is salt and pepper noise in the selected neighborhood of point x, and point y is a salt and pepper noise point, then |Y mlm (x)-u y | takes a larger value, then the grayscale weight of the point y is smaller, that is, the point The contribution is small; if there is no salt and pepper noise in the selected neighborhood of point x, then the grayscale weight of the point in the calculation field is consistent with the grayscale weight calculated by the bilateral filtering method, and this method is equivalent to the bilateral filtering method. Therefore, the bilateral filtering algorithm based on multi-level median filtering can effectively remove Gaussian noise and salt and pepper noise on seismic records at the same time.

[0100] The embodiment of the present invention also provides data experimental results of the above method, including two parts: simulated data experiment and actual data experiment, as follows:

[0101] 1. Simulation data experiment

[0102] First, we use the simulated data of a simple layered model to test the above method. The original simulated seismic image without noise is as follows: Figure 3a As shown, the intermediate excitation method is adopted, 101 detectors are received, the channel spacing is 25m, the number of time sampling points is 1001, the sampling interval is 4ms, and the sampling time is 4s. Figure 3b The result of adding Gaussian noise and salt and pepper noise to the original simulated seismic image, where the mean of Gaussian noise is 0 and the variance is 0.01; the noise level of salt and pepper noise is 10%.

[0103] The multi-level median filtering algorithm and bilateral filtering algorithm are used respectively. Figure 3bThe image is subjected to noise suppression, and the obtained Figure 4a , Figure 4b As a result, Figure 5a Shows Figure 3b and Figure 4a The image obtained by subtraction (i.e. the noise removed by the multi-level median filtering algorithm), Figure 5b Shows Figure 3b and Figure 4b From the subtracted image (i.e. the noise removed by the bilateral filtering algorithm), we can see that the multi-level median filtering algorithm is only effective for salt and pepper noise and cannot suppress Gaussian noise. The bilateral filtering algorithm has a good suppression effect on Gaussian noise but cannot suppress salt and pepper noise.

[0104] If Gaussian noise and salt and pepper noise are to be removed from seismic images at the same time, a multi-level median filtering algorithm and a bilateral filtering algorithm need to be used simultaneously. Figure 6a Shows the Figure 3b The result of the simulated seismic image with added noise in the image is first subjected to bilateral filtering denoising, and then to multi-level median filtering denoising. Figure 6b The bilateral filtering algorithm based on multi-stage median filtering is shown. Figure 3b The noise suppression results of the simulated seismic image with noise in the Figure 6a and Figure 6b It can be seen from the image boundary that the bilateral filtering algorithm based on multi-level median filtering has a better denoising effect.

[0105] Here we use the signal-to-noise ratio method to evaluate Figure 6a and Figure 6b The signal-to-noise ratio calculation formula for the two corresponding denoising methods is:

[0106]

[0107] Where ‖·‖2 represents the 2-norm. After calculation, Figure 3b The signal-to-noise ratio of the simulated seismic image with medium noise is -5.7dB. Figure 6a The signal-to-noise ratio of the denoising result shown is 5.1dB. Figure 6b The signal-to-noise ratio of the denoising result is shown to be 6.0 dB. Obviously, the denoising result of the seismic image noise suppression method provided by the embodiment of the present invention has a higher signal-to-noise ratio.

[0108] 2. Actual data experiment

[0109] The method provided by the embodiment of the present invention is used to denoise a two-dimensional shallow seismic profile image. The number of time sampling points of the two-dimensional seismic profile image is 2800, the sampling interval is 0.1ms, the sampling time is 0.28s, there are 240 traces in total, and the trace spacing is 25m. Figure 7As shown in the figure, it can be seen that the seismic profile contains obvious noise, which makes some of the phase axes unclear and discontinuous. Figure 8 The noise suppression result of the two-dimensional seismic profile image is obtained by applying the method provided in the embodiment of the present invention. Fig. 9 for Figure 7 and Figure 8 From the image obtained by subtraction (i.e., the random noise removed by the method provided in the embodiment of the present invention), it can be seen that the random noise is effectively suppressed.

[0110] Corresponding to the above-mentioned seismic image noise suppression method, the embodiment of the present invention further provides a seismic image noise suppression device, which is used to perform filtering and repair processing on each pixel point in the original seismic image in turn to obtain a target seismic image after noise suppression processing, see Fig.10 A structural schematic diagram of a seismic image noise suppression device is shown, the device comprising:

[0111] The median filtering module 1002 is used to perform median filtering on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain a filtered value.

[0112] A weight determination module 1004 is used to determine the grayscale weight corresponding to each neighboring point according to the above-mentioned filtering value;

[0113] The bilateral filtering module 1006 is used to perform bilateral filtering on the current pixel point according to the grayscale weights corresponding to each neighboring point to obtain a target restoration value corresponding to the current pixel point.

[0114] The seismic image noise suppression device provided by the embodiment of the present invention sequentially performs the following filtering and repairing processing on each pixel point in the original seismic image to obtain the target seismic image after the noise suppression processing: according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, median filtering is performed on the current pixel point to obtain the filtering value; according to the filtering value, the grayscale weight corresponding to each neighboring point is determined; according to the grayscale weight corresponding to each neighboring point, bilateral filtering is performed on the current pixel point to obtain the target repair value corresponding to the current pixel point. This filtering and repairing method combining median filtering and bilateral filtering can effectively remove Gaussian noise and salt and pepper noise on the seismic image at the same time. Compared with the filtering method of performing median filtering and bilateral filtering on the original seismic image in turn, it simplifies the denoising process and improves the signal-to-noise ratio.

[0115] Furthermore, the above-mentioned median filtering module 1002 is specifically used to: perform multi-level median filtering on the current pixel point using a two-dimensional multi-level median filtering algorithm according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, so as to obtain a filtering value.

[0116] Furthermore, the weight determination module 1004 is specifically used to calculate the grayscale weight corresponding to each neighbor point by the following formula:

[0117]

[0118] Among them, ω R (x,y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, Y mlm (x) represents the filter value corresponding to the current pixel x, u y Represents the gray value of the neighboring point y, σ R is a preset grayscale constant with a value range of (0, 1).

[0119] Furthermore, the bilateral filtering module 1006 is specifically used to calculate the target restoration value corresponding to the current pixel point by the following formula:

[0120]

[0121] ω(x,y)=ω S (x,y)ω R (x,y),

[0122]

[0123] in, represents the target restoration value corresponding to the current pixel point x, Ω represents the neighborhood corresponding to the current pixel point x, and u y Represents the gray value of the neighboring point y, ω S (x,y) represents the distance weight corresponding to the neighboring point y of the current pixel x, ω R (x, y) represents the grayscale weight corresponding to the neighboring point y of the current pixel x, |xy| represents the distance between the current pixel x and its neighboring point y, σ S is a preset distance constant with a value range of (0, 1).

[0124] The implementation principle and technical effects of the device provided in this embodiment are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0125] See also Fig.11 An embodiment of the present invention further provides an electronic device 100, including: a processor 1100, a memory 1101, a bus 1102 and a communication interface 1103, wherein the processor 1100, the communication interface 1103 and the memory 1101 are connected via the bus 1102; the processor 1100 is used to execute an executable module stored in the memory 1101, such as a computer program.

[0126] The memory 1101 may include a random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0127] The bus 1102 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0128] Among them, the memory 1101 is used to store programs, and the processor 1100 executes the program after receiving the execution instruction. The method executed by the process definition device disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 1100, or implemented by the processor 1100.

[0129] The processor 1100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1100. The above processor 1100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1101, and the processor 1100 reads the information in the memory 1101 and completes the steps of the above method in combination with its hardware.

[0130] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for suppressing noise in seismic images described in the above method embodiment is executed. The computer-readable storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk, or an optical disk, and other media that can store program codes.

[0131] In all examples shown and described herein, any specific values ​​should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.

[0132] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0133] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0135] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0136] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for suppressing noise in seismic images, characterized in that: include: The following filtering and repairing processes are performed on each pixel in the original seismic image in turn to obtain the target seismic image after noise suppression: According to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, median filtering is performed on the current pixel point to obtain a filtered value; Determine the grayscale weight corresponding to each of the neighboring points according to the filter value; According to the grayscale weights corresponding to the neighboring points, bilateral filtering is performed on the current pixel to obtain a target restoration value corresponding to the current pixel; Determining the grayscale weight corresponding to each of the neighboring points according to the filtering value includes: The grayscale weight corresponding to each of the neighboring points is calculated by the following formula: , in, Indicates the current pixel x Neighbors of y The corresponding grayscale weight, Indicates the current pixel x The corresponding filter value is u y Represents neighboring points y The gray value of is a preset grayscale constant with a value range of (0, 1); The step of performing bilateral filtering on the current pixel point according to the grayscale weights corresponding to each of the neighboring points to obtain a target restoration value corresponding to the current pixel point includes: The target restoration value corresponding to the current pixel is calculated by the following formula: , , , in, Indicates the current pixel x The corresponding target repair value, Indicates the current pixel x The corresponding neighborhood, u y Represents neighboring points y The gray value of is the bilateral filter kernel function, Indicates the current pixel x Neighbors of y The corresponding distance weight is Indicates the current pixel x Neighbors of y The corresponding grayscale weight, Indicates the current pixel x Its neighboring points y The distance between is a preset distance constant with a value range of (0, 1).

2. The method for suppressing noise in seismic images according to claim 1, characterized in that: The step of performing median filtering on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain a filtered value includes: According to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, a two-dimensional multi-level median filtering algorithm is used to perform multi-level median filtering on the current pixel point to obtain a filtering value.

3. A seismic image noise suppression device, characterized in that: The device is used to perform filtering and repair processing on each pixel point in the original seismic image in turn to obtain a target seismic image after noise suppression processing, and the device includes: A median filtering module is used to perform median filtering on the current pixel point according to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point to obtain a filtered value; A weight determination module, used to determine the grayscale weight corresponding to each of the neighboring points according to the filter value; A bilateral filtering module, used to perform bilateral filtering on the current pixel point according to the grayscale weights corresponding to each of the neighboring points, to obtain a target restoration value corresponding to the current pixel point; The weight determination module is specifically used for: The grayscale weight corresponding to each of the neighboring points is calculated by the following formula: , in, Indicates the current pixel x Neighbors of y The corresponding grayscale weight, Indicates the current pixel x The corresponding filter value is u y Represents neighboring points y The gray value of is a preset grayscale constant with a value range of (0, 1); The bilateral filtering module is specifically used for: The target restoration value corresponding to the current pixel is calculated by the following formula: , , , in, Indicates the current pixel x The corresponding target repair value, Indicates the current pixel x The corresponding neighborhood, u y Represents neighboring points y The gray value of is the bilateral filter kernel function, Indicates the current pixel x Neighbors of y The corresponding distance weight is Indicates the current pixel x Neighbors of y The corresponding grayscale weight, Indicates the current pixel x Its neighboring points y The distance between is a preset distance constant with a value range of (0, 1).

4. The seismic image noise suppression device according to claim 3, characterized in that: The median filter module is specifically used for: According to the grayscale values ​​of each neighboring point in the neighborhood corresponding to the current pixel point, a two-dimensional multi-level median filtering algorithm is used to perform multi-level median filtering on the current pixel point to obtain a filtering value.

5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the method according to claim 1 or 2 is implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 1 or 2 is performed.