Method and apparatus for encoding/decoding residual data based on a plurality of transformations
AssigneeKt Corporation
InventorBae Keun Lee
Life of this patent
Estimating the term…
Abstract
An image decoding method according to the present invention can comprise the steps of: acquiring residual coefficients of a current block; dequantizing the residual coefficients; performing secondary inverse transformation on the dequantized residual coefficients; and performing primary inverse transformation on the performance result of the secondary inverse transformation. The secondary inverse transformation can be performed for a partial region of the current block.
Claims7
A method of decoding an image, comprising:
- determining a horizontal transform type and a vertical transform type of a current block from a transform set including two transform type candidates;
- and
- performing an inverse-transform on the current block based on the horizontal transform type and the vertical transform type,
- wherein the horizontal transform type is determined based on whether a width of the current block is in a predefined range,
- wherein the vertical transform type is determined based on whether a height of the current block is in the predefined range,
- wherein when the current block has a square shape, in which the width and the height are the same, the horizontal transform type and the vertical transform type are mutually the same, and
- wherein when the current block has a non-square shape, in which the width is in the predefined range while the height is not in the predefined range, the horizontal transform type and the vertical transform type are different from each other.
A method of encoding an image, comprising:
- determining a horizontal transform type and a vertical transform type of a current block from a transform set including two transform type candidates;
- and
- performing a transform on the current block based on the horizontal transform type and the vertical transform type,
- wherein the horizontal transform type is determined based on whether a width of the current block is in a predefined range,
- wherein the vertical transform type is determined based on whether a height of the current block is in the predefined range,
- wherein when the current block has a square shape, in which the width and the height are the same, the horizontal transform type and the vertical transform type are mutually the same, and
- wherein when the current block has a non-square shape, in which the width is in the predefined range while the height is not in the predefined range, the horizontal transform type and the vertical transform type are different from each other.
A method for transmitting a bitstream generated by an encoding method, the encoding method comprising:
- determining a transform set of a current block in the image among a plurality of transform sets, each of the plurality of transform sets including one or more transform type candidates available for the current block, the transform set of the current block being determined based on index information encoded for the current block;
- determining a horizontal transform type and a vertical transform type of a current block from a transform set including two transform type candidates;
- and
- performing a transform on the current block based on the horizontal transform type and the vertical transform type to generate the bitstream,
- wherein the horizontal transform type is determined based on whether a width of the current block is in a predefined range,
- wherein the vertical transform type is determined based on whether a height of the current block is in the predefined range,
- wherein when the current block has a square shape, in which the width and the height are the same, the horizontal transform type and the vertical transform type are mutually the same, and
- wherein when the current block has a non-square shape, in which the width is in the predefined range while the height is not in the predefined range, the horizontal transform type and the vertical transform type are different from each other.
Dependencies are inferred from the claim text.