# US 2025/0157085 A1 · Method and apparatus for entropy coding in dual degree mesh coding

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

- Number: US 2025/0157085 A1
- Document ID: US20250157085A1
- Status: Published application
- Kind: A1
- Application number: 18/936,399
- Filed: 2024-11-04
- Published: 2025-05-15
- Earliest claimed: 2023-11-11
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Thuong NGUYEN CANH; Chao Huang; Xiaozhong Xu; Shan Liu
- Web page: https://patentgrep.com/patent/US20250157085A1

## CPC

- G06T 9/001: {Model-based coding, e.g. wire frame}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method includes generating a bitstream comprising an encoded three dimensional polygon mesh in accordance with dual degree connectivity comprising, when the polygon mesh comprises at least two different face degrees, a first sequence representing a vertex degree of each vertex in the polygon mesh, and a second sequence representing a face degree of each face in the polygon mesh, where each vertex degree in the first sequence and each face degree in the second sequence is followed by a degree offset, and at least one degree corresponding to a vertex degree in the first sequence or a face degree in the second sequence is encoded in accordance with a context adaptive binary arithmetic coding (CABAC) model that encodes the at least one degree using a difference between the at least one degree and a degree mode that indicates a number of different types of face degrees.

## Claims

### Claim 1

A method performed by at least one processor, the method comprising:
generating a bitstream comprising an encoded three dimensional polygon mesh in accordance with dual degree connectivity comprising, when the polygon mesh comprises at least two different face degrees, a first sequence representing a vertex degree of each vertex in the polygon mesh, and a second sequence representing a face degree of each face in the polygon mesh,
wherein each vertex degree in the first sequence and each face degree in the second sequence is followed by a degree offset, and
wherein at least one degree corresponding to a vertex degree in the first sequence or a face degree in the second sequence is encoded in accordance with a context adaptive binary arithmetic coding (CABAC) model that encodes the at least one degree using a difference between the at least one degree and a degree mode that indicates a number of different types of face degrees.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the bitstream comprises a degree minus offset parameter that is a difference between the degree mode and the degree offset.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the degree offset in the first sequence is a first degree offset and the degree offset in the second sequence is a second degree offset, wherein the first degree offset is different from the second degree offset.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the bitstream comprises a flag indicating that the degree mode is a single degree mode.

### Claim 5 (depends on 1)

The method according to claim 1, wherein a model index is determined according to a minimum between (i) the difference between the at least one degree and the degree mode and (ii) a maximum index value, and wherein the CABAC model is selected based on the model index.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the bitstream further comprises (i) a degree minimum minus mode parameter that is a difference between the degree mode and a minimum face degree, and (ii) a degree maximum minus mode parameter that is a difference between a maximum face degree and the degree mode,
wherein a sign of the difference between the at least one degree and the degree mode is set to false when one of the degree minimum minus mode and the degree maximum minus mode parameter is false, and
wherein the sign of the difference between the at least one degree and the degree mode is set to true when both of the degree minimum minus mode and the degree maximum minus mode parameter are true.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the polygon mesh comprises a plurality of sub-meshes, wherein each sub-mesh that comprises at least two different face degrees comprises a respective first sequence representing a vertex degree of each vertex in a respective sub-mesh, and a second sequence representing a face degree of each face in the respective sub-mesh.

### Claim 8

A method performed by at least one processor, the method comprising:
receiving a bitstream comprising an encoded three dimensional polygon mesh in accordance with dual degree connectivity comprising, when the polygon mesh comprises at least two different face degrees, a first sequence representing a vertex degree of each vertex in the polygon mesh, and a second sequence representing a face degree of each face in the polygon mesh,
wherein each vertex degree in the first sequence and each face degree in the second sequence is followed by a degree offset, and
wherein at least one degree corresponding to a vertex degree in the first sequence or a face degree in the second sequence is encoded in accordance with a context adaptive binary arithmetic coding (CABAC) model that encodes the at least one degree using a difference between the at least one degree and a degree mode that indicates a number of different types of face degrees.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the bitstream comprises a degree minus offset parameter that is a difference between the degree mode and the degree offset.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the degree offset in the first sequence is a first degree offset and the degree offset in the second sequence is a second degree offset, wherein the first degree offset is different from the second degree offset.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the bitstream comprises a flag indicating that the degree mode is a single degree mode.

### Claim 12 (depends on 8)

The method according to claim 8, wherein a model index is determined according to a minimum between (i) the difference between the at least one degree and the degree mode and (ii) a maximum index value, and wherein the CABAC model is selected based on the model index.

### Claim 13 (depends on 8)

The method according to claim 8, wherein the bitstream further comprises (i) a degree minimum minus mode parameter that is a difference between the degree mode and a minimum face degree, and (ii) a degree maximum minus mode parameter that is a difference between a maximum face degree and the degree mode,
wherein a sign of the difference between the at least one degree and the degree mode is set to false when one of the degree minimum minus mode and the degree maximum minus mode parameter is false, and
wherein the sign of the difference between the at least one degree and the degree mode is set to true when both of the degree minimum minus mode and the degree maximum minus mode parameter are true.

### Claim 14 (depends on 8)

The method according to claim 8, wherein the polygon mesh comprises a plurality of sub-meshes, wherein each sub-mesh that comprises at least two different face degrees comprises a respective first sequence representing a vertex degree of each vertex in a respective sub-mesh, and a second sequence representing a face degree of each face in the respective sub-mesh.

### Claim 15

A method performed by at least one processor, comprising:
calculating, for a three dimensional polygon mesh, a degree of each face in the polygon mesh and a valence of each vertex;
reducing, based on the calculating, a degree of at least one face in the polygon mesh via collapsing an edge of the at least one face; and
reducing, based on the calculating, an edge valence of at least one vertex in the polygon mesh via merging a first face in the polygon mesh with a second face in the polygon mesh.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the reducing the degree of the at least one face further comprises calculating a cost of each edge of the at least one face, wherein the edge of the at least one face that is collapsed has a minimum calculated cost.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the cost is calculated using a quadratic approximation error.

### Claim 18 (depends on 15)

The method according to claim 15, wherein the reducing the edge valence of the at least one vertex further comprises calculating a cost of merging of each pair of neighbor faces of the at least one vertex wherein the first face and the second face is the pair of neighbor faces with a minimum calculated cost.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the cost is calculated using a quadratic approximation error.

### Claim 20 (depends on 15)

The method according to claim 15, wherein the calculating, the reducing the degree of the at least one face, and the reducing the edge valence of the at least one vertex are repeated until a number of targeted faces or a number of targeted vertexes are reached.
