摘要 |
Blocking artifacts at a block boundary (1) between a block (10) and a neighboring block (20) in a video frame are reduced by calculating an offset based on pixel values of pixels (11, 13) in a line (12) of pixels (11, 13, 15, 17) in the block (10) and based on pixel values of pixels (21, 23) in a corresponding line (22) of pixels (21, 23, 25, 27) in the neighboring block (20). The offset is added to the pixel value of the pixel (11) closest to the block boundary (1) in the line (12) of pixels (11, 13, 15, 17) and is subtracted from the pixel value of the pixel (21) closest to the block boundary (1) in the corresponding line (22) of pixels (21, 23, 25, 27). The resulting deblocking filter has good low-pass characteristics and is efficient for reducing blocking artifact. |