Region Attention Transformer for Medical Image Restoration

Zhiwen Yang, Haowei Chen, Ziniu Qian, Yang Zhou, Hui Zhang +3 more
7/12/2024
eess.IVcs.CV

Official code: Yaziwel/Region-Attention-Transformer-for-Medical-Image-Restoration (41 stars, Apache-2.0, last commit 2026-03-16).

Abstract

Transformer-based methods have demonstrated impressive results in medical image restoration, attributed to the multi-head self-attention (MSA) mechanism in the spatial dimension. However, the majority of existing Transformers conduct attention within fixed and coarsely partitioned regions (\text{e.g.} the entire image or fixed patches), resulting in interference from irrelevant regions and fragmentation of continuous image content. To overcome these challenges, we introduce a novel Region Attention Transformer (RAT) that utilizes a region-based multi-head self-attention mechanism (R-MSA). The R-MSA dynamically partitions the input image into non-overlapping semantic regions using the robust Segment Anything Model (SAM) and then performs self-attention within these regions. This region partitioning is more flexible and interpretable, ensuring that only pixels from similar semantic regions complement each other, thereby eliminating interference from irrelevant regions. Moreover, we introduce a focal region loss to guide our model to adaptively focus on recovering high-difficulty regions. Extensive experiments demonstrate the effectiveness of RAT in various medical image restoration tasks, including PET image synthesis, CT image denoising, and pathological image super-resolution. Code is available at \href{https://github.com/Yaziwel/Region-Attention-Transformer-for-Medical-Image-Restoration.git}{https://github.com/RAT}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[MICCAI 2024] Region Attention Transformer for Medical Image Restoration.

413PythonJun 29, 20247 months agoApache-2.0
ct-denoisingpet-image-synthesispet-reconstructionsegment-anythingsuper-resolution+1 more

Similar Papers

Cite this paper

@article{yang2024region,
  title  = {Region Attention Transformer for Medical Image Restoration},
  author = {Zhiwen Yang and Haowei Chen and Ziniu Qian and Yang Zhou and Hui Zhang and Dan Zhao and Bingzheng Wei and Yan Xu},
  year   = {2024},
  eprint = {2407.09268},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.09268v1}
}

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/2407.09268.svg)](https://codeofpaper.com/paper/2407.09268)

Discussion