# US 2018/0322612 A1 · Computerized generation of ornamental designs by placing instances of simple shapes in accordance with a direction guide

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

- Number: US 2018/0322612 A1
- Document ID: US20180322612A1
- Status: Published application
- Kind: A1
- Application number: 15/589,943
- Filed: 2017-05-08
- Published: 2018-11-08
- Earliest claimed: 2017-05-08
- Assignees: Adobe Systems Incorporated
- Applicants: Adobe Systems Incorporated
- Inventors: Paul Asente; Craig Kaplan; Radomir M{hacek over (e)}ch; Reza Adhitya Saputra
- Web page: https://patentgrep.com/patent/US20180322612A1

## CPC

- G06T 3/153: using elastic snapping
- G06T 3/04: Context-preserving transformations, e.g. by using an importance map (panospheric to cylindrical image transformations G06T3/12)
- G06T 3/403: Edge-driven scaling; Edge-based scaling
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 2200/32: involving image mosaicing
- G06T 2210/44: Morphing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems and methods for computerized drawing of ornamental designs consisting of placed instances of simple shapes. The shapes, called elements, are selected from a small library of templates. The elements are deformed to flow along a direction field interpolated from user-supplied strokes, giving a sense of visual flow to the final composition, and constrained to lie within a container region. In an implementation, a vector field is computed based on user strokes. Streamlines that conform to the vector field are constructed, and an element is placed over each streamline. The shape of the elements may be modified such as by bending, stretching or enlarging to reduce spacing between elements and to minimize variations in spacing to improve aesthetic appearance.

## Claims

### Claim 1

A computerized method for generating two-dimensional ornamental designs comprising:
receiving one or more target containers, each represented by an associated simple closed curve which may form an irregular and asymmetrical shape;
receiving one or more ornamental elements;
receiving one or more direction guides corresponding to the target containers, the direction guides indicating desired directional flows of the ornamental elements; and
placing, in accordance with directions indicated by the direction guides, the ornamental elements one or more times, in a non-overlapping manner, within boundaries of the target containers to generate an aesthetic arrangement of a plurality of placed ornamental elements.

### Claim 2 (depends on 1)

The computerized method of claim 1 wherein placing, in accordance with directions indicated by the direction guides, the ornamental elements one or more times, in a non-overlapping manner, within boundaries of the target containers to generate an aesthetic arrangement of a plurality of placed ornamental elements comprises:
generating a vector field within each target container as a function of direction guides associated with the target container;
generating a plurality of streamlines in each vector field as a function of a desired space between the streamlines, a maximum desired streamline length and a minimum desired streamline length;
dividing each target container into a plurality of placement areas, each placement area representing an area that will contain an ornamental element, organized around the streamlines;
matching an ornamental element to each placement area; and
placing an ornamental element into each matched placement area.

### Claim 3 (depends on 2)

The computerized method of claim 2 wherein generating a plurality of streamlines in each vector field as a function of a desired space between the streamlines, a maximum desired streamline length and a minimum desired streamline length comprises:
generating an initial streamline placed on a first direction guide; and
generating subsequent streamlines placed on one or more additional direction guides, a boundary of an associated target container or at a position that is at the desired space between an existing streamline and the subsequent streamline.

### Claim 4 (depends on 2)

The computerized method of claim 2 wherein placing an ornamental element in a matched placement area comprises:
associating a spine with the ornamental element; and
placing the spine upon the corresponding streamline, deforming the spine to match a path of the corresponding streamline, and deforming the ornamental element according to the deformation of its spine.

### Claim 5 (depends on 2)

The computerized method of claim 2 wherein placing an ornamental element in a matched placement area comprises adjusting the size of the ornamental element so that it completely fits within boundaries of the matched placement area and does not overlap any other placed ornamental element.

### Claim 6 (depends on 2)

The computerized method of claim 2 further comprising receiving a plurality of direction guides corresponding to each target container and wherein at least one of the direction guides follows boundaries of the target container.

### Claim 7 (depends on 2)

The computerized method of claim 2 wherein matching an ornamental element to each placement area is performed by:
constructing a shape descriptor for each element;
constructing a shape descriptor for each placement area; and
matching an ornamental element to a placement area having a shape descriptor that most closely matches the shape descriptor of the ornamental element.

### Claim 8 (depends on 7)

The computerized method of claim 7, wherein constructing a shape descriptor for each element and constructing a shape descriptor for each placement area comprises:
associating a spine with an element;
measuring at a plurality of points on the spine, spine distances that the element extends to the left and to the right of the spine;
normalizing the spine distances;
measuring at a plurality of points on a streamline associated with a placement area, streamline distances that the placement area extends to the left and to the right of the streamline; and
normalizing the streamline distances.

### Claim 9 (depends on 2)

The computerized method of claim 2 further comprising: stretching a streamline to cause ends of the streamline to extend to ends of the matched placement area.

### Claim 10 (depends on 2)

The computerized method of claim 2 further comprising adjusting positioning of a streamline to cause the entire streamline to be substantially aligned with a perimeter of an associated element if a substantial portion of the streamline is already positioned on the perimeter of the associated element.

### Claim 11 (depends on 1)

The computerized method of claim 1 wherein placing, in accordance with directions indicated by the direction guides, the ornamental elements one or more times, in a non-overlapping manner, within boundaries of the target containers to generate an aesthetic arrangement of a plurality of placed ornamental elements comprises:
modifying shape of at least a subset of the placed ornamental elements in accordance with the direction guide to reduce uniformity of arrangement of the placed ornamental elements.

### Claim 12 (depends on 1)

The computerized method of claim 1 wherein placing, in accordance with directions indicated by the direction guides, the ornamental elements one or more times, in a non-overlapping manner, within boundaries of the target containers to generate an aesthetic arrangement of a plurality of placed ornamental elements comprises:
modifying shape of at least a subset of the placed ornamental elements in accordance with the direction guide to reduce spacing between the placed ornamental elements.

### Claim 13 (depends on 1)

The computerized method of claim 1 wherein placing, in accordance with directions indicated by the direction guides, the ornamental elements one or more times, in a non-overlapping manner, within boundaries of the target containers to generate an aesthetic arrangement of a plurality of placed ornamental elements comprises:
modifying shape of at least a subset of the placed ornamental elements in accordance with the direction guide to reduce variation in spacing between the placed ornamental elements.

### Claim 14 (depends on 1)

The computerized method of claim 1 further comprising:
receiving a fixed element corresponding to the target container; and
wherein the plurality of placed ornamental elements do not overlap the fixed element.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1 wherein the one or more ornamental elements comprise ornamental elements of one or more shapes.

### Claim 16

A computer system for generating ornamental designs comprising:
data storage containing a library of closed containers, and element templates; and
a processor operatively coupled to the data storage, the processor configured to execute instructions that when executed cause the processor to:
retrieve a selected closed container and a selected element template;
receive one or more user-supplied inputs to define one or more direction fields within the selected closed container; and
place the selected element template in a plurality of locations within the selected closed container in accordance with directions defined by the direction fields.

### Claim 17 (depends on 16)

The computer system of claim 16 wherein each closed container comprises a visual representation of an irregularly shaped simple closed curve.

### Claim 18 (depends on 17)

The computer system of claim 17 wherein the selected element template comprises a first selected element template and wherein the processor is further configured to execute instructions that when executed cause the processor to:
retrieve a selected second element template; and
place the selected second element template in a plurality of locations within the selected closed container.

### Claim 19

A computer-implemented method to generate an ornamental design comprising:
receiving an image container that provides a representation of a closed shaped object;
receiving one or more irregularly shaped decorative elements;
receiving a set of direction guides that provide visual flow for an initial placement of the decorative elements within the image container; and
placing the decorative elements multiple times in a non-overlapping manner within the image container in accordance with directions indicated by the direction guides.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19 further comprising:
placing a received fixed element within the image container; and
wherein placing the decorative elements multiple times in a non-overlapping manner within the image container in accordance with directions indicated by the direction guides is performed by placing the decorative elements around the fixed element without overlapping the fixed element.
