Image noise reduction method and noise reduction system based on deep learning
Through deep learning technology, combined with multi-scale feature extraction, residual learning and contextual attention mechanisms, it solves the problem of blurred edge details in traditional image denoising methods, achieves efficient and precise image denoising, and improves image quality.
Patent Information
- Application Number
- CN202410860023.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional image noise reduction methods will blur the edges and details of the image during the process of suppressing noise, resulting in a decrease in image clarity, and cannot effectively solve the problem of noise interference during image collection, transmission and storage.
An image denoising method based on deep learning is adopted to achieve efficient and precise image denoising through multi-scale feature extraction, residual learning module, feature fusion and contextual attention mechanism. Specific steps include obtaining multi-scale noisy features, performing residual learning and correction, feature fusion, weighting based on attention weights, and finally generating denoised images through residual connections.
It significantly improves the accuracy and efficiency of image noise reduction, comprehensively captures noise distribution characteristics, protects image details, improves image quality, and provides high-quality image data for various application scenarios.
Smart Images

Figure CN118864293A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image denoising, and in particular to an image denoising method and denoising system based on deep learning. Background Art
[0002] With the rapid development of digital imaging technology, images are increasingly used in various fields, such as medical diagnosis, security monitoring, satellite remote sensing, etc. However, images are inevitably interfered by various noises during acquisition, transmission and storage, such as uneven illumination, sensor noise, electromagnetic interference, etc., which leads to the degradation of image quality and affects the effective extraction and utilization of image information.
[0003] Traditional image denoising methods, such as mean filtering, median filtering, and Gaussian filtering, can suppress noise to a certain extent, but they often blur the edges and detail information of the image, reducing the clarity of the image.
[0004] Therefore, it is necessary to provide an image denoising method and denoising system based on deep learning to solve the above technical problems. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides an image denoising method and denoising system based on deep learning, which realizes efficient and precise image denoising through multi-scale feature extraction, residual learning module, feature fusion, contextual attention mechanism and residual connection.
[0006] The present invention provides an image denoising method based on deep learning, and the denoising method comprises the following steps:
[0007] S1: Acquire an image to be denoised, and extract multi-scale noise features of the image to be denoised;
[0008] S2: Inputting the multi-scale noisy features of the image to be denoised into a preset residual learning module one by one for denoising, and outputting the residual correction features of each scale;
[0009] S3: performing feature fusion on the residual correction features of each scale obtained to obtain a comprehensive feature map of the image to be denoised;
[0010] S4: The comprehensive feature map is weighted based on the attention weight matrix calculated by the contextual attention mechanism to obtain a weighted feature map;
[0011] S5: Combining the weighted feature map with the image to be denoised through a residual connection to generate a final denoised image.
[0012] Preferably, step S1 specifically includes:
[0013] S101: preprocessing the image to be denoised to obtain the preprocessed image to be denoised;
[0014] S102: using a plurality of preset convolutional layers to capture multi-scale noisy features of the pre-processed image to be denoised, wherein each convolutional layer has a convolution kernel of a different size.
[0015] Preferably, the preprocessing includes resizing and normalization.
[0016] Preferably, step S2 specifically includes:
[0017] S201: Mapping the multi-scale noisy features one by one into a potential feature space through a preset feature extraction network to obtain an intermediate feature representation;
[0018] S202: In the latent feature space, the noise component in the intermediate feature representation is identified and learned by the residual learning block of the residual learning module to obtain residual correction items of each scale;
[0019] S203: superimposing the obtained residual correction term of each scale onto the noisy feature of the corresponding scale to obtain the residual correction feature of each scale.
[0020] Preferably, step S3 specifically includes:
[0021] S301: performing feature alignment on the residual correction features of each scale to obtain aligned residual correction features of each scale;
[0022] S302: assigning different weights to the residual correction features of each scale through a learning algorithm, and performing feature fusion based on the weights to obtain a preliminary comprehensive feature map;
[0023] S303: Apply an activation function to perform nonlinear processing on the preliminary comprehensive feature map to obtain a final comprehensive feature map.
[0024] Preferably, step S4 specifically includes:
[0025] S401: Mapping the comprehensive feature map to the key feature space using a first mapping function to obtain the key feature;
[0026] S402: Mapping the comprehensive feature graph to the query feature space using a second mapping function to obtain a query feature;
[0027] S403: Calculating an attention weight matrix between the key feature and the query feature, and normalizing the attention weight matrix;
[0028] S404: Perform weighted summation on the comprehensive feature map using the normalized attention weight matrix to obtain a weighted feature map.
[0029] Preferably, step S5 specifically includes:
[0030] S501: Calculating the original residual between the weighted feature map and the image to be denoised;
[0031] S502: performing preliminary denoising estimation on the image to be denoised using the original residual to obtain a preliminary denoised image;
[0032] S503: Inputting the preliminary denoised image into a preset lightweight convolutional network to obtain an adjusted residual;
[0033] S504: using a weighted average fusion strategy to fuse the original residual and the adjusted residual to obtain a final residual;
[0034] S505: Apply the final residual to the image to be denoised to obtain a final denoised image.
[0035] The present invention also provides an image denoising system based on deep learning, which is applied to an image denoising system based on deep learning. The denoising system comprises:
[0036] A multi-scale feature extraction module, used to obtain the image to be denoised and extract the multi-scale noise-containing features of the image to be denoised;
[0037] A residual learning module, used for inputting the multi-scale noisy features of the image to be denoised into a residual learning module with a preset configuration one by one for denoising, and outputting residual correction features of each scale;
[0038] A feature fusion module is used to fuse the residual correction features of each scale to obtain a comprehensive feature map of the image to be denoised;
[0039] An attention mechanism processing module is used to perform weighted processing on the comprehensive feature map based on the attention weight matrix calculated by the contextual attention mechanism to obtain a weighted feature map;
[0040] The denoising image generation module is used to combine the weighted feature map and the image to be denoised through a residual connection to generate a final denoised image.
[0041] Compared with the related art, the image denoising method and denoising system based on deep learning provided by the present invention have the following beneficial effects:
[0042] The present invention significantly improves the accuracy and efficiency of image denoising by comprehensively using multi-scale feature extraction technology, residual learning module, feature fusion strategy and contextual attention mechanism. It can not only fully capture the distribution characteristics of noise in the image at different scales, but also learn and correct the noisy features through the residual learning module, further improving the accuracy of denoising. At the same time, the feature fusion strategy effectively integrates the feature information at each scale, making the denoising effect more comprehensive and detailed. And the introduction of the contextual attention mechanism enables the algorithm to adaptively focus on the key areas in the image, thereby better protecting the detailed information of the image during the denoising process, greatly improving the image quality, and providing high-quality image data for various application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A flowchart of an image denoising method based on deep learning provided by the present invention;
[0044] Figure 2 A module structure diagram of a deep learning-based image denoising system provided by the present invention. DETAILED DESCRIPTION
[0045] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings. In addition, the embodiments of the present invention and the features in the embodiments may be combined with each other without conflict.
[0046] It should also be noted that, for ease of description, only the part relevant to the present invention but not all the content is shown in the accompanying drawings. It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as the processing or method described as a flow chart. Although the flow chart describes each operation (or step) as being processed sequentially, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0047] Embodiment 1
[0048] The present invention provides an image denoising method based on deep learning, and the denoising method comprises the following steps:
[0049] S1: Acquire an image to be denoised, and extract multi-scale noise features of the image to be denoised.
[0050] In this embodiment, a convolutional neural network (CNN) structure is constructed to extract multi-scale noisy features of the image to be denoised. The convolutional neural network is configured with multiple convolutional layers, each of which uses convolution kernels of different sizes. The sizes of these convolution kernels range widely, so as to capture multiple scale features in the image, from fine texture details to broad structural outlines. Through this design, the convolutional neural network can perform hierarchical analysis on the input image to be denoised during the forward propagation process, and each layer focuses on extracting feature information within a specific scale range, including those high-frequency details carrying noise and relatively smooth low-frequency structures.
[0051] S2: Inputting the multi-scale noisy features of the image to be denoised one by one into a preset configuration residual learning module for denoising, and outputting residual correction features of each scale.
[0052] In this embodiment, a multi-level strategy is used to accurately identify and reduce the noise in the image while protecting and enhancing the details of the original image. This stage begins with converting the image to a high-dimensional latent feature space. This conversion is achieved through a deep separable convolutional network, which optimizes the feature expression and highlights the difference between noise and signal features. Subsequently, the residual learning structure is used to learn how to identify noise patterns at different scales to achieve effective recognition of noise. Finally, based on the identified noise components, the features of each scale are corrected one by one, and these corrected features are fused to generate a purer image representation. This series of operations work together to systematically improve the denoising effect of the image while maintaining the integrity and authenticity of the image content.
[0053] S3: performing feature fusion on the residual correction features of each scale obtained to obtain a comprehensive feature map of the image to be denoised.
[0054] In this embodiment, the residual correction features of all scales are integrated into a comprehensive feature map through weighted summation. The feature fusion ensures the complementarity of multi-scale information, which not only improves the comprehensiveness of denoising, but also enhances the structural coherence and detail richness of the image.
[0055] S4: The attention weight matrix calculated based on the contextual attention mechanism is weighted to perform weighted processing on the comprehensive feature map to obtain a weighted feature map.
[0056] In this embodiment, the contextual attention mechanism is used to calculate an attention weight matrix, which reflects the importance of each area of the image to the final denoising result. By multiplying the comprehensive feature map element by element, the important areas are enhanced and the unimportant areas are suppressed, further refining the denoising effect.
[0057] S5: Combining the weighted feature map with the image to be denoised through a residual connection to generate a final denoised image.
[0058] In this embodiment, the weighted feature map is added to the original image to be denoised through residual connection to generate the final denoised image. This connection method ensures that no new distortion is introduced during the denoising process, while maximizing the noise elimination effect, ensuring a smooth transition between the denoised image and the original image, and preventing information loss caused by excessive processing.
[0059] Specifically, step S1 specifically includes:
[0060] S101: preprocessing the image to be denoised to obtain the preprocessed image to be denoised.
[0061] In this embodiment, this stage mainly involves two key operations: resizing and normalization. Resizing is to ensure that the image can adapt to the input requirements of the subsequent convolutional neural network. The image is usually scaled to a predetermined size, which helps to unify the processing flow and reduce unnecessary computational overhead. Normalization is to standardize the image pixel value range and scale the pixel value to between 0 and 1, which can accelerate the network training process, improve the convergence speed of the model, and make the network more robust to changes in lighting.
[0062] S102: using a plurality of preset convolutional layers to capture multi-scale noisy features of the pre-processed image to be denoised, wherein each convolutional layer has a convolution kernel of a different size.
[0063] In this embodiment, multiple preset convolutional layers are used to capture the multi-scale noisy features of the preprocessed image. Each convolutional layer is configured with convolution kernels of different sizes, which can analyze the image content from different angles and scales. Small-sized convolution kernels can focus on the details and high-frequency information of the image, such as texture and edges; while large-sized convolution kernels are good at capturing low-frequency features of the image, such as shape and structure. By combining these feature extractions at different scales, the network can construct a comprehensive and rich feature representation, including both the noise part and the clean signal part in the image. In addition, this multi-scale feature extraction mechanism enhances the generalization ability of the model, making it more stable and effective when facing different types of image noise.
[0064] Specifically, step S2 specifically includes:
[0065] S201: Mapping the multi-scale noisy features one by one into a latent feature space through a preset feature extraction network to obtain an intermediate feature representation.
[0066] In this embodiment, a deep separable convolutional network is used as a preset feature extraction network, which is composed of multiple consecutive layers, including but not limited to:
[0067] Input layer: receives multi-scale noisy feature maps.
[0068] Multi-layer deep separable convolutional layers: Each layer contains two steps: deep convolution and point convolution. Deep convolution is used to extract features in the channel dimension to reduce computational complexity; point convolution is responsible for mixing features in the spatial dimension to enhance feature expression capabilities. Each layer is followed by Batch Normalization to stabilize the training process, and nonlinear activation functions such as ReLU increase the network's expression capabilities.
[0069] Feature mapping layer: Maps the features after the above processing to a high-dimensional potential feature space, which can provide an environment that is more conducive to distinguishing noise from signals.
[0070] Through the above processing, the original multi-scale noisy features are converted into intermediate feature representations with a higher level of abstraction. In this latent space, the difference in feature distribution between noise and real signals is amplified, providing a basis for subsequent noise component identification.
[0071] S202: In the latent feature space, the noise component in the intermediate feature representation is identified and learned by the residual learning block of the residual learning module to obtain residual correction items of each scale.
[0072] In this embodiment, each residual learning block consists of two main paths: the main path directly performs convolution, BN and activation functions on the input features to build an approximation of the clean features; the shortcut path directly passes the input to learn the residual (i.e., the difference between the main path output and the shortcut path output).
[0073] At the same time, for feature maps of different scales, the convolution kernel size and step size in the residual learning block are adjusted to ensure the effective capture of noise of different scales. For example, for small-scale feature maps, small convolution kernels are used to maintain details, while large-scale feature maps may use large convolution kernels to capture broader contextual information.
[0074] S203: superimposing the obtained residual correction term of each scale onto the noisy feature of the corresponding scale to obtain the residual correction feature of each scale.
[0075] In this embodiment, for the features of each scale, the calculated residual correction term (i.e., the noise component) is subtracted from the original noisy features by element-by-element subtraction. Considering the complementarity of information between scales, this process is performed independently at each scale, but the results will be integrated in subsequent steps to form a global denoising effect.
[0076] In addition, in order to prevent edge blur or information loss caused by over-correction, a smoothing process including but not limited to a slight Gaussian blur may be applied to the residual correction feature to maintain the naturalness and clarity of the image.
[0077] Through sophisticated scale-by-scale residual correction, not only most of the noise pollution is removed, but also the high-frequency details of the image are preserved and enhanced, ensuring a significant improvement in image quality.
[0078] Specifically, step S3 specifically includes:
[0079] S301: performing feature alignment on the residual correction features of each scale to obtain aligned residual correction features of each scale.
[0080] In this embodiment, feature alignment can solve the problem of spatial inconsistency that may exist between feature maps of different scales. By performing detailed spatial transformation on the residual correction features of each scale, such as bilinear interpolation or nearest neighbor interpolation, it ensures that the feature maps of all scales are accurately matched in the spatial dimension, which helps to avoid information loss caused by spatial misalignment during subsequent fusion, and improves the accuracy and efficiency of feature fusion. Through feature alignment, the features of each layer can effectively correspond to the same pixel position, creating a good prerequisite for subsequent weighted fusion.
[0081] S302: Assign different weights to the residual correction features of each scale through a learning algorithm, and perform feature fusion based on the weights to obtain a preliminary comprehensive feature map.
[0082] In this embodiment, feature fusion is not just a simple superposition, but a learning algorithm based on a trainable fully connected layer dynamically assigns weights to the residual correction features of each scale. This learning process optimizes the weight assignment based on the importance of the features and their contribution to the final image quality. Exemplarily, the network learns to give higher weights to small-scale features that retain more detail information, and to give appropriate weights to large-scale features that reflect the overall structure. Based on these weights, features are fused in a weighted summation manner to form a preliminary comprehensive feature map that contains rich details without losing the macro structure. This method enhances the adaptability and effect of the denoising process, so that the fused features better represent the global and local information of the image.
[0083] S303: Apply an activation function to perform nonlinear processing on the preliminary comprehensive feature map to obtain a final comprehensive feature map.
[0084] In this embodiment, the ReLU activation function is applied to perform a nonlinear transformation on the preliminary comprehensive feature map, which is a key step in promoting expressiveness in the deep learning model. The introduction of the activation function breaks the limitations of linear combinations, increases the complexity and learning ability of the network, and enables the model to fit more complex image feature relationships. Through this nonlinear processing, the information in the comprehensive feature map is further refined and enhanced, which helps to highlight the key structures and details in the image while suppressing unimportant noise or background interference. The final comprehensive feature map therefore has a stronger representational power, laying a solid foundation for the subsequent generation of high-quality denoised images.
[0085] Specifically, step S4 specifically includes:
[0086] S401: Use a first mapping function to map the comprehensive feature map into a key feature space to obtain key features.
[0087] In this embodiment, a deep neural network substructure is used as the first mapping function. The structure consists of multiple convolutional layers with smaller convolution kernels (such as 3x3), each followed by a ReLU activation function to extract local discriminative features in the comprehensive feature map. A global average pooling layer is added at the end of the network, which is used to aggregate the feature information of each channel into a single value. The resulting output can be regarded as a "key feature" vector, which effectively transforms the comprehensive feature map into a key feature space, which contains the most representative feature information in the image and is critical to global understanding.
[0088] S402: Use a second mapping function to map the comprehensive feature graph into a query feature space to obtain a query feature.
[0089] In this embodiment, a second deep neural network substructure is used as the second mapping function. It is designed with a larger convolution kernel (such as 5x5) to capture a wider range of contextual information and understand the long-distance dependencies between features. Similarly, the network embeds a ReLU activation function to enhance nonlinear expression and generates a "query feature" vector through global average pooling. This query feature space focuses on how image regions interact with each other and the relative importance of each part in the global context.
[0090] S403: Calculate an attention weight matrix between the key feature and the query feature, and normalize the attention weight matrix.
[0091] In this embodiment, after obtaining the key features and query features, the next key step is to calculate the similarity between the two to generate an attention weight matrix. Specifically, the dot product similarity measurement method is used to measure the degree of match between each pair of key features and query features. The calculated original weight matrix will be further normalized, including but not limited to using a softmax function to ensure that the sum of the attention weights of all regions is 1, so that attention resources can be reasonably allocated to avoid over-emphasis on certain areas and neglect of other areas. The normalized attention weight matrix is then used to guide the weighting of the comprehensive feature map, strengthening the details of the key areas in the image while suppressing unimportant background or noise, thereby achieving a refined denoising effect.
[0092] S404: Perform weighted summation on the comprehensive feature map using the normalized attention weight matrix to obtain a weighted feature map.
[0093] In this embodiment, the normalized attention weight matrix is broadcast and applied to the original comprehensive feature map. Specifically, for each pixel position in the comprehensive feature map, there is a corresponding attention weight value, which reflects the contribution of the position to the final clear image. By performing element-by-element multiplication operations on each channel in the comprehensive feature map and the corresponding attention weight, weighted adjustment of different parts of the feature map is achieved.
[0094] Specifically, step S5 specifically includes:
[0095] S501: Calculate the original residual between the weighted feature map and the image to be denoised.
[0096] In this embodiment, the original residual is calculated by element-by-element subtraction, that is, the weighted feature map is subtracted from the image to be denoised, so as to clearly point out which parts of the image contain more noise or details that need to be corrected, thereby providing a direct reference benchmark for subsequent denoising operations, ensuring that the denoising process is highly targeted and can accurately locate the area that needs adjustment.
[0097] S502: Performing a preliminary denoising estimation on the image to be denoised using the original residual to obtain a preliminary denoised image.
[0098] In this embodiment, a preliminary denoised version of the image can be obtained by applying the inverse operation of the original residual to the image to be denoised, that is, adding a negative original residual. Although this preliminary estimate is simple, it is based on the noise and signal distinction information obtained in the previous step, so it can effectively reduce the noise interference in the image and lay the foundation for subsequent refined processing. Although the preliminary denoised image may still contain some residual noise, the image quality has been significantly improved.
[0099] S503: Input the preliminary denoised image into a preset lightweight convolutional network to obtain an adjusted residual.
[0100] In this embodiment, a lightweight convolutional network is used to analyze the preliminary denoised image to identify and quantify the remaining noise components. The lightweight network design helps to reduce computing resource consumption while maintaining denoising performance. It learns high-level features extracted from the preliminary denoised image and outputs an adjusted residual map, which represents the distribution of noise that still exists after preliminary processing.
[0101] S504: Using a weighted average fusion strategy to fuse the original residual and the adjusted residual to obtain a final residual.
[0102] In this embodiment, in order to comprehensively consider the information in the preliminary denoising stage and the deep learning refinement stage, the weighted average method is used to fuse the original residual and the adjusted residual. By giving different weights, the contribution of the two parts of information can be flexibly adjusted to achieve the optimal denoising effect. The final residual after fusion better reflects the comprehensive noise characteristics and provides more comprehensive guidance for accurate denoising.
[0103] S505: Apply the final residual to the image to be denoised to obtain a final denoised image.
[0104] In this embodiment, the noise elimination process is completed by adding the final residual back to the original image to be denoised. Since the residual contains the precise positioning and quantification information of the noise, this operation effectively removes most of the noise from the image while retaining the real details and structural information of the image. The final output image achieves a high level of denoising effect while maintaining visual quality. The residual connection strategy ensures the continuity and stability of the processing process, avoids the loss or distortion of information, and improves the naturalness and realism of the denoised image.
[0105] The working principle of the image denoising method based on deep learning provided by the present invention is as follows: The present invention significantly improves the accuracy and efficiency of image denoising by comprehensively using multi-scale feature extraction technology, residual learning module, feature fusion strategy and contextual attention mechanism. It can not only fully capture the distribution characteristics of noise in the image at different scales, but also learn and correct the noisy features through the residual learning module, further improving the accuracy of denoising. At the same time, the feature fusion strategy effectively integrates the feature information at each scale, making the denoising effect more comprehensive and detailed. And the introduction of the contextual attention mechanism enables the algorithm to adaptively focus on the key areas in the image, so as to better protect the detailed information of the image during the denoising process, greatly improve the image quality, and provide high-quality image data for various application scenarios.
[0106] Embodiment 2
[0107] The present invention also provides an image denoising system based on deep learning, which is applied to an image denoising system based on deep learning, referring to Figure 2 As shown, the noise reduction system includes:
[0108] The multi-scale feature extraction module 100 is used to obtain an image to be denoised and extract multi-scale noise-containing features of the image to be denoised.
[0109] The residual learning module 200 is used to input the multi-scale noisy features of the image to be denoised into a residual learning module with a preset configuration one by one for denoising, and output the residual correction features of each scale.
[0110] The feature fusion module 300 is used to perform feature fusion on the residual correction features of each scale to obtain a comprehensive feature map of the image to be denoised.
[0111] The attention mechanism processing module 400 is used to perform weighted processing on the comprehensive feature map based on the attention weight matrix calculated by the contextual attention mechanism to obtain a weighted feature map.
[0112] The denoised image generation module 500 is used to combine the weighted feature map and the image to be denoised by using a residual connection method to generate a final denoised image.
[0113] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0114] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or includes elements that are inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.
Claims
1. A deep learning-based image denoising method, characterized in that: The noise reduction method includes the following steps: S1: Acquire an image to be denoised, and extract multi-scale noise features of the image to be denoised; S2: Inputting the multi-scale noisy features of the image to be denoised into a preset residual learning module one by one for denoising, and outputting the residual correction features of each scale; S3: performing feature fusion on the residual correction features of each scale obtained to obtain a comprehensive feature map of the image to be denoised; S4: The comprehensive feature map is weighted based on the attention weight matrix calculated by the contextual attention mechanism to obtain a weighted feature map; S5: Combining the weighted feature map with the image to be denoised through a residual connection to generate a final denoised image.
2. The image denoising method based on deep learning according to claim 1, characterized in that: Step S1 specifically includes: S101: preprocessing the image to be denoised to obtain the preprocessed image to be denoised; S102: using a plurality of preset convolutional layers to capture multi-scale noisy features of the pre-processed image to be denoised, wherein each convolutional layer has a convolution kernel of a different size.
3. The image denoising method based on deep learning according to claim 2, characterized in that: The preprocessing includes resizing and normalization.
4. The image denoising method based on deep learning according to claim 3, characterized in that: Step S2 specifically includes: S201: Mapping the multi-scale noisy features one by one into a potential feature space through a preset feature extraction network to obtain an intermediate feature representation; S202: In the latent feature space, the noise component in the intermediate feature representation is identified and learned by the residual learning block of the residual learning module to obtain residual correction items of each scale; S203: superimposing the obtained residual correction term of each scale onto the noisy feature of the corresponding scale to obtain the residual correction feature of each scale.
5. The image denoising method based on deep learning according to claim 4, characterized in that: Step S3 specifically includes: S301: performing feature alignment on the residual correction features of each scale to obtain aligned residual correction features of each scale; S302: assigning different weights to the residual correction features of each scale through a learning algorithm, and performing feature fusion based on the weights to obtain a preliminary comprehensive feature map; S303: Apply an activation function to perform nonlinear processing on the preliminary comprehensive feature map to obtain a final comprehensive feature map.
6. The image denoising method based on deep learning according to claim 5, characterized in that: Step S4 specifically includes: S401: Mapping the comprehensive feature map to the key feature space using a first mapping function to obtain the key feature; S402: Mapping the comprehensive feature graph to the query feature space using a second mapping function to obtain a query feature; S403: Calculating an attention weight matrix between the key feature and the query feature, and normalizing the attention weight matrix; S404: Perform weighted summation on the comprehensive feature map using the normalized attention weight matrix to obtain a weighted feature map.
7. The image denoising method based on deep learning according to claim 6, characterized in that: Step S5 specifically includes: S501: Calculating the original residual between the weighted feature map and the image to be denoised; S502: performing preliminary denoising estimation on the image to be denoised using the original residual to obtain a preliminary denoised image; S503: Inputting the preliminary denoised image into a preset lightweight convolutional network to obtain an adjusted residual; S504: using a weighted average fusion strategy to fuse the original residual and the adjusted residual to obtain a final residual; S505: Apply the final residual to the image to be denoised to obtain a final denoised image.
8. A deep learning-based image denoising system, applied to the deep learning-based image denoising system as claimed in any one of claims 1 to 7, characterized in that: The noise reduction system includes: A multi-scale feature extraction module, used to obtain the image to be denoised and extract the multi-scale noise-containing features of the image to be denoised; A residual learning module, used for inputting the multi-scale noisy features of the image to be denoised into a residual learning module with a preset configuration one by one for denoising, and outputting residual correction features of each scale; A feature fusion module is used to fuse the residual correction features of each scale to obtain a comprehensive feature map of the image to be denoised; An attention mechanism processing module is used to perform weighted processing on the comprehensive feature map based on the attention weight matrix calculated by the contextual attention mechanism to obtain a weighted feature map; The denoising image generation module is used to combine the weighted feature map and the image to be denoised through a residual connection to generate a final denoised image.
Citation Information
Patent Citations
Image denoising method and device based on multi-scale mixed attention residual network
CN111311518A
SAR image denoising method based on multi-scale residual attention network
CN112233026A
Remote sensing image noise reduction method and system based on multiple scales and attention mechanism
CN114565528A
Image noise reduction model and method based on residual dense network and attention mechanism
CN116523800A
Texture preserving low-dose CT image denoising based on texture feature guidance
CN116596785A
Cited By
D-NeRF image noise reduction method and system based on MSAF-DT
CN119295342A
