HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

LoFormer: Local Frequency Transformer for Image Deblurring

Xintian Mao Jiansheng Wang Xingran Xie Qingli Li Yan Wang

LoFormer: Local Frequency Transformer for Image Deblurring

Abstract

Due to the computational complexity of self-attention (SA), prevalent techniques for image deblurring often resort to either adopting localized SA or employing coarse-grained global SA methods, both of which exhibit drawbacks such as compromising global modeling or lacking fine-grained correlation. In order to address this issue by effectively modeling long-range dependencies without sacrificing fine-grained details, we introduce a novel approach termed Local Frequency Transformer (LoFormer). Within each unit of LoFormer, we incorporate a Local Channel-wise SA in the frequency domain (Freq-LC) to simultaneously capture cross-covariance within low- and high-frequency local windows. These operations offer the advantage of (1) ensuring equitable learning opportunities for both coarse-grained structures and fine-grained details, and (2) exploring a broader range of representational properties compared to coarse-grained global SA methods. Additionally, we introduce an MLP Gating mechanism complementary to Freq-LC, which serves to filter out irrelevant features while enhancing global learning capabilities. Our experiments demonstrate that LoFormer significantly improves performance in the image deblurring task, achieving a PSNR of 34.09 dB on the GoPro dataset with 126G FLOPs. https://github.com/DeepMed-Lab-ECNU/Single-Image-Deblur

Code Repositories

deepmed-lab-ecnu/single-image-deblur
Official
pytorch
Mentioned in GitHub
INVOKERer/LoFormer
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
deblurring-on-hide-trained-on-goproLoFormer
PSNR (sRGB): 31.86
SSIM (sRGB): 0.949
deblurring-on-realblur-j-1LoFormer
PSNR (sRGB): 32.90
SSIM (sRGB): 0.933
deblurring-on-realblur-rLoFormer
PSNR (sRGB): 40.23
SSIM (sRGB): 0.974
image-deblurring-on-goproLoFormer
PSNR: 34.09
SSIM: 0.969

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
LoFormer: Local Frequency Transformer for Image Deblurring | Papers | HyperAI