FPANet: Frequency-based video demoiréing using frame-level post alignment

Gyeongrok Oh, Sungjune Kim, Heon Gu, Sang Ho Yoon, Jinkyu Kim, Sangpil Kim

TL;DR

This paper introduces FPANet, a novel deep learning model for removing moiré patterns from videos. By leveraging both frequency and spatial domain information, and employing a unique frame-level post-alignment strategy, FPANet significantly improves video quality and temporal consistency compared to existing methods.

What Problem Does This Paper Address?

Moiré patterns are a common visual artifact that arises from the interference of overlapping grid structures, often seen when photographing digital displays or textured surfaces. These patterns severely degrade image and video quality, introducing complex distortions and color shifts that are difficult to remove. Existing methods primarily focus on the spatial domain, struggling with large-scale moiré patterns and temporal inconsistencies in videos. This paper aims to address these limitations by developing a more robust and effective video demoiréing solution.

Methods

FPANet is built upon an encoder-decoder architecture and introduces two key novel components:

  • Frequency Selection Fusion (FSF) Module: This module operates in both the frequency and spatial domains. It first transforms spatial features into the frequency domain using FFT, then separately processes the amplitude and phase components. The insight here is that color distortion is often linked to amplitude, while moiré patterns reside in the phase. By selectively fusing these components, FSF effectively removes moiré patterns without introducing color artifacts.
  • Post Align Module (PAM): For video demoiréing, FPANet utilizes multiple consecutive frames. PAM is a novel temporal feature alignment module that is strategically placed in the decoder stages. Unlike conventional methods that align features early on (and are susceptible to moiré distortions), PAM aligns features after some moiré removal has occurred, making it more robust to these artifacts and improving temporal consistency.

The model also incorporates a multi-scale architecture (CSFM) for capturing fine-grained details.

Datasets

The primary dataset used for training and evaluation is the VDmoire dataset. This dataset provides 290 source videos with corresponding videos exhibiting moiré patterns, captured using different camera devices (TCL and iPhone) and display setups. The authors also mention experiments on the TIP2018 dataset for image demoiréing tasks.

Key Insights and Ideas

  • Decomposing Moiré into Amplitude and Phase: The critical insight is that moiré patterns and color distortions can be partially disentangled by analyzing the amplitude and phase components of frequency-domain representations. This allows for more targeted removal of artifacts.
  • Late Alignment for Robustness: Applying temporal alignment after initial moiré removal (Post Align Module) is significantly more effective than early alignment, as it avoids propagating moiré-induced misalignments.
  • Frequency Domain is Key for Large Moiré: Spatial-only methods struggle with large moiré patterns. Incorporating frequency domain analysis is essential for tackling these complex distortions.

Key Results

FPANet consistently outperforms state-of-the-art methods across various metrics on the VDmoire dataset.

  • Quantitative: Achieves state-of-the-art results in PSNR, SSIM, and LPIPS for both single-frame and multi-frame video demoiréing. For example, on the iPhone-V2 dataset, FPANet achieves the highest PSNR (25.446 dB), SSIM (0.883), and lowest LPIPS (0.146) in multi-frame experiments. It also shows superior performance in FVD and FSIM for video quality.
  • Qualitative: Visual comparisons demonstrate that FPANet effectively removes moiré patterns of various sizes and shapes, preserves fine-grained details, and exhibits better color restoration compared to other methods. The PAM module significantly improves temporal consistency.

Limitations and Future Work

  • Limitations: While FPANet shows strong performance, the authors acknowledge that the model's architecture, while effective, could be further enhanced. They suggest that incorporating more advanced feature fusion pipelines in the spatial domain could lead to even better results.
  • Future Work: The authors propose exploring more sophisticated integration of amplitude and phase characteristics with spatial domain features. They also suggest extending the multi-scale spatial feature processing for potentially improved performance.

Summary updated

BibTeX
@article{oh2025fpanet,
  author = {Gyeongrok Oh and Sungjune Kim and Heon Gu and Sang Ho Yoon and Jinkyu Kim and Sangpil Kim},
  title = {{FPANet: Frequency-based video demoiréing using frame-level post alignment}},
  journal = {Neural Networks},
  year = {2025},
  doi = {10.1016/j.neunet.2024.107021},
}
Figure