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, wherein the sub-histogram generation circuitry comprises: input gate circuitry configured to receive the pixel values from the array of image sensor pixels; and bin identification decoder circuitry, wherein the bin identification decoder circuitry is configured to provide a sub-histogram bin identification signal to the input gate circuitry; and histogram accumulation circuitry configured to generate an accumulated histogram of pixel values by combining the generated plurality of sub-histograms.