Aggregating Nearest Sharp Features via Hybrid Transformers for Video Deblurring

Wei Shang, Dongwei Ren, Yi Yang, Wangmeng Zuo
9/13/2023
cs.CV

Official code: shangwei5/STGTN (13 stars, last commit 2025-02-14).

Abstract

Video deblurring methods, aiming at recovering consecutive sharp frames from a given blurry video, usually assume that the input video suffers from consecutively blurry frames. However, in real-world scenarios captured by modern imaging devices, sharp frames often interspersed within the video, providing temporally nearest sharp features that can aid in the restoration of blurry frames. In this work, we propose a video deblurring method that leverages both neighboring frames and existing sharp frames using hybrid Transformers for feature aggregation. Specifically, we first train a blur-aware detector to distinguish between sharp and blurry frames. Then, a window-based local Transformer is employed for exploiting features from neighboring frames, where cross attention is beneficial for aggregating features from neighboring frames without explicit spatial alignment. To aggregate nearest sharp features from detected sharp frames, we utilize a global Transformer with multi-scale matching capability. Moreover, our method can easily be extended to event-driven video deblurring by incorporating an event fusion module into the global Transformer. Extensive experiments on benchmark datasets demonstrate that our proposed method outperforms state-of-the-art video deblurring methods as well as event-driven video deblurring methods in terms of quantitative metrics and visual quality. The source code and trained models are available at https://github.com/shangwei5/STGTN.

View on arXivView PDF

Code Implementations(1)

shangwei5/STGTNOfficial100%

Aggregating Long-term Sharp Features via Hybrid Transformers for Video Deblurring

131PythonSep 2, 20221 years ago

Similar Papers

Cite this paper

@article{shang2023aggregating,
  title  = {Aggregating Nearest Sharp Features via Hybrid Transformers for Video Deblurring},
  author = {Wei Shang and Dongwei Ren and Yi Yang and Wangmeng Zuo},
  year   = {2023},
  eprint = {2309.07054},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.07054v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.07054.svg)](https://codeofpaper.com/paper/2309.07054)

Discussion