CPC H04N 23/73 (2023.01) [G06T 5/40 (2013.01); H04N 23/55 (2023.01)] | 19 Claims |
1. A method for an image acquisition system, the image acquisition system including an image sensor, and an auto-exposure module operatively connected to the image sensor to control the exposure of images acquired by the image sensor, the method comprising:
determining, by the auto exposure module, a first set of exposure parameters to acquire at least one first image;
acquiring the at least one first image using said first set of exposure parameters;
determining a target image histogram;
calculating at least one image histogram based on intensity values of the pixels of the at least one first image;
determining an integral of the or each image histogram and of the target image histogram for a range of pixel intensity values;
calculating a transfer curve for transforming the integral of the or each image histogram to match the integral of the target image histogram;
calculating a slope of a line fitting at least a portion of the transfer curve;
determining a correction factor based on the calculated slope;
adjusting said first set of exposure parameters according to said correction factor; and
acquiring at least one second image using the adjusted first set of exposure parameters.
|