Denoising method and device for Gaussian-plaque pulse mixed image noise, electronic equipment and storage medium

Through the self-supervised dual-stage blind spot network structure, iterative training of U-Net and U-shaped blind spot network BSN models solves the limitations of traditional image denoising algorithms in complex mixed noise scenes, and achieves efficient removal of Gaussian-patchy pulse mixed noise. Maintain image details and textures and reduce the interference of noise on visual tasks.

CN118570091APending Publication Date: 2024-08-30BEIJING WANLONG LEAN TECH CO LTD

Patent Information

Application Number
CN202410705882.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When faced with complex Gaussian-patchy pulse mixed noise scenes, traditional image denoising algorithms have high mathematical reasoning complexity, complicated optimization processes, and poor results. It is difficult to effectively remove the mixed noise in the image, resulting in the loss of image details and texture.

Method used

Using a self-supervised two-stage blind spot network structure, the U-Net denoising model and the U-shaped blind spot network BSN model are constructed through iterative training to handle patchy impulse noise and Gaussian noise respectively, using iterative strategies and loss functions that do not require real clean image data sets. To achieve the removal of mixed noise.

Benefits of technology

In the absence of a real clean image data set, it can effectively remove Gaussian-patchy pulse mixed image noise, maintain image details and texture structure, reduce interference to subsequent visual tasks, and improve image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570091A
    Figure CN118570091A
Patent Text Reader

Abstract

The invention relates to a denoising method and device for Gaussian-speckle pulse mixed image noise, electronic equipment and a storage medium. The denoising method comprises the steps that an image noise source is analyzed, image noise composition is determined, and the image noise composition mainly comprises speckle impulse noise and Gaussian noise; the method is characterized in that a deep learning network structure is determined based on the characteristics of Gaussian-speckle pulse mixed image noise, the deep learning network structure is a self-supervised double-stage blind spot network structure, and the method comprises the following steps: in a stage 1, constructing a U-Net denoising model and a noise-noise pairing data set for speckle pulse noise, training by using an iteration strategy, and obtaining a noise-noise matching data set; the removal of the speckle pulse noise is realized; in the second stage, based on the denoising result of the speckle impulse noise, a U-shaped blind spot network BSN model is designed and constructed for Gaussian noise for training, and Gaussian noise removal is achieved. According to the denoising scheme of Gaussian-speckle pulse mixed image noise provided by the invention, the inherent limitation of a traditional denoising technology in coping with a complex mixed noise scene is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of image denoising, and in particular to deep learning image denoising, specifically to a denoising method, device, electronic device and storage medium for Gaussian-speckle pulse mixed image noise. Background Art

[0002] In order to detect and visualize light signals, image sensors such as CCD (Charge-Coupled Device) and CMOS (Complementary Metal Oxide Semiconductor) must go through steps such as photoelectric conversion, signal gain, and signal readout. However, while performing a series of operations on light signals, image noise will inevitably be introduced, which will significantly interfere with the original image signal and reduce image quality, affecting human visual observation and the accuracy of subsequent advanced visual tasks such as image segmentation, target recognition, and image registration. In actual imaging scenarios, image noise is often not a simple manifestation of a single type, but a complex of multiple noise components, such as the superposition of Gaussian noise and impulse noise.

[0003] Compared with traditional image impulse noise, which usually appears as an isolated point with significantly higher pixel values ​​than the surrounding neighborhood, it is characterized by local mutation and lack of continuity or diffusion. In the image impulse noise collected by the actual image sensor, there is usually a randomly distributed speckled noise group. This type of noise is visually manifested as a randomly distributed, oversaturated speckled pixel group with obvious continuity and diffusion characteristics, which will cause the traditional denoising algorithm to over-smooth or blur the details and texture of the image. Therefore, research on the removal of this Gaussian-speckle pulse mixed image noise is crucial.

[0004] Traditional image denoising algorithms have always played an important role in the field of image processing due to their profound theoretical foundation, good hardware compatibility, and good performance in specific scenarios. However, when faced with complex mixed noise, traditional image denoising methods have defects such as high mathematical reasoning complexity, complex optimization process, and poor performance. With the development of technology, image denoising algorithms based on deep learning have shown higher robustness, adaptability, efficiency, and excellent image restoration capabilities due to their powerful feature extraction and modeling capabilities.

[0005] Therefore, it is necessary to study a denoising scheme for mixed noise based on deep learning to at least partially solve the technical problems existing in the prior art. Summary of the invention

[0006] According to an exemplary embodiment of the present invention, a denoising scheme for Gaussian-speckle pulse mixed image noise is provided, which avoids the inherent limitations of traditional denoising techniques when dealing with complex mixed noise scenes.

[0007] In the first aspect of the present invention, a denoising method for Gaussian-speckle pulse mixed image noise is first provided, including: analyzing the source of image noise, determining the composition of image noise, wherein the image noise composition mainly includes speckle pulse noise and Gaussian noise; based on the characteristics of Gaussian-speckle pulse mixed image noise, determining the deep learning network structure, wherein the deep learning network structure is a self-supervised two-stage blind spot network structure, including: in stage one, constructing a U-Net denoising model and a noisy-noisy paired data set for speckle pulse noise, and using an iterative strategy for training to achieve the removal of speckle pulse noise; in stage two, based on the denoising result of speckle pulse noise, designing and constructing a U-shaped blind spot network BSN model for Gaussian noise for training to achieve the removal of Gaussian noise. According to the denoising method provided by the present invention, based on the iterative idea and the design framework of the blind spot network (BSN), a novel self-supervised denoising model is constructed, which overcomes the limitations of the supervised learning method in the field of denoising and can effectively remove Gaussian-speckle pulse mixed image noise.

[0008] In some embodiments, in the first stage, constructing a U-Net denoising model and a noisy-noisy paired data set for speckle impulse noise includes:

[0009] The model architecture adopts the U-Net denoising model, and according to the noisy-noisy paired dataset training strategy, the speckle impulse noise n sp Added to actual real noise image Get a noisier image

[0010] With a noisier image is the input image, the actual real noise image For the learning objective, a noisy-noisy pairing dataset is constructed.

[0011] In some embodiments, the training using an iterative strategy includes:

[0012] First establish As the initial data set, after one round of model training, the first round of output with a certain degree of denoising is obtained.

[0013] Build on this basis The dataset is trained again to obtain the second round of output with a certain degree of denoising. Create new Datasets;

[0014] The above process is repeated iteratively until after n rounds of training, the model can detect the speckle impulse noise n sp It has good generalization ability.

[0015] In some embodiments, the following loss function is used in the training using the iterative strategy:

[0016]

[0017] Among them, L one represents the loss function of stage 1, i represents the current iteration number (i=1,2,3,…,n), Represents the clean image predicted in the i-th round.

[0018] In some embodiments, in the second stage, based on the denoising result of the speckle impulse noise, a U-shaped blind spot network BSN model is designed and constructed for Gaussian noise for training. The specific process is:

[0019] The model architecture uses a U-shaped blind spot network (BSN) to process the input image through a CMConv Block module, which integrates a 1×1 channel dilated convolution to enhance the image feature expression capability and a 3×3 convolution layer using a central blind spot mechanism to extract key image feature information;

[0020] In each downsampling stage of the network, a dilated convolution with a scale factor of s=2 is used to replace the traditional convolution layer to expand the receptive field without increasing the number of parameters, so as to fully explore and utilize the effective local information near the target pixel and the target pixel's own information; in the upsampling stage, a 3×3 convolution layer with a center blind spot mechanism is used to replace the traditional convolution layer to effectively integrate the early feature information from the jump connection while removing the interference of potential noise;

[0021] In the overall network architecture, the ReLU activation function is used after each layer of convolution operation to introduce nonlinear characteristics, thereby improving the model's ability to learn and express complex image features.

[0022] In some embodiments, the U-shaped blind spot network BSN model is designed and constructed for Gaussian noise for training:

[0023] First, a specific pixel-shuffle downsampling technique Pixel-Shuffle DownSampling is used on the input image to obtain a set of sub-images as model input;

[0024] Perform reverse operation at output PD -1to restore the image size.

[0025] In some embodiments, the following loss function is used in the design and construction of the U-shaped blind spot network BSN model for Gaussian noise for training:

[0026] L two =‖PD -1 (U(PD(x n )))-x n ‖1 (2)

[0027] Among them, L two represents the loss function of the second stage, U represents the network model, x n Indicates the results of phase one.

[0028] Therefore, the total loss function L total It can be expressed as:

[0029]

[0030] In the second aspect of the present invention, a denoising device for Gaussian-speckle pulse mixed image noise is provided, comprising: an image noise composition determination module, configured to analyze the source of image noise and determine the image noise composition, wherein the image noise composition mainly includes speckle pulse noise and Gaussian noise; a deep learning network structure determination module, configured to determine the deep learning network structure based on the characteristics of Gaussian-speckle pulse mixed image noise, wherein the deep learning network structure is a self-supervised two-stage blind spot network structure, comprising: a speckle pulse noise removal module, configured to construct a U-Net denoising model and a noisy-noisy paired data set for speckle pulse noise in stage one, and use an iterative strategy for training to achieve removal of speckle pulse noise; a Gaussian noise removal module, configured to design and construct a U-shaped blind spot network BSN model for Gaussian noise in stage two, based on the denoising result of speckle pulse noise, for training to achieve removal of Gaussian noise.

[0031] In a third aspect of the present invention, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the first aspect of the present invention.

[0032] In a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present invention is implemented.

[0033] Beneficial effects: The denoising method provided by the present invention, based on the iterative idea and the design framework of the Blind Spot Network (BSN), constructs a novel denoising model, which overcomes the limitations of supervised learning methods in the field of denoising, that is, it can still achieve the removal of Gaussian-speckle pulse mixed image noise without a real clean image data set as a reference. At the same time, the proposed innovative framework successfully circumvents the inherent limitations of traditional denoising technology in dealing with complex mixed noise scenes, and effectively achieves a balance between deep noise removal and high fidelity of image details and texture structures. The framework can effectively reduce the potential interference of image noise on subsequent complex visual tasks (such as target recognition, image segmentation, image registration, etc.).

[0034] It should be understood that the contents described in the Summary of the Invention section are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easy to understand through the following description. In addition, the implementation of any embodiment of the present invention does not mean that multiple or all of the above-mentioned beneficial effects must be possessed or achieved at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0036] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment in size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.

[0037] Figure 1 A flowchart of a denoising method according to some embodiments of the present invention is shown;

[0038] Figure 2 A schematic diagram showing the specific manifestation of speckle pulse image noise;

[0039] Figure 3 A schematic diagram of the overall network structure of a denoising model according to some embodiments of the present invention is shown;

[0040] Figure 4Schematic diagrams of receptive fields of dilated convolution with a scale factor of s=2 combined with central blind spot convolution according to some embodiments of the present invention are shown, wherein (a) shows the receptive field of the dilated convolution with a scale factor of s=2, and (b) shows the receptive field of the central blind spot;

[0041] Figure 5 A schematic diagram showing an input image being processed by a CMConv Block module according to some embodiments of the present invention;

[0042] Figure 6 A schematic diagram of denoising effect according to some embodiments of the present invention is shown;

[0043] Figure 7 A schematic block diagram showing a denoising device according to some embodiments of the present invention; and

[0044] Figure 8 A block diagram of a computing device capable of implementing various embodiments of the present invention is shown.

[0045] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in conjunction with the embodiments and drawings. Here, the illustrative embodiments of the present invention and their description are used to explain the present invention, but are not intended to limit the present invention.

[0047] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0048] It should be understood that the terms "include / comprise", "consist of..." or any other variations are intended to cover non-exclusive inclusion, so that a product, device, process or method that includes a series of elements includes not only those elements, but also may include other elements not explicitly listed when necessary, or also includes elements inherent to such product, device, process or method. In the absence of more restrictions, the elements defined by the sentence "include / comprise...", "consist of..." do not exclude the presence of other identical elements in the product, device, process or method that includes the elements.

[0049] It is also necessary to understand that terms such as "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside" and "outside" to indicate directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device, component or structure must have a specific direction, be constructed or operate in a specific direction, and should not be understood as a limitation on the present invention.

[0050] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0051] As mentioned above, the performance and effect of traditional denoising methods are significantly poor when dealing with complex Gaussian-speckle pulse mixed image noise scenes. This is specifically manifested in two aspects. On the one hand, traditional methods often lack pertinence and are difficult to effectively remove discretely distributed, oversaturated speckled pixel impulse noise in images. On the other hand, when applied to Gaussian-speckle pulse image mixed noise denoising, traditional denoising algorithms are prone to destroying the texture details of the image, resulting in significant smoothing or blurring distortion in the denoised image.

[0052] In order to realize the training of denoising model without real clean image data set, and retain more details while ensuring noise removal, the present invention designs a new self-supervised two-stage blind spot network structure based on iteration idea and blind spot network (BSN) for the characteristics of Gaussian-speckle pulse mixed image noise. The so-called self-supervision means that compared with the traditional deep learning denoising method, the traditional deep learning denoising method requires a noisy image-clean image paired data set, while the present invention does not need to use a clean image data set (because it is extremely costly to obtain a clean image data set), and only uses the noisy image to complete the denoising of the image.

[0053] The following will combine Figures 1 to 8 Exemplary embodiments according to the present invention are described in more detail.

[0054] See first Figure 1, which exemplarily shows the overall process of the denoising method for Gaussian-speckle pulse mixed image noise of an embodiment of the present invention, mainly including: analyzing the source of image noise and determining the image noise composition, wherein the image noise composition mainly includes speckle pulse noise and Gaussian noise; based on the characteristics of Gaussian-speckle pulse mixed image noise, determining the deep learning network structure, wherein the deep learning network structure is a self-supervised two-stage blind spot network structure, including: in stage one, constructing a U-Net denoising model and a noisy-noisy paired data set for speckle pulse noise, and using an iterative strategy for training to achieve the removal of speckle pulse noise; in stage two, based on the denoising result of speckle pulse noise, designing and constructing a U-shaped blind spot network BSN model for Gaussian noise for training to achieve the removal of Gaussian noise.

[0055] It should be understood that Figure 1 The general process of the denoising method 100 is described only for exemplary purposes, and does not imply any limitation on the scope of the present invention. The embodiments of the present invention may further include other pre-processing steps and / or subsequent steps according to specific circumstances and needs, such as first collecting image noise, and then evaluating and analyzing the denoising effect after the denoising is completed, etc.

[0056] In block 101 , the image noise sources are first analyzed to determine the image noise components.

[0057] The image noise targeted by the embodiments of the present invention mainly comprises mixed image noise of speckle impulse noise and Gaussian noise.

[0058] In box 103, based on the characteristics of Gaussian-speckle pulse mixed image noise, a deep learning network structure is determined.

[0059] The speckle pulse image noise is specifically manifested as a group of oversaturated speckle pixels gathered by multiple adjacent pixels. It is significantly different from traditional pulse noise and has obvious characteristics of continuity and diffusion, such as Figure 2 In order to ensure that more details are retained while removing noise, the self-supervised dual-stage blind spot network structure designed in the embodiment of the present invention divides the network structure into two stages. The first stage uses the iterative training idea to realize the denoising of the impulse noise of the spotty pixel group. The second stage uses the blind spot network BSN to remove Gaussian noise while maintaining image details.

[0060] It should be noted that in the field of image denoising, both additive noise and multiplicative noise can be expressed by the following formula:

[0061] y n =y o +ω ①

[0062] Among them, y nRepresented as a noisy image, y o is represented as a noise-free image, and ω represents the noise.

[0063] The noise image y is decomposed by the eigenvalues ​​of the matrix n and the noise-free image y o For example, the following formula can be expressed:

[0064]

[0065] Among them, Q represents the feature transformation matrix, and ∑ represents the underlying feature information of the image information.

[0066] So, when the noise image y n After the neural network, the predicted image y is obtained e It can be expressed as:

[0067]

[0068] Where D represents the input noise image y of the neural network n The process of transformation.

[0069] For image denoising, the goal is to obtain the predicted image y by the neural network. e Approximately the noise-free image y o :

[0070]

[0071] In other words, the process of image denoising through neural network is to first input the noisy image y n Converted into the underlying image features ∑, and then inversely transformed into the noise-free image y o process.

[0072] Therefore, the embodiment of the present invention draws on the U-Net network to realize image feature transformation when constructing the network structure. The main difference is that the upsampling method is transposed convolution (Transposed Convolution) instead of maximum pooling (MaxPooling). Transposed convolution achieves the upsampling effect by changing the application mode of the convolution kernel and adjusting parameters such as stride and padding to make the output grid distribution more sparse. Compared with simple upsampling methods such as direct interpolation, transposed convolution has significant advantages. It can better maintain and restore the spatial structure layout and local dependencies of the input features while enlarging the image size by learning weight parameters, thereby ensuring that the output feature map has higher quality and accuracy, which is beneficial to improving the overall denoising performance of the model. The overall architecture of the two-stage blind spot network is as follows: Figure 3 shown.

[0073] 1. Stage One

[0074] like Figure 3 As shown, in box 105, in stage 1, a U-Net denoising model and a noisy-noisy paired dataset are first constructed for speckle impulse noise. In this process, two findings are mainly based on: (1) The denoising model trained on the noisy-noisy paired dataset shows the same denoising performance as the noisy-clean paired image dataset when processing noisy images. (2) Compared with the traditional training strategy based on the noisy-clean paired image dataset, the training strategy of iteratively generating the noisy-noisy paired dataset has better detail and texture preservation capabilities.

[0075] The traditional training strategy based on noisy-clean paired datasets is to use the noisy image x+n as input and the clean image x as the learning target. However, as mentioned above, it is usually difficult to obtain a real clean image dataset. The embodiment of the present invention adopts a training strategy based on the noisy-noisy paired dataset based on the above findings (1), which will overcome the real clean image x in real life while ensuring the denoising performance. o Unable to obtain the problem.

[0076] Specifically, the embodiment of the present invention first uses the difference image between the uniform background noise image and the fixed noise image to obtain the speckle impulse noise n sp , and then by the speckle impulse noise n sp Added to actual real noise image Get a noisier image Then take a noisier image is the input image, the actual real noise image For the learning objective, a noisy-noisy pairing dataset is constructed.

[0077] Continue to see Figure 3 ,In stage one, after the network model for speckle impulse noise is constructed, it is trained using an ,iterative strategy.

[0078] In order to better preserve image details and textures, according to finding (2), the embodiment of the present invention adopts a method of iteratively generating a noisy-noisy paired data set.

[0079] Specifically, first establish As the initial data set, after one round of model training, the first round of output with a certain degree of denoising is obtained.

[0080] Build on this basis The dataset is trained again to obtain the second round of output with a certain degree of denoising. Create new Datasets;

[0081] The above process is repeated iteratively until after n rounds of training, the model can detect the speckle impulse noise n sp It has good generalization ability.

[0082] The model architecture of this stage adopts the U-Net denoising model and constructs a noisy-noisy paired dataset. Figure 3 Compared with the Fully Convolutional Network (FCN), the U-Net structure enables the denoising model to simultaneously utilize shallow features (containing rich local detail information) and deep features (containing global information) by constructing jump connections, thereby realizing the integration of multi-scale features.

[0083] 2. Stage Two

[0084] Continue to see Figure 3 , In box 107, in stage 2, based on the denoising result of the speckle impulse noise, continue to design and construct a U-shaped blind spot network BSN model for Gaussian noise for training.

[0085] As mentioned above, in the absence of clean images or independent and identically distributed noise image pairs as supervision information, traditional CNNs may tend to learn identity-preserving mappings of input images rather than effective denoising representations. As a variant of CNN, BSN masks certain target pixel information in the receptive field and only uses part of the information around the pixel to achieve image denoising tasks by constructing and optimizing a self-supervised learning framework to predict its original noise-free value.

[0086] The fundamental reason why BSN can achieve image denoising tasks is the sparsity of images. The concept of image sparsity means that in an image, only a small number of pixels have significant value or contribution. These pixels carry key information such as the main structure, texture, and edge of the image, while most pixels have a low information contribution relative to these "important" pixels, and can even be regarded as redundant or noise.

[0087] Therefore, the embodiment of the present invention first automatically selects features by shielding part of the image information using BSN, sets irrelevant or redundant features to zero, and thus constructs a sparse representation of the image in a certain transformation domain. The non-zero elements of the sparse vector (the so-called significant coefficient) contain key information such as the underlying features, significant structures, and visual significance of the image. This sparse model removes image noise while maintaining image information by selectively filtering out a large amount of pixel information that contributes little to the overall description of the image.

[0088] It is worth noting that in the BSN framework, since the model avoids directly using its own information when predicting the target pixel, the prediction ability of the model is limited to the available information in the local neighborhood, which will inevitably weaken the denoising performance to a certain extent. Therefore, after using BSN to shield a large amount of pixel information that contributes little to the overall description of the image, the embodiment of the present invention uses a combination of dilated convolution with a scale factor s=2 and central blind spot convolution under the blind spot network BSN framework to enhance the capture and utilization of global information, thereby effectively improving the self-supervised denoising performance of a single image. Its receptive field is as follows: Figure 4 As shown, (a) shows the receptive field of the dilated convolution with s=2, and (b) shows the central blind spot receptive field.

[0089] In the second stage, the U-shaped blind spot network (BSN) model is designed and constructed for Gaussian noise and trained as follows:

[0090] First, the input image is processed by a CMConv Block. Figure 5 As shown in the figure, a 1×1 channel expansion convolution for enhancing the image feature expression capability and a 3×3 convolution layer using a center blind spot mechanism are integrated to extract key image feature information.

[0091] Subsequently, in each downsampling stage of the network, a dilated convolution with a scale factor of s = 2 is used to replace the traditional convolutional layer (such as Figure 3 This strategy aims to overcome the potential tendency of the model to learn identity mapping, and can expand the receptive field without increasing the number of parameters, so as to fully explore and utilize the effective local information near the target pixel and the target pixel's own information. In the upsampling stage, a 3×3 convolutional layer with a center blind spot mechanism is used to replace the traditional convolutional layer. Its main purpose is to effectively integrate the previous feature information from the jump connection while removing the interference of potential noise. This improvement helps to achieve a more sophisticated and efficient feature extraction process, thereby improving the performance of the model in image denoising tasks.

[0092] In the overall network architecture, the ReLU activation function is used after each convolution operation to introduce nonlinear characteristics, thereby improving the model's ability to learn and express complex image features.

[0093] The loss function used in the self-supervised two-stage blind spot network structure constructed in the embodiment of the present invention is described below.

[0094] The loss function constructed based on the overall network structure is mainly composed of loss terms corresponding to two different training stages, namely stage one and stage two, and both loss terms use L1 loss as the optimization target. By integrating two loss functions based on the L1 norm, the effective removal of Gaussian-speckle pulse mixed image noise and the full retention of detail information can be achieved.

[0095] For stage 1: Our goal is to iteratively generate a noise-noise dataset that is as close as possible to the speckle impulse noise image collected in real situations - the potential clean image dataset. one It can be expressed as:

[0096]

[0097] Among them, L one represents the loss function of stage 1, i represents the current iteration number (i=1,2,3,…,n), Represents the clean image predicted in the i-th round.

[0098] For stage 2: First, a specific pixel-shuffle downsampling technique Pixel-Shuffle DownSampling (PD) is used on the input image to obtain a set of sub-images as model input. The inverse operation PD is performed at the output -1 , to restore the image size. In this way, the spatial correlation between adjacent pixel noises can be weakened to a certain extent, thereby providing more favorable input features for subsequent denoising processing, which can effectively improve the performance of the model in the single image self-supervised denoising task.

[0099] Therefore, Ltwo can be expressed as:

[0100] L two =‖PD -1 (U(PD(x n )))-x n ‖1 (2)

[0101] Among them, L two represents the loss function of the second stage, U represents the network model, x n Indicates the results of phase one.

[0102] In summary, the total loss L totalIt can be expressed as:

[0103]

[0104] The above denoising methods overcome the limitations of traditional supervised learning methods in the field of image denoising, that is, denoising of Gaussian-speckle pulse mixed image noise can be achieved without a real clean image dataset as a reference. At the same time, the proposed innovative framework successfully circumvents the inherent limitations of traditional denoising technology in dealing with complex mixed noise scenes, and effectively achieves a balance between deep noise removal and high fidelity of image details and texture structures.

[0105] Finally, the embodiment of the present invention further uses evaluation indicators to evaluate and analyze the denoising effect of the above denoising method. The embodiment of the present invention mainly uses the following two evaluation indicators.

[0106] 1.Peak Signal-Noise Ratio(PSNR)

[0107] PSNR is the most widely used objective image evaluation indicator. The larger the PSNR value, the smaller the distortion of the processed image compared to the reference image, and the better the image quality. PSNR is based on the error between corresponding pixels, that is, the PSNR value is obtained by calculating the mean square error (MSE) between images. The specific calculation formula is:

[0108]

[0109] in, i and j are the horizontal and vertical coordinates of a pixel in the image, respectively. I(i,j) and K(i,j) represent the denoising result to be evaluated and the reference image prepared in advance, respectively.

[0110] 2.Structure Similarity Index (SSIM)

[0111] SSIM is a multi-dimensional image quality assessment index that quantitatively analyzes the similarity of two images from three dimensions: brightness, contrast, and structural similarity. First, the brightness contrast function is used to measure the consistency of the two images at the global grayscale mean level. Secondly, the contrast contrast function is used to reflect the preservation of the local texture or grayscale change amplitude of the image, which is closely related to the standard deviation characteristics of the image. Finally, the structural contrast function is based on the pixel relationship matrix after normalization of the image to further evaluate and quantify the matching degree of the structural information of the image. The value range of the SSIM index is (0,1). The closer the SSIM value is to 1, the higher the image quality. The specific calculation formula is:

[0112]

[0113] Among them, M x and M y Represents the average value of all pixels in image x and y, σ x and σ y Represents the standard deviation of all pixels in image x and y, σ xy represents the covariance of images x and y, and C1 and C2 represent constants.

[0114] Experimental results:

[0115] Using the denoising method provided by the present invention, we provide the following 4 groups of denoising effect comparisons, as shown in Table 1 below.

[0116] Table 1. Comparison of PSNR and SSIM results

[0117]

[0118] According to the experimental data, the denoising method we proposed not only successfully achieves the optimization of removing Gaussian-speckle pulse mixed image noise at the visual level, such as Figure 6 As shown in the figure, significant improvements have been achieved in the two dimensions of peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM), which are both recognized image quality evaluation standards in the industry.

[0119] Figure 7 FIG. 3 is a schematic block diagram of a denoising device 300 for Gaussian-speckle pulse mixed image noise according to some embodiments of the present invention. Figure 7 As shown, the denoising device 300 includes an image noise composition determination module 301 and a deep learning network structure determination module 303.

[0120] The image noise composition determination module 301 is configured to analyze the image noise source and determine the image noise composition, wherein the image noise composition mainly includes speckle impulse noise and Gaussian noise;

[0121] The deep learning network structure determination module 303 is configured to determine the deep learning network structure based on the characteristics of Gaussian-speckle pulse mixed image noise, and the deep learning network structure is a self-supervised two-stage blind spot network structure, including:

[0122] The speckle impulse noise removal module 305 is configured to construct a U-Net denoising model and a noisy-noisy paired data set for speckle impulse noise in phase 1, and use an iterative strategy for training to achieve the removal of speckle impulse noise;

[0123] The Gaussian noise removal module 307 is configured to, in the second stage, continue to design and construct a U-shaped blind spot network BSN model for Gaussian noise based on the denoising result of the speckle impulse noise for training, so as to remove the Gaussian noise.

[0124] Figure 8 1 is a schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present invention. The electronic device 500 can be used to implement Figure 1 The operations in the denoising method 100 shown. The electronic device 500 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown in the present invention, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0125] like Figure 8 As shown, the electronic device 500 includes a CPU 501 (computing unit), which can perform various appropriate actions and processes according to a computer program stored in a ROM 502 (read-only memory) or a computer program loaded from a storage unit 508 into a random access RAM 503 (memory). In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An I / O interface 505 (input / output interface) is also connected to the bus 504.

[0126] A number of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0127] CPU 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of CPU 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. CPU 501 performs the various methods and processes described above, such as denoising method 100. For example, in some embodiments, denoising method 100 may be implemented as a computer software program, which is tangibly contained in a computer-readable storage medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by CPU 501, one or more steps of denoising method 100 described above may be performed. Alternatively, in other embodiments, CPU 501 may be configured to perform denoising method 100 in any other appropriate manner (e.g., by means of firmware).

[0128] Various embodiments of the systems and techniques described above in the present invention can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0129] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0130] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0132] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0133] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0134] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document is not limited here.

[0135] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

[0136] Although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present invention. Certain features described in the context of separate embodiments may also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation may also be implemented in multiple implementations individually or in any suitable sub-combination.

Claims

1. A method for denoising Gaussian-speckle pulse mixed image noise, characterized in that: include: Analyze the source of image noise and determine the composition of image noise, wherein the image noise composition mainly includes speckle impulse noise and Gaussian noise; Based on the characteristics of Gaussian-speckle pulse mixed image noise, a deep learning network structure is determined. The deep learning network structure is a self-supervised two-stage blind spot network structure, including: In the first stage, a U-Net denoising model and a noisy-noisy paired dataset are built for speckle impulse noise, and an iterative strategy is used for training to remove speckle impulse noise. In the second stage, based on the denoising results of speckle pulse noise, a U-shaped blind spot network (BSN) model is designed and constructed for Gaussian noise for training to achieve the removal of Gaussian noise.

2. The method according to claim 1, characterized in that In the first stage, the U-Net denoising model and the noisy-noisy paired data set are constructed for the speckle impulse noise, including: The model architecture adopts the U-Net denoising model, and according to the noisy-noisy paired dataset training strategy, the speckle impulse noise n sp Added to actual real noise image Get a noisier image With a noisier image is the input image, the actual real noise image For the learning objective, a noisy-noisy pairing dataset is constructed.

3. The method according to claim 2, characterized in that The training using the iterative strategy includes: First establish As the initial data set, after one round of model training, the first round of output with a certain degree of denoising is obtained. Build on this basis The dataset is trained again to obtain the second round of output with a certain degree of denoising. Create new Datasets; The above process is repeated iteratively until after n rounds of training, the model can detect the speckle impulse noise n sp It has good generalization ability.

4. The method according to claim 3, characterized in that In the training using the iterative strategy, the following loss function is used: Among them, L one represents the loss function of stage 1, i represents the current iteration number (i=1,2,3,…,n), Represents the clean image predicted in the i-th round.

5. The method according to claim 1, characterized in that: In the second stage, based on the denoising results of the speckled impulse noise, a U-shaped blind spot network BSN model is designed and constructed for Gaussian noise for training. The specific process is as follows: The model architecture uses a U-shaped blind spot network (BSN) to process the input image through a CMConv Block module, which integrates a 1×1 channel dilated convolution to enhance the image feature expression capability and a 3×3 convolution layer using a central blind spot mechanism to extract key image feature information; In each downsampling stage of the network, a dilated convolution with a scale factor of s=2 is used to replace the traditional convolution layer to expand the receptive field without increasing the number of parameters, so as to fully explore and utilize the effective local information near the target pixel and the target pixel's own information; in the upsampling stage, a 3×3 convolution layer with a center blind spot mechanism is used to replace the traditional convolution layer to effectively integrate the early feature information from the jump connection while removing the interference of potential noise; In the overall network architecture, the ReLU activation function is used after each layer of convolution operation to introduce nonlinear characteristics, thereby improving the model's ability to learn and express complex image features.

6. The method according to claim 5, characterized in that The U-shaped blind spot network BSN model is designed and constructed for Gaussian noise for training: First, a specific pixel-shuffle downsampling technique Pixel-Shuffle DownSampling is used on the input image to obtain a set of sub-images as model input; Perform reverse operation at output PD -1 to restore the image size.

7. The method according to claim 6, characterized in that In the design and construction of the U-shaped blind spot network BSN model for Gaussian noise for training, the following loss function is used: L two =‖PD -1 (U(PD(x n )))-x n ‖1 (2) Among them, L two represents the loss function of the second stage, U represents the network model, x n Indicates the results of phase one. Therefore, the total loss function L total It can be expressed as:

8. A denoising device for Gaussian-speckle pulse mixed image noise, characterized in that: include: An image noise composition determination module is configured to analyze the image noise source and determine the image noise composition, wherein the image noise composition mainly includes speckle impulse noise and Gaussian noise; The deep learning network structure determination module is configured to determine the deep learning network structure based on the characteristics of Gaussian-speckle pulse mixed image noise, wherein the deep learning network structure is a self-supervised two-stage blind spot network structure, including: The speckle impulse noise removal module is configured to construct a U-Net denoising model and a noisy-noisy paired data set for speckle impulse noise in phase 1, and use an iterative strategy for training to achieve the removal of speckle impulse noise; The Gaussian noise removal module is configured to design and construct a U-shaped blind spot network (BSN) model for Gaussian noise based on the denoising result of the speckled impulse noise in the second stage for training, so as to achieve the removal of Gaussian noise.

9. An electronic device, comprising: one or more processors; as well as A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Hybrid noise filtering method for removing Gaussian noises and impulsive noises

    CN107392864A

  • Method for removing Poisson-Gaussian mixed noise

    CN113850736A

  • Hyperspectral image deep noise reduction method and system based on two-stage learning framework

    CN114677300A

  • Strong-noise single-photon three-dimensional reconstruction method based on multi-stage degeneration neural network

    CN114692509A

  • Satellite hyperspectral image denoising method, device and equipment based on self-supervised learning

    CN115293976A

Cited By

  • Self-supervised image denoising method and device based on information compensation, equipment and medium

    CN120163730A