arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.14585cs.CVcs.GR
收藏

DeepVecFont-v2:利用Transformers合成高质量矢量字体

DeepVecFont-v2: Exploiting Transformers to Synthesize Vector Fonts with Higher Quality

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);School of Electronic and Computer Engineering, Peking University(北京大学电子与计算机工程学院)

Yuqing Wang, Yizhi Wang, Longhui Yu, Yuesheng Zhu, Zhouhui Lian

摘要:

矢量字体合成是计算机视觉和计算机图形学领域的一个具有挑战性的研究课题。最近提出的DeepVecFont通过利用矢量字体的图像和序列模态的信息来实现最先进的性能。然而,它处理长序列数据的能力有限,并且严重依赖于图像引导的轮廓细化后处理。因此,DeepVecFont合成的矢量字形仍然经常包含一些失真和伪像,无法与人类设计的结果相媲美。为了解决上述问题,本文提出了DeepVecFont的增强版本,主要通过以下三个新的技术贡献。首先,我们采用Transformers代替RNN来处理序列数据,并设计了矢量轮廓的松弛表示,显著提高了模型合成长而复杂轮廓的能力和稳定性。其次,我们建议除了控制点之外还对辅助点进行采样,以精确对齐生成的和目标Bézier曲线或直线。最后,为了减轻顺序生成过程中的错误积累,我们开发了一个基于上下文的自细化模块,该模块基于另一个基于transformer的解码器来去除最初合成的字形中的伪影。定性和定量的实验结果表明,该方法有效地解决了原DeepVecFont中存在的问题,在生成结构复杂、风格多样的中英文矢量字体方面优于现有方法。

英文摘要:

Vector font synthesis is a challenging and ongoing problem in the fields of Computer Vision and Computer Graphics. The recently-proposed DeepVecFont achieved state-of-the-art performance by exploiting information of both the image and sequence modalities of vector fonts. However, it has limited capability for handling long sequence data and heavily relies on an image-guided outline refinement post-processing. Thus, vector glyphs synthesized by DeepVecFont still often contain some distortions and artifacts and cannot rival human-designed results. To address the above problems, this paper proposes an enhanced version of DeepVecFont mainly by making the following three novel technical contributions. First, we adopt Transformers instead of RNNs to process sequential data and design a relaxation representation for vector outlines, markedly improving the model's capability and stability of synthesizing long and complex outlines. Second, we propose to sample auxiliary points in addition to control points to precisely align the generated and target Bézier curves or lines. Finally, to alleviate error accumulation in the sequential generation process, we develop a context-based self-refinement module based on another Transformer-based decoder to remove artifacts in the initially synthesized glyphs. Both qualitative and quantitative results demonstrate that the proposed method effectively resolves those intrinsic problems of the original DeepVecFont and outperforms existing approaches in generating English and Chinese vector fonts with complicated structures and diverse styles.

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

↑