To effective increase the dynamic range of a pixel array, a plurality of
brightness groups is set. The pixels of a pixel array are then
distributed among the groups according with their likely brightness. Each
image frame is scanned in the order of brightness, with the pixels in the
group likely to be the brightest being scanned first and the pixels in
the group likely to be the darkest being scanned last. The brightness
groups are adjusted at the boundary of the frame scan.