CFNet: Conditional Filter Learning with Dynamic Noise Estimation for Real Image Denoising

Yifan Zuo, Jiacheng Xie, Yuming Fang, Yan Huang, Wenhui JiangarXiv 2022

Abstract

A mainstream type of the state of the arts (SOTAs) based on convolutional neural network (CNN) for real image denoising contains two sub-problems, i.e., noise estimation and non-blind denoising. This paper considers real noise approximated by heteroscedastic Gaussian/Poisson Gaussian distributions with in-camera signal processing pipelines. The related works always exploit the estimated noise prior via channel-wise concatenation followed by a convolutional layer with spatially sharing kernels. Due to the variable modes of noise strength and frequency details of all feature positions, this design cannot adaptively tune the corresponding denoising patterns. To address this problem, we propose a novel conditional filter in which the optimal kernels for different feature positions can be adaptively inferred by local features from the image and the noise map. Also, we bring the thought that alternatively performs noise estimation and non-blind denoising into CNN structure, which continuously updates noise prior to guide the iterative feature denoising. In addition, according to the property of heteroscedastic Gaussian distribution, a novel affine transform block is designed to predict the stationary noise component and the signal-dependent noise component. Compared with SOTAs, extensive experiments are conducted on five synthetic datasets and three real datasets, which shows the improvement of the proposed CFNet.

Introduction

Most modern image denoising models follow a two-step "blind denoising" pipeline: first, estimate the noise level, then use that estimate to clean the image. However, these models typically treat noise estimation as a static, one-off preprocessing step. They often inject the noise information into the network via simple channel-wise concatenation, which forces the convolutional layers to use the same spatially shared kernels across the entire image.

Real-world noise is "heteroscedastic"—it changes depending on the signal (brightness) and spatial location. A flat blue sky and a highly textured brick wall require different denoising patterns, even if the sensor noise is technically the same. Standard CNNs struggle to adapt their filtering behavior to these local variations, often resulting in "over-smoothing" where important textures are lost in the pursuit of a clean image.

Methodology

The authors propose CFNet, which stands out through three key architectural innovations:

1. Conditional Filter Block (CFB)

Instead of using standard static convolutional kernels, the CFB adaptively infers kernels for every feature position. It uses two light subnetworks: one analyzes local image features (to identify edges and textures) and the other analyzes noise features. These are combined via a Hadamard product to generate a "content-aware" kernel that knows exactly how much to smooth at any given pixel. To maintain efficiency, the model uses a kernel sharing strategy where the same generated kernel is shared across a group of channels.

2. Dynamic Noise Estimation (DNE)

Rather than estimating noise once at the beginning, CFNet performs "dynamic" estimation. It includes six Noise Estimation Modules (NEMs) integrated into the stages of a U-Net. This creates a feedback loop: as the image gets cleaner, the noise estimate becomes more precise, which in turn allows for even better denoising.

3. Affine Transform Block (ATB)

To better model the physics of real-world noise—which is a mix of stationary and signal-dependent components—the authors designed the ATB. This block uses an affine transform (scaling and translation) to explicitly predict these noise components, providing a more mathematically grounded approach than simply stacking standard convolutional layers.

Experimental Results

The model was evaluated on synthetic datasets (Set12, BSD68, etc.) and real-world benchmarks including the Smartphone Image Denoising Dataset (SIDD) and the Darmstadt Noise Dataset (DND).

Quantitative Performance

On the DND benchmark, CFNet achieved a PSNR of 39.92 dB, outperforming heavyweights like MPRNet (39.82 dB) and MIRNet (39.88 dB). Notably, CFNet maintains a better balance between performance and computational cost, requiring significantly fewer GFLOPs than MIRNet.

Qualitative Detail Preservation

Visual comparisons demonstrate that CFNet is particularly effective at preserving "tiny image structures," such as sharp edges of text, where competing models like RIDNet or VDN tend to produce blurry, over-smoothed artifacts.

Visual comparison of denoising results on a real-world image. CFNet (e) preserves the sharp edges of the text "7 PQRS" more effectively than other SOTA methods (b, c, d) and closely matches the Ground Truth (f).

Conclusion

CFNet introduces a robust framework for real image denoising by treating noise and image features asymmetrically. By using noise maps to condition image filters rather than just adding them as extra channels, the network gains a direct mechanism to tune its denoising strength locally. While challenges remain for non-Gaussian noise distributions and real-time high-resolution processing, the conditional framework established here offers a promising path for future low-level vision research.

Summary updated

BibTeX
@misc{zuo2022cfnet,
  author = {Yifan Zuo and Jiacheng Xie and Yuming Fang and Yan Huang and Wenhui Jiang},
  title = {{CFNet: Conditional Filter Learning with Dynamic Noise Estimation for Real Image Denoising}},
  year = {2022},
  eprint = {2211.14576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.14576},
}
Figure