Patent ID: 7359562

Claim:
A method for enhancing a low quality video, comprising: acquiring, for each frame j, an input video V j in of a scene under uncontrolled illumination; smoothing the input video V j in to produce a noise-reduced video S j ; determining temporal gradients G t j (x, y) for each frame j of the noise reduced video S j ; thresholding the gradients G t j (x, y) to generate a binary mask M j (x, y); computing, for each frame j, weights W j (x, y)=F(M k (x, y), k=j−c:j+c, where c is a temporal extent of frames in each direction of each frame j; determining, for each frame j, a spatial gradient field G xy j (x, y); using the weights W j (x, y) of the frame, wherein the spatial gradient field G xy j (x, y) is (V j in (x, y)−V j−1 in (x−1, y), V j in (x, y)−V j−1 in (x, y−1)), and wherein V j is a current frame and V j−1 is a previous frame of the input video, and x and y are pixel coordinates; and constructing an output video V j out from the spatial gradient field G xy j .