SEM-Net: Efficient Pixel Modelling for image inpainting with Spatially Enhanced SSM

Shuang Chen, Haozheng Zhang, Amir Atapour-Abarghouei, Hubert P. H. Shum
11/10/2024
cs.CV

Official code: ChrisChen1023/SEM-Net (45 stars, MIT, last commit 2026-03-18).

Abstract

Image inpainting aims to repair a partially damaged image based on the information from known regions of the images. \revise{Achieving semantically plausible inpainting results is particularly challenging because it requires the reconstructed regions to exhibit similar patterns to the semanticly consistent regions}. This requires a model with a strong capacity to capture long-range dependencies. Existing models struggle in this regard due to the slow growth of receptive field for Convolutional Neural Networks (CNNs) based methods and patch-level interactions in Transformer-based methods, which are ineffective for capturing long-range dependencies. Motivated by this, we propose SEM-Net, a novel visual State Space model (SSM) vision network, modelling corrupted images at the pixel level while capturing long-range dependencies (LRDs) in state space, achieving a linear computational complexity. To address the inherent lack of spatial awareness in SSM, we introduce the Snake Mamba Block (SMB) and Spatially-Enhanced Feedforward Network. These innovations enable SEM-Net to outperform state-of-the-art inpainting methods on two distinct datasets, showing significant improvements in capturing LRDs and enhancement in spatial consistency. Additionally, SEM-Net achieves state-of-the-art performance on motion deblurring, demonstrating its generalizability. Our source code will be released in https://github.com/ChrisChen1023/SEM-Net.

View on arXivView PDF

Code Implementations(1)

MIT

SEM-Net: Efficient Pixel Modelling for image inpainting with Spatially Enhanced SSM

454PythonOct 30, 20247 months agoMIT

Similar Papers

Cite this paper

@article{chen2024semnet,
  title  = {SEM-Net: Efficient Pixel Modelling for image inpainting with Spatially Enhanced SSM},
  author = {Shuang Chen and Haozheng Zhang and Amir Atapour-Abarghouei and Hubert P. H. Shum},
  year   = {2024},
  eprint = {2411.06318},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.06318v1}
}

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

Discussion