Image noise reduction method, device and storage device

By determining the noise value of reference pixels in the image and selecting appropriate noise reduction thresholds according to the region for processing, the problem of poor image noise reduction caused by global thresholds is solved and better noise removal is achieved.

CN113536214BActive Publication Date: 2024-10-18ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010292363.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-14
Publication Date
2024-10-18
Estimated Expiration
2040-04-14

AI Technical Summary

Technical Problem

In the process of image denoising in the existing technology, global thresholds are often used, resulting in excessive smoothing of low-noise areas or too low noise reduction intensity in high-noise areas, resulting in poor results.

Method used

By obtaining the reference pixels in the initial image, calculating their noise values, and selecting the corresponding image blocks to be denoised and noise reduction thresholds according to different noise areas, the noise reduction processing is performed for different areas to avoid the insufficiency of global thresholds.

Benefits of technology

It achieves better image noise reduction effects, avoids the problems of excessive smoothing in low-noise areas and low noise reduction intensity in high-noise areas, and improves the quality of image noise reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113536214B_ABST
    Figure CN113536214B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and storage device for image denoising, comprising: obtaining an initial image, and determining a number of reference pixels in the initial image; respectively calculating the noise value of the area where each reference pixel is located in the initial image; selecting an image block to be denoised containing the reference pixel in the initial image according to the noise value of the area where each reference pixel is located, and obtaining a denoising threshold corresponding to the image block to be denoised; based on the denoising threshold corresponding to each image block to be denoised, denoising the image block to be denoised to obtain a corresponding denoised image block; fusing the obtained denoised image blocks to obtain a denoised image; wherein the distance between adjacent reference pixels is less than or equal to the size of the image block to be denoised. The technical solution provided by the present invention can improve the effect of image denoising.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method, device and storage device for image noise reduction. Background Art

[0002] In recent years, benefiting from the development of image sensing technology and the rapid development of computer software and hardware capabilities, research in the field of computer vision has also been continuously developed and progressed. Image sensing technology has been widely used in fields such as face recognition, vehicle detection, and medical image analysis, and the actual effects of these applications are often very dependent on the noise level of the image. Generally speaking, when the image noise level is low, the results of these applications are more credible, and vice versa. However, in most cases, image acquisition is often affected by various factors, and noise is difficult to avoid. Therefore, there is an urgent need for an image denoising technology with better noise reduction effect to solve the problem of poor image noise reduction in the prior art. Summary of the invention

[0003] The main technical problem solved by the present application is to provide a method, device and storage device for image noise reduction, which can improve the effect of image noise reduction.

[0004] In order to solve the above technical problems, a technical solution adopted by the present application is to provide an image noise reduction method, comprising:

[0005] Acquire an initial image, and determine a number of reference pixel points in the initial image;

[0006] Calculating the noise value of each reference pixel in the initial image;

[0007] According to the noise value of the area where each reference pixel point is located, selecting an image block to be denoised containing the reference pixel point in the initial image, and obtaining a noise reduction threshold value corresponding to the image block to be denoised;

[0008] Based on the noise reduction threshold value corresponding to each of the image blocks to be noise reduced, performing noise reduction processing on the image blocks to be noise reduced to obtain corresponding image blocks with noise reduced;

[0009] The obtained denoised image blocks are merged to obtain a denoised image;

[0010] The distance between adjacent reference pixels is less than or equal to the size of the image block to be denoised.

[0011] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide an image noise reduction device, the device comprising a coupled memory and a processor, wherein:

[0012] The memory includes local storage and stores a computer program;

[0013] The processor is configured to run the computer program to execute the method described above.

[0014] In order to solve the above technical problem, another technical solution adopted by the present application is: providing a storage device, wherein the storage device stores a computer program that can be executed by a processor, and the computer program is used to implement the above method.

[0015] The technical solution provided by the present application, after obtaining an initial image and determining a number of reference pixels in the initial image, respectively calculates the noise value of each reference pixel in the initial image, and then selects a corresponding image block to be denoised containing the reference pixels in the initial image according to the noise value of the area where each reference pixel is located, and obtains the noise reduction threshold corresponding to the current image block to be denoised according to the noise value of the area where each image block to be denoised is located, thereby achieving noise reduction processing with different noise reduction thresholds for the image block to be denoised where the reference pixels are located according to the noise levels of the areas where different reference pixels are located. Compared with the noise reduction using the global threshold in the prior art, the problem of over-smoothing of low-noise areas or too low noise reduction intensity in high-noise areas caused by using the global threshold for noise reduction is avoided. The technical solution provided by the present application can achieve better noise reduction on the image, and solves the technical problems that urgently need to be solved in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flow chart of an image noise reduction method in an embodiment of the present application;

[0017] Figure 2 This is a schematic diagram of reference pixel selection in an embodiment of an image noise reduction method of the present application;

[0018] Figure 3 This is a schematic diagram of reference pixel selection in an embodiment of an image noise reduction method of the present application;

[0019] Figure 4 This is a schematic diagram of obtaining an image block corresponding to a reference pixel point in an embodiment of an image noise reduction method of the present application;

[0020] Figure 5 A schematic diagram of a flow chart of another embodiment of a method for image noise reduction in the present application;

[0021] Figure 6 This is a flow chart of another embodiment of a method for image noise reduction in the present application;

[0022] Figure 7This is a schematic diagram of performing edge extension processing on an initial image in an embodiment of a method for image noise reduction of the present application;

[0023] Figure 8 This is a flow chart of another embodiment of a method for image noise reduction in the present application;

[0024] Fig. 9 This is a schematic diagram of a mapping relationship between fusion weights and pixel values ​​in an embodiment of an image denoising method of the present application;

[0025] Fig.10 This is a flow chart of another embodiment of a method for image noise reduction in the present application;

[0026] Fig.11 This is a flow chart of another embodiment of a method for image noise reduction in the present application;

[0027] Fig.12 This is a flow chart of another embodiment of a method for image noise reduction in the present application;

[0028] Fig.13 It is a structural schematic diagram of an image noise reduction device in an embodiment of the present application;

[0029] Fig.14 It is a schematic structural diagram of an embodiment of a storage device of the present application. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0031] In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0033] In the prior art, most methods based on transform domain are used to reduce image noise, that is, by converting the image into the transform domain to conveniently extract the high-frequency information containing noise, and then adjusting the high-frequency information by setting a threshold to achieve image denoising. However, the actual noise reduction effect often fails to meet expectations.

[0034] See also Figure 1 , Figure 1 This is a flow chart of an embodiment of a method for image noise reduction in the present application. In the current embodiment, the method provided by the present application includes:

[0035] S110: Acquire an initial image, and determine a number of reference pixels in the initial image.

[0036] The initial image is an image that needs to be subjected to noise reduction processing. The reference pixels are pixels selected from the initial image according to the set reference pixel selection rules. The number of reference pixels in each initial image is determined based on the size of the initial image and the set reference pixel selection rules, which are not limited here. In addition, the set reference pixel selection rules can be set and adjusted by the user according to actual needs, and no limitation is made to the set reference pixel selection rules.

[0037] In one embodiment, after acquiring the initial image, the initial image may be further decomposed to obtain YUV data, that is, Y channel data, U channel data, and V channel data. After the data decomposition, the decomposed image data is subjected to the following related noise reduction methods to obtain noise-reduced Y channel data, noise-reduced U channel data, and noise-reduced V channel data, respectively, and then the noise-reduced Y channel data, U channel data, and V channel data are synthesized to obtain a noise-reduced image with a better noise reduction effect. It is understood that the type of the initial image is not specifically limited here.

[0038] S120: Calculate the noise value of each reference pixel in the initial image.

[0039] In the above step S110, after a number of reference pixels are determined in the initial image, the noise value of the area where each reference pixel in the initial image is located is calculated respectively.

[0040] Furthermore, step S120 calculates the noise value of the area where each reference pixel in the initial image is located, including: determining an area with the reference pixel as the vertex and a size of a preset area size, and obtaining the noise value of the area where the reference point is located based on the pixel values ​​of all pixels in the area. The specific calculation method can be found in the corresponding part below and will not be described in detail here.

[0041] The region where each reference pixel is located is an image block of a preset size with the reference pixel as a vertex in the initial image, and the image block of the preset size is used to determine the noise value of the region where the current reference pixel is located, so as to determine the size of the image block to be denoised corresponding to the current reference pixel and the corresponding noise reduction threshold according to the noise value of the region where the reference pixel is located. Specifically, in one embodiment, each reference pixel is the upper left vertex of an image block of a preset size, and the preset size is 8×8. In another embodiment, each reference pixel is the upper right vertex of an image block of a preset size, and the preset size is 16×16.

[0042] An image block is an image block containing multiple pixels selected from an initial image with a reference pixel as a vertex according to a preset image block selection rule. The image block to be denoised described below is an image block waiting for denoising. The image block to be denoised is an image block with a reference pixel as a vertex and a size that is reselected according to the noise value of the area where the reference vertex is located. The specific position of the reference pixel in the image block to be denoised is not limited here. In the same initial image, the sizes of the image blocks to be denoised corresponding to different reference pixels may be different, and the size of the image block to be denoised corresponding to each reference pixel is determined according to the preset image block selection rule and the noise value of the area where the current reference pixel is located. The image blocks to be denoised corresponding to adjacent reference pixels may have overlapping parts, that is, the same pixel can be in multiple adjacent image blocks to be denoised at the same time. The preset image block selection rule is described in detail in the corresponding part below.

[0043] In one embodiment, step S120 may be to calculate the noise estimation value of the area where each reference pixel point in the initial image is located. That is, the noise estimation value in the image block of the preset size where the reference pixel point is located is calculated. In the current embodiment, the pixel variance of the image block of the preset size is selected as the noise estimation value. The preset size is determined according to an empirical value and is not specifically limited here. For example, the preset size may be 8×8.

[0044] S130: According to the noise value of the area where each reference pixel is located, an image block to be denoised containing the reference pixel is selected from the initial image, and a noise reduction threshold corresponding to the image block to be denoised is obtained.

[0045] The distance between adjacent reference pixels is less than or equal to the size of the image block to be denoised.

[0046] After the noise value of the region where each reference pixel point in the initial image is located is calculated and obtained in step S120, an image block to be denoised containing the reference pixel point is further selected in the initial image according to the noise value of the region where each reference pixel point is located calculated in step S120. The image block to be denoised is an image block including the reference pixel point selected according to the noise value of the region where the reference pixel point is located. Since the noise values ​​of the regions where different reference pixel points in the same initial image are located are different, the sizes of the image blocks to be denoised corresponding to different reference pixel points in the same initial image may be different. For details, please refer to the description in the corresponding embodiment below.

[0047] When selecting the image block to be denoised containing the reference pixel in the initial image or after selecting the image block to be denoised containing the reference pixel, the noise reduction threshold corresponding to the current image block to be denoised can be obtained according to the noise value of the area where each reference pixel is located. The noise reduction threshold is an empirical value of noise reduction set in advance by the user according to the noise reduction effect corresponding to different noise values, that is, when the noise value is in different preset noise ranges, different noise reduction thresholds will correspond.

[0048] Furthermore, the above step S130 selects the image block to be denoised containing the reference pixel in the initial image according to the noise value of the area where each reference pixel is located, and obtains the noise reduction threshold corresponding to the image block to be denoised, including: determining the preset noise range to which the noise value of the area where the reference pixel is located belongs, selecting the image block to be denoised containing the reference pixel and having a preset block size corresponding to the preset noise range in the initial image, and obtaining the noise reduction threshold corresponding to the preset noise range as the noise reduction threshold corresponding to the image block to be denoised. Wherein, the greater the noise in the preset noise range, the larger the corresponding preset block size.

[0049] Wherein, determining the preset noise range to which the noise value of the region where the reference pixel point is located belongs refers to determining the preset noise range to which the noise value of the region where the current reference pixel point is located belongs, so as to determine the size of the image block to be denoised that needs to be selected according to the result of the determination. Wherein, the preset noise range is determined according to the bit width of the initial image, that is, the upper limit value and / or the lower limit value of the preset noise range are determined according to the bit width of the initial image, and the number of the preset noise ranges is greater than or equal to three.

[0050] At the same time or after selecting the image block to be denoised, further obtain a denoising threshold value corresponding to the image block to be denoised corresponding to the preset noise range. Specifically, according to the preset noise range to which the noise value of the area where the current reference pixel is located obtained in the above step belongs, determine the denoising threshold value of the image block to be denoised where the current reference pixel is located. The greater the noise in the preset noise range, the greater the corresponding denoising threshold value.

[0051] Specifically, in the process of image denoising, for high noise areas, the purpose of image denoising is to remove noise as much as possible. Therefore, in the process of denoising, the information of pixels around the reference pixel is fully utilized to achieve this goal. Therefore, it is necessary to select a relatively large image block with the reference pixel as the vertex. Correspondingly, for high noise areas, a larger threshold needs to be selected to effectively suppress the noise signal.

[0052] For example, in the current embodiment, in order to realize the above assumption, the noise value of the area where the reference pixel is located is first calculated, that is, the noise level of the area where the reference pixel is located is estimated. Specifically, the variance of the pixels in the image block with the current reference pixel as the upper left vertex and a preset size of 8×8 is calculated, and the size of the variance is used to reflect the noise level of the image block. If the variance is large, the area where the current reference pixel is located can be considered to be a high-noise area, otherwise, the area where the current reference pixel is located can be considered to be a low-noise area.

[0053] Specifically, given a two-dimensional image A and a reference pixel point P, where the coordinate index of the reference pixel point P is (i, j), first calculate the pixel mean μ of the area where the reference pixel point P is located. The calculation formula of the pixel mean is:

[0054]

[0055] After obtaining the pixel mean at the reference pixel point P, the noise value (which may also be referred to as the noise estimation value in other embodiments) of the region where the reference pixel point is located is obtained, that is, the variance σ of the region where the reference pixel point P is located is obtained. 2 . The calculation formula of variance is:

[0056]

[0057] Wherein, (x, y) in the above formula refers to the pixel coordinates of each pixel point in the area where the reference pixel point is located.

[0058] After obtaining the noise estimation value of the area where the reference pixel point P is located, we will further select the image block to be denoised that contains the reference pixel point and has a preset block size in the initial image based on the noise value of the area where the reference pixel point is located and a given preset noise range, and determine the noise reduction threshold of the image to be denoised.

[0059] For example, when the given preset noise range is the noise range defined by the first variance threshold t1 and the second variance threshold t2, where t1<t2, the noise value σ of the area where the reference pixel point P is located is determined. 2 The preset noise range to which it belongs. Among them, in the current embodiment, the preset noise range includes three ranges: less than t1, greater than or equal to t1 and less than or equal to t2, and greater than t2. Specifically, in the current embodiment, the size of the image to be denoised with the reference pixel point P as the vertex is determined according to the following formula. The following formula can also be understood as a rule for selecting image block sizes corresponding to high, medium, and low noise areas and their different areas. Specifically, the definition formula of the image block size in different areas is:

[0060]

[0061] It should be noted that the image block sizes corresponding to different preset noise ranges and the variance thresholds used to define the preset noise ranges can be adjusted according to actual needs, and are not specifically limited here.

[0062] Correspondingly, when or after the size of the image block to be selected for denoising is determined, the denoising threshold T corresponding to the image block to be denoised will be further determined according to the noise value of the area where the reference pixel point is located. 2 When t1 is less than t1, the noise reduction threshold T is th_low. 2 When t1 is greater than or equal to t2 and t2 is less than or equal to t1, the noise reduction threshold T is th_mid. 2 When it is greater than t2, the noise reduction threshold T is th_high. The specific selection formula of the noise reduction threshold T is as follows:

[0063]

[0064] In the above formula, th_low, th_mid and th_high determine the degree of noise reduction in different noise level areas. Among them, th_low≤th_mid≤th_high, that is, the greater the noise reduction threshold T, the greater the degree of noise reduction, and vice versa, the smaller the noise reduction threshold T, the smaller the degree of noise reduction. It should be noted here that th_low, th_mid, th_high, t1, and t2 are all empirical parameters pre-set by the algorithm. The specific values ​​of the above parameters are not limited here, and in different embodiments, the user can adjust the values ​​of the above parameters to achieve the noise reduction effect of the adjustment algorithm.

[0065] Among them, the values ​​of the five parameters th_low, th_mid, th_high, t1 and t2 need to be adjusted accordingly based on the bit width of the initial image. For example, taking 8-bit bit width as an example, the default values ​​of th_low, th_mid, and th_high can be 100, 280, and 1200 respectively, and the default values ​​of t1 and t2 are 5000 and 10000.

[0066] S140: Based on the noise reduction threshold corresponding to each image block to be denoised, perform noise reduction processing on the image block to be denoised, so as to obtain a corresponding image block after noise reduction.

[0067] After obtaining the noise reduction threshold corresponding to the image to be denoised in step S130, based on the noise reduction threshold corresponding to each image block to be denoised, noise reduction processing is performed on each image block to be denoised according to the noise reduction threshold corresponding to each image block to be denoised. In one embodiment, a set frequency domain transformation method can be used to perform noise reduction processing on the image block to be denoised. For detailed techniques of noise reduction processing, please refer to the following Figure 5 The description in the corresponding embodiment.

[0068] S150: Fusing the obtained denoised image blocks to obtain a denoised image.

[0069] After performing denoising processing on each image block to be denoised in the initial image and obtaining denoised image blocks, the obtained denoised image blocks are fused according to a set rule to obtain a denoised image, thereby completing the denoising processing on the initial image.

[0070] This application Figure 1 In the corresponding embodiment, after obtaining an initial image and determining a number of reference pixels in the initial image, the noise value of each reference pixel in the initial image is calculated respectively, and then, based on the noise value of the area where each reference pixel is located, the image block to be denoised containing the reference pixel is selected in the initial image, and the noise reduction threshold corresponding to the current image block to be denoised is obtained based on the noise value of the area where each image block to be denoised is located, thereby implementing noise reduction processing with different noise reduction thresholds for the image block to be denoised where the reference pixel is located according to the noise values ​​of the areas where different reference pixels are located. Compared with the noise reduction using the global threshold in the prior art, the problem of over-smoothing of low-noise areas or too low noise reduction intensity in high-noise areas caused by using the global threshold for noise reduction is avoided, thereby achieving better noise reduction effect on the image.

[0071] Furthermore, determining a number of reference pixels in the initial image in step S110 includes searching for a number of reference pixels in the initial image according to a preset step length, wherein the preset step length can be set and adjusted by the user based on an empirical value.

[0072] Furthermore, a range of values ​​for the preset step length is set so that the user can adjust the preset step length within the set range. For example, the preset step length range is 1, 2, and 3, and the user can select the required step length within the preset range as needed.

[0073] Please also refer to Figure 2 and Figure 3 , Figure 2 and Figure 3 This is a schematic diagram of reference pixel selection in an embodiment of an image denoising method of the present application. In one embodiment, given a border image of size wb×hb (where wb is the border image width, hb is the border image height, and details about the border can be found below), taking the reference pixel search step s=3 as an example, the calculation process of the reference pixel coordinate index array is as follows (d is the image border width):

[0074] ① Define two one-dimensional arrays to store the row and column coordinate index values ​​of the reference pixel points respectively;

[0075] ② Take 0 as the initial point and traverse the row coordinate range [0, hb-d] with a step size of s. For each traversed point i, add its value to the row coordinate index array. The specific process is as follows Figure 2 shown.

[0076] ③ Similarly, starting from 0, traverse the column coordinate range [0, wb-d] with a step size of s. For each traversed point j, add its value to the column coordinate index array. The process is as follows: Figure 3 shown.

[0077] ④ According to the reference pixel row coordinate index array and the reference pixel column coordinate index array, traverse the initial image to obtain all reference pixels, and for the current reference pixel traversed, obtain the image block to be denoised with it as the vertex. As mentioned above, the size of the image block to be obtained needs to be determined according to the noise value of the area where the current reference pixel is located. The process of obtaining the image block corresponding to the reference pixel can be seen in Figure 4 ,, Figure 4 FIG. 1 is a schematic diagram of obtaining an image block corresponding to a reference pixel point in an embodiment of an image noise reduction method of the present application. Figure 4 As shown in FIG. 1 , the current reference pixel point P is taken as the vertex, and the 8×8 image block needs to be selected according to the given preset noise range where the noise value of the area where the reference pixel point is located. Figure 4 As shown, P is taken as the vertex, and an image block to be denoised with a size of 8×8 is selected.

[0078] See also Figure 5 , Figure 5The above step S140 performs noise reduction processing on the image blocks to be denoised based on the noise reduction threshold value corresponding to each image block to be denoised to obtain the corresponding image blocks that have been denoised, which in the current embodiment includes:

[0079] S501: Perform frequency domain transformation on each image block to be denoised to obtain a corresponding frequency domain block.

[0080] First, a frequency domain transformation is performed on each image block to be denoised using a preset frequency domain transformation method to obtain a corresponding frequency domain block. The frequency domain transformation method includes at least: discrete cosine transformation, discrete sine transformation, etc., but is not limited thereto.

[0081] Further, step S501 includes: using 2D Walsh-Hadamard transform to perform frequency domain transform on each image block to be denoised to obtain a corresponding frequency domain block. In the current embodiment, selecting 2D Walsh-Hadamard transform can well reduce the complexity of algorithm operation, and also reduce the resource requirements for hardware, so that the algorithm can be applied to hardware that does not support floating point operations.

[0082] S502: Determine whether the absolute value of the pixel value of each pixel point in the frequency domain block is less than the noise reduction threshold corresponding to the image block to be denoised.

[0083] After performing frequency domain transformation on each image block to be denoised to obtain a corresponding frequency domain block, it is further determined whether the absolute value of the pixel value of each pixel point in each frequency domain block is less than the denoising threshold corresponding to each image block to be denoised.

[0084] S503: Adjust the pixel value of the pixel point to zero.

[0085] If it is determined that the absolute value of the pixel value of the pixel point is less than the noise reduction threshold corresponding to the image block to be denoised where the pixel point is located, the pixel value of the pixel point will be adjusted to zero.

[0086] On the contrary, if it is determined that the pixel value of the pixel point in the frequency domain block is greater than or equal to the noise reduction threshold corresponding to the image block to be denoised where the pixel point is located, the pixel value of the pixel point will be retained unchanged. After each pixel point in the frequency domain block is determined to obtain the adjusted frequency domain block, the following step S504 will be executed.

[0087] S504: Perform an inverse transformation of the frequency domain transformation on the adjusted frequency domain block to obtain a corresponding noise-reduced image block.

[0088] The adjusted frequency domain block is subjected to an inverse transformation of the corresponding frequency domain transformation to obtain a corresponding noise-reduced image block.

[0089] As described above, if the 2D Walsh-Hadamard transform is used to perform frequency domain transform on each image block in step S501, then the corresponding 2D Walsh-Hadamard inverse transform is used in step S504 to obtain the corresponding denoised image block.

[0090] Taking the frequency domain transformation method as 2D Walsh-Hadamard transform as an example, assuming that the size of the current image block to be denoised is N×N (N=2 n ,n=2,3,4), the 2D Walsh-Hadamard transform calculation formula is as follows:

[0091]

[0092] In the above formula, the calculation formula of the transformation kernel g(x,u,y,v) is as follows:

[0093]

[0094] Among them, bi(z) represents the value of the i+1th bit of the binary representation of z, u and v represent the coordinates in the frequency domain after conversion, and z is used to represent x, y, u and v.

[0095] As for the 2D Walsh-Hadamard inverse transform, it is similar to the 2D Walsh-Hadamard forward transform, and the calculation formula is as follows:

[0096]

[0097] The definition of the transformation kernel g(x,u,y,v) in the above formula is consistent with the calculation method in the 2D Walsh-Hadamard transform, and the calculation formula will not be repeated here.

[0098] See also Figure 6 , Figure 6 This is a flow chart of another embodiment of a method for image denoising of the present application. In the current embodiment, the above step S150 fuses the obtained denoised image blocks to obtain a denoised image, including:

[0099] S601: Assign the pixel value of each pixel in the denoised image block to the corresponding pixel in the initial image to obtain an initial denoised image.

[0100] After the image blocks to be denoised are subjected to denoising, the pixel values ​​of each pixel in the denoised image blocks will be further assigned to the corresponding pixel in the initial image, thereby obtaining an initial denoised image. For example, assuming that there are 9 image blocks to be denoised in the initial image, after the image blocks to be denoised are subjected to denoising, the pixel values ​​of each pixel in the denoised image obtained after the denoising process will be assigned to the corresponding pixel in the initial image, that is, the pixel values ​​of the corresponding pixel in the initial image will be replaced with the pixel values ​​of the pixel in the 9 denoised images, thereby obtaining an initial denoised image.

[0101] Furthermore, in one embodiment, the above-mentioned step S601 assigns the pixel value of each pixel in the denoised image block to the corresponding pixel in the initial image to obtain an initial denoised image, including: if at least two denoised image blocks contain the same pixel, then the pixel values ​​of the pixel in the at least two denoised image blocks are obtained respectively.

[0102] After respectively obtaining the pixel values ​​of the pixel point in at least two denoised image blocks, the final pixel value of the pixel point is determined based on the pixel value of the pixel point in at least two denoised image blocks, and the final pixel value is assigned to the corresponding pixel point in the initial image. For example, in one embodiment, if the pixel point q is in three denoised image blocks A1, A2 and A3 at the same time, the pixel values ​​of the pixel point q in the denoised image blocks A1, A2 and A3 are respectively obtained, and then the average of the three obtained pixel values ​​is calculated as the final pixel value of the pixel point q and assigned to the pixel point q. In another embodiment, the pixel value with a high probability in at least two denoised image blocks can be selected as the final pixel value of the pixel point, and the obtained final pixel value is assigned to the corresponding pixel point in the initial image.

[0103] For further information, see Figure 7 , Figure 7 A schematic diagram of performing edge extension processing on an initial image in an embodiment of an image denoising method of the present application. In one embodiment, before determining a number of reference pixels in the initial image, the method provided by the present application further includes: performing edge extension processing on the initial image according to a set rule so that each side of the initial image has an edge extension area added outward.

[0104] Specifically, for each channel data, it is necessary to perform edge extension. Take an initial image A with a size of w×h as an example, where w is the initial image width and h is the initial image height. Assuming that the width of the image edge extension is d, then calculate the edge extension image B with a size of wb×hb (where wb=w+2d is the edge extension image width and hb=h+2d is the edge extension image height), the steps are as follows:

[0105] For the area with a size of w×h in the middle of the edge image, the pixels of the initial image are assigned one by one. The pixel calculation process of the center area of ​​the edge image is as follows: Figure 7 As shown in (a). To this end, it is necessary to traverse the initial image, record the row and column coordinate index values ​​of the current pixel accessed, and then calculate the index position of the current pixel in the edge extension image based on the row and column coordinate index values, and assign the value of the current pixel to the pixel in the edge extension image. Among them, d is set according to the size of the initial image, and is not limited here. For example, d can be 8 pixels wide.

[0106] The pixel values ​​of the pixels in the edge area of ​​the edge image can be assigned using a mirror assignment method. For example, for the pixels in the i-th row (i=0, 1, 2, 3, ..., d-1) in the edge image, the pixels in the 2d-i-th row in the edge image are assigned one by one. The process is as follows: Figure 7 As shown in (b) in .

[0107] Similarly, for the pixels in the hb-ith row (i=1, 2, ..., d) in the edge image, the pixels in the hb+i-2d-2th row in the edge image are assigned one by one. The process is as follows: Figure 7 As shown in (c) in .

[0108] like Figure 7 As shown in (d), for the pixels in the i-th column (i=0, 1, 2, 3, ..., d-1) in the edge extension image, the pixels in the 2d-i-th column in the edge extension image are assigned one by one.

[0109] like Figure 7 As shown in (f) in FIG. 1 , for pixels in the wb-i th column (i=1, 2, ..., d) in the edge extension image, pixels in the wb+i-2d-2 th column in the edge extension image are assigned one by one.

[0110] In the current embodiment, before determining a number of reference pixel points, the above-mentioned edge extension processing is performed on the initial image according to the set rules. Then, in step S601, the pixel value of each pixel point in the denoised image block is assigned to the corresponding pixel point in the initial image to obtain the initial denoised image. The method provided in the present application also includes: cropping the corresponding edge extension area in the initial denoised image, thereby retaining the part of the initial denoised image corresponding to the initial image.

[0111] exist Figure 7 In the corresponding embodiment, by performing edge extension processing on the initial image, better noise reduction processing can be performed on the edge area of ​​the initial image, thereby better improving the overall effect of image noise reduction.

[0112] S602: Determine a fusion weight corresponding to each pixel point according to the pixel value of each pixel point in the initial denoised image after the assignment.

[0113] After obtaining the denoised image, the fusion weight corresponding to each pixel point is further determined according to the pixel value of each pixel point in the initial denoised image after the assignment, so as to fuse the initial denoised image and the initial image according to the pixel value of each pixel point, and then obtain the final denoised image.

[0114] For further information, see Figure 8 , Figure 8This is a flow chart of another embodiment of a method for image noise reduction according to the present application. Figure 8 The corresponding embodiment mainly describes the process of determining the fusion weight. Specifically, step S602 includes:

[0115] S801: Obtain the maximum pixel value in the initial denoised image.

[0116] After obtaining the initial denoised image, the maximum pixel value of all pixels in the initial denoised image is first obtained. In one embodiment, in the method provided by the present application, the maximum pixel value in the initial denoised image can also be obtained directly according to the latest assignment result of each pixel point in the process of assigning the pixel value of each pixel point in the denoised image block to the corresponding pixel point in the initial image.

[0117] S802: Determine at least a first pixel threshold and a second pixel threshold between zero and a maximum pixel value.

[0118] Among them, the first pixel threshold is less than the second pixel threshold, and is less than the maximum pixel value in the initial denoised image. The first pixel threshold and the second pixel threshold can be determined based on the maximum pixel value in the initial denoised image, such as selecting a set ratio of the maximum pixel value in the initial denoised image as the first pixel threshold and the second pixel threshold based on an empirical value. In another embodiment, the first pixel threshold and the second pixel threshold can also be determined based on the distribution probability of the pixel values ​​corresponding to each pixel point in the denoised image, that is, the specific value of each pixel threshold is determined according to the percentage of the interval in which each pixel value is located. For example, between the pixel value of zero and the maximum value, the end value corresponding to the first 15% of the distribution of pixel values ​​from small to large can be selected as the first pixel threshold, and the right end value of 15% to 80% of the distribution of pixel values ​​from small to large can be selected as the second pixel threshold.

[0119] It can be understood that in different embodiments, multiple pixel thresholds can be set according to actual needs, such as 4 pixel thresholds can be set. Correspondingly, when multiple pixel thresholds are set, the mapping function between each pixel threshold and the corresponding preset ratio will be further obtained according to the set pixel threshold. For details, please refer to the explanation in the corresponding embodiment below.

[0120] S803: Determine a mapping function between a fusion weight and a pixel value according to a first pixel threshold, a first preset ratio, a second pixel value threshold, and a second preset ratio.

[0121] Specifically, the mapping function between the fusion weight and the pixel value can be fitted or calculated according to the first pixel threshold, the first preset ratio, the second pixel value threshold and the second preset ratio to determine the mapping function between the fusion weight and the pixel value.

[0122] S804: Determine the fusion weights corresponding to the pixels in the initial denoised image according to the mapping function.

[0123] According to the mapping function between the fusion weight and the pixel value determined in step S803 and the pixel value corresponding to each pixel in the initial denoised image, the fusion weight corresponding to each pixel point is determined respectively.

[0124] The core idea of ​​image fusion is to compensate for the loss of detail information by introducing the initial image information. For example, in one embodiment, assuming that the initial image is ori, the initial denoised image is den, and the final denoised image is res, then: res = α×den+(1-α)×ori.

[0125] Among them, α in the above formula is the fusion weight, and the calculation method of the fusion weight value α is as follows Fig. 9 shown.

[0126] Fig. 9 This is a schematic diagram of the mapping relationship between fusion weights and pixel values ​​in an embodiment of an image denoising method of the present application. Fig. 9 Where α0, α1, α2, p1, p2, p3, p4 and p5 are algorithm parameters, p3 is the maximum pixel value in the initial denoised image, which may vary depending on the input image. In another embodiment, p3 may be the maximum pixel value in the initial image.

[0127] In the method provided by the present application, considering that the noise in the bright and dark areas of the image is generally less, more attention is paid to the information of the initial image during the denoising process of the image, so more initial images will be taken during image fusion; for other areas, more attention is paid to the information of the initial denoised image, so more initial denoised images will be taken during image fusion, thereby achieving better denoising of the image, while also avoiding the loss of details of the image data due to denoising, thereby ensuring the accuracy of the image. In actual scenes, by adjusting the values ​​of α0, α1, α2, and the corresponding pixel thresholds (in the current embodiment, the pixel thresholds include p1, p2, p3, p4 and p5), denoising of different scene images can be achieved.

[0128] exist Fig. 9In the illustrated embodiment, after the maximum pixel value is obtained in the initial denoised image, α0, α1, α2, p1, p2, p3, p4 and p5 are further determined, and then the mapping functions between the fusion weights and the pixel values ​​between 0 and p1, and the mapping functions between the fusion weights and the pixel values ​​between p1 and p4, between p4 and p5, between p5 and p2, and between p2 and p3 are respectively calculated, and then the fusion weights corresponding to each pixel point in the initial denoised image are determined according to each mapping function. Among them, in one embodiment, α0, α1 and α2 are corresponding empirical values ​​selected according to the noise value of the image, and can be adjusted according to actual needs. For example, in the current embodiment, the default values ​​of α0, α1 and α2 can be 0.1, 0.3 and 0.8, and the values ​​of p1, p2, p4 and p5 can be determined according to the maximum pixel value p3 of the image. The specific selection method can be p1=0.15×p3, p2=0.85×p3, p4=0.25×p3, p5=0.75×p3.

[0129] S603: Using the fusion weights, fuse the initial denoised image and the initial image to obtain a denoised image.

[0130] After the fusion weights corresponding to the pixels are determined, the initial denoised image and the initial image are further fused according to the determined fusion weights to obtain the denoised image.

[0131] Furthermore, the above step S603 uses the fusion weight to fuse the initial denoised image and the initial image to obtain the denoised image, including: using the following formula to fuse the initial denoised image and the initial image to obtain the denoised image,

[0132]

[0133] Among them, a is the fusion weight, is the pixel value of the i-th pixel in the denoised image, is the pixel value of the i-th pixel in the initial denoised image, is the pixel value of the i-th pixel in the initial image.

[0134] See also Fig.10 , Fig.10 This is a flow chart of another embodiment of a method for image noise reduction according to the present application.

[0135] After performing denoising processing on the image blocks to be denoised based on the denoising threshold corresponding to each image block to be denoised in step S140 to obtain corresponding denoised image blocks, the method further includes:

[0136] S1001: Obtain pixel values ​​of pixel points belonging to multiple denoised image blocks in multiple denoised image blocks.

[0137] Since different image blocks to be denoised may include the same pixel points at the same time when selecting the image blocks to be denoised, in the current embodiment, after the image blocks to be denoised are denoised to obtain the denoised image blocks, the pixel values ​​of the pixel points that simultaneously belong to multiple denoised image blocks in multiple denoised image blocks are further obtained.

[0138] S1002: Determine a final pixel value of a pixel based on pixel values ​​of the pixel in a plurality of denoised image blocks, and assign the final pixel value to a corresponding pixel in the plurality of denoised image blocks.

[0139] After obtaining the pixel values ​​of the pixel point in multiple denoised image blocks, the average of the multiple pixel values ​​or the majority value among the multiple pixel values ​​can be determined as the final pixel value of the pixel point, and the final pixel value can be assigned to the corresponding pixel points in the multiple denoised image blocks respectively. In this way, when performing image block splicing and fusion, any value can be selected from the multiple denoised image blocks that simultaneously include the pixel point as the pixel value of the pixel point.

[0140] See also Fig.11 , Fig.11 This is a flow chart of another embodiment of a method for image denoising of the present application. In the current embodiment, the above step S150 of fusing the obtained denoised image blocks to obtain a denoised image includes:

[0141] S1101: Determine a fusion weight corresponding to a pixel point according to a pixel value of a pixel point in a denoised image block, and fuse the denoised image block and the image block to be denoised according to the fusion weight ratio to obtain a final denoised image block.

[0142] In the current embodiment, the denoised image block and the image to be denoised are first fused to obtain the final denoised image block, and then step S1102 is performed to aggregate the final denoised image block to obtain the denoised image. Figure 8 The corresponding embodiments are the same and will not be described again here.

[0143] For further information, see Fig.12 , Fig.12 This is a flow chart of another embodiment of a method for image denoising of the present application. In the current embodiment, determining the fusion weight corresponding to the pixel point according to the pixel value of the pixel point in the denoised image block in the above step S1101 further includes:

[0144] S1201: Obtain the maximum pixel value in the denoised image block.

[0145] Get the maximum pixel value in the current denoised image block.

[0146] S1202: Determine a first pixel threshold and a second pixel threshold between zero and a maximum pixel value, wherein the first pixel threshold is smaller than the second pixel threshold.

[0147] S1203: Determine a mapping function between a fusion weight and a pixel value according to the first pixel threshold, the first preset ratio, the second pixel threshold, and the second preset ratio.

[0148] S1204: Determine the fusion weights corresponding to the pixels in the denoised image block according to the mapping function. Determine the fusion weights corresponding to the pixels in the denoised image block according to the obtained mapping function, so as to fuse the denoised image block and the image block to be denoised according to the fusion weights.

[0149] exist Fig.12 In the corresponding embodiment, the method for obtaining the fusion weight ratio is described in an embodiment in which after the denoised image block is subjected to denoising processing and the denoised image block is obtained, the fusion of the image blocks is performed in units of image blocks. In the current embodiment, since the number of pixels included in the image block is less than that of the complete denoised image, a smaller number of pixel thresholds can be selected, and then a mapping function between the fusion weight and the pixel value can be obtained, and finally the fusion weight of each pixel can be determined according to the obtained mapping function. The relevant contents of steps S1201 to S1204 in the current embodiment can also be referred to above. Figure 8 The corresponding part of the explanation will not be repeated again.

[0150] Furthermore, in one embodiment, when the image blocks are fused, the image blocks to be denoised and the denoised image blocks with smaller sizes (i.e., image blocks including fewer pixels) can be directly fused according to preset fusion weights.

[0151] Furthermore, in another embodiment, when image blocks are fused, for image blocks that are smaller than or equal to a preset size, the corresponding preset fusion weight can be directly determined according to the average pixel value of the image block, wherein the preset fusion weight is an empirical value obtained through testing.

[0152] Then the step S1101 of fusing the denoised image block and the image block to be denoised according to the fusion weight ratio to obtain the final denoised image block further includes: fusing the denoised image block and the image block to be denoised using the following formula to obtain the final denoised image block.

[0153]

[0154] Among them, α is the fusion weight, is the pixel value of the i-th pixel in the final denoised image block, is the pixel value of the i-th pixel in the denoised image block, is the pixel value of the i-th pixel in the image block to be denoised, where the fusion weight α is determined as above. Figure 8 The corresponding embodiments are the same and will not be described again here.

[0155] S1102: Aggregate the final denoised image blocks to obtain a denoised image.

[0156] Aggregating the final denoised image blocks refers to simply aggregating the final denoised image blocks according to the pixel coordinates of the final denoised image blocks to obtain the denoised image.

[0157] See also Fig.13 , Fig.13 FIG. 1 is a schematic diagram of a structure of an apparatus for image denoising in an embodiment of the present application. In the current embodiment, the apparatus for image denoising 1300 provided by the present application includes a coupled processor 1301 and a memory 1302. The apparatus for image denoising 1300 may execute Figures 1 to 12 And the image denoising method described in any corresponding embodiment.

[0158] The memory 1302 includes a local storage (not shown) and stores a computer program. When the computer program is executed, Figures 1 to 12 And the method described in any corresponding embodiment.

[0159] The processor 1301 is coupled to the memory 1302, and the processor 1301 is used to run the computer program to execute the above Figures 1 to 12 And the image denoising method described in any corresponding embodiment.

[0160] Furthermore, in another embodiment, the image denoising apparatus 1300 provided in the present application may also include a communication circuit (not shown), which is connected to the processor 1301 and is used to perform data interaction with an external terminal device under the control of the processor 1301 to obtain initial image data or instruction data. The instruction data may include at least a computer program upgrade instruction and a data packet required for the computer program upgrade.

[0161] See also Fig.14 , Fig.14 1400 is a schematic diagram of a storage device in an embodiment of the present application. The storage device 1400 stores a computer program 1401 that can be executed by a processor. The computer program 1401 is used to implement the above Figures 1 to 12Specifically, the storage device 1400 may be a memory, a personal computer, a server, a network device, or a USB flash drive, and the like, and no limitation is made here.

[0162] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for image denoising, characterized in that: include: Acquire an initial image, and determine a number of reference pixel points in the initial image; Calculating the noise value of each reference pixel in the initial image; According to the noise value of the area where each reference pixel point is located, selecting an image block to be denoised containing the reference pixel point in the initial image, and obtaining a noise reduction threshold value corresponding to the image block to be denoised; Based on the noise reduction threshold value corresponding to each of the image blocks to be noise reduced, performing noise reduction processing on the image blocks to be noise reduced to obtain corresponding image blocks with noise reduced; The obtained denoised image blocks are merged to obtain a denoised image; Wherein, the distance between adjacent reference pixels is less than or equal to the size of the image block to be denoised; The step of selecting, according to the noise value of the area where each reference pixel point is located, an image block to be denoised containing the reference pixel point in the initial image, and obtaining a noise reduction threshold value corresponding to the image block to be denoised includes: Determine a preset noise range to which the noise value of the area where the reference pixel point is located belongs, select an image block to be denoised in the initial image that contains the reference pixel point and has a preset block size corresponding to the preset noise range, and obtain a noise reduction threshold corresponding to the preset noise range as the noise reduction threshold corresponding to the image block to be denoised; the greater the noise in the preset noise range, the larger the corresponding preset block size, and the larger the corresponding noise reduction threshold.

2. The method according to claim 1, characterized in that The upper limit value and / or the lower limit value of the preset noise range is determined according to the bit width of the initial image; The number of the preset noise ranges is greater than or equal to three.

3. The method according to claim 1, characterized in that: The image block to be denoised is an image block with the reference pixel point as a vertex; The step of determining a plurality of reference pixel points in the initial image comprises: Searching for a number of reference pixels in the initial image according to a preset step size; The respectively calculating the noise value of the area where each reference pixel point in the initial image is located comprises: A region with a reference pixel as a vertex and a size equal to a preset region size is determined, and a noise value of the region where the reference pixel is located is obtained based on pixel values ​​of pixels in the region.

4. The method according to claim 1, characterized in that: The performing denoising processing on the image block to be denoised based on the denoising threshold value corresponding to each image block to be denoised to obtain a corresponding denoised image block includes: Performing frequency domain transformation on each of the image blocks to be denoised to obtain a corresponding frequency domain block; Determine whether the absolute value of the pixel value of each pixel point in the frequency domain block is less than the noise reduction threshold corresponding to the image block to be denoised; If yes, the pixel value of the pixel point is adjusted to zero; An inverse transformation of the frequency domain transformation is performed on the adjusted frequency domain block to obtain a corresponding noise-reduced image block.

5. The method according to claim 4, characterized in that The performing frequency domain transformation on each of the image blocks to obtain a corresponding frequency domain block comprises: Walsh-Hadamard transform is used to perform frequency domain transform on each of the image blocks to obtain a corresponding frequency domain block.

6. The method according to claim 1, characterized in that The step of fusing the obtained denoised image blocks to obtain a denoised image includes: Assigning the pixel value of each pixel in the denoised image block to the corresponding pixel in the initial image to obtain an initial denoised image; Determining the fusion weight corresponding to each pixel point according to the pixel value of each pixel point in the initial denoised image after the assignment; The initial denoised image and the initial image are fused using the fusion weight to obtain the denoised image.

7. The method according to claim 6, characterized in that Determining the fusion weight corresponding to each pixel point according to the pixel value of each pixel point in the initial denoised image after the assignment includes: Obtaining the maximum pixel value in the initial denoised image; Determine at least a first pixel threshold and a second pixel threshold between zero and the maximum pixel value, wherein the first pixel threshold is less than the second pixel threshold; Determine a mapping function between a fusion weight and a pixel value according to the first pixel threshold, the first preset ratio, the second pixel value threshold, and the second preset ratio; Determine the fusion weight corresponding to the pixel point in the initial denoised image according to the mapping function; The step of fusing the initial denoised image and the initial image using the fusion weight to obtain the denoised image includes: The initial denoised image and the initial image are fused using the following formula to obtain the denoised image: in, is the fusion weight, is the pixel value of the i-th pixel in the denoised image, is the pixel value of the i-th pixel in the initial denoised image, is the pixel value of the i-th pixel in the initial image.

8. The method according to claim 6, characterized in that Before determining a number of reference pixels in the initial image, the method further includes: Performing edge extension processing on the initial image according to a set rule, so that an edge extension area is added outwards on each side of the initial image; After assigning the pixel value of each pixel in the denoised image block to the corresponding pixel in the initial image to obtain the initial denoised image, the method further includes: The corresponding edge extension area in the initial denoised image is cropped.

9. The method according to claim 7, characterized in that: The step of assigning the pixel value of each pixel in the denoised image block to the corresponding pixel in the initial image to obtain an initial denoised image includes: If at least two of the denoised image blocks contain the same pixel, respectively obtaining pixel values ​​of the pixel in the at least two denoised image blocks; Based on the pixel values ​​of the pixel in at least two of the noise-reduced image blocks, a final pixel value of the pixel is determined, and the final pixel value is assigned to the corresponding pixel in the initial image.

10. The method according to claim 1, characterized in that After performing denoising processing on the image blocks to be denoised based on the denoising threshold value corresponding to each image block to be denoised to obtain a corresponding denoised image block, the method further includes: Obtaining pixel values ​​of pixel points belonging to multiple denoised image blocks in the multiple denoised image blocks; Based on the pixel values ​​of the pixel in the multiple denoised image blocks, a final pixel value of the pixel is determined, and the final pixel value is assigned to the corresponding pixel in the multiple denoised image blocks.

11. The method according to claim 1, characterized in that: The step of fusing the obtained denoised image blocks to obtain the denoised image comprises: Determining a fusion weight corresponding to a pixel point in the denoised image block according to a pixel value of the pixel point, and fusing the denoised image block and the image block to be denoised according to the fusion weight ratio to obtain a final denoised image block; The final denoised image blocks are aggregated to obtain the denoised image.

12. The method according to claim 11, characterized in that The determining the fusion weight corresponding to the pixel point according to the pixel value of the pixel point in the denoised image block includes: Obtaining the maximum pixel value in the denoised image block; determining a first pixel threshold and a second pixel threshold between zero and the maximum pixel value, the first pixel threshold being less than the second pixel threshold; Determine a mapping function between a fusion weight and a pixel value according to the first pixel threshold, a first preset ratio, the second pixel threshold and a second preset ratio; Determine the fusion weight corresponding to the pixel point in the denoised image block according to the mapping function; The step of fusing the denoised image block and the image block to be denoised according to the fusion weight ratio to obtain the final denoised image block includes: The denoised image block and the image block to be denoised are fused using the following formula to obtain the final denoised image block: ; in, is the fusion weight, is the pixel value of the i-th pixel in the final denoised image block, is the pixel value of the i-th pixel in the denoised image block, is the pixel value of the i-th pixel in the image block to be denoised.

13. An image noise reduction device, characterized in that: The device comprises a memory and a processor coupled, wherein: The memory includes local storage and stores a computer program; The processor is configured to run the computer program to perform the method according to any one of claims 1 to 12.

14. A storage device, characterized in that: The storage device stores a computer program that can be executed by a processor, and the computer program is used to implement the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Image noise reduction method which utilizes partitioning ordering to detect noise

    CN105787902A

  • Determination method and device of noise reduction model, electronic equipment and computer storage medium

    CN110689496A