# US 2025/0220191 A1 · Transform-based image coding method and device for same

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

- Number: US 2025/0220191 A1
- Document ID: US20250220191A1
- Status: Published application
- Kind: A1
- Application number: 19/082,674
- Filed: 2025-03-18
- Published: 2025-07-03
- Earliest claimed: 2019-10-08
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Moonmo KOO; Jaehyun LIM; Seunghwan KIM; Mehdi SALEHIFAR
- Web page: https://patentgrep.com/patent/US20250220191A1

## CPC

- 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/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/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/60: using transform coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method according to the present document may be characterized by including the steps of: determining whether to parse an MTS index for applying MTS to the current block; and applying the MTS to the current block on the basis of the MTS index to derive residual samples for the current block, wherein whether to parse the MTS index is determined on the basis of a flag value indicating whether a transform coefficient for a luma component of the current block is present, and the MTS index is not parsed when the flag value is 0.

## Claims

### Claim 1

An apparatus, comprising:
a memory; and
at least one processor connected to the memory; the at least one processor being configured to:
receive residual information from a bitstream,
derive transform coefficients for a current block based on the residual information,
determine whether to parse a multiple transform selection (MTS) index for applying an MTS to the current block,
derive residual samples for the current block by applying the MTS to the current block based on the MTS index, and
generate a reconstructed picture based on the residual samples,
wherein whether to parse the MTS index is determined based on a flag value related to whether at least one non-zero transform coefficient for a luma component of the current block is present,
wherein based on the flag value being 0, the MTS index is not parsed,
wherein whether to parse the MTS index is determined based on a first variable indicating whether zero-out for the MTS is performed,
wherein the first variable is set to an initial value equal to 1 in a coding unit syntax,
wherein, based on a case where the at least one non-zero transform coefficient is present in a second region other than a first region at a top-left of the current block and a color index of the current block indicates a luma component, the first variable is changed to 0 in a residual coding syntax, and
wherein the MTS index is configured in the coding unit syntax.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein whether to parse the MTS index is determined based on a tree type of the current block and a partition type of the current block.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the MTS index is parsed based on the tree type of the current block being not a dual tree chroma and a low frequency non-separable transform (LFNST) index related to an LFNST kernel applied to the current block being 0.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the MTS index is parsed based on the current block being not divided into a plurality of sub-partition blocks and a sub-block transform for performing transform by dividing a coding unit being not applied to the current block.

### Claim 5

An apparatus, comprising:
a memory; and
at least one processor connected to the memory, the at least one processor being configured to:
derive prediction samples for a current block,
derive residual samples for the current block based on the prediction samples,
derive transform coefficients for the current block based on a multiple transform selection (MTS) for the residual samples, and
encode residual information derived through quantization of the transform coefficients and an MTS index related to an MTS kernel,
wherein whether to encode the MTS index is determined based on a flag value related to whether at least one non-zero transform coefficient for a luma component of the current block is present,
wherein based on the flag value being 0, the MTS index is not encoded,
wherein whether to encode the MTS index is determined based on a first variable indicating whether zero-out for the MTS is performed,
wherein the first variable is set to an initial value equal to 1 in a coding unit syntax,
wherein, based on a case where the at least one non-zero transform coefficient is present in a second region other than a first region at a top-left of the current block and a color index of the current block indicates a luma component, the first variable is changed to 0 in a residual coding syntax, and
wherein the MTS index is configured in the coding unit syntax.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the MTS index is encoded based on a tree type of the current block and a partition type of the current block.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the MTS index is encoded based on the tree type of the current block being not a dual tree chroma and a low frequency non-separable transform (LFNST) index related to an LFNST kernel applied to the current block being 0.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the MTS index is encoded based on the current block being not divided into a plurality of sub-partition blocks and a sub-block transform for performing transform by dividing a coding unit being not applied to the current block.

### Claim 9

An apparatus, comprising:
at least one processor configured to obtain a bitstream, wherein the bitstream is generated based on deriving prediction samples for a current block, deriving residual samples for the current block based on the prediction samples, deriving transform coefficients for the current block based on a multiple transform selection (MTS) for the residual samples, and encoding residual information derived through quantization of the transform coefficients and an MTS index related to an MTS kernel; and
a transmitter configured to transmit the bitstream,
wherein whether to encode the MTS index is determined based on a flag value related to whether at least one non-zero transform coefficient for a luma component of the current block is present,
wherein based on the flag value being 0, the MTS index is not encoded,
wherein whether to encode the MTS index is determined based on a first variable indicating whether zero-out for the MTS is performed,
wherein the first variable is set to an initial value equal to 1 in a coding unit syntax,
wherein, based on a case where the at least one non-zero transform coefficient is present in a second region other than a first region at a top-left of the current block and a color index of the current block indicates a luma component, the first variable is changed to 0 in a residual coding syntax, and
wherein the MTS index is configured in the coding unit syntax.
