# US 11,310,527 B2 · Video signal processing method and device for intra prediction of coding or prediction blocks based on sample position based parameters

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

- Number: US 11,310,527 B2
- Document ID: US11310527B2
- Status: Granted
- Kind: B2
- Application number: 17/127,824
- Filed: 2020-12-18
- Published: 2021-07-15
- Granted: 2022-04-19
- Earliest claimed: 2017-03-09
- Assignees: Kt Corporation
- Applicants: Kt Corporation
- Inventors: Bae Keun Lee
- Web page: https://patentgrep.com/patent/US11310527B2

## CPC

- 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/593: involving spatial prediction techniques
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention is related to processing a video signal. A method for decoding a video according to the present invention may comprise generating a prediction block of a current block by performing intra prediction, deriving at least one sample position based parameter based on a position of a first prediction sample in the prediction block, and obtaining a second prediction sample by weighted predicting the first prediction sample based on the at least one sample position based parameter. According to the present invention, encoding/decoding efficiency of a video signal can be improved since intra prediction is performed more accurately.

## Claims

### Claim 1

A method of decoding a video, the method comprising:
generating a prediction sample of a current block based on an intra prediction mode of the current block;
determining whether to modify the prediction sample or not;
when it is determined to modify the prediction sample, deriving a first sample position based parameter for modifying the prediction sample in the current block;
obtaining a modified prediction sample based on the prediction sample and the first sample position based parameter;
obtaining a residual sample of the current block; and
obtaining a reconstruction sample based on the modified prediction sample and the residual sample,
wherein the first sample position based parameter being derived based on a multiplication of a reference sample adjacent to the current block and a first weight,
wherein the first weight is derived by shifting a constant value based on a value derived based on a coordinate of the prediction sample and a shift parameter,
wherein the shift parameter is derived based on a width and a height of the current block, and
wherein the shift parameter is derived based on a sum of log2 width and log2 height.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining the modified prediction sample is derived by adding the first sample position based parameter to a weighted prediction sample,
wherein the weight prediction sample is derived based on a multiplication of a second weight and the prediction sample.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second weight is derived based on a subtraction the first weight from a constant value.

### Claim 4 (depends on 1)

The method of claim 1, wherein a determination of whether to modify the prediction sample is based on at least one of a size of the current block, and the intra prediction mode of the current block.

### Claim 5

A method of encoding a video, the method comprising:
generating a prediction sample of a current block based on an intra prediction mode of the current block;
determining whether to modify the prediction sample or not;
when it is determined to modify the prediction sample, deriving a first sample position based parameter for modifying the prediction sample in the prediction block;
obtaining a modified prediction sample based on the prediction sample and the first sample position based parameter;
obtaining a residual sample of the current block; and
obtaining a reconstruction sample based on the modified prediction sample and the residual sample,
wherein the first sample position based parameter being derived based on a multiplication of a reference sample adjacent to the current block and a first weight,
wherein the first weight is derived by shifting a constant value based on a value derived based on a coordinate of the prediction sample and a shift parameter,
wherein the shift parameter is derived based on a width and a height of the current block, and
wherein the shift parameter is derived based on a sum of log2 width and log2 height.

### Claim 6 (depends on 5)

The method of claim 5, wherein obtaining the modified prediction sample is derived by adding the first sample position based parameter to a weighted prediction sample,
wherein the weight prediction sample is derived based on a multiplication of a second weight and the prediction sample.

### Claim 7 (depends on 6)

The method of claim 6, wherein the second weight is derived based on a subtraction the first weight from a constant value.

### Claim 8 (depends on 5)

The method of claim 5, wherein a determination of whether to modify the prediction sample is based on at least one of a size of the current block, and the intra prediction mode of the current block.

### Claim 9

A non-transitory computer readable recoding medium comprising a video signal bitstream, the video signal bitstream included in the recoding medium is encoded by a video encoding method comprising:
generating a prediction sample of a current block based on an intra prediction mode of the current block;
determining whether to modify the prediction sample or not;
when it is determined to modify the prediction sample, deriving a first sample position based parameter for modifying the prediction sample in the prediction block;
obtaining a modified prediction sample based on the prediction sample and the first sample position based parameter;
obtaining a residual sample of the current block; and
obtaining a reconstruction sample based on the modified prediction sample and the residual sample,
wherein the first sample position based parameter being derived based on a multiplication of a reference sample adjacent to the current block and a first weight,
wherein the first weight is derived by shifting a constant value based on a value derived based on a coordinate of the prediction sample and a shift parameter,
wherein the shift parameter is derived based on a width and a height of the current block, and
wherein the shift parameter is derived based on a sum of log2 width and log2 height.
