Patent ID: 9749654
Date: 2017-08-29
CPC Classifications: H04N

Claim:
1. An image encoding and decoding apparatus for encoding an image on a per block basis and decoding an encoded image on a per block basis, the image encoding and decoding apparatus comprising: one or more processors; and storage connected to the one or more processors, wherein, when encoding the image, the one or more processors execute the steps of: wherein (i) the shifted linear combination is clipped with a first range, for the strong filter, controlled by a first clipping parameter and (ii) the shifted linear combination is clipped with a second range, for the weak filter, controlled by a second clipping parameter, the first clipping parameter and the second clipping parameter being dependent on a strength of the boundary and the first range and the second range having a different range from each other, and the first clipping parameter and the second clipping parameter are respectively determined using a quantization parameter, and when decoding the encoded image, the one or more processors execute the steps of: wherein, in the clipping, (i) the shifted linear combination is clipped within a first range controlled by a first clipping parameter when the strong filter is to be applied and (ii) the shifted linear combination is clipped within a second range controlled by a second clipping parameter, the first clipping parameter and the second clipping parameter being dependent on a strength of the boundary and the first range and the second range having a different range from each other, and the first clipping parameter and the second clipping parameter are respectively determined using a quantization parameter.