| CPC H04N 19/14 (2014.11) [H04N 19/105 (2014.11); H04N 19/182 (2014.11); H04N 19/1883 (2014.11)] | 20 Claims |

|
1. A blocking artifact detection method, applied to a video encoder, the method comprising:
detecting, for each coding unit in a current coding tree unit, whether the coding unit and its adjacent coding unit meet an edge detection condition, based on a sum of pixel differences between each pixel pair in two adjacent rows or two adjacent columns, wherein one pixel of the pixel pair is in the coding unit and another pixel of the pixel pair is in the adjacent coding unit;
in response to determining that a coding unit and its adjacent coding unit meet the edge detection condition, determining, based on information about the coding unit, image regions of an original image corresponding to the coding unit and the adjacent coding unit;
detecting whether the image regions meet the edge detection condition; and
determining, in response to determining that the image regions do not meet the edge detection condition, that there is a blocking artifact between the coding unit and the adjacent coding unit.
|