Introduction
Classical image filters, such as bilateral or median filters, remain fundamental tools in computer vision for tasks like denoising and edge preservation. However, their effectiveness is often limited by the need for manual parameter tuning. Conversely, deep learning models offer high performance but at a significant computational cost. This paper presents a hybrid approach: Basis Composition Learning, which uses lightweight neural networks to automatically optimize the application of conventional filters.
The Challenge of Manual Tuning
The primary drawback of traditional filters is the "Goldilocks" problem: finding the perfect parameters (e.g., window size, standard deviation) for a specific image is a tedious, trial-and-error process. As shown in Figure 2(a), the number of trials required to find an optimal setting can vary significantly across images. Furthermore, even "optimal" fixed parameters often fail to capture the local nuances of natural images, leading to either oversmoothing or residual noise.
Proposed Method: Basis Composition Learning
The authors propose a framework that treats conventional filters as a "mathematical prior," using a shallow neural network to learn how to best combine their outputs.
1. Constructing the Filtered Basis (FB)
Instead of searching for one perfect parameter set, the method applies a chosen filter multiple times using a range of configurations. This creates a "Filtered Basis"—a set of images representing different filtering strengths. To ensure this basis is diverse yet efficient, the authors employ Indirect Isometric Sampling (IIS).
2. Dual-Branch Composition Module
The core of the architecture is a dual-branch network that processes the Filtered Basis:
- Content Branch: A single fully connected (FC) layer learns pixel-wise weights to blend the basis images. This effectively performs a localized, learned linear regression to find the best filter mixture for every part of the image.
- Residual Branch: This branch focuses on the "leftovers"—the high-frequency details removed by the filters. By learning to selectively reintegrate these residuals, the model prevents the "plastic" look common in aggressive denoising.
Key Results and Efficiency
The most striking result is the extreme efficiency of this approach. The Composited Bilateral Filter (C-BF) achieves competitive results with only 189 parameters, whereas state-of-the-art deep models like DnCNN require over 559,000 parameters.
On the BSD68 denoising benchmark (sigma=25), C-BF reached a PSNR of 30.22 dB, nearly matching DnCNN's 30.98 dB and significantly outperforming the traditional BM3D algorithm. Beyond denoising, the method proved effective for image deraining and texture removal. It also demonstrated practical utility as a pre-processor, enhancing the accuracy of object detection models (like YOLOv3) on degraded inputs by cleaning noise without sacrificing structural features.
Conclusion
Basis Composition Learning bridges the gap between classical signal processing and modern deep learning. By leveraging the spatial processing capabilities of existing filters, the neural network is freed to focus solely on the "strategy" of composition. While the current implementation is limited by the sequential generation of the Filtered Basis, the framework offers a promising path toward high-performance, ultra-lightweight image enhancement.
Summary updated