Method for detecting and correcting image errors caused by flickering light information (1, 2) in images (S i, VS i) generated by an image sensor, the image sensor being integrated into a motor vehicle and the method being carried out by an image processing unit integrated into the motor vehicle, having the following steps - reading in of an exposure series which is a component of an exposure series sequence generated by the image sensor, the exposure series sequence comprising a sequence of exposure series and the sequence of exposure series showing temporally successive scenes containing flickering light information (1, 2), and wherein the exposure series comprises at least one reference image (L i) and at least one comparison image (S i, VS i), wherein the images of the exposure series show the same scene and the exposure time of the reference image (L i) is longer than the exposure time of the comparison image (S i, VS i), - determining local deviations of the image data of the comparison image (S i, VS i) from the image data of the reference image (L i) by locally comparing the image data of the comparison image (S i, VS i) with the image data of the reference image, - generating an error mask (E(S i), E(VS i)) as a function of the determined local deviations of the image data, the error mask (E(S i), E(VS i)) indicating the error positions of image errors within the comparison image (S i, VS i), - determining local correction values for the image data of the comparison image (S i, VS i), each local correction value being associated with a correction position within the comparison image (S i, VS i), and in order to determine the local correction values for the image data of the comparison image (S i, VS i), an estimate is applied which is based on the image data of a comparison image time series (S' i-N,..., S' i) stored in a data memory (12, 121, 122), wherein the comparison image time series (S' i-N,..., S' i) comprises a number of stored images (S' i-N,..., S' i-1) which were generated by the image sensor with the same exposure time as the comparison image (S i) at different times than the comparison image (S i), and - generating of a corrected comparison image (S i,cor, VS i,cor) by inserting the local correction values at the error positions of the comparison image (S i, VS i) indicated by the error mask (E(S i), E(VS i)), wherein said method steps are repeated and said method is applied to a plurality of exposure series of said exposure series sequence or to each exposure series of said exposure series sequence to produce a corrected exposure series sequence comprising the corrected comparison images (S i,cor, VS i,cor). - reading in of an exposure series which is a component of an exposure series sequence generated by the image sensor, the exposure series sequence comprising a sequence of exposure series and the sequence of exposure series showing temporally successive scenes containing flickering light information (1, 2), and wherein the exposure series comprises at least one reference image (L i) and at least one comparison image (S i, VS i), wherein the images of the exposure series show the same scene and the exposure time of the reference image (L i) is longer than the exposure time of the comparison image (S i, VS i), - determining local deviations of the image data of the comparison image (S i, VS i) from the image data of the reference image (L i) by locally comparing the image data of the comparison image (S i, VS i) with the image data of the reference image, - generating an error mask (E(S i), E(VS i)) as a function of the determined local deviations of the image data, the error mask (E(S i), E(VS i)) indicating the error positions of image errors within the comparison image (S i, VS i), - determining local correction values for the image data of the comparison image (S i, VS i), each local correction value being associated with a correction position within the comparison image (S i, VS i), and in order to determine the local correction values for the image data of the comparison image (S i, VS i), an estimate is applied which is based on the image data of a comparison image time series (S' i-N,..., S' i) stored in a data memory (12, 121, 122), wherein the comparison image time series (S' i-N,..., S' i) comprises a number of stored images (S' i-N,..., S' i-1) which were generated by the image sensor with the same exposure time as the comparison image (S i) at different times than the comparison image (S i), and - generating of a corrected comparison image (S i,cor, VS i,cor) by inserting the local correction values at the error positions of the comparison image (S i, VS i) indicated by the error mask (E(S i), E(VS i)),