# US 2025/0159253 A1 · Image prediction method and apparatus for performing intra prediction

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

- Number: US 2025/0159253 A1
- Document ID: US20250159253A1
- Status: Published application
- Kind: A1
- Application number: 19/026,252
- Filed: 2025-01-16
- Published: 2025-05-15
- Earliest claimed: 2018-09-14
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Sunmi YOO; Jin Heo
- Web page: https://patentgrep.com/patent/US20250159253A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method according to the present document may comprise the steps of: deriving an intra prediction mode for a current block; deriving reference samples located around the current block; generating a prediction sample for the current block on the basis of the intra prediction mode and the reference samples; and generating residual samples for the current block on the basis of the prediction sample, wherein the step of generating the prediction sample for the current block may comprise the steps of: deriving an interpolation filter, which is to be applied to the reference sample, on the basis of the prediction mode of the current block or the size of the current block; and generating the prediction sample by applying the derived interpolation filter to the reference sample.

## Claims

### Claim 1

A decoding apparatus for an image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain image information including prediction mode information and residual information through a bitstream;
derive an intra prediction mode for a current block based on the prediction mode information;
derive reference samples contiguous to the current block;
generate prediction samples for the current block based on the intra prediction mode and the reference samples;
generate residual samples for the current block based on the residual information; and
generate reconstructed samples for the current block based on the prediction samples and the residual samples,
wherein the generating of the prediction samples for the current block includes:
deriving an interpolation filter to be applied to the reference samples based on a prediction mode of the current block or a size of the current block; and
generating the prediction samples by applying the derived interpolation filter to the reference samples,
wherein the deriving of the interpolation filter includes:
comparing a distance which is derived based on the prediction mode of the current block with a predetermined threshold value which is derived based on the size of the current block; and
deriving the interpolation filter as a Gaussian filter based on the distance exceeding the predetermined threshold value or as a cubic filter based on the distance being less than or equal to the predetermined threshold value.

### Claim 2 (depends on 1)

The decoding apparatus of claim 1, wherein the deriving of the interpolation filter includes:
comparing a prediction angle between a direction of the prediction mode of the current block and a vertical direction or a horizontal direction with a preset threshold value; and
deriving the interpolation filter as either a first interpolation filter or the second interpolation filter depending on a comparison result of the prediction angle and the preset threshold value.

### Claim 3 (depends on 2)

The decoding apparatus of claim 2, wherein the preset threshold value is set differently depending on the size of the current block.

### Claim 4 (depends on 2)

The decoding apparatus of claim 2, wherein:
the interpolation filter is derived as the first interpolation filter based on the prediction angle being exceed the threshold value;
the interpolation filter is derived as the second interpolation filter based on the prediction angle being less than or equal to the threshold value; and
the first interpolation filter is a Gaussian filter, and the second interpolation filter is a cubic filter.

### Claim 5

An encoding apparatus for an image encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
derive an intra prediction mode for a current block;
derive reference samples contiguous to the current block;
generate prediction samples for the current block based on the intra prediction mode and the reference samples;
generate residual samples for the current block based on the prediction samples;
derive transform coefficients based on a transform process for the residual samples;
generate residual information based on the transform coefficients; and
encode image information including information on the intra prediction mode and the residual information,
wherein the generating of the prediction samples for the current block includes:
deriving an interpolation filter to be applied to the reference samples based on a prediction mode of the current block or a size of the current block; and
generating the prediction samples by applying the derived interpolation filter to the reference samples,
wherein the deriving of the interpolation filter includes:
comparing a distance which is derived based on the prediction mode of the current block with a predetermined threshold value which is derived based on the size of the current block; and
deriving the interpolation filter as a Gaussian filter based on the distance exceeding the predetermined threshold value or as a cubic filter based on the distance being less than or equal to the predetermined threshold value.

### Claim 6 (depends on 5)

The encoding apparatus of claim 5, wherein the deriving of the interpolation filter includes:
comparing a prediction angle between a direction of the prediction mode of the current block and a vertical direction or a horizontal direction with a preset threshold value; and
deriving the interpolation filter as either a first interpolation filter or the second interpolation filter depending on a comparison result of the prediction angle and the preset threshold value.

### Claim 7 (depends on 6)

The encoding apparatus of claim 6, wherein the preset threshold value is set differently depending on the size of the current block.

### Claim 8 (depends on 6)

The encoding apparatus of claim 6, wherein:
the interpolation filter is derived as the first interpolation filter based on the prediction angle being exceed the threshold value;
the interpolation filter is derived as the second interpolation filter based on the prediction angle being less than or equal to the threshold value; and
the first interpolation filter is a Gaussian filter, and the second interpolation filter is a cubic filter.

### Claim 9

An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream for the image, wherein the bitstream is generated based on deriving an intra prediction mode for a current block, deriving reference samples contiguous to the current block, generating prediction samples for the current block based on the intra prediction mode and the reference samples, generating residual samples for the current block based on the prediction samples, deriving transform coefficients based on a transform process for the residual samples, generating residual information based on the transform coefficients, and encoding image information including information on the intra prediction mode and the residual information; and
a transmitter configured to transmit the data comprising the bitstream,
wherein the generating of the prediction samples for the current block includes:
deriving an interpolation filter to be applied to the reference samples based on a prediction mode of the current block or a size of the current block; and
generating the prediction samples by applying the derived interpolation filter to the reference samples,
wherein the deriving of the interpolation filter includes:
comparing a distance which is derived based on the prediction mode of the current block with a predetermined threshold value which is derived based on the size of the current block; and
deriving the interpolation filter as a Gaussian filter based on the distance exceeding the predetermined threshold value or as a cubic filter based on the distance being less than or equal to the predetermined threshold value.
