# US 2025/0159144 A1 · 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 2025/0159144 A1
- Document ID: US20250159144A1
- Status: Published application
- Kind: A1
- Application number: 19/022,560
- Filed: 2025-01-15
- Published: 2025-05-15
- 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/US20250159144A1

## 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 include receiving image information including intra prediction mode information, deriving an intra prediction mode of a current block based on the intra prediction mode information, and determining at least one reference sample line for intra prediction of a current block among a plurality of reference sample lines by selecting the at least one reference sample line. Based on an upper boundary of the current block corresponding to an upper boundary of a current coding tree block including the current block, a first reference sample line among the plurality of reference sample lines can be determined as the at least one reference sample line for intra prediction of the current block.

## Claims

### Claim 1

An image decoding method performed by an image decoding apparatus, the method comprising:
receiving image information including intra prediction mode information;
deriving an intra prediction mode of a current block based on the intra prediction mode information;
determining at least one reference sample line for intra prediction of a current block among a plurality of reference sample lines by selecting the at least one reference sample line,
wherein based on an upper boundary of the current block corresponding to an upper boundary of a current coding tree block including the current block, only a first reference sample line among the plurality of reference sample lines is determined as the at least one reference sample line for intra prediction of the current block,
wherein the first reference sample line includes upper reference samples adjacent to the current block and left reference samples adjacent to the current block,
deriving reference samples for intra prediction of the current block based on the selection of at least one reference sample line,
wherein whether a filtering is performed on the reference samples is determined based on the intra prediction mode of the current block and a size of the current block,
performing intra prediction for the current block based on the intra prediction mode and the reference samples,
wherein the performing the intra prediction for the current block comprises:
determining an interpolation filter for the intra prediction between a first interpolation filter and a second interpolation filter; and
performing the intra prediction for the current block based on the interpolation filter,
wherein filter coefficients of the interpolation filter are determined differently depending on whether the determined at least one reference sample line is the first reference sample line,
wherein the interpolation filter is determined further based on the size of the current block, and the intra prediction mode, and
wherein the first interpolation filter is determined as the interpolation filter for the current block in case the selected reference sample line is not the first reference sample line.

### Claim 2

An image encoding method performed by an image encoding apparatus, the image encoding method comprising:
determining an intra prediction mode of a current block;
determining at least one reference sample line for intra prediction of the current block among a plurality of reference sample lines by selecting the at least one reference sample line,
wherein based on an upper boundary of the current block corresponding to an upper boundary of a current coding tree block including the current block, only a first reference sample line among the plurality of reference sample lines is determined as the at least one reference sample line for intra prediction of the current block,
wherein the first reference sample line includes upper reference samples adjacent to the current block and left reference samples adjacent to the current block,
determining an intra prediction mode of the current block;
deriving reference samples for intra prediction of the current block based on the selection of at least one reference sample line,
wherein whether a filtering is performed on the reference samples is determined based on the intra prediction mode of the current block and a size of the current block,
performing intra prediction for the current block based on the intra prediction mode and the reference samples, and
encoding image information including intra prediction mode information and reference sample line information,
wherein the performing the intra prediction for the current block comprises:
determining an interpolation filter for the intra prediction between a first interpolation filter and a second interpolation filter;
performing the intra prediction for the current block based on the interpolation filter,
wherein filter coefficients of the interpolation filter are determined differently depending on whether the determined at least one reference sample line is the first reference sample line,
wherein the interpolation filter is determined further based on the size of the current block, and the intra prediction mode, and
wherein the first interpolation filter is determined as the interpolation filter for the current block in case the selected reference sample line is not the first reference sample line.

### Claim 3 (depends on 2)

A non-transitory computer-readable recording-medium storing a bitstream which is generated by the image encoding method of claim 2.

### Claim 4

A transmitting method for image data, the method comprising:
obtaining a bitstream of encoded image information, wherein the encoded image information is generated based on determining an intra prediction mode of a current block, determining at least one reference sample line for intra prediction of the current block among a plurality of reference sample lines by selecting the at least one reference sample line, wherein based on an upper boundary of the current block corresponding to an upper boundary of a current coding tree block including the current block, only a first reference sample line among the plurality of reference sample lines is determined as the at least one reference sample line for intra prediction of the current block, wherein the first reference sample line includes upper reference samples adjacent to the current block and left reference samples adjacent to the current block, determining an intra prediction mode of the current block, deriving reference samples for intra prediction of the current block based on the selection of at least one reference sample line, wherein whether a filtering is performed on the reference samples is determined based on the intra prediction mode of the current block and a size of the current block, performing intra prediction for the current block based on the intra prediction mode and the reference samples, and encoding image information including intra prediction mode information and reference sample line information; and
transmitting the image data comprising the bitstream,
wherein the performing the intra prediction for the current block comprises:
determining an interpolation filter for the intra prediction between a first interpolation filter and a second interpolation filter;
performing the intra prediction for the current block based on the interpolation filter,
wherein filter coefficients of the interpolation filter are determined differently depending on whether the determined at least one reference sample line is the first reference sample line,
wherein the interpolation filter is determined further based on the size of the current block, and the intra prediction mode, and
wherein the first interpolation filter is determined as the interpolation filter for the current block in case the selected reference sample line is not the first reference sample line.
