| CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11); H04N 19/196 (2014.11); H04N 19/85 (2014.11)] | 20 Claims |

|
1. An image decoding method, comprising:
performing classification on a classification unit of a target image; and
performing filtering that uses a filter on the classification unit,
wherein a classification index of the classification unit is determined using residual samples of a neighboring unit of the classification unit and partitioning information for the classification unit,
wherein a filter tap and a filter shape of the filtering are selected from a plurality of different filter taps and different filter shapes using the residual samples of the neighboring unit of the classification unit and the partitioning information for the classification unit,
wherein the classification index indicates the filter to be used for the filtering on the classification unit among a plurality of filters,
wherein whether to use a fixed filter for the classification index of the classification unit is determined using filter information, and
wherein the filter information is used to determine the number of the plurality of filters and an index for the fixed filter in a case that the fixed filter is used for the classification index of the classification unit.
|