# US 12,015,769 B2 · Method and apparatus for processing intra-prediction-based video signal

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

- Number: US 12,015,769 B2
- Document ID: US12015769B2
- Status: Granted
- Kind: B2
- Application number: 18/193,911
- Filed: 2023-03-31
- Published: 2023-07-27
- Granted: 2024-06-18
- Earliest claimed: 2016-03-17
- Assignees: Industry Academy Cooperation Foundation of Sejong University
- Applicants: Industry Academy Cooperation Foundation of Sejong University
- Inventors: Yung Lyul Lee; Nam Uk Kim
- Web page: https://patentgrep.com/patent/US12015769B2

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/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/593: involving spatial prediction techniques
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of processing a video signal includes obtaining a transform coefficient of a current block from a bitstream according to a predetermined scanning order, determining an intra prediction mode of the current block on the basis of the transform coefficient, and performing intra prediction on the current block using the intra prediction mode and a neighboring sample adjacent to the current block.

## Claims

### Claim 1

A video decoding method, comprising:
determining a prediction mode of a current block from among an intra mode, an inter mode, and an intra block copy mode;
determining an intra prediction mode of the current block in response to the prediction mode of the current block being the intra mode;
generating prediction pixels in the current block by performing a DC intra prediction on the current block based on at least one of neighboring pixels of the current block in response to the intra prediction mode of the current block being a DC mode; and
filtering a prediction pixel in the current block by a weighting filter, and
wherein, the filtered prediction pixel by the weighting filter is determined based on a weighted sum of the top reference pixel, the left reference pixel and the prediction pixel, and
the left reference pixel of the prediction pixel is included in a same row as the prediction pixel and the top reference pixel of the prediction pixel is included in a same column as the prediction pixel,
the prediction pixel is filtered by the weighting filter in response to at least one of a first weight for the top reference pixel and a second weight for the left reference pixel greater than zero,
the first weight is determined to be zero in response to a distance from the top reference pixel greater than a predetermined value and the second weight is determined to be zero in response to a distance from the left reference pixel greater than the predetermined value,
the predetermined value is determined based on a size of the current block.

### Claim 2 (depends on 1)

The method of claim 1, wherein whether to apply the weighting filter is determined based on at least one of the intra prediction mode of the current block and a partition type of the current block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the weighting filter is applied based on weights of the weighting filter,
wherein the second weight for the left reference pixel is derived based on a distance between the prediction pixel and the left reference pixel, and the first weight for the top reference pixel is derived based on a distance between the prediction pixel and the top reference pixel.

### Claim 4 (depends on 1)

The method of claim 1, wherein the left reference pixel and the top reference pixel are included in the neighboring pixels.

### Claim 5 (depends on 1)

The method of claim 1, wherein a range of the reference pixel is determined based on at least one of the intra prediction mode of the current block, a size of the current block, and a shape of the current block.

### Claim 6

A video encoding method, comprising:
determining a prediction mode of a current block from among an intra mode, an inter mode, and an intra block copy mode;
determining an intra prediction mode of the current block in response to the prediction mode of the current block being the intra mode;
generating prediction pixels in the current block by performing a DC intra prediction on the current block based on at least one of neighboring pixel of the current block in response to the intra prediction mode of the current block being a DC mode; and
filtering a prediction pixel in the current block by a weighting filter, and
wherein, the filtered prediction pixel by the weighting filter is determined based on a weighted sum of the top reference pixel, the left reference pixel and the prediction pixel, and
the left reference pixel of the prediction pixel is included in a same row as the prediction pixel and the top reference pixel of the prediction pixel is included in a same column as the prediction pixel,
the prediction pixel is filtered by the weighting filter in response to at least one of a first weight for the top reference pixel and a second weight for the left reference pixel greater than zero,
the first weight is determined to be zero in response to a distance from the top reference pixel greater than a predetermined value and the second weight is determined to be zero in response to a distance from the left reference pixel greater than the predetermined value,
the predetermined value is determined based on a size of the current block.

### Claim 7 (depends on 6)

The method of claim 6, wherein whether to apply the weighting filter is determined based on at least one of the intra prediction mode of the current block and a partition type of the current block.

### Claim 8 (depends on 6)

The method of claim 6,
wherein the second weight for the left reference pixel is derived based on a distance between the prediction pixel and the left reference pixel, and the first weight for the top reference pixel is derived based on a distance between the prediction pixel and the top reference pixel.

### Claim 9 (depends on 6)

The method of claim 6, wherein the left reference pixel and the top reference pixel are included in the neighboring pixels.

### Claim 10 (depends on 6)

The method of claim 6, wherein a range of the reference pixel is determined based on at least one of the intra prediction mode of the current block, a size of the current block, and a shape of the current block.

### Claim 11

A computer-readable recording medium storing a bitstream which is received and decoded by a video decoding method to reconstruct an image,
wherein the bitstream comprises information indicating an intra prediction mode of a current block, and
the video decoding method configured to:
determining a prediction mode of the current block from among an intra mode, an inter mode, and an intra block copy mode;
determining the intra prediction mode of the current block in response to the prediction mode of the current block being the intra mode;
generate prediction pixels in the current block by performing a DC intra prediction on the current block based on at least one of neighboring pixels of the current block in response to the intra prediction mode of the current block being a DC mode; and
filter a prediction pixel in the current block by a weighting filter, and
wherein, the filtered prediction pixel by the weighting filter is determined based on a weighted sum of the top reference pixel, the left reference pixel and the prediction pixel, and
the left reference pixel of the prediction pixel is included in a same row as the prediction pixel and the top reference pixel of the prediction pixel is included in a same column as the prediction pixel,
the prediction pixel is filtered by the weighting filter in response to at least one of a first weight for the top reference pixel and a second weight for the left reference pixel greater than zero,
the first weight is determined to be zero in response to a distance from the top reference pixel greater than a predetermined value and the second weight is determined to be zero in response to a distance from the left reference pixel greater than the predetermined value,
the predetermined value is determined based on a size of the current block.
