Realistic image lighting and shading
First Claim
Patent Images
1. A computer-implemented method of displaying an image on an electronic device, comprising:
- under control of one or more computing systems configured with executable instructions,determining a position of a shadow region corresponding to a shadow cast from at least one of a first occlusion and a second occlusion on a sensor, the first and second occlusions being at different known positions on the electronic device, a majority of the first occlusion being positioned substantially near a first edge of the sensor, a majority of the second occlusion being positioned substantially near a second edge of the sensor that is different than the first edge, the first occlusion comprising a first shape, the second occlusion comprising a second shape, the first shape being a different shape than the second shape;
based at least in part upon the determined position of the shadow region, determining light source information, the determined light source information including at least a projection direction of a light source relative to the electronic device;
rendering the image based at least in part on the determined light source information, the rendering including at least one of a lighting process, a shading process and a glint process; and
providing the image for display on the electronic device.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device can utilize one or more sensors and/or imaging elements to determine the relative position of at least one light source relative to the device. In various embodiments, occlusions can be used to cause shadows to be cast on certain sensors. By determining the relative position of each occlusion relative to the sensor, the device can determine an approximate direction of the light source. Utilizing the relative position of a light source, the electronic device can properly light or shade a graphical object to be rendered by the device or otherwise process image information captured by the device.
63 Citations
23 Claims
-
1. A computer-implemented method of displaying an image on an electronic device, comprising:
under control of one or more computing systems configured with executable instructions, determining a position of a shadow region corresponding to a shadow cast from at least one of a first occlusion and a second occlusion on a sensor, the first and second occlusions being at different known positions on the electronic device, a majority of the first occlusion being positioned substantially near a first edge of the sensor, a majority of the second occlusion being positioned substantially near a second edge of the sensor that is different than the first edge, the first occlusion comprising a first shape, the second occlusion comprising a second shape, the first shape being a different shape than the second shape; based at least in part upon the determined position of the shadow region, determining light source information, the determined light source information including at least a projection direction of a light source relative to the electronic device; rendering the image based at least in part on the determined light source information, the rendering including at least one of a lighting process, a shading process and a glint process; and providing the image for display on the electronic device. - View Dependent Claims (2, 3, 4, 5)
-
6. A computer-implemented method of providing content for display on an electronic device, comprising:
under control of one or more computing systems configured with executable instructions, capturing light information using a sensor of the electronic device; analyzing the captured light information to determine a position of a shadow cast on the sensor, the shadow cast on the sensor by at least one of a first occluding element and a second occluding element positioned at different known locations with respect to the sensor, the first occlusion being positioned substantially near a first edge of the sensor, the second occluding element being positioned substantially near a second edge of the sensor that is different than the first edge, the first occlusion comprising a first shape, the second occlusion comprising a second shape that is different than the first shape; based at least in part upon the determined position of the shadow, determining a projection direction of a light source relative to the electronic device; and rendering content for display on the electronic device based at least in part on the determined projection direction of the light source. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
15. An electronic device, comprising:
-
a processor; a display; a sensor; and memory including instructions that, when executed by the processor, cause the electronic device to; capture light information using the sensor of the electronic device; analyze the captured light information to determine a position of a shadow on the sensor, the shadow caused by at least one of a first occluding element and a second occluding element, the first occlusion being positioned substantially near a first edge of the sensor, the second occluding element being positioned substantially near a second edge of the sensor that is different than the first edge, the first occlusion comprising a first shape, the second occlusion comprising a second shape that is different than the first shape; based at least in part upon the determined position of the shadow, determine a projection direction of a light source relative to the electronic device; and render graphical information to be displayed on the display of the electronic device, including shadow information, based at least in part on the determined projection direction of the light source relative to the electronic device. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A non-transitory computer-readable storage medium including instructions that, when executed by a processor, cause the processor to:
-
capture light information using a sensor; analyze the captured light information to determine a position of a shadow on the sensor, the shadow cast on the sensor by at least one of a first occluding element and a second occluding element, the first occlusion being positioned substantially near a first edge of the sensor, the second occluding element being positioned substantially near a second edge of the sensor that is different than the first edge, the first occlusion comprising a first shape, the second occlusion comprising a second shape that is different than the first shape; based at least in part upon the determined position of the shadow, determine a projection direction of a light source relative to the sensor; and render graphical information to be displayed, based at least in part on the determined projection direction of the light source relative to the sensor, the graphical information including at least one of lighting information, shading information and glint information. - View Dependent Claims (21, 22, 23)
-
Specification