# US 2025/0159147 A1 · Intra prediction 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 2025/0159147 A1
- Document ID: US20250159147A1
- Status: Published application
- Kind: A1
- Application number: 19/022,763
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2016-06-22
- Assignees: Lx Semicon Co., Ltd.
- Applicants: LX Semicon Co., Ltd.
- Inventors: Hyun Suk KO; Jin Ho LEE; Sung Chang LIM; Jung Won KANG; Ha Hyun LEE; Dong San JUN; Seung Hyun CHO; Hui Yong KIM; Jin Soo CHOI
- Web page: https://patentgrep.com/patent/US20250159147A1

## 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/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/593: involving spatial prediction techniques
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An intra prediction method and apparatus are discussed. In an example, an image decoding method can include deriving an intra prediction mode of a current block, deriving neighboring reference samples of the current block, deriving filtered reference samples by performing filtering on the neighboring reference samples, and generating a predicted block based on the filtered reference samples. For deriving the neighboring reference samples, an unavailable neighboring reference sample can be substituted by using an available neighboring reference sample.

## Claims

### Claim 1

An image decoding method performed by a decoding apparatus, the method comprising:
deriving an intra prediction mode of a current block;
deriving neighboring reference samples of the current block;
deriving filtered reference samples by performing filtering on the neighboring reference samples; and
generating a predicted block based on the filtered reference samples,
wherein for deriving the neighboring reference samples, an unavailable neighboring reference sample is substituted by using an available neighboring reference sample,
wherein based on that a specific neighboring reference sample is located in a different slice from a slice to which the current block belongs, the specific neighboring reference sample is determined as the unavailable neighboring reference sample,
wherein the filtering is performed based on the intra prediction mode and a size of the current block,
wherein a distance variable is determined based on the intra prediction mode and a threshold value is determined based on the size of the current block,
wherein the filtering is performed based on the distance variable and the threshold value,
wherein for determining the threshold value based on the size of the current block,
a first threshold value is set for a 4×4 block, a second threshold value is set for an 8×8 block, a third threshold value is set for a 16×16 block, a fourth threshold value is set for a 32×32 block, and a fifth threshold value is set for a 64×64 block,
wherein the second threshold value for the 8×8 block is smaller than the first threshold value for the 4×4 block, the third threshold value for the 16×16 block is smaller than the second threshold value for the 8×8 block, the fourth threshold value for the 32×32 block is smaller than the third threshold value for the 16×16 block, and the fifth threshold value for the 64×64 block is not smaller than the fourth threshold value for the 32×32 block,
wherein first threshold value for the 4×4 block has the greatest value among the threshold values.

### Claim 2 (depends on 1)

The method of claim 1, wherein the distance variable is determined based on a first difference between a mode number of the intra prediction mode of the current block and a mode number of a vertical directional mode and a second difference between the mode number of the intra prediction mode of the current block and a mode number of a horizontal directional mode.

### Claim 3 (depends on 2)

The method of claim 2, wherein the distance variable is set equal to a minimum value between an absolute value of the first difference and an absolute value of the second difference.

### Claim 4

An image encoding method performed by an encoding apparatus, the method comprising:
determining an intra prediction mode of a current block;
deriving neighboring reference samples of the current block;
deriving filtered reference samples by performing filtering on the neighboring reference samples; and
generating a predicted block based on the filtered reference samples,
wherein for deriving the neighboring reference samples, an unavailable neighboring reference sample is substituted by using an available neighboring reference sample,
wherein based on that a specific neighboring reference sample is located in a different slice from a slice to which the current block belongs, the specific neighboring reference sample is determined as the unavailable neighboring reference sample,
wherein the filtering is performed based on the intra prediction mode and a size of the current block,
wherein a distance variable is determined based on the intra prediction mode and a threshold value is determined based on the size of the current block,
wherein the filtering is performed based on the distance variable and the threshold value,
wherein for determining the threshold value based on the size of the current block,
a first threshold value is set for a 4×4 block, a second threshold value is set for an 8×8 block, a third threshold value is set for a 16×16 block, a fourth threshold value is set for a 32×32 block, and a fifth threshold value is set for a 64×64 block,
wherein the second threshold value for the 8×8 block is smaller than the first threshold value for the 4×4 block, the third threshold value for the 16×16 block is smaller than the second threshold value for the 8×8 block, the fourth threshold value for the 32×32 block is smaller than the third threshold value for the 16×16 block, and the fifth threshold value for the 64×64 block is not smaller than the fourth threshold value for the 32×32 block,
wherein first threshold value for the 4×4 block has the greatest value among the threshold values.

### Claim 5 (depends on 4)

The method of claim 4, wherein the distance variable is determined based on a first difference between a mode number of the intra prediction mode of the current block and a mode number of a vertical directional mode and a second difference between the mode number of the intra prediction mode of the current block and a mode number of a horizontal directional mode.

### Claim 6 (depends on 5)

The method of claim 5, wherein the distance variable is set equal to a minimum value between an absolute value of the first difference and an absolute value of the second difference.

### Claim 7

A transmission method for image data, the method comprising:
obtaining a bitstream generated based on an image encoding method, wherein the image encoding method comprises determining an intra prediction mode of a current block, deriving neighboring reference samples of the current block, deriving filtered reference samples by performing filtering on the neighboring reference samples, and generating a predicted block based on the filtered reference samples; and
transmitting the image data comprising the bitstream,
wherein for deriving the neighboring reference samples, an unavailable neighboring reference sample is substituted by using an available neighboring reference sample,
wherein based on that a specific neighboring reference sample is located in a different slice from a slice to which the current block belongs, the specific neighboring reference sample is determined as the unavailable neighboring reference sample,
wherein the filtering is performed based on the intra prediction mode and a size of the current block,
wherein a distance variable is determined based on the intra prediction mode and a threshold value is determined based on the size of the current block,
wherein the filtering is performed based on the distance variable and the threshold value,
wherein for determining the threshold value based on the size of the current block,
a first threshold value is set for a 4×4 block, a second threshold value is set for an 8×8 block, a third threshold value is set for a 16×16 block, a fourth threshold value is set for a 32×32 block, and a fifth threshold value is set for a 64×64 block,
wherein the second threshold value for the 8×8 block is smaller than the first threshold value for the 4×4 block, the third threshold value for the 16×16 block is smaller than the second threshold value for the 8×8 block, the fourth threshold value for the 32×32 block is smaller than the third threshold value for the 16×16 block, and the fifth threshold value for the 64×64 block is not smaller than the fourth threshold value for the 32×32 block,
wherein first threshold value for the 4×4 block has the greatest value among the threshold values.

### Claim 8 (depends on 7)

The method of claim 7, wherein the distance variable is determined based on a first difference between a mode number of the intra prediction mode of the current block and a mode number of a vertical directional mode and a second difference between the mode number of the intra prediction mode of the current block and a mode number of a horizontal directional mode.

### Claim 9 (depends on 8)

The method of claim 8, wherein the distance variable is set equal to a minimum value between an absolute value of the first difference and an absolute value of the second difference.
