1. A method of imaging a scene with a digital image sensor comprising a pixel array, comprising the steps of: performing a reset operation across one row of the pixel array; integrating pixels in said row for a first calibration time; at the end of said first calibration time, reading pixel values of said row of pixels; comparing said pixel values with one or more predetermined thresholds; and setting subsequent exposure levels for pixels in the pixel array based upon said compared pixel values.