# US 9,357,218 B2 · Method and apparatus for processing a video signal

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

- Number: US 9,357,218 B2
- Document ID: US9357218B2
- Status: Granted
- Kind: B2
- Application number: 14/624,739
- Filed: 2015-02-18
- Published: 2015-06-11
- Granted: 2016-05-31
- Earliest claimed: 2010-05-04
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Seungwook Park; Joonyoung Park; Jungsun Kim; Younghee Choi; Yongjoon Jeon; Jaewon Sung; Byeongmoon Jeon; Jaehyun Lim
- Web page: https://patentgrep.com/patent/US9357218B2

## CPC

- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- 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/51: Motion estimation or motion compensation
- H04N 19/521: {for estimating the reliability of the determined motion vectors or motion vector field, e.g. for smoothing the motion vector field or for correcting motion vectors}
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention discloses a method and apparatus for encoding or decoding a video signal. The method for processing a video signal according to the present invention uses a merging mode in which prediction information on a neighbor unit is used instead of transmitting prediction information on the present unit, so as to improve coding efficiency. In this case, the number of available candidate units for merging among the units in a predetermined position is determined, and information for the merging mode is acquired on the basis of the number of the available candidate units for merging. The unit to be merged is determined using the information for the merging mode, and prediction information on the unit to be merged is acquired. The prediction value for the present unit is acquired using the prediction information on the unit to be merged, and the present unit is restored using the acquired prediction value.

## Claims

### Claim 1

A method for decoding a video signal comprising at least one coding block with a decoding apparatus, comprising:
obtaining, with the decoding apparatus, a plurality of prediction blocks being partitioned from the coding block;
obtaining, with the decoding apparatus, merge flag information of a current prediction block of the plurality of prediction blocks from the video signal; and
decoding, with the decoding apparatus, the current prediction block based on prediction information of a merging candidate selected from among merging candidates when the merge flag information indicates that prediction information of the current prediction block is determined by prediction information of one of the merging candidates, the merging candidates comprising at least one neighboring prediction block adjacent to the current prediction block,
wherein, when the coding block is partitioned into two prediction blocks each of which has a horizontal size greater than a vertical size, and the current prediction block is a bottom prediction block of the two prediction blocks, a top prediction block of the two prediction blocks is not included in the merging candidates.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the prediction information comprises reference index information and motion vector information of a corresponding prediction block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the current prediction block is coded in an inter-prediction mode.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the at least one neighboring prediction block included in the merging candidates is coded in an inter-prediction mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein when the coding block is partitioned into two prediction blocks each of which has a vertical size greater than a horizontal size, and the current prediction block is a right prediction block of the two prediction blocks, a left prediction block of the two prediction blocks is not included in the merging candidates.

### Claim 6 (depends on 1)

The method of claim 1, wherein the neighboring prediction blocks include at least one of a left neighboring prediction block, a top neighboring prediction block, a top-left neighboring prediction block, a top-right neighboring prediction block, or a bottom-left neighboring prediction block.

### Claim 7 (depends on 6)

The method of claim 6, wherein, when prediction information of the top neighboring prediction block is identical to prediction information of the left neighboring prediction block, the top neighboring prediction block is not included in the merging candidates.

### Claim 8 (depends on 1)

The method of claim 1, wherein merge index information is obtained from the video signal when a number of the at least one neighboring prediction block included in the merging candidates is greater than one.

### Claim 9 (depends on 1)

The method of claim 1, wherein the merging candidates includes at least one spatial merging candidate and at least one temporal merging candidate, and
wherein the spatial merging candidate corresponds to a neighboring prediction block adjacent to the current prediction block within a picture including the current prediction block, and the temporal merging candidate corresponds to a prediction block located in a different picture than the picture including the current prediction block.

### Claim 10 (depends on 9)

The method of claim 9, wherein the at least one spatial merging candidate includes up to five neighboring prediction blocks adjacent to the current prediction block.

### Claim 11 (depends on 9)

The method of claim 9, wherein a maximum number of the merging candidates is six.

### Claim 12 (depends on 8)

The method of claim 8, wherein the selected merging candidate is indicated by the merge index information from among the merging candidates.
