Reconstructing linear gradients

US12450692B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12450692-B2
Application numberUS-202217901583-A
CountryUS
Kind codeB2
Filing dateSep 1, 2022
Priority dateSep 1, 2022
Publication dateOct 21, 2025
Grant dateOct 21, 2025

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.

Embodiments are disclosed for reconstructing linear gradients from an input image that can be applied to another image. In particular, in one or more embodiments, the disclosed systems and methods comprise receiving a raster image, the raster image including a representation of a linear color gradient. The disclosed systems and methods further comprise determining a vector representing a direction of the linear color gradient. The disclosed systems and methods further comprise analyzing pixel points along the direction of the linear color gradient to compute color stops of the linear color gradient. The disclosed systems and methods further comprise generating an output color gradient vector with the computed color stops of the linear color gradient, the output color gradient vector to be applied to a vector graphic.

First claim

Opening claim text (preview).

We claim: 1. A method comprising: receiving, by a processing device, a raster image, the raster image including a representation of a linear color gradient; determining a vector representing a direction of the linear color gradient, wherein the direction of the linear color gradient is a combination of a direction of each color channel of a pixel in the linear color gradient; in response to determining that the direction of each color channel of the pixel in the linear color gradient is aligned, analyzing pixel points along the direction of the linear color gradient to compute color stops of the linear color gradient; and generating an output color gradient vector with the computed color stops of the linear color gradient, the output color gradient vector to be applied to a vector graphic. 2. The method of claim 1 , wherein analyzing each pixel point along the direction of the linear color gradient to compute the color stops of the linear color gradient comprises: determining average pixel column color values of the linear color gradient; generating color channel data for each pixel point along the vector representing the direction of the linear color gradient from the determined average pixel column color values; and identifying the color stops along the vector representing the direction of the linear color gradient at locations of peaks in the generated color channel data, the locations of peaks indicating changes in color values. 3. The method of claim 2 , wherein determining the average pixel column color values of the linear color gradient comprises: rotating the raster image to align the vector representing the direction of the linear color gradient with a first axis; for each pixel point along the first axis, determining color values associated with pixels in a pixel column parallel to a second axis, the second axis perpendicular to the first axis, and calculating an average pixel column color value for the pixel column based on the determined color values; and generating the average pixel column color values of the linear color gradient by aggregating the average pixel column color value for each pixel point. 4. The method of claim 2 , wherein determining the average pixel column color values of the linear color gradient comprises: for each pixel point along the vector representing the direction of the linear color gradient, determining color values associated with pixels in a pixel column perpendicular to the vector representing the direction of the linear color gradient, and calculating an average pixel column color value for the pixel column based on the determined color values; and generating the average pixel column color values of the linear color gradient by aggregating the average pixel column color value for each pixel point. 5. The method of claim 2 , wherein identifying the color stops along the vector representing the direction of the linear color gradient at the locations of the peaks indicating the changes in the color values further comprises: applying a Laplacian filter to the color channel data to generate data indicating a rate of change of the linear color gradient for each color channel; identifying a first set of locations of the peaks above a threshold value; applying a clustering algorithm to the first set of locations of the peaks; and generating a second set of locations of the peaks by eliminating locations from the first set of locations that are co-linear to neighboring locations. 6. The method of claim 5 , wherein the threshold value for a color channel is calculated as a median value of all peaks in the color channel data for a corresponding color channel. 7. The method of claim 1 , wherein determining the vector representing the direction of the linear color gradient comprises: generating color channel data for the raster image, the color channel data including vector fields for each color channel indicating directions of change of a corresponding color; aggregating the vector fields for each color channel to determine the vector representing the direction of the linear color gradient. 8. A non-transitory computer-readable storage medium storing executable instructions, which when executed by a processing device, cause the processing device to perform operations comprising: receiving, by a processing device, a raster image, the raster image including a representation of a linear color gradient; determining a vector representing a direction of the linear color gradient, wherein the direction of the linear color gradient is a combination of a direction of each color channel of a pixel in the linear color gradient; in response to determining that the direction of each color channel of the pixel in the linear color gradient is aligned, analyzing pixel points along the direction of the linear color gradient to compute color stops of the linear color gradient; and generating an output color gradient vector with the computed color stops of the linear color gradient, the output color gradient vector to be applied to a vector graphic. 9. The non-transitory computer-readable storage medium of claim 8 , wherein to analyze each pixel point along the direction of the linear color gradient to compute the color stops of the linear color gradient the instructions further cause the processing device to perform operations comprising: determining average pixel column color values of the linear color gradient; generating color channel data for each pixel point along the vector representing the direction of the linear color gradient from the determined average pixel column color values; and identifying the color stops along the vector representing the direction of the linear color gradient at locations of peaks in the generated color channel data, the locations of peaks indicating changes in color values. 10. The non-transitory computer-readable storage medium of claim 9 , wherein to determine the average pixel column color values of the linear color gradient the instructions further cause the processing device to perform operations comprising: rotating the raster image to align the vector representing the direction of the linear color gradient with a first axis; for each pixel point along the first axis, determining color values associated with pixels in a pixel column parallel to a second axis, the second axis perpendicular to the first axis, and calculating an average pixel column color value for the pixel column based on the determined color values; and generating the average pixel column color values of the linear color gradient by aggregating the average pixel column color value for each pixel point. 11. The non-transitory computer-readable storage medium of claim 9 , wherein to determine the average pixel column color values of the linear color gradient the instructions further cause the processing device to perform operations comprising: for each pixel point along the vector representing the direction of the linear color gradient, determining color values associated with pixels in a pixel column perpendicular to the vector representing the direction of the linear color gradient, and calculating an average pixel column color value for the pixel column based on the determined color values; and generating the average pixel column color values of the linear color gradient by aggregating the average pixel column color value for each pixel point. 12. The non-transitory computer-readable storage medium of claim 9 , wherein to identify the color stops along the vector representing the direction of the linear color gradient at the locations of the peaks indicating the changes in the color values the inst

Assignees

Inventors

Classifications

  • using local operators · CPC title

  • Probabilistic image processing · CPC title

  • Color image · CPC title

  • G06T3/60Primary

    Rotation of whole images or parts thereof · CPC title

  • G06T7/90Primary

    Determination of colour characteristics · 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 US12450692B2 cover?
Embodiments are disclosed for reconstructing linear gradients from an input image that can be applied to another image. In particular, in one or more embodiments, the disclosed systems and methods comprise receiving a raster image, the raster image including a representation of a linear color gradient. The disclosed systems and methods further comprise determining a vector representing a direct…
Who is the assignee on this patent?
Adobe Inc
What technology area does this patent fall under?
Primary CPC classification G06T3/60. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 21 2025 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 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).