1. A method, comprising: determining a histogram of the number of image sensor area elements of an image sensor that receive light at specific light reception rates from an image target; and determining at least one exposure time for capture of said image target based on said histogram and on at least one cost function, of a plurality of cost functions, that expresses a performance of said image sensor as a function of light reception rate per image sensor area element and exposure time, where said cost function is selected: by multiplying, for each cost function in said plurality of cost function, and for a range of light reception rates, the respectively associated histogram value and the respectively associated value of said cost function and summing up the resulting multiplication products to obtain a sum value; by comparing said sum values of all of said cost functions in said plurality of cost functions to identify the largest sum value, and by selecting the cost function that produced said largest sum value.