# US 2024/0267550 A1 · Method and apparatus for video encoding/decoding using ibc mode, and method for transmitting bitstream

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

- Number: US 2024/0267550 A1
- Document ID: US20240267550A1
- Status: Published application
- Kind: A1
- Application number: 18/642,182
- Filed: 2024-04-22
- Published: 2024-08-08
- Earliest claimed: 2019-03-11
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hyeong Moon JANG
- Web page: https://patentgrep.com/patent/US20240267550A1

## CPC

- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/107: between spatial and temporal predictive coding, e.g. picture refresh
- 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/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/625: using discrete cosine transform [DCT]
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method is disclosed. The image decoding method includes determining a prediction mode of a current block based on prediction mode information of the current block obtained from a bitstream, obtaining a transform coefficient block of the current block from the bitstream, dequantizing the transform coefficient to generate a dequantized transform coefficient block, determining a transform kernel for the dequantized transform coefficient block, and generating a residual block of the current block by performing inverse transform on the dequantized transform coefficient block using the transform kernel.

## Claims

### Claim 1

An image decoding method performed by an image decoding apparatus, the image decoding method comprising:
determining a prediction mode of a current block, based on prediction mode information of the current block obtained from a bitstream;
obtaining a transform coefficient block of the current block from the bitstream;
dequantizing the transform coefficient block to generate a dequantized transform coefficient block;
determining a transform kernel for the dequantized transform coefficient block; and
generating a residual block of the current block by performing inverse transform on the dequantized transform coefficient block based on the transform kernel,
wherein the transform kernel is determined based on transform kernel index information obtained from the bitstream,
wherein the transform kernel index information specifies a combination of a horizontal transform kernel and a vertical transform kernel for the transform coefficient block;
wherein, based on that the prediction mode of the current block is an inter prediction mode or an intra prediction mode, the transform kernel index information is obtained from the bitstream based on predetermined flag information specifying whether explicit signaling is performed, and
wherein, based on that the prediction mode of the current block is an intra block copy (IBC) mode which refers to a block located in the same picture as the current block and decoded before the current block, the transform kernel index information is not obtained from the bitstream regardless of the predetermined flag information.

### Claim 2 (depends on 1)

The image decoding method of claim 1,
wherein, based on that the prediction mode of the current block is neither the inter prediction mode nor the intra prediction mode, the transform kernel index information is not obtained from the bitstream and is derived as a predetermined value.

### Claim 3 (depends on 1)

The image decoding method of claim 1,
wherein, based on that the prediction mode of the current block is the IBC mode, the transform kernel index information is determined as a value specifying a predetermined first transform kernel.

### Claim 4 (depends on 3)

The image decoding method of claim 3,
wherein the first transform kernel is either DCT2 or DCT7.

### Claim 5 (depends on 1)

The image decoding method of claim 1,
wherein the determining the transform kernel for the dequantized transform coefficient block comprises deriving the transform kernel of the current block, based on first flag information specifying whether the transform kernel index information for a block encoded in the intra prediction mode is able to be included in the bitstream and second flag information specifying whether the transform kernel index information for a block encoded in the inter prediction mode is able to be included in the bitstream, and
wherein the first flag information and the second flag information are obtained from the bitstream.

### Claim 6 (depends on 5)

The image decoding method of claim 5,
wherein, based on that both the first flag information and the second flag information have a first value specifying that the transform kernel index information is not included in the bitstream and the prediction mode of the current block is an intra block copy (IBC) mode, the transform kernel of the current block is derived based on a width and height of the current block.

### Claim 7 (depends on 6)

The image decoding method of claim 6,
wherein the transform kernel of the current block includes the horizontal transform kernel and the vertical transform kernel,
wherein the horizontal transform kernel of the current block is determined based on whether the width of the current block is within a predetermined range and comparison between the width and height of the current block, and
wherein the vertical transform kernel of the current block is determined based on whether the height of the current block is within a predetermined range and comparison between the width and height of the current block.

### Claim 8 (depends on 5)

The image decoding method of claim 5,
wherein, based on that at least one of the first flag information and the second flag information has a second value specifying that the transform kernel index information is able to be included in the bitstream and the prediction mode of the current block is the IBC mode,
the transform kernel of the current block is derived based on the transform kernel index information, and
the transform kernel index information is not obtained from the bitstream and is derived as a predetermined value.

### Claim 9 (depends on 1)

The image decoding method of claim 1,
wherein, based on that the transform kernel index information is not obtained from the bitstream, the transform kernel index information is derived as a predetermined value,
wherein, based on that the prediction mode of the current block is the IBC mode, the transform kernel index information is derived as a first value, and
wherein, based on that the prediction mode of the current block is a prediction mode other than the IBC mode, the transform kernel index information is derived as a second value different from the first value.

### Claim 10

An image encoding method performed by an image encoding apparatus, the image encoding method comprising:
selecting a prediction mode of a current block;
generating a prediction block for the current block based on the selected prediction mode;
generating a residual block for the current block based on the prediction block;
selecting a transform kernel for transforming the residual block based on the prediction mode;
transforming the residual block based on the transform kernel to generate a transform coefficient block;
quantizing the transform coefficient block to generate a quantized transform coefficient block; and
encoding the quantized transform coefficient block to generate a bitstream,
wherein, based on that the prediction mode of the current block is an inter prediction mode or an intra prediction mode, transform kernel index information of the transform kernel is encoded into the bitstream based on predetermined flag information specifying whether explicit signaling is performed, the transform kernel index information specifying a combination of a horizontal transform kernel and a vertical transform kernel for the transform coefficient block, and
wherein, based on that the prediction mode of the current block is an intra block copy (IBC) mode which refers to a block located in the same picture as the current block and encoded before the current block, the transform kernel index information is not encoded into the bitstream regardless of the predetermined flag information.

### Claim 11 (depends on 10)

The image encoding method of claim 10,
wherein, based on that the prediction mode of the current block is an intra block copy (IBC) mode,
the transforming the residual block is performed based on a predetermined transform kernel, and
transform kernel index information of the predetermined transform kernel used for the transforming the residual block is not included in the bitstream.

### Claim 12 (depends on 10)

The image encoding method of claim 10,
wherein first flag information specifying whether the transform kernel index information for a block encoded in the intra prediction mode is able to be included in the bitstream and second flag information specifying whether the transform kernel index information for a block encoded in the inter prediction mode is able to be included in the bitstream are included in the bitstream,
wherein, based on that at least one of the first flag information and the second flag information has a second value specifying that the transform kernel index information is able to be included in the bitstream and the prediction mode of the current block is an intra block copy (IBC) mode,
the transforming the residual block is performed based on a predetermined transform kernel, and
transform kernel index information of the predetermined transform kernel used for the transforming the residual block is not included in the bitstream.

### Claim 13 (depends on 12)

The image encoding method of claim 12,
wherein, based on that both the first flag information and the second flag information have a first value specifying that the transform kernel index information is not included in the bitstream and the prediction mode of the current block is the intra block copy (IBC) mode,
the transforming the residual block is performed based on a predetermined transform kernel,
the predetermined transform kernel is derived based on a width and height of the current block, and
transform kernel index information of the predetermined transform kernel used for the transforming the residual block is not included in the bitstream.

### Claim 14 (depends on 10)

A computer-readable recording medium storing the bitstream generated by the image encoding method of claim 10.

### Claim 15

A method of transmitting a bitstream comprising:
obtaining the bitstream generated by an image encoding method; and
transmitting the bitstream,
wherein the image encoding method comprising:
selecting a prediction mode of a current block;
generating a prediction block for the current block based on the selected prediction mode;
generating a residual block for the current block based on the prediction block;
selecting a transform kernel for transforming the residual block based on the prediction mode;
transforming the residual block based on the transform kernel to generate a transform coefficient block;
quantizing the transform coefficient block to generate a quantized transform coefficient block; and
encoding the quantized transform coefficient block to generate the bitstream,
wherein, based on that the prediction mode of the current block is an inter prediction mode or an intra prediction mode, transform kernel index information of the transform kernel is encoded into the bitstream based on predetermined flag information specifying whether explicit signaling is performed, the transform kernel index information specifying a combination of a horizontal transform kernel and a vertical transform kernel for the transform coefficient block, and
wherein, based on that the prediction mode of the current block is an intra block copy (IBC) mode which refers to a block located in the same picture as the current block and encoded before the current block, the transform kernel index information is not encoded into the bitstream regardless of the predetermined flag information.
