# US 2021/0344945 A1 · Method for encoding and decoding image information and device using same

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

- Number: US 2021/0344945 A1
- Document ID: US20210344945A1
- Status: Published application
- Kind: A1
- Application number: 17/377,203
- Filed: 2021-07-15
- Published: 2021-11-04
- Earliest claimed: 2011-01-07
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Seungwook PARK; Jaehyun Lim; Yongjoon Jeon; Hendry Hendry; Younghee Chol; Jaewon Sung; Jungsun Kim; Byeongmoon Jeon; Joonyoung Park
- Web page: https://patentgrep.com/patent/US20210344945A1

## 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/11: among a plurality of spatial predictive coding modes
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- 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/503: involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109)
- H04N 19/517: by encoding
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention relates to the encoding and decoding of image information. According to the present invention, the decoding method comprises the steps of: entropy-decoding received information; performing inter prediction on a current block based on the entropy-decoded information; and restoring images by using the prediction results, wherein, in the inter prediction step, a skip mode or merge mode is applied to the current block and movement information of the current block may be determined based on the movement information of a neighboring block of the current block.

## Claims

### Claim at position 1

1-15. (canceled)

### Claim 16

A decoding method for an inter prediction, the method comprising:
receiving, by a decoding apparatus, image information including inter prediction mode information, merge index information and residual information for a current block;
determining, by the decoding apparatus, a merge mode is used as an inter prediction mode for the current block based on the inter prediction mode information;
configuring, by the decoding apparatus, merge candidates including spatial merge candidates and a temporal merge candidate based on spatial neighboring blocks and a temporal neighboring block of the current block, wherein the temporal neighboring block is located in a collocated picture;
selecting, by the decoding apparatus, a merge candidate from the configured merge candidates for the merge mode based on the merge index information;
deriving, by the decoding apparatus, motion information of the current block based on motion information for the selected merge candidate, wherein the motion information of the current block includes a motion vector and a reference picture index;
deriving, by the decoding apparatus, prediction samples for the current block based on the motion vector and a reference picture indicated by the reference picture index;
deriving, by the decoding apparatus, residual samples for the current block based on the residual information; and
generating, by the decoding apparatus, a reconstructed picture based on the prediction samples and the residual samples,
wherein the reference picture index of the selected merge candidate which is the temporal merge candidate is set equal to 0 regardless of any of values of reference picture indexes of the spatial neighboring blocks and the temporal neighboring block,
wherein the spatial neighboring blocks include a left neighboring block, a bottom left neighboring block, a top left neighboring block, a top neighboring block and a top right neighboring block of the current block.

### Claim 17 (depends on 16)

The decoding method of claim 16, wherein the temporal neighboring block is determined as unavailable when K spatial neighboring blocks are available and K is a maximum number of the merge candidates.

### Claim 18 (depends on 16)

The decoding method of claim 16, wherein the left neighboring block is determined as unavailable when the current block is a second partition of a coding unit block comprising vertically long rectangular partitions.

### Claim 19 (depends on 18)

The encoding method of claim 18, wherein the left neighboring block is determined as unavailable when the current block is the second partition of the coding unit block, wherein a partition type of the current block is PART_N×2N, PART_nL×2N or PART_nR×2N.

### Claim 20 (depends on 16)

The decoding method of claim 16, wherein the top neighboring block is determined as unavailable when current block is a second partition of a coding unit block comprising horizontally long rectangular partitions.

### Claim 21 (depends on 20)

The decoding method of claim 20, wherein the top neighboring block is determined as unavailable when the current block is the second partition of the coding unit block, wherein a partition type of the current block is PART_2N×N, PART_2N×nU or PART_2N×nD.

### Claim 22

An encoding method for an inter prediction, the method comprising:
determining, by an encoding apparatus, a merge mode is used as an inter prediction mode for a current block;
configuring, by the encoding apparatus, merge candidates including spatial merge candidates and a temporal merge candidate based on spatial neighboring blocks and a temporal neighboring block of the current block, wherein the temporal neighboring block is located in a collocated picture;
selecting, by the encoding apparatus, a merge candidate from the configured merge candidates for the merge mode;
deriving, by the encoding apparatus, motion information of the current block based on motion information for the selected merge candidate, wherein the motion information of the current block includes a motion vector and a reference picture index;
deriving, by the encoding apparatus, prediction samples for the current block based on the motion vector and a reference picture indicated by the reference picture index;
deriving, by the encoding apparatus, residual samples for the current block based on the prediction samples; and
entropy encoding, by the encoding apparatus, image information including inter prediction mode information representing the inter prediction mode, merge index information representing the selected merge candidate and residual information for the residual samples,
wherein the reference picture index of the selected merge candidate which is the temporal merge candidate is set equal to 0 regardless of any of values of reference picture indexes of the spatial neighboring blocks and the temporal neighboring block,
wherein the spatial neighboring blocks include a left neighboring block, a bottom left neighboring block, a top left neighboring block, a top neighboring block and a top right neighboring block of the current block.

### Claim 23 (depends on 22)

The encoding method of claim 22, wherein the temporal neighboring block is determined as unavailable when K spatial neighboring blocks are available and K is a maximum number of the merge candidates.

### Claim 24 (depends on 22)

The encoding method of claim 22, wherein the left neighboring block is determined as unavailable when the current block is a second partition of a coding unit block comprising vertically long rectangular partitions.

### Claim 25 (depends on 24)

The encoding method of claim 24, wherein the left neighboring block is determined as unavailable when the current block is the second partition of the coding unit block, wherein a partition type of the current block is PART_N×2N, PART_nL×2N or PART_nR×2N.

### Claim 26 (depends on 22)

The encoding method of claim 22, wherein the top neighboring block is determined as unavailable when current block is a second partition of a coding unit block comprising horizontally long rectangular partitions.

### Claim 27 (depends on 26)

The encoding method of claim 26, wherein the top neighboring block is determined as unavailable when the current block is the second partition of the coding unit block, wherein a partition type of the current block is PART_2N×N, PART_2N×nU or PART_2N×nD.

### Claim 28

A non-transitory computer-readable storage medium storing image information generated by a method, the method comprising:
determining a merge mode is used as an inter prediction mode for a current block;
configuring merge candidates including spatial merge candidates and a temporal merge candidate based on spatial neighboring blocks and a temporal neighboring block of the current block, wherein the temporal neighboring block is located in a collocated picture;
selecting a merge candidate from the configured merge candidates for the merge mode;
deriving motion information of the current block based on motion information for the selected merge candidate, wherein the motion information of the current block includes a motion vector and a reference picture index;
deriving prediction samples for the current block based on the motion vector and a reference picture indicated by the reference picture index;
deriving residual samples for the current block based on the prediction samples; and
generating the image information including inter prediction mode information representing the inter prediction mode, merge index information representing the selected merge candidate and residual information for the residual samples,
wherein the reference picture index of the selected merge candidate which is the temporal merge candidate is set equal to 0 regardless of any of values of reference picture indexes of the spatial neighboring blocks and the temporal neighboring block,
wherein the spatial neighboring blocks include a left neighboring block, a bottom left neighboring block, a top left neighboring block, a top neighboring block and a top right neighboring block of the current block.
