Colorization of vector images
AssigneeAdobe Inc.
InventorsVineet Batra, Mridul Kavidayal, Harish Kumar, Ankit Phogat
Life of this patent
Estimating the term…
Abstract
Systems and techniques are described for colorizing vector images. Color raster images that correspond to the vector images are used to perform a color mapping to colorize the vector images. The vector images are represented using non-overlapping planar arrangements of faces of the vector images, so that the color mapping may be performed with respect to the faces. The faces may be processed in parallel, to further facilitate a speed and scalability of the describes processes and results.
Claims20
A computer program product, the computer program product being tangibly embodied on a non-transitory computer-readable storage medium and comprising instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to:
- receive a vector image, the vector image corresponding to a raster image that includes colored pixels;
- generate face pixels of a face within a planar map of the vector image, the face having a depth value within the vector image;
- obtain color values for the face pixels, including mapping the face pixels to corresponding colored pixels of the colored pixels of the raster image, based on the depth value;
- and
- assign a color derived from the color values to the face, to obtain a colorized vector image.
A computer-implemented method, the method comprising:
- receiving a vector image, the vector image corresponding to a raster image that includes colored pixels;
- generating face pixels of a face within a planar map of the vector image, the face having a depth value within the vector image;
- obtaining color values for the face pixels, including mapping the face pixels to corresponding colored pixels of the colored pixels of the raster image, based on the depth value;
- and
- assigning a color derived from the color values to the face, to obtain a colorized vector image.
A computer program product, the computer program product being tangibly embodied on a non-transitory computer-readable storage medium and comprising instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to:
- receive a vector image, the vector image including geometric paths;
- colorize a raster image, using a neural network, to obtain a colorized raster image;
- construct a depth mask for a planar map of the vector image, in which a first face and a second face of the planar map are defined with respect to an overlapping portion of at least two of the geometric paths;
- rasterize the first face to obtain first face pixels, the first face pixels having a first depth value within the depth mask;
- map corresponding pixels of the colorized rasterized image to the first face pixels, to obtain first color values for the first face pixels;
- assign a first color, derived from the first color values, to the first face;
- map corresponding pixels of the colorized rasterized image to the second face, to obtain second color values for second face pixels of the second face;
- and
- assign a second color, derived from the second color values, to the second face.
Dependencies are inferred from the claim text.