Abstract
Image restoration is a challenging ill-posed problem which estimates latent sharp images from their degraded counterparts. Although existing methods have achieved promising performance by designing novel architectures, they often ignore the fact that different regions in a corrupted image undergo varying degrees of degradation. In this paper, we propose an efficient and effective framework, ECFNet, to adapt to varying degrees of degradation across different regions. Specifically, we design a spatial and frequency attention mechanism (SFAM) to emphasize crucial features for restoration. SFAM consists of a spatial domain attention module (SDAM) and a frequency domain attention module (FDAM). Additionally, to capture global range information, we introduce a multi-scale block (MSBlock) integrated into a U-shaped backbone. Extensive experimental results demonstrate the effectiveness of ECFNet, outperforming state-of-the-art (SOTA) methods on both synthetic and real-world datasets.
Introduction
Image restoration tasks—such as dehazing, deblurring, and desnowing—are fundamental to computer vision. A significant limitation in current deep learning architectures is the uniform treatment of non-uniform degradation. In real-world scenarios, degradation like haze or snow is rarely distributed evenly across an image. Most models apply the same computational effort across the entire frame, which is inefficient and fails to prioritize severely damaged regions. Furthermore, while Transformers offer global context, their quadratic complexity is often prohibitive for high-resolution restoration.
Proposed Method: ECFNet
ECFNet (Efficient Crucial Feature Network) addresses these challenges through two core innovations designed to pinpoint and restore critical image features.
1. Spatial and Frequency Attention Mechanism (SFAM)
SFAM is designed to adaptively focus restoration energy where it is most needed. It operates in two domains:
- Spatial Domain Attention Module (SDAM): Utilizes spatial and channel selective attention to identify the specific locations and patterns of degradation.
- Frequency Domain Attention Module (FDAM): Recognizing that the primary differences between sharp and degraded images reside in high-frequency signals, FDAM uses a learnable low-pass filter to isolate and then enhance high-frequency components. This amplifies the disparity between clean and corrupted regions, guiding the network's focus.
2. Multi-Scale Block (MSBlock)
To maintain structural consistency and capture fine-grained textures, the MSBlock processes features across three parallel scales. It incorporates Simplified Channel Attention Blocks (SCABlocks) and Multi-Scale Feed-Forward Blocks (MSFBlocks), which replace heavy non-linear activations with efficient gating mechanisms, ensuring the model remains lightweight.
Experimental Results
Quantitative Performance
ECFNet was evaluated across ten datasets covering dehazing (RESIDE, NH-HAZE), deblurring (DPDD), and desnowing (Snow100K, CSD). The model consistently achieved superior PSNR scores while maintaining a significantly lower computational footprint compared to existing SOTA methods.
On the SOTS-Indoor dehazing task, ECFNet reached a PSNR of 41.96 dB. Remarkably, compared to the Transformer-based DehazeFormer-L, ECFNet utilized 92% fewer parameters and 93% fewer FLOPs. Similar efficiency gains were observed in deblurring, with a 57.9% reduction in computational cost compared to previous leaders on the DPDD dataset.
Qualitative Evaluation
Qualitatively, ECFNet excels at recovering fine details in regions of extreme degradation. By leveraging frequency-domain awareness, the model distinguishes between natural textures and artifacts more effectively than spatial-only models, avoiding the over-smoothing common in other architectures.
Conclusion
ECFNet represents a significant step forward in efficient image restoration. By emphasizing crucial features through a dual-domain attention mechanism and a multi-scale architecture, it achieves state-of-the-art results with a fraction of the computational cost of previous models. Future work may involve automated task-specific scaling and further optimization for edge hardware inference latency.
Summary updated