Image decoding device and image decoding method deriving filtering strength parameter
When removing a block distortion occurring in a local decoded image, a loop filtering part 11 of an image coding device carries out a filtering process on each of signal components (a luminance signal component and color difference signal components) after setting the intensity of a filter for removing the block distortion for each of the signal components according to a coding mode (an intra coding mode or an inter coding mode) selected by a coding controlling part 1.
1. An image decoding device that carries out a decoding process on a coded data obtained by performing a block based coding process on an image, the image decoding device comprising:
a coded data decoder to decode the coded data to acquire compressed data of a difference image associated with each of coding blocks and an offset;
a distortion remover to carry out a filtering process on a decoded image obtained by adding a prediction image to the difference image, and to remove a block distortion at a boundary between adjacent transform blocks of the decoded image, the transform block being for transforming the difference image and corresponding to the coding block hierarchically divided from a maximum size of a coding block; and
a memory to store decoded pixel values for outputting the decoded image on which the filtering process has been carried out,
wherein the distortion remover determines whether a vertical edge or a horizontal edge of the coding block expressed by K*K pixel grid overlaps the boundary, and derives, in a case that the vertical edge or the horizontal edge overlaps the boundary, a value of a parameter of the coding block specifying filtering strength as a default value for the offset according to a set of conditions including a reference picture or a motion parameter in a partition including a pixel to which the filtering process is to be applied, wherein the offset is added to the value of the parameter in a process of selecting from different filtering processes.
2. An image decoding method that carries out a decoding process on a coded data obtained by performing a block based coding process on an image, the image decoding method comprising:
decoding the coded data to acquire compressed data of a difference image associated with each of coding blocks and an offset;
carrying out a filtering process on a decoded image obtained by adding a prediction image to the difference image, and removing a block distortion at a boundary between adjacent transform blocks of the decoded image, the transform block being for transforming the difference image and corresponding to the coding block hierarchically divided from a maximum size of a coding block; and
storing decoded pixel values for outputting the decoded image on which the filtering process has been carried out,
wherein the filtering process determines whether a vertical edge or a horizontal edge of the coding block expressed by K*K pixel grid overlaps the boundary, and derives, in a case that the vertical edge or the horizontal edge overlaps the boundary, a value of a parameter of the coding block specifying filtering strength as a default value for the offset according to a set of conditions including a reference picture or a motion parameter in a partition including a pixel to which the filtering process is to be applied, wherein the offset is added to the value of the parameter in a process of selecting from different filtering processes.