CPC H04N 19/117 (2014.11) [H04N 19/14 (2014.11); H04N 19/169 (2014.11); H04N 19/176 (2014.11); H04N 19/61 (2014.11); H04N 19/80 (2014.11); H04N 19/86 (2014.11)] | 8 Claims |
1. An image processing device, comprising:
a central processing unit (CPU) configured to:
determine whether to apply a deblocking filter to a plurality of neighboring pixels that neighbors a block boundary within a locally decoded image, wherein
the determination is based on:
a first set of pixel values, of a plurality of pixels of the plurality of neighboring pixels, within a top line perpendicular to the block boundary, and
a second set of pixel values, of the plurality of pixels of the plurality of neighboring pixels, within an end line perpendicular to the block boundary;
calculate, based on the determination to apply the deblocking filter, a difference between the first set of pixel values within the top line and the second set of pixel values within the end line;
apply, based on the calculated difference, the deblocking filter to the plurality of neighboring pixels to generate a filtered image; and
encode an image based on the filtered image.
|