# US 2024/0205455 A1 · Method and device for processing video signal by using intra-prediction

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

- Number: US 2024/0205455 A1
- Document ID: US20240205455A1
- Status: Published application
- Kind: A1
- Application number: 18/592,113
- Filed: 2024-02-29
- Published: 2024-06-20
- Earliest claimed: 2018-12-19
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Moonmo KIM; Jaehyun LIM; Seunghwan KIM
- Web page: https://patentgrep.com/patent/US20240205455A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/136: Incoming video signal characteristics or properties
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- 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/197: {including determination of the initial value of an encoding parameter (H04N19/56 takes precedence)}
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Embodiments in the present specification provide a video signal processing method and device. A method of processing a video signal according to an embodiment in the present specification comprises the steps of: acquiring an intra-prediction mode for a current block from the video signal; determining a modified intra-prediction mode from the intra-prediction mode for the current block on the basis of the width and height of and the intra-prediction mode for the current block; and applying a transform determined on the basis of the modified intra-prediction mode. The accuracy of prediction can be further improved by deriving a modified intra-prediction mode according to a wide-angle intra-prediction mode according to the shape of and an intra-prediction mode for a current block.

## Claims

### Claim 1

A method for decoding a video signal, the method comprising:
obtaining an intra prediction mode of a current block from the video signal;
determining a modified intra prediction mode from the intra prediction mode for the current block based on a width and a height of the current block and the intra prediction mode; and
applying a non-separable transform matrix to the current block,
wherein the modified intra prediction mode is determined by adding 65 to the intra prediction mode based on (i) the width being larger than the height, (ii) the intra prediction mode being equal to or larger than 2, and (iii) the intra prediction mode being smaller than a first reference value,
wherein the modified intra prediction mode is determined by subtracting 67 from the intra prediction mode based on (i) the height being larger than the width, (ii) the intra prediction mode being larger than a second reference value, and (iii) the intra prediction mode being equal to or smaller than 66,
wherein the non-separable transform matrix is determined based on a non-separable transform set index and a non-separable transform index, and
wherein the non-separable transform set index is determined based on the modified intra prediction mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein the non-separable transform set index is determined:
as a first value based on the modified intra prediction mode being equal to or larger than 0 and equal to or smaller than 1,
as a second value based on the modified intra prediction mode being smaller than 0,
as the second value based on the modified intra prediction mode being equal to or larger than 2 and equal to or smaller than 12,
as a third value based on the modified intra prediction mode being equal to or larger than 13 and equal to or smaller than 23,
as a fourth value based on the modified intra prediction mode being equal to or larger than 24 and equal to or smaller than 44,
as the third value based on the modified intra prediction mode being equal to or larger than 45 and equal to or smaller than 55,
as the second value based on the modified intra prediction mode being equal to or larger than 56 and equal to or smaller than 80.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first reference value and the second reference value are determined based on an absolute value of a log for a value obtained by dividing the width by the height.

### Claim 4 (depends on 1)

The method of claim 1, wherein when the obtained intra prediction mode corresponds to a non-directional prediction mode or the width is equal to the height, the intra prediction mode is not modified.

### Claim 5 (depends on 1)

The method of claim 1, wherein the applying of the non-separable transform matrix includes applying the non-separable transform matrix to a top-left region of the current block, and
wherein the top-left region is determined based on the width and the height.

### Claim 6 (depends on 1)

The method of claim 1, wherein when both the width and the height are equal to or larger than 8, the non-separable transform matrix is applied to a top-left 8×8 region of the current block, and
wherein when both the width and the height are equal to or larger than 4 and the width or the height is smaller than 8, the non-separable transform matrix is applied to a top-left 4×4 region of the current block.

### Claim 7 (depends on 1)

The method of claim 1, wherein when both the width and the height are equal to or larger than 8, the secondary transform matrix is applied to a top-left 8×8 region of the primary-transformed block, and
wherein when both the width and the height are equal to or larger than 4 and the width or the height is smaller than 8, the secondary transform matrix is applied to a top-left 4×4 region of the primary-transformed block.

### Claim 8

A method of encoding a video signal, comprising:
determining an intra prediction mode of a current block;
determining a modified intra prediction mode from the intra prediction mode of the current block based on a width and a height of the current block and the intra prediction mode;
performing primary transform on a residual block of the current block to generate a primary-transformed block of the current block;
performing secondary transform on the primary-transformed block based on a secondary transform matrix; and
generating a secondary transform index related to the secondary transform matrix,
wherein the modified intra prediction mode is determined by adding 65 to the intra prediction mode based on (i) the width being larger than the height, (ii) the intra prediction mode being equal to or larger than 2, and (iii) the intra prediction mode being smaller than a first reference value,
wherein the modified intra prediction mode is determined by subtracting 67 from the intra prediction mode based on (i) the height being larger than the width, (ii) the intra prediction mode being larger than a second reference value, and (iii) the intra prediction mode being equal to or smaller than 66,
wherein the secondary transform matrix is determined based on a secondary transform set index, and
wherein the secondary transform set index is determined based on the modified intra prediction mode.

### Claim 9 (depends on 8)

The method of claim 8, wherein the non-separable transform set index is determined:
as a first value based on the modified intra prediction mode being equal to or larger than 0 and equal to or smaller than 1,
as a second value based on the modified intra prediction mode being smaller than 0,
as the second value based on the modified intra prediction mode being equal to or larger than 2 and equal to or smaller than 12,
as a third value based on the modified intra prediction mode being equal to or larger than 13 and equal to or smaller than 23,
as a fourth value based on the modified intra prediction mode being equal to or larger than 24 and equal to or smaller than 44,
as the third value based on the modified intra prediction mode being equal to or larger than 45 and equal to or smaller than 55, and
as the second value based on the modified intra prediction mode being equal to or larger than 56 and equal to or smaller than 80.

### Claim 10 (depends on 8)

The method of claim 8, wherein the first reference value and the second reference value are determined based on an absolute value of a log for a value obtained by dividing the width by the height.

### Claim 11 (depends on 8)

The method of claim 8, wherein when the determined intra prediction mode corresponds to a non-directional prediction mode or the width is equal to the height, the intra prediction mode is not modified.

### Claim 12 (depends on 8)

The method of claim 8, wherein the performing of the secondary transform includes applying the secondary transform matrix to a top-left region of the primary-transformed block, and
wherein the top-left region is determined based on the width and the height.

### Claim 13

A method for transmitting picture information generated by performing steps of:
determining an intra prediction mode of a current block;
determining a modified intra prediction mode from the intra prediction mode of the current block based on a width and a height of the current block and the intra prediction mode;
performing primary transform on a residual block of the current block to generate a primary-transformed block of the current block;
performing secondary transform on the primary-transformed block based on a secondary transform matrix; and
generating a secondary transform index related to the secondary transform matrix,
wherein the modified intra prediction mode is determined by adding 65 to the intra prediction mode based on (i) the width being larger than the height, (ii) the intra prediction mode being equal to or larger than 2, and (iii) the intra prediction mode being smaller than a first reference value,
wherein the modified intra prediction mode is determined by subtracting 67 from the intra prediction mode based on (i) the height being larger than the width, (ii) the intra prediction mode being larger than a second reference value, and (iii) the intra prediction mode being equal to or smaller than 66,
wherein the secondary transform matrix is determined based on a secondary transform set index, and
wherein the secondary transform set index is determined based on the modified intra prediction mode.
