Efficient image warping based on user input
AssigneeAdobe Inc.
InventorGuillaume Meyer
Life of this patent
Estimating the term…
Abstract
The technology described herein generally relates to warping images based on one or more user inputs. In some embodiments, a selection of pixels of an image is received and skeletonized. A starting pixel of the skeletonized set of pixels is determined. Horizontal distances between the starting pixel and other pixels of the skeletonized set of pixels are determined. Rows of pixels of the image that intersect the skeletonized set of pixels are determined. The image is modified by shifting each of the rows of pixels based on the corresponding horizontal distances.
Claims20
A method comprising:
- receiving a first selection of pixels of an image;
- determining a first subset of pixels from the first selection of pixels;
- identifying a first starting pixel of the first subset of pixels;
- determining a first horizontal distance between the first starting pixel and a pixel of the first subset of pixels, wherein the pixel of the first subset of pixels is located in a row of pixels of the image;
- and
- modifying the image by horizontally shifting the row of pixels based on the first horizontal distance between the first starting pixel and the pixel of the first subset of pixels.
A non-transitory computer-readable medium storing executable instructions, which when executed by a processing device, cause the processing device to perform operations comprising:
- receiving a first selection of pixels of an image;
- determining a first subset of pixels from the first selection of pixels, wherein each pixel of the first subset of pixels is positioned in a respective row of pixels of the image;
- determining horizontal distances between a line extending from an endpoint pixel of the first subset of pixels and each pixel of the first subset of pixels;
- and
- modifying the image by, for each pixel of the first subset of pixels, horizontally shifting pixels in the respective row of pixels of the image based on the horizontal distance for the pixel of the first subset of pixels.
A system comprising:
- a memory component;
- and
- a processing device coupled to the memory component, the processing device to perform operations comprising:
- receiving a first selection of pixels of an image;
- determining a first subset of pixels from the first selection of pixels;
- determining a first starting pixel of the first subset of pixels;
- receiving a second selection of pixels of the image;
- determining a second subset of pixels from the second selection of pixels;
- determining a second starting pixel of the second subset of pixels;
- identifying a third pixel of the image, wherein the third pixel is positioned in a same row of pixels of the image as a first pixel of the first subset of pixels and a second pixel of the second subset of pixels;
- determining a first horizontal distance between the first starting pixel and the first pixel;
- determining a second horizontal distance between the second starting pixel and the second pixel;
- and
- modifying the image by horizontally shifting the third pixel based on the first horizontal distance and the second horizontal distance.
Dependencies are inferred from the claim text.