A method performed by a processing system is provided. The method
comprises detecting an artifact in a first frame of a digital video using
a plurality of edges identified in the first frame and replacing a region
that encompasses the artifact in the first frame with a corresponding
region from a second frame.