Patent ID: 7053954

Claim:
A method for regulating the exposure time of a light sensor, said method comprising the steps of: a) setting the exposure time of the sensor to a value selected in a first range of values defined between a minimum value and a maximum value and comprising M prefixed values; b) acquiring an image of an object onto the sensor, said image comprising a plurality of pixels; c) analyzing the acquired image for the level of luminosity of said image; d) comparing the level of luminosity with a previously fixed higher global threshold level representative of a condition of overexposure of the image; e) independently of the result of the comparison of step d), performing a certain number of iterations wherein in each iteration the value of the exposure time of the sensor is varied and the previous steps are repeated until an optimum value of the exposure time is found, said optimum value of the exposure time being the highest value among those set values of the exposure time which are such that the corresponding acquired image presents a level of luminosity smaller than the global threshold level.