MambaPainter: Neural Stroke-Based Rendering in a Single Step

Tomoya Sawada, Marie Katsurai
10/16/2024
cs.CV

Official code: STomoya/MambaPainter (17 stars, MIT, PyTorch, last commit 2024-09-29).

Abstract

Stroke-based rendering aims to reconstruct an input image into an oil painting style by predicting brush stroke sequences. Conventional methods perform this prediction stroke-by-stroke or require multiple inference steps due to the limitations of a predictable number of strokes. This procedure leads to inefficient translation speed, limiting their practicality. In this study, we propose MambaPainter, capable of predicting a sequence of over 100 brush strokes in a single inference step, resulting in rapid translation. We achieve this sequence prediction by incorporating the selective state-space model. Additionally, we introduce a simple extension to patch-based rendering, which we use to translate high-resolution images, improving the visual quality with a minimal increase in computational cost. Experimental results demonstrate that MambaPainter can efficiently translate inputs to oil painting-style images compared to state-of-the-art methods. The codes are available at https://github.com/STomoya/MambaPainter.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Official implementation of "MambaPainter: Neural Stroke-Based Rendering in a Single Step."

173Python, DockerfileAug 14, 20242 years agoMIT
mambaoil-paintingpytorchstroke-based-rendering

Similar Papers

Cite this paper

@article{sawada2024mambapainter,
  title  = {MambaPainter: Neural Stroke-Based Rendering in a Single Step},
  author = {Tomoya Sawada and Marie Katsurai},
  year   = {2024},
  eprint = {2410.12524},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.12524v1}
}

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

Discussion