# US 2022/0295066 A1 · Method and device for encoding/decoding images

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0295066 A1
- Document ID: US20220295066A1
- Status: Published application
- Kind: A1
- Application number: 17/828,745
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2012-06-29
- Assignees: Electronics and Telecommunications Research Institute; University-Industry Cooperation Group of Kyung Hee University
- Applicants: Electronics and Telecommunications Research Institute; University-Industry Cooperation Group of Kyung Hee University
- Inventors: Hui Yong KIM; Sung Chang LIM; Jin Ho LEE; Jin Soo CHOI; Jin Woong KIM; Gwang Hoon PARK; Kyung Yong KIM
- Web page: https://patentgrep.com/patent/US20220295066A1

## CPC

- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- H04N 19/124: Quantisation
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## 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.

## Claims

### Claim 1

A video decoding method comprising:
obtaining first information indicating whether a residual signal is present in a current block, the current block including one or more transform coefficient levels other than 0 when the first information indicates that the residual signal is present in the current block;
when the first information indicates that the residual signal is present in the current block, obtaining the residual signal of the current block;
obtaining second information indicating whether an inverse-transform is performed on the residual signal of the current block;
determining a transform type of the current block when the second information indicates that the inverse-transform is performed on the current block;
obtaining residual samples of the current block by performing the inverse-transform on the residual signal of the current block based on the determined transform type;
obtaining prediction samples of the current block based on an intra prediction mode of the current block;
reconstructing the current block based on the residual samples and the prediction samples; and
applying a filter to the reconstructed samples of the current block,
wherein the filter includes at least one of a deblocking filter or a SAO (Sample Adaptive Offset) filter,
wherein the transform type is determined to be a DCT (Discrete Cosine Transform) or a DST (Discrete Sine Transform),
wherein the transform type is determined independently to the intra prediction mode of the current block, and
wherein the transform type is determined based on a size of the current block.

### Claim 2

A video encoding method comprising:
obtaining first information indicating whether a residual signal is present in a current block, the current block including one or more transform coefficient levels other than 0 when the first information indicates that the residual signal is present in the current block;
when the first information indicates that the residual signal is present in the current block, obtaining the residual signal of the current block;
obtaining second information indicating whether an inverse-transform is performed on the residual signal of the current block;
determining a transform type of the current block when the second information indicates that the inverse-transform is performed on the current block;
obtaining residual samples of the current block by performing the inverse-transform on the residual signal of the current block based on the determined transform type;
obtaining prediction samples of the current block based on an intra prediction mode of the current block;
reconstructing the current block based on the residual samples and the prediction samples; and
applying a filter to the reconstructed samples of the current block,
wherein the filter includes at least one of a deblocking filter or a SAO (Sample Adaptive Offset) filter,
wherein the transform type is determined to be a DCT (Discrete Cosine Transform) or a DST (Discrete Sine Transform),
wherein the transform type is determined independently to the intra prediction mode of the current block, and
wherein the transform type is determined based on a size of the current block.

### Claim 3

A recording medium storing a bitstream formed by a method of encoding a video, the method comprising:
obtaining first information indicating whether a residual signal is present in a current block, the current block including one or more transform coefficient levels other than 0 when the first information indicates that the residual signal is present in the current block;
when the first information indicates that the residual signal is present in the current block, obtaining the residual signal of the current block;
obtaining second information indicating whether an inverse-transform is performed on the residual signal of the current block;
determining a transform type of the current block when the second information indicates that the inverse-transform is performed on the current block;
obtaining residual samples of the current block by performing the inverse-transform on the residual signal of the current block based on the determined transform type;
obtaining prediction samples of the current block based on an intra prediction mode of the current block;
reconstructing the current block based on the residual samples and the prediction samples; and
applying a filter to the reconstructed samples of the current block,
wherein the filter includes at least one of a deblocking filter or a SAO (Sample Adaptive Offset) filter,
wherein the transform type is determined to be a DCT (Discrete Cosine Transform) or a DST (Discrete Sine Transform),
wherein the transform type is determined independently to the intra prediction mode of the current block, and
wherein the transform type is determined based on a size of the current block.
