# US 11,451,791 B2 · Video signal processing method and device

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

- Number: US 11,451,791 B2
- Document ID: US11451791B2
- Status: Granted
- Kind: B2
- Application number: 16/964,949
- Filed: 2019-01-25
- Published: 2021-02-11
- Granted: 2022-09-20
- Earliest claimed: 2018-01-25
- Assignees: Wilus Institute of Standards and Technology Inc.
- Applicants: Wilus Institute of Standards and Technology Inc.
- Inventors: Dongcheol Kim; Geonjung Ko; Jaehong Jung; Juhyung Son; Jinsam Kwak
- Web page: https://patentgrep.com/patent/US11451791B2

## CPC

- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/124: Quantisation
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed is a video signal processing method and device for encoding or decoding a video signal. More specifically, disclosed are a video signal processing method and a video signal processing device for performing the method, the method comprising: obtaining reference line information indicating a reference line for intra prediction of a current block among a plurality of reference lines comprising neighboring samples of the current block; determining, on the basis of the reference line information, an intra prediction mode for the current block among a plurality of intra prediction modes constituting an intra prediction mode set; and decoding the current block on the basis of a plurality of reference samples on the reference line according to the reference line information and the determined intra prediction mode.

## Claims

### Claim 1

A video signal decoding method comprising:
generating, based on an intra prediction mode for a current block, a first prediction sample of a current sample included in the current block, wherein the intra prediction mode for the current block is indicated through any one of at least one intra prediction mode index included in a specific index set;
determining at least one reference sample corresponding to the current sample among reference samples of the current block based on the intra prediction mode for the current block;
obtaining at least one reference value corresponding to the current sample based on an unfiltered sample value of the at least one reference sample;
determining a parameter set based on a width of the current block, a height of the current block, whether an index of the intra prediction mode is smaller than a pre-configured first index, and whether the index of the intra prediction mode is greater than a pre-configured second index;
generating a second prediction sample by linearly combining a value of the first prediction sample and the at least one reference value based on the determined parameter set, wherein the determined parameter set is used for determining a weight which is used for linearly combining the value of the first prediction sample and the at least one reference value; and
restoring the current sample based on a residual signal of the current sample and the second prediction sample.

### Claim 2 (depends on 1)

The method of claim 1, wherein the specific index set is one of a plurality of index sets including a first index set and a second index set,
wherein the first index set includes an index of the intra prediction mode that is smaller than the pre-configured first index, wherein the second index set includes an index of the intra prediction mode that is greater than the pre-configured second index,
wherein the pre-configured first index and the pre-configured second index are configured values based on the number of pre-configured wide-angular modes when the longer one of a width and height of the current block is twice the shorter one,
wherein a wide-angular mode is an angular mode outside a pre-configured reference angle range.

### Claim 3 (depends on 2)

The method of claim 2, wherein for at least some of the samples included in the current block, in a first parameter set corresponding to the first index set, a parameter applied to an upper reference value obtained from an upper reference sample of the current block among the at least one reference value is not 0,
wherein for at least some of the samples included in the current block, in a second parameter set corresponding to the second index set, a parameter applied to a left reference value obtained from a left reference sample of the current block among the at least one reference value is not 0.

### Claim 4 (depends on 3)

The method of claim 3, wherein the index indicating the intra prediction mode of the current block is any one of indexes included in the first index set,
wherein the generating the second prediction sample comprises, when the shape of the current block is a square, generating the second prediction sample based on the first parameter set.

### Claim 5 (depends on 3)

The method of claim 3, wherein the index indicating the intra prediction mode of the current block is any one of indexes included in the second index set,
wherein the generating the second prediction sample comprises, when the shape of the current block is a square, generating the second prediction sample based on the second parameter set.

### Claim 6 (depends on 1)

The method of claim 1, wherein the specific index set is a third index set composed of the smallest index among intra prediction mode indexes indicating an angular mode,
wherein when the shape of the current block is a square or vertical rectangle, a parameter applied to a left reference value of a third parameter set corresponding to the third index set is not 0,
wherein when the shape of the current block is a horizontal rectangle, the parameter applied to the left reference value of the third parameter set corresponding to the third index set is 0.

### Claim 7 (depends on 1)

The method of claim 1, wherein the specific index set is a fourth index set composed of the largest index among intra prediction mode indexes indicating an angular mode,
wherein when the shape of the current block is a square or horizontal rectangle, a parameter applied to an upper reference value of a fourth parameter set corresponding to the fourth index set is not 0,
wherein when the shape of the current block is a vertical rectangle, the parameter applied to the upper reference value of the fourth parameter set corresponding to the fourth index set is 0.

### Claim 8 (depends on 1)

The method of claim 1, wherein the obtaining the at least one reference value corresponding to the current sample comprises:
determining a first position where an opposite direction of a prediction direction indicated by the intra prediction mode for the current block and one of the reference lines of the current block intersect based on a direction of the current sample,
obtaining a reference value corresponding to the first position based on a distance between the first position and the first reference sample and a distance between the first position and the second reference sample.

### Claim 9

A video signal decoding device comprising a processor,
wherein the processor is configured to:
generate, based on an intra prediction mode for the current block, a first prediction sample of a current sample included in a current block, wherein the intra prediction mode for the current block is indicated through any one of at least one intra prediction mode index included in a specific index set;
determine at least one reference sample corresponding to the current sample among reference samples of the current block based on the intra prediction mode for the current block;
obtain at least one reference value corresponding to the current sample based on an unfiltered sample value of the at least one reference sample;
determine a parameter set based on a width of the current block, a height of the current block, whether an index of the intra prediction mode is smaller than a pre-configured first index, and whether the index of the intra prediction mode is greater than a pre-configured second index;
generate a second prediction sample by linearly combining a value of the first prediction sample and the at least one reference value based on the determined parameter set, wherein the determined parameter set is used for determining a weight which is used for linearly combining the value of the first prediction sample and the at least one reference value; and
restore the current sample based on a residual signal of the current sample and the second prediction sample.

### Claim 10 (depends on 9)

The device of claim 9,
wherein the specific index set is one of a plurality of index sets including a first index set and a second index set,
wherein the first index set includes an index of the intra prediction mode that is smaller than the pre-configured first index, wherein the second index set includes an index of the intra prediction mode that is greater than the pre-configured second index,
wherein the pre-configured first index and the pre-configured second index are configured values based on the number of pre-configured wide-angular modes when the longer one of a width and height of the current block is twice the shorter one,
wherein a wide-angular mode is an angular mode outside a pre-configured reference angle range.

### Claim 11 (depends on 10)

The device of claim 10, wherein for at least some of the samples included in the current block, in a first parameter set, a parameter applied to an upper reference value obtained from an upper reference sample of the current block among the at least one reference value is not 0,
wherein for at least some of the samples included in the current block, in a second parameter set, a parameter applied to a left reference value obtained from a left reference sample of the current block among the at least one reference value is not 0.

### Claim 12 (depends on 11)

The device of claim 11, wherein the index indicating the intra prediction mode of the current block is any one of indexes included in the first index set,
wherein when the shape of the current block is a square, the processor is configured to generate the second prediction sample based on the first parameter set.

### Claim 13 (depends on 11)

The device of claim 11, wherein the index indicating the intra prediction mode of the current block is any one of indexes included in the second index set,
wherein when the shape of the current block is a square, the processor is configured to generate the second prediction sample based on the second parameter set.

### Claim 14 (depends on 9)

The device of claim 9, wherein the specific index set is a third index set composed of the smallest index among intra prediction mode indexes indicating an angular mode,
wherein when the shape of the current block is a square or vertical rectangle, a parameter applied to a left reference value of a third parameter set corresponding to the third index set is not 0,
wherein when the shape of the current block is a horizontal rectangle, the parameter applied to the left reference value of the third parameter set corresponding to the third index set is 0.

### Claim 15 (depends on 9)

The device of claim 9, wherein the specific index set is a fourth index set composed of the largest index among intra prediction mode indexes indicating an angular mode,
wherein when the shape of the current block is a square or horizontal rectangle, a parameter applied to an upper reference value of a fourth parameter set corresponding to the fourth index set is not 0,
wherein when the shape of the current block is a vertical rectangle, the parameter applied to the upper reference value of the fourth parameter set corresponding to the fourth index set is 0.

### Claim 16 (depends on 9)

The device of claim 9, wherein when a first position is a position where an opposite direction of a prediction direction indicated by the intra prediction mode for the current block and one of the reference lines of the current block intersect based on a direction of the current sample,
the processor is configured to obtain a reference value corresponding to the first position based on a distance between the first position and the first reference sample and a distance between the first position and the second reference sample.

### Claim 17

A video signal encoding apparatus comprising a processor,
wherein processor is configured to:
generate, based on an intra prediction mode for a current block, a first prediction sample of a current sample included in the current block, wherein the intra prediction mode for the current block is indicated through any one of at least one intra prediction mode index included in a specific index set;
determine at least one reference sample corresponding to the current sample among reference samples of the current block based on the intra prediction mode for the current block;
obtain at least one reference value corresponding to the current sample based on an unfiltered sample value of the at least one reference sample;
determine a parameter set based on a width of the current block, a height of the current block, whether an index of the intra prediction mode is smaller than a pre-configured first index, and whether the index of the intra prediction mode is greater than a pre-configured second index;
generate a second prediction sample by linearly combining a value of the first prediction sample and the at least one reference value based on the determined parameter set, wherein the determined parameter set is used for determining a weight which is used for linearly combining the value of the first prediction sample and the at least one reference value; and
restore the current sample based on a residual signal of the current sample and the second prediction sample.

### Claim 18

A non-transitory computer-readable medium storing a bitstream, the bitstream being decoded by a decoding method,
wherein the decoding method, comprising:
generating, based on an intra prediction mode for a current block, a first prediction sample of a current sample included in the current block, wherein the intra prediction mode for the current block is indicated through any one of at least one intra prediction mode index included in a specific index set;
determining at least one reference sample corresponding to the current sample among reference samples of the current block based on the intra prediction mode for the current block;
obtaining at least one reference value corresponding to the current sample based on an unfiltered sample value of the at least one reference sample;
determine a parameter set based on a width of the current block, a height of the current block, whether an index of the intra prediction mode is smaller than a pre-configured first index, and whether the index of the intra prediction mode is greater than a pre-configured second index;
generate a second prediction sample by linearly combining a value of the first prediction sample and the at least one reference value based on the determined parameter set, wherein the determined parameter set is used for determining a weight which is used for linearly combining the value of the first prediction sample and the at least one reference value; and restoring the current sample based on a residual signal of the current sample and the second prediction sample.
