# US 11,451,781 B2 · Method and apparatus for processing video signal

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

- Number: US 11,451,781 B2
- Document ID: US11451781B2
- Status: Granted
- Kind: B2
- Application number: 17/125,545
- Filed: 2020-12-17
- Published: 2021-04-08
- Granted: 2022-09-20
- Earliest claimed: 2016-08-31
- Assignees: Kt Corporation
- Applicants: Kt Corporation
- Inventors: Bae Keun Lee
- Web page: https://patentgrep.com/patent/US11451781B2

## 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/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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- 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/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N 19/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for decoding a video according to the present invention may comprise: deriving a reference sample for a current block, determining an intra prediction mode of the current block, and obtaining a prediction sample for the current block by using the reference sample and the intra prediction mode.

## Claims

### Claim 1

A method of decoding a video, the method comprising:
determining an intra prediction mode of a current block;
obtaining a prediction sample at a target location in the current block based on a weighted sum of a first prediction sample and a second prediction sample when the intra prediction mode is a Planar mode, the first prediction sample being obtained by using at least one reference sample having a same y-coordinate as the target location and the second prediction sample being obtained by using at least one reference sample having a same x-coordinate as the target location;
obtaining a residual coefficient of the current block;
obtaining a residual sample of the current block based on the residual coefficient; and
reconstructing the current block based on the prediction sample and the residual sample,
wherein if the target location is included in a first region of the current block, the prediction sample is obtained by further usage of a first value derived based on both a top reference sample and a left reference sample, and
wherein if the target location is included in a second region of the current block, the prediction sample is obtained by further usage of a second value derived based on one of the top reference sample and the left reference sample.

### Claim 2 (depends on 1)

The method of claim 1, wherein the at least one reference sample having the same y-coordinate as the target location comprises a right reference sample derived based on the left reference sample and the top reference sample, and
wherein the at least one reference sample having the same x-coordinate as the target location comprises a bottom reference sample derived based on the top reference sample and the left reference sample.

### Claim 3 (depends on 1)

The method of claim 1, wherein at least one of a width or a height of the current block is greater than 4.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first value is derived by applying a first weight to the top reference sample and applying a second weight to the left reference sample, and the first weight and the second weight is determined based on a coordinate of the target location.

### Claim 5

A method of encoding a video, the method comprising:
obtaining a prediction sample at a target location in a current block based on a weighted sum of a first prediction sample and a second prediction sample when an intra prediction mode of the current block is a Planar mode, the first prediction sample being obtained by using at least one reference sample having a same y-coordinate as the target location and the second prediction sample being obtained by using at least one reference sample having a same x-coordinate as the target location;
obtaining a residual sample of the current block by subtracting the prediction sample from an original sample; and
obtaining a transform coefficient by performing a transform on the residual sample,
wherein if the target location is included in a first region of the current block, the prediction sample is obtained by further usage of a first value derived based on both a top reference sample and a left reference sample, and
wherein if the target location is included in a second region of the current block, the prediction sample is obtained by further usage of a second value derived based on one of the top reference sample and the left reference sample.

### Claim 6 (depends on 5)

The method of claim 5, wherein the at least one reference sample having the same y-coordinate as the target location comprises a right reference sample derived based on the left reference sample and the top reference sample, and
wherein the at least one reference sample having the same x-coordinate as the target location comprises a bottom reference sample derived based on the top reference sample and the left reference sample.

### Claim 7 (depends on 5)

The method of claim 5, wherein at least one of a width or a height of the current block is greater than 4.

### Claim 8 (depends on 5)

The method of claim 5, wherein the first value is derived by applying a first weight to the top reference sample and applying a second weight to the left reference sample, and the first weight and the second weight is determined based on a coordinate of the target location.

### Claim 9

A non-transitory computer-readable medium for storing compressed video data associated with a video signal, the compressed video data comprising:
information for determining an intra prediction mode of a current block, and
information for a residual coefficient of the current block,
wherein a prediction sample at a target location in the current block is obtained based on a weighted sum of a first prediction sample and a second prediction sample when the intra prediction mode is a Planar mode, the first prediction sample being obtained by using at least one reference sample having a same y-coordinate as the target location and the second prediction sample being obtained by using at least one reference sample having a same x-coordinate as the target location;
wherein a residual sample of the current block is obtained based on the residual coefficient of the current block,
wherein a reconstruction sample of the current block is obtained based on the prediction sample and the residual sample,
wherein if the target location is included in a first region of the current block, the prediction sample is obtained by further usage of a first value derived based on both a top reference sample and a left reference sample, and
wherein if the target location is included in a second region of the current block, the prediction sample is obtained by further usage of a second value derived based on one of the top reference sample and the left reference sample.
