发明名称 System and method for estimating an ambient light condition using an image sensor
摘要 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.
申请公布号 US9232150(B2) 申请公布日期 2016.01.05
申请号 US201414207150 申请日期 2014.03.12
申请人 Apple Inc. 发明人 Kleekajai Suppawan;Kalscheur Micah P.
分类号 H04N5/235;H04N5/335 主分类号 H04N5/235
代理机构 Brownstein Hyatt Farber Schreck, LLP 代理人 Brownstein Hyatt Farber Schreck, LLP
主权项 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.
地址 Cupertino CA US