Method and device for encoding/decoding images
AssigneesElectronics and Telecommunications Research Institute, University-Industry Cooperation Group of Kyung Hee University
InventorsHui Yong KIM, Sung Chang LIM, Jin Ho LEE, Jin Soo CHOI, Jin Woong KIM, Gwang Hoon PARK, Kyung Yong KIM
Life of this patent
Estimating the term…
Abstract
A method and a device for encoding/decoding images are disclosed. The method for encoding images comprises the steps of: deriving a scan type of a residual signal for a current block according to whether or not the current block is a transform skip block; and applying the scan type to the residual signal for the current block, wherein the transform skip block is a block to which transform for the current block is not applied and is specified on the basis of information indicating whether or not transform for the current block is to be applied.
Claims10
A video decoding apparatus, comprising one or more processors, the one or more processors are configured to:
- obtain first information indicating whether a residual signal is present in a current block;
- determine a transform type of the current block, based on second information indicating whether or not an inverse-transform based on discrete cosine transform (DCT) or discrete sine transform (DST) is allowed;
- acquire transform coefficients from the residual signal of the current block based on a scanning direction for the residual signal of the current block, if the first information indicates that the residual signal is present in the current block;
- perform the inverse-transform on the transform coefficients based on the determined transform type to obtain residual samples;
- and
- reconstruct the current block based on the residual samples and prediction samples,
- wherein the scanning direction is determined based on the second information.
A video encoding apparatus, comprising one or more processors, the one or more processors are configured to:
- determine whether a residual signal is present in a current block;
- generate residual samples based on prediction samples;
- determine a transform type of the current block, based on whether or not an inverse-transform based on discrete cosine transform (DCT) or discrete sine transform (DST) is allowed;
- transform the residual samples based on the transform type of the current block to generate transform coefficients;
- apply a scanning direction to the transform coefficients;
- generate a bitstream comprising the residual signal if the residual signal is present in the current block,
- wherein the scanning direction is determined based on whether or not an inverse-transform based on discrete cosine transform (DCT) or discrete sine transform (DST) is allowed.
A non-transitory computer-readable recording medium storing a bitstream which is decoded by a decoding method, the video decoding method comprising:
- obtain first information indicating whether a residual signal is present in a current block;
- determine a transform type of the current block, based on second information indicating whether or not an inverse-transform based on discrete cosine transform (DCT) or discrete sine transform (DST) is allowed;
- acquire transform coefficients from the residual signal of the current block based on a scanning direction for the residual signal of the current block, if the first information indicates that the residual signal is present in the current block;
- perform the inverse-transform on the transform coefficients based on the determined transform type to obtain residual samples;
- and
- reconstruct the current block based on the residual samples and prediction samples, wherein the scanning direction is determined based on the second information.
Dependencies are inferred from the claim text.