Clipgen: a Deep Generative Model for Clipart Vectorization and Synthesis

Clipgen: a Deep Generative Model for Clipart Vectorization and Synthesis

JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015 1 ClipGen: A Deep Generative Model for Clipart Vectorization and Synthesis I-Chao Shen and Bing-Yu Chen, Senior Fellow, IEEE Abstract—This paper presents a novel deep learning-based approach for automatically vectorizing and synthesizing the clipart of man-made objects. Given a raster clipart image and its corresponding object category (e.g., airplanes), the proposed method sequentially generates new layers, each of which is composed of a new closed path filled with a single color. The final result is obtained by compositing all layers together into a vector clipart image that falls into the target category. The proposed approach is based on an iterative generative model that (i) decides whether to continue synthesizing a new layer and (ii) determines the geometry and appearance of the new layer. We formulated a joint loss function for training our generative model, including the shape similarity, symmetry, and local curve smoothness losses, as well as vector graphics rendering accuracy loss for synthesizing clipart recognizable by humans. We also introduced a collection of man-made object clipart, ClipNet, which is composed of closed-path layers, and two designed preprocessing tasks to clean up and enrich the original raw clipart. To validate the proposed approach, we conducted several experiments and demonstrated its ability to vectorize and synthesize various clipart categories. We envision that our generative model can facilitate efficient and intuitive clipart designs for novice users and graphic designers. Index Terms—ClipGen, ClipNet, clipart, vector graphics,deep learning, deep generative model F 1 INTRODUCTION a single closed path and its filled color. Second, the cli- part geometries exhibit strong symmetry and simplicity for Vector clipart is widely used in graphic design to express better editability. On the basis of these two characteristics, concepts or illustrate daily life objects compactly. It has we propose an iterative clipart synthesis framework that several advantages over raster images, such as (i) better synthesizes a layer with a predicted single closed path and geometric editability benefit from separate geometric paths its filled color in one step. Finally, we composite all the and (ii) resolution independence, which significantly re- synthesized layers to obtain the final result (please refer to duces the burden of redesigning the same concept or shape the examples presented in Figs. 18 and 19). whenever a new resolution support is required. However, To describe the composited result at the current step, we designing vector clipart from scratch or editing existing extract several visual representations, including the types of 1 clipart obtained from online repositories ( e.g., Openclipart ) existing curves, their depth ordering, the location of their is challenging for amateur users who lack the skill of using control points, and the rendered image. We then use con- vector graphics editing software, such as Adobe Illustrator [1] volutional neural networks (CNNs) to recognize and extract and Inkscape [2]. To address this problem, an automated the essential features of these visual representations. The ex- method to synthesize clipart for amateur users is required. tracted features capture patterns and relationships between Deep generative image modeling techniques, which enable curves, which provide a useful context for deciding which the automatic generation of high-quality raster images for curve to synthesize next. On the basis of previous works on human faces, animals, and natural objects, are being rapidly 3D shapes [4] and 3D scene synthesis [5], we model an iter- arXiv:2106.04912v1 [cs.GR] 9 Jun 2021 developed [3]. However, their synthesized results are raster ative synthesis process using two separate modules. Given images that lack the structural editability feature available the visual representations of the current synthesized result, in vector clipart. the first module (i) decides whether to synthesize a new Therefore, this paper focuses on generating vector clipart layer and (ii) determines the centroid location probability of to support higher-level structural editing operations. Our the next closed path, given the visual representations of the goal was to train a deep generative model that can simulate current synthesized result. The second module is a critical the design process of vector clipart. In particular, we focused component of our iterative synthesis framework because on designing a generative model to represent and generate it decides the geometry and the appearance of the next clipart conditioned on a target raster image and the desired layer. We use recurrent neural networks (RNNs) to predict object category sequentially. The proposed method is based the sequence of control points of the connected curves on two essential clipart characteristics. First, the vector that forms a closed path. In addition, we design several clipart is defined to comprise separate layers containing loss functions, including shape loss, symmetry loss, area loss, local smoothness loss, and simplicity losses, to aid the • I-C. Shen, and B-Y. Chen are with with National Taiwan University. network in synthesizing the desired curves. We also adopt E-mail: [email protected], [email protected] a rendering accuracy loss based on a novel differentiable Manuscript received April 19, 2005; revised August 26, 2015. vector graphics rendering technique [6], which encourages 1. http://clipart-library.com/openclipart.html the network to refine the predicted geometry and predict JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015 2 the appropriate filling color simultaneously. used to synthesize novel 3D scenes [22] and suggest pattern To facilitate our clipart generative model training, we in- colorizations [23]. troduce a clipart dataset called ClipNet, which contains 2000 Deep generative models have gained popularity for syn- clipart classified into ten categories of man-made objects. thesizing digital content, including raster images, videos, This dataset focuses on vector graphics representation and and audio. The most popular deep generative models in- thus complements the previous image [7] and 3D shape [8] clude variational autoencoder (VAE) [24], which aims at datasets. The characteristics of ClipNet are analyzed, and maximizing the lower bound of the data log-likelihood, two annotation tasks are designed to extract clean shapes and generative adversarial network (GAN) [25], which aims from the raw clipart collected from online repositories. to achieve an equilibrium between the generator and the ClipNet can be used in several potential applications, such as discriminator. Many variations of the aforementioned mod- clipart generative and recognition models as well as multi- els have been used for the unconditional and conditional view clipart synthesis. generation of images, including for image translation [26], We applied the proposed method to several applications, [27]. such as vectorizing existing raster clipart, synthesizing vari- The progresses achieved in the raster image domain has ous categories of novel clipart, and synthesizing clipart that inspired researchers to synthesize 3D models [28], [29], 3D resembles a photograph. These applications can facilitate scenes [5], [30], 3D abstractions [31], and 3D motions for the clipart design process that involves the use of common man-made objects [32]. categories of man-made objects. We conducted ablation studies to validate our method and compared the results Moreover, the deep generative models have facilitated of our method with those of existing methods. tasks such as 2D sketches [33], 2D design layouts [34], [35], interactive annotations on 2D images [36], pixelization [37], font exploration [38], and face image decomposition [39]. 2 RELATED WORK The learned latent representations of these models are useful 2.1 Image vectorization and clipart synthesis for creative tasks such as garment design [40] and terrain design [41]. The latent space can be explored through pre- The vectorization of raster images is a long-standing re- defined interactions [42] or free-form interactions [43], [44] search problem. Commercial products [1], [9] enable robust for synthesizing images that meet the users’ requirements. natural image vectorization that can simultaneously address both image segmentation and curve (segment boundary) fitting problems. Many studies have been conducted on image segmentation part [10], [11], [12], [13], [14] and curve fitting part [15]. Favreau et al. [10] focused on vectorizing 2.3 Image and shape dataset photographs in cliparts with easily editable geometries and representing the raster image accurately. Kim et al. [14] used Advances have been achieved in the recognition and gen- a neural network to predict a probability map of pixel- erative applications of deep neural networks by using the path relationships and formulated a global MRF problem to image, video, 3D shape, and audio datasets. In the raster segment an input image into different paths. Liu et al. [16] image domain, ImageNet [7] formed the foundation for this designed an interactive system to synthesize novel clipart wave of neural network revival. Later, many task-specific by remixing the clipart existing in a large repository. By datasets, such as COCO [45], CelebA [46], and DAVIS [47], contrast, Xie et al. [17] provided interactive approaches that were published to support tasks such as image or video allow users

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    15 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us