1. A method for correcting defective pixels ( 19 ) of an image sensor ( 17 ), the image sensor having a plurality of pixels ( 19 ) for generating respective exposure dependent pixel signals, wherein a defect characteristic for each pixel ( 19 ) is associated with the image sensor ( 17 ) and comprises information on at least whether the pixel ( 19 ) is unusable, can be used without limitations or corresponds to one of a plurality of predefined defect classes, wherein the method comprises the steps of: making a determination of whether the generated pixel signal of the pixel ( 19 ) should be corrected, the step being carried out after the generation of the pixel signals for each pixel ( 19 ) in dependence on at least the associated defect class of the pixel ( 19 ) and on pixel signals of a plurality of adjacent pixels ( 19 ), the step being carried out at least then when the defect characteristic of the pixel ( 19 ) does not correspond to an unusable pixel ( 19 ) or to a pixel ( 19 ) which can be used without limitations, replacing the generated pixel signal of the pixel ( 19 ) with a replacement value if the generated pixel signal of the pixel ( 19 ) should be corrected.