# US 2022/0295085 A1 · Image encoding/decoding method and device therefor

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

- Number: US 2022/0295085 A1
- Document ID: US20220295085A1
- Status: Published application
- Kind: A1
- Application number: 17/716,772
- Filed: 2022-04-08
- Published: 2022-09-15
- Earliest claimed: 2018-08-08
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Moonmo KOO; Mehdi SALEHIFAR; Seunghwan KIM; Jaehyun LIM
- Web page: https://patentgrep.com/patent/US20220295085A1

## 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/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- 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/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

The present invention relates to a video signal decoding method based on a Multiple Transform Selection (MTS). The method may comprise the steps of: parsing a first syntax element representing whether MTS applies to the inverse transformation of a current block, wherein the MTS represents a transform mode which uses a transform type other than a default transform type predefined for the current block; by performing inverse quantization on the current block, deriving an inverse-quantized transform coefficient array having the width and the height of the current block; determining, on the basis of the first syntax element, a vertical transform type applying to the vertical direction of the current block, and a horizontal transform type applying to the horizontal direction of the current block; and, by performing inverse transformation on the inverse-quantized transform coefficient array by using the vertical transform type and the horizontal transform type, deriving a residual sample array having the width and the height of the current block.

## Claims

### Claim at position 1

1-12. (canceled)

### Claim 13

A method of decoding a video signal based on a Multiple Transform Selection (MTS), comprising:
obtaining a MTS intra enabling flag from a sequence parameter set, wherein the MTS intra enabling flag represents whether a MTS index could be present in a syntax for an intra coding unit;
obtaining a MTS index based on the MTS intra enabling flag, wherein the MTS index corresponds to one of a plurality of transform combinations within a transform configuration group;
determining a vertical transform type applied to a vertical direction and horizontal transform type applied to a horizontal direction of a current block based on the MTS index; and
deriving a residual sample array with the width and height of the current block by performing an inverse transform on an inverse quantized transform coefficient array based on the vertical transform type and the horizontal transform type,
wherein the step of deriving the residual sample array includes performing a one-dimensional transform process in the vertical direction on each of columns of the inverse quantized transform coefficient array based on the vertical transform type, and
performing, based on the horizontal transform type, a one-dimensional transform process in the horizontal direction on each of rows of an intermediate sample array output by the one-dimensional transform process for each of the columns,
wherein the step of performing the one-dimensional transform process in the horizontal direction includes
clipping an intermediate sample value output by the one-dimensional transform process for each of the columns based on a minimum value and maximum value of a predefined coefficient.

### Claim 14 (depends on 13)

The method of claim 13,
wherein the plurality of transform combinations includes at least one of discrete cosine transform type 2, DCT2, discrete sine transform type 7, DST7, and discrete cosine transform type 8, DCT8.

### Claim 15 (depends on 13)

The method of claim 13,
wherein based on the MTS index has a value of zero, the vertical transform type and the horizontal transform type are determined as DCT2, and
wherein based on the MTS index has a value of non-zero, each of the vertical transform type and the horizontal transform type is determined as any one of DST7 and DCT8.

### Claim 16

A method of encoding a video signal based on a Multiple Transform Selection (MTS), comprising:
generating a residual sample array;
determining a vertical transform type applied to a vertical direction and horizontal transform type applied to a horizontal direction of a current block;
performing a transform on the current block based on the vertical transform type and horizontal transform type;
generating a MTS index, wherein the MTS index corresponds to one of a plurality of transform combinations within a transform configuration group, and a transform combination includes the vertical transform type and horizontal transform type;
generating a MTS intra enabling flag on a level of a sequence parameter set, wherein the MTS intra enabling flag represents whether the MTS index is present or not in a syntax for an intra coding unit;
deriving a quantized transform coefficient array with a width and height of the current block by performing a quantization on the current block; and
performing an entropy-encoding on the current block,
wherein the step of generating the residual sample array includes
performing, based on the horizontal transform type, a one-dimensional transform process in the horizontal direction on each of rows of an intermediate sample array,
performing, based on the vertical transform type, a one-dimensional transform process in the vertical direction on each of columns of the quantized transform coefficient array, and
wherein the step of performing the one-dimensional transform process in the horizontal direction includes
clipping an intermediate sample value based on a minimum value and maximum value of a predefined coefficient.

### Claim 17 (depends on 16)

The method of claim 16,
wherein the plurality of transform combinations includes at least one of discrete cosine transform type 2, DCT2, discrete sine transform type 7, DST7, and discrete cosine transform type 8, DCT8.

### Claim 18 (depends on 15)

The method of claim 15,
wherein based on the MTS index has a value of zero, the vertical transform type and the horizontal transform type are determined as DCT2, and
wherein based on the MTS index has a value of non-zero, each of the vertical transform type and the horizontal transform type is determined as any one of DST7 and DCT8.

### Claim 19

A non-transitory computer-readable medium storing video information generated by performing the steps of:
generating a residual sample array;
determining a vertical transform type applied to a vertical direction and horizontal transform type applied to a horizontal direction of a current block;
performing a transform on the current block based on the vertical transform type and horizontal transform type;
generating a MTS index, wherein the MTS index corresponds to one of a plurality of transform combinations within a transform configuration group, and a transform combination includes the vertical transform type and horizontal transform type;
generating a MTS intra enabling flag on a level of a sequence parameter set, wherein the MTS intra enabling flag represents whether the MTS index is present or not in a syntax for an intra coding unit;
deriving a quantized transform coefficient array with a width and height of the current block by performing a quantization on the current block; and
performing an entropy-encoding on the current block,
wherein the step of generating the residual sample array includes
performing, based on the horizontal transform type, a one-dimensional transform process in the horizontal direction on each of rows of an intermediate sample array,
performing, based on the vertical transform type, a one-dimensional transform process in the vertical direction on each of columns of the quantized transform coefficient array, and
wherein the step of performing the one-dimensional transform process in the horizontal direction includes
clipping an intermediate sample value based on a minimum value and maximum value of a predefined coefficient.
