Bitstream syntax for mesh motion field coding
Through new grid compression standards and encoding and decoding technologies, the time-varying connectivity and attribute graph of dynamic grids are processed, the problem of low transmission efficiency of complex dynamic grid sequences is solved, and efficient data compression and transmission are achieved.
Patent Information
- Application Number
- CN202380015174.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-09-08
- Filing Date
- 2023-09-12
- Publication Date
- 2024-09-10
AI Technical Summary
Existing video encoding and decoding technology is difficult to efficiently compress and transmit complex dynamic grid sequences, especially time-varying connectivity information and attribute graphs, resulting in large amounts of data and low transmission efficiency.
Adopting new mesh compression standards, by preprocessing, segmenting and encoding dynamic meshes, using 2D UV atlases for sampling and encoding, combining arithmetic encoding and decoding and entropy encoding and decoding technology to process time-varying connectivity and attribute graphs information, supporting real-time communication and multi-view video applications.
It significantly reduces the data volume of dynamic grid sequences, improves transmission efficiency, supports efficient storage and transmission of complex dynamic grid content, and is suitable for real-time communication and multi-viewpoint video applications.
Smart Images

Figure BDA0004891170840000021 
Figure BDA0004891170840000281 
Figure BDA0004891170840000291
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to U.S. Provisional Application No. 63 / 437,969, filed on January 9, 2023, and U.S. Application No. 18 / 463,480, filed on September 8, 2023, both of which are hereby expressly incorporated by reference in their entirety into this application. Background Art 1. Technical Field
[0002] The present disclosure relates to a set of advanced video coding techniques, including a bitstream syntax for mesh motion field coding. 2. Description of Related Technology
[0003] Advances in 3D capture, modeling, and rendering have facilitated the ubiquity of 3D content across several platforms and devices. Today, it is possible to capture a baby's first steps in one continent, and enable grandparents to see (and potentially interact with) and enjoy a fully immersive experience with the child in another continent. However, to achieve such realism, models are becoming increasingly complex, and large amounts of data are associated with the creation and consumption of these models.
[0004] VMesh is an ongoing MPEG standard for compressing static and dynamic meshes. VMesh splits the input mesh into a simplified base mesh and a residual mesh. The base mesh can be encoded with high quality, while the residual mesh can be encoded using subdivision surface fitting and displacement coding to exploit local characteristics.
[0005] However, complex meshes usually contain information about multiple instances to associate related texture maps. This information is available at encoding time. On the other hand, meshes can be segmented into several parts based on their characteristics. For example, there are more polygons in the face area of a human mesh.
[0006] Therefore, a constant quantization step size applied to all instances, objects, parts of a mesh leads to large quantization errors, mesh regions may not be equally important, the number of faces in different parts of the mesh may vary significantly, and the base mesh may be simpler than the original mesh and the displacement, thus potentially requiring lower bit depth accuracy.
[0007] In addition, dynamic mesh sequences may require a large amount of data because the dynamic mesh sequence may include a large amount of information that varies over time. Therefore, efficient compression technology is needed to store and transmit such content. Mesh compression standards IC, MESHGRID, and FAMC were previously developed by MPEG to handle dynamic meshes with constant connectivity and time-varying geometry and vertex attributes. However, these standards do not take into account time-varying attribute graphs and connectivity information. DCC (Digital Content Creation) tools usually generate such dynamic meshes. Correspondingly, for volume acquisition technology, it is challenging to generate constant connectivity dynamic meshes, especially to generate constant connectivity dynamic meshes under real-time constraints. Existing standards do not support this type of content. MPEG plans to develop new mesh compression standards to directly handle dynamic meshes with time-varying connectivity information and optionally time-varying attribute graphs.
[0008] Therefore, for any of these reasons, a technical solution is needed to solve these problems arising in video coding technology. Summary of the invention
[0009] A method and apparatus are provided, the apparatus comprising: a memory configured to store computer program code; and one or more processors configured to access the computer program code and operate as instructed by the computer program code. The computer program is configured to cause the processor to implement: a receiving code configured to cause at least one processor to receive a bitstream, the bitstream comprising a mesh of encoded volume data representing at least one three-dimensional (3D) visual content, the mesh comprising a frame group, the frame group comprising a current frame and a reference frame; an obtaining code configured to cause at least one processor to obtain a high-level syntax indicating a motion field of the mesh from the received bitstream, wherein the motion field comprises a difference between a first vertex position in the current frame and a second vertex position in the reference frame; and a decoding code configured to cause at least one processor to decode the mesh based on at least the high-level syntax.
[0010] According to an exemplary embodiment, decoding the trellis is further based on a displacement coding which is based on an arithmetic coding.
[0011] According to an exemplary embodiment, the syntax element indicating the motion field of the grid includes:
[0012] According to an exemplary embodiment, a syntax element indicating a motion field of a grid includes a frame header and a frame payload, the frame header includes a frame index followed by a reference frame index, and the frame header indicates the reference frame index in an inter-frame mode.
[0013] According to an exemplary embodiment, in case the frame header indicates an inter-frame type, the frame index comprises 8 bits, the reference frame index comprises 8 bits, and the frame payload comprises a Z-bit integer, where Z comprises 32 bits.
[0014] According to an exemplary embodiment, the frame header includes a frame index and a reference frame index.
[0015] According to an exemplary embodiment, the frame payload includes a Z-bit integer followed by a coded bit stream, the Z-bit integer specifies a byte size of the coded bit stream, and the coded bit stream includes a coded representation of a displacement vector of a first frame, the displacement vector including a first displacement vector.
[0016] According to an exemplary embodiment, the frame payload includes a Z-bit integer and a coded bit stream, and Z is 32.
[0017] According to an exemplary embodiment, the processor is also configured to execute instructions to obtain a connection of a frame group, obtain a first displacement vector of a first frame of a grid motion field of 3D visual content from a first bit-shifted bitstream of a first frame in the frame group, after decoding the first frame, and obtain a second displacement vector of a second frame of the grid motion field of 3D visual content from a second frame in the frame group, and decode the second frame of the 3D visual content based on the second displacement vector, and the first frame in the frame group includes a first sequence header bitstream, a first base grid bitstream, a first bit-shifted bitstream and a first texture bitstream, and the second frame in the frame group includes a second sequence header bitstream, a second base grid bitstream, a second displacement bitstream and a second texture bitstream. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Other features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings, in which:
[0019] Figure 1 is a schematic illustration of a diagram according to an embodiment;
[0020] Figure 2 is a simplified block diagram according to an embodiment;
[0021] Figure 3 is a simplified illustration according to an embodiment;
[0022] Figure 4 is a simplified illustration according to an embodiment;
[0023] Figure 5 is a simplified illustration according to an embodiment;
[0024] Figure 6 is a simplified illustration according to an embodiment;
[0025] Figure 7 is a simplified illustration according to an embodiment;
[0026] Figure 8 is a simplified illustration according to an embodiment;
[0027] Fig. 9 is a simplified illustration according to an embodiment;
[0028] Fig.10 is a simplified flow chart according to an implementation method;
[0029] Fig.11 is a simplified flow chart according to an implementation method;
[0030] Fig.12 is a simplified flow chart according to an implementation method;
[0031] Fig.13 is a simplified illustration according to an embodiment;
[0032] Fig.14 is a simplified illustration according to an embodiment;
[0033] Fig.15 is a simplified illustration according to an embodiment;
[0034] Fig.16 is a simplified illustration according to an embodiment;
[0035] Fig.17 is a simplified illustration according to an embodiment;
[0036] Fig.18 is a simplified illustration according to an embodiment;
[0037] Fig.19 is a simplified illustration according to an embodiment;
[0038] Fig. 20 is a simplified illustration according to an embodiment;
[0039] Fig.21 is a simplified illustration according to an embodiment;
[0040] Fig. 22 is a simplified illustration according to an embodiment;
[0041] Fig.23 is a simplified flowchart according to an embodiment; and
[0042] Fig.24 is a simplified illustration according to an embodiment. DETAILED DESCRIPTION
[0043] The proposed features discussed below may be used alone or in any order. In addition, the embodiments may be implemented by a processing circuit system (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer readable medium.
[0044] Figure 1 A simplified block diagram of a communication system 100 according to an embodiment of the present disclosure is shown. The communication system 100 may include at least two terminals 102 and 103 interconnected via a network 105. For unidirectional transmission of data, a first terminal 103 may encode and decode video data at a local location for transmission to another terminal 102 via the network 105. The second terminal 102 may receive the encoded and decoded video data of the other terminal from the network 105, decode the encoded and decoded data, and display the recovered video data. Unidirectional data transmission may be common in media service applications and the like.
[0045] Figure 1 A second pair of terminals 101 and 104 are shown, which are arranged to support bidirectional transmission of coded video, such as may occur during a video conference. For bidirectional transmission of data, each terminal 101 and 104 can encode and decode video data captured at a local location for transmission to the other terminal via a network 105. Each terminal 101 and 104 can also receive coded video data sent by another terminal, can decode the coded data, and can display the recovered video data at a local display device.
[0046] exist Figure 1 In the embodiment of the present disclosure, terminals 101, 102, 103 and 104 can be shown as servers, personal computers and smart phones, but the principles of the present disclosure are not limited thereto. The embodiments of the present disclosure are applicable to laptop computers, tablet computers, media players and / or special video conferencing equipment. Network 105 represents any number of networks that transmit encoded and decoded video data between terminals 101, 102, 103 and 104, including, for example, wired and / or wireless communication networks. Communication network 105 can exchange data in circuit switching channels and / or packet switching channels. Representative networks include telecommunication networks, local area networks, wide area networks and / or the Internet. For the purpose of this discussion, unless otherwise specified below, the architecture and topology of network 105 may be insignificant for the operation of the present disclosure.
[0047] Figure 2The placement of a video encoder and a video decoder in a streaming environment is shown as an example of an application for the disclosed subject matter. The disclosed subject matter can be equally applicable to other video-enabled applications, including, for example, video conferencing, digital TV, storing compressed video on digital media including CD (Compact Disc, CD), DVD (Digital Versatile Disc, DVD), memory sticks, etc.
[0048] The streaming system may include a capture subsystem 203, which may include a video source 201, such as a digital camera, that creates, for example, an uncompressed video sample stream 213. The sample stream 213 may be emphasized as a high amount of data when compared to an encoded video bitstream, and may be processed by an encoder 202 coupled to the video source 201, which may be, for example, a camera as discussed above. The encoder 202 may include hardware, software, or a combination thereof to implement or implement various aspects of the disclosed subject matter as described in more detail below. The encoded video bitstream 204 may be emphasized as a lower amount of data when compared to the sample stream, which may be stored on a streaming server 205 for future use. One or more streaming clients 212 and 207 may access the streaming server 205 to retrieve a copy 208 and a copy 206 of the encoded video bitstream 204. Client 212 may include a video decoder 211 that decodes an incoming copy of the encoded video bitstream 208 and creates an outgoing video sample stream 210 that may be rendered on a display 209 or other rendering device (not shown). In some streaming systems, video bitstreams 204, 206, and 208 may be encoded according to certain video codec / compression standards. Examples of these standards are mentioned above and described further herein.
[0049] Figure 3 It may be a functional block diagram of the video decoder 300 according to an embodiment of the present invention.
[0050] The receiver 302 may receive one or more coded video sequences to be decoded by the decoder 300; in the same or another embodiment, one coded video sequence is received at a time, wherein the decoding of each coded video sequence is independent of the other coded video sequences. The coded video sequence may be received from a channel 301, which may be a hardware / software link to a storage device storing coded video data. The receiver 302 may receive the coded video data as well as other data, such as coded audio data and / or auxiliary data streams, which may be forwarded to their respective use entities (not depicted). The receiver 302 may separate the coded video sequence from the other data. To prevent network jitter, a buffer memory 303 may be coupled between the receiver 302 and an entropy decoder / parser 304 (hereinafter referred to as a "parser"). When the receiver 302 is receiving data from a storage / forwarding device with sufficient bandwidth and controllability or from an isochronous network, the buffer 303 may not be needed or may be small. For use over a best-effort packet network such as the Internet, a buffer 303 may be required, which may be relatively large and may advantageously be of an adaptive size.
[0051] The video decoder 300 may include a parser 304 to reconstruct symbols 313 from an entropy-encoded video sequence. The categories of these symbols include: information for managing the operation of the decoder 300; and information potentially used to control a rendering device such as a display 312, which is not part of the decoder but can be coupled to the decoder. The control information for the rendering device may be in the form of a supplementary enhancement information (SEI (Supplementary Enhancement Information, SEI) message) or a video usability information (VUI (Video Usability Information, VUI)) parameter set fragment (not depicted). The parser 304 may parse / entropy decode the received coded video sequence. The coding and decoding of the coded video sequence may be performed according to a video coding technique or standard, and may follow principles known to those skilled in the art, including: variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser 304 may extract a subgroup parameter set for at least one subgroup of the subgroups of pixels in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. Subgroups may include Group of Picture (GOP), picture, tile, slice, macroblock, Coding Unit (CU), block, Transform Unit (TU), Prediction Unit (PU), etc. The entropy decoder / parser may also extract information such as transform coefficients, quantizer parameter values, motion vectors, etc. from the coded and decoded video sequence.
[0052] The parser 304 may perform an entropy decoding / parsing operation on the video sequence received from the buffer 303 to create the symbol 313. The parser 304 may receive the encoded data and selectively decode a specific symbol 313. In addition, the parser 304 may determine whether to provide the specific symbol 313 to the motion compensation prediction unit 306, the scaler / inverse transform unit 305, the intra prediction unit 307, or the loop filter 311.
[0053] Depending on the type of the coded video picture or its portion (e.g., inter-picture and intra-picture, inter-block and intra-block) and other factors, the reconstruction of the symbol 313 may involve multiple different units. Which units are involved and how they are involved can be controlled by subgroup control information parsed from the coded video sequence by the parser 304. For the sake of brevity, such subgroup control information flow between the parser 304 and the following multiple units is not depicted.
[0054] In addition to the functional blocks already mentioned, decoder 300 can be conceptually subdivided into a plurality of functional units as described below. In a practical implementation operating under commercial constraints, many of these units interact closely with each other and can be at least partially integrated with each other. However, for the purpose of describing the disclosed subject matter, it is appropriate to conceptually subdivide into the following functional units.
[0055] The first unit is a sealer / inverse transform unit 305. The sealer / inverse transform unit 305 receives quantized transform coefficients as symbols 313 from the parser 304, as well as control information including which transform to use, block size, quantization factor, quantization scaling matrix, etc. The sealer / inverse transform unit 305 may output a block including sample values, which may be input into an aggregator 310.
[0056] In some cases, the output samples of the scaler / inverse transform unit 305 may belong to an intra-coded block; that is, a block that does not use predictive information from a previously reconstructed picture, but can use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be provided by the intra-picture prediction unit 307. In some cases, the intra-picture prediction unit 307 uses surrounding already reconstructed information extracted from the current (partially reconstructed) picture 309 to generate a block of the same size and shape as the block under reconstruction. In some cases, the aggregator 310 adds the prediction information already generated by the intra-prediction unit 307 to the output sample information as provided by the scaler / inverse transform unit 305 on a per-sample basis.
[0057] In other cases, the output samples of the scaler / inverse transform unit 305 may belong to a block that is inter-coded and possibly motion compensated. In this case, the motion compensated prediction unit 306 may access the reference picture memory 308 to extract samples for prediction. After the extracted samples are motion compensated according to the symbol 313 belonging to the block, these samples may be added to the output of the scaler / inverse transform unit (in this case referred to as residual samples or residual signal) by the aggregator 310 to generate output sample information. The address within the reference picture memory from which the motion compensation unit extracts the predicted samples may be controlled by a motion vector, which is available to the motion compensation unit in the form of a symbol 313, which may have, for example, an X component, a Y component, and a reference picture component. Motion compensation may also include interpolation of sample values extracted from the reference picture memory when using sub-sample accurate motion vectors, motion vector prediction mechanisms, etc.
[0058] The output samples of the aggregator 310 may be subjected to various loop filtering techniques in a loop filter unit 311. The video compression techniques may include in-loop filter techniques controlled by parameters included in the coded video bitstream and available to the loop filter unit 311 as symbols 313 from the parser 304, but the video compression techniques may also be responsive to meta-information obtained during decoding of a coded picture or a previous (in decoding order) portion of a coded video sequence, and to previously reconstructed and loop filtered sample values.
[0059] The output of the loop filter unit 311 may be a sample stream, which may be output to the rendering device 312 and stored in the reference picture memory 557 for future inter picture prediction.
[0060] Once fully reconstructed, certain coded pictures may be used as reference pictures for future prediction. Once a coded picture is fully reconstructed and the coded picture has been identified as a reference picture (e.g., by parser 304), the current reference picture 309 may become part of the reference picture buffer 308, and a new current picture memory may be reallocated before starting reconstruction of a subsequent coded picture.
[0061] The video decoder 300 may perform decoding operations according to a predetermined video compression technique that may be recorded in a standard such as ITU-T H.265 Recommendation. In the sense that the encoded and decoded video sequence follows the syntax of the video compression technology or standard, the encoded and decoded video sequence may conform to the syntax specified by the video compression technology or standard being used, such as the syntax specified in the video compression technology document or standard and explicitly in the profile document therein. For compliance, the complexity of the encoded and decoded video sequence is also required to be within the range defined by the hierarchy of the video compression technology or standard. In some cases, the hierarchy limits the maximum picture size, the maximum frame rate, the maximum reconstruction sample rate (measured in, for example, mega samples per second), the maximum reference picture size, etc. In some cases, the limits set by the hierarchy may be further limited by the Hypothetical Reference Decoder (HRD) specification and the metadata of the HRD buffer management signaled in the encoded and decoded video sequence.
[0062] In an embodiment, the receiver 302 may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the encoded and decoded video sequence (one or more). The additional data may be used by the video decoder 300 to properly decode the data and / or more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0063] Figure 4 It may be a functional block diagram of a video encoder 400 according to an embodiment of the present disclosure.
[0064] The encoder 400 may receive video samples from a video source 401 (which is not part of the encoder) that may capture video images to be encoded and decoded by the encoder 400 .
[0065] The video source 401 can provide a source video sequence in the form of a digital video sample stream to be encoded and decoded by the encoder 303, and the digital video sample stream can have any suitable bit depth (e.g., 8 bits, 10 bits, 12 bits ...), any color space (e.g., BT.601Y CrCB, RGB, ...) and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service system, the video source 401 can be a storage device that stores previously prepared videos. In a video conferencing system, the video source 401 can be a camera that captures local image information as a video sequence. The video data can be provided as a plurality of separate pictures that are given motion when viewed in sequence. The picture itself can be organized as a spatial pixel array, wherein, depending on the sampling structure, color space, etc. used, each pixel can include one or more samples. The relationship between pixels and samples can be easily understood by those skilled in the art. The following description focuses on samples.
[0066] According to an embodiment, the encoder 400 can encode and compress the pictures of the source video sequence into a coded video sequence 410 in real time or according to any other time constraints required by the application. It is a function of the controller 402 to implement the appropriate encoding and decoding speed. The controller controls other functional units as described below and is functionally coupled to these units. For the sake of clarity, the coupling is not depicted. The parameters set by the controller may include: rate control related parameters (picture skipping, quantizer, lambda value of rate distortion optimization technology, ...), picture size, picture group (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can easily identify other functions of the controller 402, because these functions may belong to the video encoder 400 optimized for a specific system design.
[0067] Some video encoders operate in a manner that is readily recognizable to those skilled in the art as a "codec loop". As an overly simplified description, the codec loop may include: an encoding portion of an encoder 400 (hereinafter "source encoder") (responsible for creating symbols based on the input picture to be encoded and the reference picture); and a (local) decoder 406 embedded in the encoder 400, which reconstructs the symbols to create sample data that the (remote) decoder will also create (because in the video compression techniques considered in the disclosed subject matter, any compression between the symbols and the coded and decoded video bitstream is lossless). This reconstructed sample stream is input to a reference picture memory 405. Since decoding the symbol stream results in a bit-accurate result independent of the decoder location (local or remote), the reference picture buffer contents are also bit-accurate between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction portion of the encoder are exactly the same sample values that the decoder will "see" when using prediction during decoding. The basic principle of this reference picture synchronization (and the resulting drift if synchronization cannot be maintained, for example due to channel errors) is well known to those skilled in the art.
[0068] The operation of the "local" decoder 406 can be combined with the above Figure 3 The operation of the "remote" decoder 300 described in detail is the same. However, reference is also briefly made to Figure 4 , when symbols are available and the entropy codec 408 and the parser 304 can losslessly encode / decode the symbols into a coded video sequence, the entropy decoding part of the decoder 300 including the channel 301, the receiver 302, the buffer 303 and the parser 304 may not be fully implemented in the local decoder 406.
[0069] At this point it can be observed that any decoder techniques other than parsing / entropy decoding in the decoder must also necessarily be present in the corresponding encoder in substantially the same functional form. The description of the encoder techniques can be simplified since they are inverse to the decoder techniques that have been fully described. A more detailed description is provided below only where necessary.
[0070] As part of its operation, the source codec 403 may perform motion compensated predictive coding that predictively codes an input frame with reference to one or more previously coded frames from a video sequence designated as "reference frames." In this manner, the codec engine 407 codes the differences between pixel blocks of an input frame and pixel blocks of a reference frame that may be selected as a prediction reference for the input frame.
[0071] The local video decoder 406 can decode the coded video data of the frame that can be designated as the reference frame based on the symbol created by the source codec 403. The operation of the codec engine 407 can advantageously be a lossy process. When the coded video data can be decoded at the video decoder ( Figure 4 When decoded at a remote location (not shown), the reconstructed video sequence may typically be a copy of the source video sequence with some errors. The local video decoder 406 replicates the decoding process that may be performed by the video decoder on the reference frame, and may cause the reconstructed reference frame to be stored in the reference picture memory 405, which may be, for example, a cache memory. In this manner, the encoder 400 may locally store a copy of the reconstructed reference frame that has common content (absent transmission errors) with the reconstructed reference frame to be obtained by the remote video decoder.
[0072] The predictor 404 may perform a prediction search for the codec engine 407. That is, for a new frame to be encoded, the predictor 404 may search the reference picture memory 405 for sample data (as a candidate reference pixel block) or certain metadata such as reference picture motion vectors, block shapes, etc. that may be used as a suitable prediction reference for the new picture. The predictor 404 may operate on a pixel block by pixel block basis to find a suitable prediction reference. In some cases, as determined by the search results obtained by the predictor 404, the input picture may have a prediction reference extracted from a plurality of reference pictures stored in the reference picture memory 405.
[0073] The controller 402 may manage codec operations of a source codec 403 , which may be, for example, a video codec, including, for example, setting parameters and subgroup parameters for encoding video data.
[0074] The outputs of all the above-mentioned functional units may be subjected to entropy coding and decoding in the entropy codec 408. The entropy codec converts the symbols generated by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc.
[0075] The transmitter 409 may buffer the coded video sequence(s) created by the entropy codec 408 in preparation for transmission via a communication channel 411, which may be a hardware / software link to a storage device where the coded video data will be stored. The transmitter 409 may merge the coded video data from the source codec 403 with other data to be transmitted, such as coded audio data and / or ancillary data streams (source not shown).
[0076] The controller 402 may manage the operation of the encoder 400. During encoding and decoding, the controller 402 may assign a certain encoded picture type to each encoded picture, which may affect the encoding and decoding techniques that may be applied to the corresponding picture. For example, a picture may generally be assigned to one of the following frame types:
[0077] An intra picture (I picture) may be a picture that can be encoded and decoded without using any other frame in the sequence as a prediction source. Some video codecs allow different types of intra pictures, including, for example, independent decoder refresh pictures. Those skilled in the art are aware of these variations of I pictures and their corresponding applications and features.
[0078] A predictive picture (P picture) may be a picture that can be coded and decoded using intra prediction or inter prediction to predict sample values of each block using at most one motion vector and a reference index.
[0079] Bidirectional predictive pictures (B pictures), which can be pictures that can be encoded and decoded using intra prediction or inter prediction that uses up to two motion vectors and reference indices to predict sample values for each block. Similarly, multiple predictive pictures can use more than two reference pictures and associated metadata for reconstruction of a single block.
[0080] The source picture may typically be spatially subdivided into a number of blocks of samples (e.g., blocks of 4×4, 8×8, 4×8, or 16×16 samples, respectively), and coded on a block-by-block basis. These blocks may be predictively coded with reference to other (coded) blocks, which are determined by the codec assignments applied to the corresponding pictures of the blocks. For example, blocks of an I picture may be non-predictively coded, or blocks of an I picture may be predictively coded (spatial prediction or intra-prediction) with reference to coded blocks of the same picture. Pixel blocks of a P picture may be non-predictively coded with reference to a previously coded reference picture via spatial prediction or via temporal prediction. Blocks of a B picture may be non-predictively coded with reference to one or two previously coded reference pictures via spatial prediction or via temporal prediction.
[0081] The encoder 400, which may be, for example, a video codec, may perform encoding and decoding operations according to a predetermined video encoding and decoding technique or standard, such as ITU-T H.265 Recommendation. In the operation of the encoder 400, the encoder 400 may perform various compression operations, including predictive encoding and decoding operations that utilize temporal redundancy and spatial redundancy in an input video sequence. Thus, the encoded and decoded video data may conform to the syntax specified by the video encoding and decoding technique or standard used.
[0082] In an embodiment, the transmitter 409 may transmit additional data along with the encoded video. The source codec 403 may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, auxiliary enhancement information (SEI) messages, visual usability information (VUI) parameter set fragments, etc.
[0083] Figure 5 A simplified block-type workflow diagram 500 of exemplary viewport-related processing in the Omnidirectional Media Application Format (OMAF) is shown, which can enable 360-degree Virtual Reality (VR360) streaming described in OMAF.
[0084] At acquisition block 501, video data A is acquired, for example, data of multiple images and audio at the same time instance in the case where the image data may represent a scene in VR360. At processing block 503, image B at the same time instance is processed by one or more of the following: i : stitching; mapping onto projection pictures about one or more virtual reality (VR) angles or other angles / viewpoints; and packaging by region. In addition, metadata indicating any of such processed information and other information may be created to assist in the delivery and rendering process.
[0085] Regarding data D, at image encoding block 505, the projection picture is encoded as data E i and are combined into a media file and combined into a viewport-independent streaming, and at the video encoding block 504, the video picture is encoded as data E v For example, as a single-layer bit stream, and with respect to data B a , the audio data may also be encoded as data E at the audio encoding block 502 a .
[0086] Data E a 、E v and E i , the entire encoded and decoded bit stream F iAnd / or F may be stored at a (Content Delivery Network (CDN) / cloud) server and may typically be fully transmitted to an OMAF player 520, for example at a delivery block 507 or otherwise, and may be fully decoded by a decoder so that at least one region of the decoded picture corresponding to the current viewport is presented to the user at a display block 516 with respect to various metadata, file playback, and orientation / viewport metadata from a head / eye tracking block 508, such as the angle at which the user may view through the device relative to the viewport specifications of the VR image device. A notable feature of VR360 is that only a viewport may be displayed at any particular moment, and such a feature may be used to improve the performance of an omnidirectional video system by selectively delivering based on the user's viewport (or any other criteria, such as recommended viewport timing metadata). For example, according to an exemplary embodiment, viewport-dependent delivery may be achieved through tile-based video codecs.
[0087] As with the above-described encoding blocks, the OMAF player 520 according to the exemplary embodiment may include data F' and / or F' i and one or more of the metadata in the file / segment decapsulation similarly reverses one or more aspects of such encoding, at the audio decoding block 510, the audio data E' i Decoding is performed at the video decoding block 513, and the video data E' v The image data E' is decoded and decoded at the image decoding block 514 i Decode to continue to process data B' at the audio rendering block 511 a The audio rendering of the data D' is performed at the image rendering block 515 to output the display data A' in the VR360 format at the display block 516 according to various data such as orientation / viewport metadata. i and outputs audio data A' at the speaker / headphone block 512 s Depending on the various tracks, languages, qualities, views that may be selected by or for a user of the OMAF player 520, various metadata may affect processing in the data decoding and rendering process, and it should be understood that the processing order described herein is presented for an exemplary embodiment and may be implemented in other orders according to other exemplary embodiments.
[0088] Figure 6A simplified block-type content flow processing diagram 600 for (encoded) point cloud data is shown, wherein view position and angle dependent processing (herein "V-PCC") is performed on the point cloud data with respect to capturing / generating / (de)encoding / rendering / displaying 6-DOF media. It should be understood that according to exemplary embodiments, the described features may be used alone or in combination in any order, and the elements shown, such as for encoding and decoding, etc., may be implemented by a processing circuit system (e.g., one or more processors or one or more integrated circuits), and the one or more processors may execute a program stored in a non-transitory computer-readable medium.
[0089] Diagram 600 illustrates an example implementation for streaming encoded point cloud data in accordance with V-PCC.
[0090] At the volume data acquisition block 601, a real-world visual scene or a computer-generated visual scene (or a combination thereof) may be captured by a set of camera devices or synthesized by a computer into volume data, and the volume data, which may be in any format, may be converted into a (quantized) point cloud data format by image processing at the conversion to point cloud block 602. For example, according to an exemplary embodiment, data from the volume data may be converted to points in a point cloud on a region-by-region basis by extracting one or more of the values from the volume data and any associated data described below into a desired point cloud format. According to an exemplary embodiment, the volume data may be a 3D data set of a 2D image, such as a slice from which a 2D projection of a 3D data set may be projected. According to an exemplary embodiment, the point cloud data format includes representations of data points in one or more various spaces, and can be used to represent volumetric data, and can provide improvements with respect to sampling and data compression, such as improvements with respect to temporal redundancy, and for example, point cloud data in an x, y, z format represents color values (e.g., RGB, etc.), brightness, intensity, etc. at each of multiple points of the cloud data, and can be used with progressive decoding, polygon meshing, direct rendering, and octree 3D representation of 2D quadtree data.
[0091] At the projection to image block 603, the acquired point cloud data may be projected onto a 2D image and encoded into an image / video picture using video-based point cloud coding (V-PCC). The projected point cloud data may include attributes, geometry, occupancy maps, and other metadata for point cloud data reconstruction using, for example, a painter's algorithm, a ray casting algorithm, a (3D) binary space segmentation algorithm, and the like.
[0092] On the other hand, at scene generator block 609, the scene generator may generate some metadata for rendering and displaying 6-degrees-of-freedom (DoF) media, for example, according to the director's intention or the user's preference. Such 6DoF media may include 360VR, such as 3D viewing of the scene based on rotation changes on 3D axes X, Y, and Z, in addition to additional dimensions that allow forward / backward, up / down, and left / right movement within or at least according to the point cloud codec data relative to the virtual experience. The scene description metadata defines one or more scenes consisting of encoded point cloud data and other media data including VR360, light field, audio, etc., and may be provided to one or more cloud servers and or such. Figure 6 and file / segment encapsulation / decapsulation processing as indicated by the associated description.
[0093] After the video encoding block 604 and the image encoding block 605 similar to the video and image encoding described above (and as will be appreciated, audio encoding may also be provided as described above), the file / segment encapsulation block 606 processes so that the encoded and decoded point cloud data is assembled into a media file for file playback or a series of initialization segments and media segments for streaming according to a specific media container file format such as one or more video container formats, and such as may be used with respect to DASH described below when such a description represents an exemplary embodiment. The file container may also include scene description metadata such as from the scene generator block 1109 in the file or segment.
[0094] According to an exemplary embodiment, a file is packaged according to scene description metadata to include at least one view position in 6DoF media and at least one or more angle views at the view position / these view positions at one or more times, so that such a file can be transmitted on demand according to the input of a user or creator. In addition, according to an exemplary embodiment, a segment of such a file may include one or more parts of such a file, such as a part of the 6DoF media indicating a single viewpoint and the angle at the viewpoint at one or more times; however, these are merely exemplary embodiments and may change according to various conditions such as network, user, creator capabilities and input.
[0095] According to an exemplary embodiment, the point cloud data is segmented into multiple 2D / 3D regions, which are independently coded and decoded at one or more of the video coding block 604 and the image coding block 605. Each independently coded and decoded segment of the point cloud data can then be encapsulated as a track in a file and / or segment at the file / segment encapsulation block 606. According to an exemplary embodiment, each point cloud track and / or metadata track can include some useful metadata for view position / angle related processing.
[0096] According to an exemplary embodiment, metadata useful for view position / angle related processing, for example, metadata included in files and / or segments encapsulated with respect to file / segment encapsulation blocks, includes one or more of the following: layout information of 2D / 3D segmentations with indices; (dynamic) mapping information associating 3D volume segmentations with one or more 2D segmentations (e.g., any of tiles / tile groups / slices / sub-pictures); 3D position of each 3D segmentation on a 6DoF coordinate system; a list of representative view positions / angles; a list of selected view positions / viewing angles corresponding to the 3D volume segmentations; an index of the 2D / 3D segmentation corresponding to the selected view position / angle; quality (grade) information of each 2D / 3D segmentation; and rendering information of each 2D / 3D segmentation, for example, depending on each view position / angle. Recalling such metadata, for example when requested by a user of the V-PCC player or as directed by a content creator to a user of the V-PCC player, can enable more efficient processing of specific portions of the 6DoF media desired with respect to such metadata, such that the V-PCC player can deliver images of focused portions of the 6DoF media of higher quality than other portions, rather than delivering unused portions of the media.
[0097] The file or one or more segments of the file can be delivered from the file / segment encapsulation block 606 directly to the V-PCC player 625 and any one of the cloud servers, such as the cloud server at the cloud server block 607, using a delivery mechanism (e.g., via Dynamic Adaptive Streaming over HTTP (DASH)), where the cloud server can extract one or more tracks and / or one or more specific 2D / 3D segmentations from the file and can merge multiple encoded point cloud data into one data.
[0098] Based on, for example, data about the position / viewing angle tracking block 608, if the current viewing position and angle are defined on a 6DoF coordinate system at the client system, the view position / angle metadata can be delivered from the file / segment encapsulation block 606 or otherwise processed based on a file or segment already at the cloud server at the cloud server block 607, so that the cloud server can extract the appropriate segmentation from the stored file and merge the segmentation (if necessary) based on, for example, metadata from a client system with a V-PCC player 625, and the extracted data can be delivered to the client as a file or segment.
[0099] With respect to such data, at the file / segment decapsulation block 615, the file decapsulator processes the file or received segment and extracts the encoded bitstream and parses the metadata, and at the video decoding block 610 and the image decoding block 611, the encoded point cloud data is then decoded into decoded point cloud data, and at the point cloud reconstruction block 612 the encoded point cloud data is reconstructed into point cloud data, and the reconstructed point cloud data can be displayed at the display block 614 and / or can first be synthesized according to one or more various scene descriptions at the scene synthesis block 613 with respect to the scene description data according to the scene generator block 609.
[0100] In view of the above, such an exemplary V-PCC stream represents advantages over the V-PCC standard, including one or more of the following: the described segmentation capability for multiple 2D / 3D regions; the ability to combine the compressed domains of the coded 2D / 3D segmentations into a single conforming coded video bitstream; and the ability to extract the coded 2D / 3D segmented bitstream of the coded picture into a conforming coded bitstream, wherein by including the VVC The container of the (Versatile Video Coding, VVC) bitstream is formed to support a mechanism to include metadata that carries one or more of the above-mentioned metadata to further improve such V-PCC system support.
[0101] In view of this and according to the exemplary embodiments further described below, the term "mesh" indicates a composition of one or more polygons that describe the surface of a volumetric object. Each polygon is defined by its vertices in 3D space and information about how the vertices are connected (referred to as connection information). Optionally, vertex attributes such as color, normals, etc. can be associated with mesh vertices. Attributes can also be associated with the surface of the mesh by utilizing mapping information that parameterizes the mesh using a 2D attribute map. Such a mapping can be described by a set of parameter coordinates referred to as UV coordinates or texture coordinates, which are associated with mesh vertices. The 2D attribute map is used to store high-resolution attribute information, such as textures, normals, displacements, etc. According to exemplary embodiments, such information can be used for various purposes, such as texture mapping and shading.
[0102] However, a dynamic mesh sequence may require a large amount of data because the dynamic mesh sequence may include a large amount of information that changes over time. For example, in contrast to a "static mesh" or a "static mesh sequence" (where the information of the mesh may not change from one frame to another), a "dynamic mesh" or a "dynamic mesh sequence" indicates which of the vertices represented by the mesh change from one frame to another. Therefore, efficient compression technology is needed to store and transmit such content. The mesh compression standards IC, MESHGRID, and FAMC were previously developed by MPEG to handle dynamic meshes with constant connectivity and time-varying geometry and vertex attributes. However, these standards do not take into account time-varying attribute graphs and connectivity information. DCC (digital content creation) tools typically generate such dynamic meshes. Correspondingly, for volume acquisition technology, it is challenging to generate a constant connectivity dynamic mesh, especially to generate a constant connectivity dynamic mesh under real-time constraints. Existing standards do not support this type of content. According to exemplary embodiments herein, aspects of a new mesh compression standard are described to directly handle dynamic meshes with time-varying connectivity information and optionally time-varying property graphs, targeting lossy and lossless compression for various applications such as real-time communications, storage, free viewpoint video, AR and VR. Features such as random access and scalable / progressive codecs are also considered.
[0103] Figure 7An example framework 700 of a dynamic mesh compression, for example, for a method based on 2D atlas sampling is shown. Each frame of an input mesh 701 can be pre-processed by a series of operations (e.g., tracking, remeshing, parameterization, voxelization). Note that these operations can be encoder-only, which means that these operations may not be part of the decoding process, and this possibility can be signaled in the metadata by the following flag: for example, for encoder-only, the flag indicates 0 and for others, the flag indicates 1. Thereafter, a mesh 702 with a 2D UV atlas can be obtained, where each vertex of the mesh has one or more associated UV coordinates on the 2D atlas. Then, by sampling the 2D atlas, the mesh can be converted into multiple graphs, including a geometry graph and an attribute graph. Then, these 2D graphs can be encoded and decoded by video / image codecs such as HEVC (High-Efficiency Video Coding, HEVC), VVC, AV1 (AOMedia Video1, AV1), AVS3 (Audio Video Coding Standard 3, AVS3), etc. At the decoder 703 side, the mesh can be reconstructed from the decoded 2D graph. Any post-processing and filtering can also be applied to the reconstructed mesh 704. Note that for the purpose of 3D mesh reconstruction, other metadata can be signaled to the decoder side. Note that the graph boundary information including uv coordinates and xyz coordinates of the boundary vertices can be predicted, quantized and entropy encoded in the bitstream. The quantization step size can be configured at the encoder side to trade off between quality and bit rate.
[0104] In some implementations, a 3D mesh may be segmented into segments (or patches / graphs), and according to an exemplary embodiment, one or more 3D mesh segments may be considered a "3D mesh". Each segment may consist of a set of connected vertices associated with its geometry, attributes, and connectivity information. Figure 8 As shown in the example 800 of volume data in FIG. 1 , a UV parameterization process 802 maps one or more mesh segments 801 to a 2D graph 803 in a 2D UV atlas 804. Each vertex (v n ) will be assigned 2D UV coordinates from the 2D UV atlas. Note that the vertices (v n) form connected components as their 3D counterparts. The geometry, attributes, and connectivity information of each vertex may also be inherited from its 3D counterpart. For example, information indicating that vertex v4 is directly connected to vertices v0, v5, v1, and v3 may be indicated, and similarly, information for each of the other vertices may also be indicated. In addition, according to an exemplary embodiment, such a 2D texture mesh will further indicate information such as color information on a patch-by-patch basis, for example, according to the patches of each triangle, for example, v2, v5, v3 as one "patch".
[0105] For example, about Figure 8 For features of Example 800, see Fig. 9 Example 900, where the 3D mesh segment 801 can also be mapped to multiple separate 2D graphs 901 and 902. In this case, a vertex in the 3D can correspond to multiple vertices in the 2D UV atlas. Fig. 9 As shown, the same 3D mesh segment is mapped to multiple 2D charts in the 2D UV atlas, rather than Figure 8 For example, 3D vertices v1 and v4 each have two 2D counterparts v1, v4, respectively. 1’ and v4, v 4’ . Thus, a general 2D UV atlas for a 3D mesh could include something like Fig.14 Multiple graphs are shown, where each graph may contain multiple (typically more than or equal to 3) vertices associated with its 3D geometry, properties, and connectivity information.
[0106] Fig. 9 An example 903 of triangulation derived in a graph with boundary vertices B0, B1, B2, B3, B4, B5, B6, B7 is shown. When such information is provided, any triangulation method can be applied to create connections between vertices (including boundary vertices and sampling vertices). For example, for each vertex, the two closest vertices are found. Or for all vertices, triangles are generated continuously until the minimum number of triangles is reached after a set number of attempts. As shown in example 903, there are various regular shaped, repeated triangles and various strange shaped triangles, which are usually closest to the boundary vertices and have their own unique dimensions, which may or may not be shared with any other triangles in the triangle. Connectivity information can also be reconstructed by explicit signaling. If the polygon cannot be recovered by implicit rules, according to an exemplary embodiment, the encoder can signal connectivity information in the bitstream.
[0107] Boundary vertices B0, B1, B2, B3, B4, B5, B6, B7 are defined in 2D UV space. Boundary edges can be determined by checking whether the edge only appears in one triangle. According to an exemplary embodiment, the following information of the boundary vertices is important and should be signaled in the bitstream: geometric information, e.g., 3D XYZ coordinates, even if currently in 2D UV parameter form; and 2D UV coordinates.
[0108] For Fig. 9 In the case where the boundary vertices in the 3D shown correspond to multiple vertices in the 2D UV atlas, the mapping from 3D XUZ to 2D UV can be one-to-many. Therefore, a UV to XYZ (or UV2XYZ) index can be signaled to indicate the mapping function. UV2XYZ can be a 1D array of indices that correspond each 2D UV vertex to a 3D XYZ vertex.
[0109] According to an exemplary embodiment, in order to efficiently represent a mesh signal, a subset of mesh vertices may first be encoded and decoded along with connectivity information between them. In the original mesh, the connections between these vertices may not exist because these vertices are subsampled from the original mesh. There are different ways to signal connectivity information between vertices, and thus this subset is referred to as a base mesh or base vertices.
[0110] According to an exemplary embodiment, multiple methods are implemented for dynamic mesh compression, and the multiple methods are part of the edge-based vertex prediction framework mentioned above, where the base mesh is first encoded and decoded, and then more additional vertices are predicted based on the connectivity information of the edges from the base mesh. Note that these methods can be applied individually or in any combination.
[0111] For example, consider Fig.10 Vertex grouping of the prediction mode example flow chart 1001. At S101, vertices inside the mesh can be obtained, and at S102, the vertices can be divided into different groups for prediction purposes, for example, see Fig. 9. In one example, the partitioning is performed using patch / graph partitioning at S104. In another example, the partitioning is performed under each patch / graph S105. The decision S103 whether to proceed to S104 or S105 can be signaled by a flag or the like. In the case of S105, several vertices of the same patch / graph form a prediction group and will share the same prediction mode, while several other vertices of the same patch / graph can use another prediction mode. In this article, a "prediction mode" can be regarded as a specific mode used by a decoder to predict video content including patches, and the prediction mode can be classified into intra-frame prediction mode and inter-frame prediction mode, and in each category, there can be different specific modes from which the decoder selects. According to an exemplary embodiment, each group, the "prediction group", can share the same specific mode (e.g., an angle mode at a specific angle) or the same classification prediction mode (e.g., all intra-frame prediction modes, but can be predicted at different angles) according to an exemplary embodiment. Such grouping at S106 can be allocated at different levels by determining the corresponding number of vertices involved in each group. For example, according to an exemplary embodiment, every 64, 32, or 16 vertices following a scan order within a patch / graph will be assigned the same prediction mode, while other vertices may be assigned differently. For each group, the prediction mode may be an intra-frame prediction mode or an inter-frame prediction mode. This may be signaled or assigned. According to example flowchart 1000, if it is determined at S107 that a mesh frame or mesh slice is of an intra-frame type, for example, by checking whether a flag of the mesh frame or the mesh slice indicates an intra-frame type, then the vertices of all groups within the mesh frame or mesh slice should use the intra-frame prediction mode; otherwise, at S108, an intra-frame prediction mode or an inter-frame prediction mode may be selected for all vertices in each group.
[0112] In addition, for a set of mesh vertices using intra-frame prediction mode, its vertices can be predicted only by using previously decoded vertices within the same sub-division of the current mesh. According to an exemplary embodiment, sometimes the sub-division can be the current mesh itself, and according to an exemplary embodiment, for a set of mesh vertices using inter-frame prediction mode, its vertices can be predicted only by using previously decoded vertices from another mesh frame. Each of the above information can be determined and signaled by a flag or the like. The prediction feature can occur at S110, and the prediction and signaled result can occur at S111.
[0113] According to an exemplary embodiment, for each vertex in a set of vertices in the example flowchart 1000 and the flowchart 1100 described below, after prediction, the residual will be a 3D displacement vector to indicate the offset from the current vertex to its predictor. The residual of a set of vertices needs to be further compressed. In one example, the transformation at S111 can be applied to the residual of the vertex group together with its signaling before entropy encoding and decoding. The following method can be implemented to handle the encoding and decoding of a set of displacement vectors. For example, in one method, a set of displacement vectors, some displacement vectors or their components are appropriately signaled to have only zero values. In another embodiment, a flag is signaled for each displacement vector whether the vector has any non-zero components, and if not, the encoding and decoding of all components of the displacement vector can be skipped. In addition, in another embodiment, a flag is signaled for each group of displacement vectors whether the group has any non-zero vectors, and if not, the encoding and decoding of all displacement vectors of the group can be skipped. In addition, in another embodiment, a flag is signaled for each component of a group of displacement vectors whether the component of the group has any non-zero vectors, and if not, the encoding and decoding of the component of all displacement vectors of the group can be skipped. In addition, in another embodiment, there may be a situation where a group of displacement vectors or components of the group of displacement vectors need to be transformed, and if not, the transformation can be skipped, and quantization / entropy encoding and decoding can be applied directly to the group or group components. In addition, in another embodiment, a flag may be signaled for each group of displacement vectors whether the group needs to undergo a transformation, and if not, the transformation encoding and decoding of all displacement vectors of the group can be skipped. In addition, in another embodiment, a flag may be signaled for each component of a group of displacement vectors whether the component of the group needs to undergo a transformation, and if not, the transformation encoding and decoding of all displacement vectors of the group can be skipped. The above-mentioned embodiments of the processing of vertex prediction residuals in this paragraph can also be implemented separately for different patch combinations and in parallel.
[0114] Fig.11An example flowchart 1150 is shown, wherein, at S121, a mesh frame that is encoded and decoded as an entire data unit can be obtained, which means that all vertices or attributes of the mesh frame can have correlations between them. Alternatively, based on the determination at S122, the mesh frame can be divided into smaller independent sub-divisions at S123, similar in concept to slices or tiles in a 2D video or image. At S124, a prediction type can be assigned to the encoded and decoded mesh frame or the encoded and decoded mesh sub-division. Possible prediction types include intra-frame codec types and inter-frame codec types. For the intra-frame codec type, at S125, only predictions from reconstructed portions of the same frame or slice are allowed. On the other hand, at S125, in addition to mesh intra-frame predictions, the inter-frame prediction type will allow predictions from previously encoded and decoded mesh frames. In addition, the inter-frame prediction type can be classified using more sub-types such as P type or B type. In the P type, only one predictor may be used for prediction purposes, whereas in the B type, two predictors from two previously coded grid frames may be used to generate the predictor. A weighted average of the two predictors may be an example. When a grid frame is coded as a whole, the frame may be considered as an intra- or inter-coded grid frame. In the case of an inter-frame grid frame, the P type or B type may be further identified via signaling. Alternatively, if the grid frame is coded with further intra-partitioning, the assignment of a prediction type to each of the sub-partitions occurs at S124. Each of the above information may be determined and signaled by a flag, etc., and is related to Fig.10 Similar to S110 and S111 , the predicting feature may occur at S126 , and the predicting and signaling result may occur at S127 .
[0115] Therefore, although dynamic mesh sequences may require a large amount of data, since they may include a large amount of information that changes over time, efficient compression techniques are required to store and transmit such content, and the above-described Fig. 20 and Fig.21 The feature of represents this improved efficiency by enabling at least improved mesh vertex 3D position prediction by using previously decoded vertices in the same mesh frame (intra-frame prediction) or from a previously encoded and decoded mesh frame (inter-frame prediction).
[0116] In addition, exemplary embodiments may generate displacement vectors of a third layer 1303 of the mesh based on one or more reconstructed vertices of previous layers of the third layer 1303, such as the second layer 1302 and the first layer 1301. Assuming that the index of the second layer 1302 is T, a predictor for a vertex in the third layer 1303T+1 is generated based on at least the reconstructed vertices of the current layer or the second layer 1302. Examples of such layer-based prediction structures are as follows: Fig.13As shown in Example 1300, Fig.13 Vertex prediction based on reconstruction is shown: progressive vertex prediction using edge-based interpolation, where predictors are generated based on previously decoded vertices rather than predictor vertices. The first layer 1301 can be a mesh bounded by a first polygon 1340 having decoded vertices as its vertices at its borders and interpolated vertices along lines between vertices in the decoded vertices. As the progressive codec proceeds from the first layer 1301 to the second layer 1302, additional polygons 1341 can be formed by displacement vectors from the interpolated vertices in the first layer to the additional vertices of the second layer 1302, and therefore, the total number of vertices of the second layer 1302 can be greater than the total number of vertices of the first layer 1301. Similarly, proceeding to the third layer 1303, the additional vertices of the second layer 1302, along with the decoded vertices from the first layer 1301, can then be served to the codec in a manner similar to the decoded vertices served in proceeding from the first layer 1301 to the second layer 1303; i.e., multiple additional polygons can be formed. It should be noted that see Fig.14 Example 1400, Fig.14 This progressive encoding and decoding is shown, where Fig.13 Differently, example 1400 shows that in proceeding from first layer 1401 to second layer 1403 and then to third layer 1403 , each of the additionally formed polygons may be completely within the polygon formed by the boundary of first layer 1401 .
[0117] For such examples 1300 and / or 1400, according to an exemplary embodiment, see Fig.12 1200, wherein, since the interpolated vertices on the current layer are predicted values, such values need to be reconstructed before being used to generate the predictors for the vertices on the next layer. This is done by: decoding the base mesh at S131; performing vertex prediction at S132; and then adding the decoded displacement vectors of the current layer to the vertex predictors, such as the vertex predictors of layer 1302, at S133. The reconstructed vertices of this layer together with all the decoded vertices of the previous layer - for example, checking the additional vertex values of such a layer at S134 - can then be used to generate and signal the predictor vertices of the next layer 1303 at S135. The process can also be summarized as follows: Assume that P[t](Vi) represents the predictor of the vertex Vi on layer t; Assume that R[t](Vi) represents the reconstructed vertex Vi on layer t; Assume that D[t](Vi) represents the displacement vector of the vertex Vi on layer t; Assume that f(*) represents the predictor generator, which can specifically be the average of two existing vertices. Then, for each layer t, according to an exemplary embodiment, there is the following: P[t](Vi)=f(R[s|s<t](Vj), R[m|m<t](Vk)), where Vj and Vk are the reconstructed vertices of the previous layer R[t](Vi)=P[t](Vi)+D[t](Vi) - Formula (1)
[0118] Then, for all vertices in one mesh frame, the vertices are divided into layer 0 (base mesh), layer 1, layer 2, ..., etc. Then, the reconstruction of vertices on one layer depends on the reconstruction of vertices on the previous layer. In the above, each of P, R, and D represents a 3D vector in the context of a 3D mesh representation. D is the decoded displacement vector, and quantization may or may not be applied to the vector.
[0119] According to an exemplary embodiment, vertex prediction using reconstructed vertices may be applied only to certain layers. For example, layer 0 and layer 1. For other layers, vertex prediction may still use neighboring predictor vertices without adding displacement vectors to the vertices for reconstruction. This allows these other layers to be processed simultaneously without waiting for previous layers to be reconstructed. According to an exemplary embodiment, for each layer, it may be signaled whether to select reconstruction-based vertex prediction or predictor-based vertex prediction, or it may be signaled that the layer (and its subsequent layers) do not use reconstruction-based vertex prediction.
[0120] For displacement vectors whose vertex predictors are generated by reconstructed vertices, quantization may be applied to them without further transformation, such as wavelet transform, etc. For displacement vectors whose vertex predictors are generated by other predictor vertices, a transformation may be required, and quantization may be applied to the transform coefficients of these displacement vectors.
[0121] Therefore, a dynamic mesh sequence may require a large amount of data because the dynamic mesh sequence may include a large amount of information that changes over time. Therefore, efficient compression technology is needed to store and transmit such content. In the framework of the above-mentioned interpolation-based vertex prediction method, an important process is to compress the displacement vector, and this occupies a major part in the encoded and decoded bit stream, and the focus of the present disclosure and the features of the present disclosure are to alleviate this problem, for example, by providing such compression.
[0122] Furthermore, similar to the other examples described above, even in the case of those implementations, a dynamic mesh sequence may require a large amount of data, since it may include a large amount of information that changes over time, and therefore, requires efficient compression techniques to store and transmit such content. In the framework of the above-described 2D atlas sampling-based approach, important advantages can be achieved by inferring connectivity information from the sampled vertices plus the boundary vertices on the decoder side. This is a major part of the decoding process and is the focus of the other examples described below.
[0123] According to an exemplary embodiment, the connectivity information of the base mesh may be inferred (derived) from the decoded boundary vertices and sampled vertices for each graph at both the encoder side and the decoder side.
[0124] Similarly as described above, any triangulation method may be applied to create connections between vertices (including boundary vertices and sampled vertices).According to an exemplary embodiment, the connectivity type may be signaled in a high-level syntax such as a sequence header, a slice header.
[0125] As mentioned above, for example, for irregularly shaped triangular meshes, connectivity information can also be reconstructed through explicit signaling. That is, if it is determined that the polygon cannot be recovered through implicit rules, the encoder can signal the connectivity information in the bitstream. And according to an exemplary embodiment, the overhead of such explicit signaling can be reduced according to the boundaries of the polygon.
[0126] According to an embodiment, only connectivity information between boundary vertices and sampled positions is determined to be signaled, while connectivity information between the sampled positions themselves is inferred.
[0127] Furthermore, in any of the embodiments, connectivity information may be signaled by prediction, such that only the difference in inferred connectivity (as a prediction) from one mesh to another may be signaled in the bitstream.
[0128] It should be noted that according to exemplary embodiments, the orientation of the inferred triangles may be signaled for all charts in a high-level syntax such as a sequence header, a slice header, etc. (e.g., each triangle is inferred in a clockwise or counterclockwise manner), or may be fixed (assumed) by the encoder and decoder. The orientation of the inferred triangles may also be signaled differently for each chart.
[0129] As a further note, any reconstructed mesh may have different connectivity than the original mesh. For example, the original mesh may be a triangular mesh, while the reconstructed mesh may be a polygonal mesh (e.g., a quadrilateral mesh).
[0130] According to an exemplary embodiment, connectivity information of any base vertex may not be signaled, but the same algorithm may be used at both the encoder side and the decoder side to derive edges between base vertices. And according to an exemplary embodiment, interpolation of predicted vertices of additional mesh vertices may be based on the derived edges of the base mesh.
[0131] According to an exemplary embodiment, a flag may be used to signal whether connectivity information of base vertices is to be signaled or derived, and such a flag may be signaled at different levels of a bitstream, such as a sequence level, a frame level, and the like.
[0132] According to an exemplary embodiment, the edges between the base vertices are first derived using the same algorithm on both the encoder side and the decoder side. Then, a comparison is made with the original connectivity of the base mesh vertices, and the difference between the derived edges and the actual edges is signaled. Thus, after decoding the difference, the original connectivity of the base vertices can be restored.
[0133] In one example, for a derived edge, if it is determined to be erroneous compared to the original edge, such information can be signaled in the bitstream (by indicating the vertex pair that formed the edge); and for an original edge, if it is not derived, it can be signaled in the bitstream (by indicating the vertex pair that formed the edge). In addition, connectivity on boundary edges and vertex interpolation involving boundary edges can be performed separately from internal vertices and edges.
[0134] Therefore, through the exemplary embodiments described herein, the above technical problems can be advantageously improved through one or more of these technical solutions. For example, because the dynamic grid sequence may include a large amount of information that changes over time, the dynamic grid sequence may require a large amount of data, and thus, the exemplary embodiments described herein at least represent an efficient compression technology for storing and transmitting such content.
[0135] The above embodiments can be further applied to instance-based mesh coding and decoding, where the instance can be a mesh of an object or a part of an object. Fig.15 The illustrated example 1500 shows a grid example 1501, wherein there are various instances 1502 (a grid representing a cup), 1503 (a grid representing a spoon), and 1504 (a grid representing a plate), and these instances can be separated and encoded separately. And each of the instances 1501, 1502, 1503, and 1504 is shown in a corresponding bounding box in the bounding box further described below, but it should be noted that the instance 1501 can be considered to be shown as bounded by a "grid-based bounding box", and each of the instances 1502, 1503, and 1504 can be considered to be shown as bounded by a corresponding bounding box in the "instance-based bounding box".
[0136] Fig.16 An example 1600 of block partitioning using a quadtree binary tree (QTBT) 1601 and a corresponding tree representation 1602 is shown. Solid lines indicate quadtree partitioning, and dashed lines indicate binary tree partitioning. In each partition (i.e., non-leaf) node of the binary tree, a flag is signaled to indicate which partition type (i.e., horizontal or vertical) is used, where 0 indicates horizontal partitioning and 1 indicates vertical partitioning. For quadtree partitioning, there is no need to indicate the partition type, because quadtree partitioning always divides the block horizontally and vertically to produce 4 sub-blocks of equal size.
[0137] The codec tree unit (CTU) is divided into codec units (CU) using a quadtree structure represented as a codec tree to adapt to various local characteristics. A decision is made at the CU level as to whether to use inter-picture (temporal) prediction or intra-picture (spatial) prediction to encode and decode the picture area. Each CU can be further divided into one, two or four prediction units (PUs) according to the PU partition type. Within a PU, the same prediction process is applied, and the relevant information is transmitted to the decoder on a PU basis. After obtaining the residual block by applying the prediction process based on the PU partition type, the CU can be partitioned into transform units (TUs) according to another quadtree structure such as the codec tree of the CU.
[0138] According to an exemplary embodiment, there are lossless mesh coding techniques and lossy mesh coding techniques. A base mesh may be extracted as a subset of the original mesh, and the remaining vertices are encoded based on a distance-based predictive displacement coding.
[0139] In addition, according to an exemplary embodiment, the MPEG dynamic mesh compression test model V-DMC TMMv2.0 may include a coded mesh bitstream as a connection of group of frames (GoF) bitstreams 1701, 1702, 1703, 1704, wherein each GoF bitstream includes or consists of a sequence header 1711, a base mesh bitstream 1712, a displacement bitstream 1713, and a texture bitstream 1714. Fig.17 Example 1700 is shown in FIG.
[0140] However, when the displacement codec module is based on a video codec, the displacement bitstream can follow the corresponding video codec bitstream syntax, while when the displacement codec is based on non-video, such as a displacement codec based on an arithmetic codec, from the perspective of bitstream management, the bitstream syntax for the displacement codec may have been unclear and difficult to handle. In order to solve these technical problems, the embodiments of this document provide a bitstream syntax for a general codec in a trellis displacement codec.
[0141] For example, according to an embodiment of the present invention, a bit stream syntax for a general codec in a grid displacement codec is provided, and the displacement bit stream can be a connection of frame-level displacement bit streams, such as a concatenation of any of GOF 1701, 1702, 1703, 1704, such as Fig.18 As shown in Example 1800 (General Syntax).
[0142] According to an embodiment, these features specify the relationship between a Network Abstraction Layer (NAL) unit stream and a NAL sample stream, either of which is referred to as a NAL bitstream.
[0143] The bitstream can be in one of two formats: NAL unit stream format or NAL sample stream format. The NAL unit stream format is conceptually the more "basic" type. The NAL unit stream format includes a sequence of grammatical structures called NAL units. The sequence is sorted in decoding order. Constraints can be imposed on the decoding order (and content) of the NAL units in the NAL unit stream.
[0144] A NAL sample stream format can be constructed from a NAL unit stream format by sorting the NAL units in decoding order and prefixing each NAL unit with a header that specifies the precise size of the NAL unit in bytes. A sample stream header is included at the beginning of the sample stream bitstream, which specifies the precision of the signaled NAL unit size in bytes. The NAL unit stream format can be extracted from the sample stream format by traversing the sample stream format, reading the size information, and extracting each NAL unit appropriately.
[0145] According to an exemplary embodiment, for each frame in a frame group such as GOF 1703, its displacement bitstream 1713 consists of or includes at least a frame header, a frame payload, and an indication of whether motion field coding is signaled, such as Fig.18 as shown in Example 1800 (general syntax).
[0146] Mesh geometry information includes vertex connectivity information, 3D coordinates and 2D texture coordinates, etc. Compression of vertex 3D coordinates (which are also called vertex positions) is very important because, in most cases, it occupies a considerable portion of the entire geometry-related data.
[0147] For the base mesh bitstream, the base mesh can be encoded and decoded using intra mode or inter mode. Intra mode encoding and decoding is implemented by a static mesh codec such as Draco. For inter mode, the motion field is defined as the difference in vertex positions between the current frame and its reference frame. More precisely, for a vertex V in the current frame F, and a reference vertex V' in the reference frame F', the motion field of V is E=V-V', where the subtraction operation is the difference between the position value of V and the position value of V'. The motion field can be encoded and decoded by arithmetic codec, video codec, or other codecs. In V-DMCTMM v2.0, the bitstream syntax for motion field encoding and decoding is unspecified and difficult to handle from a bitstream management perspective. In the present disclosure, a bitstream syntax for mesh motion field encoding and decoding is provided.
[0148] According to an exemplary embodiment, there is a bitstream syntax for mesh motion field coding. Fig.18 As shown in example 1800, the motion field bitstream includes a frame header and a frame payload.
[0149] In the frame header, for example Fig.19 In Example 1900 (Example Header Syntax), a frame index is represented by an X-bit integer (where X=8 in one example), followed by a reference frame index specified by a Y-bit integer (where Y=8 in one example).
[0150] In the frame payload, for example Fig. 20 As shown in Example 2000 (Example Payload Syntax), a Z-bit integer (where Z=32 in one example) specifies the byte size of the encoded and decoded bitstream, followed by the encoded and decoded bitstream. Examples 1800, 1900, 2000, and 2100 illustrate frame-level displacement bitstream codes according to example implementations.
[0151] According to an exemplary embodiment, the aspects described herein can be used alone or in combination in any order, and can be used for any polygonal mesh, and the geometry can be encoded by the base mesh and predictive displacement encoding and decoding. For example, given a base mesh that is a subset of the original mesh obtained, the original vertex can be encoded by the predicted point (projected vertex) of the original vertex and the displacement between the predicted point (projected vertex) and the original point (remaining vertex). The base mesh is a constraint so that the remaining vertices (not included in the vertices) are always on the normal direction side between the vertices.
[0152] Therefore, according to an exemplary embodiment, a high-level syntax for arithmetic coding and decoding of displacement is provided. Such a displacement bitstream is a concatenation of frame-level displacement bitstreams, and for each frame, its displacement bitstream includes a frame header and a frame payload.
[0153] According to an example implementation, the base grid may be signaled in a new substream, which may be named base grid data substream (unit type V3C_MD). Like other v3c units, the unit type and its associated v3c parameter set id and atlas id are signaled, for example, in v3c_unit_header(). An example according to an example implementation is shown below:
[0154] Furthermore, according to an exemplary embodiment, the base grid sub-grid layer Raw Byte Sequence Payload (RBSP) syntax may include:
[0155] Therefore, according to an exemplary embodiment, a high-level syntax for arithmetic coding and decoding of displacement is provided. Such a displacement bitstream is a concatenation of frame-level displacement bitstreams, and for each frame, its displacement bitstream includes a frame header and a frame payload.
[0156] Furthermore, in the case where it is decided to perform displacement encoding and decoding on a 2D mesh, then, looking at the example 2101 of displacement encoding and decoding based on two distances on a 2D mesh, point y′2 is the projection of point y2 onto the line that connects the neighboring points y1, y3 of point y2 and is perpendicular to the plane p passing through points y1, y2, y3. Since point y2 is on the same side as the normal vector of the plane p. In order to encode point y2, only the scalar distance d is required at S2005. t =||y′2-y2|I's projection y′2. In addition, in this embodiment, y′2 is constrained to the line between y1 and y3. Therefore, to the neighboring vertex y n The scalar distance d sThat is, in example 2101, points y1, y3, y5 may be base mesh vertices; points y2, y4 may be remaining vertices; y'2 may be a projected vertex and point y n It can be the nearest neighbor obtained.
[0157] According to an exemplary embodiment in 2D, and also according to an exemplary embodiment in 3D of other exemplary embodiments, an additional point y is derived from the neighbors n , the neighbor is also on the line between the neighboring points y1 and y2. For example, n The scalar distance of is derived as 0, 1 / 2, 1 / 3, 2 / 3 from the middle of the points y1, y3. And the best candidate in terms of rate and distortion is selected and signaled.
[0158] Such an implementation represents an improvement because although the points y1, y3 can be used to obtain the intermediate point y n , and then projected from it to point y′2, but a more accurate desired vertex may be at point y2, rather than point y′2, which can be advantageously obtained by the exemplary embodiments described herein.
[0159] See example 2102, which shows displacement encoding and decoding based on two distances for a 3D mesh. Fig.21 In the example 2101, the displacement codec is almost lossless, which can be considered lossless in this article. According to the exemplary embodiment, the 3D mesh is described based on the selection of the 3D codec. For example, if it is determined that the lossy codec is not selected, the vertex z4 is predicted based on the neighboring vertices in the base mesh: points z1, z2, z3. Similar to the 2D case of example 2101, if the distance h h Known, we can predict point z4 based on point z′4. On the other hand, we can t and h s Point z n or point z′ n (depending on the rate and distortion cost) predict point z′4. In summary, to signal point z4, the three distances h s ,h t ,h h will be used with the index to indicate which edge to use for prediction. That is, points z1, z2, z3 can be base mesh vertices; point z4 can be a remaining vertex; point z′4 can be a projected vertex; and point z n and point z′ n It can be the nearest neighbor obtained.
[0160] Looking at example 2103 showing mesh encoding based on subdivision and distance, such exemplary embodiments similarly introduce displacement encoding based on distance and face subdivision for the selected lossy 3D mesh. That is, similar to example 2102, in example 2103, the projection vertex of point x4 on the base mesh face is point x′4 and the distance d h It is sufficient to encode point x4. In this embodiment, the surface is first subdivided at level L. The subdivision point closest to point x′4 is selected (x in this example). n ). Then, according to the normal direction of the current triangle, at a distance d h Point x n Get the point point is considered to be a lossy version of point x4. Finally, for point x in the case of subdivision at S2011 n The index and distance d h 2103, other polygon shapes as described herein may be used. That is, points x1, x2, x3 may be base mesh vertices; point x4 may be a remaining vertex; point x′4 may be a projected vertex; point x n can be the nearest subdivision; and point is the predicted vertex.
[0161] As described above for Example 2101, Example 2103 also represents an additional advantageous improvement because, compared to Example 2102, Example 2103 can simplify the computational complexity compared to the case where the value of one of point z4 and point z′4 may not be an integer value (for the purpose of this description, point z4 and point z′4 correspond to point x4 and point x′4, respectively). That is, by finding the point x4 that is the closest point to point x4 (among the vertices of the polygon regularly divided within the entire polygon formed by vertices x1, x2, x3), Example 2103 can simplify the computational complexity. n , the point xn is more likely to have an integer value than the point x′4, and thus as a function of the point x n The predicted vertex point Similarly may have an integer value and thus reduce computational complexity compared to point x4 which may alternatively be less likely to have such an integer value.
[0162] According to an exemplary embodiment, in an embodiment, there is a surface level processing for a lossy 3D quadrilateral mesh based on distance and surface subdivision. For example, instead of predicting and encoding sequentially, the mesh is pixelated to correspond to rectangular blocks, such as one or more of the blocks shown in Example 1601. This method implements the block segmentation and block merging framework in video coding and decoding.
[0163] For example, to pixelate a quadrilateral face, first subdivide it so that the subdivided vertices and the original vertices account for n 2 points. Fig. 22 The ternary tree example of level 1 ternary tree subdivision for group representation of quadrilateral meshes and corresponding displacements of example 2200 (shown in example 2201) can be used to divide a quadrilateral face into groups having 4 2 Based on the assumption that the mesh surface changes smoothly, the displacement groups may have high correlation. Therefore, intra-like prediction and local transformation can be used to further compress the displacements. Prediction 2251. These aspects can help save bit rate while increasing encoder and decoder throughput.
[0164] According to an exemplary embodiment, multi-level segmentation can be performed so that adaptive subdivision is used to improve displacement That is, first, the quadrilateral mesh is ternary subdivided several times to represent the group displacement with size B1×B22252, where B 1,2 is a multiple of 2. Subsequently, conventional video codec segmentation can be used. In one example, B1, B2 are set to 32. Alternatively, different segmentation can be applied taking into account the orientation of the quadrilateral base mesh face. Longer orientations are subject to higher levels of segmentation. Therefore, these aspects implement non-square pixelated faces, such as shown by the examples of already encoded faces 2253 and 2254. This will reduce the distortion of non-square quadrilateral faces when one direction is significantly larger than the other. In addition, adaptive merging of quadrilateral face features can be used so that there can be separate quadrilateral faces that are ternary subdivided once. Then, if it is determined that the transform codec cost of two or four adjacent neighbors is less than the individual cost, the neighbors can be merged.
[0165] For example, looking at the group displacement representation 2252, the already encoded base mesh vertices (lower left - LL, lower right LR, upper left - TL, upper right - TF) can be used to predict the displacement based on their positions; that is, given a group displacement representation of size B1×B2, four weight matrices can be used to derive the prediction at position i, j of the segmented mesh as: where v X represents the vertex (LL, LR, TL, TF) of the base mesh at the X position, and the weight matrix is always W X (o, j) is a positive number.
[0166] In addition, example 2202 shows neighbor-based intra-frame displacement prediction, where the current displacement group can be predicted using the base mesh vertex and the already encoded neighbor displacement vertex. The prediction can be an angle prediction in the intra-frame prediction. According to an exemplary embodiment, additional base mesh vertices can be used to perform correction and post-smoothing for angle prediction using equation (1).
[0167] Therefore, aspects described herein address technical deficiencies by avoiding the creation of additional vertices with pseudo connectivity, which would reduce the throughput of GPU-based mesh rendering and thereby prevent mesh encoding and decoding using advanced codec methods in video compression.
[0168] According to an exemplary embodiment, further reference is made to the flowchart Fig.23 Example 2300, in which one or more frames are obtained at S2301, such that m(i) may be the i-th frame in the mesh sequence, v(i, j) may be the position of the j-th vertex of m(i), and m(i0), ..., m(i n ) may be the tracked grid determined by signaling at S2302, where m(i0) may be the reference frame. At S2303, m(i k )’s motion vector f(i k , j) is calculated as: f(i k , j) = v(i k ,j)-v(i0,j) - Formula (12)
[0169] Alternatively, m(i k )’s motion vector f(i k , j) can be calculated as f(i k , j) = v(i k ,j)-v(i k-1 , j) where k>0 - Formula (13)
[0170] According to an exemplary embodiment, m(i k ) includes all motion vectors in the frame and will be denoted as f(i k ), and the embodiments herein are about f(i k ) for compression. Note that f(i0) does not need to be encoded or decoded since, by definition, f(i0) contains all zeros.
[0171] According to the signaling, for example, indicated by a flag or an operator, a mode may be selected at S2304.
[0172] In the mesh sequence, the exemplary embodiment herein refers to tracking multiple mesh frames if it is determined at S2302 that all of the meshes share the same or more of any of the following: number of vertices, connectivity, texture coordinates, and texture connectivity, and when only the positions of the vertices differ between the meshes. Since there is a one-to-one correspondence between the vertices of two tracked mesh frames (which may be referred to as a reference frame and a current frame herein), the vertex positions of the current frame may be predicted by the reference frame, and the prediction residuals form a motion field.
[0173] In addition, it should be understood that, according to exemplary embodiments, a "mesh" as described herein may be composed of several polygons describing the surface of a volumetric object. Each polygon is defined by its vertices in 3D space and information about how the vertices are connected (referred to as connection information). Optionally, vertex attributes such as color, normal, displacement, etc. may be associated with mesh vertices. Attributes may also be associated with the surface of a mesh by utilizing mapping information that parameterizes the mesh using a 2D attribute graph. Such mappings are typically described by a set of parameter coordinates (referred to as UV coordinates or texture coordinates) associated with mesh vertices. A 2D attribute graph is used to store high-resolution attribute information, such as textures, normals, displacements, etc. This information is used for various purposes herein, such as texture mapping, shading, and mesh reconstruction, etc.
[0174] At S2305, a 1D transform such as a discrete cosine transform (DCT) or a lifting wavelet transform may be applied to the trajectory of each vertex. Fig.12 , Fig.13 , Fig.21 and Fig. 22 The displacement vectors shown in , any of which can be used as the vertex trajectory described in any of S2305, S2306 and S2307 herein. Specifically, at S2305, for the j-th vertex, a 1D transformation can be applied to f(i k , j) (where k = 1, ..., n) for each spatial dimension. The resulting transform coefficients can then be encoded by using entropy / arithmetic codecs, video codecs, etc. At the decoder side, an inverse transform can be run to reconstruct the motion field.
[0175] At S2306, the motion field may be encoded directly by the video codec. Examples 2201 and 2202 show examples of motion fields according to exemplary embodiments, which are not limited to these exact examples. For each frame, such as the patch or patch group described above, all motion vectors f(i) in the mesh frame may be encoded according to a specific order (e.g., the order of vertex indices listed in the encoding / decoding order) or the order of a mesh traversal algorithm (e.g., Edgebreaker algorithm).k , j) are grouped, and the ordered motion vectors can then be packed into a 3-channel image, where each channel corresponds to one spatial dimension of the motion vector. Packing can be done in any order, such as raster order, Morton order, etc. After packing, images from all frames can be encoded by a video codec. And decoding can be performed accordingly. After decoding the video frame, an unpacking operation can be applied to convert the 2D array of motion vectors back into an array of mesh vertices with a known order, which is used in the encoder side according to an exemplary embodiment.
[0176] However, in this paper, the embodiments of this paper use arithmetic coding to compress displacement coefficients, which will avoid or alleviate the disadvantages of applying the above-mentioned video coding.
[0177] For example, for arithmetic coding of displacement, for each frame, the implementation first determines whether to encode the displacement coefficient or the prediction residual of the displacement coefficient according to the frame type; if the frame type is intra, the implementation encodes the displacement coefficient of the current frame; otherwise, the implementation first predicts the displacement coefficient of each vertex of the current frame by using the coefficient of the corresponding vertex in the previous frame, and then encodes the prediction residual of the displacement coefficient. Therefore, the implementation in this article uses arithmetic coding to compress the displacement coefficient, and it is reported that the proposed method achieves higher codec efficiency and lower codec complexity compared to video coding. In addition, due to the lossless nature of arithmetic coding, the step of reconstructing the displacement from the video frame for texture transmission at the encoder side can be avoided, which further reduces the encoding runtime.
[0178] At S2307, motion fields may be encoded using a principal component analysis (PCA) that may change coordinates. The motion fields may each include displacement vectors and motion vector information for multiple or all vertices of a patch or patch group described herein. First, a data matrix M may be constructed for the motion field. After flattening the three spatial dimensions, the jth row of M is f(i k , j), k = 1, ..., n, so the length of each row (i.e., the number of columns) is 3n, and the number of rows r is equal to the number of vertices in each grid, so the size of M is r × 3n. Note that it can be calculated as x1y1z1...x n y n z n or x1...x n y1...y n z1...z nAfter constructing the data matrix M, the columns of the matrix M can be centered by subtracting the mean of the columns, and then the covariance matrix C = M can be calculated. T M, and the principal components can then be obtained by eigendecomposition of C, and since the size of the covariance matrix C is 3n×3n, the computational complexity of the eigendecomposition of C is low. After the eigendecomposition of C, according to a configurable threshold of the eigenvalues, all eigenvectors can be signaled, or only the first plurality (at least two) of eigenvectors can be signaled. In addition, the projection of each row of M on the signaled eigenvectors can be signaled, and the coefficients of these eigenvectors can be signaled. According to an exemplary embodiment, the average value of each column of M should also be signaled. According to an exemplary embodiment, all signaling can be done using entropy codecs such as arithmetic codecs. On the decoder side, the center trajectory of each vertex can be restored by a linear combination of the decoded eigenvectors and the corresponding decoded coefficients, and then the original trajectory of each vertex can be obtained by summing the center trajectory with the decoded average value position.
[0179] According to an exemplary embodiment, when it is determined that there is other data encoded via a video codec, the exemplary embodiment connects these data with the motion vectors and packs them into a single video for encoding and decoding. For example, for a grid frame with both motion vectors and displacement vectors, the motion vectors and displacement vectors can be packed into the same video frame for further encoding and decoding. In particular, the displacement information can be placed after all motion vectors. This includes the possibility that the motion vectors and displacement vectors are included in different streams or included in the same stream, and can similarly be encoded and decoded by a single video codec.
[0180] Therefore, although dynamic mesh sequences may require a large amount of data because the dynamic mesh sequence may include a large amount of information that changes over time, when the mesh sequence includes tracked meshes that contain a large amount of redundant information, there is a lot of room to significantly compress the meshes through the embodiments described herein regarding the compression of the motion field of the dynamically subdivided mesh. Therefore, through the exemplary embodiments herein, many methods of improving the method of compressing the motion field of the dynamically subdivided mesh are described, and these methods described herein can be applied individually or in any form of combination.
[0181] According to exemplary embodiments, the proposed methods may be used alone or in combination in any order. Although only triangular meshes may have been used for the demonstration of various embodiments, the proposed methods may be used for any polygonal mesh. As described above, it will be assumed that the input mesh may contain one or more instances, a sub-mesh is a part of the input mesh having one or more instances, and multiple instances may be grouped to form a sub-mesh.
[0182] The above techniques may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media, or implemented by one or more specially configured hardware processors. Fig.24 A computer system 2400 suitable for implementing certain embodiments of the disclosed subject matter is shown.
[0183] Computer software may be encoded or decoded using any suitable machine code or computer language, which may be subjected to mechanisms such as assembly, compilation, and linking to create code comprising instructions, which may be directly executed by a computer central processing unit (CPU), a graphics processing unit (GPU), etc., or executed through interpretation, microcode execution, etc.
[0184] The instructions may be executed on various types of computers or components thereof including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, etc.
[0185] Fig.24 The components for computer system 2400 shown in the example are exemplary in nature and are not intended to suggest any limitation on the scope of use or functionality of computer software implementing embodiments of the present disclosure. Neither should the configuration of components be interpreted as having any dependency or requirement relating to any one or combination of components shown in the exemplary embodiment of computer system 2400.
[0186] Computer system 2400 may include certain human interface input devices. Such human interface input devices may respond to input by one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, tapping), visual input (e.g., gestures), olfactory input (not depicted). Human interface devices may also be used to capture certain media that are not necessarily directly related to conscious input by humans, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, photographic images obtained from still image cameras), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).
[0187] Input human interface devices may include one or more of the following (only one of each is depicted): keyboard 2401 , mouse 2402 , trackpad 2403 , touch screen 2410 , joystick 2405 , microphone 2406 , scanner 2408 , camera 2407 .
[0188] The computer system 2400 may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate one or more senses of a human user through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include: tactile output devices (e.g., tactile feedback through a touch screen 2410 or a joystick 2405, but there may also be tactile feedback devices that are not used as input devices); audio output devices (e.g., speakers 2409, headphones (not depicted)); visual output devices (e.g., screens 2410, including CRT (Cathode Ray Tube, CRT) screens, LCD (Liquid Crystal Display, LCD) screens, plasma screens, OLED (Organic Light Emitting Diode, OLED) screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of which may be able to output two-dimensional visual outputs or more than three-dimensional outputs through, for example, stereoscopic image output; virtual reality glasses (not depicted); holographic displays and cigarette cans (not depicted)); and printers (not depicted).
[0189] The computer system 2400 may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM (Read Only Memory, ROM) / RW 2420 with media such as CD / DVD 2411, a thumb drive 2422, a removable hard disk drive or solid-state drive 2424, traditional magnetic media such as tapes and floppy disks (not depicted), dedicated ROM / ASIC (Application Specific Integrated Circuit, ASIC) / PLD (Programmable Logic Device, PLD)-based devices such as security dongles (not depicted), etc.
[0190] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not include transmission media, carrier waves, or other transitory signals.
[0191] The computer system 2400 may also include an interface 2499 to one or more communication networks 2498. The network 2498 may be, for example, wireless, wired, optical. The network 2498 may also be local, wide, metropolitan, vehicle and industrial, real-time, delay-tolerant, etc. Examples of the network 2498 include: local area networks such as Ethernet; wireless LAN (Local Area Network, LAN); cellular networks including GSM (Global System for Mobile Communications, GSM), 3G (the Third Generation, 3G), 4G (the Fourth Generation, 4G), 5G (the Fifth Generation, 5G), LTE (Long Term Evolution, LTE), etc.; TV wired or wireless wide area digital networks including cable TV, satellite TV, and terrestrial broadcast TV; vehicle and industrial networks including CANBus (Controller Area Network Bus, CANBus), etc. Some networks 2498 typically require external network interface adapters attached to certain universal data ports or peripheral buses (2450 and 2451) (such as, for example, the USB (Universal Serial Bus, USB) port of the computer system 2400); other networks are typically integrated into the core of the computer system 2400 by attaching to the system bus as described below (for example, to the Ethernet interface in a PC computer system or to the cellular network interface in a smart phone computer system). Using any of these networks 2498, the computer system 2400 can communicate with other entities. Such communication can be one-way receive-only (for example, broadcast TV), one-way send-only (for example, CANbus to certain CANbus devices), or two-way, such as to other computer systems using local area digital networks or wide area digital networks. Certain protocols and protocol stacks can be used on each of these networks and network interfaces as described above.
[0192] The above-mentioned human-machine interface devices, human-accessible storage devices, and network interfaces may be attached to the core 2440 of the computer system 2400 .
[0193] The core 2440 may include one or more central processing units (CPUs) 2441, graphics processing units (GPUs) 2442, graphics adapters 2417, dedicated programmable processing units in the form of field programmable gate areas (FPGAs) 2443, hardware accelerators 2444 for certain tasks, etc. These devices, along with read-only memory (ROM) 2445, random access memory 2446, and internal mass storage devices 2447 such as internal non-user accessible hard disk drives, SSDs (Solid State Drives, SSDs), etc., may be connected via a system bus 2448. In some computer systems, the system bus 2448 may be accessed in the form of one or more physical plugs to allow expansion by additional CPUs, GPUs, etc. Peripheral devices may be attached to the core's system bus 2448 directly or via a peripheral bus 2449. The architecture of the peripheral bus includes PCI (Peripheral Component Interconnect / Interface, PCI), USB, etc.
[0194] The CPU 2441, GPU 2442, FPGA 2443, and accelerator 2444 may execute certain instructions, which may be combined to form the computer code mentioned above. The computer code may be stored in ROM 2445 or RAM (Random Access Memory, RAM) 2446. Transient data may also be stored in RAM 2446, while permanent data may be stored in, for example, an internal mass storage device 2447. Fast storage and retrieval of any storage device in the memory device may be achieved by using a cache memory, which may be closely associated with one or more CPUs 2441, GPU 2442, mass storage devices 2447, ROM 2445, RAM 2446, and the like.
[0195] The computer readable medium may have computer code thereon for performing various computer-implemented operations. The medium and computer code may be those specially designed and constructed for the purposes of the present disclosure, or the medium and computer code may be of a type well known and available to those skilled in the art of computer software.
[0196] As an example and by way of non-limiting means, a computer system having architecture 2400 and in particular core 2440 can provide functionality due to the execution of software contained in one or more tangible computer-readable media by a processor (including a CPU, GPU, FPGA, accelerator, etc.). Such a computer-readable medium can be a medium associated with a user-accessible mass storage device as introduced above, and certain storage devices of the core 2440 having a non-transient nature, such as a core internal mass storage device 2447 or ROM 2445. Software implementing various embodiments of the present disclosure can be stored in such a device and executed by the core 2440. Depending on specific needs, the computer-readable medium may include one or more memory devices or chips. The software can enable the core 2440 and in particular the processor therein (including a CPU, GPU, FPGA, etc.) to perform a specific process or a specific part of a specific process described herein, including defining a data structure stored in RAM 2446 and modifying such a data structure according to a process defined by the software. Additionally or as an alternative, a computer system may provide functionality due to logic hard-wiring or otherwise implemented in a circuit (e.g., accelerator 2444), which may replace software or operate with software to perform a specific process or a specific portion of a specific process described herein. Where appropriate, references to software may include logic, and references to logic may also include software. Where appropriate, references to computer-readable media may include circuits (e.g., integrated circuits (ICs)) storing software for execution, circuits implementing logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.
[0197] Although the present disclosure has described several exemplary embodiments, there are changes, permutations, and various alternative equivalents that fall within the scope of the present disclosure. It will therefore be appreciated that those skilled in the art will be able to conceive of many systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure.
Claims
1. A method for video decoding, the method being performed by at least one processor and comprising: Receiving a bitstream, the bitstream comprising a grid of encoded volumetric data representing at least one three-dimensional 3D visual content, the grid comprising a group of frames, the group of frames comprising a current frame and a reference frame; obtaining, from the received bitstream, a high-level syntax indicating a motion field for the mesh, wherein the motion field comprises a difference between a first vertex position in the current frame and a second vertex position in the reference frame; as well as The trellis is decoded based at least on the high level grammar.
2. The method according to claim 1, wherein: The grid is further decoded based on a displacement codec, the displacement codec being based on an arithmetic codec.
3. The method according to claim 1, wherein: The syntax element indicating a motion field of the grid includes a sub-grid header field and a sub-grid data unit field, the sub-grid data unit field being based on a sub-grid type and a sub-grid unit size.
4. The method according to claim 1, wherein: The syntax elements indicating the motion field of the grid include: bmesh_submesh_layer_rbsp(){ submesh_header() submesh_data_unit(mfh_submesh_type,SubMeshUnitSize) rbsp_trailing_bits() }。 5. The method according to claim 1, wherein: The syntax elements indicating the motion field of the grid include a frame header and a frame payload, The frame header includes a frame index followed by a reference frame index, and The frame header indicates the reference frame index in inter-frame mode.
6. The method according to claim 5, wherein: In case the frame header indicates the inter-frame type, the frame index comprises 8 bits, the reference frame index comprises 8 bits, and the frame payload comprises a Z-bit integer, where Z comprises 32 bits.
7. The method according to claim 6, wherein: The frame header includes the frame index and the reference frame index.
8. The method according to claim 5, wherein: The frame payload consists of a Z-bit integer followed by a coded bit stream, The Z-bit integer specifies the byte size of the encoded bitstream, and The encoded bitstream includes an encoded representation of displacement vectors of a first frame, the displacement vectors including a first displacement vector.
9. The method according to claim 8, wherein: The frame payload includes the Z-bit integer and the encoded and decoded bit stream, and Z is 32.
10. The method according to claim 1, further comprising: obtaining a connection of the frame group; Obtaining a first displacement vector of a first frame of a mesh motion field of the 3D visual content from a first displacement bitstream of a first frame in the frame group; After decoding the first frame, and obtaining a second displacement vector of a second frame of the mesh motion field of the 3D visual content from a second frame in the frame group; as well as decoding a second frame of the 3D visual content based on the second displacement vector; The first frame in the frame group includes a first sequence header bit stream, a first base grid bit stream, the first displacement bit stream and a first texture bit stream, and The second frame in the frame group includes a second sequence header bit stream, a second basic grid bit stream, the second displacement bit stream and a second texture bit stream.
11. A device for video decoding, the device comprising: at least one memory configured to store computer program code; at least one processor, the at least one processor being configured to access the computer program code and to operate as instructed by the computer program code, the computer program code comprising: receiving code configured to cause the at least one processor to receive a bitstream, the bitstream comprising a grid of encoded volumetric data representing at least one three-dimensional (3D) visual content, the grid comprising a group of frames, the group of frames comprising a current frame and a reference frame; obtaining code configured to cause the at least one processor to obtain, from the received bitstream, a high-level syntax indicating a motion field for the mesh, wherein the motion field comprises a difference between a first vertex position in the current frame and a second vertex position in the reference frame; and A decoding code is configured to cause the at least one processor to decode the trellis based at least on the high-level grammar.
12. The device according to claim 11, wherein The grid is further decoded based on a displacement codec, the displacement codec being based on an arithmetic codec.
13. The device according to claim 11, wherein: The syntax element indicating a motion field of the grid includes a sub-grid header field and a sub-grid data unit field, the sub-grid data unit field being based on a sub-grid type and a sub-grid unit size.
14. The device according to claim 11, wherein: The syntax elements indicating the motion field of the grid include: bmesh_submesh_layer_rbsp(){ submesh_header() submesh_data_unit(mfh_submesh_type,SubMeshUnitSize) rbsp_trailing_bits() }。 15. The device according to claim 11, wherein The syntax elements indicating the motion field of the grid include a frame header and a frame payload, The frame header includes a frame index followed by a reference frame index, and The frame header indicates the reference frame index in inter-frame mode.
16. The device according to claim 15, wherein: In case the frame header indicates the inter-frame type, the frame index comprises 8 bits, the reference frame index comprises 8 bits, and the frame payload comprises a Z-bit integer, where Z comprises 32 bits.
17. The device according to claim 16, wherein: The frame header includes the frame index and the reference frame index.
18. The device according to claim 15, wherein: The frame payload consists of a Z-bit integer followed by a coded bit stream, The Z-bit integer specifies the byte size of the encoded bitstream, and The encoded bitstream includes an encoded representation of displacement vectors of a first frame, the displacement vectors including a first displacement vector.
19. The device according to claim 18, wherein: The frame payload includes the Z-bit integer and the encoded and decoded bit stream, and Z is 32.
20. A non-transitory computer readable medium storing a program, the program causing a computer to perform the following operations: Receiving a bitstream, the bitstream comprising a grid of encoded volumetric data representing at least one three-dimensional 3D visual content, the grid comprising a group of frames, the group of frames comprising a current frame and a reference frame; A high-level syntax indicating a motion field of the grid is obtained from the received bitstream, wherein: The motion field comprises a difference between a first vertex position in the current frame and a second vertex position in the reference frame; as well as The trellis is decoded based at least on the high level grammar.
Citation Information
Patent Citations
Bitstream syntax for mesh motion field coding
US20240236352A1
