arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.04830cs.CV
收藏

MARVEL: 基于逐基元深度强化学习的光栅漫画矢量化

MARVEL: Raster Manga Vectorization via Primitive-wise Deep Reinforcement Learning

Hao Su, Jianwei Niu, Xuefeng Liu, Jiahe Cui, Ji Wan

AI总结:

针对日式光栅漫画的矢量化需求,提出基于深度强化学习的逐基元方法MARVEL,将图像分解为笔触序列,结合精度奖励与剪枝机制提升效果、减小体积,性能达SOTA并开源代码。

摘要:

漫画是一种流行的日式漫画形式,由黑白笔触构成,通常以光栅图像形式在数字设备上展示。典型漫画具有纹理简单、线条粗犷、色彩渐变少的特点,这些天然的可矢量化特性使其能享受矢量图形的优势,例如自适应分辨率和较小的文件体积。本文提出MARVEL(MAnga's Raster to VEctor Learning,漫画光栅转矢量学习)方法,这是一种通过深度强化学习(DRL)实现光栅漫画矢量化的逐基元方法。与以往基于学习的方法对整幅图像预测矢量参数不同,MARVEL引入了全新视角:将整幅漫画视为基本基元——笔触线条的集合,并设计DRL模型将目标图像分解为基元序列,以实现精准矢量化。为提升矢量化精度并减小文件体积,我们进一步提出了笔触精度奖励机制用于预测准确的笔触线条,以及一种剪枝机制用于避免生成错误和重复的笔触。大量主观和客观实验表明,我们的MARVEL能够生成令人印象深刻的结果,达到了当前最优水平。我们的代码已在https://github.com/SwordHolderSH/Mang2Vec 开源。

英文摘要:

Manga is a fashionable Japanese-style comic form that is composed of black-and-white strokes and is generally displayed as raster images on digital devices. Typical mangas have simple textures, wide lines, and few color gradients, which are vectorizable natures to enjoy the merits of vector graphics, e.g., adaptive resolutions and small file sizes. In this paper, we propose MARVEL (MAnga's Raster to VEctor Learning), a primitive-wise approach for vectorizing raster mangas by Deep Reinforcement Learning (DRL). Unlike previous learning-based methods which predict vector parameters for an entire image, MARVEL introduces a new perspective that regards an entire manga as a collection of basic primitives\textemdash stroke lines, and designs a DRL model to decompose the target image into a primitive sequence for achieving accurate vectorization. To improve vectorization accuracies and decrease file sizes, we further propose a stroke accuracy reward to predict accurate stroke lines, and a pruning mechanism to avoid generating erroneous and repeated strokes. Extensive subjective and objective experiments show that our MARVEL can generate impressive results and reaches the state-of-the-art level. Our code is open-source at: https://github.com/SwordHolderSH/Mang2Vec.

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

↑