In other examples, the weight array may be used for local tone mapping. For example, a local tone mapping system may use the weighted array to identify portions of a field of view that should be brightened. This technique may deal with portions of the field of view, rather than the entire field of view as would some examples of the averaging techniques described above. In some examples, a setting (e.g., an exposure setting and/or a gain setting) may be applied to one or more portions based upon the weight array. In such examples, the weight array may be used as a guide for the local tone mapping.
In some examples, the local tone mapping may be performed on pixels that are above a predefined threshold, where the threshold corresponds to a weight of the weight array. For example, a pixel that is given a weight above the threshold may have the local tone mapping system determine an adjustment of a setting (e.g., an exposure setting and/or a gain setting) for the pixel. In some examples, the pixel and one or more neighboring pixels may be used when comparing to the threshold. For example, the pixel and the one or more neighboring pixels would have to be above the threshold for the local tone mapping to apply to the pixel and/or the one or more neighboring pixels. In some examples, local tone mapping may be supported in software and/or hardware.