Vector graphics are widely used to represent fonts, logos, digital artworks, and graphic designs. But, while a vast body of work has focused on generative algorithms for raster images, only a handful of options exists for vector graphics. One can always rasterize the input graphic and resort to image-based generative approaches, but this negates the advantages of the vector representation. The current alternative is to use specialized models that require explicit supervision on the vector graphics representation at training time. This is not ideal because large-scale high quality vector-graphics datasets are difficult to obtain. Furthermore, the vector representation for a given design is not unique, so models that supervise on the vector representation are unnecessarily constrained. Instead, we propose a new neural network that can generate complex vector graphics with varying topologies, and only requires indirect supervision from readily-available raster training images (i.e., with no vector counterparts). To enable this, we use a differentiable rasterization pipeline that renders the generated vector shapes and composites them together onto a raster canvas. We demonstrate our method on a range of datasets, and provide comparison with state-of-the-art SVG-VAE and DeepSVG, both of which require explicit vector graphics supervision. Finally, we also demonstrate our approach on the MNIST dataset, for which no groundtruth vector representation is available. Source code, datasets, and more results are available at geometry.cs.ucl.ac.uk/projects/2021/Im2Vec/
翻译:矢量图形被广泛用来代表字体、标志、数字艺术和图形设计。但是,虽然大量工作侧重于光学图像的基因算法,但矢量图形中只有少量选项。人们总是可以对输入图形进行分解,并采用基于图像的基因化方法,但这否定了矢量代表法的优点。目前采用的办法是使用专门模型,在培训时间对矢量图形的显示进行明确监督。这不理想,因为大规模高质量的矢量-绘图数据集很难获得。此外,给定的设计的矢量表达法并不独特,因此监督矢量代表的模型不必要地受限制。相反,我们提议一个新的神经网络,可以产生复杂的矢量图形,具有不同的表层学,而只需要从现成的光学培训图像(即没有矢量对应方对应方)中进行间接监督。为了能够做到这一点,我们使用了一种不同的表达方式,将生成的矢量的矢量和合成的矢量-矢量/合成都放在一个矢量的矢量组中。我们用的方法在S-qral- 上展示了一种清晰的数据范围。我们用的方法,在S-G- slaveal-lag-lag-de-la sla 上提供我们的数据,我们所需要的数据范围和数据。