# US 2025/0386038 A1 · Partition derivation of geometric partition

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

- Number: US 2025/0386038 A1
- Document ID: US20250386038A1
- Status: Published application
- Kind: A1
- Application number: 19/301,678
- Filed: 2025-08-15
- Published: 2025-12-18
- Earliest claimed: 2023-10-18
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Lien-Fei CHEN; Roman CHERNYAK; Biao WANG; Xin ZHAO; Shan LIU
- Web page: https://patentgrep.com/patent/US20250386038A1

## CPC

- 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/176: the region being a block, e.g. a macroblock
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An apparatus for video decoding includes processing circuitry configured to receive coded information indicating that a current block is coded with a geometric partitioning mode (GPM) using a first prediction mode and a second prediction mode. Coefficients of a nonlinear polynomial model that indicates a weight w0 of a first prediction obtained from the first prediction mode are determined based on a current template and reference templates. Each reference template is obtained based on the first prediction mode, the second prediction mode, and a respective candidate nonlinear polynomial model. The nonlinear polynomial model depends on at least one of x and y. (x, y) indicates a sample position in the current block. The current block is reconstructed based on a weighted average of the first prediction and a second prediction of the current block obtained using the second prediction mode according to the weight w0.

## Claims

### Claim 1

A non-transitory computer-readable storage medium storing instructions which when executed by a processor cause the processor to perform an encoding method comprising:
determining whether to apply a geometric partitioning mode (GPM) including a GPM partition method with a weight w0 to a current block, the weight w0 being indicated by a nonlinear polynomial model and being of a first prediction of the current block that is obtained from a first prediction mode, the nonlinear polynomial model depending on at least one of x and y, (x, y) indicating a sample position in the current block;
when the GPM with the weight w0 is applied to the current block, determining coefficients of the nonlinear polynomial model based on a current template of the current block and reference templates by template-matching, the current template including neighboring samples of the current block, each reference template being obtained based on the first prediction mode, a second prediction mode of the GPM, and a respective candidate nonlinear polynomial model having corresponding candidate coefficients;
encoding, in a bitstream, the current block based on a weighted average of the first prediction and a second prediction of the current block obtained using the second prediction mode according to the weight w0; and
transmitting the encoded bitstream.

### Claim 2 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein:
a degree of the nonlinear polynomial model is 2, w0 is ax2+bx+cy2+dy+e, the determined coefficients include a, b, c, d, and e, and a weight w1 of the second prediction is (1−w0).

### Claim 3

A method for video encoding, comprising:
determining whether to apply a geometric partitioning mode (GPM) including a GPM partition method with a weight w0 to a current block, the weight w0 being indicated by a nonlinear polynomial model and being of a first prediction of the current block that is obtained from a first prediction mode, the nonlinear polynomial model depending on at least one of x and y, (x, y) indicating a sample position in the current block;
when the GPM with the weight w0 indicated by the nonlinear polynomial model is applied to the current block, determining coefficients of the nonlinear polynomial model based on a current template of the current block and reference templates by template-matching, the current template including neighboring samples of the current block, each reference template being obtained based on the first prediction mode, a second prediction mode of the GPM, and a respective candidate nonlinear polynomial model having corresponding candidate coefficients; and
encoding the current block based on a weighted average of the first prediction and a second prediction of the current block obtained using the second prediction mode according to the weight w0.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
a degree of the nonlinear polynomial model is 2, w0=ax2+bx+cy2+dy+e, the determined coefficients include a, b, c, d, and e; and
a weight w1 of the second prediction is (1−w0).

### Claim 5 (depends on 3)

The method of claim 3, wherein:
a degree of the nonlinear polynomial model is 3, w0=ax3+bx2+cx+dy3+ey2+fy+g, the determined coefficients include a, b, c, d, e, f, and g; and
a weight w1 of the second prediction is (1−w0).

### Claim 6 (depends on 3)

The method of claim 3, wherein the determining comprises determining the coefficients of the nonlinear polynomial model using a regression method.

### Claim 7 (depends on 3)

The method of claim 3, wherein the method comprises:
prior to determination of the coefficients of the nonlinear polynomial model, down-sampling an initial current template of the current block having a first resolution to obtain the current template having a second resolution, the second resolution being lower than the first resolution.

### Claim 8 (depends on 3)

The method of claim 3, wherein:
encoding a syntax element indicating whether the weight w0 is applied to the current block.

### Claim 9 (depends on 3)

The method of claim 3, wherein:
encoding a syntax element indicating one of a plurality of types of GPM, and the plurality of types of GPM includes a type of GPM in which the weight w0 is applied.

### Claim 10 (depends on 3)

The method of claim 3, wherein:
the current template is one of a plurality of templates; and
the plurality of templates includes a top template that is directly above the current block, a left template that is directly to a left of the current block, and an L-shaped template including the top template and the left template.

### Claim 11

An apparatus for video decoding, comprising:
processing circuitry configured to:
receive coded information indicating that a current block is coded with a geometric partitioning mode (GPM) using a first prediction mode and a second prediction mode;
determine coefficients of a nonlinear polynomial model that indicates a weight w0 of a first prediction of the current block that is obtained from the first prediction mode, the coefficients being determined based on a current template of the current block and reference templates by template-matching, the current template including neighboring reconstructed samples of the current block, each reference template being obtained based on the first prediction mode, the second prediction mode, and a respective candidate nonlinear polynomial model having corresponding candidate coefficients, the nonlinear polynomial model depending on at least one of x and y, (x, y) indicating a sample position in the current block; and
reconstruct the current block based on a weighted average of the first prediction and a second prediction of the current block obtained using the second prediction mode according to the weight w0.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein a degree of the nonlinear polynomial model is 2, w0=ax2+bx+cy2+dy+e, the determined coefficients include a, b, c, d, and e, and a weight w1 of the second prediction is (1−w0).

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein a degree of the nonlinear polynomial model is 3, w0=ax3+bx2+cx+dy3+ey2+fy+g, the determined coefficients include a, b, c, d, e, f, and g, and a weight w1 of the second prediction is (1−w0).

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is configured to determine the coefficients of the nonlinear polynomial model using a regression method.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is configured to:
prior to determination of the coefficients of the nonlinear polynomial model, down-sample an initial current template of the current block having a first resolution to obtain the current template having a second resolution, the second resolution being lower than the first resolution.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein:
the coded information includes a syntax element indicating whether the weight w0 is applied to the current block; and
the processing circuitry is configured to determine whether the weight w0 is applied to the current block based on the syntax element.

### Claim 17 (depends on 11)

The apparatus of claim 11, wherein:
the coded information includes a syntax element indicating one of a plurality of types of GPM, and the plurality of types of GPM includes a type of GPM in which the weight w0 is applied.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein:
the current template is one of a plurality of templates; and
the plurality of templates includes a top template that is directly above the current block, a left template that is directly to a left of the current block, and an L-shaped template including the top template and the left template.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein:
the coded information includes a syntax element of the current block indicating the current template; and
the processing circuitry is configured to determine the current template as one of:
the L-shaped template when the syntax element is 0;
the left template when the syntax element is 1; and
the top template when the syntax element is 2.

### Claim 20 (depends on 11)

The apparatus of claim 11, wherein:
the coded information includes a syntax element indicating whether the current template is selected from a plurality of templates; and
when the syntax element is determined to indicate that the current template is selected from the plurality of templates, the processing circuitry is configured to determine the current template as one of the plurality of templates based on another syntax element in the coded information.
