1. A method of correcting defects in digital images, comprising: using a processor; acquiring a set of images with a device including a lens and an image sensor; computing a gray-scale version of a current image, of the set of images, including designating one or more defect-object regions and designating non-object regions to approximately cover all of the current image; computing a difference image based on differences between the gray-scale version and a version of the current image; computing a current binary map that results after thresholding the difference image; generating a gray map based, at least in part, on the current binary map; updating the gray map based, at least in part, on subsequent binary maps computed for subsequent images of the set of images; based on the gray map, generating a final binary map having an area threshold value; and determining whether to eliminate a defect-object region, from the one or more defect-object regions within the digital image, based on the final binary map.