An image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion
An image denoising device that combines adaptive local enhancement with dynamic multi-scale dependency fusion solves the problems of local detail loss, channel redundancy, and computational complexity in high-resolution image denoising, achieving efficient and accurate image denoising processing suitable for complex noise scenarios.
Patent Information
- Application Number
- CN202510370829.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2045-03-27
AI Technical Summary
Existing image denoising techniques face challenges when processing high-resolution images, including issues such as local pixel forgetting, channel redundancy, the contradiction between global dependency modeling and computational complexity, and a lack of adaptive noise processing capabilities.
An image denoising device employing adaptive local enhancement and dynamic multi-scale dependency fusion includes data preprocessing, an adaptive local convolution enhancement module, a beam scanning-based long-short-term dependency modeling module, a multi-level representation information extraction module, and a fine-grained reconstruction module. By dynamically adjusting the convolution kernel, beam scanning, and multi-scale feature fusion, it captures the local and global dependencies of the image and adaptively processes noise.
It improves the accuracy and efficiency of image denoising, can maintain global structure and local details in complex noisy scenes, reduces computing resource consumption, and is suitable for denoising needs in various complex scenarios.
Smart Images

Figure CN120495113B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image denoising technology, and more specifically, to an image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion. Background Technology
[0002] Image denoising, a crucial task in image processing, aims to recover high-quality original images from noisy images. Currently, deep learning excels in image denoising, particularly transformer methods based on convolutional neural networks and self-attention mechanisms, which have become mainstream. While these techniques address some of the limitations of traditional denoising algorithms, they still face significant challenges when processing high-resolution images and complex noisy scenes.
[0003] Convolutional neural networks (CNNs) have been widely used in image denoising due to their powerful local feature extraction capabilities. Convolutional layers can effectively restore image details, but their inherent limitation lies in the limited receptive field. This means that CNNs are not good at modeling global dependencies, especially in high-resolution images, where they struggle to capture dependencies between distant pixels, resulting in defects in global structure preservation during denoising. Furthermore, since convolution operations are performed in the same way on different channels, they cannot adaptively adjust according to the importance of each channel, leading to underutilization of channel information and channel redundancy, which reduces the efficiency of CNNs.
[0004] In contrast, transformer-based self-attention mechanisms excel in image denoising by modeling global pixel dependencies, particularly in preserving global structure and restoring details. Transformer-based self-attention mechanisms can capture global dependencies in images through a large receptive field. However, the main bottleneck of transformers lies in their computational complexity, which grows to O(n²), especially in high-resolution image denoising tasks where computational resource requirements are extremely high, making it difficult to meet the efficiency requirements of practical applications. Although some studies have attempted to reduce computational overhead through sliding window attention mechanisms, this approach usually sacrifices the global receptive field and still fails to completely solve the balance problem between computational complexity and global dependency modeling.
[0005] In recent years, State-Space Models (SSMs), especially the Mamba model, have demonstrated great potential in long-range dependency modeling through their efficient structured state-space mechanism. The Mamba model employs recursive state equations and parallel scanning algorithms, enabling it to efficiently capture dependencies in long sequences and process global information with linear complexity. Therefore, the Mamba model performs exceptionally well in one-dimensional sequence tasks such as natural language processing. However, when applied to image processing, especially image denoising, the Mamba model faces new challenges: First, by flattening a two-dimensional image into a one-dimensional sequence, previously adjacent pixels may become significantly separated after flattening, leading to the problem of local pixel forgetting. Second, to capture long-range dependencies, the Mamba model introduces a large number of hidden states, which not only causes channel redundancy but also affects the model's computational efficiency and feature representation capabilities.
[0006] In summary, although existing deep learning methods have made some progress in image denoising tasks, the following key issues still exist:
[0007] (1) Local pixel forgetting problem: Convolutional neural networks have limited receptive fields and are difficult to effectively capture global information of images; while the Mamba model separates spatially adjacent pixels to far-away positions during image flattening, which weakens the dependence between originally correlated local pixels and makes it easy to lose local detail information.
[0008] (2) Channel redundancy problem: When processing images, existing convolutional neural networks and Mamba models process all channels uniformly, failing to adaptively select and enhance important channel information, resulting in a waste of computing resources and limiting the denoising effect of the model. There is no adaptive adjustment mechanism for the information processing weights of different channels, causing the network to fail to fully utilize all effective features.
[0009] (3) The contradiction between global dependency modeling and computational complexity: The self-attention mechanism based on transformers can capture the global pixel dependency relationship under a large receptive field, but its computational complexity is extremely high, especially when processing high-resolution images, it requires huge computational resources; Although the Mamba model optimizes the efficiency of global dependency modeling through parallel scanning and state equations, its ability to balance global and local information modeling still needs to be improved.
[0010] (4) Lack of adaptive noise processing capability: Existing denoising models often lack the ability to adaptively process noise features. The network parameters are fixed and cannot be dynamically adjusted according to different noise levels and image features, resulting in unsatisfactory denoising effects in complex noise scenarios. Summary of the Invention
[0011] To address the problems existing in the prior art, this invention provides an image denoising device based on adaptive local enhancement and dynamic multi-scale dependency fusion, which solves problems such as loss of local details, channel redundancy, global dependency modeling and computational complexity balance in existing image denoising techniques, thereby achieving efficient and accurate image denoising processing.
[0012] To achieve the above technical objectives, the present invention adopts the following technical solution: an image denoising device based on adaptive local enhancement and dynamic multi-scale dependency fusion, comprising: a data preprocessing module, an adaptive local convolution enhancement module, a beam scanning-based long-short-term dependency modeling module, a multi-level representation information extraction module, and a refined reconstruction module.
[0013] The data preprocessing module is used to perform pixel normalization, color space conversion, and size and resolution adjustment on the image to be denoised, so as to obtain a standard image.
[0014] The adaptive local convolution enhancement module dynamically adjusts the receptive field of the convolution kernel according to the noise characteristics on the standard image, and extracts the original feature map on the standard image;
[0015] The beam-scan-based long-short-term dependency modeling module uses beam scanning technology to capture long-short-term dependencies on the original feature map, fuses them with a standard image, and obtains a preliminary denoised feature map.
[0016] The multi-level representation information extraction module is used to extract deep denoising feature maps at different scales from the initial denoising feature map;
[0017] The refined reconstruction module fuses and refines the original feature map and the deep denoising feature map to output a noise-free image.
[0018] Furthermore, the adaptive local convolution enhancement module includes: a noise characteristic analysis unit, a dynamic convolution kernel generation unit, a convolution operation unit, and a feature fusion unit;
[0019] The noise characteristic analysis unit analyzes the noise characteristics on the standard image and extracts information on the noise type, intensity and spatial distribution.
[0020] The dynamic convolution kernel generation unit dynamically generates convolution kernels that adapt to the current noise environment based on the noise information extracted by the noise characteristic analysis unit.
[0021] The convolution operation unit uses the generated convolution kernel to perform convolution operations on the standard image;
[0022] The feature fusion unit fuses the features after convolution with the standard image to obtain the original feature map on the standard image.
[0023] Furthermore, the dynamic generation process of the convolutional kernel includes:
[0024] i. Dynamically adjust the size of the convolution kernel according to the type and intensity of the noise; the greater the intensity of the noise, the larger the convolution kernel.
[0025] ii. Dynamically adjust the geometry of the convolution kernel based on the spatial distribution of noise;
[0026] iii. Optimize the weight parameters of the convolution kernel through a learnable parameter adjustment mechanism, and dynamically adjust the weight distribution of the convolution kernel through an attention mechanism.
[0027] Furthermore, the beam-scan-based long- and short-term dependency modeling module includes: a beam scanning unit, a Mamba long-range dependency modeling unit, a short-range dependency modeling unit, a dependency fusion unit, and a feature integration unit;
[0028] The beam scanning unit dynamically adjusts the scanning beam according to the noise intensity to scan the original feature map and obtain the scanning features;
[0029] The Mamba long-range dependency modeling unit inputs the original feature map and the scanned features into the long-range dependency modeling unit to capture the dependency relationship between long-distance pixels in the original feature map;
[0030] The short-range dependency modeling unit is used to capture the dependency relationships between short-range pixels in the original feature map;
[0031] The dependency fusion unit uses an attention mechanism to weightedly fuse the dependencies between long-distance pixels and the dependencies between short-distance pixels to obtain fused dependency information;
[0032] The feature integration unit fuses the fusion dependency information with the standard image to obtain a preliminary denoised feature map.
[0033] Furthermore, the specific process by which the beam scanning unit scans the original feature map is as follows:
[0034] A. Based on the various structural and texture information on the original feature map, design several scanning directions and generate corresponding scanning paths for each scanning direction;
[0035] B. Based on the noise intensity information along the scanning path, dynamically adjust the width and stride of the scanning beam. The greater the noise intensity, the wider the scanning beam and the smaller the scanning beam stride.
[0036] C. Using dynamically adjusted scanning beam width and stride, scan the original feature map along the scanning path to obtain scanning features.
[0037] Furthermore, the multi-level representation information extraction module consists of several multi-scale feature fusion residual state space group modules. Each multi-scale feature fusion residual state space group module is composed of several multi-scale feature fusion residual state space blocks, a first convolutional layer, and a first residual connection connected in series. The multi-scale feature fusion residual state space blocks are used to extract and fuse features of different scales in the input feature map. The first convolutional layer is used to adjust the number of channels or spatial size of the features so that the dimension of the features is consistent with the dimension of the input features. Figure 1 The first residual connection is used to superimpose the adjusted features and the input features to obtain the output features.
[0038] Furthermore, each multi-scale feature fusion residual state space block includes: a first normalization layer, a visual state space module, a second residual connection, a second normalization layer, a second convolutional layer, a dynamic channel attention mechanism, and a third residual connection; the first normalization layer, the visual state space module, and the second residual connection are connected in series, and the input end of the second residual connection is also connected to the input feature map; the output end of the second residual connection is connected to the input end of the third residual connection and the input end of the second normalization layer, respectively; the second normalization layer, the second convolutional layer, the dynamic channel attention mechanism, and the third residual connection are connected in series.
[0039] Furthermore, the visual state space module includes two parallel branches. One branch is used for spatial information processing, including a first linear layer, a deep convolutional layer, a first SiLU activation function, a two-dimensional selective scanning module, and a third normalization layer connected in series. The other branch is used for channel information processing, including a second linear layer and a second SiLU activation function connected in series. The results of spatial information processing and channel information processing are fused using a Hadamard product, and the fused result is then passed through a third linear layer to restore the number of channels.
[0040] Furthermore, the two-dimensional selective scanning module flattens the input features into a sequence according to the spatial dimensions, scans the sequence according to the set scanning direction, extracts the feature sequences in multiple directions, performs weighted fusion, and then reshapes them back into a two-dimensional feature form.
[0041] Furthermore, the refined reconstruction module includes: a feature alignment unit, a multi-source feature fusion unit, a reconstruction detail enhancement unit, an image reconstruction decoder, and an output mapping and activation unit; the feature alignment unit is used to align the original feature map and the deep denoising feature map in terms of spatial size and match the number of channels; the multi-source feature fusion unit is used to fuse the original feature map and the deep denoising feature map that have been aligned in terms of spatial size and matched in terms of the number of channels; the reconstruction detail enhancement unit is used to extract high-level features from the fused features; the image reconstruction decoder is used to map the high-level features back to the image space; and the output mapping and activation unit maps the high-level features mapped back to the image space to the image pixel space to obtain a noise-free image.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] (1) The adaptive local convolution enhancement module in the image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion of the present invention dynamically adjusts the size, shape and parameters of the convolution kernel according to the noise characteristics information on the image, so as to enhance the detail recovery capability of local areas of the image. This adaptive local convolution enhancement module overcomes the local pixel forgetting defect of traditional convolutional neural networks by adaptively adjusting the receptive field of the convolution kernel, improves the sensitivity of local pixels, and ensures that more detail information can be retained when processing images with different noise levels, thereby improving the denoising quality of the image;
[0044] (2) The long-term dependency modeling module based on beam scanning in the image denoising device based on adaptive local enhancement and dynamic multi-scale dependency fusion of the present invention combines the long-term dependency modeling capability of the Mamba model and innovatively introduces a beam scanning unit, which can scan the image from multiple directions, thereby capturing the dependency relationship between distant pixels more efficiently, while maintaining the close correlation of local pixels. This solves the problem of imbalance between global and local information in traditional methods, and can further improve the denoising effect of the image, especially in high-resolution images with complex global structures.
[0045] (3) The image denoising device of this invention based on adaptive local enhancement and dynamic multi-scale dependent fusion uses a multi-scale feature fusion residual state space block to address the impact of noise at different scales on image denoising performance. It extracts local and global features of the image at different scales and effectively fuses information from different scales through residual connections. Simultaneously, the dynamic channel attention mechanism automatically learns the weights of each channel and adaptively selects key channels based on the noise characteristics of different channels in the image, reducing the computational overhead of irrelevant or redundant channels. This effectively reduces computational redundancy, making the denoising process more efficient and improving the denoising effect, ensuring that important information is fully utilized. Through the collaborative work of multi-scale features, this invention can handle various types of noise, especially complex multi-scale noise scenes, achieving a good balance between global structure preservation and local detail restoration.
[0046] In summary, the image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion of this invention achieves a balance between image denoising accuracy and efficiency, making it suitable for denoising needs in various complex scenarios. Compared with existing technologies, this invention exhibits higher image restoration capabilities and computational efficiency when processing high-resolution images and complex noisy scenes, demonstrating broad application prospects and practical value. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of the image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to the present invention;
[0048] Figure 2 This is a schematic diagram of the adaptive local convolution enhancement module in this invention;
[0049] Figure 3 This is a schematic diagram of the long-short-term dependency modeling module based on beam scanning in this invention;
[0050] Figure 4 This is a schematic diagram of the residual state space block of multi-scale feature fusion in this invention;
[0051] Figure 5 This is a schematic diagram of the visual state space module in this invention. Detailed Implementation
[0052] The technical solution of the present invention will be further explained and described below with reference to the accompanying drawings.
[0053] like Figure 1 This is a schematic diagram of the image denoising device based on adaptive local enhancement and dynamic multi-scale dependency fusion of the present invention. The image denoising device includes: a data preprocessing module, an adaptive local convolution enhancement module, a beam scanning-based long-short-term dependency modeling module, a multi-level representation information extraction module, and a refined reconstruction module.
[0054] The data preprocessing module is used to perform pixel normalization, color space conversion, and size and resolution adjustment on the image to be denoised, so as to obtain a standard image and ensure the consistency of the standard image, thereby improving the generalization ability of the image denoising device in complex environmental noise and the computational efficiency during inference.
[0055] The adaptive local convolution enhancement module dynamically adjusts the receptive field of the convolution kernel according to the noise characteristics on the standard image, extracts the original feature map on the standard image, and can significantly improve the detail recovery ability of local areas of the image, thereby improving the overall image denoising quality.
[0056] The beam-scan-based long-short-term dependency modeling module uses beam scanning technology to capture long-short-term dependencies on the original feature map, fuses them with a standard image, and obtains a preliminary denoised feature map.
[0057] The multi-level representation information extraction module is used to extract deep denoising feature maps at different scales from the initial denoising feature map;
[0058] The fine-grained reconstruction module fuses and finely reconstructs the original feature map and the deep denoising feature map to output a noise-free image.
[0059] This invention achieves a balance between image denoising accuracy and efficiency through an image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion, making it suitable for denoising needs in various complex scenarios. Compared to existing technologies, this invention exhibits higher image restoration capabilities and computational efficiency when processing high-resolution images and complex noisy scenes, demonstrating broad application prospects and practical value.
[0060] To enhance the adaptability of the image denoising device of this invention to diverse noise scenarios, an expanded training dataset was constructed during the training phase. This was achieved by implementing various data augmentation strategies on the original dataset D, including the addition of multiple noise types such as Gaussian noise, salt-and-pepper noise, and Poisson noise; geometric transformations of the image such as rotation, flipping, scaling, and cropping; and adjustments to image color and brightness, thereby generating rich training samples. Furthermore, advanced augmentation techniques such as Cutout, Mixup, and random erasure were used to simulate realistic and complex noise, further improving the robustness of the image denoising device. Simultaneously, through data balancing and multi-scale training strategies, the device can comprehensively adapt to various noise conditions, improving denoising performance in practical applications.
[0061] In the inference stage of the image denoising device of this invention, the data preprocessing module is designed to achieve efficient processing of the input image, ensuring a balance between inference speed and denoising effect. First, the data preprocessing module reads and normalizes the input image, and supports color space and format conversion to ensure the image meets the input requirements of the image denoising device. To improve resource utilization, the data preprocessing module converts the computational precision to FP16, significantly reducing memory usage and computational overhead, thereby accelerating the inference process. Furthermore, the batch processing function can process multiple image samples at once to meet the requirements of high throughput and fast response, ensuring the efficiency and stability of the image denoising device in large-scale denoising tasks.
[0062] Through the above multi-level optimization design, the data preprocessing module not only ensures the image quality of the denoising task, but also significantly reduces the consumption of computing resources and enhances the speed and performance of the inference stage, making it suitable for diverse application scenarios from embedded devices to high-performance computing platforms.
[0063] like Figure 2 In this invention, the adaptive local convolution enhancement module can dynamically adjust the size, shape, and parameters of the convolution kernel according to the noise characteristics of the input image, significantly improving the detail recovery capability of local areas of the image, thereby improving the overall image denoising quality. It includes: a noise characteristic analysis unit, a dynamic convolution kernel generation unit, a convolution operation unit, and a feature fusion unit.
[0064] The noise characteristic analysis unit analyzes the noise characteristics on the standard image, extracting information on the noise type, intensity, and spatial distribution; specifically,
[0065] i. Use a classification network to identify the type of noise in the input image, determine whether the noise belongs to Gaussian noise, salt-and-pepper noise, Poisson noise or other types, and combine statistical characteristic analysis such as mean, variance, skewness and kurtosis to further confirm the specific type of noise.
[0066] ii. By calculating the signal-to-noise ratio or peak signal-to-noise ratio of the noisy image, the intensity level of noise is quantified. Local noise estimation algorithms are applied to measure the noise intensity in different regions of the image and obtain the spatial distribution map of the noise intensity.
[0067] iii. Analyze the spatial distribution of noise in the image, identify areas where noise is concentrated and areas where noise is relatively dispersed, and use clustering algorithms to cluster the noise distribution to determine the noise characteristics of different areas.
[0068] The dynamic convolutional kernel generation unit dynamically generates convolutional kernels adapted to the current noise environment based on the noise information extracted by the noise characteristic analysis unit; specifically,
[0069] i. Dynamically adjust the size of the convolution kernel according to the type and intensity of noise. The greater the intensity of noise, the larger the convolution kernel, so as to cover different receptive fields and enhance the noise reduction and detail preservation capabilities.
[0070] ii. Dynamically adjust the geometry of the convolution kernel according to the spatial distribution of noise. For example, use elliptical or rhomboid convolution kernels in regions with linear structures to more flexibly adapt to different structures and textures in the image, thereby more effectively capturing and restoring edge details and avoiding over-smoothing and loss of details.
[0071] iii. By using a learnable parameter adjustment mechanism, the weight parameters of the convolution kernel are optimized to better adapt to the current noisy environment, and the weight distribution of the convolution kernel is dynamically adjusted through an attention mechanism to enhance the responsiveness to key regions.
[0072] The convolution operation unit uses the generated convolution kernel to perform convolution operations on the standard image, which can adapt to the details and structures at different scales in the standard image, ensuring that the convolution kernel can effectively capture image details at different scales, and achieve detail restoration and noise removal.
[0073] The feature fusion unit fuses the features after convolution with the standard image, using skip connections or residual connections to ensure the effective combination of detailed and structural information in the image. It integrates feature information from different levels through a multi-layer perception mechanism to improve the overall denoising effect. At the same time, it fuses the restored detailed information at different scales, using a multi-scale feature fusion strategy to ensure the comprehensiveness and consistency of the denoising effect. By combining multi-scale feature maps and using weighted fusion or stitching, it integrates denoising features from different scales to improve the overall denoising quality of the image, thereby obtaining the original feature map on the standard image.
[0074] The adaptive local convolution enhancement module of this invention significantly improves the detail recovery capability of local image regions by dynamically adjusting the size, shape, and parameters of the convolution kernel, overcoming the limitations of traditional convolutional neural networks in processing images with varying noise levels. This module exhibits high flexibility and adaptability in its technical implementation, maintaining excellent denoising performance in diverse noise environments. It not only improves the quality and efficiency of image denoising but also enhances the robustness and generalization ability of the model, demonstrating broad application prospects and significant market value.
[0075] In one technical solution of the present invention, the adaptive local convolution enhancement module adopts an end-to-end training method, and automatically learns and optimizes various parameters in the adaptive local convolution enhancement module through a backpropagation algorithm, specifically including:
[0076] i. A combination of multiple loss functions is used to comprehensively optimize the denoising effect, including: pixel-level loss function, perceptual loss function, structural similarity loss function, and adversarial loss function. The pixel-level loss function ensures pixel-level denoising accuracy; the perceptual loss function, based on the feature layers of a pre-trained deep network, improves the perceptual quality of the denoised image; the structural similarity loss function ensures the similarity between the denoised image and the original image in terms of structure, brightness, and contrast, maintaining the integrity of the image structure; and the adversarial loss function, by incorporating the idea of generative adversarial networks, enhances the realism and detail richness of the denoised image through a discriminator network.
[0077] ii. Optimize and adjust the parameters in the adaptive local convolution enhancement module through adaptive learning rate scheduling strategy and gradient clipping to ensure the stability and convergence of the adaptive local convolution enhancement module in different training stages;
[0078] iii. Introduce regularization techniques to prevent the adaptive local convolution enhancement module from overfitting, thereby improving its generalization ability on unseen data.
[0079] By optimizing the parameters of the adaptive local convolution enhancement module as described above, the structure and parameters of the convolution kernel can be flexibly adjusted according to the noise characteristics of the input image, thereby efficiently restoring image details under different noise environments and significantly improving the denoising quality of the image.
[0080] like Figure 3 The beam-scanning-based long- and short-term dependency modeling module of this invention includes: a beam scanning unit, a Mamba long-range dependency modeling unit, a short-range dependency modeling unit, a dependency fusion unit, and a feature integration unit. This beam-scanning-based long- and short-term dependency modeling module combines the long-range dependency modeling capability of the Mamba model and innovatively integrates a beam scanning unit. By scanning the image from multiple directions, it can more efficiently capture the dependencies between distant pixels while maintaining the close correlation of local pixels, thus solving the problem of imbalance between global and local information in traditional methods. This module further improves the denoising effect of images, and is especially suitable for high-resolution images with complex global structures.
[0081] The beam scanning unit dynamically adjusts the scanning beam based on noise intensity, performing multi-directional and multi-angle scanning of the original feature map to achieve efficient long-distance dependency capture and obtain scanning features; specifically,
[0082] A. Based on the various structural and texture information on the original feature map, design several scanning directions and generate corresponding scanning paths for each scanning direction to cover the various structural and texture information in the original feature map. The scanning path is a sequence of pixels that traverse the original feature map in a specific direction with a fixed stride.
[0083] B. Based on the noise intensity information traversed along the scanning path, dynamically adjust the width and stride of the scanning beam to adapt to different noise levels and structural complexity. The greater the noise intensity, the wider the scanning beam and the smaller the stride of the scanning beam. The beam width determines the pixel range covered by each scanning path. The smaller the stride of the scanning beam, the higher the scanning accuracy. The larger the stride, the faster the scanning speed.
[0084] C. Using dynamically adjusted scanning beam width and stride, scan the original feature map along the scanning path to obtain scanning features.
[0085] In one technical solution of the present invention, multi-core GPU parallel computing is used to perform multi-directional scanning simultaneously, thereby improving modeling efficiency and speed. Through multi-threading and resource scheduling optimization, specifically, an independent thread or computing unit is allocated to each scanning direction to ensure that multi-directional scanning can be performed simultaneously, reducing the overall computing time. Through dynamic resource scheduling, computing resources are rationally allocated to avoid computing bottlenecks and improve the overall performance of parallel scanning.
[0086] The Mamba long-range dependency modeling unit inputs the original feature map and the scanned features into the long-range dependency modeling unit. Through the features of multi-directional beam scanning, it enhances the ability to capture the dependencies between long-distance pixels in the original feature map, thereby capturing global features.
[0087] The short-range dependency modeling unit is used to capture the dependencies between short-range pixels in the original feature map and maintain the close correlation of details. Specifically, it uses a convolutional neural network or a local self-attention mechanism to extract features from local regions of the image and capture short-range dependencies.
[0088] The dependency fusion unit uses an attention mechanism to weightedly fuse the dependencies between long-distance pixels and the dependencies between short-distance pixels to obtain fused dependency information;
[0089] The feature integration unit fuses the fusion dependency information with the standard image using skip connections or residual connections to ensure comprehensive information transfer and prevent information loss during the transfer process. Then, it restores the spatial size through deconvolution and upsampling to generate a high-resolution denoised feature map. A detail enhancement module is added to improve the image detail retention capability. Through high-frequency information extraction and detail restoration, the image detail retention capability is further improved. A preliminary denoised feature map is generated through convolutional layers and activation functions.
[0090] This invention presents a beam-scanning-based long-short-term dependency modeling module. By combining beam-scanning technology with the Mamba model, it significantly improves the global dependency capture capability in image denoising, solving the problem of global-local information imbalance in traditional methods. This module possesses high flexibility and adaptability, maintaining excellent denoising performance in complex and variable noise environments and high-resolution image processing, improving image denoising quality and efficiency, while enhancing the robustness and generalization ability of the image denoising device. It has broad application prospects and market value.
[0091] The multi-level representation information extraction module in this invention aims to efficiently extract multi-scale, multi-directional, and global features from the initial denoised feature map, achieving accurate modeling and removal of complex noise. It consists of several multi-scale feature fusion residual state space group modules. Each module comprises several multi-scale feature fusion residual state space blocks, a first convolutional layer, and a first residual connection connected in series. The multi-scale feature fusion residual state space blocks are used to extract and fuse features of different scales from the input feature map. The first convolutional layer is used to adjust the number of channels or spatial size of the features, making the dimension of the features match the dimension of the input features. Figure 1 The first residual connection is used to superimpose the adjusted features and the input features, preserving the original information and promoting the effective propagation of gradients, thereby obtaining the output features.
[0092] like Figure 4 Each multi-scale feature fusion residual state space block includes: a first normalization layer, a visual state space module, a second residual connection, a second normalization layer, a second convolutional layer, a dynamic channel attention mechanism, and a third residual connection. The first normalization layer, the visual state space module, and the second residual connection are connected in series, and the input end of the second residual connection is also connected to the input feature map. The output end of the second residual connection is connected to the input end of the third residual connection and the input end of the second normalization layer. The second normalization layer, the second convolutional layer, the dynamic channel attention mechanism, and the third residual connection are connected in series. The first and second normalization layers can stabilize the distribution of features. The dual residual connection can ensure that information in the deep network is not lost and enhance the efficiency of feature transmission. The visual state space module uses the state space equation to capture long-distance dependencies in the global scope and enhance the global feature representation. The dynamic channel attention mechanism can adaptively learn the weights of each channel, highlight key features, suppress redundant information, and reduce computational overhead.
[0093] like Figure 5The visual state space module contains two parallel branches. One branch is used for spatial information processing, which includes a first linear layer, a deep convolutional layer, a first SiLU activation function, a two-dimensional selective scanning module, and a third normalization layer connected in sequence. The other branch is used for channel information processing, which includes a second linear layer and a second SiLU activation function connected in sequence. The results of spatial information processing and channel information processing are fused using a Hadamard product, and the fused result is then passed through a third linear layer to restore the number of channels, thereby enhancing the expressive power of the features.
[0094] The two-dimensional selective scanning module flattens the input features into a sequence according to the spatial dimensions, scans the sequence according to the set scanning direction, and extracts feature sequences in multiple directions. It can make full use of the two-dimensional spatial information of the image, capture structural information and texture features in different directions, thereby enhancing the perception of global features. Then, it performs weighted fusion to reshape the feature back into a two-dimensional form.
[0095] The multi-level representation information extraction module of this invention significantly improves the feature extraction and dependency modeling capabilities in image denoising. This module has high flexibility and scalability, and can maintain excellent denoising performance in complex and variable noise environments and high-resolution image processing, improving image denoising quality and efficiency, while enhancing the robustness and generalization ability of the model. It has broad application prospects and significant market value.
[0096] The refined reconstruction module in this invention aims to perform high-quality fusion and refined reconstruction of features from the adaptive local convolution enhancement module and the multi-level representation information extraction module, generating a clean, clear, and noise-free output image. By integrating multiple feature fusion strategies and reconstruction techniques, the efficiency of the denoising process and the high quality of the result are ensured. This refined reconstruction module includes: a feature alignment unit, a multi-source feature fusion unit, a reconstruction detail enhancement unit, an image reconstruction decoder, and an output mapping and activation unit. The feature alignment unit aligns the spatial dimensions of the original feature map and the deep denoised feature map using upsampling and downsampling operations, and adjusts the number of channels in the original and deep denoised feature maps through 1×1 convolutions to ensure consistency in the number of channels for features from different sources, guaranteeing feature uniformity and compatibility. The multi-source feature fusion unit fuses the spatially aligned and channel-matched original feature map and the deep denoised feature map. Specifically, it generates learnable weights through global average pooling and fully connected layers, weighting and fusing features from different sources to highlight key features and suppress redundant information. The weighted features are then added or concatenated element-wise to form a comprehensive feature representation. The reconstruction detail enhancement unit extracts high-level features from the fused features. Specifically, it uses a deep convolutional network to extract high-level features through multiple convolutional operations, enhancing image detail information. The image reconstruction decoder introduces residual connections between convolutional layers to ensure effective transfer of feature information and prevent information loss. A dynamic channel attention mechanism is applied to further optimize feature representation and improve detail recovery capabilities. Specifically, the image reconstruction decoder maps high-level features back to the image space. It employs sub-pixel convolution to upsample high-level features to high resolution, restoring the image's spatial dimensions. Multiple convolutional operations are then used to gradually restore the image's details and structure, ensuring the reconstructed image maintains high resolution and detail. The output mapping and activation unit maps the high-level features mapped back to the image space to the image pixel space. Specifically, a 1×1 convolution maps the reconstructed image to the required number of channels, generating the final image features. An activation function is used to limit the pixel value range, improving the detail and texture quality of the denoised image and ensuring the pixel values of the output image are within the legal range. The output image is normalized, and the color space is converted from the internal processing format back to the original format, ensuring visual consistency and color accuracy of the output image, resulting in a noise-free image.
[0097] In one technical solution of the present invention, the feature fusion part further includes:
[0098] i. By integrating feature pyramid networks, dependency fusion at different scales is performed to ensure the effective integration of multi-level information;
[0099] ii. Introduce a learnable weight mechanism to dynamically adjust weight allocation based on the strength of dependency. At the same time, adjust the weights of long-range and short-range dependencies based on the strength of regional dependency, and combine the attention mechanism to achieve fine-grained adjustment.
[0100] iii. Use Dropout and L2 regularization to prevent overfitting and improve the generalization ability of the image denoising device. Ensure the rationality and effectiveness of dependency modeling through sparse connections and structural constraints.
[0101] In the real-world image denoising task, this invention uses 320 high-resolution images from the SIDD dataset as training data. These images cover complex real-world noise patterns, providing the image denoising device with learning materials for real-world noise, enabling it to adapt to real-world noise distributions in different scenarios. During the testing phase, the SIDD test set and the DND dataset were selected to comprehensively evaluate the performance of the denoising device in removing real-world noise. Test results show that the denoising capability of the image denoising device of this invention accurately reflects the structural features of the image, indicating that the image denoising device of this invention has good denoising ability.
[0102] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should be considered within the scope of protection of the present invention.
Claims
1. An image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion, characterized in that, include: The module includes a data preprocessing module, an adaptive local convolution enhancement module, a beam scanning-based long-short-term dependency modeling module, a multi-level representation information extraction module, and a refined reconstruction module. The data preprocessing module is used to perform pixel normalization, color space conversion, and size and resolution adjustment on the image to be denoised, so as to obtain a standard image. The adaptive local convolution enhancement module dynamically adjusts the receptive field of the convolution kernel according to the noise characteristics on the standard image, and extracts the original feature map on the standard image; The beam-scan-based long-short-term dependency modeling module uses beam scanning technology to capture long-short-term dependencies on the original feature map, fuses them with a standard image, and obtains a preliminary denoised feature map. The multi-level representation information extraction module is used to extract deep denoising feature maps at different scales from the initial denoising feature map; The refined reconstruction module fuses and refines the original feature map and the deep denoising feature map to output a noise-free image; The adaptive local convolution enhancement module includes: a noise characteristic analysis unit, a dynamic convolution kernel generation unit, a convolution operation unit, and a feature fusion unit; The noise characteristic analysis unit analyzes the noise characteristics on the standard image and extracts information on the noise type, intensity and spatial distribution. The dynamic convolution kernel generation unit dynamically generates convolution kernels that adapt to the current noise environment based on the noise information extracted by the noise characteristic analysis unit. The convolution operation unit uses the generated convolution kernel to perform convolution operations on the standard image; The feature fusion unit fuses the features after the convolution operation with the standard image to obtain the original feature map on the standard image; The dynamic generation process of the convolutional kernel includes: i. Dynamically adjust the size of the convolution kernel according to the type and intensity of the noise; the greater the intensity of the noise, the larger the convolution kernel. ii. Dynamically adjust the geometry of the convolution kernel based on the spatial distribution of noise; iii. Optimize the weight parameters of the convolution kernel through a learnable parameter adjustment mechanism, and dynamically adjust the weight distribution of the convolution kernel through an attention mechanism.
2. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 1, characterized in that, The beam-scanning-based long- and short-term dependency modeling module includes: a beam scanning unit, a Mamba long-range dependency modeling unit, a short-range dependency modeling unit, a dependency fusion unit, and a feature integration unit; The beam scanning unit dynamically adjusts the scanning beam according to the noise intensity to scan the original feature map and obtain the scanning features; The Mamba long-range dependency modeling unit inputs the original feature map and the scanned features into the long-range dependency modeling unit to capture the dependency relationship between long-distance pixels in the original feature map; The short-range dependency modeling unit is used to capture the dependency relationships between short-range pixels in the original feature map; The dependency fusion unit uses an attention mechanism to weightedly fuse the dependencies between long-distance pixels and the dependencies between short-distance pixels to obtain fused dependency information; The feature integration unit fuses the fusion dependency information with the standard image to obtain a preliminary denoised feature map.
3. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 2, characterized in that, The specific process by which the beam scanning unit scans the original feature map is as follows: A. Based on the various structural and texture information on the original feature map, design several scanning directions and generate corresponding scanning paths for each scanning direction; B. Based on the noise intensity information along the scanning path, dynamically adjust the width and stride of the scanning beam. The greater the noise intensity, the wider the scanning beam and the smaller the scanning beam stride. C. By using dynamically adjusted scanning beam width and stride, the original feature map is scanned along the scanning path to obtain the scanning features.
4. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 2, characterized in that, The multi-level representation information extraction module consists of several multi-scale feature fusion residual state space group modules. Each multi-scale feature fusion residual state space group module is composed of several multi-scale feature fusion residual state space blocks, a first convolutional layer, and a first residual connection connected in series. The multi-scale feature fusion residual state space blocks are used to extract and fuse features of different scales in the input feature map. The first convolutional layer is used to adjust the number of channels or spatial size of the features so that the dimension of the features is consistent with the input feature map. The first residual connection is used to superimpose the adjusted features and the input features to obtain the output features.
5. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 4, characterized in that, Each multi-scale feature fusion residual state space block includes: a first normalization layer, a visual state space module, a second residual connection, a second normalization layer, a second convolutional layer, a dynamic channel attention mechanism, and a third residual connection; the first normalization layer, the visual state space module, and the second residual connection are connected in series, and the input end of the second residual connection is also connected to the input feature map; the output end of the second residual connection is connected to the input end of the third residual connection and the input end of the second normalization layer, respectively; the second normalization layer, the second convolutional layer, the dynamic channel attention mechanism, and the third residual connection are connected in series.
6. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 5, characterized in that, The visual state space module includes two parallel branches. One branch is used for spatial information processing, which includes a first linear layer, a deep convolutional layer, a first SiLU activation function, a two-dimensional selective scanning module, and a third normalization layer connected in series. The other branch is used for channel information processing, which includes a second linear layer and a second SiLU activation function connected in series. The results of spatial information processing and channel information processing are fused using a Hadamard product, and the fused result is then passed through a third linear layer to restore the number of channels.
7. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 6, characterized in that, The two-dimensional selective scanning module flattens the input features into a sequence according to the spatial dimensions, scans the sequence according to the set scanning direction, extracts feature sequences from multiple directions, performs weighted fusion, and then reshapes them back into a two-dimensional feature form.
8. The image denoising device based on adaptive local enhancement and dynamic multi-scale dependent fusion according to claim 4, characterized in that, The refined reconstruction module includes: a feature alignment unit, a multi-source feature fusion unit, a reconstruction detail enhancement unit, an image reconstruction decoder, and an output mapping and activation unit. The feature alignment unit is used to align the original feature map and the deep denoising feature map in terms of spatial size and match the number of channels. The multi-source feature fusion unit is used to fuse the original feature map and the deep denoising feature map that have been aligned in terms of spatial size and matched in terms of the number of channels. The reconstruction detail enhancement unit is used to extract high-level features from the fused features. The image reconstruction decoder is used to map the high-level features back to the image space. The output mapping and activation unit maps the high-level features mapped back to the image space to the image pixel space to obtain a noise-free image.
Citation Information
Patent Citations
Infrared image denoising method
CN117994152A
