Abstract
Existing denoising methods typically restore clear results by aggregating pixels from the noisy input. Instead of relying on hand-crafted aggregation schemes, we propose to explicitly learn this process with deep neural networks. We present a spatial pixel aggregation network and learn the pixel sampling and averaging strategies for image denoising. The proposed model naturally adapts to image structures and can effectively improve the denoised results. Furthermore, we develop a spatio-temporal pixel aggregation network for video denoising to efficiently sample pixels across the spatio-temporal space. Our method is able to solve the misalignment issues caused by large motion in dynamic scenes. In addition, we introduce a new regularization term for effectively training the proposed video denoising model. We present extensive analysis of the proposed method and demonstrate that our model performs favorably against the state-of-the-art image and video denoising approaches on both synthetic and real-world data.
Introduction
Denoising is a fundamental computer vision task that becomes particularly challenging in low-light conditions where sensor noise and motion blur intersect. Traditional methods, such as BM3D, rely on hand-crafted aggregation rules like block matching to average similar pixels. Conversely, modern deep learning approaches like DnCNN often use spatially-invariant kernels that can lead to over-smoothing and loss of fine texture.
In "Learning Spatial and Spatio-Temporal Pixel Aggregations for Image and Video Denoising," the authors propose the Pixel Aggregation Network (PAN) and its video extension, ST-PAN. This approach combines the interpretability of classical aggregation with the representational power of deep learning by teaching a network to intelligently sample and weight pixels from the noisy input.
Methodology: The Pixel Aggregation Network
The core innovation of PAN is that it does not directly predict pixel values. Instead, it predicts a sampling grid and averaging weights for every pixel. The architecture consists of three main components:
- Offset Network: A U-Net architecture that analyzes the noisy input to predict spatial offsets $(u, v)$ for a set of sampling points.
- Adaptive Sampling: Using these offsets, the model samples neighboring pixels via bilinear (image) or trilinear (video) interpolation.
- Weight Estimation and Averaging: The network predicts weights for each sampled pixel, and the final denoised value is calculated as a weighted sum.
Key Insights: Deformable Receptive Fields
Unlike standard CNNs with rigid $3\times3$ or $5\times5$ kernels, PAN utilizes learned offsets to create "deformable" receptive fields. This allows the network to "reach out" and find similar structures even if they are not immediately adjacent, effectively following edges and textures.
For video denoising (ST-PAN), the sampling grid extends into the temporal dimension. To ensure the model effectively utilizes temporal information, the authors introduced an annealing regularization term during training. This forces the model to explore temporal neighbors early on, preventing it from collapsing into a purely spatial solution.
Results and Discussion
The authors evaluated PAN and ST-PAN against benchmarks like Set12, BSD68, and various video sequences.
- Quantitative Performance: PAN consistently outperformed state-of-the-art methods. On the BSD68 dataset, PAN achieved a PSNR of 33.08, surpassing DnCNN's 32.77.
- Qualitative Superiority: Visually, PAN preserves fine details (e.g., hair, grass, and text) better than "black-box" CNNs, which tend to blur these features. By constraining the output to a weighted average of input pixels, the model avoids the "plastic" artifacts common in generative models.
- Handling Motion: ST-PAN demonstrated significant advantages in high-motion video scenarios, successfully resolving misalignment issues that typically cause ghosting in traditional block-matching or rigid-kernel methods.
Conclusion
PAN and ST-PAN represent a significant step forward in denoising by explicitly learning the pixel aggregation process. While the current implementation faces some computational overhead compared to simpler CNNs, its ability to preserve texture and handle complex motion makes it a powerful tool for high-quality image and video restoration. Future work may focus on optimizing speed for real-time applications and refining noise modeling in the raw sensor domain.
Summary updated