# US 10,769,830 B2 · Transferring vector style properties to a vector artwork

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,769,830 B2
- Document ID: US10769830B2
- Status: Granted
- Kind: B2
- Application number: 16/259,861
- Filed: 2019-01-28
- Published: 2020-07-30
- Granted: 2020-09-08
- Earliest claimed: 2019-01-28
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Tarun Gehlaut; Paragi Singhal; Ayush Bansal
- Web page: https://patentgrep.com/patent/US10769830B2

## CPC

- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 11/60: Creating or editing images; Combining images with text
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

In implementations of transferring vector style properties to a vector artwork, an artwork editing system directly processes artwork represented by vector graphics, unlike systems that process raster graphics. The artwork editing system transfers vector style properties from shapes of a style vector artwork to shapes of a content vector artwork based on overlapping shapes between the two artworks and in proportion to an amount of the overlap. A user may select vector style properties to transfer, such as fill content, stroke color, stroke width, stroke dashing, etc., and a percentage of the vector style property to transfer. Accordingly, a designer may transfer vector style properties of the designer's selection to a vector artwork efficiently and predictably, in real-time (e.g., without perceptible delay to the designer), without undesired distortions that are commonly introduced by neural networks, and without the cost associated with neural networks.

## Claims

### Claim 1

In a digital medium environment for editing digital images represented by vector graphics, a method implemented by a computing device, the method comprising:
overlaying a style vector artwork on a content vector artwork;
determining, based on the overlaying, shapes of the style vector artwork that overlap a shape of the content vector artwork;
determining an area of the shape of the content vector artwork overlapped by each of the shapes of the style vector artwork;
determining, based on the shapes of the style vector artwork and the area of the shape of the content vector artwork overlapped by each of the shapes of the style vector artwork, a fill content for the shape of the content vector artwork; and
generating a stylized vector artwork that includes the shape of the content vector artwork having the fill content.

### Claim 2 (depends on 1)

The method as described in claim 1, wherein the determining the fill content for the shape of the content vector artwork comprises one of:
determining the fill content as a pattern from one of the shapes of the style vector artwork;
determining the fill content as a gradient from at least one of the shapes of the style vector artwork; or
determining the fill content as a solid fill from one or more of the shapes of the style vector artwork.

### Claim 3 (depends on 2)

The method as described in claim 2, wherein the determining the fill content for the shape of the content vector artwork is according to a prioritized order representing a higher priority for the pattern than the gradient or the solid fill and a lower priority for the solid fill than the pattern or the gradient.

### Claim 4 (depends on 1)

The method as described in claim 1, further comprising:
extracting vector style properties of the shapes from the style vector artwork, the vector style properties including stroke widths of the shapes of the style vector artwork; and
determining a stroke width of the shape in the stylized vector artwork from the stroke widths of the shapes of the style vector artwork and a total area of the shape of the content vector artwork.

### Claim 5 (depends on 1)

The method as described in claim 1, further comprising:
extracting vector style properties of the shapes from the style vector artwork, the vector style properties including stroke dashing properties for at least one of the shapes of the style vector artwork having a non-zero stroke width; and
determining a stroke dashing property of the shape in the stylized vector artwork from an average of the stroke dashing properties for the at least one of the shapes of the style vector artwork having a non-zero stroke width.

### Claim 6 (depends on 1)

The method as described in claim 1, further comprising:
extracting vector style properties of the shapes from the style vector artwork, the vector style properties including stroke opacities and stroke colors of the shapes of the style vector artwork; and
determining a stroke opacity and a stroke color for the shape in the stylized vector artwork from an average of the stroke opacities and an average of the stroke colors, respectively, of the shapes of the style vector artwork.

### Claim 7 (depends on 1)

The method as described in claim 1, further comprising extracting vector style properties of the shapes from the style vector artwork, the vector style properties including fill colors of the shapes of the style vector artwork, wherein the determining the fill content includes determining a color of the fill content from one of a mean, a median, or a mode of the fill colors of the shapes of the style vector artwork.

### Claim 8 (depends on 7)

The method as described in claim 7, wherein the determining the fill content further includes determining the color of the fill content from the fill colors of the shapes of the style vector artwork in proportion to the area of the shape of the content vector artwork overlapped by said each of the shapes of the style vector artwork.

### Claim 9 (depends on 7)

The method as described in claim 7, wherein the determining the fill content further includes determining the color of the fill content from a color of the shape of the content vector artwork designated by the content vector artwork.

### Claim 10 (depends on 1)

The method as described in claim 1, further comprising generating a first fill color map for the content vector artwork and a second fill color map for the style vector artwork, wherein the determining the fill content further includes determining a color of the fill content by:
applying a whitening transformation to the first color map; and
applying a coloring transformation to results of the applying the whitening transformation so that the second color map and results of the applying the coloring transformation have matching covariance matrices.

### Claim 11 (depends on 1)

The method as described in claim 1, further comprising extracting vector style properties of the shapes from the style vector artwork, the vector style properties including fill opacities of the shapes of the style vector artwork, wherein the determining the fill content further includes determining an opacity of the fill content from one of a mean, a median, or a mode of the fill opacities of the shapes of the style vector artwork.

### Claim 12 (depends on 1)

The method as described in claim 1, wherein the determining the fill content further includes:
determining an angle for a gradient vector in the style vector artwork; and
mapping the angle to points in the stylized vector artwork, the fill content for the shape in the stylized vector artwork generated according to an additional gradient vector in the stylized vector artwork based on the points.

### Claim 13 (depends on 1)

The method as described in claim 1, wherein the overlaying includes resizing at least one of the style vector artwork or the content vector artwork to have at least one of a same height or a same width as one another.

### Claim 14

An artwork editing system implemented by a computing device in a digital medium environment, the artwork editing system including modules implemented at least partially in hardware of the computing device, the artwork editing system comprising:
a style map module to generate a first style map for a content vector artwork and a second style map for a style vector artwork, each of the first style map and the second style map including shape designators and vector style properties for shapes designated by the shape designators;
a shape overlap module to determine, based on the first style map and the second style map, shapes of the style vector artwork that overlap a shape in the content vector artwork and an amount of area of the overlap for each of the shapes of the style vector artwork;
a style transfer module to determine, based on the amount of area of the overlap for each of the shapes, additional vector style properties from the vector style properties in the second style map for said each of the shapes; and
a vector artwork module to generate a stylized vector artwork that includes the shape of the content vector based on the additional vector style properties.

### Claim 15 (depends on 14)

The artwork editing system as described in claim 14, wherein the style transfer module is configured to determine, based on the amount of area of the overlap for each of the shapes, a fill content of the additional vector style properties as one of a pattern, a gradient, or a solid fill according to a prioritized order of fill contents, and the vector artwork module is configured to render the shape with the fill content in the stylized vector artwork.

### Claim 16 (depends on 14)

The artwork editing system as described in claim 14, wherein the additional vector style properties include at least one of a fill color, a fill opacity, a fill pattern, a stroke width, a stroke color, a stroke opacity, a stroke dashing, or gradient parameters.

### Claim 17 (depends on 14)

The artwork editing system as described in claim 14, wherein the vector artwork module is configured to:
interpolate between one of the additional vector style properties and an original vector style property for the shape in the content vector artwork from the first style map to form an interpolated vector style property; and
render the shape in the stylized vector artwork based on the interpolated vector style property.

### Claim 18 (depends on 14)

The artwork editing system as described in claim 14, wherein for an additional shape of the content vector artwork in place of the shape of the content vector artwork, the shape overlap module is configured to repeat the determine the shapes of the style vector artwork and the amount of area, the style transfer module is configured to repeat the determine the additional vector style properties, and the vector artwork module is configured to repeat the generate the stylized vector artwork.

### Claim 19

In a digital medium environment for editing digital images represented by vector graphics, a method implemented by a computing device, the method comprising:
a step for determining shapes of a style vector artwork that overlap a shape in a content vector artwork, and for each of the shapes, an area of the shape overlapped by said each of the shapes;
a step for determining vector style properties from the style vector artwork for said each of the shapes;
a step for transferring, based on the area of the shape overlapped by said each of the shapes, the vector style properties to a styled shapes map; and
a step for generating a stylized vector artwork from the styled shapes map, the stylized vector artwork including the shape in a style based on at least one of the vector style properties.

### Claim 20 (depends on 19)

The method as described in claim 19, wherein the transferring includes combining the vector style properties for at least two of the shapes in proportion to the area of the shape overlapped by the at least two of the shapes.
