×

System and method for estimating an ambient light condition using an image sensor

  • US 9,232,150 B2
  • Filed: 03/12/2014
  • Issued: 01/05/2016
  • Est. Priority Date: 03/12/2014
  • Status: Active Grant
First Claim
Patent Images

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 a digital image using the image sensor operating in at least one of;

    a light-sensor mode, a camera mode;

    storing the digital image in a computer memory storage element;

    obtaining an array of pixels from the digital image;

    defining a matrix of grid elements, each grid element comprised of multiple adjacent pixels of the array of pixels;

    generating a set of measurement values for the matrix of grid elements based on the pixels associated with a respective grid element;

    calculating a mean intensity value using the set of measurement values;

    defining a threshold based on a multiple of a standard deviation from the mean intensity value;

    identifying a set of grid elements having a first measurement value that satisfies a brightness criteria defined at least in part by the threshold;

    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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×