CPC H04N 19/117 (2014.11) [H04N 19/136 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/82 (2014.11); H04N 19/86 (2014.11)] | 14 Claims |
1. An image decoding method, by a decoding apparatus, the method comprising:
generating a reconstructed picture based on picture information obtained from a received bitstream; and
applying a deblocking filtering process and a sample adaptive offset (SAO) process on the reconstructed picture, wherein the SAO process is applied after completing the deblocking filtering process,
wherein applying the deblocking filtering process includes:
deriving a target boundary of a deblocking filtering unit block which is a unit block for which deblocking filtering is performed in the reconstructed picture;
setting a boundary strength (bS) of the target boundary in the reconstructed picture; and
applying deblocking filtering on the target boundary based on the bS,
wherein the bS is set to one of three values including 0, 1 and 2,
wherein the bS is set to 2 for a first case when at least one of two blocks which are adjacent the target boundary is coded with intra prediction mode, otherwise the bS is set to 1 for a second case when at least one of the two blocks includes a transform coefficient other than 0, otherwise the bS is set to 1 for a third case when the two blocks have different reference pictures or different motion vectors,
wherein the deblocking filtering unit block is an 8×8 pixel block,
wherein the target boundary for which the bS is set has 4 pixel length, and
wherein the applying deblocking filtering comprises:
determining whether the deblocking filtering is not to be applied on the target boundary when the set bS value is greater than 0 based on specific samples neighboring the target boundary and located in specific sample rows or columns, and
applying a strong filtering or a weak filtering on the target boundary when the deblocking filtering is determined to be applied on the target boundary.
|