1. An electronic device, comprising: a group of image sensor pixels; sub-histogram generation circuitry configured to generate a plurality of sub-histograms of pixel values, wherein each sub-histogram comprises pixel values generated by a respective subset of the image sensor pixels in the group of image sensor pixels; and histogram accumulation circuitry configured to generate an accumulated histogram of pixel values by combining the generated plurality of sub-histograms.