Interactive image recoloring
AssigneeSnap Inc.
InventorsKun Duan, Yunchao Gong, Nan Hu
Life of this patent
Estimating the term…
Abstract
Disclosed are systems, methods, and computer-readable storage media to perform an interactive image recolorization process. The method includes receiving user input including a stroke drawn on an image presented on a client device. The stroke comprises a user-specified color. The method further includes determining a region of interest in the image. The method further includes recolorizing the region of interest on the image based on the user-specified color and causing presentation of a result of the recolorization on the client device.
Claims20
A method comprising:
- on a client device, causing presentation of a user interface comprising an image and an input element comprising multiple selectable colors;
- detecting a selected color from the multiple selectable colors;
- detecting a user input as a single uninterrupted stroke drawn on the image;
- in response to the single uninterrupted stroke, determining a region of interest in the image;
- performing a graphical model inference method to recolorize the region of interest by:
- performing a comparison of luminance values of neighboring pixels;
- and
- determining a recolorization color based on the comparison;
- filling the region of interest with the recolorization color to produce a recolorized image;
- and
- causing presentation of the recolorized image on the client device.
A system comprising:
- one or more processors;
- and
- a non-transitory computer readable storage medium comprising instructions that when executed by the one or more processors cause the one or more processors to perform operations comprising:
- on a client device, causing presentation of a user interface comprising an image and an input element comprising multiple selectable colors;
- detecting a selected color from the multiple selectable colors;
- detecting a user input as a single uninterrupted stroke drawn on the image;
- in response to the single uninterrupted stroke,
- determining a region of interest in the image;
- performing a graphical model inference method to recolorize the region of interest by:
- performing a comparison of luminance values of neighboring pixels;
- and
- determining a recolorization color based on the comparison;
- filling the region of interest with the recolorization color to produce a recolorized image;
- and
- causing presentation of the recolorized image on the client device.
A machine-readable non-transitory storage medium having instruction data executable by a machine to cause the machine to perform operations comprising:
- on a client device, causing presentation of a user interface comprising an image and an input element comprising multiple selectable colors;
- detecting a selected color from the multiple selectable colors;
- detecting a user input as a single uninterrupted stroke drawn on the image;
- in response to the single uninterrupted stroke, determining a region of interest in the image;
- performing a graphical model inference method to recolorize the region of interest by:
- performing a comparison of luminance values of neighboring pixels;
- and
- determining a recolorization color based on the comparison;
- filling the region of interest with the recolorization color to produce a recolorized image;
- and
- causing presentation of the recolorized image on the client device.
Dependencies are inferred from the claim text.