1. Method for generating a high dynamic range image, comprising: taking with a camera a first sequence of n images of an object with different exposures wherein the object and the camera remain static with respect to each other, wherein the sequence contains one reference image with pixel values and n−1 further images with n≧2, calculating for each pixel value of the reference image an array containing x difference values, each array corresponding to one of the n−1 further images, wherein x is the number of times the considered pixel value appears in the reference image calculating a mean difference curve for each of the n−1 further images, each mean difference curve representing a mean difference value for each pixel value and storing the mean difference values for each pixel value and for each of the n−1 further images in a look-up table.