This disclosure relates generally to compression and decompression of three-dimensional meshes with associated textures or attributes.
Various types of sensors, such as light detection and ranging (LIDAR) systems, 3-D-cameras, 3-D scanners, etc. may capture data indicating positions of points in three-dimensional space, for example positions in the X, Y, and Z planes. Also, such systems may further capture attribute information in addition to spatial information for the respective points, such as color information (e.g., RGB values), texture information, intensity attributes, reflectivity attributes, motion related attributes, modality attributes, or various other attributes. In some circumstances, additional attributes may be assigned to the respective points, such as a time-stamp when the point was captured. Points captured by such sensors may make up a “point cloud” comprising a set of points each having associated spatial information and one or more associated attributes. In some circumstances, a point cloud may include thousands of points, hundreds of thousands of points, millions of points, or even more points. Also, in some circumstances, point clouds may be generated, for example in software, as opposed to being captured by one or more sensors. In either case, such point clouds may include large amounts of data and may be costly and time-consuming to store and transmit. Also, three-dimensional visual content may also be captured in other ways, such as via 2D images of a scene captured from multiple viewing positions relative to the scene.
Such three-dimensional visual content may be represented by a three-dimensional mesh comprising a plurality of polygons with connected vertices that models a surface of three-dimensional visual content, such as a surface of a point cloud. Moreover, texture or attribute values of points of the three-dimensional visual content may be overlaid on the mesh to represent the attribute or texture of the three-dimensional visual content when modelled as a three-dimensional mesh.
Additionally, a three-dimensional mesh may be generated, for example in software, without first being modelled as a point cloud or other type of three-dimensional visual content. For example, the software may directly generate the three-dimensional mesh and apply texture or attribute values to represent an object.
In some embodiments, a decoder system includes one or more computing devices storing program instructions that, when executed by the one or more computing devices, cause the one or more computing devices to receive a bitstream representing a compressed mesh. The bitstream includes a base mesh sub-bitstream and an atlas sub-bitstream. The atlas sub-bitstream includes displacement values for a plurality of vertices to be included at subdivision location of the base mesh in a reconstructed version of the mesh, as well as sub-mesh identifiers for identifying respective sets of the displacement values that correspond to respective ones of a plurality of sub-meshes of the mesh. The decoder system is further configured to parse the atlas sub-bitstream to locate displacement vectors corresponding to a given sub-mesh that is to be reconstructed and reconstruct the given sub-mesh while refraining from reconstructing one or more other sub-meshes of the bitstream that have not been selected to be reconstructed.
In some embodiments, an encoder system includes one or more computing devices storing program instructions that when executed by the one or more computing devices, cause the one or more computing devices receive three-dimensional visual content to be encoded using video-based dynamic mesh compression and generate an encoded bitstream comprising a base mesh sub-bitstream comprising encoded mesh information for a base mesh and an atlas sub-bitstream comprising displacement values for a plurality of vertices to be included at subdivision location of the base mesh in a reconstructed version of the mesh. Also, the atlas sub-bitstream comprises sub-mesh identifiers for identifying respective sets of the displacement values that correspond to respective ones of a plurality of sub-meshes of the mesh.
In some embodiments, a system includes one or more sensors configured to capture points representing an object in a view of the sensor and to capture texture or attribute values associated with the points of the object. The system also includes one or more computing devices storing program instructions, that when executed, cause the one or more computing devices to generate a three-dimensional mesh that models the points of the object using vertices and connections between the vertices that define polygons of the three-dimensional mesh. Also, in some embodiments, a three-dimensional mesh may be generated without first being captured by one or more sensors. For example, a computer graphics program may directly generate a three-dimensional mesh with an associated texture or associated attribute values to represent an object in a scene, without necessarily generating a point cloud or other type of three-dimensional visual content that represents the object.
In some embodiments, the encoder system includes one or more computing devices storing program instructions that when executed by the one or more computing devices, further cause the one or more computing devices to determine a plurality of patches for the attributes of three-dimensional mesh and a corresponding attribute map that maps the attribute patches to the geometry of the mesh.
The encoder system may further encode the geometry of the mesh by encoding a base mesh and displacements of vertices relative to the base mesh. A compressed bitstream may include a compressed base mesh, compressed displacement values, and compressed attribute information.
In some embodiments, sub-meshes may be indicated in the bitstream, wherein a sub-mesh corresponds to a sub-unit of a larger mesh encoded in the bitstream. For example, three-dimensional content may include a mesh representing a person's face and, as an example, the nose portion of the person's face may be represented using a sub-mesh, wherein the sub-mesh is part of a larger mesh, such as a mesh representing the person's face. Thus, several sub-meshes may be part of a larger mesh. The sub-meshes may be indicated in a base mesh sub-bitstream of the bitstream, wherein the different sub-meshes are signaled separately in the base mesh sub-bitstream or are otherwise identifiable in the base mesh sub-bitstream. However, in the atlas sub-bitstream it may be more efficient to signal displacement data and/or attribute data for multiple sub-meshes using shared video frames. For example, patches corresponding to more than one sub-mesh may be packed into the same video frame.
Also, in some embodiments, only a sub-set of the sub-meshes of the bitstream may need to be reconstructed and/or rendered. In order to selectively render only a sub-set of the sub-meshes, it may be necessary to parse the atlas sub-bitstream to separate out patches corresponding to a given sub-mesh from other patches included in the same video frame(s) that correspond to other sub-meshes that are not being selectively rendered.
In some embodiments, tile headers included in the atlas sub-bitstream include sub-mesh identifiers, such as sub-mesh IDs and/or sub-mesh index references, that allow a decoder to parse the atlas sub-bitstream and efficiently locate patches corresponding to a given sub-mesh without having to fully reconstruct other sub-meshes that have not been selected for reconstruction.
This specification includes references to “one embodiment” or “an embodiment.” The appearances of the phrases “in one embodiment” or “in an embodiment” do not necessarily refer to the same embodiment. Particular features, structures, or characteristics may be combined in any suitable manner consistent with this disclosure.
“Comprising.” This term is open-ended. As used in the appended claims, this term does not foreclose additional structure or steps. Consider a claim that recites: “An apparatus comprising one or more processor units . . . ” Such a claim does not foreclose the apparatus from including additional components (e.g., a network interface unit, graphics circuitry, etc.).
“Configured To.” Various units, circuits, or other components may be described or claimed as “configured to” perform a task or tasks. In such contexts, “configured to” is used to connote structure by indicating that the units/circuits/components include structure (e.g., circuitry) that performs those task or tasks during operation. As such, the unit/circuit/component can be said to be configured to perform the task even when the specified unit/circuit/component is not currently operational (e.g., is not on). The units/circuits/components used with the “configured to” language include hardware—for example, circuits, memory storing program instructions executable to implement the operation, etc. Reciting that a unit/circuit/component is “configured to” perform one or more tasks is expressly intended not to invoke 35 U.S.C. § 112 (f), for that unit/circuit/component. Additionally, “configured to” can include generic structure (e.g., generic circuitry) that is manipulated by software and/or firmware (e.g., an FPGA or a general-purpose processor executing software) to operate in manner that is capable of performing the task(s) at issue. “Configure to” may also include adapting a manufacturing process (e.g., a semiconductor fabrication facility) to fabricate devices (e.g., integrated circuits) that are adapted to implement or perform one or more tasks.
“First,” “Second,” etc. As used herein, these terms are used as labels for nouns that they precede, and do not imply any type of ordering (e.g., spatial, temporal, logical, etc.). For example, a buffer circuit may be described herein as performing write operations for “first” and “second” values. The terms “first” and “second” do not necessarily imply that the first value must be written before the second value.
“Based On.” As used herein, this term is used to describe one or more factors that affect a determination. This term does not foreclose additional factors that may affect a determination. That is, a determination may be solely based on those factors or based, at least in part, on those factors. Consider the phrase “determine A based on B.” While in this case, B is a factor that affects the determination of A, such a phrase does not foreclose the determination of A from also being based on C. In other instances, A may be determined based solely on B.
As data acquisition and display technologies have become more advanced, the ability to capture volumetric content comprising thousands or millions of points in 2-D or 3-D space, such as via LIDAR systems, has increased. Also, the development of advanced display technologies, such as virtual reality or augmented reality systems, has increased potential uses for volumetric content. However, volumetric content files are often very large and may be costly and time-consuming to store and transmit. For example, communication of volumetric content over private or public networks, such as the Internet, may require considerable amounts of time and/or network resources, such that some uses of volumetric content, such as real-time uses, may be limited. Also, storage requirements of volumetric content files may consume a significant amount of storage capacity of devices storing the volumetric content files, which may also limit potential applications for using volumetric content data.
In some embodiments, an encoder may be used to generate compressed volumetric content to reduce costs and time associated with storing and transmitting large volumetric content files. In some embodiments, a system may include an encoder that compresses attribute and/or spatial information of volumetric content such that the volumetric content file may be stored and transmitted more quickly than non-compressed volumetric content and in a manner that the volumetric content file may occupy less storage space than non-compressed volumetric content.
In some embodiments, such encoders and decoders (or other encoders and decoders) described herein may be adapted to additionally or alternatively encode three-degree of freedom plus (3DOF+) scenes, visual volumetric content, such as MPEG V3C scenes, immersive video scenes, such as MPEG MIV, etc.
In some embodiments, a dynamic mesh that is to be compressed and/or encoded may include a set of 3D Meshes M(0), M(1), M(2), . . . , M(n). Such as multiple representations of a dynamic mesh at different points in time (i). Each mesh M(i) may be defined by be a connectivity information C(i), a geometry information G(i), texture coordinates T(i) and texture connectivity TC(i). For each mesh M(i), one or multiple 2D images A(i, 0), A(i, 1) . . . , A(i, D-1) describing the textures or attributes associated with the mesh may be included. For example,
For example, the example textured mesh stored in the object format shown in
In some embodiments, the geometry information G(i) may represent locations of vertices of the mesh in 3D space and the connectivity C(i) may indicate how the vertices are to be connected together to form polygons that make up the mesh M(i). Also, the texture coordinates T(i) may indicate locations of pixels in a 2D image that correspond to vertices of a corresponding sub-mesh. Attribute patch information may indicate how the texture coordinates defined with respect to a 2D bounding box map into a three-dimensional space of a 3D bounding box associated with the attribute patch based on how the points were projected onto a projection plane for the attribute patch. Also, the texture connectivity information TC(i) may indicate how the vertices represented by the texture coordinates T(i) are to be connected together to form polygons of the sub-meshes. For example, each texture or attribute patch of the texture image A(i) may correspond to a corresponding sub-mesh defined using texture coordinates T(i) and texture connectivity TC(i).
In some embodiments, a mesh encoder may perform a patch generation process, wherein the mesh is subdivided into a set of sub-meshes, and respective ones of the sub-meshes are represented using sets of patches. The sub-meshes may correspond to the connected components of the texture connectivity or may be different sub-meshes than the texture connectivity of the mesh. In some embodiments, a number and a size of sub-meshes to be determined may be adjusted to balance discontinuities and flexibility to update the mesh, such as via inter-prediction. For example, smaller sub-meshes may allow for a finer granularity of updates to change a particular region of a mesh, such as at a subsequent moment in time using an inter-prediction process. But, a higher number of sub-meshes may introduce more discontinuities.
A mesh that could be either static or dynamic is received at pre-processing 302. Also, an attribute map representing how attribute images (e.g., texture images) for the static/dynamic mesh are to be mapped to the mesh is received at pre-processing module 302. For example, the attribute map may include texture coordinates and texture connectivity for texture images for the mesh. The pre-processing module 302 separates the static/dynamic mesh into a base mesh and displacements. Where the displacements represent how vertices are to be displaced to re-create the original static/dynamic mesh from the base mesh. For example, in some embodiments, vertices included in the original static/dynamic mesh may be omitted from the base mesh (e.g., the base mesh may be a compressed version of the original static/dynamic mesh). As will be discussed in more detail below, a decoder may predict additional vertices to be added to the base mesh, for example by sub-dividing edges between remaining vertices included in the base mesh. In such an example, the displacements may indicate how the additional vertices are to be displaced, wherein the displacement of the added vertices modifies the base mesh to better represent the original static/dynamic mesh. For example,
The separated base mesh m and displacements that have been separated by pre-processing module 302 are provided to encoder 304, which may be an intra-frame encoder as shown in
With regard to mesh decimation, in some embodiments, a portion of a surface of a static/dynamic mesh may be thought of as an input 2D curve (represented by a 2D polyline), referred to as an “original” curve. The original curve may be first down-sampled to generate a base curve/polyline, referred to as a “decimated” curve. A subdivision scheme, such as those described herein, may then be applied to the decimated polyline to generate a “subdivided” curve. For instance, a subdivision scheme using an iterative interpolation scheme may be applied. The subdivision scheme may include inserting at each iteration a new point in the middle of each edge of the polyline. The inserted points represent additional vertices that may be moved by the displacements.
For example, the subdivided polyline is then deformed to get a better approximation of the original curve. More precisely, a displacement vector is computed for each vertex of the subdivided mesh such that the shape of the displaced curve approximates the shape of the original curve. An advantage of the subdivided curve is that it has a subdivision structure that allows efficient compression, while it offers a faithful approximation of the original curve. The compression efficiency is obtained thanks to the following properties:
For example,
In some embodiments, intra-frame encoder 402 receives base mesh m(i), displacements d(i), the original static/dynamic mesh M(i) and attribute map A(i). The base mesh m(i) is provided to quantization module 404, wherein aspects of the base mesh may (optionally) be further quantized. In some embodiments, various mesh encoders may be used to encode the base mesh. Also, in some embodiments, intra-frame encoder 402 may allow for customization, wherein different respective mesh encoding schemes may be used to encode the base mesh. For example, static mesh encoder 406 may be a selected mesh encoder selected from a set of viable mesh encoder, such as a DRACO encoder (or another suitable encoder). The encoded base mesh, that has been encoded by static mesh encoder 406 is provided to multiplexer (MUX) 438 for inclusion in the compressed bitstream b(i). In some embodiments, sub-meshes may be encoded as separate statically encoded meshes in the base mesh sub-bitstream. Additionally, the encoded base mesh is provided to static mesh decoder in order to generate a reconstructed version of the base mesh (that a decoder will see). This reconstructed version of the base mesh is used to update the displacements d(i) to take into account any geometric distortion between the original base mesh and a reconstructed version of the base mesh (that a decoder will see). For example, static mesh decoder 408 generates reconstructed quantized base mesh m′(i) and provides the reconstructed quantized base mesh m′(i) to displacement update module 410, which also receives the original base mesh and the original displacement d(i). The displacement update module 410 compares the reconstructed quantized base mesh m′(i) (that the decoder will see) to the base mesh m(i) and adjusts the displacements d(i) to account for differences between the base mesh m(i) and the reconstructed quantized base mesh m′(i). These updated displacements d′(i) are provided to wavelet transform 412 which applies a wavelet transformation to further compress the updated displacements d′(i) and outputs wavelet coefficients e(i), which are provided to quantization module 414 which generates quantized wavelet coefficients e′(i). The quantized wavelet coefficients may then be packed into a 2D image frame via image packing module 416, wherein the packed 2D image frame is further video encoded via video encoding 418. The encoded video images are also provided to multiplexer (MUX) 438 for inclusion in the compressed bitstream b(i). Also, in some embodiments, the displacement values (such as are indicated in the generated quantized wavelet coefficients e′(i) or indicated using other compression schemes) may be encoded at least partially outside of the video sub-bitstream, such as in their own displacement data sub-bitstream, in the base mesh sub-bitstream, or in an atlas data sub-bitstream. Note that the atlas sub-bitstream includes both the atlas data sub-bitstream and the video sub-bitstream, wherein the atlas data sub-bitstream includes information for identifying patches included in the video sub-bitstream.
In addition, in order to account for any geometric distortion introduced relative to the original static/dynamic mesh, an attribute transfer process 430 may be used to modify attributes to account for differences between a reconstructed deformed mesh DM(i) and the original static/dynamic mesh.
For example, video encoding 418 may further perform video decoding (or a complimentary video-decoding module may be used (which is not shown in
Attribute transfer module 430 compares the geometry of the original static/dynamic mesh M(i) to the reconstructed deformed mesh DM(i) and updates the attribute map to account for any geometric deformations, this updated attribute map is output as updated attribute map A′(i). The updated attribute map A′(i) is then padded, wherein a 2D image comprising the attribute images is padded such that spaces not used to communicate the attribute images have a padding applied. In some embodiments, a color space conversion is optionally applied at color space conversion module 434. For example, an RGB color space used to represent color values of the attribute images may be converted to a YCbCr color space, also color space sub-sampling may be applied such as 4:2:0, 4:0:0, etc. color space sub-sampling. The updated attribute map A′(i) that has been padded and optionally color space converted is then video encoded via video encoding module 436 and is provided to multiplexer 438 for inclusion in compressed bitstream b(i).
In some embodiments, a controller 400 may coordinate the various quantization and inverse quantization steps as well as the video encoding and decoding steps such that the inverse quantization “undoes” the quantization and such that the video decoding “undoes” the video encoding. Also, the attribute transfer module 430 may take into account the level of quantization being applied based on communications from the controller 400.
Intra frame decoder 502 receives a compressed bitstream b(i), such as the compressed bitstream generated by the intra frame encoder 402 shown in
Also, the displacement sub-component of the bitstream is provided to video decoding 508, wherein video encoded image frames are video decoded and provided to image unpacking 510. Image unpacking 510 extracts the packed displacements from the video decoded image frame and provides them to inverse quantization 512 wherein the displacements are inverse quantized. Also, the inverse quantized displacements are provided to inverse wavelet transform 514, which outputs decoded displacements d″(i). Reconstructed deformed mesh generator 520 applies the decoded displacements d″(i) to the decoded base mesh m″(i) to generate a decoded static/dynamic mesh M″(i). Also, the attribute map sub-component is provided to video decoding 516, which outputs a decoded attribute map A″(i). A reconstructed version of the three-dimensional visual content can then be rendered at a device associated with the decoder using the decoded mesh M″(i) and the decoded attribute map A″(i).
As shown in
In some embodiments, these three sub-streams may be referred to as the base mesh sub-bitstream and the atlas sub-bitstream, wherein the atlas sub-bitstream includes the displacements, such as shown in
The base mesh sub-bitstream is fed to the mesh decoder to generate the reconstructed quantized base mesh m′(i). The decoded base mesh m″(i) is then obtained by applying inverse quantization to m′(i). The proposed scheme is agnostic of which mesh codec is used. The mesh codec used could be specified explicitly in the bitstream or could be implicitly defined/fixed by the specification or the application.
The displacement sub-bitstream could be decoded by a video/image decoder. The generated image/video is then un-packed and inverse quantization is applied to the wavelet coefficients. In an alternative embodiment, the displacements could be decoded by dedicated displacement data decoder. The proposed scheme is agnostic of which codec/standard is used. Image/video codecs such as [HEVC][AVC][AV1][AV2][JPEG][JPEG2000] could be used. The motion decoder used for decoding mesh motion information or a dictionary-based decoder such as ZIP could be for example used as the dedicated displacement data decoder. The decoded displacement d″(i) is then generated by applying the inverse wavelet transform to the unquantized wavelet coefficients. The final decoded mesh is generated by applying the reconstruction process to the decoded base mesh m″(i) and adding the decoded displacement field d″(i).
The attribute sub-bitstream is directly decoded by the video decoder and the decoded attribute map A″(i) is generated as output. The proposed scheme is agnostic of which codec/standard is used. Image/video codecs such as [HEVC][AVC][AV1][AV2][JPEG][JPEG2000] could be used. Alternatively, an attribute sub-bitstream could be decoded by using non-image/video decoders (e.g., using a dictionary-based decoder such as ZIP). Multiple sub-streams, each associated with a different attribute map, could be decoded. Each sub-stream could use a different codec.
In some embodiments, inter frame encoder 602 may include similar components as the intra-frame encoder 402, but instead of encoding a base mesh, the inter-frame encoder may encode motion vectors that can be applied to a reference mesh to generate, at a decoder, a base mesh.
For example, in the case of dynamic meshes, a temporally consistent re-meshing process is used, which may produce a same subdivision structure that is shared by the current mesh M′(i) and a reference mesh M′(j). Such a coherent temporal re-meshing process makes it possible to skip the encoding of the base mesh m(i) and re-use the base mesh m(j) associated with the reference frame M(j). This could also enable better temporal prediction for both the attribute and geometry information. More precisely, a motion field f(i) describing how to move the vertices of m(j) to match the positions of m(i) may be computed and encoded. Such process is described in
In some embodiments, the base mesh m(i) associated with the current frame is first quantized (e.g., using uniform quantization) and encoded by using a static mesh encoder. The proposed scheme is agnostic of which mesh codec is used. The mesh codec used could be specified explicitly in the bitstream by encoding a mesh codec ID or could be implicitly defined/fixed by the specification or the application.
Depending on the application and the targeted bitrate/visual quality, the encoder could optionally encode a set of displacement vectors associated with the subdivided mesh vertices, referred to as the displacement field d(i).
The reconstructed quantized base mesh m′(i) (e.g., output of reconstruction of base mesh 408) is then used to update the displacement field d(i) (at update displacements module 410) to generate an updated displacement field d′(i) so it takes into account the differences between the reconstructed base mesh m′(i) and the original base mesh m(i). By exploiting the subdivision surface mesh structure, a wavelet transform is then applied, at wavelet transform 412, to d′(i) and a set of wavelet coefficients are generated. The wavelet coefficients are then quantized, at quantization 414, packed into a 2D image/video (at image packing 416), and compressed by using an image/video encoder (at video encoding 418). The encoding of the wavelet coefficients may be lossless or lossy. The reconstructed version of the wavelet coefficients is obtained by applying image unpacking and inverse quantization to the reconstructed wavelet coefficients video generated during the video encoding process (e.g., at 420, 422, and 424). Reconstructed displacements d″(i) are then computed by applying the inverse wavelet transform to the reconstructed wavelet coefficients. A reconstructed base mesh m″(i) is obtained by applying inverse quantization to the reconstructed quantized base mesh m′(i). The reconstructed deformed mesh DM(i) is obtained by subdividing m″(i) and applying the reconstructed displacements d″(i) to its vertices.
Since the quantization step or/and the mesh compression module may be lossy, a reconstructed quantized version of m(i), denoted as m′(i), is computed. If the mesh information is losslessly encoded and the quantization step is skipped, m(i) would exactly match m′(i).
As shown in
The motion field f(i) is computed by considering the quantized version of m(i) and the reconstructed quantized base mesh m′(j). Since m′(j) may have a different number of vertices than m(j) (e.g., vertices may get merged/removed), the encoder keeps track of the transformation applied to m(j) to get m′(j) and applies it to m(i) to guarantee a 1-to-1 correspondence between m′(j) and the transformed and quantized version of m(i), denoted m*(i). The motion field f(i) is computed by subtracting the quantized positions p(i, v) of the vertex v of m*(i) from the positions p(j, v) of the vertex v of m′(j):
The motion field is then further predicted by using the connectivity information of m′(j) and is entropy encoded (e.g., context adaptive binary arithmetic encoding could be used).
Since the motion field compression process could be lossy, a reconstructed motion field denoted as f′(i) is computed by applying the motion decoder module 408. A reconstructed quantized base mesh m′(i) is then computed by adding the motion field to the positions of m′(j). The remaining of the encoding process is similar to the Intra frame encoding.
Inter frame decoder 702 includes similar components as intra frame decoder 502 shown in
In a similar manner to the intra-frame decoder, the inter-frame decoder 702 separates the bitstream into three separate sub-streams:
The motion sub-stream is decoded by applying the motion decoder 704. The proposed scheme is agnostic of which codec/standard is used to decode the motion information. For instance, any motion decoding scheme could be used. The decoded motion is then optionally added to the decoded reference quantized base mesh m′(j) to generate the reconstructed quantized base mesh m′(i), i.e., the already decoded mesh at instance j can be used for the prediction of the mesh at instance i. Afterwards, the decoded base mesh m″(i) is generated by applying the inverse quantization to m′(i).
The displacement and attribute sub-streams are decoded in a similar manner as in the intra frame decoding process described with regard to
The inverse quantization and reconstruction processes are not normative and could be implemented in various ways and/or combined with the rendering process.
In some embodiments, the mesh may be sub-divided into a set of patches (e.g., sub-parts) and the patches may potentially be grouped into groups of patches, such as a set of patch groups/tiles. In such embodiments, different encoding parameters (e.g., subdivision, quantization, wavelets transform, coordinates system . . . ) may be used to compress each patch or tile. In some embodiments, in order to avoid cracks at patch boundaries, lossless coding may be used for boundary vertices. Also, quantization of wavelet coefficients for boundary vertices may be disabled, along with using a local coordinate system for boundary vertices.
In some embodiments, scalability may be supported at different levels. For example, temporal scalability may be achieved through temporal sub-sampling and frame re-ordering. Also, quality and spatial scalability may be achieved by using different mechanisms for the geometry/vertex attribute data and the attribute map data. Also, region of interest (ROI) reconstruction may be supported. For example, the encoding process described in the previous sections could be configured to encode an ROI with higher resolution and/or higher quality for geometry, vertex attribute, and/or attribute map data. This is particularly useful to provide a higher visual quality content under tight bandwidth and complexity constraints (e.g., higher quality for the face vs rest of the body). Priority/importance/spatial/bounding box information could be associated with patches, patch groups, tiles, network abstraction layer (NAL) units, and/or sub-bitstreams in a manner that allows the decoder to adaptively decode a subset of the mesh based on the viewing frustum, the power budget, or the terminal capabilities. Note that any combination of such coding units could be used together to achieve such functionality. For instance, NAL units and sub-bitstreams could be used together.
In some embodiments, temporal and/or spatial random access may be supported. Temporal random access could be achieved by introducing IRAPs (Intra Random Access Points) in the different sub-streams (e.g., attribute atlas, video, mesh, motion, and displacement sub-streams). Spatial random access could be supported through the definition and usage of tiles, sub-pictures, patch groups, and/or patches or any combination of these coding units. Metadata describing the layout and relationships between the different units could also need to be generated and included in the bitstream to assist the decoder in determining the units that need to be decoded.
As discussed above, various functionalities may be supported, such as:
The disclosed compression schemes allow the various coding units (e.g., patches, patch groups and tiles) to be compressed with different encoding parameters (e.g., subdivision scheme, subdivision iteration count, quantization parameters, etc.), which can introduce compression artefacts (e.g., cracks between patch boundaries). In some embodiments, as further discussed below an efficient (e.g., computational complexity, compression efficiency, power consumption, etc. efficient) strategy may be used that allows the scheme to handle different coding unit parameters without introducing artefacts.
A mesh could be segmented into a set of tiles (e.g., parts/segments), which could be encoded and decoded independently. Vertices/edges that are shared by more than one tile are duplicated as illustrated in
Each tile could be further segmented into a set of sub-meshes, which may be encoded while exploiting dependencies between them. For example,
The sub-mesh structure could be defined either by:
In some embodiments, a sub-mesh could belong to one or multiple patches (e.g., associate metadata with overlapping parts of the mesh). In another embodiment, a sub-mesh may belong to only a single patch. Vertices located on the boundary between patches are not duplicated. Patches are also encoded while exploiting correlations between them and therefore, they cannot be encoded/decoded independently.
The list of sub-meshes associated with a patch may be encoded by using various strategies, such as:
A patch group is a set of patches. A patch group is particularly useful to store parameters shared by its patches or to allow a unique handle that could be used to associate metadata with those patches.
In some embodiments, in order to support using different encoding parameters per patch, the following may be used:
For example,
When applying quantization to the wavelet coefficients, the quantization parameters used for a vertex are selected based on the quantization parameters of all the patches the vertex belongs to. For example, suppose that a patch belongs to two patches, Patch0 and Patch1. Patch0 has a quantization parameter QP1. Patch1 has a quantization parameter QP2. The wavelet coefficients associated with the vertex will be quantized using the quantization parameter QP=min (QP1, QP2).
To support mesh tiles, the encoder could partition the mesh into a set of tiles, which are then encoded/decoded independently by applying any mesh codec or use a mesh codec that natively supports tiled mesh coding.
In both cases, the set of shared vertices located on tile boundaries are duplicated. To avoid cracks appearing between tiles, the encoder could either:
In another embodiment, the encoder could duplicate regions of the mesh and store them in multiple tiles. This could be done for the purpose of:
When the total number of vertices of the target mesh and the predicted mesh is N, the vertex positions in the target mesh is {right arrow over (O)}={O0, {right arrow over (O)}1, {right arrow over (O)}2, {right arrow over (O)}3 . . . {right arrow over (O)}N-1} with {right arrow over (O)}k={Ok,0, Ok,1, Ok,2} (e.g., X, Y, and Z position values for the kth vertex), and the vertex positions in the predicted mesh is {right arrow over (P)}={{right arrow over (P)}0, {right arrow over (P)}1, {right arrow over (P)}2, {right arrow over (P)}3 . . . {right arrow over (P)}N-1} with {right arrow over (P)}K={Pk,0, Pk,1, Pk,2} (e.g., X, Y, and Z position values for the kth vertex), the displacement value of a vertex k is conceptually as follows:
At the encoder side, the displacement data {right arrow over (D)}={{right arrow over (D)}0, {right arrow over (D)}1, {right arrow over (D)}2, . . . , {right arrow over (D)}N-1} can be transformed by a transform method, such as the wavelet transform, into displacement coefficients (or coefficients) {right arrow over (C)}={{right arrow over (C)}0, {right arrow over (C)}1, {right arrow over (C)}2, . . . , {right arrow over (C)}N-1}. In the case that the displacement data is not transformed, {right arrow over (C)}={right arrow over (D)}. The transformed data can be, then, quantized.
After quantization (if applied), {right arrow over (C)} can be placed onto an image. The k-th component of the i-th coefficients, Ci,k corresponding to the k-th coordinate in the 3D space, can be placed on a pixel position {xi,k, yi,k}. The mapping between (i,k) and {xi,k, yi,k} can be represented as {xi,k, yi,k}=scanorder (i, k).
In some embodiments, several methods may be used to indicate sub-meshes. For example, an atlas tile layer may convey sub-mesh information in the atlas sub-bitstream. For example, as shown in
In some situations, it may be beneficial for the Atlas Data sub-bitstream (e.g., the sub-bitstream (as shown in
As an example, a compressed bitstream 1302, such as may be generated by encoder 402 or encoder 406, includes base mesh sub-bitstream 1304 and atlas sub-bitstream 1306. The base mesh sub-bitstream 1304 further includes encoded base meshes for different sub-meshes such as encoded base meshes for sub-meshes, X, Y, and Z. In some embodiments the encoded base meshes for the sub-meshes may include sub-mesh IDs, such as ID XXXX, ID YYYY, and ID ZZZZ. For example, each of the encoded sub-mesh base meshes 1308, 1316, and 1318 may be identifiable in the base mesh sub-bitstream 1304. However, in the atlas sub-bitstream displacement video frames 1312 through 1322 and attribute video frames 1314 through 1324 are not restricted to only include patches for a single sub-mesh and instead may include patches for more than one sub-mesh. Also, the atlas data, such as atlas tile and path data 1310 through 1320 may include patch data for multiple video frames. Also, in some embodiments, multiple tiles may reference the same video frame. Thus, determining which patches communicated in the atlas sub-bitstream 1306 correspond to which ones of the sub-meshes communicated in the base mesh sub-bitstream 1304 is non-trivial.
In some embodiments, in order to identify displacements communicated in patches packed into video frames 1312 through 1322 and to identify attribute values communicated in patches packed into video frames 1314 through 1324, sub-mesh IDs (or other means for identifying sub-meshes such as sub-mesh index positions) are communicated in the tile headers of the atlas tile and patch data 1310 through 1320. Also, in some embodiments, sub-mesh identifiers may further be signaled for patch data units (PDUs) included in the tiles.
More specifically, n the basemesh sub-bitstream (such as base mesh sub-bitstream 1304), each submesh can be distinguished by its submesh ID derived from smh_id signalled in submesh_header ( ) The submesh ID can be derived based on the syntax elements signalled in the basemesh submesh information.
The arrays SubMeshIDToIndex and SubMeshIndexToID provide a forward and inverse mapping, respectively, of the ID associated with each submesh and the order index of each submesh. The submesh ID is specified as SubMeshIndexToID [smh_id]. For example, in some embodiments, as shown in
In the data units corresponding to patches (such as patch data units 1410 (PDUs 1410)), the submesh ID of the submesh that corresponds to the patch may be signaled. For example, in a patch data unit, submesh ID may be signaled as follows:
pdu_submesh_id [tileID][patchIdx] indicates the associated submesh ID specified in the current patch with index patchIdx, in the current atlas tile with tile ID equal to tileID.
For example, atlas tile and patch data 1310 through 1320 may include tile date units, such as tile data units 1402, 1404, 1406, and 1408. Each of the tile data units may include a tile header and one or more patch data units, wherein the patch data units include information for identifying patches within a given tile. For example, tile data unit 1402 may correspond to tile 1 of displacement video frame 1312 and tile 1 of attribute video frame 1314. Though it should be noted that in some embodiments, different patch sizing and/or packing may be used to pack attribute patches differently from displacement patches. As another example, tile data unit 1404 may correspond to a different tile in displacement video frame 1312 and attribute video frame 1314, such as tile 4. Also the separate patch data units included in the respective tile data units may provide information for identifying and mapping patches in the corresponding tiles to a 3D volume of the reconstructed volumetric visual content.
For example, tile data unit 1402 may include a tile header 1502 that includes sub-mesh IDs indicating sub-meshes that have patches included in tile 1 (which corresponds to tile data unit 1402). Also, which PDU the respective sub-mesh patches are included in may also optionally be signaled. For example, patch data unit 1402 includes tile header 1502 that includes sub-mesh IDs, and body 1504 includes PDUs for the tile represented by tile data unit 1402.
In some embodiments, in which only one sub-mesh has patches included in a tile corresponding to a tile data unit, a single sub-mesh present flag may be set. For example, patch data unit 1404 corresponds to tile 2 and may only include a single patch (or patches) corresponding to a single sub-mesh. For example, patch data unit 1404 includes tile header 1602 that includes a sub-mesh ID and a single sub-mesh present flag, and body 1604 includes PDUs for the tile represented by tile data unit 1404.
As another option, instead of signaling a sub-mesh ID in the tile header, in some embodiments, sub-mesh index position information may be signaled in the tile header. Wherein the base-mesh sub-bitstream includes information for identifying a given sub-mesh based on its sub-mesh index position. For example, tile data unit 1406 includes tile header 1702 that includes sub-mesh index position, and optionally indicates which one of the PDUs a given sub-mesh has patches in. Also, the body 1704 of tile data unit 1406 includes patch data units, as shown in
More particularly, in the atlas tile header, the number of sub meshes corresponding to the patches that refer to the atlas tile header can be signaled as follows:
In the above chart, the following syntax elements are used:
In some embodiments, it is a requirement that athe_signalled_tile_id_length_minus1 [ath_id] is greater or equal to bmsi_signalled_submesh_id_length_minus1.
Also, in some embodiments, the value of pdu_submesh_id [tileID][patchIdx] signaled in patch_data_unit (tileID, patchIdx) shall be one of athe_submesh_id [ath_id][i] where i is in the range 0 to AtheNumSubmesh [ath_id]−1, inclusive.
In some embodiments, ath_submesh_id [i] shall not be equal to ath_submesh_id [j] for all i!=j.
In some embodiments, AsveSubmeshIdBitCount can be derived from a syntax element signaled in the ASPS (atlas sequence parameter set). For example:
In some embodiments, it is a requirement that asve_signalled_tile_id_length_minus1 is greater or equal to bmsi_signalled_submesh_id_length_minus1.
In some embodiments, instead of signaling athe_use_single_mesh_flag and athe_num_submeshes_minus1, the number of sub-meshes corresponding to the patches referred to in this atlas tile header can be signaled explicitly. For example, tile data unit 1402 may explicitly signal that two sub-meshes are referenced in the tile header 1502 as well as the sub-mesh IDs for the two sub-meshes. However, for the tile data unit 1404 shown in
Also, as discussed with regard to
In some embodiments, athe_signalled_submesh_id_flag [ath_id] is not signaled but inferred as 0 when afti_single_tile_in_atlas_frame_flag is true or afti_num_tiles_in_atlas_frame_minus1 is 0.
In some embodiments, the submesh index signalled in patch data unit and inter patch data unit, such as pdu_submesh_id [tileID][patchIdx] can be coded with athe_signalled_submesh_id_length_minus1 [ath_id]+1or asve_signalled_submesh_id_length_minus1+1 bits.
In some embodiments, when the number of sub-meshes in the atlas tile, AtheNumSubmesh [ath_id] is 1, submesh ID of patch data unit and inter patch data unit, such as pdu_submesh_id [tileID][patchIdx] can be inferred as athe_submesh_id [ath_id] [0] instead of being signaled.
During reconstruction, when a sub-mesh with a given sub-mesh ID needs to be decoded, the decoder decodes only the atlas tile layer (e.g. atlas data unit) whose atlas tile header has that sub-mesh's ID in the athe_submesh_id (e.g. atlas tile header sub-mesh ID field).
For example, say there are 3 tiles and 5 sub-meshes. The patches in tile [0] correspond to sub-mesh [0] and sub-mesh [2]. The patches in tile [1] correspond to sub-mesh [3] and the patches in tile [2] correspond to sub-mesh [1] and sub-mesh [4]. athe_submesh_id in each tile header will be
When the decoder needs to decode sub-mesh [1], the decoder parses down to the atlas tile header and searches for the submeshID(=1) in athe_submesh_id. In this example, the decoder will find the submeshID(=1) in tile [2]. Then the decoder will decode patches only in tile [2] without decoding other tiles (tile [0] and tile [1]).
In some embodiments, there is no restriction that the sub-mesh ID for a patch in an atlas frame should be unique. For example, the information for one sub-mesh can be signaled in multiple patches. Also, the multiple patches can be signaled in multiple tiles. If multiple patches contain the information for one sub-mesh and are signaled in multiple tiles, it could have an impact on partial decoding since multiple tiles will be required to decode one sub-mesh. When sub-meshes with the same sub-mesh ID are reconstructed (=processed with the information from the atlas data sub-bitstream such as subdivision, adding displacements, etc.) multiple times, the sub-meshes are concatenated to create one sub-mesh. The order of concatenation can be based on tile IDs or patch indices or tile IDs and patch indices. In another embodiment, the order of concatenation can be explicitly signaled. When sub-meshes are concatenated, the connectivity can be updated based on the updated vertex indices.
For example, say there are two patch data units in one tile. Such as pdu[0][0] and pdu[0][1] with the same pdu_submesh_id, 1. This is shown in
In some embodiments, sub-mesh 1 could further be concatenated with sub-mesh information from tile 1904.
At block 2002, a decoder receives a bitstream for three-dimensional (3D) visual volumetric content compressed using video-based dynamic mesh compression (V-DMC), wherein the bitstream includes a base-mesh sub-bitstream, such as base mesh sub-bitstream 1304, an atlas sub-bitstream, such as atlas sub-bitstream 1306, and sub-mesh identifiers included in the atlas sub-bitstream, wherein the sub-mesh identifiers indicated tiles and/or patches comprising information pertaining to a given sub-mesh included in the base-mesh sub-bitstream. For example, the received bitstream includes sub-mesh identifiers in the atlas sub-bitstream, such as sub-mesh IDs or index values as shown in tile headers 1502, 1602, and 1702.
At block 2004, the decoder parses the atlas sub-bitstream to locate displacement vectors (and/or attribute values) corresponding to a given sub-mesh that is to be selectively reconstructed. For example, as shown in
At block 2006, the decoder reconstructs the given sub-mesh using a portion of the base mesh sub-bitstream corresponding to the given sub-mesh and using the displacement values parsed from the atlas sub-bitstream that correspond to the given sub-mesh. For example, a particular one of the encoded base meshes 1308, 1316, and 1318 may be used to generate the base mesh for the given sub-mesh and the displacement and attribute values extracted from the PDUs of the tile determined at block 2004 may be used to selectively reconstruct the given sub-mesh.
The reconstructed mesh may further be selectively rendered at block 2102. In some embodiments, selective rendering may include applying attribute values, such as texture or colors to the reconstructed mesh. Also, at block 2104, the decoder refrains from rendering one or more other sub-meshes signaled in the base mesh and atlas sub-bitstreams of the bitstream. For example, other sub-meshes may not be selected for rendering, and processing steps for those sub-meshes such as identifying displacements and attribute values, may be omitted.
At block 2202, an encoder receives three-dimensional (3D) visual volumetric content to be encoded using video-based dynamic mesh compression (V-DMC). For example encoders 402 and 406 may receive three-dimensional (3D) visual volumetric content to be encoded.
At block 2204, the encoder generates an encoded bitstream for the 3D visual volumetric content, wherein the encoded bitstream includes a base-mesh sub-bitstream, an atlas sub-bitstream, and sub-mesh identifiers included in the atlas sub-bitstream, wherein the sub-mesh identifiers indicated tiles and/or patches comprising information pertaining to a given sub-mesh included in the base-mesh sub-bitstream. For example, encoder 402 or 406 may output a compressed bitstream 1302 as shown in
Various embodiments of a point cloud encoder or decoder, as described herein may be executed in one or more computer systems 2300, which may interact with various other devices. Note that any component, action, or functionality described above with respect to
In various embodiments, computer system 2300 may be a uniprocessor system including one processor 2310, or a multiprocessor system including several processors 2310 (e.g., two, four, eight, or another suitable number). Processors 2310 may be any suitable processor capable of executing instructions. For example, in various embodiments processors 2310 may be general-purpose or embedded processors implementing any of a variety of instruction set architectures (ISAs), such as the x86, PowerPC, SPARC, or MIPS ISAs, or any other suitable ISA. In multiprocessor systems, each of processors 2310 may commonly, but not necessarily, implement the same ISA.
System memory 2320 may be configured to store point cloud compression or point cloud decompression program instructions 2322 and/or sensor data accessible by processor 2310. In various embodiments, system memory 2320 may be implemented using any suitable memory technology, such as static random-access memory (SRAM), synchronous dynamic RAM (SDRAM), nonvolatile/Flash-type memory, or any other type of memory. In the illustrated embodiment, program instructions 2322 may be configured to implement an image sensor control application incorporating any of the functionality described above. In some embodiments, program instructions and/or data may be received, sent or stored upon different types of computer-accessible media or on similar media separate from system memory 2320 or computer system 2300. While computer system 2300 is described as implementing the functionality of functional blocks of previous Figures, any of the functionality described herein may be implemented via such a computer system.
In one embodiment, I/O interface 2330 may be configured to coordinate I/O traffic between processor 2310, system memory 2320, and any peripheral devices in the device, including network interface 2340 or other peripheral interfaces, such as input/output devices 2350. In some embodiments, I/O interface 2330 may perform any necessary protocol, timing or other data transformations to convert data signals from one component (e.g., system memory 2320) into a format suitable for use by another component (e.g., processor 2310). In some embodiments, I/O interface 2330 may include support for devices attached through various types of peripheral buses, such as a variant of the Peripheral Component Interconnect (PCI) bus standard or the Universal Serial Bus (USB) standard, for example. In some embodiments, the function of I/O interface 2330 may be split into two or more separate components, such as a north bridge and a south bridge, for example. Also, in some embodiments some or all of the functionality of I/O interface 2330, such as an interface to system memory 2320, may be incorporated directly into processor 2310.
Network interface 2340 may be configured to allow data to be exchanged between computer system 2300 and other devices attached to a network 2385 (e.g., carrier or agent devices) or between nodes of computer system 2300. Network 2385 may in various embodiments include one or more networks including but not limited to Local Area Networks (LANs) (e.g., an Ethernet or corporate network), Wide Area Networks (WANs) (e.g., the Internet), wireless data networks, some other electronic data network, or some combination thereof. In various embodiments, network interface 2340 may support communication via wired or wireless general data networks, such as any suitable type of Ethernet network, for example; via telecommunications/telephony networks such as analog voice networks or digital fiber communications networks; via storage area networks such as Fibre Channel SANs, or via any other suitable type of network and/or protocol.
Input/output devices 2350 may, in some embodiments, include one or more display terminals, keyboards, keypads, touchpads, scanning devices, voice or optical recognition devices, or any other devices suitable for entering or accessing data by one or more computer systems 2300. Multiple input/output devices 2350 may be present in computer system 2300 or may be distributed on various nodes of computer system 2300. In some embodiments, similar input/output devices may be separate from computer system 2300 and may interact with one or more nodes of computer system 2300 through a wired or wireless connection, such as over network interface 2340.
As shown in
Those skilled in the art will appreciate that computer system 2300 is merely illustrative and is not intended to limit the scope of embodiments. In particular, the computer system and devices may include any combination of hardware or software that can perform the indicated functions, including computers, network devices, Internet appliances, PDAs, wireless phones, pagers, etc. Computer system 2300 may also be connected to other devices that are not illustrated, or instead may operate as a stand-alone system. In addition, the functionality provided by the illustrated components may in some embodiments be combined in fewer components or distributed in additional components. Similarly, in some embodiments, the functionality of some of the illustrated components may not be provided and/or other additional functionality may be available.
Those skilled in the art will also appreciate that, while various items are illustrated as being stored in memory or on storage while being used, these items or portions of them may be transferred between memory and other storage devices for purposes of memory management and data integrity. Alternatively, in other embodiments some or all of the software components may execute in memory on another device and communicate with the illustrated computer system via inter-computer communication. Some or all of the system components or data structures may also be stored (e.g., as instructions or structured data) on a computer-accessible medium or a portable article to be read by an appropriate drive, various examples of which are described above. In some embodiments, instructions stored on a computer-accessible medium separate from computer system 2300 may be transmitted to computer system 2300 via transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a network and/or a wireless link. Various embodiments may further include receiving, sending or storing instructions and/or data implemented in accordance with the foregoing description upon a computer-accessible medium. Generally speaking, a computer-accessible medium may include a non-transitory, computer-readable storage medium or memory medium such as magnetic or optical media, e.g., disk or DVD/CD-ROM, volatile or non-volatile media such as RAM (e.g., SDRAM, DDR, RDRAM, SRAM, etc.), ROM, etc. In some embodiments, a computer-accessible medium may include transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as network and/or a wireless link.
The methods described herein may be implemented in software, hardware, or a combination thereof, in different embodiments. In addition, the order of the blocks of the methods may be changed, and various elements may be added, reordered, combined, omitted, modified, etc. Various modifications and changes may be made as would be obvious to a person skilled in the art having the benefit of this disclosure. The various embodiments described herein are meant to be illustrative and not limiting. Many variations, modifications, additions, and improvements are possible. Accordingly, plural instances may be provided for components described herein as a single instance. Boundaries between various components, operations and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of claims that follow. Finally, structures and functionality presented as discrete components in the example configurations may be implemented as a combined structure or component. These and other variations, modifications, additions, and improvements may fall within the scope of embodiments as defined in the claims that follow.
This application claims benefit of priority to U.S. Provisional Application Ser. No. 63/588,967, entitled “Mesh Compression with Base Mesh Information Signaled in a First Sub-Bitstream and Sub-Mesh Information Signaled with Displacement Information in an Additional Sub-Bitstream,” filed Oct. 9, 2023, and which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
63588967 | Oct 2023 | US |