摘要 |
A method and apparatus for processing a compressed video signal to remove blocking artefacts includes decompressing the video signal to provide a raw decoded signal a and a quantisation parameter QP. Mean, maximum and minimum values of samples of pixels surrounding a pixel of concern C are determined. The mean, maximum and minimum values, the quantization parameter and a random number A are entered into a logic circuit 3 to determine whether a dither signal is applied to the value of the pixel of concern, such that the dither signal is applied only in areas of low spatial detail, as indicated by a difference of the maximum and minimum values being less than a first predetermined threshold, and where the quantization parameter is higher than a second predetermined threshold value. The video signal may comprise chrominance and two luminance components and the dither signal may be applied to each component. |