Encoding method, decoding method, encoding device, and decoding device

By identifying fewer polygons to derive surface normal vectors for vertex normal approximation, the method enhances the efficiency of three-dimensional mesh encoding and decoding processes, addressing the inefficiencies in existing methods.

WO2026009939A1PCT designated stage Publication Date: 2026-01-08PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2025/023911
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-05
Filing Date
2025-07-02
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

Existing methods for encoding and decoding three-dimensional mesh data are inefficient and require excessive computational resources, particularly in the derivation of vertex normal vectors during subdivision processes.

Method used

The proposed method identifies fewer polygons than the total number of polygons that include a vertex, derives surface normal vectors for these identified polygons, and uses these vectors to approximate the normal vector of the vertex, reducing the computational load.

Benefits of technology

This approach reduces the computational burden in encoding and decoding three-dimensional meshes by approximating vertex normal vectors, thereby improving efficiency and reducing the amount of calculations required during subdivision processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025023911_08012026_PF_FP_ABST
    Figure JP2025023911_08012026_PF_FP_ABST
Patent Text Reader

Abstract

According to the present invention, an encoding method that encodes a three-dimensional mesh (e.g., a decoding base mesh or a decoding base mesh that has undergone at least one subdivision) using a normal vector for a first vertex that is included in the three-dimensional mesh involves specifying one or more second polygons that are fewer than a plurality of first polygons that include the first vertex from among the plurality of first polygons (S331), deriving a surface normal vector for each of the specified one or more second polygons (S332), and deriving a normal vector for the first vertex by means of a computation that uses the derived surface normal vector for each of the one or more second polygons (S333).
Need to check novelty before this filing date? Find Prior Art

Description

Encoding method, decoding method, encoding device, and decoding device

[0001] The present disclosure relates to encoding methods and the like.

[0002] In US Pat. No. 6,299,549 a method and apparatus for encoding and decoding three-dimensional mesh data is proposed.

[0003] Japanese Patent Application Laid-Open No. 2006-187015

[0004] Further improvements are desired for the process of encoding or decoding the coordinates of the vertices of a three-dimensional mesh.The present disclosure aims to improve the process of encoding or decoding the coordinates of the vertices of a three-dimensional mesh.

[0005] An encoding method according to one aspect of the present invention is an encoding method for encoding a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh, which method includes identifying one or more second polygons among a plurality of first polygons that include the first vertex, deriving a surface normal vector for each of the identified one or more second polygons, and deriving the normal vector of the first vertex by performing an operation using the derived surface normal vector for each of the derived one or more second polygons.

[0006] A decoding method according to one aspect of the present disclosure is a decoding method for decoding a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh, which method identifies one or more second polygons among a plurality of first polygons that include the first vertex, the second polygons being fewer than the plurality of first polygons, deriving a surface normal vector for each of the identified one or more second polygons, and deriving the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons.

[0007] These comprehensive or specific aspects may be realized as a system, an apparatus, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or may be realized as any combination of a system, an apparatus, an integrated circuit, a computer program, and a recording medium.

[0008] The present disclosure may contribute to improvements in encoding processes and the like related to three-dimensional meshes.

[0009] 1 is a conceptual diagram showing a three-dimensional mesh according to an embodiment. FIG. 2 is a conceptual diagram showing basic elements of a three-dimensional mesh according to an embodiment. FIG. 3 is a conceptual diagram showing mapping according to an embodiment. FIG. 4 is a block diagram showing a configuration example of an encoding / decoding system according to an embodiment. FIG. 5 is a block diagram showing a configuration example of an encoding device according to an embodiment. FIG. 6 is a block diagram showing another configuration example of an encoding device according to an embodiment. FIG. 7 is a block diagram showing another configuration example of a decoding device according to an embodiment. FIG. 8 is a block diagram showing another configuration example of a decoding device according to an embodiment. FIG. 9 is a block diagram showing another configuration example of a decoding device according to an embodiment. FIG. 10 is a conceptual diagram showing another configuration example of a bit stream according to an embodiment. FIG. 11 is a conceptual diagram showing yet another configuration example of a bit stream according to an embodiment. FIG. 12 is a block diagram showing a specific example of an encoding / decoding system according to an embodiment. FIG. 13 is a conceptual diagram showing an example configuration of point cloud data according to an embodiment. FIG. 14 is a conceptual diagram showing an example data file of point cloud data according to an embodiment. FIG. 15 is a conceptual diagram showing an example configuration of mesh data according to an embodiment. FIG. 16 is a conceptual diagram showing an example data file of mesh data according to an embodiment. FIG. 17 is a conceptual diagram showing types of three-dimensional data according to an embodiment. FIG. 18 is a block diagram showing an example configuration of a three-dimensional data encoder according to an embodiment. FIG. 19 is a block diagram showing an example configuration of a three-dimensional data decoder according to an embodiment. FIG. 19 is a block diagram showing another configuration example of a three-dimensional data encoder according to an embodiment. FIG. 19 is a block diagram showing another configuration example of a three-dimensional data decoder according to an embodiment. FIG. 1 is a conceptual diagram showing a specific example of encoding processing according to an embodiment. FIG. 2 is a conceptual diagram showing a specific example of decoding processing according to an embodiment. FIG. 3 is a block diagram showing an implementation example of an encoding device according to an embodiment. FIG. 4 is a block diagram showing an implementation example of a decoding device according to an embodiment. FIG. 5 is a block diagram showing another configuration example of an encoding / decoding system according to an embodiment. FIG. 6 is a block diagram showing another configuration example of an encoding device according to an embodiment. FIG. 7 is a block diagram showing another configuration example of a decoding device according to an embodiment. FIG. 8 is a flow diagram showing processing by an encoding device according to an embodiment. FIG. 9 is an explanatory diagram conceptually showing encoding of a mesh frame according to an embodiment. FIG. 10 is a flow diagram showing processing by a decoding device according to an embodiment. FIG. 11 is an explanatory diagram conceptually showing decoding of a mesh frame according to an embodiment. FIG. 12 is a block diagram showing an example configuration of an encoding device according to an embodiment.1 is a block diagram showing an example of the configuration of a decoding device according to an embodiment. FIG. 2 is a diagram showing an example of a base mesh according to an embodiment. FIG. 3 is a diagram showing an example of a first mesh after a subdivision process has been performed once on the base mesh according to an embodiment. FIG. 4 is a diagram showing an example of a second mesh obtained by further performing a subdivision process once on the first mesh according to an embodiment. FIG. 5 is a diagram showing an example of a process for determining positions of subdivision points according to an embodiment. FIG. 6 is a diagram showing an example of a process for determining positions of subdivision points according to an embodiment. FIG. 7 is a flowchart showing an outline of a decoder process according to an embodiment. FIG. 8 is a diagram for explaining the transition of vertices and edges in each subdivision layer according to an embodiment. FIG. 9 is a diagram for explaining the transition of vertices and edges in each subdivision layer according to an embodiment. FIG. 10 is a diagram for explaining the transition of vertices and edges in each subdivision layer according to an embodiment. FIG. 11 is a flowchart for explaining the subdivision processing procedure of a decoding device according to an embodiment. FIG. 12 is a flowchart for explaining the subdivision processing procedure of a decoding device according to an embodiment. FIG. 13 is a flowchart for explaining an encoding process by an encoding device according to an embodiment. FIG. 14 is a flowchart for explaining a decoding process by a decoding device according to an embodiment.

[0010] <Summary of the Disclosure> Three-dimensional (3D) meshes are used in computer graphics images, for example, which may be composed of multiple temporally distinct frames, each of which may be represented by a 3D mesh.

[0011] A 3D mesh is composed of vertex information indicating the positions of each of the vertices in 3D space, connectivity information indicating the connections between the vertices, and attribute information indicating the attributes of each vertex or face. Each face is constructed according to the connectivity between the vertices. Various computer graphics images can be expressed using such 3D meshes.

[0012] Furthermore, for transmission and storage of the 3D mesh, efficient encoding and decoding of the 3D mesh is expected. For efficient encoding and decoding of the 3D mesh, arithmetic coding and decoding may be used.

[0013] Further improvements are desired in the encoding or decoding process for three-dimensional data. The present disclosure aims to improve the encoding or decoding process for three-dimensional data.

[0014] Below, examples of inventions that can be obtained from the disclosure of this specification will be given, and the effects and the like that can be obtained from these inventions will be explained.

[0015] An encoding method according to one aspect of the present disclosure is an encoding method for encoding a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh, which method identifies one or more second polygons out of a plurality of first polygons that include the first vertex, the number of second polygons being fewer than the plurality of first polygons, derives a surface normal vector for each of the identified one or more second polygons, and derives the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons.

[0016] According to this encoding method, a three-dimensional mesh can be encoded using the normal vector of a first vertex. Here, more accurate derivation of the normal vector of a first vertex requires deriving the surface normals of all first polygons that include the first vertex and performing calculations using the surface normals of all first polygons. However, by identifying one or more second polygons that are fewer than the first polygon, it becomes possible to derive only the surface normals of the identified second polygons and approximately derive the normal vector of the first vertex through calculations using only the surface normals of the derived second polygons. Thus, while being able to approximately derive the normal vector of the first vertex, it becomes possible to reduce the amount of calculation, at least in terms of deriving the surface normal. Therefore, the encoding method can contribute to improving encoding processes, etc., related to three-dimensional meshes.

[0017] For example, the first vertex may be a vertex located between two existing second vertices on a base mesh when subdividing the base mesh generated based on an input three-dimensional mesh into sub-meshes.

[0018] This allows the encoding method to reduce the amount of calculations when subdividing a base mesh generated based on an input three-dimensional mesh into sub-division meshes.

[0019] For example, the first vertex may be a vertex located between two existing second vertices on a subdivision mesh when further subdividing a subdivision mesh that is a subdivision of a base mesh generated based on an input three-dimensional mesh.

[0020] This allows the encoding method to reduce the amount of calculation required when further subdividing sub-mesh that are generated by subdividing a base mesh based on an input three-dimensional mesh.

[0021] For example, one or more second polygons may be polygons that are formed only from vertices that are located between two existing second vertices when subdividing.

[0022] According to this, the encoding method can identify, as the second polygon, a polygon that is made up of only vertices that are provided between two existing second vertices when performing subdivision.

[0023] For example, the normal vector of the second vertex may be derived before the subdivision, and the normal vector of the second vertex derived before the subdivision may be used as the normal vector of the second vertex after the subdivision.

[0024] According to this, the encoding method can reduce the amount of calculation by using the normal vector of the second vertex derived before the subdivision as the normal vector of the second vertex after the subdivision.

[0025] For example, the derived normal vector of the first vertex may be further used to derive a displacement vector for displacing the first vertex after subdivision.

[0026] According to this, the encoding method can use the normal vector derived in the subdivision to derive the displacement vector for displacing the first vertex, which means that the normal vector derived in the subdivision can be used to derive the displacement vector without newly deriving the normal vector of the first vertex, thereby reducing the amount of calculation.

[0027] For example, the one or more second polygons may be one of the plurality of first polygons that includes the first vertex.

[0028] According to this, the encoding method can identify one of a plurality of first polygons that include the first vertex as the second polygon.

[0029] For example, the one or more second polygons may be two or more second polygons among a plurality of first polygons that include the first vertex.

[0030] According to this, the encoding method can identify two or more of the multiple first polygons that include the first vertex as the second polygons.

[0031] For example, the normal vector of the first vertex may be derived by averaging the surface normal vectors of the two or more derived second polygons.

[0032] According to this, the encoding method can derive the normal vector of the first vertex by averaging the surface normal vectors of each of the two or more second polygons.

[0033] For example, the area of ​​each of the two or more identified second polygons may be further derived, and the normal vector of the first vertex may be derived by taking a weighted average of the surface normal vectors of each of the derived two or more second polygons based on the area of ​​each of the derived two or more second polygons.

[0034] According to this, the encoding method can derive the normal vector of the first vertex by taking a weighted average of the surface normal vectors of each of the two or more second polygons based on the areas of the derived two or more second polygons.

[0035] A decoding method according to one aspect of the present disclosure is a decoding method for decoding a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh, which method identifies one or more second polygons out of a plurality of first polygons that include the first vertex, the number of second polygons being fewer than the plurality of first polygons, derives a surface normal vector for each of the identified one or more second polygons, and derives the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons.

[0036] According to this decoding method, a three-dimensional mesh can be decoded using the normal vector of the first vertex. Here, more accurate derivation of the normal vector of the first vertex requires deriving the surface normals of all first polygons that include the first vertex and performing calculations using the surface normals of all first polygons. However, by identifying one or more second polygons that are fewer than the first polygon, it becomes possible to derive only the surface normals of the identified second polygons and approximately derive the normal vector of the first vertex through calculations using only the surface normals of the derived second polygons. Therefore, while being able to approximately derive the normal vector of the first vertex, it becomes possible to reduce the amount of calculation, at least in terms of deriving the surface normal. Therefore, the decoding method can contribute to improving decoding processes, etc. related to three-dimensional meshes.

[0037] For example, the first vertex may be a vertex located between two existing second vertices on a base mesh when subdividing the base mesh generated based on information decoded from the bitstream into sub-meshes.

[0038] This allows the decoding method to reduce the amount of calculations when subdividing a base mesh generated based on information decoded from the bitstream into sub-division meshes.

[0039] For example, the first vertex may be a vertex located between two existing second vertices on a subdivision mesh when further subdividing a subdivision mesh that is a subdivision of a base mesh generated based on information decoded from a bitstream.

[0040] This allows the decoding method to reduce the amount of calculation required when further subdividing sub-mesh that is a sub-division of a base mesh generated based on information decoded from the bitstream.

[0041] For example, one or more second polygons may be polygons that are formed only from vertices that are located between two existing second vertices when subdividing.

[0042] According to this, the decoding method can identify, as the second polygon, a polygon that is made up of only vertices that are provided between two existing second vertices when performing subdivision.

[0043] For example, the normal vector of the second vertex may be derived before the subdivision, and the normal vector of the second vertex derived before the subdivision may be used as the normal vector of the second vertex after the subdivision.

[0044] According to this, the decoding method can reduce the amount of calculation by using the normal vector of the second vertex derived before the subdivision as the normal vector of the second vertex after the subdivision.

[0045] For example, the derived normal vector of the first vertex may be further used to derive a displacement vector for displacing the first vertex after subdivision.

[0046] According to this, the decoding method can use the normal vector derived in the subdivision to derive the displacement vector for displacing the first vertex. In other words, the normal vector derived in the subdivision can be used to derive the displacement vector without newly deriving the normal vector of the first vertex, thereby reducing the amount of calculation.

[0047] For example, the one or more second polygons may be one of the plurality of first polygons that includes the first vertex.

[0048] According to this, the decoding method can identify one of a plurality of first polygons that include the first vertex as the second polygon.

[0049] For example, the one or more second polygons may be two or more second polygons among a plurality of first polygons that include the first vertex.

[0050] According to this, the decoding method can identify two or more of the multiple first polygons that include the first vertex as the second polygons.

[0051] For example, the normal vector of the first vertex may be derived by averaging the surface normal vectors of the two or more derived second polygons.

[0052] According to this, the decoding method can derive the normal vector of the first vertex by averaging the surface normal vectors of each of two or more second polygons.

[0053] For example, the area of ​​each of the two or more identified second polygons may be further derived, and the normal vector of the first vertex may be derived by taking a weighted average of the surface normal vectors of each of the derived two or more second polygons based on the area of ​​each of the derived two or more second polygons.

[0054] According to this, the decoding method can derive the normal vector of the first vertex by taking a weighted average of the surface normal vectors of each of the two or more second polygons based on the areas of the derived two or more second polygons.

[0055] A three-dimensional data encoding device according to one aspect of the present disclosure is an encoding device that encodes a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh, and includes a memory and a circuit that can access the memory. In operation, the circuit identifies one or more second polygons, which are fewer than the plurality of first polygons, from among a plurality of first polygons that include the first vertex, derives a surface normal vector for each of the identified one or more second polygons, and derives the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons.

[0056] According to this, the encoding device can achieve the same effect as the above encoding method.

[0057] A three-dimensional data decoding device according to one aspect of the present disclosure is a decoding device that decodes a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh, and includes a memory and a circuit that can access the memory. In operation, the circuit identifies one or more second polygons, which are fewer than the plurality of first polygons, from among a plurality of first polygons that include the first vertex, derives a surface normal vector for each of the identified one or more second polygons, and derives the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons.

[0058] This allows the decoding device to achieve the same effects as the above-described decoding method.

[0059] These comprehensive or specific aspects may be realized as a system, an apparatus, an integrated circuit, a computer program, or a recording medium such as a computer-readable CD-ROM, or may be realized as any combination of a system, an apparatus, an integrated circuit, a computer program, or a recording medium.

[0060] Hereinafter, the embodiments will be specifically described with reference to the drawings.

[0061] The embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component placement and connection configurations, steps, and step order shown in the following embodiments are merely examples and are not intended to limit the present invention. Furthermore, among the components in the following embodiments, components that are not described in the independent claims that represent the highest concepts are described as optional components.

[0062] (Embodiment) In this embodiment, an encoding method, a decoding method, etc. will be described.

[0063] <Expressions and Terms> The following expressions and terms are used herein.

[0064] (1) Three-dimensional Mesh A three-dimensional mesh is a collection of multiple faces, and represents, for example, a three-dimensional object. A three-dimensional mesh is mainly composed of vertex information, connectivity information, and attribute information. A three-dimensional mesh may be expressed as a polygon mesh or a mesh. A three-dimensional mesh may also vary over time. A three-dimensional mesh may include metadata related to the vertex information, connectivity information, and attribute information, and may also include other additional information.

[0065] (2) Vertex Information Vertex information is information indicating a vertex. For example, the vertex information indicates the position of a vertex in a three-dimensional space. Furthermore, a vertex corresponds to a vertex of a face that constitutes a three-dimensional mesh. Vertex information may be expressed as "geometry." Furthermore, vertex information may be expressed as position information.

[0066] (3) Connection Information Connection information is information that indicates connections between vertices. For example, connection information indicates connections for forming faces or edges of a three-dimensional mesh. Connection information may be expressed as "Connectivity." Connection information may also be expressed as face information.

[0067] (4) Attribute Information Attribute information is information that indicates attributes of a vertex or a face. For example, attribute information indicates attributes such as a color, an image, and a normal vector associated with a vertex or a face. Attribute information may be expressed as "texture."

[0068] (5) Faces A face is an element that makes up a three-dimensional mesh. Specifically, a face is a polygon on a plane in three-dimensional space. For example, a face can be defined as a triangle in three-dimensional space.

[0069] (6) Plane A plane is a two-dimensional plane in a three-dimensional space. For example, a polygon is formed on a plane, and multiple polygons are formed on multiple planes.

[0070] (7) Bitstream: A bitstream corresponds to coded information. A bitstream may also be referred to as a stream, a coded bitstream, a compressed bitstream, or a coded signal.

[0071] (8) Encoding and Decoding The term encoding may be substituted with terms such as storing, including, writing, describing, signaling, sending, notifying, saving, or compressing, and these terms may be interchangeable. For example, encoding information may mean including the information in a bitstream. Also, encoding information into a bitstream may mean encoding the information to generate a bitstream that includes the encoded information.

[0072] Additionally, the term "decode" may be replaced with terms such as "read," "decode," "read," "load," "derive," "obtain," "receive," "extract," "reconstruct," "reconstruct," "decompress," or "decompress," and these terms may be interchangeable. For example, decoding information may mean obtaining information from a bitstream. Decoding information from a bitstream may mean decoding the bitstream to obtain information contained in the bitstream.

[0073] (9) Ordinal Numbers In the description, ordinal numbers such as first and second may be assigned to components, etc. These ordinal numbers may be changed as appropriate. Furthermore, new ordinal numbers may be assigned to components, etc., or removed. Furthermore, these ordinal numbers may be assigned to elements in order to identify them, and may not correspond to a meaningful order.

[0074] <Three-dimensional mesh> Fig. 1 is a conceptual diagram showing a three-dimensional mesh according to this embodiment. A three-dimensional mesh is composed of multiple faces. For example, each face is a triangle. The vertices of these triangles are defined in three-dimensional space. The three-dimensional mesh then represents a three-dimensional object. Each face may have a color or an image.

[0075] FIG. 2 is a conceptual diagram showing the basic elements of a three-dimensional mesh according to this embodiment. A three-dimensional mesh is composed of vertex information, connection information, and attribute information. The vertex information indicates the positions of the vertices of a face in three-dimensional space. The connection information indicates the connections between the vertices. A face can be identified by the vertex information and connection information. In other words, a colorless three-dimensional object is formed in three-dimensional space by the vertex information and connection information.

[0076] The attribute information may be associated with a vertex or a face. The attribute information associated with a vertex may be expressed as "Attribute Per Point." The attribute information associated with a vertex may indicate an attribute of the vertex itself, or may indicate an attribute of a face connected to the vertex.

[0077] For example, a color may be associated with a vertex as attribute information. The color associated with a vertex may be the color of the vertex itself, or the color of a face connected to the vertex. The color of a face may be the average of multiple colors associated with multiple vertices of the face. Furthermore, a normal vector may be associated with a vertex or a face as attribute information. Such a normal vector can represent the front and back of a face.

[0078] A two-dimensional image may be associated with a surface as attribute information. The two-dimensional image associated with a surface is also expressed as a texture image or an "Attribute Map." Information indicating mapping between the surface and the two-dimensional image may be associated with the surface as attribute information. Information indicating such mapping may be expressed as mapping information, vertex information of a texture image, texture coordinates, or "Attribute UV Coordinate."

[0079] Furthermore, information such as color, image, and moving image used as attribute information may be expressed as "parametric space."

[0080] The attribute information allows texture to be reflected on the three-dimensional object. That is, a three-dimensional object having color is formed in three-dimensional space based on the vertex information, connection information, and attribute information.

[0081] In the above, the attribute information is associated with the vertices or faces, but it may also be associated with the edges.

[0082] 3 is a conceptual diagram illustrating mapping according to this embodiment. For example, a region of a two-dimensional image on a two-dimensional plane can be mapped onto a surface of a three-dimensional mesh in three-dimensional space. Specifically, coordinate information of the region in the two-dimensional image is associated with the surface of the three-dimensional mesh. As a result, an image of the mapped region in the two-dimensional image is reflected on the surface of the three-dimensional mesh.

[0083] By using the mapping, the 2D image used as attribute information can be separated from the 3D mesh. For example, in encoding the 3D mesh, the 2D image may be encoded by an image encoding method or a video encoding method.

[0084] <System Configuration> Fig. 4 is a block diagram showing an example of the configuration of a coding / decoding system according to this embodiment. In Fig. 4, the coding / decoding system includes a coding device 100 and a decoding device 200.

[0085] For example, the encoding device 100 obtains a three-dimensional mesh and encodes the three-dimensional mesh into a bitstream. Then, the encoding device 100 outputs the bitstream to the network 300. For example, the bitstream includes the encoded three-dimensional mesh and control information for decoding the encoded three-dimensional mesh. By encoding the three-dimensional mesh, information about the three-dimensional mesh is compressed.

[0086] The network 300 transmits a bitstream from the encoding device 100 to the decoding device 200. The network 300 may be the Internet, a wide area network (WAN), a local area network (LAN), or a combination of these. The network 300 is not necessarily limited to bidirectional communication, and may be a unidirectional communication network for terrestrial digital broadcasting, satellite broadcasting, or the like.

[0087] Furthermore, the network 300 can be replaced by a recording medium such as a DVD (Digital Versatile Disc) or a BD (Blu-Ray Disc (registered trademark)).

[0088] The decoding device 200 obtains a bitstream and decodes a three-dimensional mesh from the bitstream. By decoding the three-dimensional mesh, information about the three-dimensional mesh is expanded. For example, the decoding device 200 decodes the three-dimensional mesh according to a decoding method corresponding to the encoding method used by the encoding device 100 to encode the three-dimensional mesh. That is, the encoding device 100 and the decoding device 200 perform encoding and decoding according to encoding methods and decoding methods that correspond to each other.

[0089] The 3D mesh before encoding may also be referred to as an original 3D mesh, and the 3D mesh after decoding may also be referred to as a reconstructed 3D mesh.

[0090] 5 is a block diagram showing an example of the configuration of a coding device 100 according to this embodiment. For example, the coding device 100 includes a vertex information encoder 101, a connection information encoder 102, and an attribute information encoder 103.

[0091] The vertex information encoder 101 is an electrical circuit that encodes vertex information. For example, the vertex information encoder 101 encodes the vertex information into a bitstream according to a format defined for the vertex information.

[0092] The connection information encoder 102 is an electrical circuit that encodes the connection information, for example, the connection information encoder 102 encodes the connection information into a bitstream according to a format defined for the connection information.

[0093] The attribute information encoder 103 is an electric circuit that encodes the attribute information. For example, the attribute information encoder 103 encodes the attribute information into a bit stream in accordance with a format defined for the attribute information.

[0094] The vertex information, connectivity information, and attribute information may be coded using variable-length coding or fixed-length coding, such as Huffman coding or context-adaptive binary arithmetic coding (CABAC).

[0095] The vertex information encoder 101, the connection information encoder 102, and the attribute information encoder 103 may be integrated together, or each of the vertex information encoder 101, the connection information encoder 102, and the attribute information encoder 103 may be further subdivided into multiple components.

[0096] 6 is a block diagram showing another example of the configuration of the encoding device 100 according to this embodiment. For example, the encoding device 100 includes a pre-processor 104 and a post-processor 105 in addition to the configuration shown in FIG.

[0097] The preprocessor 104 is an electrical circuit that performs processing before encoding the vertex information, connectivity information, and attribute information. For example, the preprocessor 104 may perform a conversion process, a separation process, a multiplexing process, or the like on the 3D mesh before encoding. More specifically, for example, the preprocessor 104 may separate the vertex information, connectivity information, and attribute information from the 3D mesh before encoding.

[0098] The post-processor 105 is an electrical circuit that performs processing after the vertex information, connection information, and attribute information are encoded. For example, the post-processor 105 may perform conversion processing, separation processing, multiplexing processing, or the like on the encoded vertex information, connection information, and attribute information. More specifically, for example, the post-processor 105 may multiplex the encoded vertex information, connection information, and attribute information into a bitstream. Furthermore, for example, the post-processor 105 may further perform variable-length coding on the encoded vertex information, connection information, and attribute information.

[0099] 7 is a block diagram showing an example of the configuration of a decoding device 200 according to this embodiment. For example, the decoding device 200 includes a vertex information decoder 201, a connection information decoder 202, and an attribute information decoder 203.

[0100] The vertex information decoder 201 is an electrical circuit that decodes vertex information. For example, the vertex information decoder 201 decodes vertex information from a bitstream according to a format defined for the vertex information.

[0101] The connection information decoder 202 is an electrical circuit that decodes the connection information, for example, the connection information decoder 202 decodes the connection information from the bitstream according to a format defined for the connection information.

[0102] The attribute information decoder 203 is an electric circuit that decodes the attribute information. For example, the attribute information decoder 203 decodes the attribute information from the bitstream in accordance with a format defined for the attribute information.

[0103] The vertex information, connection information, and attribute information may be decoded using variable length decoding or fixed length decoding, which may correspond to Huffman coding, context-adaptive binary arithmetic coding (CABAC), or the like.

[0104] The vertex information decoder 201, the connection information decoder 202, and the attribute information decoder 203 may be integrated together, or each of the vertex information decoder 201, the connection information decoder 202, and the attribute information decoder 203 may be further subdivided into multiple components.

[0105] 8 is a block diagram showing another example of the configuration of the decoding device 200 according to this embodiment. For example, the decoding device 200 includes a pre-processor 204 and a post-processor 205 in addition to the configuration shown in FIG.

[0106] The preprocessor 204 is an electrical circuit that performs processing before decoding the vertex information, connection information, and attribute information. For example, the preprocessor 204 may perform conversion processing, separation processing, multiplexing processing, or the like on the bitstream before decoding the vertex information, connection information, and attribute information.

[0107] More specifically, for example, the preprocessor 204 may separate a sub-bitstream corresponding to vertex information, a sub-bitstream corresponding to connectivity information, and a sub-bitstream corresponding to attribute information from the bitstream. Also, for example, the preprocessor 204 may perform variable-length decoding on the bitstream in advance before decoding the vertex information, connectivity information, and attribute information.

[0108] The post-processor 205 is an electrical circuit that performs processing after the vertex information, connection information, and attribute information are decoded. For example, the post-processor 205 may perform conversion processing, separation processing, multiplexing processing, or the like on the decoded vertex information, connection information, and attribute information. More specifically, for example, the post-processor 205 may multiplex the decoded vertex information, connection information, and attribute information onto a three-dimensional mesh.

[0109] <Bitstream> Vertex information, connection information, and attribute information are coded and stored in a bitstream. The relationship between this information and the bitstream is shown below.

[0110] 9 is a conceptual diagram showing an example of the configuration of a bitstream according to this embodiment. In this example, connection information, vertex information, and attribute information are integrated in the bitstream. For example, the connection information, vertex information, and attribute information may be included in a single file.

[0111] Furthermore, multiple portions of this information may be stored sequentially, such as a first portion of connection information, a first portion of vertex information, a first portion of attribute information, a second portion of connection information, a second portion of vertex information, a second portion of attribute information, etc. These multiple portions may correspond to multiple portions that are different in time, multiple portions that are different in space, or multiple different faces.

[0112] Furthermore, the storage order of the connection information, vertex information, and attribute information is not limited to the above example, and a storage order different from the above example may be used.

[0113] 10 is a conceptual diagram showing another example of the configuration of a bitstream according to this embodiment. In this example, a plurality of files are included in the bitstream, and connection information, vertex information, and attribute information are stored in different files. Here, a file containing connection information, a file containing vertex information, and a file containing attribute information are shown, but the storage format is not limited to this example. For example, two types of information among the connection information, vertex information, and attribute information may be included in one file, and the remaining type of information may be included in another file.

[0114] Alternatively, the information may be split and stored in more files. For example, multiple pieces of connectivity information may be stored in multiple files, multiple pieces of vertex information may be stored in multiple files, or multiple pieces of attribute information may be stored in multiple files. These multiple pieces may correspond to multiple temporally different pieces, multiple spatially different pieces, or multiple different faces.

[0115] Furthermore, the storage order of the connection information, vertex information, and attribute information is not limited to the above example, and a storage order different from the above example may be used.

[0116] 11 is a conceptual diagram showing another example of the configuration of a bitstream according to this embodiment. In this example, the bitstream is composed of multiple separable sub-bitstreams, and connection information, vertex information, and attribute information are stored in different sub-bitstreams.

[0117] Here, a sub-bitstream containing connection information, a sub-bitstream containing vertex information, and a sub-bitstream containing attribute information are shown, but the storage format is not limited to this example.

[0118] For example, two types of information among the connection information, vertex information, and attribute information may be included in one sub-bitstream, and the remaining type of information may be included in another sub-bitstream. Specifically, attribute information of a two-dimensional image or the like may be stored in a sub-bitstream that complies with an image coding method, separate from the sub-bitstreams of the connection information and vertex information.

[0119] Each sub-bitstream may also include multiple files, and multiple pieces of connectivity information may be stored in multiple files, multiple pieces of vertex information may be stored in multiple files, or multiple pieces of attribute information may be stored in multiple files.

[0120] 9, 10, and 11, and a storage order different from the above examples may be used. For example, the vertex information, connection information, and attribute information may be stored in the bitstream in this order. Alternatively, the connection information, connection information, and attribute information may be stored in the bitstream in any of the following orders: connection information, attribute information, and vertex information; vertex information, attribute information, and connection information; attribute information, connection information, and vertex information; or attribute information, vertex information, and connection information.

[0121] Furthermore, each of the connection information, vertex information, and attribute information may be divided into a plurality of data, and the plurality of data may be stored in a cyclical or random order within the bitstream.

[0122] 12 is a block diagram showing a specific example of an encoding / decoding system according to this embodiment. In FIG. 12, the encoding / decoding system includes a three-dimensional data encoding system 110, a three-dimensional data decoding system 210, and an external connector 310.

[0123] The three-dimensional data encoding system 110 includes a controller 111, an input / output processor 112, a three-dimensional data encoder 113, a three-dimensional data generator 115, and a system multiplexer 114. The three-dimensional data decoding system 210 includes a controller 211, an input / output processor 212, a three-dimensional data decoder 213, a system demultiplexer 214, a presenter 215, and a user interface 216.

[0124] In the three-dimensional data encoding system 110, sensor data is input from a sensor terminal to a three-dimensional data generator 115. The three-dimensional data generator 115 generates three-dimensional data, such as point cloud data or mesh data, from the sensor data and inputs it to a three-dimensional data encoder 113.

[0125] For example, the three-dimensional data generator 115 generates vertex information, and generates connection information and attribute information corresponding to the vertex information. The three-dimensional data generator 115 may process the vertex information when generating the connection information and attribute information. For example, the three-dimensional data generator 115 may reduce the amount of data by deleting duplicate vertices, or may transform the vertex information (such as by shifting its position, rotating it, or normalizing it). The three-dimensional data generator 115 may also render the attribute information.

[0126] Furthermore, although the three-dimensional data generator 115 is a component of the three-dimensional data encoding system 110 in FIG. 12, it may be arranged externally and independently of the three-dimensional data encoding system 110.

[0127] The sensor terminal that provides the sensor data for generating the three-dimensional data may be, for example, a moving body such as an automobile, a flying object such as an airplane, a mobile terminal, a camera, etc. Furthermore, a distance sensor such as a LIDAR, a millimeter wave radar, an infrared sensor, or a range finder, a stereo camera, or a combination of multiple monocular cameras may also be used as the sensor terminal.

[0128] The sensor data may be the distance (position) of the object, monocular camera images, stereo camera images, color, reflectance, sensor attitude, orientation, gyro, sensing position (GPS information or altitude), speed, acceleration, sensing time, temperature, air pressure, humidity, or magnetism.

[0129] The three-dimensional data encoder 113 corresponds to the encoding device 100 shown in FIG. 5 and other figures. For example, the three-dimensional data encoder 113 encodes three-dimensional data to generate encoded data. The three-dimensional data encoder 113 also generates control information when encoding the three-dimensional data. The three-dimensional data encoder 113 then inputs the encoded data together with the control information to the system multiplexer 114.

[0130] The encoding method for the three-dimensional data may be an encoding method using geometry or an encoding method using a video codec. Here, the encoding method using geometry may also be referred to as a geometry-based encoding method. The encoding method using a video codec may also be referred to as a video-based encoding method.

[0131] The system multiplexer 114 multiplexes the encoded data and control information input from the 3D data encoder 113 to generate multiplexed data using a specified multiplexing method. The system multiplexer 114 may multiplex other media such as video, audio, subtitles, application data, or document files, or reference time information, along with the encoded data and control information of the 3D data. Furthermore, the system multiplexer 114 may multiplex attribute information related to the sensor data or the 3D data.

[0132] For example, the multiplexed data may have a file format for storage or a packet format for transmission. As these formats, ISOBMFF or a format based on ISOBMFF may be used. Also, MPEG-DASH, MMT, MPEG-2 TS Systems, RTP, or the like may be used.

[0133] The multiplexed data is then output as a transmission signal to the external connector 310 by the input / output processor 112. The multiplexed data may be transmitted as a transmission signal by wire or wirelessly. Alternatively, the multiplexed data is stored in an internal memory or a storage device. The multiplexed data may be transmitted to a cloud server via the Internet or may be stored in an external storage device.

[0134] For example, the transmission or storage of the multiplexed data is performed by a method according to the medium for transmission or storage, such as broadcasting or communication. The communication protocol may be http, ftp, TCP, UDP, IP, or a combination thereof. Furthermore, a pull-type communication method or a push-type communication method may be used.

[0135] For wired transmission, Ethernet (registered trademark), USB, RS-232C, HDMI (registered trademark), coaxial cable, etc. may be used. For wireless transmission, 3GPP (registered trademark), 3G / 4G / 5G defined by IEEE, wireless LAN, Wi-Fi, Bluetooth, or millimeter wave may be used. For broadcasting, for example, DVB-T2, DVB-S2, DVB-C2, ATSC3.0, or ISDB-S3 may be used.

[0136] The sensor data may be input to the three-dimensional data generator 115 or the system multiplexer 114. The three-dimensional data or encoded data may be output as a transmission signal directly to the external connector 310 via the input / output processor 112. The transmission signal output from the three-dimensional data encoding system 110 is input to the three-dimensional data decoding system 210 via the external connector 310.

[0137] Furthermore, each operation of the three-dimensional data encoding system 110 may be controlled by a controller 111 that executes an application program.

[0138] In the three-dimensional data decoding system 210, a transmission signal is input to an input / output processor 212. The input / output processor 212 decodes multiplexed data having a file format or a packet format from the transmission signal and inputs the multiplexed data to a system demultiplexer 214. The system demultiplexer 214 obtains coded data and control information from the multiplexed data and inputs them to a three-dimensional data decoder 213. The system demultiplexer 214 may extract other media or reference time information from the multiplexed data.

[0139] The three-dimensional data decoder 213 corresponds to the decoding device 200 shown in Fig. 7 etc. For example, the three-dimensional data decoder 213 decodes three-dimensional data from the encoded data based on a predefined encoding method. The three-dimensional data is then presented to the user by the presenter 215.

[0140] Additionally, additional information such as sensor data may be input to the presenter 215. The presenter 215 may present three-dimensional data based on the additional information. Additionally, a user instruction may be input from a user terminal to the user interface 216. Then, the presenter 215 may present three-dimensional data based on the input instruction.

[0141] The input / output processor 212 may acquire the three-dimensional data and the encoded data from the external connector 310 .

[0142] Furthermore, each operation of the three-dimensional data decoding system 210 may be controlled by a controller 211 that executes an application program.

[0143] 13 is a conceptual diagram showing an example of the configuration of point cloud data according to this embodiment. The point cloud data is data of a group of points representing a three-dimensional object.

[0144] Specifically, a point cloud is made up of a plurality of points, and has position information indicating the three-dimensional coordinate position of each point and attribute information indicating the attribute of each point. The position information is also expressed as geometry.

[0145] The type of attribute information may be, for example, color, reflectance, etc. One point may be associated with attribute information of one type, one point may be associated with attribute information of multiple different types, or one point may be associated with attribute information having multiple values ​​for the same type.

[0146] 14 is a conceptual diagram showing an example of a data file of point cloud data according to this embodiment. This example shows a case where there is a one-to-one correspondence between position information items and attribute information items, and shows position information and attribute information for N points that make up the point cloud data. In this example, the position information is information indicating a three-dimensional coordinate position using three axes, x, y, and z, and the attribute information is information indicating a color using RGB. A PLY file or the like can be used as a representative data file for point cloud data.

[0147] 15 is a conceptual diagram showing an example of the configuration of mesh data according to this embodiment. Mesh data is data used in CG (Computer Graphics) and the like, and is three-dimensional mesh data that shows the three-dimensional shape of an object using multiple surfaces. Each surface is also expressed as a polygon, and has a polygonal shape such as a triangle or a rectangle.

[0148] Specifically, a 3D mesh is composed of a plurality of points constituting a point cloud, as well as a plurality of edges and a plurality of faces. Each point is also expressed as a vertex or a position. Each edge corresponds to a line segment connected by two vertices. Each face corresponds to an area surrounded by three or more edges.

[0149] Furthermore, a three-dimensional mesh has position information indicating the three-dimensional coordinate positions of vertices. The position information is also expressed as vertex information or geometry. A three-dimensional mesh also has connection information indicating the relationship between multiple vertices that make up an edge or a face. The connection information is also expressed as connectivity. A three-dimensional mesh also has attribute information indicating the attributes of the vertices, edges, or faces. The attribute information in a three-dimensional mesh is also expressed as texture.

[0150] For example, the attribute information may indicate the color, reflectance, or normal vector for a vertex, edge, or face. The direction of the normal vector may represent the front and back of the face.

[0151] The mesh data may be stored in a data file format such as an object file.

[0152] 16 is a conceptual diagram showing an example of a data file of mesh data according to this embodiment. In this example, the data file includes position information G(1) to G(N) of N vertices that make up the three-dimensional mesh, and attribute information A1(1) to A1(N) of the N vertices. Also, in this example, M pieces of attribute information A2(1) to A2(M) are included. The attribute information items do not need to correspond one-to-one to vertices or faces. Furthermore, attribute information need not exist.

[0153] The connection information is represented by a combination of vertex indices. n[1, 3, 4] indicates a triangular face formed by three vertices, n=1, n=3, and n=4. Also, m[2, 4, 6] indicates that the attribute information of m=2, m=4, and m=6 corresponds to the three vertices, respectively.

[0154] Furthermore, the actual contents of the attribute information may be written in a separate file. A pointer to that content may be associated with a vertex, a face, or the like. For example, attribute information indicating an image for a face may be stored in a two-dimensional attribute map file. The file name of the attribute map and two-dimensional coordinate values ​​in the attribute map may be written in attribute information A2(1) to A2(M). The method of specifying attribute information for a face is not limited to these methods, and any method may be used.

[0155] 17 is a conceptual diagram showing types of three-dimensional data according to this embodiment. Point cloud data and mesh data may represent static objects or dynamic objects. A static object is an object that does not change over time, and a dynamic object is an object that changes over time. A static object may correspond to three-dimensional data for any point in time.

[0156] For example, point cloud data for a given point in time may be referred to as a PCC frame, mesh data for a given point in time may be referred to as a mesh frame, and PCC frames and mesh frames may be simply referred to as frames.

[0157] The area of ​​the object may be limited to a certain range, as in normal video data, or may not be limited, as in map data. The density of points or surfaces may be determined in various ways. Sparse point cloud data or sparse mesh data may be used, or dense point cloud data or dense mesh data may be used.

[0158] Next, encoding and decoding of a point cloud or a three-dimensional mesh will be described. The device, process, or syntax for encoding and decoding vertex information of a three-dimensional mesh in the present disclosure may be applied to encoding and decoding of a point cloud. The device, process, or syntax for encoding and decoding of a point cloud in the present disclosure may be applied to encoding and decoding vertex information of a three-dimensional mesh.

[0159] Furthermore, a device, process, or syntax for encoding and decoding attribute information of a point cloud in the present disclosure may be applied to encoding and decoding connectivity information or attribute information of a three-dimensional mesh.Furthermore, a device, process, or syntax for encoding and decoding connectivity information or attribute information of a three-dimensional mesh in the present disclosure may be applied to encoding and decoding attribute information of a point cloud.

[0160] Furthermore, at least some of the processing may be shared between the encoding and decoding of point cloud data and the encoding and decoding of mesh data, thereby reducing the scale of the circuit and software program.

[0161] 18 is a block diagram showing an example configuration of a three-dimensional data encoder 113 according to this embodiment. In this example, the three-dimensional data encoder 113 includes a vertex information encoder 121, an attribute information encoder 122, a metadata encoder 123, and a multiplexer 124. The vertex information encoder 121, the attribute information encoder 122, and the multiplexer 124 may correspond to the vertex information encoder 101, the attribute information encoder 103, the post-processor 105, etc. in FIG.

[0162] In this example, the three-dimensional data encoder 113 encodes the three-dimensional data according to a geometry-based encoding method, which takes into account the three-dimensional structure. In addition, in the geometry-based encoding method, attribute information is encoded using configuration information obtained in encoding the vertex information.

[0163] Specifically, first, vertex information, attribute information, and metadata included in three-dimensional data generated from sensor data are input to a vertex information encoder 121, an attribute information encoder 122, and a metadata encoder 123, respectively. Here, connectivity information included in the three-dimensional data may be treated in the same way as attribute information. In addition, in the case of point cloud data, position information may be treated as vertex information.

[0164] The vertex information encoder 121 encodes the vertex information into compressed vertex information and outputs the compressed vertex information as encoded data to the multiplexer 124. The vertex information encoder 121 also generates metadata for the compressed vertex information and outputs it to the multiplexer 124. The vertex information encoder 121 also generates configuration information and outputs it to the attribute information encoder 122.

[0165] The attribute information encoder 122 uses the configuration information generated by the vertex information encoder 121 to encode the attribute information into compressed attribute information and outputs the compressed attribute information as encoded data to the multiplexer 124. The attribute information encoder 122 also generates metadata of the compressed attribute information and outputs it to the multiplexer 124.

[0166] The metadata encoder 123 encodes compressible metadata into compressed metadata and outputs the compressed metadata as encoded data to the multiplexer 124. The metadata encoded by the metadata encoder 123 may be used to encode vertex information and attribute information.

[0167] The multiplexer 124 multiplexes the compressed vertex information, the compressed vertex information metadata, the compressed attribute information, the compressed attribute information metadata, and the compressed metadata into a bitstream, and then inputs the bitstream to the system layer.

[0168] 19 is a block diagram showing an example configuration of a three-dimensional data decoder 213 according to this embodiment. In this example, the three-dimensional data decoder 213 includes a vertex information decoder 221, an attribute information decoder 222, a metadata decoder 223, and a demultiplexer 224. The vertex information decoder 221, the attribute information decoder 222, and the demultiplexer 224 may correspond to the vertex information decoder 201, the attribute information decoder 203, the preprocessor 204, and the like in FIG.

[0169] In this example, the three-dimensional data decoder 213 decodes three-dimensional data according to a geometry-based encoding method. The three-dimensional structure is taken into consideration in the decoding according to the geometry-based encoding method. Furthermore, in the decoding according to the geometry-based encoding method, attribute information is decoded using configuration information obtained in decoding vertex information.

[0170] Specifically, first, a bitstream is input from the system layer to a demultiplexer 224. The demultiplexer 224 separates compressed vertex information, compressed vertex information metadata, compressed attribute information, compressed attribute information metadata, and compressed metadata from the bitstream. The compressed vertex information and compressed vertex information metadata are input to a vertex information decoder 221. The compressed attribute information and compressed attribute information metadata are input to an attribute information decoder 222. The metadata is input to a metadata decoder 223.

[0171] The vertex information decoder 221 decodes vertex information from the compressed vertex information using metadata of the compressed vertex information. The vertex information decoder 221 also generates configuration information and outputs it to the attribute information decoder 222. The attribute information decoder 222 decodes attribute information from the compressed attribute information using the configuration information generated by the vertex information decoder 221 and the metadata of the compressed attribute information. The metadata decoder 223 decodes metadata from the compressed metadata. The metadata decoded by the metadata decoder 223 may be used to decode the vertex information and the attribute information.

[0172] Thereafter, the vertex information, attribute information, and metadata are output as three-dimensional data from the three-dimensional data decoder 213. Note that, for example, this metadata is metadata of the vertex information and attribute information, and can be used in an application program.

[0173] 20 is a block diagram showing another example configuration of the three-dimensional data encoder 113 according to the present embodiment. In this example, the three-dimensional data encoder 113 includes a vertex image generator 131, an attribute image generator 132, a metadata generator 133, a video encoder 134, a metadata encoder 123, and a multiplexer 124. The vertex image generator 131, the attribute image generator 132, and the video encoder 134 may correspond to the vertex information encoder 101 and the attribute information encoder 103 in FIG. 6 , etc.

[0174] In this example, the 3D data encoder 113 encodes the 3D data according to a video-based encoding method. In encoding according to the video-based encoding method, multiple 2D images are generated from the 3D data, and the multiple 2D images are encoded according to a video encoding method. Here, the video encoding method may be High Efficiency Video Coding (HEVC), Versatile Video Coding (VVC), or the like.

[0175] Specifically, first, vertex information and attribute information included in three-dimensional data generated from sensor data are input to a metadata generator 133. The vertex information and attribute information are then input to a vertex image generator 131 and an attribute image generator 132, respectively. The metadata included in the three-dimensional data is then input to a metadata encoder 123. Here, connectivity information included in the three-dimensional data may be treated in the same way as attribute information. In the case of point cloud data, position information may be treated as vertex information.

[0176] The metadata generator 133 generates map information of a plurality of two-dimensional images from the vertex information and attribute information, and inputs the map information to the vertex image generator 131, the attribute image generator 132, and the metadata encoder 123.

[0177] The vertex image generator 131 generates a vertex image based on the vertex information and map information, and inputs the generated image to the video encoder 134. The attribute image generator 132 generates an attribute image based on the attribute information and map information, and inputs the generated image to the video encoder 134.

[0178] The video encoder 134 encodes the vertex images and attribute images into compressed vertex information and compressed attribute information, respectively, in accordance with a video encoding method, and outputs the compressed vertex information and compressed attribute information as encoded data to the multiplexer 124. The video encoder 134 also generates metadata for the compressed vertex information and metadata for the compressed attribute information, and outputs them to the multiplexer 124.

[0179] The metadata encoder 123 encodes the compressible metadata into compressed metadata and outputs the compressed metadata as encoded data to the multiplexer 124. The compressible metadata includes map information. The metadata encoded by the metadata encoder 123 may also be used to encode vertex information and attribute information.

[0180] The multiplexer 124 multiplexes the compressed vertex information, the compressed vertex information metadata, the compressed attribute information, the compressed attribute information metadata, and the compressed metadata into a bitstream, and then inputs the bitstream to the system layer.

[0181] 21 is a block diagram showing another example configuration of the 3D data decoder 213 according to this embodiment. In this example, the 3D data decoder 213 includes a vertex information generator 231, an attribute information generator 232, a video decoder 234, a metadata decoder 223, and a demultiplexer 224. The vertex information generator 231, the attribute information generator 232, and the video decoder 234 may correspond to the vertex information decoder 201 and the attribute information decoder 203 in FIG. 8, etc.

[0182] In this example, the 3D data decoder 213 decodes the 3D data according to a video-based coding method. In the decoding according to the video-based coding method, a plurality of 2D images are decoded according to a video coding method, and 3D data is generated from the plurality of 2D images. Here, the video coding method may be High Efficiency Video Coding (HEVC), Versatile Video Coding (VVC), or the like.

[0183] Specifically, first, a bitstream is input from the system layer to the demultiplexer 224. The demultiplexer 224 separates compressed vertex information, compressed vertex information metadata, compressed attribute information, compressed attribute information metadata, and compressed metadata from the bitstream. The compressed vertex information, compressed vertex information metadata, compressed attribute information, and compressed attribute information metadata are input to the video decoder 234. The compressed metadata is input to the metadata decoder 223.

[0184] The video decoder 234 decodes the vertex images in accordance with the video encoding method. At this time, the video decoder 234 decodes the vertex images from the compressed vertex information using the metadata of the compressed vertex information. Then, the video decoder 234 inputs the vertex images to the vertex information generator 231. The video decoder 234 also decodes the attribute images in accordance with the video encoding method. At this time, the video decoder 234 decodes the attribute images from the compressed attribute information using the metadata of the compressed attribute information. Then, the video decoder 234 inputs the attribute images to the attribute information generator 232.

[0185] The metadata decoder 223 decodes metadata from the compressed metadata. The metadata decoded by the metadata decoder 223 includes map information used to generate vertex information and attribute information. The metadata decoded by the metadata decoder 223 may also be used to decode vertex images and attribute images.

[0186] The vertex information generator 231 reproduces vertex information from the vertex image in accordance with the map information included in the metadata decoded by the metadata decoder 223. The attribute information generator 232 reproduces attribute information from the attribute image in accordance with the map information included in the metadata decoded by the metadata decoder 223.

[0187] Thereafter, the vertex information, attribute information, and metadata are output as three-dimensional data from the three-dimensional data decoder 213. Note that, for example, this metadata is metadata of the vertex information and attribute information, and can be used in an application program.

[0188] Fig. 22 is a conceptual diagram showing a specific example of encoding processing according to this embodiment. Fig. 22 shows a three-dimensional data encoder 113 and a description encoder 148. In this example, the three-dimensional data encoder 113 includes a two-dimensional data encoder 141 and a mesh data encoder 142. The two-dimensional data encoder 141 includes a texture encoder 143. The mesh data encoder 142 includes a vertex information encoder 144 and a connection information encoder 145.

[0189] The vertex information encoder 144, the connection information encoder 145, and the texture encoder 143 may correspond to the vertex information encoder 101, the connection information encoder 102, and the attribute information encoder 103 in FIG.

[0190] For example, the two-dimensional data encoder 141 operates as a texture encoder 143 and generates a texture file by encoding the texture corresponding to the attribute information as two-dimensional data according to an image encoding method or a video encoding method.

[0191] The mesh data encoder 142 also operates as a vertex information encoder 144 and a connectivity information encoder 145, and generates a mesh file by encoding the vertex information and connectivity information. The mesh data encoder 142 may further encode mapping information for textures. The encoded mapping information may then be included in the mesh file.

[0192] The description encoder 148 also generates a description file by encoding a description corresponding to metadata such as text data. The description encoder 148 may encode the description at the system layer. For example, the description encoder 148 may be included in the system multiplexer 114 of FIG. 12 .

[0193] The above operations generate a bitstream containing texture files, mesh files, and description files, which may be multiplexed into the bitstream in file formats such as glTF (Graphics Language Transmission Format) or USD (Universal Scene Description).

[0194] The three-dimensional data encoder 113 may include two mesh data encoders as the mesh data encoder 142. For example, one mesh data encoder encodes vertex information and connectivity information of a static three-dimensional mesh, and the other mesh data encoder encodes vertex information and connectivity information of a dynamic three-dimensional mesh.

[0195] Correspondingly, two mesh files may then be included in the bitstream: for example, one mesh file corresponding to a static 3D mesh and another mesh file corresponding to a dynamic 3D mesh.

[0196] Furthermore, the static three-dimensional mesh may be a three-dimensional mesh of an intraframe coded using intraprediction, and the dynamic three-dimensional mesh may be a three-dimensional mesh of an interframe coded using interprediction. Furthermore, information on the dynamic three-dimensional mesh may be differential information between vertex information or connectivity information of the three-dimensional mesh of an intraframe and vertex information or connectivity information of the three-dimensional mesh of an interframe.

[0197] Fig. 23 is a conceptual diagram showing a specific example of the decoding process according to this embodiment. Fig. 23 shows a three-dimensional data decoder 213, a description decoder 248, and a renderer 247. In this example, the three-dimensional data decoder 213 includes a two-dimensional data decoder 241, a mesh data decoder 242, and a mesh reconstructor 246. The two-dimensional data decoder 241 includes a texture decoder 243. The mesh data decoder 242 includes a vertex information decoder 244 and a connectivity information decoder 245.

[0198] The vertex information decoder 244, the connection information decoder 245, the texture decoder 243, and the mesh reconstructor 246 may correspond to the vertex information decoder 201, the connection information decoder 202, the attribute information decoder 203, and the post-processor 205 in Fig. 8. The presenter 247 may correspond to the presenter 215 in Fig. 12.

[0199] For example, the two-dimensional data decoder 241 operates as a texture decoder 243, and decodes the texture corresponding to the attribute information from the texture file as two-dimensional data in accordance with an image coding method or a video coding method.

[0200] The mesh data decoder 242 also operates as a vertex information decoder 244 and a connectivity information decoder 245 to decode vertex information and connectivity information from the mesh file. The mesh data decoder 242 may further decode mapping information for textures from the mesh file.

[0201] The description decoder 248 also decodes descriptions corresponding to metadata such as text data from the description file. The description decoder 248 may decode the descriptions at the system layer. For example, the description decoder 248 may be included in the system demultiplexer 214 of FIG. 12 .

[0202] The mesh reconstructor 246 reconstructs a 3D mesh from the vertex information, connectivity information, and textures according to the description. The renderer 247 renders and outputs the 3D mesh according to the description.

[0203] Through the above operations, a 3D mesh is reconstructed and output from a bitstream containing a texture file, a mesh file, and a description file.

[0204] The three-dimensional data decoder 213 may include two mesh data decoders as the mesh data decoder 242. For example, one mesh data decoder decodes vertex information and connectivity information of a static three-dimensional mesh, and the other mesh data decoder decodes vertex information and connectivity information of a dynamic three-dimensional mesh.

[0205] Correspondingly, two mesh files may then be included in the bitstream: for example, one mesh file corresponding to a static 3D mesh and another mesh file corresponding to a dynamic 3D mesh.

[0206] Furthermore, the static three-dimensional mesh may be a three-dimensional mesh of an intraframe coded using intraprediction, and the dynamic three-dimensional mesh may be a three-dimensional mesh of an interframe coded using interprediction. Furthermore, information on the dynamic three-dimensional mesh may be differential information between vertex information or connectivity information of the three-dimensional mesh of an intraframe and vertex information or connectivity information of the three-dimensional mesh of an interframe.

[0207] A dynamic 3D mesh coding method is sometimes called DMC (Dynamic Mesh Coding), and a video-based dynamic 3D mesh coding method is sometimes called V-DMC (Video-based Dynamic Mesh Coding).

[0208] The point cloud encoding method is sometimes called PCC (Point Cloud Compression). The point cloud video-based encoding method is sometimes called V-PCC (Video-based Point Cloud Compression). The point cloud geometry-based encoding method is sometimes called G-PCC (Geometry-based Point Cloud Compression).

[0209] <Implementation Example> Fig. 24 is a block diagram showing an implementation example of the encoding device 100 according to this embodiment. The encoding device 100 includes a circuit 151 and a memory 152. For example, multiple components of the encoding device 100 shown in Fig. 5 etc. are implemented by the circuit 151 and memory 152 shown in Fig. 24.

[0210] The circuit 151 is a circuit that performs information processing and is a circuit that can access the memory 152. For example, the circuit 151 is a dedicated or general-purpose electric circuit that encodes a three-dimensional mesh. The circuit 151 may be a processor such as a CPU. Alternatively, the circuit 151 may be a collection of multiple electric circuits.

[0211] The memory 152 is a dedicated or general-purpose memory that stores information used by the circuit 151 to encode the three-dimensional mesh. The memory 152 may be an electric circuit and may be connected to the circuit 151. The memory 152 may also be included in the circuit 151. The memory 152 may also be a collection of multiple electric circuits. The memory 152 may also be a magnetic disk, an optical disk, or the like, and may also be expressed as a storage, a recording medium, or the like. The memory 152 may also be a non-volatile memory or a volatile memory.

[0212] For example, the memory 152 may store a three-dimensional mesh or a bitstream, or may store a program for the circuit 151 to encode the three-dimensional mesh.

[0213] Note that the encoding device 100 does not necessarily have to implement all of the components shown in Figure 5 and the like, and does not necessarily have to perform all of the processes shown here. Some of the components shown in Figure 5 and the like may be included in another device, and some of the processes shown here may be executed by another device. Furthermore, the encoding device 100 may implement any combination of the components of the present disclosure, and may perform any combination of the processes of the present disclosure.

[0214] Fig. 25 is a block diagram showing an example implementation of a decoding device 200 according to this embodiment. The decoding device 200 includes a circuit 251 and a memory 252. For example, multiple components of the decoding device 200 shown in Fig. 7 and other figures are implemented by the circuit 251 and memory 252 shown in Fig. 25.

[0215] The circuit 251 is a circuit that performs information processing and is a circuit that can access the memory 252. For example, the circuit 251 is a dedicated or general-purpose electric circuit that decodes a three-dimensional mesh. The circuit 251 may be a processor such as a CPU. Alternatively, the circuit 251 may be a collection of multiple electric circuits.

[0216] The memory 252 is a dedicated or general-purpose memory that stores information for the circuit 251 to decode the 3D mesh. The memory 252 may be an electric circuit and may be connected to the circuit 251. The memory 252 may also be included in the circuit 251. The memory 252 may also be a collection of multiple electric circuits. The memory 252 may also be a magnetic disk, an optical disk, or the like, and may also be expressed as a storage, a recording medium, or the like. The memory 252 may also be a non-volatile memory or a volatile memory.

[0217] For example, the memory 252 may store a three-dimensional mesh or a bitstream, or may store a program for the circuit 251 to decode the three-dimensional mesh.

[0218] Note that the decoding device 200 does not necessarily have to implement all of the components shown in Figure 7 and the like, and does not necessarily have to perform all of the processes shown here. Some of the components shown in Figure 7 and the like may be included in another device, and some of the processes shown here may be executed by another device. Furthermore, the decoding device 200 may implement any combination of the components of the present disclosure, and may perform any combination of the processes of the present disclosure.

[0219] The encoding method and the decoding method including the steps performed by each component of the encoding device 100 and the decoding device 200 of the present disclosure may be executed by any device or system. For example, part or all of the encoding method and the decoding method may be executed by a computer including a processor, a memory, an input / output circuit, etc. In this case, the encoding method and the decoding method may be executed by the computer executing a program for causing the computer to execute the encoding method and the decoding method.

[0220] Alternatively, the program or the bitstream may be recorded on a non-transitory computer-readable recording medium such as a CD-ROM.

[0221] An example of a program may be a bitstream. For example, a bitstream including an encoded three-dimensional mesh includes syntax elements for causing the decoding device 200 to decode the three-dimensional mesh. The bitstream then causes the decoding device 200 to decode the three-dimensional mesh according to the syntax elements included in the bitstream. Thus, the bitstream may play a role similar to that of a program.

[0222] The bitstream may be an encoded bitstream containing the encoded 3D mesh, or may be a multiplexed bitstream containing the encoded 3D mesh and other information.

[0223] Furthermore, each component of the encoding device 100 and the decoding device 200 may be configured with dedicated hardware, general-purpose hardware that executes the above-mentioned programs, or a combination of these. The general-purpose hardware may be configured with a memory in which the programs are recorded and a general-purpose processor that reads and executes the programs from the memory. Here, the memory may be a semiconductor memory or a hard disk, and the general-purpose processor may be a CPU.

[0224] Furthermore, the dedicated hardware may be configured with a memory, a dedicated processor, etc. For example, the dedicated processor may execute the encoding method and the decoding method by referring to a memory for recording data.

[0225] Furthermore, as described above, each component of the encoding device 100 and the decoding device 200 may be an electric circuit. These electric circuits may form a single electric circuit as a whole, or each may be a separate electric circuit. Furthermore, these electric circuits may correspond to dedicated hardware, or may correspond to general-purpose hardware that executes the above-mentioned programs, etc. Furthermore, the encoding device 100 and the decoding device 200 may be implemented as an integrated circuit.

[0226] Furthermore, the encoding device 100 may be a transmitting device that transmits the three-dimensional mesh, and the decoding device 200 may be a receiving device that receives the three-dimensional mesh.

[0227] Displacement Encoding and Decoding The following terminology is used here by way of example:

[0228] (1) Image An image is a data unit made up of a set of pixels, and includes a picture or a block smaller than a picture. Images include both moving images and still images.

[0229] (2) Picture A picture is a unit of image processing that is made up of a set of pixels, and is also called a frame or field.

[0230] (3) Block A block is a processing unit consisting of a specific number of pixels. The term shown in the following example is also used for a block. The shape of a block is not particularly limited. A block may be, for example, a rectangular shape of M×N pixels or a square shape of M×M pixels. A block may also be a triangular shape, a circular shape, or another shape. Examples of blocks are as follows:

[0231] Slice, tile, or brick CTU, superblock, or basic division unit VPDU, processing division unit for hardware CU, processing block unit, prediction block unit (PU), or orthogonal transform block unit (TU) Sub-block

[0232] (4) Pixel or Sample A pixel or sample is the smallest point of an image, in other words, the smallest unit. Pixels or samples include not only pixels at integer positions, but also pixels at sub-pixel positions generated based on pixels at integer positions.

[0233] (5) Pixel Value or Sample Value: A pixel value or sample value is a unique value of a pixel. The pixel value or sample value may include a luma value, a chroma value, or an RGB gradation level, and may also include a depth value or a binary value of 0 or 1.

[0234] (6) Flags A flag indicates one or more bits. A flag is, for example, a parameter or index represented by two or more bits. A flag may indicate not only a value represented by a binary number, but also a value represented by a number other than a binary number.

[0235] (7) Signal: A signal is something that is symbolized or coded to transmit information. A signal includes a discrete digital signal or a continuous analog signal.

[0236] (8) Stream or Bit Stream A stream or bit stream is a digital data sequence that indicates the flow of digital data. A stream or bit stream may be a single stream, or may be configured to include multiple streams with multiple layers. A stream or bit stream may be transmitted by serial communication using a single transmission path, or may be transmitted by packet communication using multiple transmission paths.

[0237] (9) Difference: For scalar quantities, difference can include simple difference (x - y) and difference calculations, such as absolute difference (|x - y|), squared difference (x^2 - y^2), square root difference (√(x - y)), weighted difference (ax - b, where a and b are constants), or offset difference (x - y + a, where a is an offset).

[0238] (10) Sum. For scalar quantities, sums can include simple sum (x + y) and addition operations. Sum can also include absolute sum (|x + y|), sum of squares (x^2 + y^2), square root of sum (√(x + y)), weighted sum (ax + by, where a and b are constants), or offset sum (x + y + a, where a is an offset).

[0239] (11) "Based on" The expression "based on something" means that something other than that "something" may be taken into consideration. Also, "based on" can be used both when a direct result is obtained and when a result is obtained through an intermediate result.

[0240] (12) "Used" or "Using" The phrases "something was used" or "used something" mean that something other than the "something" may be taken into consideration. The phrases "used" or "used" may be used both in cases where a direct result is obtained and in cases where a result is obtained via an intermediate result.

[0241] (13) Prohibition "Prohibit" can be rephrased as "not permitted." Also, "not prohibited / prohibited" or "permitted / permitted" does not necessarily mean "obligation."

[0242] (14) "Restriction" or "Limitation" "Restriction" or "Limitation" can be rephrased as "not permitted / not allowed" or "not permitted / permitted." Furthermore, "prohibited / not prohibited" or "not permitted / permitted" does not necessarily mean "obligation." Furthermore, what is prohibited quantitatively or qualitatively may be either partial or total.

[0243] (15) Chroma The term chroma is an adjective, represented by the symbols Cb or Cr, that indicates that a sample array or a single sample represents one of the two color-difference signals associated with a primary color. The term chroma is sometimes used instead of the term chrominance.

[0244] (16) Luma The term luma is an adjective, represented by the symbols or subscripts Y or L, that indicates that a sample array or a single sample represents a monochrome signal for a primary color. The term luma is sometimes used instead of the term luminance.

[0245] The encoding / decoding system of this embodiment will be described below.

[0246] A typical three-dimensional model (also called a 3D model) digitally represents an object so that a user can explore the model using zoom, pan, and rotation in all three dimensions while it is rendered over time. One way to construct such a representation is to build a 3D mesh using triangles. The model stores the positions of the triangle vertices, their connectivity to each other, and their associated attributes (such as normals or UV patches).

[0247] Storing all this information in uncompressed form requires a very large storage space and therefore a very large bandwidth for transmission. The triangles that form the mesh often have repeating patterns and similar properties, especially in temporal and spatial neighborhoods. These repetitions can be exploited to develop efficient encoding and decoding methods for storage and transmission. One such encoding and decoding method is Video-based Dynamic Mesh Coding (V-DMC).

[0248] 26 is a block diagram showing another example of the configuration of the encoding / decoding system according to this embodiment. As shown in FIG. 26, the encoding / decoding system includes an encoding device 100 and a decoding device 200.

[0249] The encoding / decoding system accepts input three-dimensional meshes (also called 3D meshes) in the form of three-dimensional coordinates of vertices (vertex information), connectivity (connection information) and associated attributes (attribute information), which may include texture maps as well as geometry.

[0250] The encoding device 100 takes an input 3D mesh (also referred to as an input 3D mesh or input mesh) in the form of three-dimensional coordinates of vertices, connectivity, and associated attributes. The encoding device 100 encodes all associated information into a stream. The stream may consist of a single bitstream or multiple bitstreams.

[0251] The network 300 transmits the stream generated by the encoding device to the decoding device 200. The network 300 may be the Internet, a wide area network (WAN), a local area network (LAN), or any combination thereof. Furthermore, the network 300 is not necessarily limited to a two-way communication network, but may also be a one-way communication network that transmits broadcast waves such as terrestrial digital broadcasting or satellite broadcasting. Instead of the network 300, a recording medium such as a digital versatile disc (DVD) or a blue-ray disc (BD) on which a stream is recorded may be used.

[0252] The stream is transmitted to a decoding device 200 via a network 300. The decoding device 200 decodes the bitstream and generates a 3D mesh using the 3D coordinates, connectivity, and associated attributes of the decoded vertices. The decoding device 200 outputs the generated 3D mesh (also referred to as an output 3D mesh or output mesh).

[0253] FIG. 27 is a diagram showing another example of the configuration of the encoding device 100.

[0254] As shown in FIG. 27, the encoding device 100 includes a preprocessor 1102 and a compressor 1107 .

[0255] The encoding device 100 reads an input mesh 1101 and passes it to a preprocessor 1102. The preprocessor 1102 processes the input mesh 1101 to extract a base mesh 1103, displacement data 1104, texture data 1105, and an attribute map 1106. The encoding device 100 passes the extracted base mesh 1103, displacement data 1104, texture data 1105, and attribute map 1106 to a compressor 1107.

[0256] The compressor 1107 can compress the base mesh 1103 , the displacement data 1104 , the texture data 1105 and the attribute map 1106 to generate a bitstream 1108 that can be sent to the decoding device 200 .

[0257] FIG. 28 is a diagram showing another example of the configuration of the decoding device 200.

[0258] As shown in FIG. 28, the decoding device 200 includes a decompressor 2102 and a post-processor 2107 .

[0259] The decoding device 200 reads a bitstream 2101 and passes it to a decompressor 2102. The decompressor 2102 decompresses a base mesh 2103, displacement data 2104, texture data 2105, and an attribute map 2106 from the bitstream 2101, and passes them to a post-processor 2107. An example of the displacement data 2104 is a displacement vector.

[0260] The post-processor 2107 processes the base mesh 2103 according to the displacement data 2104 and the attribute map 2106 to generate an output mesh 2108. The post-processor 2107 may further use information from the texture data 2105 to generate the output mesh 2108.

[0261] The encoding process performed by the encoding device 100 will be described in detail below.

[0262] Fig. 29 is a flow diagram showing the processing of the encoding device 100. Fig. 30 is an explanatory diagram conceptually showing the encoding of mesh frames. The processing of the encoding device 100 will be described with reference to Figs. 29 and 30.

[0263] In step S101, the encoding device 100 reads a three-dimensional mesh frame that is an input mesh frame. The input mesh frame is a mesh frame that is input to the encoding device 100. An example of a three-dimensional mesh frame that is an input mesh frame is shown as mesh frame 1301 (see FIG. 30 ).

[0264] In step S102, the encoding device 100 performs a decimation process on the input mesh frame read in step S101 to generate a base mesh frame having fewer vertices than the input mesh frame. The base mesh frame generated by decimating the mesh frame 1301 is shown as a base mesh frame 1302 (see FIG. 30 ). Note that the vertices of the base mesh frame 1302 may be located at positions different from those of the mesh frame 1301. Note that the base mesh frame 1302 may be subdivided by adding new vertices between existing vertices.

[0265] In step S103, the encoding device 100 calculates displacement information that the decoding device 200 uses to reconstruct a mesh frame. The displacement information corresponds to a displacement vector directed from a vertex of the base mesh frame generated in step S102 to a vertex of the input mesh frame. One method for calculating the displacement information is to subtract the coordinates of the vertex of the base mesh frame from the coordinates of the vertex of the input mesh frame. The displacement information calculated from the mesh frame 1301 and the base mesh frame 1302 is shown as displacement information 1303 (see FIG. 30 ). The displacement information 1303 is in vector format, in other words, expressed as a displacement vector. Note that the displacement information is converted into wavelet coefficients by wavelet transform, and then the wavelet coefficients can be assigned to planes of a video frame and encoded using a video codec.

[0266] In step S104, the encoding device 100 encodes the base mesh frame generated in step S102, the displacement information generated in step S103, the attribute map, and the texture data into a bitstream (corresponding to a compressed bitstream). An example of the bitstream is shown as bitstream 1304 (see FIG. 30).

[0267] Specifically, the bitstream 1304 includes vertex coordinates and connectivity information for vertices A, C, E, and F, displacement information, a video bitstream including texture data, and a compressed attribute map (see FIG. 30). The displacement information includes displacement information for displacing vertices based on vertex coordinates obtained from the subdivided base mesh frame. The compressed attribute map is texture coordinates for applying texture data to a mesh frame reconstructed using the base mesh frame and the displacement information.

[0268] The decoding process performed by the decoding device 200 will be described in detail below.

[0269] Fig. 31 is a flow diagram showing the processing of the decoding device 200. Fig. 32 is an explanatory diagram conceptually showing the decoding of a three-dimensional mesh. The processing of the decoding device 200 will be described with reference to Figs. 31 and 32.

[0270] In step S201, the decoding device 200 decodes a base mesh frame from a bitstream (corresponding to a compressed bitstream). An example of the decoded base mesh frame (corresponding to a decoded base mesh frame) is shown as a decoded base mesh frame 2301 (see FIG. 32).

[0271] In step S202, the decoding device 200 generates new vertices between existing vertices by subdivision of the base mesh frame decoded in step S201. An example of a mesh frame including the subdivided vertices is shown as mesh frame 2302 (see FIG. 32). At this point, the mesh frame 2302 includes all the vertices and connectivity relationships of the original mesh frame. Note that the positions of the vertices included in the mesh frame 2302 may differ from the corresponding vertices included in the input mesh frame.

[0272] In step S203, the decoding device 200 decodes the disparity information from the bitstream (corresponding to the compressed bitstream). An example of the decoded disparity information is shown as disparity information 2303 (see FIG. 32). The disparity information 2303 is in vector format, in other words, expressed as a disparity vector. At this time, the decoding device 200 decodes the wavelet coefficients using a video decoder and performs an inverse wavelet transform to restore the disparity vector.

[0273] In step S204, the decoding device 200 reconstructs the shape of the mesh frame by moving the vertices of the base mesh frame, including the subdivided vertices, to new positions using the displacement information. The decoding device 200 further reconstructs the decoded 3D mesh by applying texture data to the faces generated by the vertices and connectivity information of the mesh frame. An example of a reconstructed mesh frame is shown as mesh frame 2304 (see FIG. 32).

[0274] <Configuration Example of Encoding Device> Next, a configuration example of an encoding device will be described. Fig. 33 is a block diagram showing a configuration example of an encoding device 600. An input three-dimensional mesh, which is a three-dimensional mesh made up of a plurality of faces (e.g., polygons such as triangles or quadrangles) that represent the three-dimensional shape of an object, and an input texture map, which is a texture map that represents a pattern on the surface of the object, are input to the encoding device 600. The encoding device 600 generates a bitstream by compression-encoding the input three-dimensional mesh and the input texture map.

[0275] This encoding device 600 includes a thinning unit 601, a texture coordinate determination unit 602, a base mesh encoding unit 603, a base mesh decoding unit 604, a subdivision unit 605, a displacement vector calculation unit 606, a displacement vector encoding unit 607, a displacement vector decoding unit 608, a three-dimensional mesh reconstruction unit 609, a texture conversion unit 610, a texture encoding unit 611, and a multiplexing unit 612.

[0276] The thinning unit 601 performs thinning processing on the input three-dimensional mesh. Specifically, the thinning unit 601 generates a three-dimensional mesh by thinning out one or more vertices from the input three-dimensional mesh.

[0277] The texture coordinate determination unit 602 determines texture coordinates corresponding to the vertices of each face included in the 3D mesh whose vertices have been thinned out. Here, the 3D mesh whose vertices have been thinned out and the corresponding texture coordinates are collectively referred to as a base mesh.

[0278] The base mesh encoding unit 603 encodes the base mesh to generate a base mesh bitstream. The base mesh decoding unit 604 decodes the base mesh bitstream to generate a decoded base mesh. The subdivision unit 605 subdivides the decoded base mesh to generate a subdivided decoded base mesh with finer faces.

[0279] The displacement vector calculation unit 606 calculates a displacement vector for each vertex of each face included in the subdivision decoded base mesh. This displacement vector is used to deform the subdivision decoded base mesh to match the input 3D mesh. Specifically, for example, a displacement vector is generated for each of multiple vertices included in the subdivision decoded base mesh. The displacement vector may be the difference between the positions of corresponding vertices included in the subdivision decoded base mesh and the input 3D mesh. More specifically, the displacement vector may be a vector extending from a first vertex included in the subdivision decoded base mesh frame to a second vertex included in the input 3D mesh that corresponds to the first vertex. Alternatively, the displacement vector may be a vector extending from a vertex of the subdivision decoded base mesh to a face included in the input 3D mesh.

[0280] The disparity vector encoding unit 607 encodes a plurality of disparity vectors to generate a disparity vector bit stream, and the disparity vector decoding unit 608 decodes the disparity vector bit stream to generate a plurality of decoded disparity vectors.

[0281] The three-dimensional mesh reconstruction unit 609 reconstructs a decoded three-dimensional mesh using the plurality of decoded displacement vectors and the sub-divided decoded base mesh. Specifically, the three-dimensional mesh reconstruction unit 609 generates a decoded three-dimensional mesh by transforming the sub-divided decoded base mesh using the plurality of decoded displacement vectors.

[0282] The texture conversion unit 610 converts the input texture map into a layout that corresponds to the decoded 3D mesh based on the input 3D mesh and the decoded 3D mesh, thereby generating a converted texture map. Specifically, the texture conversion unit 610 changes the texture coordinates of each first vertex of the input texture map to the texture coordinates of a second vertex that corresponds to the first vertex and is included in the decoded 3D mesh.

[0283] The texture encoding unit 611 generates a texture bitstream by encoding the transformed texture map. The multiplexing unit 612 generates a bitstream by multiplexing the base mesh video stream, the displacement vector video stream, and the texture bitstream. That is, the bitstream includes the encoded base mesh, the encoded displacement vector, and the encoded transformed texture map.

[0284] <Configuration Example of Decoding Device> Next, a configuration example of a decoding device will be described. FIG. 34 is a block diagram showing a configuration example of a decoding device 700. The decoding device 700 generates a decoded 3D mesh and a decoded texture map by decoding a bitstream. The bitstream is generated by encoding a 3D mesh composed of multiple faces (e.g., polygons such as triangles or quadrangles) representing the 3D shape of an object, and a texture map representing a pattern on the surface of the object. For example, this bitstream is encoded by the encoding device 600 shown in FIG. 33.

[0285] The decoding device 700 includes a separating unit 701 , a base mesh decoding unit 702 , a subdivision unit 703 , a displacement vector decoding unit 704 , a 3D mesh reconstruction unit 705 , and a texture decoding unit 706 .

[0286] The separation unit 701 separates a base mesh stream, a displacement vector bit stream, and a texture bit stream from the bit stream. The base mesh decoding unit 702 decodes the base mesh stream to generate a decoded base mesh including a 3D mesh and texture coordinates corresponding to the 3D mesh. This decoded base mesh corresponds to the decoded base mesh output from the base mesh decoding unit 604 shown in Figure 33.

[0287] The subdivision unit 703 generates a subdivided decomposed base mesh with finely divided faces by subdividing the decomposed base mesh, in the same manner as the subdivision unit 605 shown in FIG.

[0288] The displacement vector decoding unit 704 generates a decoded displacement vector by decoding the displacement vector bitstream. The 3D mesh reconstruction unit 705 reconstructs a decoded 3D mesh using the decoded displacement vector and the subdivision decoded base mesh. These processes are similar to the processes of the displacement vector decoding unit 608 and the 3D mesh reconstruction unit 609 shown in Figure 33. The texture decoding unit 706 generates a decoded texture map by decoding the texture bitstream.

[0289] <Subdivision Processing> Next, the subdivision processing performed in the subdivision unit 605 will be described. Note that the processing performed in the subdivision unit 703 is similar to the processing performed in the subdivision unit 605, and the processing of the subdivision unit 605 will be described below as a representative example. Fig. 35 is a diagram showing an example of a base mesh. The base mesh shown in Fig. 35 includes vertices A, B, and C, and edges AB, BC, and CA connecting the vertices A, B, and C.

[0290] Figure 36 is a diagram showing an example of a first mesh after a single subdivision process has been performed on the base mesh shown in Figure 35. In the first mesh shown in Figure 36, vertices D, E, and F are inserted into the base mesh shown in Figure 35. Edges AB, BC, and CA are also divided into edges AD and DB, edges BE and EC, and edges CF and FA, respectively. Edges DE, EF, and FD are also added.

[0291] Figure 37 is a diagram showing an example of a second mesh obtained by further performing a subdivision process once on the first mesh shown in Figure 36. In the second mesh shown in Figure 37, vertices G, H, I, J, K, L, M, N, and O are inserted into the first mesh shown in Figure 36. Furthermore, each edge is divided and new edges are added. By repeating this division process a predetermined number of times, the base mesh is subdivided and the faces are refined.

[0292] <Sub-division point insertion process> Next, a method for determining the positions of vertices (hereinafter also referred to as sub-division points) to be inserted when dividing an edge in the sub-division process will be described. Figures 38 and 39 are diagrams showing an example of the process for determining the positions of these sub-division points.

[0293] 38, the subdivision unit 605 determines a subdivision point for dividing the edge v0v1 by using a weighted average of the coordinates of multiple vertices. For example, the subdivision unit 605 may determine the midpoint X of the edge v0v1 as the subdivision point for the edge v0v1.

[0294] Alternatively, the subdivision unit 605 may determine a subdivision point Y for dividing the edge v0 / v1 using the vertices v0 and v1 as well as multiple vertices connected to these vertices v0 and v1. For example, the coordinate of the subdivision point Y may be a weighted average of the coordinates of the eight vertices v0, v1, v2, v3, v4, v5, v6, and v7.

[0295] In the example shown in FIG. 39 , the subdivision unit 605 determines a subdivision point Y for dividing edge v0 / v1 using the normal vector n0 of vertex v0 and the normal vector n1 of vertex v1. For example, the subdivision unit 605 derives a vector d0 based on the normal vector n0 of vertex v0, a plane a that is perpendicular to the normal vector n0 and includes vertex v0, and the midpoint X of edge v0 / v1. Vector d0 is a vector whose starting point is X, whose ending point is a point on plane a, and which is perpendicular to plane a. Similarly, the subdivision unit 605 derives a vector d1 based on the normal vector n1 of vertex v1, a plane b that is perpendicular to vector n1 and includes vertex v1, and the midpoint X of edge v0 / v1. Vector d1 is a vector whose starting point is X, whose ending point is a point on plane b, and which is perpendicular to plane b.

[0296] The normal vector of a vertex is calculated from the multiple normal vectors of the multiple faces to which the vertex belongs. For example, the normal vector of a vertex is calculated by taking a weighted average of the multiple normal vectors of the multiple faces to which the vertex belongs. The weights are set, for example, according to the areas of the multiple faces. The normal vector of a face is also calculated from the coordinates of the multiple vertices that make up the face.

[0297] Next, the subdivision unit 605 determines the coordinate of the subdivision point Y at which the edge v0v1 is divided by Y = X + w × (d0 + d1). In this formula, X is the coordinate of the midpoint X, Y is the coordinate of the subdivision point Y, (d0 + d1) is the resultant vector of vectors d0 and d1, and w is a scaling value for scaling the resultant vector (d0 + d1). w may be set according to the number of subdivisions. For example, w may be set to 1 / 16 the first time, 1 / 8 the second time, and 1 / 4 the third time.

[0298] 38, by determining the subdivision points for dividing the edge v0v1 using the multiple vertices connected to the edge v0v1, it may be possible to set the subdivision points at positions close to the surface of the input 3D mesh. This may reduce the amount of code for the displacement vector while maintaining the accuracy of the decoded 3D mesh.

[0299] 39, by determining the subdivision points using the normal vectors of vertices v0 and v1, it may be possible to set the subdivision points at positions close to the surface of the input 3D mesh. This may enable the amount of code for the displacement vector to be reduced while maintaining the accuracy of the decoded 3D mesh.

[0300] Note that the method for determining the sub-division points for dividing the edge v0v1 is not limited to these, and any other method may be used as long as it uniquely determines the positions of the sub-division points.

[0301] <Normal Vector Derivation Process> The normal vector derivation process in the subdivision process will be described below. FIG. 40 is a flowchart showing an outline of the decoder process. As shown in FIG. 40, the decoder process involves decoding a base mesh based on information decoded from the bitstream (S301), and then performing subdivision on the base mesh (S302 to S307). In the subdivision process, repeated processing is performed for each layer of the subdivision process, which may overlap multiple layers (S303 to S306). Specifically, for each layer of the subdivision process, the coordinates of new vertices for the edges of the original polygon are determined (S304), and new edges and new polygons (here, triangles) are generated using the coordinates of the new vertices and the coordinates of the existing vertices (S305).

[0302] In this way, by repeatedly performing the subdivision process, a subdivision mesh is obtained by subdividing one polygon into multiple polygons. The resulting subdivision mesh is then subjected to shape correction using a displacement vector. Specifically, the displacement vector is added to the coordinates of all vertices (S308) to displace (correct) the vertex coordinates. This allows a restored mesh to be obtained (S309). By improving the prediction accuracy of new vertex positions in the subdivision, it is expected that the amplitude of the displacement vector transmitted to the decoder will be reduced, and as a result, the amount of code for the entire displacement vector will be reduced.

[0303] The following describes the issues involved in subdivision processing using normals to improve the prediction accuracy of new vertex positions. Figures 41 to 43 are explanatory diagrams showing the transitions of vertices and edges in each subdivision layer. The following explanation will use Figures 41 to 43 as appropriate. Note that Figures 41 to 43 focus on one triangle ABC in the base mesh and show the transitions of vertices, edges, and triangles as they undergo each subdivision. Also, in Figures 41 to 43, edges before subdivision are shown with dashed lines, and the midpoints of the edges before subdivision are shown with open circles.

[0304] Generally, the formula for calculating a surface normal is the following formula (1), and the formula for calculating a vertex normal is the following formula (2). Although other methods may be used to calculate the surface normal and vertex normal, the following explanation will be based on the above two formulas.

[0305]

[0306]

[0307] In the following, a surface normal vector is defined as the normalized vector of the cross product of the vectors of two sides of a triangle starting from a vertex, and a vertex normal vector is defined as the normalized vector of the average of the surface normal vectors of all triangles to which the vertex belongs.

[0308] Equation (1) illustrates an example of an equation for calculating the surface normal vector of triangle ABC in Figure 41. When equation (2) is applied to deriving the normal vector of vertex D in Figure 42, the objects of calculation for the sigma operation in equation (2) are three triangles: triangle ADF, triangle FDE, and triangle EDB. Note that "norm" (object vector) in equations (1) and (2) is a normalization process for obtaining a unit length vector of the object vector, and means that each element of the object vector is divided by the length of the object vector itself.

[0309] As an effect of normal recalculation during subdivision, for example, in the subdivision described with reference to Figures 38 and 39, the positions of new vertices are determined while predicting the original shape, so that new vertices in the subdivision may be generated at positions that are off the edges connecting the old vertices, as shown in the transitions from Figure 41 to Figure 42 and from Figure 42 to Figure 43. This causes the mesh shape to gradually change with each subdivision across the entire mesh. For this reason, even for normal vectors of the same vertex, for example, the direction of the normal vector of vertex A in the base mesh in Figure 41 may differ from the direction of the normal vector of vertex A in the subdivision mesh in Figure 42 after one subdivision. Similarly, the direction of the normal vector of vertex F in the subdivision mesh in Figure 42 may differ from the direction of the normal vector of vertex F in the subdivision mesh in Figure 43.

[0310] If the new vertex positions obtained by the subdivision method described here can accurately predict the original mesh shape before subdivision, it is possible that the accuracy of the new vertex positions in the next subdivision will be improved by recalculating each vertex normal based on the mesh shape resulting from a certain subdivision.

[0311] On the other hand, a disadvantage of recalculating normals during subdivision is that, generally, the number of vertices increases by about four times each time the entire mesh is subdivided. For this reason, if priority is given to the accuracy of vertex positions during subdivision, it is desirable to recalculate all vertex normals for each subdivision. However, because vertex normal calculations involve weighted averaging (division) and vector normalization (dividing a vector by its length), recalculating the normals of all vertices for each subdivision increases the load on the decoder.

[0312] Therefore, the following describes a method for deriving a normal vector that can reduce the decoder processing amount while maintaining normal accuracy and balance the above-mentioned advantages and disadvantages.

[0313] In order to achieve both accuracy in subdivision using normals in FIGS. 38 and 39 and reduction in the amount of decoder calculations, the following several improvement proposals are conceivable.

[0314] 1. Reusing Normal Vector Values ​​of Existing Vertices Between Layers. For example, in Figures 41 to 43, the normal vectors of all vertices of the mesh in Figure 41 are calculated according to the procedure described above. Then, after subdividing the mesh to obtain the connectivity shown in Figure 42, the vertex normal values ​​calculated for the existing mesh in Figure 41 are used as is for vertex A, vertex B, and vertex C. After the subdivision, new vertex normal values ​​are calculated only for new vertices D, vertex E, and vertex F. This approach takes into account the fact that the shape of the mesh changes slightly with each subdivision, and takes advantage of the fact that the normal vector values ​​of the same vertices in Figures 41 and 42 are similar before and after the subdivision. A similar reuse process may also be applied to the subdivision between Figures 42 and 43. Based on the above-described formulas (1) and (2), formula (2), which was previously required for calculating the normals of existing vertices at each layer (i.e., each time subdivision is performed), is no longer required, thereby reducing the amount of computational processing. Vertices A, B, and C may be considered existing vertices in the subdivision hierarchy of FIG. 42 because the positions of vertices A, B, and C are the same between FIG. 41 and FIG. 42 in different hierarchies, i.e., before and after subdivision; or even if the positions of the vertices are different before and after subdivision, they may be considered existing vertices because they are not vertices newly generated by subdivision (for example, vertices D, E, and F between FIG. 41 and FIG. 42).

[0315] 2. Simplifying the calculation of normal vector values ​​for new vertices The following are methods for obtaining approximate normal vectors while avoiding the need to calculate equation (2) for each new vertex for each subdivision.

[0316] 2-1. Substituting the Average of the Normal Vector Values ​​of the Existing Vertices at Both Ends The normal vector value of a new vertex can be similar to the normals of the two existing vertices at both ends of the edge to which the new vertex belongs. By taking advantage of this fact, the normal vector of the new vertex can be set to the average of the normal vectors of the two existing vertices, thereby simplifying the sum-of-products and division calculations. Specifically, for example, when subdividing the base mesh of FIG. 41 to obtain the subdivision mesh of FIG. 42, the normal vector value of new vertex D is set to half the sum of the normal vector values ​​of existing vertices A and B (see equation (3) below). A similar calculation process can also be applied to new vertices E and F. In this case, the calculation of equation (2) is unnecessary, and the normal vector of the new vertex can be obtained by only addition and bit shift operations.

[0317]

[0318] 2-2. Substitution with Triangle Surface Normal Vector Values ​​Taking advantage of the fact that the normal vector values ​​of new vertices generated by subdivision can be similar to the surface normals of new triangles also generated by subdivision, calculations are simplified by using the surface normal vectors of the new triangles as the new vertex normal vectors. Specifically, for example, when subdividing the base mesh of FIG. 41 to obtain the subdivision mesh of FIG. 42, the surface normal vector of the new triangle DEF is substituted for the normal vector value of new vertex D. The same idea can be applied to new vertices E and F. In this case, there is no need to calculate equation (2) for new vertices D, E, and F, and it is sufficient to simply calculate equation (1) for new triangle DEF.

[0319] Applying this same concept to the subdivision mesh of Figure 43, when vertex J is generated from edge DE of the subdivision mesh of Figure 43 and the normal of vertex J is calculated, it is possible to use the weighted average of the two surface normals (each calculated using equation (1)) of the two triangles (triangles IJM and JKO) created by the new vertex and to which vertex J belongs, or one of the surface normals. For example, if the surface normal of triangle IJM is used as the normal of new vertex J, the calculation of equation (2) for vertex J can be derived by calculating equation (1) for triangle IJM alone. In this case, it is possible to take into account the surface normal of a triangle containing an existing vertex (e.g., triangle DJI in Figure 43). However, if all six triangles containing vertex J, namely triangles IJM, EMJ, EJK, JKO, DJO, and DJI, are considered, the surface normals of all triangles would have to be calculated, which would not reduce the amount of calculation. That is, five or fewer triangles are identified, which is fewer than the original six, and the normal of vertex J is found by using only the surface normals of the identified triangles.

[0320] After the normal vectors of these new vertices are calculated as substitutes, the normal vectors of the existing vertices may be updated using the resulting normal vectors. In this case, the average of the normal vectors of the new vertices connected to the existing vertex is updated as the normal vector of that existing vertex. In this case, multiple points can be any power of two, such as two, four, or eight points, which can be replaced with a bit shift operation, simplifying the calculation. Furthermore, if the weighted average of all connection points is used, it can also lead to improved accuracy in subdivision.

[0321] According to the above-mentioned concept, the normal vector of each vertex can be approximately derived with a small amount of calculation, improving the accuracy of subdivision, and thus reducing both the amount of displacement vector code and the amount of decoder calculation.

[0322] Next, an example of a subdivision processing procedure of the decoding device will be described with reference to Figures 44 and 45. Figures 44 and 45 are flowcharts for explaining the subdivision processing procedure of the decoding device according to the embodiment.

[0323] As shown in Figures 44 and 45, in the subdivision process in steps S311 to S319 and steps S321 to S329, a subdivision loop (S312 to S317, S323 to S328) is performed for each subdivision hierarchical level. Specifically, the coordinates of the subdivision points (new vertices) are determined for each subdivision hierarchical level (S314, S324), new edges are generated by dividing each edge based on the new vertices (S315, S325), and triangles are divided into four new triangles based on the new vertices (S316, S326). As a result, edge connection information and triangle configuration information are updated.

[0324] When vertex normals are required to determine the coordinates of new vertices for each subdivision, the timing of calculating the vertex normals for the subdivision can be, for example, when the decoding device still needs the vertex normals after the subdivision (for example, when the calculated normal vectors are used to derive displacement vectors). As shown in Figure 45, the normal vectors of existing vertices are calculated once before the subdivision hierarchical loop begins (S322), and after each hierarchical subdivision, the vertex normals are recalculated before moving on to the next loop (S327). Alternatively, as shown in Figure 44, the vertex normals are calculated immediately after the subdivision hierarchical loop begins (S313), and the normals of all vertices are calculated after the subdivision hierarchical loop ends (S318).

[0325] Specifically, a case where vertex normals are still required after subdivision is when coordinate transformation of displacement vector information of each vertex is performed. The displacement vectors of each vertex are also coded and transmitted to the decoding device as a bitstream. However, in order to reduce the amount of coding, these displacement vectors may be transmitted as one-dimensional vectors in the vertex normal direction of each vertex, rather than as three-dimensional vectors in XYZ space. This takes advantage of the fact that the three-dimensional component of the displacement amount of each vertex is dominant in the vertex normal direction (in other words, the component is large), and has little impact even if the other two components (tangent planes) are ignored (the so-called NTB coordinate system, where N stands for Normal, T stands for Tangent, and B stands for Bi-Tangent). In order to interpret the displacement vectors expressed in such an NTB coordinate system in the XYZ space of the decoding device and apply them as displacement amounts, it is necessary to perform a coordinate transformation to replace the NTB coordinates with XYZ coordinates for each displacement amount. Since the NTB coordinates are different for each vertex, individual vertex normals are required. By using the normal vectors derived in the subdivision as the individual vertex normals used for the coordinate transformation of this displacement vector, the amount of calculation can be reduced compared to when the normal vectors of individual vertices for the coordinate transformation of the displacement vector are derived separately.

[0326] Furthermore, if normals are no longer necessary after subdivision in the decoding device, one possible method is to omit step S327, the final step in the subdivision hierarchical loop, in the example of Fig. 45, or step S318 after the end of the subdivision hierarchical loop, in the example of Fig. 44. The number of vertices increases by approximately four times for each subdivision hierarchical layer, and conventionally, calculation of equation (2) is required for each vertex. Therefore, if the normal calculations in the final layer (steps S318 and S327) can be omitted, the amount of calculation by the decoder can be reduced.

[0327] When simplification, reuse, or substitution of vertex normal vector calculation is applied, it is applied to some or all of steps S313, S318, S322, and S327 in the flowcharts of FIGS.

[0328] In the section "2-2. Substituting with Triangle Surface Normal Vector Values," we have shown an example in which the calculated normal vector value of a new vertex is substituted with either the average or either of the values ​​of the two new triangles to which that vertex belongs. For example, when calculating the vertex normal of new vertex J in the subdivision mesh shown in Figure 43, we have described a method of using the weighted average or either of the two surface normals of the two triangles (triangles IJM and JKO) that are formed only by the new vertex (including only the new vertex) and to which vertex J belongs. Typically, six new triangles are placed around the new vertex after subdivision of a triangle. Therefore, if the weighted average is used in this case, the amount of calculation of the triangle's surface normals using equation (1) for each subdivision is reduced to one-third of the calculation of all six surface normals.

[0329] In addition, the surface normals of existing triangles may be used as the basis for this substitute calculation. For example, to calculate the vertex normal of new vertex J of the subdivision mesh in FIG. 43, three triangles, DOJ, IJM, and JKE, are used. Only the surface normals of these triangles are calculated using equation (1), and then the normals of each new vertex are calculated using equation (2). The sigma operation in equation (2) includes only the surface normals of these three triangles as the calculation targets. In this example, the surface normals are calculated by periodically thinning out the triangles after subdivision (skip every other triangle in the circumferential direction around vertex J) to half the number of calculation targets. This reduces the amount of calculation required for the triangle surface normals using equation (1) to half the amount required for the calculation of all six surface normals. In this way, by thinning out the triangle surface normal calculation targets in the above method, the balance between the decoder's restoration accuracy and the amount of calculation required can be controlled. When thinning out the calculation targets, it is preferable to leave some of the triangles as calculation targets without thinning them out, i.e., to specify the triangles to be calculated periodically, such as by skipping every other triangle or every two triangles, in the circumferential direction around the vertex whose normal vector is to be calculated. This has the advantage of making it easier to obtain vertex normals that appropriately reflect the surface normals around the vertex whose normal vector is to be calculated.

[0330] <Summary> As described above, the encoding device (three-dimensional data encoding device) according to this embodiment performs the processing shown in Fig. 46. Fig. 46 is a flowchart of the encoding processing performed by the encoding device.

[0331] The encoding device encodes a three-dimensional mesh (e.g., a decoded base mesh or a decoded base mesh after one or more subdivisions) using a normal vector of a first vertex included in the three-dimensional mesh, and identifies one or more second polygons out of a plurality of first polygons that include the first vertex (S331), which are fewer than the plurality of first polygons, derives a surface normal vector for each of the identified one or more second polygons (S332), and derives the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons (S333).

[0332] This allows the encoding device to encode a three-dimensional mesh using the normal vector of the first vertex. Here, deriving the normal vector of the first vertex more accurately requires deriving the surface normals of all first polygons that include the first vertex and performing calculations using the surface normals of all first polygons. However, by identifying one or more second polygons that are fewer than the first polygon, it becomes possible to derive only the surface normals of the identified second polygons and approximately derive the normal vector of the first vertex through calculations using only the surface normals of the derived second polygons. Thus, while being able to approximately derive the normal vector of the first vertex, it is possible to reduce the amount of calculation, at least in terms of deriving the surface normal. Therefore, the encoding method can contribute to improving encoding processes, etc., related to three-dimensional meshes.

[0333] For example, in the processing of the encoding device, when subdividing a base mesh generated based on an input 3D mesh into sub-division meshes, the first vertex may be a vertex located between two existing second vertices on the base mesh, thereby enabling the encoding device to reduce the amount of calculations when subdividing the base mesh generated based on the input 3D mesh into sub-division meshes.

[0334] For example, in the processing of the encoding device, when further subdividing a sub-divided mesh obtained by subdividing a base mesh generated based on an input 3D mesh, the first vertex may be a vertex located between two existing second vertices on the sub-divided mesh, which enables the encoding device to reduce the amount of calculations when further subdividing a sub-divided mesh obtained by subdividing a base mesh generated based on an input 3D mesh.

[0335] For example, in the processing of the encoding device, the one or more second polygons may be polygons that are formed only by vertices that are located between two existing second vertices when the subdivision is performed, thereby allowing the encoding device to identify, as the second polygons, polygons that are formed only by vertices that are located between two existing second vertices when the subdivision is performed.

[0336] For example, in the process of the encoding device, the normal vector of the second vertex may be derived before the subdivision, and the normal vector of the second vertex derived before the subdivision may be used as the normal vector of the second vertex after the subdivision, thereby reducing the amount of calculations by the encoding device by using the normal vector of the second vertex derived before the subdivision as the normal vector of the second vertex after the subdivision.

[0337] For example, in the processing of the encoding device, the derived normal vector of the first vertex may be further used to derive a displacement vector for displacing the first vertex after the subdivision. In this way, the encoding device can use the normal vector derived in the subdivision to derive the displacement vector for displacing the first vertex. In other words, the normal vector derived in the subdivision can be used to derive the displacement vector without newly deriving the normal vector of the first vertex, thereby reducing the amount of calculation.

[0338] For example, in the process of the encoding device, the one or more second polygons may be one of the multiple first polygons that include the first vertex, and the encoding device can identify one of the multiple first polygons that include the first vertex as the second polygon.

[0339] For example, in the processing of the encoding device, the one or more second polygons may be two or more second polygons among a plurality of first polygons that include the first vertex, thereby allowing the encoding device to identify two or more of the plurality of first polygons that include the first vertex as the second polygons.

[0340] For example, in the process of the encoding device, the normal vector of the first vertex may be derived by averaging the surface normal vectors of the two or more derived second polygons. In this way, the encoding device can derive the normal vector of the first vertex by averaging the surface normal vectors of the two or more second polygons.

[0341] For example, the encoding device may further derive the areas of the two or more identified second polygons, and derive the normal vector of the first vertex by taking a weighted average of the surface normal vectors of the two or more derived second polygons based on the areas of the two or more derived second polygons. In this manner, the encoding device can derive the normal vector of the first vertex by taking a weighted average of the surface normal vectors of the two or more derived second polygons based on the areas of the two or more derived second polygons.

[0342] For example, as shown in FIG. 24, the encoding device includes a memory 152 and a circuit 151 that can access the memory 152, and the circuit 151 performs the above processing in operation.

[0343] Moreover, the decoding device (three-dimensional data decoding device) according to the embodiment performs the processing shown in Fig. 47. Fig. 47 is a flowchart of the decoding processing by the decoding device.

[0344] The decoding device decodes a three-dimensional mesh using a normal vector of a first vertex included in the three-dimensional mesh (e.g., a decoded base mesh or a decoded base mesh after one or more subdivisions have been performed), and identifies one or more second polygons out of a plurality of first polygons that include the first vertex (S341), derives a surface normal vector for each of the identified one or more second polygons (S342), and derives the normal vector of the first vertex by performing an operation using the surface normal vector for each of the derived one or more second polygons (S343).

[0345] According to this method, the decoding device can decode a three-dimensional mesh using the normal vector of the first vertex. Here, deriving the normal vector of the first vertex more accurately requires deriving the surface normals of all first polygons that include the first vertex and performing calculations using the surface normals of all first polygons. However, by identifying one or more second polygons that are fewer than the first polygon, it becomes possible to derive only the surface normals of the identified second polygons and approximately derive the normal vector of the first vertex through calculations using only the surface normals of the derived second polygons. Therefore, while being able to approximately derive the normal vector of the first vertex, it becomes possible to reduce the amount of calculation, at least in terms of deriving the surface normal. Therefore, the decoding method can contribute to improving decoding processes, etc. related to three-dimensional meshes.

[0346] For example, in the processing of the decoding device, the first vertex may be a vertex located between two existing second vertices on the base mesh when subdividing the base mesh generated based on information decoded from the bitstream into sub-division meshes, thereby enabling the decoding device to reduce the amount of calculations when subdividing the base mesh generated based on information decoded from the bitstream into sub-division meshes.

[0347] For example, in the processing of the decoding device, the first vertex may be a vertex located between two existing second vertices on the subdivision mesh when further subdividing a subdivision mesh obtained by subdividing a base mesh generated based on information decoded from a bitstream, thereby enabling the decoding device to reduce the amount of calculations when further subdividing a subdivision mesh obtained by subdividing a base mesh generated based on information decoded from a bitstream.

[0348] For example, in the processing of the decomposing device, the one or more second polygons may be polygons formed only by vertices located between two existing second vertices when the subdivision is performed, so that the decoding device can identify the polygons formed only by vertices located between two existing second vertices when the subdivision is performed as the second polygons.

[0349] For example, in the processing of the composite device, the normal vector of the second vertex may be derived before the subdivision, and the normal vector of the second vertex derived before the subdivision may be used as the normal vector of the second vertex after the subdivision, thereby enabling the decoding device to reduce the amount of calculations by using the normal vector of the second vertex derived before the subdivision as the normal vector of the second vertex after the subdivision.

[0350] For example, in the processing of the composite device, the derived normal vector of the first vertex may be further used to derive a displacement vector for displacing the first vertex after the subdivision. In this way, the decoding device can use the normal vector derived in the subdivision to derive the displacement vector for displacing the first vertex. In other words, the normal vector derived in the subdivision can be used to derive the displacement vector without newly deriving the normal vector of the first vertex, thereby reducing the amount of calculation.

[0351] For example, in the process of the composite device, the one or more second polygons may be one of the multiple first polygons that include the first vertex, and the decoding device can identify one of the multiple first polygons that include the first vertex as the second polygon.

[0352] For example, in the process of the composite device, the one or more second polygons may be two or more second polygons among a plurality of first polygons that include the first vertex, which allows the decoding device to identify two or more of the plurality of first polygons that include the first vertex as the second polygons.

[0353] For example, in the process of the composite device, the normal vector of the first vertex may be derived by averaging the surface normal vectors of the two or more derived second polygons, which allows the decoding device to derive the normal vector of the first vertex by averaging the surface normal vectors of the two or more second polygons.

[0354] For example, the processing by the composite device may further include deriving the areas of the two or more identified second polygons, and deriving the normal vectors of the first vertices by taking a weighted average of the surface normal vectors of the two or more derived second polygons based on the areas of the two or more derived second polygons. In this manner, the decoding device can derive the normal vectors of the first vertices by taking a weighted average of the surface normal vectors of the two or more second polygons based on the areas of the two or more derived second polygons.

[0355] For example, as shown in FIG. 25, the decoding device includes a memory 252 and a circuit 251 that can access the memory 252, and the circuit 251 performs the above processing in operation.

[0356] Furthermore, for example, in the operation of an encoding device or a decoding device, in a first division process, a plurality of second vertices are generated using a plurality of first vertices (positions) that constitute a first polygon and the normal vectors of each of the plurality of first vertices, and a second polygon consisting of at least one of the first vertices and at least one of the second vertices is generated; in a second division process, a plurality of third vertices are generated using the at least one first vertex that constitutes the second polygon, the at least one second vertex, the normal vector of the at least one first vertex, and the normal vector of the at least one second vertex, and the normal vector of each of the plurality of first vertices, and the normal vector of the at least one first vertex used in the second division process may be equal to the normal vector of the at least one first vertex used in the first division process.

[0357] Furthermore, for example, the encoding device or decoding device may, in its operation, generate a third vertex in a first division process using the first vertex (position), the second vertex, the normal vector of the first vertex, and the normal vector of the second vertex, and generate a fourth vertex in a second division process using the first vertex, the third vertex, the normal vector of the first vertex, and the normal vector of the third vertex, and the normal vector of the first vertex used in the second division process may be equal to the normal vector of the first vertex used in the first division process.

[0358] <Other Examples> Although the aspects of the encoding device and the decoding device have been described above according to the embodiments, the aspects of the encoding device and the decoding device are not limited to the embodiments. Modifications that a person skilled in the art can conceive of may be applied to the embodiments, and multiple components in the embodiments may be combined in any manner.

[0359] For example, a process performed by a specific component in the embodiment may be performed by another component instead of the specific component. Also, the order of multiple processes may be changed, or multiple processes may be performed in parallel.

[0360] Furthermore, as described above, at least some of the configurations of the present disclosure may be implemented as an integrated circuit. At least some of the processes of the present disclosure may be used as an encoding method or a decoding method. A program for causing a computer to execute the encoding method or the decoding method may be used. A non-transitory computer-readable recording medium on which the program is recorded may be used. A bitstream for causing a decoding device to perform a decoding process may be used.

[0361] Furthermore, at least some of the configurations and processes of the present disclosure may be used as a transmitting device, a receiving device, a transmitting method, or a receiving method. A program for causing a computer to execute the transmitting method or the receiving method may be used. Furthermore, a non-transitory computer-readable recording medium on which the program is recorded may be used.

[0362] In the above-described embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may also be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.

[0363] The present disclosure is useful, for example, in encoding devices, decoding devices, transmitting devices, receiving devices, etc. related to three-dimensional meshes, and is applicable to computer graphics systems, three-dimensional data display systems, etc.

[0364] 100 Encoding device 101, 121, 144 Vertex information encoder 102, 145 Connection information encoder 103, 122 Attribute information encoder 104, 204, 1102 Preprocessor 105, 205, 2107 Postprocessor 110 Three-dimensional data encoding system 111, 211 Controller 112, 212 Input / output processor 113 Three-dimensional data encoder 114 System multiplexer 115 Three-dimensional data generator 123 Metadata encoder 124 Multiplexer 131 Vertex image generator 132 Attribute image generator 133 Metadata generator 134 Video encoder 141 Two-dimensional data encoder 142 Mesh data encoder 143 Texture encoder 148 Description encoder 151, 251 Circuit 152, 252 Memory 200 Decoding device 201, 221, 244 Vertex information decoder 202, 245 Connection information decoder 203, 222 Attribute information decoder 210 Three-dimensional data decoding system 213 Three-dimensional data decoder 214 System demultiplexer 215, 247 Presentation device 216 User interface 223 Metadata decoder 224 Demultiplexer 231 Vertex information generator 232 Attribute information generator 234 Video decoder 241 Two-dimensional data decoder 242 Mesh data decoder 243 Texture decoder 246 Mesh reconstructor 248 Description decoder 300 Network 310 External connection device 600 Encoding device 601 Decimation unit 602 Texture coordinate determination unit 603 Base mesh encoding unit 604, 702 Base mesh decoding unit 605, 703 Subdivision unit 606 Displacement vector calculation unit 607 Displacement vector coding unit 608, 704 Displacement vector decoding unit 609, 705 3D mesh reconstruction unit 610 Texture conversion unit 611 Texture coding unit 612 Multiplexing unit 700 Decoding device 701 Separation unit 706 Texture decoding unit 1101 Input mesh 1103, 2103 Base mesh1104, 2104 Displacement data 1105, 2105 Texture data 1106, 2106 Attribute map 1107 Compressor 1108, 1304, 2101 Bitstream 1301, 2302, 2304 Mesh frame 1302, 2301 Base mesh frame 1303, 2303 Displacement information 2102 Decompressor 2108 Output mesh

Claims

1. A method for encoding a three-dimensional mesh using a normal vector of a first vertex included in the mesh, the method comprising: identifying one or more second polygons, the number of which is less than the plurality of first polygons, among a plurality of first polygons that include the first vertex; deriving a surface normal vector for each of the identified one or more second polygons; and deriving the normal vector of the first vertex by performing a calculation using the derived surface normal vector for each of the one or more second polygons.

2. The encoding method according to claim 1, wherein the first vertex is a vertex located between two existing second vertices on a base mesh when the base mesh generated based on an input three-dimensional mesh is subdivided into sub-meshes.

3. The encoding method according to claim 1, wherein the first vertex is a vertex located between two existing second vertices on a sub-divided mesh when further sub-dividing a sub-divided mesh obtained by sub-dividing a base mesh generated based on an input three-dimensional mesh.

4. The encoding method according to claim 2 or 3, wherein the one or more second polygons are polygons formed only from vertices that are provided between the two existing second vertices when the subdivision is performed.

5. The encoding method according to claim 2 or 3, further comprising deriving a normal vector of the second vertex before the subdivision, and using the normal vector of the second vertex derived before the subdivision as the normal vector of the second vertex after the subdivision.

6. The encoding method according to claim 2 or 3, further comprising deriving a displacement vector for displacing said first vertex after said subdivision using the derived normal vector of said first vertex.

7. The encoding method according to claim 1, wherein the one or more second polygons are one second polygon among a plurality of first polygons that include the first vertex.

8. The encoding method according to claim 1, wherein the one or more second polygons are two or more second polygons among a plurality of first polygons that include the first vertex.

9. The encoding method according to claim 8, wherein the normal vector of the first vertex is derived by averaging the surface normal vectors of the two or more second polygons that have been derived.

10. The encoding method according to claim 9, further comprising deriving the area of ​​each of the two or more identified second polygons, and deriving the normal vector of the first vertex by taking a weighted average of the surface normal vectors of each of the derived two or more second polygons based on the area of ​​each of the derived two or more second polygons.

11. A decoding method for decoding a three-dimensional mesh using a normal vector of a first vertex included in the mesh, the decoding method comprising: identifying one or more second polygons, the number of which is less than the plurality of first polygons, from among a plurality of first polygons that include the first vertex; deriving a surface normal vector for each of the identified one or more second polygons; and deriving the normal vector of the first vertex by performing an operation using the derived surface normal vector for each of the one or more second polygons.

12. The decoding method of claim 11, wherein the first vertex is a vertex located between two existing second vertices on a base mesh when subdividing the base mesh generated based on information decoded from a bitstream into sub-meshes.

13. The decoding method of claim 11, wherein the first vertex is a vertex located between two existing second vertices on a sub-divided mesh when further sub-dividing a sub-divided mesh that is obtained by sub-dividing a base mesh generated based on information decoded from a bitstream.

14. A decoding method according to claim 12 or 13, wherein the one or more second polygons are polygons formed only from vertices that are provided between the two existing second vertices when the subdivision is performed.

15. A decoding method according to claim 12 or 13, further comprising deriving a normal vector of the second vertex before the subdivision, and using the normal vector of the second vertex derived before the subdivision as the normal vector of the second vertex after the subdivision.

16. The decoding method according to claim 12 or 13, further comprising deriving a displacement vector for displacing the first vertex after the subdivision using the derived normal vector of the first vertex.

17. The decoding method according to claim 11, wherein the one or more second polygons are one second polygon among a plurality of first polygons that include the first vertex.

18. The decoding method according to claim 11, wherein the one or more second polygons are two or more second polygons among a plurality of first polygons that include the first vertex.

19. A decoding method according to claim 18, wherein the normal vector of the first vertex is derived by averaging the surface normal vectors of the two or more second polygons that have been derived.

20. A decoding method as described in claim 19, further comprising deriving the area of ​​each of the two or more identified second polygons, and deriving the normal vector of the first vertex by taking a weighted average of the surface normal vectors of each of the derived two or more second polygons based on the area of ​​each of the derived two or more second polygons.

21. An encoding device that encodes a three-dimensional mesh using a normal vector of a first vertex included in the mesh, comprising: a memory; and a circuit that can access the memory, wherein the circuit, in its operations, identifies one or more second polygons, which are fewer than the plurality of first polygons, from among a plurality of first polygons that include the first vertex; derives a surface normal vector for each of the identified one or more second polygons; and derives the normal vector of the first vertex by performing an operation using the derived surface normal vector for each of the one or more second polygons.

22. A decoding device that decodes a three-dimensional mesh using a normal vector of a first vertex included in the mesh, comprising: a memory; and a circuit that can access the memory, wherein the circuit, in its operations, identifies one or more second polygons that are fewer than the plurality of first polygons among a plurality of first polygons that include the first vertex; derives a surface normal vector for each of the identified one or more second polygons; and derives the normal vector of the first vertex by performing an operation using the derived surface normal vector for each of the one or more second polygons.

Citation Information

Patent Citations

  • Mesh decoding device, mesh coding device, mesh decoding method, and program

    WO2024079981A1

  • Mesh decoding device, mesh coding device, mesh decoding method, and program

    WO2024079982A1

  • Information processing device and method

    WO2024084931A1