Adaptive geometry filtering for mesh compression
Adaptive geometric filtering technology is used to process dynamic changes in 3D meshes, which solves the problem that existing technologies cannot effectively handle dynamic mesh properties and connectivity information, and achieves more efficient data compression and transmission, which is suitable for real-time applications.
Patent Information
- Application Number
- CN202380017864.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-10-12
- Filing Date
- 2023-10-13
- Publication Date
- 2024-08-30
AI Technical Summary
Existing 3D mesh compression standards fail to effectively handle property graphs and connectivity information that change over time. Especially under real-time conditions, it is difficult to generate dynamic meshes with invariant connectivity, resulting in problems in immersive content and real-time communication. There are data transfer and storage efficiency issues.
Adaptive geometric filtering technology is used to group vertices in the grid and determine a set of filter coefficients based on topological distance. These filter coefficients are signaled to improve the quality of the reconstructed grid, and is suitable for compression and decoding of dynamic grids.
It improves the compression efficiency and reconstruction quality of dynamic meshes, reduces artifacts, is suitable for real-time communication and storage, supports lossy and lossless compression, and is suitable for applications such as augmented reality and virtual reality.
Smart Images

Figure CN118575200A_ABST
Abstract
Description
[0001] Related Applications
[0002] This application claims the benefit of priority to U.S. Provisional Application No. 63 / 416,382, filed on October 14, 2022, and U.S. Application No. 18 / 485,770, filed on October 12, 2023, the disclosures of which are incorporated herein in their entirety. Technical Field
[0003] Embodiments of the present disclosure relate to video encoding and decoding. Specifically, embodiments of the present disclosure are encoding and decoding grids, including adaptive geometry filtering in grid motion vector coding. Background Art
[0004] Advanced three-dimensional (3D) world representations are enabling more immersive forms of interaction and communication. To achieve realism in 3D representations, 3D models are becoming increasingly complex, and large amounts of data are associated with the creation and use of these 3D models. 3D meshes are widely used for 3D modeling of immersive content.
[0005] A 3D mesh can include several polygons that describe the surface of a volumetric object. A dynamic mesh sequence can require a large amount of data because it may have a lot of information that changes over time. Therefore, efficient compression techniques are required to store and transmit this content.
[0006] Previously, mesh compression standards were developed: Interpolation Coding (IC), MESHGRID, and Frame-based Animated Mesh Compression (FAMC) to handle dynamic meshes with constant connectivity and time-varying geometry and vertex attributes. However, these standards do not take into account time-varying attribute graphs and connectivity information.
[0007] Furthermore, it is challenging for volumetric acquisition techniques to generate dynamic meshes with invariant connectivity, especially under real-time constraints. Existing standards do not support this type of dynamic mesh content.
[0008] As another example, GL Transmission Format (glTF) is a standard developed by the Khronos Group for efficiently transmitting and loading 3D scenes and models through applications. glTF is designed to minimize the size of 3D assets and the runtime processing required for unpacking. glTF 2.0, which uses Google's Draco technology under development, is extended with geometry compression to reduce the size of glTF models and scenes. Summary of the invention
[0009] According to one embodiment, a method and apparatus include computer code configured to cause one or more processors to: determine a plurality of vertices in an input mesh, the input mesh representing volumetric data of at least one three-dimensional (3D) visual content; group the plurality of vertices into a plurality of vertex groups, wherein grouping the respective vertices into the respective groups is based on a topological distance of the respective vertices; determine a set of filter coefficients for the plurality of vertex groups; and signal the plurality of vertex groups and the set of filter coefficients.
[0010] According to one embodiment, a method and apparatus include computer code configured to cause one or more processors to: receive an encoded bitstream associated with a mesh, wherein the encoded bitstream includes information about vertices in the mesh and filter coefficients associated with the vertices; obtain multiple vertex groups included in the mesh from the encoded bitstream; obtain a set of filter coefficients for the multiple vertex groups from the encoded bitstream; generate a reconstructed mesh based on the information about the vertices in the mesh; and generate a refined reconstructed mesh using the reconstructed mesh, the multiple vertex groups, and the set of filter coefficients for the multiple vertex groups. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Further features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:
[0012] Figure 1 is a schematic diagram of a simplified block diagram of a communication system according to an embodiment of the present disclosure.
[0013] Figure 2 is a schematic diagram of a simplified block diagram of a streaming system according to an embodiment of the present disclosure.
[0014] Figure 3 is a schematic diagram of a simplified block diagram of a video encoder and decoder according to an embodiment of the present disclosure.
[0015] Figure 4A -B is an exemplary illustration of UV parameterization mapping from 3D mesh segments to 2D graphs according to an embodiment of the present disclosure.
[0016] Figure 5 is a flowchart of a process for encoding adaptive filter coefficients according to an embodiment of the present disclosure.
[0017] Figure 6 is a flow chart of a process for generating a reconstructed grid using signal adaptive filter coefficients according to an embodiment of the present disclosure.
[0018] Figure 7 is an exemplary diagram of a computer system suitable for implementing embodiments. DETAILED DESCRIPTION
[0019] The suggested functions discussed below may be used individually or in any combination in any order. In addition, the present embodiments may be implemented by processing circuits (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium.
[0020] Figure 1 A simplified block diagram of a communication system 100 according to an embodiment of the present disclosure is shown. The communication system 100 may include at least two terminals 102 and 103 connected to each other via a network 105. For unidirectional transmission of data, a first terminal 103 may encode video data at a local location for transmission to another terminal 102 via the network 105. The second terminal 102 may receive the encoded video data of the other terminal from the network 105, decode the encoded data, and display the recovered video data. Unidirectional data transmission may be common in applications such as media services.
[0021] Figure 1 A second pair of terminals 101 and 104 is shown for supporting bidirectional transmission of encoded video, such as may occur during a video conference. For bidirectional transmission of data, each terminal 101 and 104 may encode video data captured at a local location for transmission to another terminal via a network 105. Each terminal 101 and 104 may also receive encoded video data transmitted by the other terminal, decode the encoded data, and display the recovered video data on a local display device.
[0022] exist Figure 1 In the embodiment, terminals 101, 102, 103 and 104 can be represented as servers, personal computers and smart phones, but the principles of the present disclosure are not limited thereto. Embodiments of the present disclosure can be applied to laptops, tablet computers, media players and / or dedicated video conferencing equipment. Network 105 represents any number of networks that transmit encoded video data between terminals 101, 102, 103 and 104, for example, including wired and / or wireless communication networks. Communication network 105 can exchange data in circuit switching and / or packet switching channels. Representative networks include telecommunication networks, local area networks, wide area networks and / or the Internet. For the purposes of this discussion, the structure and topology of network 105 may be irrelevant to the operation of the present disclosure unless explained below.
[0023] Figure 2The application of video encoders and decoders in a streaming media environment is illustrated. The disclosed subject matter is also applicable to other video applications, such as video conferencing, digital television, storing compressed video on digital media such as Compact Disc (CD), Digital Versatile Disc (DVD), flash storage, etc.
[0024] The streaming media system may include a capture subsystem 203, which may include a video source 201, such as a digital camera, for creating an uncompressed video sample stream 213. The sample stream 213 may be emphasized as having a high data volume compared to an encoded video bitstream and may be processed by an encoder 202 coupled to the video source 201. The encoder 202 may include hardware, software, or a combination thereof to enable or implement various aspects of the disclosed subject matter described in more detail below. The encoded video bitstream 204 may have a small data volume compared to the sample stream and may be stored on a streaming media server 205 for future use. One or more streaming clients 212 and 207 may access the streaming media server 205 to retrieve copies 208 and 206 of the encoded video bitstream 204. The client 212 may include a video decoder 211, which may decode the incoming copy of the encoded video bitstream 208 and create an outgoing video sample stream 210 that may be rendered on a display 209 or other rendering device (not depicted). In some streaming media systems, video bitstreams 204, 206, and 208 may be encoded according to certain video encoding / compression standards. Examples of these standards are noted above and are further described herein.
[0025] According to an exemplary embodiment further described below, the term "mesh" refers to a combination of one or more polygons that describe the surface of a volumetric object. Each polygon is defined by its vertices in three-dimensional space and information about how the vertices are connected (referred to as connectivity information). Optionally, vertex attributes (e.g., color, normal, etc.) can be associated with mesh vertices. The mesh can also be parameterized with a two-dimensional attribute map using mapping information to associate the attributes with the mesh surface. Such a mapping can be described by a set of parameter coordinates (referred to as UV coordinates or texture coordinates) associated with the mesh vertices. The two-dimensional attribute map is used to store high-resolution attribute information, such as textures, normals, displacements, etc. According to an exemplary embodiment, this information can be used for various purposes such as texture mapping and shading.
[0026] However, dynamic mesh sequences can be data-intensive because they may contain a lot of information that changes over time. For example, in a "static mesh" or "static mesh sequence", the information of the mesh does not change from one frame to another, in contrast, a "dynamic mesh" or "dynamic mesh sequence" represents the motion of the vertices represented by the mesh that change from one frame to another. Therefore, efficient compression techniques are needed to store and transmit these contents. Previously, the Moving Picture Experts Group (MPEG) developed mesh compression standards IC, MESHGRID, and FAMC to handle dynamic meshes with constant connectivity and time-varying geometry and vertex attributes. However, these standards do not take into account attribute graphs and connectivity information that change over time. Digital Content Creation (DCC) tools usually generate such dynamic meshes. In contrast, it is challenging for volume acquisition techniques to generate dynamic meshes with constant connectivity, especially under real-time constraints. Existing standards do not support such content. According to the exemplary embodiments of this article, various aspects of a new mesh compression standard are described to directly handle dynamic meshes with time-varying connectivity information and optional time-varying property graphs, which targets lossy and lossless compression for various applications such as real-time communications, storage, free-viewpoint video, augmented reality (AR) and virtual reality (VR). In addition, features such as random access and scalable / progressive coding are also considered.
[0027] Figure 3An example framework 300 for dynamic mesh compression is shown, for example, based on a method for sampling a 2D atlas. Each frame of the input mesh 301 may be pre-processed by a series of operations, such as tracking, remeshing, parameterization, voxelization. Note that these operations may be encoder-only, i.e., may not be part of the decoding process, and this possibility may be signaled in metadata by flags, e.g., 0 for encoder-only and 1 for others. Subsequently, a mesh with a 2D UV atlas 302 may be obtained, where each vertex of the mesh has one or more associated UV coordinates in the 2D atlas. The mesh may then be converted into multiple maps, including geometry maps and attribute maps, by sampling on the 2D atlas. These 2D maps may then be encoded by a video / image codec, such as HEVC, VVC, AV1, AVS3, etc. At the decoder 303 side, the mesh may be reconstructed based on the decoded 2D maps. Any post-processing and filtering may also be applied to the reconstructed mesh 304. Note that other metadata may be signaled to the decoder side for the purpose of 3D mesh reconstruction. Note that the graph boundary information (including uv and xyz coordinates) of the boundary vertices can be predicted, quantized, and entropy encoded in the bitstream. The quantization step size can be configured at the encoder side to trade off between quality and bitrate.
[0028] In some implementations, a 3D mesh may be divided into multiple segments (or patches / graphs), and according to an exemplary embodiment, one or more 3D mesh segments may be considered a "3D mesh". Each segment consists of a set of connected vertices associated with its geometry, attributes, and connectivity information. Figure 4A As shown in the example 400 of volume data in FIG. 1 , a UV parameterization process 402 for mapping a 3D mesh segment to a 2D chart (e.g., the 2D UV atlas 302 block described above) maps one or more mesh segments 401 to a 2D chart 403 in a 2D UV atlas 404. Each vertex (v n ) assigns 2D UV coordinates in the 2D UV atlas. Note that the vertices (v n ) constitute a connected component, just like vertices in a three-dimensional graph. The geometry, attributes, and connectivity information of each vertex can also be inherited from its three-dimensional counterpart. For example, information that vertex v4 is directly connected to vertices v0, v5, v1, and v3 can be displayed, and similarly information for each other vertex can be displayed. In addition, according to an exemplary embodiment, such a two-dimensional texture mesh can further indicate information on a patch-by-patch basis, such as color information, for example, by each triangle patch, such as v2, v5, v3, as a "patch".
[0029] For example, further explanation Figure 4AThe features of Example 400, reference Figure 4B Example 450, where a 3D mesh segment 451 can also be mapped to multiple independent 2D graphs 451 and 452. In this case, a vertex in the 3D can correspond to multiple vertices in the 2D UV atlas. Figure 4B As shown, in a 2D UV atlas, the same 3D mesh segment is mapped to multiple 2D charts, rather than Figure 4A to a single graph as in . For example, 3D vertices v1 and v4 have two 2D corresponding points v1,v1' and v4,v4' respectively. Therefore, a general 2D UV atlas for a 3D mesh may consist of multiple graphs, where each graph may contain multiple (usually more than or equal to 3) vertices associated with its 3D geometry, attributes, and connectivity information.
[0030] Figure 4B An example 453 is shown, which illustrates a boundary vertex B 0 , B 1 , B 2 , B 3 , B 4 , B 5 , B 6 , B 7 Derived triangulation in the graph of . After obtaining this information, any triangulation method can be used to establish connections between vertices (including boundary vertices and sampling vertices). For example, for each vertex, find the two nearest vertices. Or for all vertices, continuously generate triangles until a certain number of minimum triangles are reached. As shown in Example 453, there are various regular-shaped repeating triangles and various peculiar-shaped triangles. These triangles are generally closest to the boundary vertices, have their own unique sizes, and may or may not be shared with other triangles. Connectivity information can also be reconstructed through explicit signaling. If the polygon cannot be recovered by implicit rules, the encoder may transmit the connectivity information in the bitstream in the form of signaling according to an exemplary embodiment.
[0031] Boundary Vertex B 0 , B 1 , B 2 , B 3 , B 4 , B 5 , B 6 and B 7 Defined in 2D UV space. A boundary edge can be determined by checking if the edge only appears in one triangle. According to an exemplary embodiment, the following information of the boundary vertex is very important and should be transmitted in the bitstream in a signaling form: geometric information, for example, 3D XYZ coordinates (even if currently in 2D UV parameter form) and 2D UV coordinates.
[0032] For the case where a 3D boundary vertex corresponds to multiple vertices in a 2D UV atlas, such as Figure 4B As shown, the mapping from 3D XUZ to 2D UV can be one-to-many. Therefore, a UV to XYZ (or UV2XYZ) index can be used to indicate the mapping function. UV2XYZ can be a one-dimensional index array that maps each 2D UV vertex to a 3D XYZ vertex.
[0033] As mentioned above, dynamic mesh sequences may require a lot of data because they may contain a lot of information that changes over time. The sampling-based methods used in the related art may introduce some artifacts on the reconstructed mesh geometry, which may degrade the visual quality. Therefore, it is necessary to develop effective algorithms to reduce such artifacts and improve the quality of the reconstructed mesh.
[0034] The embodiments of the present disclosure may be used alone or in any order. In addition, each method (or embodiment), encoder, and decoder may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium.
[0035] Embodiments of the present disclosure relate to various methods for filtering reconstructed geometry in mesh compression. It will be appreciated by those skilled in the art that the methods disclosed herein can be applied alone or in any combination. It should also be noted that these methods can be applied to static meshes, where there is only one mesh frame, or the mesh content does not change over time.
[0036] The advantage of the adaptive geometric filtering disclosed herein is to improve the quality of the reconstructed mesh by signaling a set of filter coefficients. The filter coefficients can be trained on the encoder side based on the reconstructed mesh and the corresponding reference mesh, where each set of filter coefficients can be trained on a set of similar vertices. The filter coefficients can then be applied to each vertex and its neighboring vertices.
[0037] More specifically, according to an embodiment, let V rec represents the vertices of the reconstructed mesh, and V ref are the vertices of the corresponding reference mesh. Note that the reconstructed mesh and the reference mesh have the same number of vertices (N) and the same topology, V rec and V ref The vertices in have a one-to-one correspondence. Depending on the encoder configuration, the reference mesh may be the original mesh or a deformed mesh from the original mesh. The adaptive geometric filtering according to an embodiment of the present disclosure may be applied to the encoder side as follows:
[0038] As an initial step, vertices can be classified into groups.
[0039] Let V i,j rec is the jth vertex in the i-th group of the reconstructed mesh, where j = 1, 2, ..., G i , i=1,2,…,N G . N G is the number of groups, and G i is the number of vertices in the i-th group. Similarly, let V i,j ref is the jth vertex in the i-th group of the corresponding reference mesh.
[0040] In the same or next step, the set of filter coefficients (c ) for the i-th group of vertices and their neighboring vertices can be calculated by minimizing some defined error function. i ).
[0041] In the next or same step, for the i-th group of vertices, the filter coefficients (c i ) can be quantized, optimized and encoded in the bitstream, and dequantized by the decoder.
[0042] Assume (c i ^ ) is the corresponding dequantized filter coefficient. Then, for the i-th group of vertices, given the dequantized coefficient (c i ^ ), update each vertex.
[0043] Thus, according to one embodiment, adaptive geometry filtering may include determining a plurality of vertices in an input mesh and grouping the plurality of vertices into a plurality of vertex groups. A set of filter coefficients for the plurality of vertex groups may then be determined. The plurality of vertex groups and the set of filter coefficients may then be encoded and signaled. In some embodiments, they may be encoded in the same bitstream. In some embodiments, the set of filter coefficients may be encoded and signaled as metadata.
[0044] The adaptive geometric filtering according to an embodiment of the present disclosure may be applied at the encoder side as follows:
[0045] Vertices can be classified into groups using exactly the same method as the encoder. In some embodiments, the grouping method is agreed upon by the encoder and the decoder. In some embodiments, the agreed upon method can include grouping the corresponding vertices into corresponding groups based on the topological distance of the corresponding vertices.
[0046] Then, for the i-th group of vertices, the filter coefficients can be decoded from the bitstream and dequantized in the same way as the encoder.
[0047] In the same or different steps, for the i-th group of vertices, given as the encoder's dequantized coefficients (c i ^ ), each vertex can be updated. Note that the same method proposed in this disclosure can be applied to 3D point clouds, where the vertices of the mesh correspond to points in the point cloud. The same method can also be applied to other attributes of the mesh (and point cloud), such as color, normals, etc.
[0048] Therefore, according to one embodiment, the adaptive geometric filtering applied at the decoder may include receiving a coded bitstream associated with a mesh, wherein the coded bitstream includes information about vertices in the mesh and filter coefficients associated with the vertices, and obtaining a plurality of vertex groups included in the mesh and a set of filter coefficients for the plurality of vertex groups from the coded bitstream. Then, a reconstructed mesh may be constructed based on the information about the vertices in the mesh, and the reconstructed mesh may be refined using the plurality of vertex groups and the set of filter coefficients for the plurality of vertex groups.
[0049] Vertex Grouping
[0050] Vertex grouping can classify the vertices of the reconstructed mesh into groups based on different characteristics, as long as the same process can be done on the decoder side.
[0051] In one embodiment, vertices may be grouped into regions based on the topology of the reconstructed mesh, where each group of vertices has approximately the same number of vertices connected by edges. In some embodiments, a topological distance that measures the structural distance between two graphs or points in a metric space may be used for grouping, for example, the number of edges between two points, or the Euclidean distance.
[0052] In the same or another embodiment, vertices may be grouped based on various features that may be derived from the reconstructed mesh. These features may include, but are not limited to, the following: vertex curvature, vertex normal direction, vertex level of detail, etc.
[0053] Vertex Adjacent
[0054] According to an embodiment, for each vertex V i,j rec , there may be different ways to define its neighbors. The criteria for defining neighbors may include but are not limited to topological distance, Euclidean distance, etc.
[0055] In one embodiment, only the direct connection to V i,j rec The vertices of V are considered neighbors. In other words, i,j rec The topological distance between V and its neighbors is 1. For example, in the same or another embodiment, the topological distance is less than the threshold Vi,j rec All connected vertices of can be considered as V i,j rec For example, in the same or another embodiment, to V i,j rec All vertices whose Euclidean distance is less than the threshold can be considered as V i,j rec Neighbors.
[0056] In some embodiments, then, V i,j rec The neighbors can use their i,j rec The Euclidean distances of V are reordered in ascending order. Note that V i,j rec and V i,j rec Neighbors do not necessarily belong to the same group.
[0057] Filters and coefficient derivation
[0058] Assume V i,j rec The reordered neighbors are {V i,j,k rec}, where k = 1, 2, ..., T-1, that is, V i,j,k rec Yes V i,j rec The kth neighbor of , and T-1 is the number of neighbors. In some embodiments, and only used as an example herein, when k=0 in the following equation, V i,j,k rec =V i,j rec .
[0059] Depending on the implementation, a number of different approaches may be used to define the filter coefficients and the error function to be minimized.
[0060] Adaptive Laplacian filter with point-to-point loss function
[0061] In one embodiment, the adaptive Laplacian filter can be used with a single coefficient (c i ) is applied to the i-th group of vertices as follows,
[0062]
[0063] Where V i,j filtered Instructions from V i,j rec Updated vertices.
[0064] On the encoder side, the coefficient c can be derived by minimizing the following point-to-point error function i :
[0065]
[0066] This can be solved by an appropriate method, for example, the method of least squares.
[0067] Adaptive Laplacian filter with point-to-plane loss function
[0068] In the same or another embodiment, the same adaptive Laplace filter as in the previous embodiment may be applied, but the filter coefficients are optimized using a minimum point-to-area error function,
[0069]
[0070] Where Q i,j ref is a 4×4 quadratic matrix derived from the jth vertex in the ith group of the reference mesh, and Yes V i,j filtered The homogeneous vector of , the expansion dimension value is 1. The least squares method can also be used to minimize the loss function.
[0071] Adaptive Wiener Filter with Point-to-Point Loss Function
[0072] In the same or another embodiment, an adaptive Wiener filter may be applied as follows,
[0073]
[0074] Note that for each set of vertices, the derived filter coefficients (c i ) are of length T, and they can be derived by minimizing the following point-to-point error function,
[0075]
[0076] This can also be solved by any suitable method, for example, the method of least squares.
[0077] Adaptive Wiener filter with point-to-plane loss function
[0078] In the same or another embodiment, the same adaptive Wiener filter as in the previous embodiment may be applied, but the filter coefficients may be optimized using a minimum point-to-surface error function,
[0079]
[0080] Where Q i,j refis a 4×4 quadratic matrix derived from the jth vertex in the ith group of the reference mesh, and Yes V i,j filtered A homogeneous vector of , with an extended dimension value of 1. Minimizing the loss function can also be solved by any appropriate method, for example, the least squares method.
[0081] Thus, as disclosed herein, the encoder may use any combination of filter functions and loss functions. In an embodiment, the encoder and decoder may select the same filter function and loss function. In an embodiment, the encoder may signal a flag indicating whether each group uses the same filter function, the same loss function, different filter functions, or different loss functions. If the groups may use different filters or loss functions, the encoder may signal additional flags or information indicating the filter function and / or loss function for each group. In some embodiments, this signaling completely precedes signaling to the vertex groups, but in some embodiments, the signaling precedes the corresponding vertex groups.
[0082] Filter Coefficient Optimization
[0083] The filter coefficients can be fine-tuned before encoding based on the estimated rate-distortion performance. The distortion term (D) can be estimated by the point-to-point or point-to-plane loss functions described herein. The rate term (R) can be estimated based on the distribution of the coefficients.
[0084] In one embodiment, if the distortion term is greater than a threshold, the filter may be disabled for the i-th group of vertices, where the threshold may be a function of the quantization step size of the filter coefficients.
[0085] In the same or another embodiment, the filter may be disabled for the i-th group of vertices if D + λ·R is greater than a threshold, where λ is a tradeoff parameter that may be a function of the quantization step size of the filter coefficients.
[0086] Filter Coefficient Coding
[0087] The quantized and optimized filter coefficients can then be entropy coded in the bitstream in different ways.
[0088] In one embodiment, a binary flag is first encoded to indicate whether the filter is applied to the i-th group. If the flag is true, the coefficients are encoded; otherwise, the coefficients are not encoded. In arithmetic coding, this binary flag may or may not be context coded.
[0089] For each coefficient value, fixed-length coding or Exp-Golomb coding may be used for coding.
[0090] In one embodiment, the coefficient values may be encoded as follows: A binary flag is encoded to indicate whether the value is equal to 0. If the flag is false, another binary flag is encoded to indicate whether the value is equal to 1. If the flag is also false, the value minus 2 is encoded via Exp-Golomb encoding.
[0091] In some embodiments, some coefficients may be predicted from other coefficients before encoding. For example, if an adaptive Wiener filter is applied, a first coefficient may be predicted from other coefficients.
[0092] Figure 5 is a flow chart of a process 500 of mesh compression according to an embodiment of the present disclosure.
[0093] At operation 505, a plurality of vertices in an input mesh may be determined. The input mesh may represent volumetric data of at least one three-dimensional (3D) visual content.
[0094] In operation 510, a plurality of vertices may be grouped into a plurality of vertex groups. In an embodiment, grouping the respective vertices into the respective groups may be based on topological distances of the respective vertices.
[0095] In an embodiment, grouping corresponding vertices based on topological distance may include determining adjacent vertices of the corresponding vertex, wherein the adjacent vertices are vertices connected to the corresponding vertex by at least one edge; and grouping the corresponding vertices into a first group such that the vertices in the first group are connected to the same number of vertices by edges.
[0096] In an embodiment, determining the neighboring vertices of the corresponding vertex may include determining the neighboring vertices directly connected to the corresponding edge in the input mesh; or determining multiple edges connected to the neighboring vertices of the corresponding vertex, the number of the multiple edges being less than or equal to a first threshold.
[0097] At operation 515 , sets of filter coefficients for a plurality of vertex groups may be determined.
[0098] In an embodiment, determining the set of filter coefficients may include determining the set of filter coefficients based on the first loss function and the first filter function, wherein the set of filter coefficients includes one or more filter coefficients for each of the plurality of vertex groups.
[0099] In an embodiment, the first loss function may include one of a point-to-point loss function or a point-to-plane loss function. In the same or different embodiments, the first filter function may include one of a Laplacian filter or a Wiener filter.
[0100] In some implementations, among others, after determining the set of filter coefficients, process 500 may include disabling a first filter coefficient of a first group of the plurality of vertex groups based on the first filter coefficient having a distortion above a distortion threshold.
[0101] In operation 520 , a plurality of vertex groups and sets of filter coefficients may be signaled.
[0102] In some embodiments, operation 520 may include signaling a binary flag for each of the plurality of vertex groups, the binary flag indicating whether filter coefficients for the corresponding group are enabled; and based on the binary flag for the corresponding group indicating that the filter coefficients are enabled, signaling one or more coefficients associated with the corresponding group. Operation 520 may also include signaling a second flag indicating whether the same first filter function is used to determine the set of filter coefficients for each of the plurality of vertex groups. In some embodiments, operation 520 may also include signaling a third flag indicating whether the same first loss function is used to determine the set of filter coefficients for each of the plurality of vertex groups.
[0103] Figure 6 is a flow chart of a process 600 of mesh reconstruction according to an embodiment of the present disclosure.
[0104] In operation 605, a coded bitstream associated with a mesh may be received, wherein the coded bitstream includes information about vertices in the mesh and filter coefficients associated with the vertices. In operation 610, a plurality of vertex groups included in the mesh may be obtained from the coded bitstream. In operation 615, a set of filter coefficients for the plurality of vertex groups may be obtained from the coded bitstream. In operation 620, a reconstructed mesh may be generated based on the information about the vertices in the mesh. In operation 625, a refined reconstructed mesh may be generated using the reconstructed mesh, the plurality of vertex groups, and the set of filter coefficients for the plurality of vertex groups.
[0105] The proposed methods can be used individually or in combination in any order. The proposed methods can be used for arbitrary polygonal meshes, although only triangle meshes are used in the demonstration of various embodiments. As mentioned above, it will be assumed that the input mesh can contain one or more instances, a sub-mesh is a part of an input mesh having one or more instances, and multiple instances can be grouped to form a sub-mesh.
[0106] The above techniques may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media or by one or more specifically configured hardware processors. Figure 7 A computer system 700 suitable for implementing certain embodiments of the disclosed subject matter is shown.
[0107] Computer software may be encoded using any suitable machine code or computer language, which may be subjected to assembly, compilation, linking or similar mechanisms to create code comprising instructions that may be executed directly by a computer central processing unit (CPU), graphics processing unit (GPU), etc., or by interpretation, microcode execution, etc.
[0108] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablets, servers, smartphones, gaming devices, IoT devices, etc.
[0109] Figure 7 The components of the computer system 700 shown in the figure are exemplary in nature and are not intended to impose any limitation on the scope of use or functionality of the computer software implementing the embodiments of the present disclosure. The configuration of the components should not be interpreted as having any dependency or requirement on any one component or combination of components shown in the exemplary embodiment of the computer system 700.
[0110] Computer system 700 may include certain human-machine interface input devices. Such human-machine interface input devices may respond to input from one or more human users, for example, through tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), olfactory input (not shown). Human-machine interface devices may also be used to capture certain media that are not necessarily directly related to a person's conscious input, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).
[0111] The human interface input devices may include one or more of the following (only one of each is depicted): keyboard 701 , mouse 702 , trackpad 703 , touch screen 710 , joystick 705 , microphone 706 , scanner 708 , camera 707 .
[0112] The computer system 700 may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate the senses of one or more human users through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback through a touch screen 710 or joystick 705, but there may also be tactile feedback devices that are not used as input devices), audio output devices (e.g., speakers 709, headphones (not shown)), visual output devices (e.g., screens 710, including cathode ray tube (CRT) screens, liquid crystal display (LCD) screens, plasma screens, organic light-emitting diode (OLED) screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of which are capable of outputting two-dimensional visual outputs or more than three-dimensional outputs through methods such as stereo output; virtual reality glasses (not shown), holographic displays, and smoke boxes (not shown)) and printers (not shown).
[0113] The computer system 700 may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW 720 with CD / DVD 711 or similar media, a thumb drive 722, a removable hard disk drive or solid-state drive 723, traditional magnetic media such as magnetic tapes and floppy disks (not shown), dedicated read-only memory (ROM) / application-specific integrated circuit (ASIC) / programmable logic device (PLD) devices such as a security dongle (not shown), etc.
[0114] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not include transmission media, carrier waves, or other transient signals.
[0115] The computer system 700 may also include an interface 799 to one or more communication networks 798. The network 798 may be wireless, wired, or optical. The network 798 may also be a local area network, a wide area network, a metropolitan area network, an in-vehicle and industrial network, a real-time network, a delay-tolerant network, and the like. Examples of the network 798 include local area networks such as Ethernet, wireless local area networks (LANs), cellular networks including Global System for Mobile Communications (GSM), 3G, 4G, 5G, Long-Term Evolution (LTE), etc., television wired or wireless wide area digital networks including cable television, satellite television, and terrestrial broadcast television, in-vehicle and industrial networks including controller area network buses (CANBus), and the like. Some networks 798 typically require external network interface adapters that connect to some universal data ports or Universal Serial Bus (USB) ports of peripheral buses 750 and peripheral buses 751 (e.g., computer system 700); others are typically integrated into the core of computer system 700 by connecting to the system bus as described below (e.g., an Ethernet interface in a PC computer system or a cellular network interface in a smart phone computer system). Using any of these networks 798, computer system 700 can communicate with other entities. Such communication can be one-way, receive-only (e.g., broadcast television), one-way, send-only (e.g., CANbus to some CANbus devices), or two-way, for example, to other computer systems using local or wide area digital networks. As described above, certain protocols and protocol stacks can be used on each of these networks and network interfaces.
[0116] The aforementioned human interface devices, human-accessible storage devices, and network interfaces may be attached to the core 740 of the computer system 700 .
[0117] The core 740 may include one or more central processing units (CPUs) 741, graphics processing units (GPUs) 742, graphics adapters 717, dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) 743, hardware accelerators 744 for specific tasks, etc. These devices, along with read-only memory (ROM) 745, random access memory 746, and internal mass storage 747 such as internal non-user accessible hard disk drives and solid state drives (SSDs) may be connected via a system bus 748. In some computer systems, the system bus 748 may be accessed in the form of one or more physical plugs to allow expansion of additional CPUs, GPUs, etc. Peripheral devices may be connected to the core's system bus 748 directly or via a peripheral bus 749. The architecture of the peripheral bus includes peripheral component interconnect (PCI), USB, etc.
[0118] The CPU 741, GPU 742, FPGA 743, and accelerator 744 may execute certain instructions, which may be combined to form the above-mentioned computer code. The computer code may be stored in ROM 745 or RAM 746. Transitional data may also be stored in random access memory (RAM) 746, while permanent data may be stored in, for example, internal mass storage 747. Fast storage and retrieval of any storage device may be achieved by using a cache memory, which may be closely associated with one or more CPUs 741, GPUs 742, mass storage 747, ROM 745, RAM 746, and the like.
[0119] The computer readable medium may have computer codes for performing various computer-implemented operations. The media and computer codes may be specially designed and constructed for the purposes of the present disclosure, or may be of a type well known and available to those skilled in the art of computer software.
[0120] As an example and not limitation, a computer system having architecture 700, in particular core 740, can function as a result of a processor (including a CPU, GPU, FPGA, accelerator, etc.) executing software contained in one or more tangible computer-readable media. Such a computer-readable medium can be a medium associated with a user-accessible mass storage as described above and certain memories of the core 740 having non-transitory properties, for example, a core internal mass storage 747 or ROM 745. Software implementing various embodiments of the present disclosure can be stored in such a device and executed by the core 740. Depending on specific needs, the computer-readable medium may include one or more storage devices or chips. The software can enable the core 740 and in particular the processor therein (including a CPU, GPU, FPGA, etc.) to perform a specific process or a specific part of a specific process described herein, including defining a data structure stored in RAM 746 and modifying such a data structure according to a software-defined process. In addition or as an alternative, the computer system can provide functionality as a result of logic (e.g., accelerator 744) that is hardwired or otherwise contained in a circuit, which can replace the software or operate with the software to perform a specific process or a specific part of a specific process described herein. Where appropriate, references to software may include logic, and vice versa. Where appropriate, references to computer-readable media may include circuits storing software for execution (e.g., integrated circuits (ICs)), circuits containing logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.
[0121] Although the present disclosure has described several exemplary embodiments, there are still several changes, variations and various alternative equivalents, which belong to the scope of the present disclosure. Therefore, it should be understood that those skilled in the art will be able to design many systems and methods, although not explicitly shown or described herein, these systems and methods embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure.
Claims
1. A method for grid compression, the method being executed by at least one processor, the method comprising: determining a plurality of vertices in an input mesh, the input mesh representing volumetric data of at least one three-dimensional 3D visual content; grouping the plurality of vertices into a plurality of vertex groups, wherein grouping the respective vertices into the respective groups is based on a topological distance of the respective vertices; determining a set of filter coefficients for the plurality of vertex groups; and The plurality of vertex groups and the set of filter coefficients are signaled.
2. The method according to claim 1, wherein: Grouping the corresponding vertices based on the topological distance comprises: determining adjacent vertices of the corresponding vertex, wherein the adjacent vertices are vertices connected to the corresponding vertex by at least one edge; and The corresponding vertices are grouped into a first group such that vertices in the first group are connected to the same number of vertices by edges.
3. The method according to claim 2, wherein: Determining the adjacent vertices of the corresponding vertex includes one of the following: determining the neighboring vertices that are directly connected to corresponding edges in the input mesh; or A plurality of edges connected to the adjacent vertices of the corresponding vertex are determined, the number of the plurality of edges being less than or equal to a first threshold.
4. The method according to claim 1, wherein: Determining the set of filter coefficients includes: Determining the set of filter coefficients based on a first loss function and a first filter function; wherein the set of filter coefficients includes one or more filter coefficients for each of the plurality of vertex groups; and Each filter coefficient in the set of filter coefficients is associated with one or more vertices in the plurality of vertex groups.
5. The method according to claim 4, wherein: The first loss function comprises one of a point-to-point loss function and a point-to-plane loss function; and The first filter function includes one of a Laplace filter and a Wiener filter.
6. The method according to claim 1, wherein: After determining the set of filter coefficients, the method further comprises: Based on the first filter coefficient having a distortion above a distortion threshold, first filter coefficients of a first group of the plurality of vertex groups are disabled.
7. The method according to claim 1, wherein: The signaling the plurality of vertex groups and the filter coefficients comprises: signaling a binary flag for each of the plurality of vertex groups, the binary flag indicating whether filter coefficients in the corresponding group are enabled; and Based on the binary flag indicating the respective set of filter coefficients being enabled, one or more filter coefficients associated with the respective set are signaled.
8. The method according to claim 7, wherein: The method further comprises: A second flag is signaled to indicate whether the same first filter function is used to determine the set of filter coefficients for each of the plurality of vertex groups.
9. The method according to claim 7, wherein: The method further comprises: A third flag is signaled to indicate whether the same first loss function is used to determine the set of filter coefficients for each of the plurality of vertex groups.
10. A device for an adaptive geometric filter for grid compression, the device comprising: at least one memory configured to store program code; as well as At least one processor is configured to read the program code and operate according to instructions of the program code, wherein the program code includes: first determining code configured to cause the at least one processor to determine one or more vertices in an input mesh, the input mesh representing volumetric data of at least one three-dimensional (3D) visual content; a first grouping code configured to cause the at least one processor to group the one or more vertices into one or more vertex groups, wherein the grouping of the corresponding vertices into the corresponding groups is based on the topological distance of the corresponding vertices; second determining code configured to cause the at least one processor to determine a set of filter coefficients for the one or more vertex groups; and A first signaling code is configured to cause the at least one processor to signal the one or more vertex groups and the set of filter coefficients.
11. The device according to claim 10, wherein: The first grouping code further comprises: a third determination code configured to cause the at least one processor to determine adjacent vertices of the corresponding vertex, wherein the adjacent vertices are vertices connected to the corresponding vertex by at least one edge; and A second grouping code is configured to cause the at least one processor to group the corresponding vertices into a first group such that vertices in the first group are connected to the same number of vertices through edges.
12. The device according to claim 11, wherein The third determination code further includes one of the following: fourth determination code configured to cause the at least one processor to determine the adjacent vertices directly connected to the corresponding edge in the input mesh; or A fifth determination code is configured to cause the at least one processor to determine a plurality of edges connected to the adjacent vertices of the corresponding vertex, the plurality of edges being less than or equal to a first threshold.
13. The device according to claim 10, wherein: The second determination code further includes: a sixth determination code configured to cause the at least one processor to determine the set of filter coefficients based on the first loss function and the first filter function, wherein the set of filter coefficients includes one or more filter coefficients for each of the more than one vertex groups, and Each coefficient in the set of filter coefficients is associated with one or more vertices in the one or more vertex groups.
14. The device according to claim 10, wherein: After determining the set of filter coefficients, the program code further comprises: Disabling code is configured to cause the at least one processor to disable first filter coefficients of a first group of the one or more vertex groups based on the first filter coefficients having distortion above a distortion threshold.
15. The method according to claim 10, wherein: The first signaling code further includes: second signaling code configured to cause the at least one processor to signal a binary flag for each of the one or more vertex groups, the binary flag indicating whether filter coefficients of the corresponding group are enabled; and A third signaling code is configured to cause the at least one processor to signal one or more coefficients associated with the corresponding group based on the binary flag indicating the corresponding group of filter coefficients is enabled.
16. The device according to claim 10, wherein: The program code further comprises: Fourthly, a second flag is signaled, the second flag indicating whether the same first filter function is used to determine the set of filter coefficients for each of the more than one vertex groups.
17. The method according to claim 15, wherein: The program code further comprises: A fifth signaling code is configured to cause the at least one processor to signal a third flag, wherein the third flag indicates whether the same first loss function is used to determine the set of filter coefficients for each of the more than one vertex groups.
18. The device according to claim 15, wherein: The method further comprises: A sixth signaling code is configured to cause the at least one processor to signal a third flag, wherein the third flag indicates whether the same first loss function is used to determine the set of filter coefficients for each of the more than one vertex groups.
19. A non-transitory computer-readable medium storing instructions, the instructions comprising: One or more instructions, when executed by one or more processors of a device for a geometry filter for mesh compression, cause the one or more processors to: determining one or more vertices in an input mesh, the input mesh representing volumetric data of at least one three-dimensional 3D visual content; grouping the one or more vertices into one or more vertex groups, wherein the grouping of the corresponding vertices into the corresponding groups is based on the topological distances of the corresponding vertices; determining a set of filter coefficients for the one or more vertex groups; and The one or more vertex groups and the set of filter coefficients are signaled.
20. The non-transitory computer readable medium of claim 19, wherein: The grouping of the corresponding vertices based on the topological distance comprises: determining adjacent vertices of the corresponding vertex, wherein an adjacent vertex is a vertex connected to the corresponding vertex by at least one edge; and The corresponding vertices are grouped into a first group such that vertices in the first group are connected to the same number of vertices by edges.
