# US 2021/0176472 A1 · Overlapped block motion compensation using spatial neighbors

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

- Number: US 2021/0176472 A1
- Document ID: US20210176472A1
- Status: Published application
- Kind: A1
- Application number: 17/173,734
- Filed: 2021-02-11
- Published: 2021-06-10
- Earliest claimed: 2018-08-24
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Hongbin LIU; Li ZHANG; Kai ZHANG; Yue WANG
- Web page: https://patentgrep.com/patent/US20210176472A1

## CPC

- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/583: Motion compensation with overlapping blocks
- 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/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- 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/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 19/31: in the temporal domain
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/52: by predictive encoding
- 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/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Devices, systems and methods for digital video coding, which includes an overlapped block motion compensation (OBMC) process based on spatially neighboring blocks, are described. An exemplary method for video processing includes generating a motion information associated with a current video block; generating, based on a weighted sum of at least two temporary prediction blocks, a prediction block for the current video block, a first of the at least two temporary prediction blocks being based on the motion information, and a second of the at least two temporary prediction blocks being based on an intra prediction mode of a neighboring block; and performing, based on the prediction block, a conversion between the current video block and a bitstream representation of the current video block.

## Claims

### Claim 1

A method for video processing, comprising:
generating, based on a weighted sum of a first prediction sample and a second prediction sample, a prediction block, wherein the first prediction sample is based on a first motion information associated with a current video block, wherein the second prediction sample is based on a second motion information associated with at least one neighboring block of the current video block, and wherein a weighting factor of the second prediction sample is based on a difference between the first prediction sample and the second prediction sample; and
performing, based on the prediction block, a conversion between the current video block and a bitstream representation of the current video block.

### Claim 2 (depends on 1)

The method of claim 1, wherein a weighting factor for the first prediction sample or the weighting factor for the second prediction sample is selected from a predefined weighting factor set, and wherein the predefined weighting factor set is { 1/32, 1/16, ⅛, ¼, ½}.

### Claim 3 (depends on 1)

The method of claim 1, wherein the weighting factor for the second prediction sample is increased to ½ upon a determination that the difference between the first prediction sample and the second prediction sample is decreasing to zero.

### Claim 4 (depends on 1)

The method of claim 1, wherein a same weighting factor is assigned to a group of pixels in the current video block, and
wherein the group of pixels comprises pixels in one or more columns of the current video block or pixels in one or more rows of the current video block; or
wherein the group of pixels is a subblock of the current video block, wherein a size of the subblock is M×N, and wherein M and N are positive integers; or
wherein the group of pixels comprises pixels with values in a range [Vmax, Vmin], and wherein Vmax and Vmin are positive integers.

### Claim 5 (depends on 4)

The method of claim 4, wherein each of the group of pixels is associated with a corresponding first prediction sample and a corresponding second prediction sample, and
wherein the group of pixels comprises pixels with the difference between the corresponding first prediction sample and the corresponding second prediction sample being within a range [Vmax, Vmin], and wherein Vmax and Vmin are positive integers; or alternatively
wherein each of the group of pixels is associated with a corresponding first prediction sample and a corresponding second prediction sample, and wherein the same weighting factor is based on an average value of the difference between the corresponding first prediction sample and the corresponding second prediction sample for all pixels in the group of pixels.

### Claim 6 (depends on 1)

The method of claim 1, wherein an absolute value of a difference between the first prediction sample and the second prediction sample is less than or equal to a threshold that is greater than zero.

### Claim 7 (depends on 1)

The method of claim 1, wherein a weighting factor for the first prediction sample or the weighting factor for the second prediction sample is based on a pixel position and a value of the difference between the first prediction sample and the second prediction sample, or alternatively, wherein the weighting factor of the second prediction sample is further based on a difference between the first motion information and the second motion information.

### Claim 8 (depends on 1)

The method of claim 1, wherein performing the conversion is based on a coding mode of the current video block, a size or a shape of the current video block, or a size of a sub-block of the current video block, and
wherein the coding mode of the current video block comprises a conventional translation motion with an affine mode being disabled; or
wherein a product of a height of the current video block and a width of a current video block is greater than or equal to a threshold; or
wherein a height of the current video block is greater than or equal to a first threshold, and wherein a width of the current video block is greater than or equal to a second threshold.

### Claim 9 (depends on 8)

The method of claim 8, wherein performing the conversion is further based on a slice type of a slice comprising the current video block, a low-delay check flag or a temporal layer, and wherein performing the conversion is further based on signaling in a sequence parameter set (SPS), a picture parameter set (PPS), a video parameter set (VPS), a slice header, a coding tree unit (CTU), a coding unit (CU), a group of CTUs or a group of CUs.

### Claim 10 (depends on 1)

The method of claim 1, wherein the performing the conversion comprises applying the motion compensation process on a luma component of the current video block, and applying the motion compensation process on one or more of a plurality of chroma components of the current video block.

### Claim 11 (depends on 1)

The method of claim 1, wherein the at least one neighboring block comprises four neighboring blocks, and wherein the generating the prediction block is part of an overlapped block motion compensation (OBMC) process.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
generating, based on a weighted sum of at least two temporary prediction blocks, a prediction block for the current video block, wherein a first of the at least two temporary prediction blocks is based on the first motion information associated with the current video block, and wherein a second of the at least two temporary prediction blocks is based on an intra prediction mode of the at least one neighboring block of the current video block.

### Claim 13 (depends on 12)

The method of claim 12, wherein a current prediction unit (PU) or coding unit (CU), comprising the current video block, is coded with an inter prediction mode, and wherein the at least one neighboring block is coded with the intra prediction mode.

### Claim 14 (depends on 1)

The method of claim 1, further comprising: generating, based on a weighted sum of a at least two temporary prediction blocks, a prediction block for a current video block, wherein a first of the at least two temporary prediction blocks is based on an intra prediction mode of the current video block, and wherein a second of the at least two temporary prediction blocks is based on the second motion information associated with the at least one neighboring block of the current video block.

### Claim 15 (depends on 14)

The method of claim 14, wherein a current prediction unit (PU) or coding unit (CU), comprising the current video block, is coded with the intra prediction mode, and wherein the at least one neighboring block is coded with an inter prediction mode or coded with another intra prediction mode.

### Claim 16 (depends on 1)

The method of claim 1, wherein performing the conversion comprises encoding the current video block into the bitstream representation.

### Claim 17 (depends on 1)

The method of claim 1, wherein performing the conversion comprises decoding the current video block from the bitstream representation.

### Claim 18

An apparatus for video processing comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
generate, based on a weighted sum of a first prediction sample and a second prediction sample, a prediction block, wherein the first prediction sample is based on a first motion information associated with a current video block, wherein the second prediction sample is based on a second motion information associated with at least one neighboring block of the current video block, and wherein a weighting factor of the second prediction sample is based on a difference between the first prediction sample and the second prediction sample; and
perform, based on the prediction block, a conversion between the current video block and a bitstream representation of the current video block.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
generate, based on a weighted sum of a first prediction sample and a second prediction sample, a prediction block, wherein the first prediction sample is based on a first motion information associated with a current video block, wherein the second prediction sample is based on a second motion information associated with at least one neighboring block of the current video block, and wherein a weighting factor of the second prediction sample is based on a difference between the first prediction sample and the second prediction sample; and
perform, based on the prediction block, a conversion between the current video block and a bitstream representation of the current video block.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream representation which is generated by a method performed by a video processing apparatus, wherein the method comprises:
generating, based on a weighted sum of a first prediction sample and a second prediction sample, a prediction block, wherein the first prediction sample is based on a first motion information associated with a current video block, wherein the second prediction sample is based on a second motion information associated with at least one neighboring block of the current video block, and wherein a weighting factor of the second prediction sample is based on a difference between the first prediction sample and the second prediction sample; and
generating, based on the prediction block, the bitstream representation from the current video block.
