arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.11480eess.IVcs.CV
收藏

OAPT:用于双重 JPEG 伪影去除的偏移感知分区 Transformer

OAPT: Offset-Aware Partition Transformer for Double JPEG Artifacts Removal

Kuaishou Technology(快手科技);University of Electronic Science and Technology of China(电子科技大学)

Qiao Mo, Yukang Ding, Jinhua Hao, Qiang Zhu, Ming Sun, Chao Zhou, Feiyu Chen, Shuyuan Zhu

AI总结:

提出用于双重 JPEG 伪影去除的偏移感知分区 Transformer(OAPT),通过压缩偏移预测和混合分区注意力块聚类相似模式,在恢复任务中超越现有最优方法 0.16dB 以上,且其聚类模块可作为插件增强其他方法。

摘要:

基于深度学习的方法在单幅 JPEG 伪影去除任务中表现出色。然而,现有方法在处理现实场景中普遍存在的双重 JPEG 图像时性能往往会下降。为了解决这个问题,我们提出了用于双重 JPEG 伪影去除的偏移感知分区 Transformer,简称 OAPT。我们对双重 JPEG 压缩进行了分析,该压缩会在每个 8x8 块内产生多达四种模式,并设计了我们的模型来聚类相似模式,以缓解恢复的困难。我们的 OAPT 包含两个组件:压缩偏移预测器和图像重建器。具体而言,预测器估计第一次和第二次压缩之间的像素偏移,随后利用这些偏移来划分不同模式。重建器主要基于几个混合分区注意力块(HPAB),结合了基于普通窗口的自注意力和用于聚类模式特征的稀疏注意力。大量实验表明,OAPT 在双重 JPEG 图像恢复任务中比最先进的方法高出 0.16dB 以上。此外,在不增加任何计算成本的情况下,HPAB 中的模式聚类模块可以作为插件增强其他基于 Transformer 的图像恢复方法。代码将在 https://github.com/QMoQ/OAPT.git 公开。

英文摘要:

Deep learning-based methods have shown remarkable performance in single JPEG artifacts removal task. However, existing methods tend to degrade on double JPEG images, which are prevalent in real-world scenarios. To address this issue, we propose Offset-Aware Partition Transformer for double JPEG artifacts removal, termed as OAPT. We conduct an analysis of double JPEG compression that results in up to four patterns within each 8x8 block and design our model to cluster the similar patterns to remedy the difficulty of restoration. Our OAPT consists of two components: compression offset predictor and image reconstructor. Specifically, the predictor estimates pixel offsets between the first and second compression, which are then utilized to divide different patterns. The reconstructor is mainly based on several Hybrid Partition Attention Blocks (HPAB), combining vanilla window-based self-attention and sparse attention for clustered pattern features. Extensive experiments demonstrate that OAPT outperforms the state-of-the-art method by more than 0.16dB in double JPEG image restoration task. Moreover, without increasing any computation cost, the pattern clustering module in HPAB can serve as a plugin to enhance other transformer-based image restoration methods. The code will be available at https://github.com/QMoQ/OAPT.git .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑