Frequency Enhancement for Image Demosaicking
Jingyun Liu, Daiqin Yang, Zhenzhong Chen
TL;DR
The paper addresses demosaicking challenges in reconstructing high-frequency textures and mitigating color moiré by analyzing the frequency-domain behavior of CFA/demosaicked/ground-truth images and identifying aliasing near the Nyquist limit $f_N$. It introduces DFENet, a Dual-path Frequency Enhancement Network that uses two Fourier-domain frequency selectors to separately generate missing high-frequency information in the spatial path and suppress undesirable frequencies guided by CFA spectra in the frequency path, with multi-level frequency supervision and stagewise training. A new LineSet37 dataset with 37 hard-case images is proposed to stress-test demosaicking methods. Across benchmarks and LineSet37, DFENet achieves state-of-the-art performance, with extensive ablations confirming the effectiveness of frequency suppression, dual selectors, FFT-based processing, and stagewise optimization for robust high-frequency reconstruction.
Abstract
Recovering high-frequency textures in image demosaicking remains a challenging issue. While existing methods introduced elaborate spatial learning methods, they still exhibit limited performance. To address this issue, a frequency enhancement approach is proposed. Based on the frequency analysis of color filter array (CFA)/demosaicked/ground truth images, we propose Dual-path Frequency Enhancement Network (DFENet), which reconstructs RGB images in a divide-and-conquer manner through fourier-domain frequency selection. In DFENet, two frequency selectors are employed, each selecting a set of frequency components for processing along separate paths. One path focuses on generating missing information through detail refinement in spatial domain, while the other aims at suppressing undesirable frequencies with the guidance of CFA images in frequency domain. Multi-level frequency supervision with a stagewise training strategy is employed to further improve the reconstruction performance. With these designs, the proposed DFENet outperforms other state-of-the-art algorithms on different datasets and demonstrates significant advantages on hard cases. Moreover, to better assess algorithms' ability to reconstruct high-frequency textures, a new dataset, LineSet37, is contributed, which consists of 37 artificially designed and generated images. These images feature complex line patterns and are prone to severe visual artifacts like color moiré after demosaicking. Experiments on LineSet37 offer a more targeted evaluation of performance on challenging cases. The code and dataset are available at https://github.com/VelvetReverie/DFENet-demosaicking.
