Embroidery image rendering using parametric texture mapping
AssigneeVistaprint Schweiz GmbH
InventorsHsu Eugene, Goldman A. David
Life of this patent
Estimating the term…
Abstract
Rendering methods, systems, and computer-readable media for rendering a simulated embroidery design image based on an embroidery design are presented. Given an embroidery design comprising a plurality of stitch representations and a lighting angle for the simulated embroidery design image, embodiments process the stitch representations to determine a stitch length and lighting angle and select from a stitch image database a stitch image corresponding to the stitch length and lighting angle, and place the selected stitch on a rendering canvas in a position corresponding to the stitch position indicated by the stitch representation. When rendered, all of individual stitch image on the rendering canvas appear to be illuminated from the same direction.
Claims19
A method for rendering a simulated embroidery design image, the method comprising the steps of:
- obtaining by one or more processors a plurality of stitch representations for an embroidery design, each of the plurality of stitch representations associated with a corresponding stitch position in the embroidery design which is to be rendered on a rendering canvas;
- obtaining by one or more processors a source light illumination angle for the simulated embroidery design image;
- processing by one or more processors at least a plurality of the stitch representations, the processing comprising the steps of
- for each processed stitch representation:
- determining a stitch length based on the corresponding stitch representation,
- determining a rotational angle of the corresponding stitch position in the embroidery design;
- determining a relative lighting angle between the source light illumination angle and the rotational angle of the corresponding stitch position,
- accessing a photographic stitch image database, the photographic stitch image database comprising a plurality of photographic stitch images, each photographic stitch image being a photograph of a single stitch of an associated known stitch length and illuminated from an associated known lighting angle, the photograph including an image of a thread penetrating an embroidery substrate at each of a first end and a second end, wherein the photographic stitch image database comprises at least some photographic stitch images associated with a same stitch length but different known lighting angles, and at least some photographic stitch images associated with a same known lighting angle but different stitch lengths,
- selecting from the photographic stitch image database a photographic stitch image most closely corresponding to the determined stitch length and the relative lighting angle, and
- placing the selected photographic stitch image on the rendering canvas in its corresponding stitch position of the embroidery design.
Non-transitory computer readable memory tangibly embodying program instructions which, when executed by a computer, implement a method for rendering a simulated embroidery design image, the method comprising the steps of:
- obtaining by one or more processors a plurality of stitch representations for an embroidery design, each of the plurality of stitch representations associated with a corresponding stitch position in the embroidery design which is to be rendered on a rendering canvas;
- obtaining by one or more processors a source light illumination angle for the simulated embroidery design image;
- processing by one or more processors at least a plurality of the stitch representations, the processing comprising the steps of
- for each processed stitch representation:
- determining a stitch length based on the corresponding stitch representation,
- determining a rotational angle of the corresponding stitch position in the embroidery design;
- determining a relative lighting angle between the source light illumination angle and the rotational angle of the corresponding stitch position,
- accessing a photographic stitch image database, the photographic stitch image database comprising a plurality of photographic stitch images, each photographic stitch image being a photograph of a single stitch of an associated known stitch length and illuminated from an associated known lighting angle, the photograph including an image of a thread penetrating an embroidery substrate at each of a first end and a second end, wherein the photographic stitch image database comprises at least some photographic stitch images associated with a same stitch length but different known lighting angles, and at least some photographic stitch images associated with a same known lighting angle but different stitch lengths,
- selecting from the photographic stitch image database a photographic stitch image most closely corresponding to the determined stitch length and the relative lighting angle, and
- placing the selected photographic stitch image on the rendering canvas in its corresponding stitch position of the embroidery design.
Non-transitory computer readable storage tangibly embodying a simulated embroidered design image, the simulated embroidered design image comprising a plurality of individual photographic stitch images, each stitch image being a photograph of a single stitch of an associated known stitch length and illuminated from an associated known lighting angle, the photograph including an image of a thread penetrating an embroidery substrate at each of a first end and a second end, each of the plurality of individual stitch images corresponding to a stitch representation in a corresponding embroidery design, the embroidery design comprising a plurality of stitch representations from which stitch position and stitch rotational angle is determinable,
- wherein each respective individual photographic stitch image of the simulated embroidered design image is selected from a photographic stitch image database based on the known lighting angle of the respective individual photographic stitch image and the stitch rotational angle of the respective stitch representation in the embroidery design, and
- wherein the photographic stitch image database comprises at least some photographic stitch images associated with a same stitch length but different known lighting angles, and at least some photographic stitch images associated with a same known lighting angle but different stitch lengths.
A system for rendering an embroidery design image, comprising:
- one or more processors which receive a source light illumination angle for the simulated embroidery design image and a plurality of stitch representations for an embroidery design, each of the plurality of stitch representations associated with a corresponding stitch position in the embroidery design which is to be rendered on a rendering canvas,
- the one or more processors processing each stitch representation to determine a corresponding stitch length based on the corresponding stitch representation, determine a rotational angle of the corresponding stitch position in the embroidery design, determine a relative lighting angle between the source light illumination angle and the rotational angle of the corresponding stitch position, access a photographic stitch image database, the photographic stitch image database comprising a plurality of photographic stitch images, each photographic stitch image being a photograph of a single stitch of an associated known stitch length and illuminated from an associated known lighting angle, the photograph including an image of a thread penetrating an embroidery substrate at each of a first end and a second end, wherein the photographic stitch image database comprises at least some photographic stitch images associated with a same stitch length but different known lighting angles, and at least some photographic stitch images associated with a same known lighting angle but different stitch lengths, select from the photographic stitch image database a photographic stitch image most closely corresponding to the determined stitch length and the relative lighting angle, and place the selected photographic stitch image on the rendering canvas in its corresponding stitch position of the embroidery design.
A method for rendering a simulated embroidery design image, the method comprising the steps of:
- obtaining by one or more processors a plurality of stitch representations for an embroidery design, each stitch representation providing stitch information from which a stitch position, stitch length, stitch color, and lighting angle may be determined;
- processing by one or more processors at least a plurality of the stitch representations, the processing comprising the steps of, for each obtained stitch representation, obtaining a photographic stitch image of an embroidery stitch having a known stitch length which corresponds to the stitch length of the obtained stitch representation, a known stitch color which corresponds to the stitch color of the obtained stitch representation, and a known lighting angle which corresponds to the lighting angle of the obtained stitch representation, each photographic stitch image being a photograph of a single stitch including a thread penetrating an embroidery substrate at each of a first end and a second end, and placing the obtained photographic stitch image on the rendering canvas in a position corresponding to the stitch position.
Dependencies are inferred from the claim text.