Method and apparatus for image decoding and encoding
An image decoding apparatus includes a unit configured to set an unreferenced region depending on whether information concerning a horizontal direction is defined, out of information indicating the unreferenced region. The image decoding apparatus further includes a unit configured to decode a flag that is to be set depending on whether a loop filter is related as information indicating the unreferenced region.
1. An image decoding apparatus decoding a plurality of layered images, comprising:
an entropy decoder that decodes an offset in a horizontal direction and an offset in a vertical direction, indicating an unreferenced region in a case that a target layer references a reference layer; and
an inter-prediction image generator that generates a prediction picture block from a reference picture, wherein
the entropy decoder selects between the unreferenced region defined only by the offset in the vertical direction and the unreferenced region defined by the offsets in the vertical direction and the horizontal direction; and
the unreferenced region defined only b the offset in the vertical direction has a rectangular shape.
2. A method for use in an image decoding apparatus to decode a plurality of layered images, the method comprising:
entropy decoding that decodes an offset in a horizontal direction and an offset in a vertical direction, indicating an unreferenced region in a case that a target layer references a reference layer; and
inter-prediction image generating that generates a prediction picture block from a reference picture, wherein
the entropy decoding comprising selecting between the unreferenced region defined only by the offset in the vertical direction and the unreferenced region defined by the offsets in the vertical direction and the horizontal direction; and
the unreferenced region defined only by the offset in the vertical direction has a rectangular shape.
3. An image encoding apparatus encoding a plurality of layered images, comprising:
an entropy encoder that encodes an offset in a horizontal direction and an offset in a vertical direction, indicating an unreferenced region in a case that a target layer references a reference layer; and
an inter-prediction image generator that generates a prediction picture block from a reference picture, wherein
the entropy encoder selects between the unreferenced region defined only by the offset in the vertical direction and the unreferenced region defined by the offsets in the vertical direction and the horizontal direction; and
the unreferenced region defined only by the offset in the vertical direction has a rectangular shape.
4. A method for use in an image encoding apparatus to encode a plurality of layered images, the method comprising:
entropy encoding that encodes an offset in a horizontal direction and an offset in a vertical direction, indicating an unreferenced region in a case that a target layer references a reference layer; and
inter-prediction image generating that generates a prediction picture block from a reference picture, wherein
the entropy encoding comprising selecting between the unreferenced region defined only by the offset in the vertical direction and the unreferenced region defined by the offsets in the vertical direction and the horizontal direction; and
the unreferenced region defined only by the offset in the vertical direction has a rectangular shape.