Method and apparatus for encoding / decoding 3D mesh

By avoiding texture UV coordinate encoding in 3D animation model encoding and using new UV parameterized reprojection to generate a new texture UV atlas, the problem of texture UV coordinate encoding complexity and storage space is solved, and an efficient encoding and decoding process is achieved.

CN118575196APending Publication Date: 2024-08-30INTERDIGITAL CE PATENT HOLDINGS SAS
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202380017720.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-03
Filing Date
2023-01-26
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing 3D animation model encoding methods have problems with high bandwidth and artifacts. Especially in textured mesh encoding, the encoding of texture UV coordinates is complex and consumes a lot of storage space.

Method used

By avoiding encoding of texture UV coordinates during the encoding process, the original texture map is reprojected to a new texture map using new UV parameterization, a new texture UV atlas is generated, and only metadata is stored in the bitstream, which is decoded according to the topology and vertex positions to determine texture coordinates.

Benefits of technology

It reduces the cost of encoding texture UV coordinates, reduces storage space requirements, and accurately determines texture coordinates during decoding, avoiding artifact problems and achieving a more economical encoding scheme.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575196A
    Figure CN118575196A
Patent Text Reader

Abstract

A method and an apparatus for encoding or decoding a 3D object are provided. For at least one face of a mesh representing the 3D object, second texture coordinates in a second texture map are obtained from decoded vertex positions of the at least one face and a decoded topology of the mesh, the at least one face comprising vertex positions and first texture coordinates in the first texture map associated with the vertex positions. A second texture map is obtained from the first texture map based on the first texture coordinates and the second texture coordinates, and the second texture map is encoded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention generally relate to a method and apparatus for encoding and decoding 3D meshes, and more particularly to encoding and decoding 3D objects represented as meshes. Background Art

[0002] Free viewpoint video can be achieved by capturing the animated model using a set of physical capture devices (video, infrared light, ...) scheduled in space. The captured animation sequence can then be encoded and transmitted to the terminal for playback from any virtual viewpoint with six degrees of freedom (6dof). There are different methods for encoding the animated model. For example, the animated model can be represented as an image / video, a point cloud, or a textured mesh.

[0003] In image / video based approaches, a set of video streams plus additional metadata are stored, and warping or any other reprojection is performed to produce images from a virtual viewpoint at playback. This solution requires a lot of bandwidth and introduces many artifacts.

[0004] In the point cloud approach, an animated 3D point cloud is reconstructed from a set of input animated images, resulting in a more compact representation of the 3D model. The animated point cloud can then be projected on a plane that wraps the volume of the animated point cloud and the projected points (also called patches) are encoded into a set of 2D coded video streams (e.g., using HEVC, AVC, VVC, ...) for delivery of the animated point cloud. However, the essence of the model is very limited in terms of spatial extension, and some artifacts may appear, such as holes on the surface for close-up views.

[0005] In the textured mesh approach, an animated textured mesh is reconstructed from a set of input animated images. The mesh is characterized in that the geometric definition can be very low and the photometric texture atlas can be encoded in a standard video stream. Textured mesh encoding relies on texture coordinates (UV) to perform the mapping of texture images to faces / triangles of the mesh. Summary of the invention

[0006] According to one embodiment, a method for encoding at least one 3D object represented using a mesh or encoding at least one 3D mesh is provided, the method comprising: obtaining, for at least one face of the mesh, second texture coordinates in a second texture map from decoded vertex positions of the at least one face and a decoded topology of the mesh, the at least one face comprising vertex positions and first texture coordinates in a first texture map associated with the vertex positions; obtaining a second texture map from the first texture map based on the first texture coordinates and the second texture coordinates; and encoding the second texture map.

[0007] According to another embodiment, a device for encoding at least one 3D object represented by a mesh or encoding at least one 3D mesh is provided. The device includes one or more processors, and the one or more processors are configured to: for at least one face of the mesh, obtain a second texture coordinate in a second texture map from the decoded vertex positions of the at least one face and the decoded topology of the mesh, the at least one face including vertex positions and first texture coordinates associated with the vertex positions in the first texture map; obtain a second texture map from the first texture map based on the first texture coordinates and the second texture coordinates; and encode the second texture map.

[0008] According to another embodiment, a method for decoding at least one 3D object represented by a mesh or decoding at least one 3D mesh is provided. The method includes: decoding the topology of the mesh and at least one face of the mesh, the at least one face including vertex positions; and obtaining texture coordinates of vertices of the at least one face based on the decoded topology and the decoded vertex positions.

[0009] According to another embodiment, a device for decoding at least one 3D object represented by a mesh or decoding at least one 3D mesh is provided. The device includes one or more processors configured to: decode the topology of the mesh and at least one face of the mesh, the at least one face including vertex positions; and obtain texture coordinates of vertices of the at least one face based on the decoded topology and the decoded vertex positions.

[0010] According to another embodiment, a bitstream includes: encoded video data representing the topology of a mesh, at least one face of the mesh, the at least one face including vertex positions,

[0011] - encoded data representing an indication instructing a decoder to obtain texture coordinates of vertices of the at least one face based on the decoded topology and the decoded vertex positions.

[0012] One or more embodiments also provide a computer program, which includes instructions that, when executed by one or more processors, cause the one or more processors to perform any of the encoding methods or decoding methods described in any of the above-mentioned embodiments. One or more embodiments of the present invention also provide a computer-readable storage medium, on which instructions for encoding or decoding a 3D object according to the method described herein are stored. One or more embodiments also provide a computer-readable storage medium, on which a bit stream generated according to the method described herein is stored. One or more embodiments also provide a method and apparatus for transmitting or receiving a bit stream, wherein the bit stream is generated according to the method described herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A block diagram is illustrated of a system in which aspects of embodiments of the present invention may be implemented.

[0014] Figure 2 A block diagram of an implementation of a video encoder is illustrated.

[0015] Figure 3 A block diagram illustrating an implementation of a video decoder is illustrated.

[0016] Figure 4 An example of a method for encoding a 3D object according to one embodiment is illustrated.

[0017] Figure 5 An example of a method for decoding a 3D object according to one embodiment is illustrated.

[0018] Figure 6 An example of a method for encoding a 3D object according to another embodiment is illustrated.

[0019] Figure 7 An example of a method for decoding a 3D object according to another embodiment is illustrated.

[0020] Figure 8 An example of an original texture map and a reprojected texture map according to one embodiment is illustrated.

[0021] Fig. 9 An example of a method for reprojecting a texture map according to one embodiment is illustrated.

[0022] Fig.10 An example of a method for reprojecting a triangle according to one embodiment is illustrated.

[0023] Fig.11An example of a method for extracting source and target triangles according to one embodiment.

[0024] Fig.12 An example of a method for reprojecting pixels according to one embodiment is illustrated.

[0025] Fig.13 Two remote devices communicating over a communication network are shown in accordance with an example of the principles of the present invention.

[0026] Fig.14 The syntax of an example signal according to the principles of the present invention is shown.

[0027] Fig.15 An embodiment of a method for transmitting a signal according to any of the above-described embodiments is shown. DETAILED DESCRIPTION

[0028] Figure 1 Illustrated is a block diagram of an example of a system in which various aspects and embodiments can be implemented.System 100 may be embodied as a device, which includes various components described below, and is configured to perform one or more aspects of various aspects described in the present application. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected home appliances and servers.The elements of system 100 may be embodied in a single integrated circuit, multiple ICs and / or discrete components individually or in combination.For example, in at least one embodiment, the processing of system 100 and encoder / decoder elements are distributed across multiple ICs and / or discrete components.In various embodiments, system 100 is coupled to other systems or other electronic devices via, for example, a communication bus or by a dedicated input and / or output port communication.In various embodiments, system 100 is configured to realize one or more aspects of the aspects described in the present application.

[0029] The system 100 includes at least one processor 110, which is configured to execute instructions loaded therein to implement various aspects described in the present application, for example. The processor 110 may include embedded memory, input and output interfaces, and various other circuits known in the art. The system 100 includes at least one memory 120 (e.g., a volatile memory device and / or a non-volatile memory device). The system 100 includes a storage device 140, which may include a non-volatile memory and / or a volatile memory, including but not limited to an EEPROM, a ROM, a PROM, a RAM, a DRAM, an SRAM, a flash memory, a disk drive, and / or an optical drive. As a non-limiting example, the storage device 140 may include an internal storage device, an attached storage device, and / or a network accessible storage device.

[0030] The system 100 includes an encoder / decoder module 130, which is configured to, for example, process data to provide an encoded video / 3D object or a decoded video / 3D object, and the encoder / decoder module 130 may include its own processor and memory. The encoder / decoder module 130 represents a module that can be included in a device to perform encoding and / or decoding functions. As is well known, a device may include one or both of an encoding module and a decoding module. In addition, the encoder / decoder module 130 may be implemented as a separate element of the system 100, or may be incorporated into the processor 110 as a combination of hardware and software known to those skilled in the art.

[0031] Program code to be loaded onto the processor 110 or the encoder / decoder 130 to perform various aspects described in this application may be stored in the storage device 140 and subsequently loaded onto the memory 120 for execution by the processor 110. According to various embodiments, one or more of the processor 110, the memory 120, the storage device 140, and the encoder / decoder module 130 may store one or more of the various items during the execution of the processes described in this application. Such stored items may include, but are not limited to, input video / 3D objects, decoded video / 3D objects or portions of decoded video / 3D objects, bitstreams, matrices, variables, and intermediate or final results of processing equations, formulas, operations, and operation logic.

[0032] In several embodiments, memory inside the processor 110 and / or the encoder / decoder module 130 is used to store instructions and provide working memory for required processing during encoding or decoding. However, in other embodiments, memory outside the processing device (e.g., the processing device can be the processor 110 or the encoder / decoder module 130) is used for one or more of these functions. The external memory can be a memory 120 and / or a storage device 140, for example, a dynamic volatile memory and / or a non-volatile flash memory. In several embodiments, an external non-volatile flash memory is used to store the operating system of the television. In at least one embodiment, a fast external dynamic volatile memory such as RAM is used as a working memory for encoding and decoding operations, such as, for example, MPEG-2, HEVC, or VVC.

[0033] Inputs to the elements of system 100 may be provided through various input devices as indicated in block 105. Such input devices include, but are not limited to: (i) an RF section that receives an RF signal transmitted over the air, for example, by a broadcaster; (ii) a composite input terminal; (iii) a USB input terminal and / or (iv) an HDMI input terminal.

[0034] In various embodiments, the input device of block 105 has associated corresponding input processing elements as known in the art. For example, the RF section may be associated with elements suitable for the following items: (i) selecting a desired frequency (also referred to as selecting a signal, or limiting the signal band to a band), (ii) down-converting the selected signal, (iii) again limiting the band to a narrower band to select a signal band that may be referred to as a channel in some embodiments, (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select a desired packet stream. The RF section of various embodiments includes one or more elements for performing these functions, such as a frequency selector, a signal selector, a band limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF section may include a tuner that performs various functions in these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or a near-baseband frequency) or to baseband. In a set-top box embodiment, the RF part and its associated input processing element receive the RF signal transmitted by wired (for example, cable) medium, and filter to the frequency band of expectation again by filtering, down-conversion and perform frequency selection.Each embodiment rearranges the order of (and other) element described above, removes some elements in these elements, and / or adds other elements of execution similar or different functions.Adding element can be included in and inserts element between existing element, for example, inserts amplifier and analog-to-digital converter.In various embodiments, the RF part comprises antenna.

[0035] In addition, the USB and / or HDMI terminals may include corresponding interface processors for connecting the system 100 to other electronic devices across the USB and / or HDMI connections. It should be understood that various aspects of input processing (e.g., Reed-Solomon error correction) may be implemented as needed, for example, in a separate input processing IC or in the processor 110. Similarly, various aspects of USB or HDMI interface processing may be implemented as needed in a separate interface IC or in the processor 110. The demodulated, error-corrected, and demultiplexed streams are provided to various processing elements, including, for example, the processor 110 and the encoder / decoder 130, which operate in conjunction with the memory and storage elements to process the data streams as needed for presentation on the output device.

[0036] The various components of the system 100 may be disposed within an integrated housing. Within the integrated housing, the various components may be interconnected and transmit data between using a suitable connection arrangement 115 (eg, an internal bus known in the art, including an I2C bus, wiring, and printed circuit boards).

[0037] The system 100 includes a communication interface 150 that enables communication with other devices via a communication channel 190. The communication interface 150 may include, but is not limited to, a transceiver configured to transmit and receive data through the communication channel 190. The communication interface 150 may include, but is not limited to, a modem or a network card, and the communication channel 190 may be implemented, for example, within a wired and / or wireless medium.

[0038] In various embodiments, a Wi-Fi network such as IEEE 802.11 is used to stream data to the system 100. The Wi-Fi signals of these embodiments are received via a communication channel 190 and a communication interface 150 suitable for Wi-Fi communication. The communication channel 190 in these embodiments is typically connected to an access point or router that provides access to external networks including the Internet to allow streaming applications and other OTT communications. Other embodiments use a set-top box to provide streaming data to the system 100, which delivers data through the HDMI connection of the input box 105. Still other embodiments use the RF connection of the input box 105 to provide streaming data to the system 100.

[0039] The system 100 may provide output signals to various output devices, including a display 165, a speaker 175, and other peripherals 185. In various examples of embodiments, the other peripherals 185 include one or more of a stand-alone DVR, a disk player, a stereo system, a lighting system, and other devices that provide functions based on the output of the system 100. In various embodiments, control signals are communicated between the system 100 and the display 165, the speaker 175, or other peripherals 185 using signaling (such as AV.Link, CEC, or other communication protocols that enable device-to-device control with or without user intervention). The output devices may be communicatively coupled to the system 100 via dedicated connections through the respective interfaces 160, 170, and 180. Alternatively, the output devices may be connected to the system 100 via the communication interface 150 using the communication channel 190. The display 165 and the speaker 175 may be integrated into a single unit with other components of the system 100 in an electronic device (e.g., a television). In various embodiments, the display interface 160 includes a display driver, such as a timing controller (T Con) chip.

[0040] Alternatively, display 165 and speaker 175 may be separated from one or more of the other components, for example, when the RF portion of input 105 is part of a separate set-top box. In various embodiments in which display 165 and speaker 175 are external components, output signals may be provided via dedicated output connections, including, for example, an HDMI port, a USB port, or a COMP output.

[0041] Figure 2 An exemplary video encoder 200 , such as a High Efficiency Video Coding (HEVC) encoder, that may be used to encode one or more properties of an animated mesh is shown according to an embodiment. Figure 2 It is also possible to show an encoder in which the HEVC standard is improved, or an encoder that adopts a technique similar to HEVC, such as the Versatile Video Coding (VVC) encoder developed by the Joint Video Exploration Team (JVET).

[0042] In this application, the terms "reconstruction" and "decoding" can be used interchangeably, the terms "encoded" or "encoding" can be used interchangeably, the terms "pixel" or "sample" can be used interchangeably, and the terms "image", "picture" and "frame" can be used interchangeably. Usually, but not necessarily, the term "reconstruction" is used on the encoder side, and "decoding" is used on the decoder side.

[0043] Before being encoded, the video sequence may undergo pre-encoding processing (201), such as applying a color transform to an input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of input picture components to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be associated with the pre-processing and attached to the bitstream.

[0044] In encoder 200, a picture is encoded by encoder elements as described below. The picture to be encoded is partitioned (202) and processed in units such as CUs. For example, each unit is encoded using intra mode or inter mode. When a unit is encoded in intra mode, the unit performs intra prediction (260). Motion estimation (275) and compensation (270) are performed in inter mode. The encoder decides (205) which of intra mode or inter mode to use to encode the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. The encoder can also mix (263) intra prediction results and inter prediction results, or mix results from different intra / inter prediction methods.

[0045] The prediction residual is calculated, for example, by subtracting (210) the predicted block from the original image block. The motion correction module (272) uses an already available reference picture in order to correct the motion field of the block without referring to the original block. The motion field of a region can be considered as the set of motion vectors for all pixels in the region. When the motion vector is based on sub-blocks, the motion field can also be expressed as the set of motion vectors of all sub-blocks in the region (all pixels within a sub-block have the same motion vector, and the motion vectors may be different from sub-block to sub-block). When a single motion vector is used for the region, the motion field of the region can also be represented by a single motion vector (the same motion vector for all pixels in the region).

[0046] The prediction residual is then transformed (225) and quantized (230). The quantized transform coefficients, along with motion vectors and other syntax elements, are entropy coded (245) to output a bitstream. The encoder may skip the transform and apply quantization directly to the untransformed residual signal. The encoder may bypass both the transform and quantization, i.e., encode the residual directly without applying the transform or quantization process.

[0047] The encoder decodes the coded block to provide a reference for further prediction. The quantized transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. The image block is reconstructed by combining the decoded prediction residual and the predicted block (255). An in-loop filter (265) is applied to the reconstructed picture to perform, for example, deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The filtered image is stored at a reference picture buffer (280).

[0048] Figure 3 A block diagram of an exemplary video decoder 300 that can be used to decode one or more attributes of an animated mesh according to an embodiment is shown. In the decoder 300, the bitstream is decoded by the decoder elements described below. The video decoder 300 generally performs the same Figure 2 The decoding process is the reverse of the encoding process described in . The encoder 200 also typically performs video decoding as part of encoding the video data.

[0049] Specifically, the input of the decoder includes a video bitstream, which may be generated by the video encoder 200. First, the bitstream is entropy decoded (330) to obtain transform coefficients, motion vectors, and other decoded information. The picture partition information indicates how the picture is partitioned. Therefore, the decoder can divide (335) the picture according to the decoded picture partition information. The transform coefficients are dequantized (340) and inverse transformed (350) to decode the prediction residual. The decoded prediction residual and the predicted block are combined (355) to reconstruct the image block.

[0050] The predicted block can be obtained (370) from intra prediction (360) or motion compensated prediction (i.e., inter prediction) (375). The decoder can blend (373) intra prediction results and inter prediction results, or blend results from multiple intra / inter prediction methods. Prior to motion compensation, the motion field can be corrected (372) by using an already available reference picture. An in-loop filter (365) is applied to the reconstructed image. The filtered image is stored at a reference picture buffer (380).

[0051] The decoded picture may also undergo post-decoding processing (385), such as an inverse color transform (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or performing an inverse remapping that is the inverse of the remapping process performed in the pre-encoding process (201). The post-decoding processing may use metadata derived in the pre-encoding process and signaled in the bitstream.

[0052] The present application provides various embodiments for encoding / decoding at least one 3D object or animated 3D object (i.e., a 3D object that evolves over time). According to one embodiment, the 3D object is represented as a point cloud or a 3D mesh. The following embodiments are described in the case of a 3D object represented as a 3D mesh. In some variants, the 3D mesh can be derived from the point cloud of the 3D object.

[0053] A mesh consists of at least the following features: a list of vertex positions; a topology defining the connections between the vertices, e.g. a list of faces; and optionally photometric data associated with the vertices, such as a texture map or color values. The faces defined by the connected vertices can be triangles or any other possible form. For the simplest encoding, the photometric data is usually projected onto a texture map, so that the texture map can be encoded into a video image.

[0054] When encoding a mesh with a texture map, it is also necessary to encode the texture UV coordinates, which are used to map the image texture onto the mesh surface when rendering a textured 3D object. Storing these UV coordinates consumes a lot of storage space and can be more complex to encode than vertex positions due to their greater variability. Therefore, providing a solution that allows encoding a mesh without its UV coordinates but still allows decoding of a mesh with UV coordinates is a strong added value for a mesh codec.

[0055] According to the principles presented herein, a method for encoding / decoding a 3D object is provided, wherein when a textured mesh is compressed, encoding of the texture UV coordinates is avoided. According to one embodiment, a new texture UV atlas is generated based on a compressed-decompressed version of the mesh and by reprojecting the original texture map to the new texture map using a new UV parameterization. Then, the mesh can be encoded without UV coordinates, but with only the reprojected texture map plus some metadata in the final bitstream. In some embodiments, the metadata can signal the activation of uv generation, the uv generation mode, and some parameters related to the uv generation mode. During decoding, both the model and the texture map are decoded, and then the UV coordinates corresponding to the decoded texture atlas are determined on the decoder side. Due to the method, the texture coordinates do not need to be encoded in the bitstream. The cost of encoding the texture UV coordinates is reduced from its original payload (several megabytes) to very few bytes (e.g., 2 to 16 bytes) of metadata (if any).

[0056] According to one embodiment, Figure 4A method 400 for encoding a 3D object is described. The 3D object is represented using a mesh including faces defined by vertices, the vertices being connected according to the topology of the mesh. Each vertex of the mesh includes a 3D position (x, y, z) of the vertex and a first texture coordinate (u, v) indicating the position of texture information of the vertex in a first texture map.

[0057] At 401, the topology and vertex positions of the mesh are encoded in a bitstream. At 402, a second texture coordinate of the vertex is obtained based on the decoded topology and the decoded mesh position. The second texture coordinate indicates the location of texture information of the vertex associated therewith in a second texture map. At 403, a second texture map is obtained from the first texture map based on the first texture coordinate and the second texture coordinate. At 404, the second texture map is encoded in the bitstream.

[0058] Figure 5 An example of a method 500 for decoding a 3D object according to an embodiment is illustrated. A 3D object is decoded from a received bitstream, the received bitstream comprising at least: encoded data representing the topology of a mesh representing the 3D object; and encoded data representing vertex positions.

[0059] At 501, a topology and vertex positions are decoded from a bitstream. At 502, texture coordinates associated with each vertex are determined based on the decoded topology and the decoded vertex positions. The texture coordinates indicate the location of texture information in a texture map for the vertex associated therewith. In one variant, method 500 further includes: decoding a texture map from the bitstream, and rendering a 3D object using the texture map and the texture coordinates for applying the texture map to a face of a mesh.

[0060] Figure 6 An example of a method 600 for encoding a 3D object according to one embodiment is illustrated. The 3D object is represented using a mesh comprising faces defined by vertices, the vertices being connected according to the topology of the mesh. Each vertex of the mesh comprises a 3D position (x, y, z) of the vertex and a first texture coordinate (original U, V), the first texture coordinate indicating the location of texture information in a first texture map (original texture map patch atlas) for the vertex. It is assumed here that the original mesh UV atlas generator is unknown. In other words, in order to be as general as possible, it is assumed that the method for obtaining the first texture coordinate associated with the vertex of the mesh is unknown.

[0061] At 601, the positions of the vertices and the topology of the mesh are encoded. The topology is losslessly encoded, while the vertex positions can be losslessly or lossily encoded. Any method for encoding the topology and vertex positions can be used. For example, the EdgeBreaker algorithm defined in J. Rossignac, "3D compression made simple: Edgebreaker with ZipandWrap on a corner-table," in Proceedings International Conference on Shape Modeling and Applications, Genova, Italy, 2001 can be used. The original UVs are not encoded. The encoded topology and positions are added to the bitstream. At 602, the encoded topology and encoded positions are decoded. At 603, a new UV atlas (i.e., a set of UV coordinates) is determined from the decoded mesh (topology and positions). Any UV atlas generator can be used to determine the new UV atlas.

[0062] For example, some methods that can be used to generate UV atlases are defined in: [1]:Microsoft UVatlas.https: / / github.com / microsoft / UVAtlas, [2]:2018-OptCuts-jointoptimization of surface cuts and parameterization.Minchen Li and DannyM.Kaufman and Vladimir G.Kim and Justin Solomon 0001and Alla Sheffer.ACMTrans.Graph.,247:1-247:13,or [3]:2002-Least squares conformal maps forautomatic texture atlas generation.Bruno Lévy and Sylvain Petitjean andNicolas Ray and Maillot. ACM Trans. Graph., 362-371. These are just examples, other methods for UV atlas generation may also be used.

[0063] In some variants, the choice of method for generating a new UV atlas depends on the tradeoff between computational complexity and atlas quality. A new texture UV is thus obtained for the decoded topology and position. At 604, the original texture map is reprojected from the original UV atlas (first texture coordinates) to the new UV atlas (second texture coordinates) to obtain a new texture map. At 605, the new texture map is then encoded in the bitstream. In some variants, when several methods for generating a UV atlas are possible at the decoder, some metadata is also encoded to signal which UV atlas generation method is used and any required parameters for the method, so that the decoder can generate the UV atlas in the same way as at the encoder side.

[0064] Figure 7 An example of a method 700 for decoding a 3D object according to another embodiment is illustrated. At 701, the position and topology of a mesh, and a texture map are decoded from a bitstream. According to the principles presented herein, the bitstream does not contain any UV texture coordinates associated with the vertices of the mesh. At 702, a decoded mesh including the decoded position and topology is used to determine the UV texture coordinates associated with each decoded vertex of the mesh. The UV texture coordinates are generated according to the same method used at the encoder. In some variants, metadata indicating the UV atlas generation method, as well as any useful parameters, are decoded from the bitstream. A fully decoded mesh is thereby obtained, as well as a decoded texture map. At 703, the 3D object is rendered.

[0065] The encoding and decoding algorithms used to compress and decompress the mesh without texture coordinates can be of any kind. However, when the topology changes, for example when the topology is lossy encoded, a mapping between the original mesh triangles and the encoded / decoded triangles must be provided, so that the reprojection of the texture map can be determined at the encoding stage. This mapping can be a table that associates a target triangle index with a source triangle index for each triangle of the encoded / decoded mesh.

[0066] Texture map reprojection relies on the respective UV coordinates of the source and target meshes to produce a new texture map that matches the newly generated UV atlas (the one in the target mesh). Figure 8 An example of an original texture map on the left and a texture map reprojected using the newly generated UV atlas on the right is illustrated.

[0067] Fig. 9 An example of a method 900 for reprojecting a texture map according to one embodiment is illustrated. For easier understanding, some variables are described below.

[0068] symbol :

[0069] In the following, the "*" character indicates standard multiplication.

[0070] In the following, the "." character represents a dereference to the value of a field of a value (eg, vec.x accesses the x field of a vector vec).

[0071] Input Parameters :

[0072] srcModel: source mesh with original UVs (first texture coordinates)

[0073] dstModel: The destination mesh with its new UVs (second texture coordinates)

[0074] inputMap: two-dimensional color array, input texture map

[0075] outputMap: 2D color array, reprojected texture map

[0076] useFaceMapping: Boolean set to true when the source and target meshes do not have exactly the same index.

[0077] modelFaceMapping: A table that associates target triangle indices with source triangle indices

[0078] variable :

[0079] srcV1, srcV2, srcV3: source triangle vertices; each vertex contains a real-valued UV 2D vector and a position 3D vector,

[0080] dstV1, dstV2, dstV3: source triangle vertices; each vertex contains a real-valued UV 2D vector and a position 3D vector,

[0081] scrTriIdx: Source triangle index: integer

[0082] uvMin: A vector with two components, each of which is a real value

[0083] uvMax: A vector with two components, each of which is a real value

[0084] intUvMin: A vector with two components, each of which is an integer value

[0085] intUvMax: A vector with two components, each of which is an integer value

[0086] dstUV: A vector with two components, each of which is a real value

[0087] srcUV: A vector with two components, each of which is a real value

[0088] bary: a vector with three components, each of which is a real value

[0089] srcCol: Color (any representation is possible, but must fit into one of the colors stored in inputMap and outputMap).

[0090] Method 900 loops through all triangles of a decoded mesh and reprojects each triangle from the original texture map to a new texture map (902). To this end, at 901, a variable triIdx indicating the index of the current triangle of the decoded mesh is initialized to 0. At 902, the current triangle is reprojected. The method for reprojecting a triangle is described below. At 903, a check is made to see if all triangles of the decoded mesh have been reprojected. If not, at 904, the process proceeds to the next triangle. Otherwise, the process ends.

[0091] Fig.10 An example of a method 1000 for reprojecting a triangle according to one embodiment is illustrated. At 1001, source (i.e., original) and target (i.e., decoded) triangles are extracted, i.e., their vertices are retrieved from memory. At 1002, a bounding box of the decoded triangle in a new texture map is determined.

[0092] The following provides an example of source code for determining the bounding box of a decoded triangle:

[0093]

[0094] At 1003, the pixels of the decoded triangle are projected. That is, the pixels within the bounding box of the decoded triangle are parsed, and each pixel belonging to the decoded triangle is assigned a color value obtained based on the source texture map.

[0095] Fig.11An example of a method 1100 for extracting decoded triangles and corresponding source triangles according to one embodiment is illustrated. At 1101, the vertices of the decoded triangle are obtained. At 1102, it is checked whether the indexes of the source mesh and the decoded mesh are exactly the same. When this is the case, the index of the current triangle of the decoded mesh is the same as the corresponding triangle in the source mesh. Therefore, at 1103, the vertices of the source triangle are retrieved. Otherwise, at 1104, the index of the source triangle is obtained from the modelFaceMapping table using the index of the current triangle. The table modelFaceMapping associates the decoded triangle index with the index of the triangle in the source mesh. The table can be determined, for example, when the topology of the source mesh is encoded.

[0096] Since the modelFaceMapping table is only needed when a new texture map is obtained and then encoded in the bitstream, the modelFaceMapping table does not need to be encoded.

[0097] Then at 1104, the vertices of the source triangle indexed by the obtained index are retrieved.

[0098] Fig.12 An example of a method 1200 for reprojecting pixels according to one embodiment is illustrated. The method 1200 can be used, for example, at 1003 of the method 1000. At 1201, the normalized UV coordinates of the currently resolved pixel of the decoded triangle bounding box determined at 1002 are obtained. To this end, dstUV is initialized with the uv coordinates corresponding to the center of the pixel with coordinates (i, j) as dstUV = {(0.5 + i) / inputMap.width, (0.5 + j) / inputMap.height};

[0099] At 1202, check if the current pixel is inside the decoded triangle. Use the function getBarycentric, which returns true when dstUV is inside the triangle formed by (dstV1.uv, dstV2.uv, dstV3.uv), and false otherwise. The Boolean output is set to the variable inside = getBarycentric (dstUV, dstV1.uv, dstV2.uv, dstV3.uv, bary). The function calculates the barycentric coordinates (u, v, w) ~ res (x, y, z) of the point p relative to the triangle (a, b, c). An example of the source code of the function is given below:

[0100]

[0101] When the current pixel is within the decoded triangle, original UV texture coordinates are determined for the current pixel at 1203. For example, interpolation is used using the original UV texture coordinates associated with the source triangle corresponding to the decoded triangle.

[0102] Here is an example of the source code of a function that calculates the position of a point from a triangle (v0,v1,v2) and barycentric coordinates (u,v):

[0103]

[0104] At 1204, a check is made to see which method is used to determine the color of the current pixel. If bilinear interpolation is used, at 1205, the color is obtained from the source texture map using bilinear interpolation and the UV texture coordinates determined at 1203.

[0105] Otherwise, at 1207, a color is obtained from the source texture map using the nearest pixel and the UV texture coordinates determined at 1203. At 1206, the determined color is assigned to the current pixel of the new texture map.

[0106] In the above methods, several methods have been used to determine the color of a pixel in a source texture map. Other methods are possible and / or only one method may be used.

[0107] In the following, an example of a syntax that may be used in any of the embodiments presented above for encoding / decoding a 3D object is described.

[0108] For example, UV_generation information indicating activation and / or a method for reprojection may be signaled as follows:

[0109]

[0110] When the UV_generation algorithm is [1], the following parameters related to the reprojection method can be signaled. Other parameters not described here can also be signaled.

[0111] Quality_level FAST or QUALITY 1st Nb_patches Set the maximum number of graphs to generate 8 or more bits

[0112] When the UV_generation algorithm is [2], the following parameters related to this method can be signaled, as well as other parameters not described in this paper;

[0113] Bijectivity ON / OFF 1st

[0114] Embodiments of methods for encoding / decoding at least one 3D object represented as an animated textured mesh have been described above. These embodiments allow for more economical encoding of texture coordinates at a smaller metadata cost (i.e., a few bytes of metadata versus potential megabytes of UV coordinates). The above embodiments can be applied to both static and dynamic mesh lossy encoding.

[0115] It can be noted that the reprojection introduces minor distortions, which prevents the use of solutions for lossless encoding.

[0116] According to an example of the present invention, Fig.13 As illustrated, in the context of a transmission between two remote devices A and B via a communication network NET, device A comprises a processor associated with memories RAM and ROM, the memories RAM and ROM being configured to communicate with each other according to the embodiment of the present invention. Figures 1 to 12 The embodiment described implements a method for encoding a 3D object, and the device B comprises a processor associated with memories RAM and ROM, the memories RAM and ROM being configured to perform the encoding according to Figures 1 to 12 The described embodiments implement a method for decoding a 3D object.

[0117] According to an example, the network is a broadcast network adapted to broadcast / transmit signals from device A to decoding devices including device B.

[0118] The signal intended to be transmitted by device A carries at least one bitstream generated by a method for encoding a 3D object according to any of the above-described embodiments. According to one embodiment, the bitstream includes: encoded video data representing the topology of a mesh, at least one face of the mesh, the mesh representing the 3D object, the at least one face including vertex positions; and encoded data representing an indication that instructs a decoder to obtain texture coordinates of vertices of the at least one face based on the decoded topology and the decoded vertex positions. In some embodiments, the bitstream also includes metadata related to the method for generating texture coordinates, and / or encoded data representing texture data associated with the mesh (such as a texture map).

[0119] Fig.14 An example of the syntax of such a signal transmitted over a packet-based transport protocol is shown.Each transmitted packet P comprises a header H and a payload PAYLOAD.

[0120] Fig.15An embodiment of a method (1500) for transmitting a signal according to any of the above embodiments is illustrated. The method comprises: accessing data comprising such a signal (1501) and transmitting the accessed data (1502) via a communication channel, which communication channel may be implemented, for example, within a wired and / or wireless medium. According to one embodiment, the method may be performed by Figure 1 The illustrated device 100 may be from Fig.13 Device A is used to execute.

[0121] Various methods are described herein, and each method includes one or more steps or actions for implementing the method. Unless the correct operation method requires a specific order of steps or actions, the order and / or purposes of specific steps and / or actions can be modified or combined. In addition, terms such as "first", "second" etc. can be used for various embodiments to modify elements, parts, steps, operations, etc., such as "first decoding" and "second decoding". Unless specifically required, the use of such terms does not imply the ordering of the modification operation. Therefore, in this example, the first decoding does not need to be performed before the second decoding, and can, for example, occur before, during, or in overlapping time periods of the second decoding.

[0122] Furthermore, aspects of the invention are not limited to VVC or HEVC and may be applied, for example, to other standards and recommendations and extensions of any such standards and recommendations. Unless otherwise specified or technically excluded, the aspects described in this application may be used alone or in combination.

[0123] Various numerical values ​​are used in this application. The specific values ​​are for illustrative purposes, and the aspects are not limited to these specific values.

[0124] Various specific implementations involve decoding. As used in this application, "decoding" may encompass, for example, all or part of a process performed on a received coded sequence to produce a final output suitable for display. In various embodiments, such a process includes one or more processes typically performed by a decoder, such as entropy decoding, inverse quantization, inverse transform, and differential decoding. Whether the phrase "decoding process" is intended to refer specifically to a subset of operations or to refer broadly to a broader decoding process will be clear based on the context of the specific description and is considered to be well understood by those skilled in the art.

[0125] Various specific implementations involve encoding.In a similar manner to the discussion above about "decoding", "encoding" as used in this application may encompass all or part of a process performed on an input video sequence to produce an encoded bitstream, for example.

[0126] The specific implementations and aspects described herein may be implemented in, for example, a method or process, a device, a software program, a data stream, or a signal. Even if only discussed in the context of a single form of specific implementation (e.g., discussed only as a method), the specific implementation of the features discussed may also be implemented in other forms (e.g., a device or program). The device may be implemented in, for example, appropriate hardware, software, and firmware. The method may be implemented in, for example, a device (e.g., a processor) that generally refers to a processing device, which may include, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes communication devices, such as computers, mobile phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate information communication between end users.

[0127] Reference to "one embodiment" or "an embodiment" or "one implementation" or "an implementation" and other variations thereof mean that a particular feature, structure, characteristic, etc. described in connection with the embodiment is included in at least one embodiment. Thus, the appearance of the phrase "in one embodiment" or "in an embodiment" or "in one implementation" or "in an implementation" and any other variations thereof in various places throughout this application are not necessarily all referring to the same embodiment.

[0128] Additionally, the present application may refer to "determining" various pieces of information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from a memory.

[0129] Furthermore, the present application may refer to "accessing" various pieces of information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.

[0130] Additionally, the present application may involve "receiving" various pieces of information. Like "accessing," receiving is intended to be a broad term. Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, during operation, "receiving" generally involves, in one way or another, storing information, processing information, transmitting information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.

[0131] It should be understood that, for example, in the case of "A / B," "A and / or B," and "at least one of A and B," the use of any of the following " / ," "and / or," and "at least one of" is intended to encompass selecting only the first listed option (A), or only the second listed option (B), or both options (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C," such phrases are intended to encompass selecting only the first listed option (A), or only the second listed option (B), or only the third listed option (C), or only the first listed option and the second listed option (A and B), or only the first listed option and the third listed option (A and C), or only the second listed option and the third listed option (B and C), or all three options (A and B and C). This can be extended to as many items as listed, as will be apparent to one of ordinary skill in this and related arts.

[0132] Moreover, as used herein, the term "signaling" refers to (among other things) indicating something to a corresponding decoder. For example, in some embodiments, the encoder signals a quantization matrix for dequantization. Thus, in one embodiment, the same parameters are used on both the encoder side and the decoder side. Thus, for example, the encoder may send (explicit signaling) specific parameters to the decoder so that the decoder can use the same specific parameters. On the contrary, when the decoder already has specific parameters and other parameters, signaling may be used without sending (implicit signaling) to simply allow the decoder to know and select specific parameters. Bit savings are achieved in various embodiments by avoiding sending any actual functions. It should be understood that signaling can be implemented in various ways. For example, in various embodiments, one or more syntax elements, flags, etc. are used to signal information to the corresponding decoder. Although the verb form of the term "signaling" is mentioned above, the term "signal" may also be used as a noun in this article.

[0133] It will be apparent to one of ordinary skill in the art that a specific implementation may generate a variety of signals formatted to carry, for example, storable or transmittable information. The information may include, for example, instructions for executing a method or data generated by one of the specific implementations. For example, a signal may be formatted to carry a bit stream of the embodiment. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier using the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is well known, a signal may be transmitted over a variety of different wired or wireless links. The signal may be stored on a processor readable medium.

Claims

1. A method, comprising: for at least one face of a mesh representing a 3D object, obtaining a second texture coordinate in a second texture map from a decoded vertex position of the at least one face and a decoded topology of the mesh, the at least one face comprising vertex positions and first texture coordinates in the first texture map associated with the vertex positions, obtaining the second texture map from the first texture map based on the first texture coordinate and the second texture coordinate, The second texture map is encoded.

2. An apparatus comprising one or more processors, wherein the one or more processors are configured to: for at least one face of a mesh representing a 3D object, obtaining a second texture coordinate in a second texture map from a decoded vertex position of the at least one face and a decoded topology of the mesh, the at least one face comprising vertex positions and first texture coordinates in the first texture map associated with the vertex positions, obtaining the second texture map from the first texture map based on the first texture coordinate and the second texture coordinate, The second texture map is encoded.

3. The method according to claim 1, the method further comprising, or the device according to claim 2, wherein the one or more processors are further configured to: encode the topology of the mesh and the at least one face of the mesh, thereby providing an encoded mesh.

4. The method according to any one of claims 1 or 3, or the apparatus according to any one of claims 2 to 3, wherein obtaining the second texture coordinate comprises: The second texture coordinates are generated using the decoded vertex position.

5. The method according to any one of claims 1 or 3 to 4, or the apparatus according to any one of claims 2 to 4, wherein obtaining a second texture map from the first texture map based on the first texture coordinates and the second texture coordinates comprises: The first texture map is reprojected onto the second texture map using the first texture coordinates and the second texture coordinates.

6. The method according to any one of claims 1 or 3 to 5, further comprising, or the apparatus according to any one of claims 2 to 5, wherein the one or more processors are further configured to: encode metadata related to obtaining the second texture map.

7. The method according to any one of claims 3 to 6, or the apparatus according to any one of claims 3 to 6, wherein reprojecting the first texture map onto the second texture map using the first texture coordinates and the second texture coordinates comprises: Prior to encoding, for at least one decoded face of the encoded mesh, a corresponding face in the mesh is identified.

8. A method comprising: decoding a topology of a mesh representing a 3D object and at least one face of the mesh, the at least one face comprising vertex positions, Texture coordinates of vertices of the at least one face are obtained based on the decoded topology and the decoded vertex positions.

9. An apparatus, comprising one or more processors, wherein the one or more processors are configured to: decoding a topology of a mesh representing a 3D object and at least one face of the mesh, the at least one face comprising vertex positions, Texture coordinates of vertices of the at least one face are obtained based on the decoded topology and the decoded vertex positions.

10. The method of claim 8, the method further comprising, or the apparatus of claim 9, wherein the one or more processors are further configured to: decoding a texture map representing texture data associated with the mesh, The 3D object is rendered using at least the obtained texture coordinates and the decoded texture map.

11. A method according to claim 8 or 10, or an apparatus according to claim 9 or 10, wherein the topology and vertex positions are decoded from a bitstream.

12. The method or apparatus of claim 11, wherein texture coordinates are not encoded in the bitstream.

13. The method according to any one of claims 8 or 10 to 12, further comprising, or the device according to any one of claims 9 to 12, wherein the one or more processors are further configured to: decode an indication of texture coordinates of vertices of the at least one face obtained based on the decoded topology and the decoded vertex positions.

14. A method according to any one of claims 8 or 10 to 13, the method further comprising, or an apparatus according to any one of claims 9 to 13, wherein the one or more processors are further configured to: decode an indication of a method for generating the texture coordinates.

15. A computer-readable storage medium having stored thereon instructions for causing one or more processors to execute the method according to any one of claims 1 or 3 to 8 or 10 to 14.

16. A device, comprising: The device according to any one of claims 9 to 14; and At least one of: (i) an antenna configured to receive a signal, the signal comprising data representing at least a portion of a 3D object; (ii) a frequency band limiter configured to limit the received signal to a frequency band comprising the data representing the at least a portion of the 3D object; or (iii) a display configured to display the at least a portion of the 3D object.

17. The device of claim 16, the device comprising a TV, a mobile phone, a tablet or a set-top box.

18. A bit stream, the bit stream comprising: encoded video data representing the topology of a mesh, at least one face of the mesh, the at least one face comprising vertex positions, The encoded data represents an indication instructing a decoder to obtain texture coordinates of vertices of the at least one face based on the decoded topology and the decoded vertex positions.

19. The bitstream of claim 18, further comprising: Metadata related to the method used to generate the texture coordinates.

20. The bitstream according to claim 18 or 19, further comprising: Encoded data representing texture data associated with the mesh.

21. A computer-readable storage medium having stored thereon a bit stream according to any one of claims 18 to 20.

22. A device, comprising: an access unit configured to access data comprising a bit stream according to any one of claims 18 to 20, A transmitter is configured to transmit the accessed data.

Citation Information

Cited By

  • Texture encoding method and apparatus, texture decoding method and apparatus, and device, storage medium and program product

    WO2026123805A1