# US 2025/0159238 A1 · Image encoding/decoding method and device, 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/0159238 A1
- Document ID: US20250159238A1
- Status: Published application
- Kind: A1
- Application number: 19/023,027
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2018-03-21
- Assignees: Lx Semicon Co., Ltd.
- Applicants: LX Semicon Co., Ltd.
- Inventors: Sung Chang LIM; Jung Won KANG; Ha Hyun LEE; Jin Ho LEE; Hui Yong KIM
- Web page: https://patentgrep.com/patent/US20250159238A1

## CPC

- H04N 19/513: Processing of motion vectors
- 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/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/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention is about an image encoding/decoding method and apparatus. According to present invention, a method of decoding an image, the method comprising, loading information of a neighboring block of a current block; decoding a current block using the loaded information of the neighboring block; and saving information of the current block that is decoded.

## Claims

### Claim 1

A method of decoding an image, the method comprising:
obtaining prediction related information and residual information of a current block;
determining whether the current block is adjacent to an upper boundary of a current coding tree block of the current block;
deriving a spatial sub-block merge candidate of the current block based on a top neighboring block of the current block;
deriving a temporal sub-block merge candidate of the current block based on a temporal neighboring block of the current block;
constructing sub-block merge candidate list of the current block based on the spatial sub-block merge candidate and the temporal sub-block merge candidate;
determining sub-block merge information of the current block based on the prediction related information; and
deriving a prediction sample of the current block based on the sub-block merge information;
deriving a residual sample of the current block based on the residual information for the current block; and
generating a reconstructed picture based on the prediction sample and the residual sample,
based on the current block being adjacent to the upper boundary of the current coding tree block of the current block, the spatial sub-block merge candidate is determined based on a motion vector corresponding to a location adjacent to the upper boundary of a current coding tree block of the current block, and
the location adjacent to the upper boundary of the current coding tree block comprises a lower-left location of the top neighboring block and a lower-right location of the top neighboring block.

### Claim 2

A method of encoding an image, the method comprising:
determining whether a current block is adjacent to an upper boundary of a current coding tree block of the current block;
deriving a spatial sub-block merge candidate of the current block based on a top neighboring block of the current block;
deriving a temporal sub-block merge candidate of the current block based on a temporal neighboring block of the current block;
constructing sub-block merge candidate list of the current block based on the spatial sub-block merge candidate and the temporal sub-block merge candidate;
determining sub-block merge information of the current block based on the sub-block merge candidate list;
deriving a prediction sample of the current block based on the sub-block merge information;
deriving a residual sample of the current block based on the prediction sample; and
encoding image information including prediction related information and residual information of the current block,
based on the current block being adjacent to the upper boundary of the current coding tree block of the current block, the spatial sub-block merge candidate is determined based on a motion vector corresponding to a location adjacent to the upper boundary of a current coding tree block of the current block, and
the location adjacent to the upper boundary of the current coding tree block comprises a lower-left location of the top neighboring block and a lower-right location of the top neighboring block.

### Claim 3

A non-transitory storage medium storing a program which causes an image encoding method for generating a bitstream is performed when the program is performed, wherein the image encoding method including:
determining whether a current block is adjacent to an upper boundary of a current coding tree block of the current block;
deriving a spatial sub-block merge candidate of the current block based on a top neighboring block of the current block;
deriving a temporal sub-block merge candidate of the current block based on a temporal neighboring block of the current block;
constructing sub-block merge candidate list of the current block based on the spatial sub-block merge candidate and the temporal sub-block merge candidate;
determining sub-block merge information of the current block based on the sub-block merge candidate list;
deriving a prediction sample of the current block based on the sub-block merge information;
deriving a residual sample of the current block based on the prediction sample;
encoding image information including prediction related information and residual information of the current block; and
generating the bitstream including the image information,
based on the current block being adjacent to the upper boundary of the current coding tree block of the current block, the spatial sub-block merge candidate is determined based on a motion vector corresponding to a location adjacent to the upper boundary of a current coding tree block of the current block, and
the location adjacent to the upper boundary of the current coding tree block comprises a lower-left location of the top neighboring block and a lower-right location of the top neighboring block.

### Claim 4

A transmission method for image data, the method comprising:
obtaining a bitstream of encoded image information, wherein the encoded image information is generated based on determining whether a current block is adjacent to an upper boundary of a current coding tree block of the current block, deriving a spatial sub-block merge candidate of the current block based on a top neighboring block of the current block, deriving a temporal sub-block merge candidate of the current block based on a temporal neighboring block of the current block, constructing sub-block merge candidate list of the current block based on the spatial sub-block merge candidate and the temporal sub-block merge candidate, determining sub-block merge information of the current block based on the sub-block merge candidate list, deriving a prediction sample of the current block based on the sub-block merge information, deriving a residual sample of the current block based on the prediction sample, and encoding image information including prediction related information and residual information of the current block; and
transmitting the image data comprising the bitstream,
based on the current block being adjacent to the upper boundary of the current coding tree block of the current block, the spatial sub-block merge candidate is determined based on a motion vector corresponding to a location adjacent to the upper boundary of a current coding tree block of the current block, and
the location adjacent to the upper boundary of the current coding tree block comprises a lower-left location of the top neighboring block and a lower-right location of the top neighboring block.
