A method for removing flicker in a sequence of images, wherein each image
in the sequence of images includes a plurality of pixels. The method
includes providing a sequence of images including a source image and a
target image, defining a plurality of regions of interest in the source
image and a plurality of spatially counterpart regions of interest in the
target image, measuring an image quality for all of the pixels in each of
the regions of interest in the source image, measuring an image quality
for all of the pixels in each of the spatially counterpart regions of
interest in the target image, and generating a corrected source image on
a region of interest basis depending on the image quality for the pixels
in each of the plurality of regions of interest in the source image and
the spatially counterpart regions of interest in the target image.