Graphics processing method and system

US9153052B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9153052-B2
Application numberUS-404207-A
CountryUS
Kind codeB2
Filing dateDec 20, 2007
Priority dateOct 22, 2004
Publication dateOct 6, 2015
Grant dateOct 6, 2015

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The embodiments discussed herein involve flood filling a region with anti-aliasing. In forming a fill region, a candidate pixel can be included in the region based on a color of the pixel and also a color of a neighbor of the point. The inclusion basis may be a color distance between a seed color and the points, and a color distance between the seed color and the point's neighbor. Points in the region may be weighted according to their color distance relative to the seed color, where the color distance can also take into account alpha values. Flood filling may be anti-aliased by assigning alpha values to pixels in gaps between corners of the fill region, where an alpha value may be proportional to a point's contribution to the gap. Dimples in a fill region may be tested for and used to determine which of two flood fill algorithms to use.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of performing a flood fill operation on an image given a seed point, the method comprising: determining, using a computer having a processor, whether to flood fill a candidate point of the image based on a color of the candidate point, a color of the seed point, and a color of a neighbor point of the candidate point, the determining being based on a color distance between the neighbor point and the seed point, and a color distance between the candidate point and the seed point, wherein the color distance between the candidate point and the seed point is determined by multiplying the smaller of their respective alpha values by a color distance determined based on their respective color channels, weighting fill contribution of the candidate point determined to be flood filled according to the color distance between the candidate point and the seed point, and for each point in a gap between two corners surrounding pixels of a fill set, setting an opacity value proportional to contribution to the gap by a first area closest to the fill set and a second area opposite the first area as defined by an imaginary line connecting the corners. 2. A volatile or non-volatile non-transitory computer-readable storage storing information enabling a computing device to perform the method according to claim 1 . 3. A method of, given a seed point, performing flood fill operations on images using a computer having a processor by applying a flood fill algorithm to fill regions of the images, where the flood fill algorithm comprises: determining, using the processor, whether to flood fill a candidate point in a region of one of the images based on a color distance between a neighbor point of the candidate point and the seed point and a color distance between the candidate point and the seed point, wherein the color distance between the candidate point and the seed point is determined by multiplying the smaller of their respective alpha values by a color distance determined based on their respective color channels, and weighting fill contribution of the candidate point determined to be flood filled according to the color distance between the candidate point and the seed point, where the region is at least in part bounded by pixels of the one of the images that have, in a direction away from the region, substantially increasing color distances from a color of the seed point. 4. A flood filling method comprising: providing an image having pixels corresponding to manually sketched lines and one or more regions formed thereby, and processing a region of the image using a computer having a processor by: determining whether to flood fill a candidate point in the region of the image based on a color distance between a neighbor point of the candidate point and a seed point and a color distance between the candidate point and the seed point, wherein the color distance between the candidate point and the seed point is determined by multiplying the smaller of their respective alpha values by a color distance determined based on their respective color channels, and weighting fill contribution of the candidate point determined to be flood filled according to the color distance between the candidate point and the seed point, and for each point in a gap between two corners surrounding pixels of a fill set, setting an opacity value proportional to contribution to the gap by a first area closest to the fill set and a second area opposite the first area as defined by an imaginary line connecting the corners. 5. A method according to claim 4 , where the manually sketched lines comprise lines drawn with an implement used primarily for drawing lines by hand. 6. A method according to claim 5 , where the implement comprises a pencil, or a pen, or a crayon, or a marker, or a paint brush. 7. A flood filling device comprising: at least one processor configured to execute operations including: providing an image having pixels corresponding to manually sketched lines and one or more regions formed thereby, and automatically anti-aliasing and flood filling such a region of the image; processing a region of the image by: determining whether to flood fill a candidate point in the region of the image based on a color distance between a neighbor point of the candidate point and a seed point and a color distance between the candidate point and the seed point, wherein the color distance between the candidate point and the seed point is determined by multiplying the smaller of their respective alpha values by a color distance determined based on their respective color channels for, and weighting fill contribution of the candidate point determined to be flood filled according to the color distance between the candidate point and the seed point, and for each point in a gap between two corners surrounding pixels of a fill set, setting an opacity value proportional to contribution to the gap by a first area closest to the fill set and a second area opposite the first area as defined by an imaginary line connecting the corners. 8. A method of performing a flood fill on an image, given a seed point, the method comprising: determining, using a computer comprising a processor, whether to flood fill a candidate point in the image based on a color distance between a neighbor point of the candidate point and the seed point and a color distance between the candidate point and the seed point, wherein the color distance between the candidate point and the seed point is determined by multiplying the smaller of their respective alpha values by a color distance determined based on their respective color channels for producing a multiplied alpha distance, and weighting fill contribution of the candidate point determined to be flood filled according to the color distance between the candidate point and the seed point. 9. A method according to claim 8 , wherein the weighting is done when the candidate point is different in color to the color of the seed point. 10. The method according to claim 8 , wherein the color distance between the candidate point and the seed point is further determined by choosing as the color distance either the multiplied alpha distance or a difference between the alpha values of the candidate point and the seed point. 11. The method according to claim 10 , wherein the larger of the multiplied alpha distance and the difference between the alpha values is chosen as the color distance. 12. A volatile or non-volatile non-transitory computer-readable storage storing information enabling a computing device to perform the method according to claim 8 . 13. A device performing a flood fill on an image, given a seed point, comprising: a computer configured to execute operations, including: determining whether to flood fill a candidate point in the image based on a color distance between a neighbor point of the candidate point and the seed point and a color distance between the candidate point and the seed point, wherein the color distance between the candidate point and the seed point is determined by multiplying the smaller of their respective alpha values by a color distance determined based on their respective color channels for producing a multiplied alpha distance, and weighting fill contribution of the candidate point determined to be flood filled according to the color distance between the candidate point and the seed point. 14. A method of performing a flood fill operation on an image, given a seed point, the method comprising: generating a fill set with a first fill algorithm and performing the flood fill operation; and checking for dimp

Assignees

Inventors

Classifications

  • G06T11/10Primary

    Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77) · CPC title

  • G06T11/40Primary

    Filling planar surfaces by adding surface attributes, e.g. adding colours or textures · CPC title

  • involving antialiasing · CPC title

  • Color image · CPC title

  • Erosion or dilatation, e.g. thinning · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9153052B2 cover?
The embodiments discussed herein involve flood filling a region with anti-aliasing. In forming a fill region, a candidate pixel can be included in the region based on a color of the pixel and also a color of a neighbor of the point. The inclusion basis may be a color distance between a seed color and the points, and a color distance between the seed color and the point's neighbor. Points in the…
Who is the assignee on this patent?
Ameline Ian R, Blais Eric A, Autodesk Inc
What technology area does this patent fall under?
Primary CPC classification G06T11/10. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 06 2015 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).