System and Method for Estimating an Ambient Light Condition Using an Image Sensor
First Claim
1. A computer-implemented method of calculating an ambient light estimate using an image sensor in a camera of a device, the method comprising:
- obtaining an array of pixels using the image sensor;
defining a matrix of grid elements, each grid element comprised of multiple adjacent pixels of the array of pixels;
generating a first measurement value for a grid element of the matrix of grid elements based on the pixels associated with a respective grid element;
identifying a set of grid elements having a first measurement value that satisfies a brightness criteria;
calculating a weighted measurement value using the identified set of grid elements; and
calculating the ambient light estimate based on the weighted measurement value and the first measurement value.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for calculating an ambient light estimate using an image sensor in a camera of a device. An array of pixels is obtained using the image sensor. A matrix of grid elements is defined. Each grid element is comprised of multiple adjacent pixels of the array of pixels. A first measurement value is generated for a grid element of the matrix of grid elements based on the pixels associated with a respective grid element. A set of grid elements are identified having a first measurement value that satisfies a brightness criteria. A weighted measurement value is calculated using the identified set of grid elements. The ambient light estimate is calculated based on the weighted measurement value and the first measurement value.
26 Citations
20 Claims
-
1. A computer-implemented method of calculating an ambient light estimate using an image sensor in a camera of a device, the method comprising:
-
obtaining an array of pixels using the image sensor; defining a matrix of grid elements, each grid element comprised of multiple adjacent pixels of the array of pixels; generating a first measurement value for a grid element of the matrix of grid elements based on the pixels associated with a respective grid element; identifying a set of grid elements having a first measurement value that satisfies a brightness criteria; calculating a weighted measurement value using the identified set of grid elements; and calculating the ambient light estimate based on the weighted measurement value and the first measurement value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A portable electronic device configured to calculate an ambient light estimate, the portable electronic device comprising:
-
a digital camera having an image sensor, wherein the image sensor is formed from an array of sensor cells; a computer processor for executing computer-readable instructions; a computer memory for storing the computer-readable instructions, the instructions for; obtaining an array of pixels using the image sensor; defining a matrix of grid elements, each grid element comprised of multiple adjacent pixels of the array of pixels; generating a first measurement value for a grid element of the matrix of grid elements based on the pixels associated with a respective grid element; identifying a set of grid elements having a first measurement value that satisfies a brightness criteria; calculating a weighted measurement value using the identified set of grid elements; and calculating the ambient light estimate based on the weighted measurement value and the first measurement value. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification