CPC H04N 19/117 (2014.11) [H04N 19/119 (2014.11); H04N 19/14 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/186 (2014.11); H04N 19/86 (2014.11); H04N 19/96 (2014.11)] | 7 Claims |
1. A method for decoding an image by a decoding apparatus, comprising:
deriving boundaries of a luma block and a chroma block in a current picture divided according to a partitioning structure;
determining an edge to apply a de-blocking filter among the boundaries of the luma block and the chroma block;
determining a type of the de-blocking filter for the determined edge of the luma block based on width or height of the luma block;
determining a type of the de-blocking filter for the determined edge of the chroma block based on the chroma block being an intra prediction block; and
applying the de-blocking filter the type of which is determined on reconstructed samples around the determined edge, and
wherein, based on that the type of the edge is a vertical edge, and the width of the luma block is less than or equal to 4, the type of the de-blocking filter for the luma block is determined as a weak filter,
wherein, based on that the type of the edge is a horizontal edge, and the height of the luma block is less than or equal to 4, the type of the de-blocking filter for the luma block is determined as the weak filter, and
wherein the types of the de-blocking filter for the luma block and the chroma block are determined based on reconstructed samples of the current picture before the de-blocking filter is applied.
|