Patent ID: 8269868

Claim:
A data reader comprising: an image sensor including a complimentary metal oxide semiconductor (CMOS), wherein the CMOS includes a total number (M) of rows of sensor pixels; an electronic rolling shutter (ERS) for sequentially integrating each row of sensor pixels and for resetting electrical charges and reading electrical charges for each row of sensor pixels to capture decodable images of a target; a light source for generating pulses of light; and a processor operatively connected to and controlling the CMOS, the ERS, and the light source to: (1) capture a first image of the target, (2) create a light level histogram from the first image of the target, (3) determine an ambient light intensity based on the light level histogram, and (4) based on the ambient light intensity, coordinate an integration time for each row of sensor pixels with the pulses of light to capture a second image of the target.