1. One or more computer storage media embodying computer-executable components which, when executed, perform automatic white balancing, said components comprising: a sensor configuration component that when executed causes at least one processor to define a gray region for an image sensor by: accessing data including a pair of red/green and blue/green ratios corresponding to a point in any possible gray region, white-balancing the accessed data using different white points, calculating a plurality of color distances for the white-balanced data, and comparing the calculated color distances to a threshold value to define the gray region for the image sensor; and a camera component that when executed causes at least one processor to identify gray points in image data by: determining whether each point associated with the image data is within the gray region defined by the sensor configuration component, and based on the determination, identify gray points as input to an automatic white balance (AWB) algorithm, wherein the AWB algorithm white-balances the image data.