# US 2025/0095213 A1 · Encoding method and apparatus, decoding method and apparatus, and device

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

- Number: US 2025/0095213 A1
- Document ID: US20250095213A1
- Status: Published application
- Kind: A1
- Application number: 18/961,873
- Filed: 2024-11-27
- Published: 2025-03-20
- Earliest claimed: 2022-05-31
- Assignees: Vivo Mobile Communication Co., Ltd.
- Applicants: Vivo Mobile Communication Co., Ltd.
- Inventors: Wenjie ZOU; Wei ZHANG; Fuzheng YANG; Zhuoyi LV
- Web page: https://patentgrep.com/patent/US20250095213A1

## CPC

- G06T 9/001: {Model-based coding, e.g. wire frame}
- H04N 19/597: specially adapted for multi-view video sequence encoding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

This application discloses an encoding method and apparatus, a decoding method and apparatus, and a device. The method includes: encoding, by an encoder based on first identification information, a basemesh corresponding to a target three-dimensional mesh to obtain a first bitstream, where the basemesh includes reconstructed texture coordinate information corresponding to the target three-dimensional mesh, and the first identification information is used to represent whether to encode the reconstructed texture coordinate information; obtaining, by the encoder, a second bitstream based on mesh difference information, where the mesh difference information is used to represent difference information between the basemesh and a to-be-encoded three-dimensional mesh, and the target three-dimensional mesh is obtained based on the to-be-encoded three-dimensional mesh; obtaining, by the encoder, a third bitstream based on reconstructed texture map information; and generating, by the encoder, a target bitstream based on the first bitstream, the second bitstream, and the third bitstream.

## Claims

### Claim 1

An encoding method, comprising:
encoding, by an encoder based on first identification information, a basemesh corresponding to a target three-dimensional mesh to obtain a first bitstream, wherein the basemesh comprises reconstructed texture coordinate information corresponding to the target three-dimensional mesh, and the first identification information is used to represent whether to encode the reconstructed texture coordinate information;
obtaining, by the encoder, a second bitstream based on mesh difference information, wherein the mesh difference information is used to represent difference information between the basemesh and a to-be-encoded three-dimensional mesh, and the target three-dimensional mesh is obtained based on the to-be-encoded three-dimensional mesh;
obtaining, by the encoder, a third bitstream based on reconstructed texture map information, wherein the reconstructed texture map information is obtained based on the first bitstream and the second bitstream; and
generating, by the encoder, a target bitstream based on the first bitstream, the second bitstream, and the third bitstream.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the generating, by the encoder, a target bitstream based on the first bitstream and the second bitstream comprises:
encoding the first identification information to obtain encoded first identification information; and
generating the target bitstream based on the encoded first identification information, the first bitstream, and the second bitstream.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the basemesh further comprises geometry information and connectivity information corresponding to the target three-dimensional mesh.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the encoding, by an encoder based on first identification information, a basemesh corresponding to a target three-dimensional mesh to obtain a first bitstream comprises:
in a case that the first identification information represents encoding of the reconstructed texture coordinate information corresponding to the target three-dimensional mesh, encoding the geometry information, the connectivity information, and the reconstructed texture coordinate information to obtain the first bitstream; and/or
in a case that the first identification information represents non encoding of the reconstructed texture coordinate information corresponding to the target three-dimensional mesh, encoding the geometry information and the connectivity information to obtain the first bitstream.

### Claim 5 (depends on 3)

The method according to claim 3, wherein before the obtaining, by the encoder, a third bitstream based on reconstructed texture map information, the method further comprises:
decoding and dequantizing the first bitstream to obtain a reconstructed basemesh;
decoding and dequantizing the second bitstream to obtain target mesh difference information; and
generating the reconstructed texture map information based on the reconstructed basemesh and the target mesh difference information and according to a texture map generation algorithm.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the obtaining, by the encoder, a second bitstream based on mesh difference information comprises:
decoding the first bitstream to obtain a reconstructed mesh corresponding to the first bitstream;
updating the mesh difference information based on the reconstructed mesh to obtain updated mesh difference information; and
encoding the updated mesh difference information to obtain the second bitstream.

### Claim 7 (depends on 1)

The method according to claim 1, wherein before the encoding, by an encoder based on first identification information, a basemesh corresponding to a target three-dimensional mesh to obtain a first bitstream, the method further comprises:
in lossy encoding mode, simplifying the to-be-encoded three-dimensional mesh to obtain the target three-dimensional mesh; or
in lossless encoding mode, determining that the to-be-encoded three-dimensional mesh is the target three-dimensional mesh.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the generating, by the encoder, a target bitstream based on the first bitstream, the second bitstream, and the third bitstream comprises:
obtaining a fourth bitstream based on patch information of the target three-dimensional mesh; and
obtaining the target bitstream based on the first bitstream, the second bitstream, the third bitstream, and the fourth bitstream.

### Claim 9

A decoding method, comprising:
demultiplexing, by a decoder, an obtained target bitstream to obtain a first bitstream, a second bitstream, and a third bitstream, wherein the first bitstream is obtained based on a basemesh corresponding to a target three-dimensional mesh, the second bitstream is obtained based on mesh difference information, the mesh difference information is used to represent difference information between the basemesh and a to-be-encoded three-dimensional mesh, the target three-dimensional mesh is obtained based on the to-be-encoded three-dimensional mesh, and the third bitstream is obtained based on reconstructed texture map information; and
in a case that the decoder determines that the first bitstream comprises reconstructed texture coordinate information, reconstructing a target three-dimensional mesh based on a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream; and/or
in a case that the decoder determines that the first bitstream does not comprise reconstructed texture coordinate information, generating reconstructed texture coordinate information, and reconstructing a target three-dimensional mesh based on the generated reconstructed texture coordinate information, a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
demultiplexing, by the decoder, the obtained target bitstream to obtain first identification information, wherein the first identification information is used to represent whether an encoder encodes the reconstructed texture coordinate information; and
determining, based on the first identification information, whether the first bitstream comprises the reconstructed texture coordinate information.

### Claim 11 (depends on 9)

The method according to claim 9, wherein after the demultiplexing, by a decoder, an obtained target bitstream to obtain a first bitstream, a second bitstream, and a third bitstream, the method further comprises:
decoding the first bitstream to obtain the first decoding result; and
determining, based on the first decoding result, whether the first bitstream comprises the reconstructed texture coordinate information.

### Claim 12 (depends on 9)

The method according to claim 9, wherein the first decoding result further comprises:
geometry information and connectivity information corresponding to the target three-dimensional mesh.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the generating reconstructed texture coordinate information comprises:
generating the reconstructed texture coordinate information based on the geometry information and the connectivity information and according to a texture coordinate resampling algorithm.

### Claim 14 (depends on 9)

The method according to claim 9, wherein the demultiplexing, by a decoder, an obtained target bitstream to obtain a first bitstream, a second bitstream, and a third bitstream comprises:
demultiplexing, by the decoder, the obtained target bitstream to obtain the first bitstream, the second bitstream, the third bitstream, and a fourth bitstream, wherein the fourth bitstream is determined based on patch information of the target three-dimensional mesh; and
the reconstructing a target three-dimensional mesh based on a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream comprises: reconstructing the target three-dimensional mesh based on the first decoding result, the second decoding result, the third decoding result, and a fourth decoding result corresponding to the fourth bitstream; or the reconstructing a target three-dimensional mesh based on the generated reconstructed texture coordinate information, a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream comprises: reconstructing the target three-dimensional mesh based on the first decoding result, the second decoding result, the third decoding result, a fourth decoding result corresponding to the fourth bitstream, and the generated reconstructed texture coordinate information.

### Claim 15 (depends on 1)

An encoding device, comprising a processor and a memory, wherein the memory stores a program or instructions capable of running on the processor, and when the program or instructions are executed by the processor, the steps of the encoding method according to claim 1 are implemented.

### Claim 16

A decoding device, comprising a processor and a memory, wherein the memory stores a program or instructions capable of running on the processor, wherein the program or instructions, when executed by the processor, cause the decoding device to perform:
demultiplexing an obtained target bitstream to obtain a first bitstream, a second bitstream, and a third bitstream, wherein the first bitstream is obtained based on a basemesh corresponding to a target three-dimensional mesh, the second bitstream is obtained based on mesh difference information, the mesh difference information is used to represent difference information between the basemesh and a to-be-encoded three-dimensional mesh, the target three-dimensional mesh is obtained based on the to-be-encoded three-dimensional mesh, and the third bitstream is obtained based on reconstructed texture map information; and
in a case that the decoding device determines that the first bitstream comprises reconstructed texture coordinate information, reconstructing a target three-dimensional mesh based on a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream; and/or
in a case that the decoding device determines that the first bitstream does not comprise reconstructed texture coordinate information, generating reconstructed texture coordinate information, and reconstructing a target three-dimensional mesh based on the generated reconstructed texture coordinate information, a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream.

### Claim 17 (depends on 16)

The decoding device according to claim 16, wherein the program or instructions, when executed by the processor, cause the decoding device to further perform:
demultiplexing the obtained target bitstream to obtain first identification information, wherein the first identification information is used to represent whether an encoder encodes the reconstructed texture coordinate information; and
determining, based on the first identification information, whether the first bitstream comprises the reconstructed texture coordinate information.

### Claim 18 (depends on 16)

The decoding device according to claim 16, wherein the first decoding result further comprises:
geometry information and connectivity information corresponding to the target three-dimensional mesh.

### Claim 19 (depends on 16)

The decoding device according to claim 16, wherein when demultiplexing an obtained target bitstream to obtain a first bitstream, a second bitstream, and a third bitstream, the program or instructions, when executed by the processor, cause the decoding device to perform:
demultiplexing the obtained target bitstream to obtain the first bitstream, the second bitstream, the third bitstream, and a fourth bitstream, wherein the fourth bitstream is determined based on patch information of the target three-dimensional mesh; and
when reconstructing a target three-dimensional mesh based on a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream, the program or instructions, when executed by the processor, cause the decoding device to perform: reconstructing the target three-dimensional mesh based on the first decoding result, the second decoding result, the third decoding result, and a fourth decoding result corresponding to the fourth bitstream; or when reconstructing a target three-dimensional mesh based on the generated reconstructed texture coordinate information, a first decoding result corresponding to the first bitstream, a second decoding result corresponding to the second bitstream, and a third decoding result corresponding to the third bitstream, the program or instructions, when executed by the processor, cause the decoding device to perform: reconstructing the target three-dimensional mesh based on the first decoding result, the second decoding result, the third decoding result, a fourth decoding result corresponding to the fourth bitstream, and the generated reconstructed texture coordinate information.

### Claim 20 (depends on 9)

A readable storage medium, wherein the readable storage medium stores a program or instructions, and when the program or instructions are executed by a processor, the steps of the decoding method according to claim 9 are implemented.
