Rendering glasses shadows
First Claim
1. A system, comprising:
- a processor; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to;
generate a face image corresponding to an image of a set of images based at least in part on a face model, wherein the set of images is associated with a user'"'"'s face, wherein the generating of the face image corresponding to the image of the set of images comprises to transform the face model using a set of extrinsic information corresponding to the image;
generate a face with shadows image corresponding to the image based at least in part on shadows casted by a glasses model on the face model;
generate a shadow transform based at least in part on a difference determined based at least in part on the face image and the face with shadows image, comprises to;
generate a difference image by subtracting the face image from the face with shadows image;
invert colors associated with the difference image to obtain an inverted difference image; and
determine the inverted difference image as the shadow transform;
generate a shadowed image based at least in part on applying the shadow transform to the image; and
present the shadowed image including by overlaying a glasses image associated with the glasses model over the shadowed image.
2 Assignments
0 Petitions
Accused Products
Abstract
Rendering glasses with shadows is disclosed, including: generating a face image corresponding to an image of a set of images based at least in part on a face model, wherein the set of images is associated with a user'"'"'s face; generating a face with shadows image corresponding to the image based at least in part on shadows casted by a glasses model on the face model; generating a shadow transform based at least in part on a difference determined based at least in part on the face image and the face with shadows image; generating a shadowed image based at least in part on applying the shadow transform to the image; and presenting the shadowed image including by overlaying a glasses image associated with the glasses model over the shadowed image.
-
Citations
16 Claims
-
1. A system, comprising:
-
a processor; and a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to; generate a face image corresponding to an image of a set of images based at least in part on a face model, wherein the set of images is associated with a user'"'"'s face, wherein the generating of the face image corresponding to the image of the set of images comprises to transform the face model using a set of extrinsic information corresponding to the image; generate a face with shadows image corresponding to the image based at least in part on shadows casted by a glasses model on the face model; generate a shadow transform based at least in part on a difference determined based at least in part on the face image and the face with shadows image, comprises to; generate a difference image by subtracting the face image from the face with shadows image; invert colors associated with the difference image to obtain an inverted difference image; and determine the inverted difference image as the shadow transform; generate a shadowed image based at least in part on applying the shadow transform to the image; and present the shadowed image including by overlaying a glasses image associated with the glasses model over the shadowed image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method, comprising:
-
generating a face image corresponding to an image of a set of images based at least in part on a face model, wherein the set of images is associated with a user'"'"'s face, wherein the generating of the face image corresponding to the image of the set of images comprises transforming the face model using a set of extrinsic information corresponding to the image; generating a face with shadows image corresponding to the image based at least in part on shadows casted by a glasses model on the face model; generating, using a processor, a shadow transform based at least in part on a difference determined based at least in part on the face image and the face with shadows image, comprising; generating a difference image by subtracting the face image from the face with shadows image; inverting colors associated with the difference image to obtain an inverted difference image; and determining the inverted difference image as the shadow transform; generating a shadowed image based at least in part on applying the shadow transform to the image; and presenting the shadowed image including by overlaying a glasses image associated with the glasses model over the shadowed image. - View Dependent Claims (13, 14, 15)
-
-
16. A computer program product, the computer program product being embodied in a non-transitory computer-readable storage medium and comprising computer instructions for:
-
generating a face image corresponding to an image of a set of images based at least in part on a face model, wherein the set of images is associated with a user'"'"'s face, wherein the generating of the face image corresponding to the image of the set of images comprises transforming the face model using a set of extrinsic information corresponding to the image; generating a face with shadows image corresponding to the image based at least in part on shadows casted by a glasses model on the face model; generating a shadow transform based at least in part on a difference determined based at least in part on the face image and the face with shadows image, comprising; generating a difference image by subtracting the face image from the face with shadows image; inverting colors associated with the difference image to obtain an inverted difference image; and determining the inverted difference image as the shadow transform; generating a shadowed image based at least in part on applying the shadow transform to the image; and presenting the shadowed image including by overlaying a glasses image associated with the glasses model over the shadowed image.
-
Specification