# US 12,192,451 B2 · Method and device for encoding/decoding image, and recording medium in which bitstream is stored

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

- Number: US 12,192,451 B2
- Document ID: US12192451B2
- Status: Granted
- Kind: B2
- Application number: 18/223,149
- Filed: 2023-07-18
- Published: 2024-01-25
- Granted: 2025-01-07
- Earliest claimed: 2017-07-06
- Assignees: Lx Semicon Co., Ltd.
- Applicants: LX Semicon Co., Ltd.
- Inventors: Jin Ho Lee; Jung Won Kang; Hyun Suk Ko; Sung Chang Lim; Ha Hyun Lee; Dong San Jun; Hui Yong Kim
- Web page: https://patentgrep.com/patent/US12192451B2

## CPC

- G06T 9/004: {Predictors, e.g. intraframe, interframe coding}
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoding/decoding method and apparatus for performing intra prediction using a plurality of reference sample lines are provided. An image decoding method may comprise configuring a plurality of reference sample lines, reconstructing an intra prediction mode of a current block, and performing intra prediction for the current block based on the intra prediction mode and the plurality of reference sample lines.

## Claims

### Claim 1

An image decoding method performed by an image decoding apparatus, the method comprising:
deriving a prediction mode of a current block;
deriving reference samples neighboring the current block;
deriving prediction samples of the current block based on the prediction mode of the current block and the reference samples; and
generating reconstructed samples of the current block based on the prediction samples,
wherein whether a filtering is applied to the reference samples is determined based on the prediction mode of the current block and a size of the current block,
wherein, for the filtering for the reference samples, a 3-tap filter or a 5-tap filter is used based on the size of the current block,
wherein based on the prediction mode being a directional mode, a 4-tap interpolation filter is used for deriving the prediction samples,
wherein based on a case that the filtering is applied to the reference samples, the filtering for the reference samples is performed based on neighboring samples of a reference sample, and
wherein the neighboring samples of the reference sample include a first sample adjacent to the reference sample in a horizontal direction and a second sample adjacent to the reference sample in a vertical direction.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein the prediction samples are derived based on a first prediction sample derived based on a first intra prediction mode and a second prediction sample derived based on a second intra prediction mode, and
wherein one of the first intra prediction mode and the second intra prediction mode is a non-directional mode.

### Claim 3 (depends on 1)

The image decoding method of claim 1, wherein the filtering for the reference samples is performed based on a filter strength, and
wherein the filter strength is derived based on the size of the current block.

### Claim 4

An image encoding method performed by an image encoding apparatus, the method comprising:
deriving a prediction mode of a current block;
deriving reference samples neighboring the current block;
deriving prediction samples of the current block based on the prediction mode of the current block and the reference samples;
generating residual samples of the current block based on the prediction samples; and
encoding image information comprising prediction mode information for the current block,
wherein whether a filtering is applied to the reference samples is determined based on the prediction mode of the current block and a size of the current block,
wherein, for the filtering for the reference samples, a 3-tap filter or a 5-tap filter is used based on the size of the current block,
wherein based on the prediction mode being a directional mode, a 4-tap interpolation filter is used for deriving the prediction samples,
wherein based on a case that the filtering is applied to the reference samples, the filtering for the reference samples is performed based on neighboring samples of a reference sample, and
wherein the neighboring samples of the reference sample include a first sample adjacent to the reference sample in a horizontal direction and a second sample adjacent to the reference sample in a vertical direction.

### Claim 5 (depends on 4)

The image encoding method of claim 4, wherein the prediction samples are derived based on a first prediction sample derived based on a first intra prediction mode and a second prediction sample derived based on a second intra prediction mode, and
wherein one of the first intra prediction mode and the second intra prediction mode is a non-directional mode.

### Claim 6 (depends on 4)

The image encoding method of claim 4, wherein the filtering for the reference samples is performed based on a filter strength, and
wherein the filter strength is derived based on the size of the current block.

### Claim 7

A transmission method for image data, the method comprising:
obtaining a bitstream for the image data, wherein the bitstream is generated based on deriving a prediction mode of a current block, deriving reference samples neighboring the current block, deriving prediction samples of the current block based on the prediction mode of the current block and the reference samples, generating residual samples of the current block based on the prediction samples, and encoding image information comprising prediction mode information for the current block; and
transmitting the image data comprising the bitstream,
wherein whether a filtering is applied to the reference samples is determined based on the prediction mode of the current block and a size of the current block,
wherein, for the filtering for the reference samples, a 3-tap filter or a 5-tap filter is used based on the size of the current block,
wherein based on the prediction mode being a directional mode, a 4-tap interpolation filter is used for deriving the prediction samples,
wherein based on a case that the filtering is applied to the reference samples, the filtering for the reference samples is performed based on neighboring samples of a reference sample, and
wherein the neighboring samples of the reference sample include a first sample adjacent to the reference sample in a horizontal direction and a second sample adjacent to the reference sample in a vertical direction.
