CPC H04N 19/66 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/80 (2014.11); G06T 5/002 (2013.01); G06T 5/005 (2013.01); G06T 2207/20182 (2013.01)] | 20 Claims |
1. A method for video processing, comprising:
determining, by a processor, a frame interval for a current block in a current frame within a sequence of frames, the frame interval indicating a group of frames with collocated blocks of the current block that satisfy an error metric requirement comparing to the current block, a number of frames in the frame interval being determined based on a direct error threshold, a cumulative error threshold, and differences between the collocated blocks in the group of frames and the current block, the collocated block of each of the group of frames in the sequence of frames having a same location in the respective frame as the current block in the current frame;
determining, by the processor, a replacement block based on the collocated blocks in the group of frames; and
replacing, by the processor, the current block in the current frame with the replacement block,
wherein an error corresponding to the difference between each of the collocated blocks and the current block is less than the direct error threshold, and a sum of the errors corresponding to the differences between the collocated blocks and the current block is less than the cumulative error threshold.
|