Vertex position coding in grid compression

Through the parallelogram prediction and edge circuit breaker algorithm, the problem of low compression efficiency of vertex position data in three-dimensional meshes is solved, and efficient vertex position encoding is achieved, which is suitable for applications in dynamic and static meshes.

CN118575201APending Publication Date: 2024-08-30TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380018074.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-08
Filing Date
2023-05-16
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively compress vertex position data when processing three-dimensional mesh compression. Especially in dynamic meshes, changes in vertex positions lead to a large increase in data volume, affecting storage and transmission efficiency.

Method used

A parallelogram prediction method is adopted to form a predicted triangle by sharing edges with adjacent triangles, determine the predicted position of the current vertex, and encode the prediction residual. The edge circuit breaker algorithm is used to sort triangles and vertices to improve the compression efficiency of vertex positions.

Benefits of technology

It significantly reduces the storage and transmission requirements for vertex position data, improves the efficiency of three-dimensional mesh compression, and is suitable for dynamic and static mesh application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575201A_ABST
    Figure CN118575201A_ABST
Patent Text Reader

Abstract

In one method, a plurality of candidate predictions for a current vertex are determined, the current vertex being included in a plurality of vertices of a grid, the plurality of candidate predictions being determined based on a plurality of triangles in the grid, each triangle of the plurality of triangles corresponding to a respective candidate prediction. A prediction of the current vertex is determined from the plurality of candidate predictions, the prediction being identified by a prediction index, the prediction index being predetermined based on a number of the plurality of candidate predictions of the current vertex being greater than or equal to a threshold. Prediction information for the current vertex is encoded based on the determined prediction. The prediction information includes a prediction index predicted to identify the current vertex.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] priority

[0002] This application claims the benefit of priority to U.S. patent application No. 18 / 144,686, filed on May 8, 2023, entitled “VERTEXPOSITION CODING IN MESH COMPRESSION,” which claims the benefit of priority to U.S. Provisional Application No. 63 / 359,669, filed on July 8, 2022, entitled “VERTEX POSITION CODING IN MESH COMPRESSION.” Technical Field

[0003] The present disclosure includes embodiments related to mesh processing. Background Art

[0004] The background description provided herein is for the purpose of generally presenting the context of the present disclosure. To the extent described in this background section, the work of the presently named inventors and aspects of the description that may not be prior art at the time of filing are neither explicitly nor implicitly admitted to be prior art to the present disclosure.

[0005] Advances in three-dimensional (3D) capture, modeling, and rendering technology have led to the proliferation of 3D content across a variety of platforms and devices. Today, it is possible to capture a baby’s first steps in one area, allowing the baby’s grandparents to see (and in some cases interact with) the child in another area and enjoy a fully immersive experience with the child. To achieve this level of realism, models are becoming increasingly complex, with large amounts of data associated with the creation and use of these models. 3D meshes are widely used to represent this immersive content. Summary of the invention

[0006] Various aspects of the present disclosure provide methods and apparatus for mesh processing.In some examples, an apparatus for mesh processing includes a processing circuit.

[0007] According to one aspect of the present disclosure, a method for mesh processing performed in a video encoder is provided. In the method, multiple candidate predictions for a current vertex are determined, the current vertex is included in multiple vertices of a mesh, the multiple candidate predictions are determined based on multiple triangles in the mesh, and each of the multiple triangles corresponds to a corresponding candidate prediction. A prediction for the current vertex is determined from the multiple candidate predictions, the prediction is identified by a prediction index, and the prediction index is predetermined based on the number of multiple candidate predictions for the current vertex being greater than or equal to a threshold. Prediction information for the current vertex is encoded based on the determined prediction. The prediction information includes a prediction index that identifies the prediction of the current vertex.

[0008] In some embodiments, the threshold is equal to or greater than 2 and equal to or less than 5.

[0009] In an example, to determine a plurality of candidate predictions for a current vertex, a first triangle of a plurality of triangles is determined for the current vertex, wherein the first triangle shares an edge with a second triangle of the plurality of triangles. The current vertex is included in the second triangle, and the current vertex is opposite to the shared edge. A first candidate prediction of the plurality of candidate predictions is determined based on the first triangle determined by the parallelogram prediction, wherein the first candidate prediction and the first triangle form a first parallelogram.

[0010] In an example, to determine a plurality of candidate predictions for a current vertex, an average prediction of the plurality of candidate predictions is determined.

[0011] In an example, to determine a prediction for a current vertex, a prediction list for the current vertex is determined. Candidate predictors of the prediction list include an average prediction in the prediction list and a plurality of candidate predictions after the average prediction. An order of the plurality of candidate predictions in the prediction list is based on an order of a plurality of triangles corresponding to the plurality of candidate predictions. Each candidate predictor in the prediction list is associated with a corresponding prediction index.

[0012] In some implementations, the plurality of triangles are ordered based on an edge breaker algorithm in which the plurality of triangles are labeled in a spiral triangle spanning tree order.

[0013] In an example, based on predetermining the prediction index as a first prediction index in response to the number of multiple candidate predictions for the current vertex being equal to a threshold, the prediction of the current vertex is determined as a first predictor among the candidate predictors in the prediction list according to the predetermined prediction index. In an example, based on predetermining the prediction index as a second prediction index in response to the number of multiple candidate predictions for the current vertex being greater than the threshold, the prediction of the current vertex is determined as a second predictor among the candidate predictors in the prediction list according to the predetermined prediction index. In an example, based on predetermining the prediction index as a third prediction index in response to the number of multiple candidate predictions for the current vertex being equal to or greater than the threshold, the prediction of the current vertex is determined as a third predictor among the candidate predictors in the prediction list according to the predetermined prediction index.

[0014] In an example, to determine the prediction of the current vertex, a prediction difference between each candidate predictor in the prediction list and the current vertex is determined. A prediction corresponding to a minimum prediction difference among the prediction differences is further determined from the candidate predictors in the prediction list.

[0015] In an example, to determine a prediction for a current vertex, a prediction with a minimum prediction difference among a subset of candidate predictors of a prediction list is determined.

[0016] In some embodiments, a corresponding prediction index of each of the candidate predictors in the prediction list is determined based on one of fixed length coding, variable length coding, and differential coding.

[0017] In some embodiments, the prediction information of the current vertex includes residual information. The residual information indicates the difference between the current vertex and the determined prediction. In some embodiments, the residual information can be encoded. For example, the residual information can be encoded based on one of fixed length coding, exponential Golomb coding, and arithmetic coding.

[0018] According to another aspect of the present disclosure, a device is provided. The device includes a processing circuit. The processing circuit can be configured to perform any of the above-mentioned grid processing methods.

[0019] Various aspects of the present disclosure also provide a non-transitory computer-readable medium storing instructions, which, when executed by a computer, causes the computer to perform any of the above-mentioned grid processing methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings:

[0021] Figure 1 is a schematic diagram of an exemplary block diagram of a communication system (100).

[0022] Figure 2 is an exemplary block diagram of a decoder.

[0023] Figure 3 is an exemplary block diagram of an encoder.

[0024] Figure 4A is a schematic diagram of a first exemplary parallelogram prediction according to some embodiments of the present disclosure.

[0025] Figure 4B is a schematic diagram of a second exemplary parallelogram prediction according to some embodiments of the present disclosure.

[0026] Figure 5A An example of a five patch configuration for the edge breaker algorithm is shown.

[0027] Figure 5B An exemplary mesh traversal according to the edge breaker algorithm is shown.

[0028] Figure 6 is a schematic diagram of an example of predicting vertices based on parallelogram prediction.

[0029] Figure 7 is a flowchart outlining a process according to some embodiments of the present disclosure.

[0030] Figure 8 is a flow chart outlining another process according to some embodiments of the present disclosure.

[0031] Fig. 9 is a schematic diagram of a computer system according to one embodiment. DETAILED DESCRIPTION

[0032] Figure 1 A block diagram of a video processing system (100) in some examples is shown. The video processing system (100) is an example of the application of the disclosed subject matter in a video encoder and a video decoder in a streaming environment. The disclosed subject matter is also applicable to other applications supporting images and videos, including, for example, video conferencing, digital television, streaming services, storing compressed video on digital media including compact discs (CDs), digital video discs (DVDs), flash storage, etc.

[0033] The video processing system (100) includes: a capture subsystem (113), which may include a video source (101). The video source (101) may also include one or more images captured by a camera and / or generated by a computer. For example, a digital camera creates, for example, an uncompressed video picture stream (102). In one example, the video picture stream (102) includes samples taken by the digital camera. The video picture stream (102) is depicted as a thick line to emphasize the high amount of data when compared to the encoded video data (104) (or the encoded video bitstream). It can be processed by an electronic device (120) including a video encoder (103) coupled to the video source (101). The video encoder (103) may include hardware, software, or a combination thereof to implement or implement various embodiments of the disclosed subject matter as described in more detail below. The encoded video data (104) (or encoded video bitstream) is depicted as a thin line to emphasize the lower data volume when compared to the video picture stream (102), and can be stored on the streaming server (105) for future use. One or more streaming client subsystems (e.g., Figure 1The client subsystems (106) and (108) in the video streaming system can access the streaming server (105) to retrieve copies (107) and (109) of the encoded video data (104). The client subsystem (106) may include, for example, a video decoder (110) in an electronic device (130). The video decoder (110) decodes the input copy (107) of the encoded video data and creates an output video picture stream (111) that can be presented on a display (112) (e.g., a display screen) or other display device (not shown). In some streaming systems, the encoded video data (104), (107) and (109) (e.g., a video bitstream) can be encoded according to certain video encoding / compression standards. Examples of these standards include ITU-T Recommendation H.265. In one example, the video coding standard under development is informally referred to as Versatile Video Coding (VVC). The disclosed subject matter can be used in the context of VVC.

[0034] Note that the electronic devices (120) and (130) may include other components (not shown). For example, the electronic device (120) may include a video decoder (not shown), and the electronic device (130) may also include a video encoder (not shown).

[0035] Figure 2 An example block diagram of a video decoder (210) is shown. The video decoder (210) may be included in an electronic device (230). The electronic device (230) may include a receiver (231). The receiver (231) may include a receiving circuit (e.g., a network interface circuit). The video decoder (210) may be used to replace Figure 1 A video decoder (110) is shown in an example.

[0036] The receiver (231) can receive one or more encoded video sequences to be decoded by the video decoder (210). In one embodiment, one encoded video sequence is received at a time, wherein the decoding of each encoded video sequence is independent of the decoding of other encoded video sequences. The encoded video sequence can be received from a channel (201), which can be a hardware / software link to a storage device storing the encoded video data. The receiver (231) can receive the encoded video data and other data, such as encoded audio data and / or auxiliary data streams, which can be forwarded to their corresponding consuming entities (not shown). The receiver (231) can separate the encoded video sequence from the other data. To combat network jitter, a buffer memory (215) can be coupled between the receiver (231) and the entropy decoder / parser (220) (hereinafter referred to as "parser (220)"). In some applications, the buffer memory (215) is part of the video decoder (210). In other cases, it can be outside the video decoder (210) (not shown). In other cases, there may be a buffer memory (not shown) outside the video decoder (210), for example, to combat network jitter, and another buffer memory (215) inside the video decoder (210), for example, to handle playback timing. When the receiver (231) receives data from a store / forward device with sufficient bandwidth and controllability or from an isochronous network, the buffer memory (215) may not be required, or its capacity may be relatively small. For use on a best-effort packet network such as the Internet, a buffer memory (215) may be required, which may be relatively large and may advantageously have an adaptive size and may be implemented at least partially in an operating system or similar element (not shown) external to the video decoder (210).

[0037] The video decoder (210) may include a parser (220) to reconstruct symbols (221) from the encoded video sequence. The categories of these symbols include information for managing the operation of the video decoder (210) and potentially controlling a presentation device such as a display device (212) (e.g., a display screen) that is not part of the electronic device (230) but can be coupled to the electronic device (230), such as Figure 2As shown. The control information for the rendering device may be in the form of a Supplemental Enhancement Information (SEI) message or a Video User Information (VUI) parameter set fragment (not shown). The parser (220) may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may be based on a video coding technique or standard and may follow various principles, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (220) may extract a set of subgroup parameters of at least one pixel subgroup in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. The subgroup may include a group of pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The parser (220) may also extract information from the coded video sequence, such as transform coefficients, quantizer parameter values, MVs, etc.

[0038] The parser (220) may perform entropy decoding / parsing operations on the video sequence received from the buffer memory (215) to create symbols (221).

[0039] Depending on the type of coded video picture or part thereof (e.g., inter- and intra-pictures, inter- and intra-blocks) and other factors, the reconstruction of the symbol (221) may involve a number of different units. Which units are involved and how they are involved may be controlled by subgroup control information parsed from the coded video sequence by the parser (220). For clarity, such subgroup control information flow between the parser (220) and the following multiple units is not described.

[0040] In addition to the functional blocks already mentioned, the video decoder (210) can be conceptually subdivided into a number of functional units as described below. In a practical implementation operating under commercial constraints, many of these units interact closely with each other and may be at least partially integrated with each other. However, for the purpose of describing the disclosed subject matter, it is appropriate to conceptually subdivide it into the following functional units.

[0041] The first unit is a scaler / inverse transform unit (251). The scaler / inverse transform unit (251) receives quantized transform coefficients and control information, including which transform to use, block size, quantization factor, quantization scaling matrix, etc., as symbols (221) from the parser (220). The scaler / inverse transform unit (251) can output blocks including sample values, which can be input into the aggregator (255).

[0042] In some cases, the output samples of the scalar / inverse transform (251) may belong to an intra-coded block. A block that does not use prediction information from a previously reconstructed image, but may use prediction information from a previously reconstructed portion of the current picture. Such prediction information may be provided by an intra-picture prediction unit (252). In some cases, the intra-picture prediction unit (252) uses surrounding already reconstructed information obtained from the current picture buffer (258) to generate a block of the same size and shape as the block being reconstructed. The current picture buffer (258) buffers, for example, a partially reconstructed current picture and / or a fully reconstructed current picture. In some cases, the aggregator (255) adds the prediction information already generated by the intra-prediction unit (252) to the output sample information provided by the scalar / inverse transform unit (251) on a per-sample basis.

[0043] In other cases, the output samples of the scaler / inverse transform unit (251) may belong to an inter-frame coded and possibly motion compensated block. In this case, the motion compensated prediction unit (253) may access the reference picture memory (257) to obtain samples for prediction. After the extracted samples are motion compensated according to the symbols (221) associated with the block, these samples may be added by the aggregator (255) to the output of the scaler / inverse transform unit (251) (in this case referred to as residual samples or residual signal) to generate output sample information. The addresses within the reference picture memory (257) from which the motion compensated prediction unit (253) obtains the predicted samples may be controlled by motion vectors, and the motion compensated prediction unit (253) may obtain these addresses in the form of symbols (221), which may have, for example, X, Y and reference picture components. When sub-sampled accurate MV is used, motion compensation may also include interpolation of sample values ​​obtained from the reference picture memory (257), motion vector prediction mechanisms, etc.

[0044] The output samples of the aggregator (255) may be processed in a loop filter unit (256) using various loop filtering techniques. The video compression techniques may include loop filtering techniques controlled by parameters contained in the coded video sequence (also referred to as the coded video bitstream) and available to the loop filter unit (256) as symbols (221) from the parser (220). The video compression may also be responsive to meta-information obtained during decoding of a previous (in decoding order) portion of the coded picture or coded video sequence and to previously reconstructed and loop filtered sample values.

[0045] The output of the loop filter unit (256) may be a sample stream that may be output to a display device (212) and stored in a reference picture memory (257) for future inter-picture prediction.

[0046] Once fully reconstructed, certain coded pictures can be used as reference pictures for future predictions. For example, once a coded picture corresponding to a current picture is fully reconstructed, and the coded picture has been identified as a reference picture (e.g., by the parser (220)), the current picture buffer (258) can become part of the reference picture memory (257), and a new current picture buffer can be reallocated before starting reconstruction of the next coded picture.

[0047] The video decoder (210) may perform decoding operations according to a predetermined video compression technique in a standard such as ITU-T Rec. H.265. The coded video sequence may conform to the syntax specified by the video compression technology or standard used in the sense that the coded video sequence conforms to the syntax of the video compression technology or standard and the profile recorded in the video compression technology or standard. Specifically, the profile may select certain tools from all the tools available in the video compression technology or standard as the only tools available under the profile. Conformance to the standard also requires that the complexity of the coded video sequence is within the range defined by the level of the video compression technology or standard. In some cases, the level limits the maximum picture size, maximum frame rate, maximum reconstruction sampling rate (e.g., measured in megasamples per second), maximum reference picture size, etc. In some cases, the limits set by the level may be further limited by the Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management transmitted in the form of signaling in the coded video sequence.

[0048] In one embodiment, the receiver (231) may receive additional (redundant) data with the encoded video. The additional data may be included as part of the encoded video sequence. The video decoder (210) may use the additional data to correctly 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.

[0049] Figure 3 An example block diagram of a video encoder (303) is shown. The video encoder (303) is included in an electronic device (320). The electronic device (320) includes a transmitter (340) (e.g., a transmission circuit). The video encoder (303) can be used to replace Figure 1 A video encoder (103) in an example.

[0050] The video encoder (303) can be used to obtain the video source (301) (which is not Figure 3 In another example, the video source (301) is a part of the electronic device (320) to receive the video samples, and the video source can capture the video pictures to be encoded by the video encoder (303). In another example, the video source (301) is a part of the electronic device (320).

[0051] The video source (301) can provide a source video sequence to be encoded by the video encoder (303) in the form of a digital video sample stream, which can have any suitable bit depth (e.g., 8 bits, 10 bits, 12 bits, ...), any color space (e.g., BT.601 Y 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 (301) can be a storage device that stores previously prepared videos. In a video conferencing system, the video source (301) can be a camera that captures local image information as a video sequence. The video data can be provided as a series of multiple individual pictures that produce motion when viewed in sequence. The pictures themselves can be organized as a spatial array of pixels, where each pixel can include one or more samples, depending on the sampling structure, color space, etc. in use. The following description focuses on samples.

[0052] According to one embodiment, the video encoder (303) can encode and compress pictures of a source video sequence into an encoded video sequence (343) in real time or under any other time constraints required. Implementing an appropriate encoding speed is a function of the controller (350). In some embodiments, the controller (350) controls other functional units described below and is functionally coupled to the other functional units. For clarity, the coupling is not described. The parameters set by the controller (350) may include rate control related parameters (picture skipping, quantizer, lambda value of rate distortion optimization technology, etc.), picture size, picture group (GOP) layout, maximum motion vector search range, etc. The controller (350) can be configured to have other functions applicable to the video encoder (303) to optimize a particular system design.

[0053] In some embodiments, the video encoder (303) is configured to operate in an encoding loop. Briefly described, in one example, the encoding loop may include a source encoder (330) (e.g., responsible for creating symbols, e.g., a symbol stream, based on an input picture to be encoded and a reference picture) and a (local) decoder (333) embedded in the video encoder (303). The decoder (333) reconstructs the symbols in a manner similar to what the (remote) decoder will also create to create sample data. The reconstructed sample stream (sample data) is input to a reference picture memory (334). Since the decoding of the symbol stream produces a bit-accurate result that is independent of the decoder position (local or remote), the contents of the reference picture memory (334) are also bit-accurate between the local encoder and the remote encoder. In other words, when prediction is used during decoding, the predicted part of the encoder "sees" as a reference picture sample exactly the same sample value as the sample value "seen" by the decoder. This basic principle of reference picture synchronization (and the resulting drift if synchronization cannot be maintained, e.g., due to channel errors) is also used in some related technologies.

[0054] The operation of the "local" decoder (333) may be identical to the operation of a "remote" decoder such as the video decoder (210), described above in conjunction with Figure 2 However, a brief reference to Figure 2 , since symbols are available and the symbol encoding / decoding of the encoded video sequence by the entropy encoder (345) and the parser (220) can be lossless, the entropy decoding portion of the video decoder (210), including the buffer memory (215) and the parser (220), may not be fully implemented in the local decoder (333).

[0055] In one embodiment, except for the parsing / entropy decoding present in the decoder, any decoder technology is present in the corresponding encoder in the same or substantially the same functional form. Therefore, the disclosed subject matter focuses on the decoder operation. The description of the encoder technology can be simplified because these technologies are the inverse of the fully described decoder technology. In some areas, a more detailed description is provided below.

[0056] In some example operations, the source encoder (330) may perform motion compensated predictive coding, which predictively encodes an input picture based on one or more previously encoded pictures in a video sequence (referred to as "reference pictures"). In this manner, the encoding engine (332) encodes the differences between pixel blocks of the input picture and pixel blocks of reference pictures that may be selected as prediction references for the input picture.

[0057] The local video decoder (333) may decode the encoded video data of a picture that may be designated as a reference picture based on the symbols created by the source encoder (330). The operation of the encoding engine (332) may be conducive to a lossy process. When the encoded video data may be decoded at the video decoder ( Figure 3 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 (333) replicates the decoding process that may be performed by the video decoder on the reference picture, and may cause the reconstructed reference picture to be stored in the reference picture memory (334). In this way, the video encoder (303) may locally store copies of the reconstructed reference pictures that have the same content (absent transmission errors) as the reconstructed reference pictures that will be obtained by the remote video decoder.

[0058] The predictor (335) may perform a prediction search for the encoding engine (332). That is, for a new picture to be encoded, the predictor (335) may search the reference picture memory (334) for sample data (as candidate reference pixel blocks) or certain metadata, such as reference picture motion vectors, block shapes, etc., that may be used as appropriate prediction references for the new picture. The predictor (335) may operate on a sample block-pixel block basis to find an appropriate prediction reference. In some cases, as determined by the search results obtained by the predictor (335), the input picture may have prediction references extracted from multiple reference pictures stored in the reference picture memory (334).

[0059] The controller (350) may manage encoding operations of the source encoder (330), including, for example, the setting of parameters and sub-group parameters for encoding video data.

[0060] The outputs of all the aforementioned functional units may undergo entropy coding in an entropy encoder (345). The entropy encoder (345) converts the symbols generated by the various functional units into a coded video sequence by applying lossless compression to the symbols according to techniques such as Huffman coding, variable length coding, arithmetic coding, etc.

[0061] The transmitter (340) can buffer the encoded video sequence created by the entropy encoder (345) in preparation for transmission via a communication channel (360), which can be a hardware / software connection to a storage device for storing the encoded video data. The transmitter (340) can combine the encoded video data from the video encoder (303) with other data to be transmitted, such as encoded audio data and / or ancillary data streams (source not shown).

[0062] The controller (350) can manage the operation of the video encoder (303). During encoding, the controller (350) can assign a specific encoding picture type to each encoded picture, which can affect the encoding techniques that can be applied to the corresponding picture. For example, a picture can generally be assigned one of the following picture types:

[0063] An intra picture (I picture) may be a picture that is encoded and decoded without using any other picture in the sequence as a prediction source. Some video codecs allow different types of intra pictures, including, for example, independent decoder refresh (Intra-coded Picture Refresh, IDR) pictures. Those skilled in the art are aware of those variants of I pictures and their corresponding applications and features.

[0064] A prediction picture (P picture) may be a picture that is encoded and decoded using intra prediction or inter prediction by predicting sample values ​​of each block using at most one motion vector and a reference index.

[0065] Bidirectional prediction pictures (B pictures) can be pictures that use up to two motion vectors and reference indices to predict the sample values ​​of each block, and are encoded and decoded using intra-frame prediction or inter-frame prediction. Similarly, multi-prediction pictures can use more than two reference pictures and related metadata to reconstruct the sample values ​​of a single block.

[0066] A source picture may typically be spatially subdivided into a number of blocks of samples (e.g., 4×4, 8×8, 4×8 or 16×16 blocks of samples each) and coded on a block-by-block basis. Depending on the coding allocation applied to the blocks' respective pictures, the blocks may be predictively coded with reference to other (already coded) blocks. For example, blocks of an I picture may be non-predictively coded or may be predictively coded (spatial prediction or intra prediction) with reference to already coded blocks of the same picture. Pixel blocks of a P picture may be predictively coded with reference to one previously coded reference picture, either via spatial prediction or via temporal prediction. Blocks of a B picture may be predictively coded with reference to one or two previously coded reference pictures, either via spatial prediction or via temporal prediction.

[0067] The video encoder (303) may perform encoding operations according to a predetermined video encoding technique or standard (e.g., ITU-T Rec. H.265). In its operation, the video encoder (303) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in the input video sequence. Thus, the encoded video data may conform to the syntax specified by the video encoding technique or standard being used.

[0068] In one embodiment, the transmitter (340) may transmit additional data along with the encoded video. The source encoder (330) may include this data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data (e.g., redundant pictures and slices), SEI messages, VUI parameter set fragments, etc.

[0069] Video may be captured in the form of multiple source pictures (video pictures) in time order. Intra-picture prediction (often abbreviated to intra-prediction) exploits spatial correlations in a given picture, while inter-picture prediction exploits (temporal or other) correlations between pictures. In one example, a particular picture being encoded / decoded is divided into blocks, referred to as the current picture. When a block in the current picture is similar to a reference block in a reference picture that was previously encoded in the video and is still buffered, the block in the current picture may be encoded by a vector called a motion vector. In the case of using multiple reference pictures, the motion vector points to a reference block in a reference picture and may have a third dimension that identifies the reference picture.

[0070] In some embodiments, a bidirectional prediction technique may be used in inter-picture prediction. According to the bidirectional prediction technique, two reference pictures are used, for example, a first reference picture and a second reference picture, both of which are before the current picture in the video in decoding order (but may be in the past and future, respectively, in display order). A block in the current picture may be encoded by a first motion vector pointing to a first reference block in the first reference picture and a second motion vector pointing to a second reference block in the second reference picture. The block may be predicted by a combination of the first reference block and the second reference block.

[0071] In addition, merge mode techniques can be used in inter-picture prediction to improve coding efficiency.

[0072] According to some embodiments of the present disclosure, prediction is performed in units of blocks, for example, inter-picture prediction and intra-picture prediction. For example, according to the HEVC standard, a picture in a video picture sequence is divided into coding tree units (Coding Tree Unit, CTU for short) for compression, and the CTUs in the picture have the same size, for example, 64×64 pixels, 32×32 pixels, or 16×16 pixels. Typically, a CTU includes three coding tree blocks (Coding Tree Block, CTB for short), namely a luminance CTB and two chrominance CTBs. Each CTU can be recursively quadtree-divided into one or more coding units (CUs). For example, a 64×64 pixel CTU can be divided into a 64×64 pixel CU, or 4 32×32 pixel CUs, or 16 16×16 pixel CUs. In one example, each CU is analyzed to determine the prediction type of the CU, for example, an inter-frame prediction type or an intra-frame prediction type. According to temporal and / or spatial predictability, the CU is divided into one or more prediction units (PUs). Typically, each PU includes a luma prediction block (PB) and two chroma PBs. In one embodiment, the prediction operation in encoding (encoding / decoding) is performed in units of prediction blocks. Using the luma prediction block as an example of a prediction block, the prediction block includes a matrix of pixel values ​​(e.g., luma values), such as 8×8 pixels, 16×16 pixels, 8×16 pixels, 16×8 pixels, etc.

[0073] It should be noted that the video encoders (103) and (303) and the video decoders (110) and (210) can be implemented using any suitable technology. In one embodiment, the video encoders (103) and (303) and the video decoders (110) and (210) can be implemented using one or more integrated circuits. In another embodiment, the video encoders (103) and (303) and the video decoders (110) and (210) can be implemented using one or more processors that execute software instructions.

[0074] The present disclosure includes embodiments related to methods and systems for vertex position encoding in mesh compression.

[0075] A mesh may include multiple polygons that describe the surface of a volumetric object. Each polygon of a mesh may be defined by the vertices of the corresponding polygons in a three-dimensional (3D) space and information about how the vertices are connected (which may be referred to as connectivity information). In some embodiments, vertex attributes (e.g., color, normal, etc.) may be associated with mesh vertices. Attributes (or vertex attributes) may also be associated with mesh surfaces using mapping information that parameterizes the mesh using a two-dimensional (2D) attribute map. This mapping is typically described by a set of parameter coordinates (referred to as UV coordinates or texture coordinates) associated with mesh vertices. Two-dimensional attribute maps may be used to store high-resolution attribute information such as textures, normals, and displacements. This information may be used for a variety of purposes such as texture mapping and shading.

[0076] Dynamic mesh sequences may require a lot of data because dynamic meshes may contain a lot of information that changes over time. Therefore, efficient compression techniques are needed to store and transmit these contents. The Moving Picture Experts Group (MPEG) has developed network compression standards for Interpolation Coding (IC), MESHGRID, and Frame-based Animated Mesh Compression (FAMC) that can be used to handle dynamic meshes with constant connectivity, time-varying geometry, and vertex attributes. However, these standards may not consider time-varying attribute graphs and connectivity information. Digital Content Creation (DCC) tools usually generate such dynamic meshes. However, it is a challenge for volumetric acquisition techniques to generate dynamic meshes with constant connectivity, especially under real-time constraints. Existing standards may not support such content (e.g., constantly connected dynamic meshes). MPEG is planning to develop new mesh compression standards to directly handle dynamic meshes with time-varying connectivity information and optional time-varying attribute graphs. The new mesh compression standard targets lossy and lossless compression for a variety of applications, such as real-time communications, storage, free-viewpoint video, augmented reality (AR) and virtual reality (VR). Features such as random access and scalable / progressive coding are also considered.

[0077] Mesh geometry information may include vertex connectivity information, 3D coordinates, 2D texture coordinates, etc. Compressed vertex 3D coordinates (also called vertex positions) may be very important because in many cases, they can take up a large portion of the entire geometry-related data.

[0078] In the present disclosure, for simplicity and clarity, a triangular mesh is used as an example to describe the embodiments. However, other polygonal meshes (e.g., quadrilateral or pentagonal meshes) may also be applied to the embodiments in the present disclosure. In the example, a triangular mesh is a type of polygonal mesh that includes a set of triangles. The set of triangles may be connected by common edges or angles of the set of triangles. The common edges or angles may be represented as mesh vertices.

[0079] Vertex position compression can be achieved through parallelogram prediction. In parallelogram prediction, the compression algorithm can introduce new vertices that are included in the predicted triangle. The predicted triangle can be formed based on the edges shared with the adjacent triangles. In an example, the adjacent triangles can be pre-encoded. The new vertex can indicate the predicted position of the current vertex. The new vertex can form a parallelogram that includes three vertices in the adjacent triangle. For example, Figure 4A As shown, the mesh (400A) may include a plurality of triangles, for example, triangle (412). Each triangle may include three vertices. For example, triangle (412) may include vertices (406), (408), and (410). In order to encode the current vertex (402) according to the parallelogram prediction, a predicted vertex (or prediction) (404) of the current vertex (402) may be generated based on the predicted triangle (414). The predicted vertex (404) may be included in the predicted triangle (414). The predicted triangle (414) may share an edge (416) with the triangle (412). Vertices (406), (408), (410), and the predicted vertex (404) may form a parallelogram. In addition, the current vertex (402) may be included in a triangle (418) of the mesh (400A), wherein the triangle (418) and the triangle (412) share an edge (416).

[0080] A multi-parallelogram prediction may be applied to predict the current vertex. The multi-parallelogram prediction may use the average position given by two or more parallelogram predictions, for example, whenever these parallelogram predictions are available. Figure 4B An example of a double parallelogram prediction is provided. Figure 4BAs shown, the current vertex (420) may be included in a first triangle (434) of the mesh (400B). The first triangle (434) may include vertices (420), (438), and (442). The first triangle (434) may share an edge (444) with an adjacent triangle (428) of the mesh (400B). The current vertex (420) may also be included in a second triangle (436) including vertices (420), (438), and (440). The second triangle (436) may share an edge (446) with an adjacent triangle (426) of the mesh (400B). Based on the shared edge (444), a first predicted vertex (or first prediction) (424) may be determined. The first predicted vertex (424) may form a first parallelogram with the adjacent triangle (428). Based on the shared edge (446), a second predicted vertex (or second prediction) (422) may be determined. The second predicted vertex (422) may form a second parallelogram with the adjacent triangle (426). Therefore, the current vertex (420) may be further predicted by the average value of the first predicted vertex (424) and the second predicted vertex (422).

[0081] In the present disclosure, a method and / or system for vertex position encoding for mesh compression is provided. In an embodiment, based on a parallelogram prediction, a predicted position value (or prediction or predicted vertex) of a current vertex can be selected from a plurality of candidate position values ​​(or candidate predictions or candidate predicted vertices). The selected predicted vertex can be encoded (or identified) by an index. The prediction residual between the selected predicted vertex and the current vertex can also be encoded.

[0082] In the present disclosure, many methods and / or systems may be proposed for vertex position prediction in mesh compression. It should be noted that these methods and / or systems may be applied individually or in any form of combination. It should also be noted that these methods may be applied not only to dynamic meshes, but also to static meshes. A static mesh may include only one frame, or the mesh content of a static mesh may not change over time. In addition, the disclosed methods and / or systems are not limited to vertex position prediction. The disclosed methods and / or systems may also be applied to, for example, 2D texture coordinate prediction or more general multi-prediction based schemes.

[0083] The triangles in a triangular mesh (or mesh) may be sorted. The order of the triangles in the mesh may be traversed based on an edge breaker algorithm or other partitioning algorithm. In addition, in examples, the vertices in the mesh may also be sorted based on the order of the triangles. In examples, the order or traversal order of the triangles and vertices may be determined based on the same scheme or different schemes.

[0084] Figure 5A and 5BAn exemplary ordering of triangles and vertices in a mesh based on the edge breaker algorithm is shown. Figure 5A Five exemplary patch configurations for the edge breaker algorithm are shown. Figure 5A As shown, v is the central vertex of the patch and T is the current triangle. The active gate (or current triangle) in each patch can be represented as T. In patch C, a complete triangle that forms a fan (or rotation) around v can be provided. In patch L, one or more missing triangles may be located on the left side of the active gate T. In patch R, one or more missing triangles may be located on the right side of the active gate T. In patch E, v is adjacent only to T. In patch S, one or more missing triangles may be located at a position other than the left or right side of the active gate T. Figure 5B An exemplary traversal of a mesh (500) is shown, wherein the triangles of the mesh (500) may be ordered based on a traversal of an edge breaker algorithm. Figure 5B As shown, the triangles in the mesh (500) can be traversed along the spiral triangle spanning tree. For example, the traversal can start from the triangle (502) of type C (or patch C). Then, the traversal can proceed along the branch adjacent to the right edge of the triangle (e.g., (502)). When the triangle of type E is reached (e.g., (504)), the traversal can be stopped. According to the edge breaker algorithm, the triangles of the mesh (500) can be traversed (or sorted) in a sequence of CRSRLECRRRLE, which can be Figure 5B The vertices in each triangle of the mesh (500) may also be ordered based on the order of the triangles.

[0085] In a triangle mesh, each triangle can also be called a face, with three vertices. For two triangles that share an edge, parallelogram prediction can be applied to use one of the two opposite vertices in the two triangles as the predictor for the other vertex. Figure 6 As shown, two triangles ABC and DBC can share edge BC. The coordinates of the vertices A, B, and C that have been encoded can be applied to predict the coordinates of D. For example, the predicted vertex (or prediction) D' can be determined based on the parallelogram prediction. The coordinates of the predicted vertex D' can be determined as follows in equation (1):

[0086] D' = B + C – A Equation (1)

[0087] In this way, the four vertices (D', B, A, C) can form a parallelogram, such as Figure 6As shown. Since each vertex has 3D coordinates, equation (1) can be used to calculate each coordinate component of the predicted vertex D'. For example, assuming that the subscripts x, y, and z represent 3D coordinates in the xyz space, the coordinate components of the predicted vertex D' in the xyz space can be provided in equations (2)-(4):

[0088] D x '=B x +C x –A x Equation (2)

[0089] D y '=B y +C y –A y Equation (3)

[0090] D z '=B z +C z –A z Equation (4)

[0091] If the position values ​​of vertices A, B, and C are already encoded and can be used for prediction, triangle ABC can be represented as a prediction candidate (or prediction triangle) for vertex D. Depending on the number of existing encoded vertices and shared edges, a vertex can have zero, one, two, or more prediction candidates. If there is more than one prediction candidate for the current vertex, the prediction candidates can be sorted based on the triangle order of the mesh. For example, the triangles can be sorted based on an edge breaker algorithm, etc.

[0092] In the present disclosure, multiple predictions (or parallelogram predictions) for the current vertex may be determined. An average (or average prediction) of the multiple parallelogram predictions may be further determined. A prediction (or predicted vertex) for the current vertex may be selected from a prediction list. The predictors (or candidate predictors) of the prediction list may include, for example, available parallelogram predictions and an average of multiple parallelogram predictions. The associated prediction error may be encoded, which may also be referred to as a prediction residual. The prediction error (or prediction residual) may indicate the difference between the prediction and the current vertex. In an embodiment, the prediction may correspond to the minimum prediction error between the current vertex and each of the predictors (or candidate predictors) in the prediction list. In an embodiment, based on the number of predictors (or candidate predictors) in the prediction list being equal to or greater than a threshold, a prediction may be predefined in the prediction list. Therefore, based on the number of predictors (or candidate predictors) in the prediction list being equal to or greater than a threshold, a specific (or predetermined) predictor in the prediction list may be selected as the prediction for the current vertex.

[0093] In the present disclosure, all triangles in a triangular mesh may be sorted. For example, the triangles may be sorted based on an edge breaker algorithm. In addition, all vertices or a subset of vertices in a triangular mesh may be sorted. In an example, the vertices may be sorted based on the order of the triangles.

[0094] Given a vertex V in a triangle mesh, and the vertex V includes N prediction candidates (or prediction triangles). N prediction candidates can generate N prediction values, V 1 '、V 2 ', ..., V N '. For example, Figure 4B As shown, the current vertex (420) may have two prediction triangles (430) and (432). Each of the prediction triangles (430) and (432) may generate a corresponding prediction value (or prediction vertex), for example, (422) and (424). The prediction values ​​of the current vertex may be sorted based on the order of the corresponding prediction triangles in the mesh. If duplicate prediction values ​​appear in the prediction values, such duplicate prediction values ​​may be removed from the prediction value list.

[0095] In an example, if N=0, there are no prediction candidates available for vertex V. If V is the first vertex to be encoded in the mesh, the prediction value V' of the first vertex can be set to 0, and the prediction residual R can be set to V. Therefore, V'=0, R=V. If V is not the first vertex to be encoded, the prediction value V' of V can be set to the encoding value of the previously encoded vertex in vertex order. Therefore, the previously encoded vertex can be the predictor of vertex V. The prediction residual R can be determined as the difference between vertex V and the prediction value (or predicted vertex) V', R=V-V'.

[0096] In an example, if N=1, there is only one prediction candidate available for vertex V. Therefore, a prediction value V' may be determined based on the only prediction candidate, and a prediction residual R may be determined as the difference between V and V', R=V-V'.

[0097] In the example, if N>=2, more than one prediction candidate is available for vertex V. Therefore, multiple prediction values ​​(or predicted vertices) may be determined based on more than one prediction candidate. In one embodiment, the average of the prediction values ​​may be considered as an additional predictor V. 0 '. V can be determined in equation (5) 0 ':

[0098] V 0 '= (V 1 '+ V 2 ' + … + V N ') / N Equation (5)

[0099] If the average predicted value V 0 'Equal to the predicted value V 1 '、V 2 ', ..., V N ', then the average prediction value V can be removed 0 ' or repeated predicted values.

[0100] In one embodiment, on the encoder side, V i ' can be compared with V, where 0<=i<=N. A prediction index j can be selected. The selected prediction index j indicates V i ', the selected predicted value corresponding to V and each predicted value V i In some embodiments, the minimum error (or minimum prediction residual) can be obtained by L 0 Norm, L 1 , norm, L 2 norm or some other norm. For example, L can be determined in equation (6) as follows 0 Norm:

[0101]

[0102] Among them, V x 、V y , and V z is the coordinate of V in xyz space, and V 0x’ 、V 0y ' and V 0z 'It's V 0 'Coordinates in xyz space.

[0103] On the decoder side, the selected index (e.g., prediction index) can be decoded and the selected predictor (or prediction value) can be restored from the list of predictors (or candidate predictors). For example, the decoder can determine one or more prediction values ​​for the current vertex based on a prediction mode (e.g., parallelogram prediction). In addition, the average of multiple prediction values ​​can be considered as a predictor. The average prediction value and one or more prediction values ​​can be sorted to form a prediction list. In an example, the prediction list generated on the decoder side can be the same as the prediction list generated on the encoder side. Based on the decoded prediction index, the selected predictor can be restored based on the prediction index from the prediction list.

[0104] In an embodiment, on the encoder side, if N is equal to some specified value (e.g., 2<=N<=5), a fixed prediction index (e.g., one of indexes 0, 1, ..., N) may be selected in the prediction list. The fixed prediction index indicates a predetermined predictor (or predicted vertex) for the current vertex. Therefore, the prediction index may not be encoded. On the decoder side, the decoder may first construct a prediction list. The decoder may then recover (or determine) the predictor based on the fixed prediction index. In an example, if N>2, prediction index 0 may be selected, which may indicate an average of multiple predictions. In an example, if N>2, the prediction index may not be encoded.

[0105] In an embodiment, on the encoder side, if N is equal to or greater than a specific value (or threshold), a fixed prediction index may be selected or determined. In an example, the specific value (or threshold) may be 2. In an example, the threshold (or specific value) may be between 2 and 10. Therefore, all prediction indexes in the prediction list may not be encoded. On the decoder side, the decoder may recover (or determine) the prediction index based on the number of N. For example, for N=2, prediction index 1 may be selected. For N>2, prediction index 0 may be selected. In another example, for N>=2, prediction index 0 may be selected.

[0106] In one embodiment, an upper limit M may be set. The upper limit M may indicate how many prediction candidates may be considered (or applied) in the prediction list. In one case, if N>M, then for each vertex in the mesh, only the first M prediction candidates are considered. Therefore, the prediction value V associated with the first M prediction candidates is applied. 1 '、V 2 ', ..., V M In an embodiment, the average of the first M predicted values ​​may be determined in equation (7):

[0107] V 0 '=(V 1 '+ V 2 ' + … + V M ') / M Equation (7)

[0108] M can be an integer, for example, 4. Thus, up to M (e.g., 4) prediction candidates can be considered. Note that the average prediction V 0 ' can be placed at different positions in the candidate list. In this example, the average prediction V 0 ' can be the first predictor in the prediction candidate list. In the example, the average prediction V 0 ' can be the last predictor in the prediction candidate list. In the example, the average prediction V 0 ' can be located at the predicted value V 1 '、V2 ', ..., V M 'middle.

[0109] For a prediction candidate V 1 '、V 2 ', ..., V N ' and average V 0 ', the vertex V can encode the selected prediction index.

[0110] In some embodiments, the prediction index needs to be encoded only when there is more than one prediction candidate. For example, if two or more prediction candidates are available for the current vertex, an index indicating the selected prediction candidate can be encoded on the encoder side. On the decoder side, the decoder can determine the two or more prediction candidates in the same order as the encoder. The decoder can decode the encoded prediction index and reconstruct the selected prediction candidate based on the prediction index from the two or more prediction candidates.

[0111] In an embodiment, if no prediction candidate is determined, or only one prediction candidate is determined, then the prediction index may not need to be encoded. Thus, the prediction value may be the current vertex itself or the only prediction candidate. In an embodiment, the prediction index may always be encoded regardless of how many predictor candidates are available. When no predictor is available, then the value of the index transmitted in the signaling form may not affect the decoding process at the decoder side.

[0112] In some embodiments, when a fixed prediction index is always selected or predetermined for some specified value of N, the prediction index may not need to be encoded. Therefore, the prediction index of the predictor (or candidate predictor) in the candidate list may not need to be encoded, and the selected prediction index from the candidate list may not be transmitted to the decoder in a signaling form.

[0113] In some embodiments, the prediction index may be non-fixed and may be selected from the prediction candidates. When more than one prediction candidate is determined for the current vertex, the prediction index may be encoded, for example, using fixed-length coding. For example, if three prediction candidates are determined for the current vertex, four possible prediction indexes 0, 1, 2, and 3 may be required (0: indicates the average of candidates 1, 2, and 3). Therefore, a two-digit binary number may be applied to represent each of the four prediction indexes. It should be noted that different vertices of the triangular mesh may use different fixed lengths. For example, if another vertex has 7 prediction candidates, the other vertex may use a three-digit binary number for prediction index representation. The output from the fixed-length coding may be further compressed by entropy coding (e.g., arithmetic coding).

[0114] Alternatively, variable length coding may be used to encode the prediction index. For example, if four prediction candidates are determined for the current vertex, five possible prediction indexes 0, 1, 2, 3, and 4 may be needed. Variable length codes of 0, 100, 101, 110, and 111 may be assigned to represent the five prediction indexes 0, 1, 2, 3, and 4, respectively. Alternatively, variable length codes of 1, 01, 001, 0001, and 00001 may be applied to represent the five prediction indexes 0, 1, 2, 3, and 4, respectively. It should be noted that different vertices of the triangle mesh may use different variable lengths. The output from the variable length coding may be further compressed by entropy coding (e.g., arithmetic coding).

[0115] Alternatively, the prediction index can be differentially encoded, wherein the prediction index of the current vertex can be predicted from a previously encoded prediction index, and a prediction error associated with the prediction index can also be encoded. For example, the difference between a first prediction index of the predictor and a second prediction index of the predictor can be first encoded. The second prediction index can be further encoded based on the difference between the first prediction index and the second prediction index.

[0116] When the upper limit M is set to limit the maximum number of prediction candidates, and if more than M prediction candidates are available for vertex V, only the first M prediction candidates can be used to predict vertex V. Therefore, (M+1) possible prediction indexes can be encoded, where M indicates the first M prediction candidates and 1 indicates the average value of the first M prediction candidates. If duplicates appear in the predicted values, the duplicates can be removed. Therefore, the possibility of the prediction index can also be reduced. If a fixed prediction index is always selected, the prediction index may not be encoded. If the prediction index is not fixed and is selected from more than one prediction candidate, the prediction index may be encoded. The prediction index may be encoded by fixed length coding, variable length coding, differential coding, etc.

[0117] In an embodiment, a prediction residual R of a position value (or a prediction value) may be encoded (or determined). The prediction residual R may indicate the difference between the prediction value of the current vertex and the current vertex. The prediction residual R may be encoded by fixed length coding, exponential Golomb coding, arithmetic coding, etc. Therefore, the decoder may reconstruct the current vertex based on the prediction value and the prediction residual, wherein the prediction value may be determined based on a decoded prediction index from a prediction list.

[0118] Figure 7A flow chart outlining a process (700) according to an embodiment of the present disclosure is shown. The process (700) may be used in an encoder, such as a video encoder. In various embodiments, the process (700) is performed by a processing circuit, such as a processing circuit that performs the functions of a video encoder (103), a processing circuit that performs the functions of a video encoder (303), etc. In some embodiments, the process (700) is implemented in software instructions, so when the processing circuit executes the software instructions, the processing circuit performs the process (700). The process starts at (S701) and proceeds to (S710).

[0119] In step (S710), a plurality of candidate predictions for a current vertex is determined. The current vertex is included in a plurality of vertices of a mesh. The plurality of candidate predictions are determined based on a plurality of triangles in the mesh. Each triangle in the plurality of triangles corresponds to a corresponding candidate prediction.

[0120] At step (S720), a prediction for the current vertex is determined from the plurality of candidate predictions. The prediction is identified by a prediction index, which is predetermined based on the number of the plurality of candidate predictions for the current vertex being greater than or equal to a threshold.

[0121] At step (S730), prediction information of the current vertex is encoded based on the determined prediction. The prediction information includes a prediction index identifying the prediction of the current vertex.

[0122] In some embodiments, the threshold is equal to or greater than 2 and equal to or less than 5.

[0123] In an example, to determine multiple candidate predictions for a current vertex, a first triangle of a plurality of triangles is determined for the current vertex, wherein the first triangle shares an edge with a second triangle of the plurality of triangles. The current vertex is included in the second triangle, and the current vertex is opposite to the shared edge. A first candidate prediction of the plurality of candidate predictions is determined based on the determined first triangle based on the parallelogram prediction, wherein the first candidate prediction and the first triangle form a first parallelogram.

[0124] In an example, to determine a plurality of candidate predictions for a current vertex, an average prediction of the plurality of candidate predictions is determined.

[0125] In an example, to determine a prediction for a current vertex, a prediction list for the current vertex is determined. Candidate predictors of the prediction list include an average prediction in the prediction list and a plurality of candidate predictions after the average prediction. An order of the plurality of candidate predictions in the prediction list is based on an order of a plurality of triangles corresponding to the plurality of candidate predictions. Each candidate predictor in the prediction list is associated with a corresponding prediction index.

[0126] In some implementations, the plurality of triangles are ordered based on an edge breaker algorithm in which the plurality of triangles are labeled in a spiral triangle spanning tree order.

[0127] In an example, based on predetermining the prediction index as a first prediction index in response to the number of multiple candidate predictions for the current vertex being equal to a threshold, the prediction of the current vertex is determined as a first predictor among the candidate predictors in the prediction list according to the predetermined prediction index. In an example, based on predetermining the prediction index as a second prediction index in response to the number of multiple candidate predictions for the current vertex being greater than the threshold, the prediction of the current vertex is determined as a second predictor among the candidate predictors in the prediction list according to the predetermined prediction index. In an example, based on predetermining the prediction index as a third prediction index in response to the number of multiple candidate predictions for the current vertex being equal to or greater than the threshold, the prediction of the current vertex is determined as a third predictor among the candidate predictors in the prediction list according to the predetermined prediction index.

[0128] In an example, to determine the prediction of the current vertex, a prediction difference between each candidate predictor in the prediction list and the current vertex is determined. A prediction corresponding to a minimum prediction difference among the prediction differences is further determined from the candidate predictors in the prediction list.

[0129] In an example, to determine a prediction for a current vertex, a prediction with a minimum prediction difference among a subset of candidate predictors of a prediction list is determined.

[0130] In some embodiments, a corresponding prediction index of each of the candidate predictors in the prediction list is determined based on one of fixed length coding, variable length coding, and differential coding.

[0131] Then, the process proceeds to (S799) and terminates.

[0132] The process (700) may be modified as appropriate. Steps in the process (700) may be modified and / or omitted. Additional steps may be added. Any suitable order of implementation may be used.

[0133] Figure 8 A flow chart outlining a process (800) according to an embodiment of the present disclosure is shown. The process (800) may be used in a decoder, such as a video decoder. In various embodiments, the process (800) is performed by a processing circuit, such as a processing circuit that performs the functions of a video decoder (110), a processing circuit that performs the functions of a video decoder (210), etc. In some embodiments, the process (800) is implemented in software instructions, so when the processing circuit executes the software instructions, the processing circuit performs the process (800). The process starts at (S801) and proceeds to (S810).

[0134] In step (S810), encoding information of a mesh including a plurality of triangles and a plurality of vertices is received.

[0135] In step (S820), a plurality of candidate predictions of a current vertex are determined based on a plurality of triangles, wherein the current vertex is included in a plurality of vertices of a mesh, and each of the plurality of triangles corresponds to a corresponding candidate prediction.

[0136] At step (S830), a prediction of the current vertex is determined based on the plurality of candidate predictions. The prediction is indicated by a predetermined prediction index, which is determined based on the number of candidate predictions of the current vertex being equal to or greater than a threshold.

[0137] At step (S840), the current vertex is reconstructed based on the determined prediction.

[0138] Then, the process proceeds to (S899) and terminates.

[0139] The process (800) may be modified as appropriate. Steps in the process (800) may be modified and / or omitted. Additional steps may be added. Any suitable order of implementation may be used.

[0140] The above techniques may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media, such as non-transitory computer-readable storage media. Fig. 9 A computer system (900) suitable for implementing some embodiments of the disclosed subject matter is shown.

[0141] Computer software may be encoded using any suitable machine code or computer language, which may be subjected to assembly, compilation, linking or similar mechanisms to create code comprising instructions, which may be executed directly by one or more computer central processing units (CPUs), graphics processing units (GPUs), and other processing circuits, or by interpretation, microcode execution, and the like.

[0142] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablets, servers, smartphones, gaming devices, IoT devices, etc.

[0143] Fig. 9 The components of the computer system (900) shown in the figure are exemplary in nature and are not intended to impose any limitation on the scope of use or functionality of computer software implementing the embodiments of the present disclosure. The configuration of the components should not be interpreted as having any dependency or requirement on any one component or combination of components shown in the exemplary embodiment of the computer system (900).

[0144] The computer system (900) may include certain human-machine interface input devices. Such human-machine interface input devices may respond to input from one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), olfactory input (not shown). The human-machine interface devices may also be used to capture certain media that are not necessarily directly related to a person's conscious input, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0145] Input human interface devices may include one or more of the following (only one of each is depicted): keyboard (901), mouse (902), touchpad (903), touch screen (910), data gloves (not shown), joystick (905), microphone (906), scanner (907), camera (908).

[0146] The computer system (900) may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate the senses of one or more human users through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback through a touch screen (910), a data glove (not shown), or a joystick (905), but there may also be tactile feedback devices that are not used as input devices), audio output devices (e.g., speakers (909), headphones (not shown)), visual output devices (e.g., screens (910), including cathode ray tube (CRT) screens, liquid crystal display (LCD) screens, plasma screens, organic light-emitting diode (OLED) screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of which are capable of outputting two-dimensional visual output or more than three-dimensional output through methods such as stereo output; virtual reality glasses (not shown), holographic displays, and smoke boxes (not shown)) and printers (not shown).

[0147] The computer system (900) may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW (920) with CD / DVD or similar media (921), thumb drives (922), removable hard disk drives or solid-state drives (923), traditional magnetic media such as magnetic tapes and floppy disks (not shown), dedicated read-only memory (ROM) / application-specific integrated circuit (ASIC) / programmable logic device (PLD) devices such as security dongles (not shown), etc.

[0148] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not include transmission media, carrier waves, or other transient signals.

[0149] The computer system (900) may also include an interface (954) to one or more communication networks (955). The network may be wireless, wired, or optical. The network may also be a local area network, a wide area network, a metropolitan area network, an in-vehicle and industrial network, a real-time network, a delay-tolerant network, etc. Examples of networks include local area networks such as Ethernet, wireless local area networks (LAN), cellular networks including Global System for Mobile Communications (GSM), 3G, 4G, 5G, Long-Term Evolution (LTE), etc., television wired or wireless wide area digital networks including cable television, satellite television, and terrestrial broadcast television, in-vehicle and industrial networks including Controller Area Network Bus (CANBus), etc. Some networks typically require external network interface adapters that connect to some general data port or peripheral bus (949) (e.g., a Universal Serial Bus (USB) port of the computer system (900)); others are typically integrated into the core of the computer system (900) by connecting to a system bus as described below (e.g., an Ethernet interface in a PC computer system or a cellular network interface in a smart phone computer system). Using any of these networks, the computer system (900) can communicate with other entities. Such communication can be one-way, receive-only (e.g., broadcast television), one-way, send-only (e.g., CANbus to certain CANbus devices), or two-way, for example, to other computer systems using local or wide area digital networks. As described above, certain protocols and protocol stacks can be used on each of these networks and network interfaces.

[0150] The aforementioned human interface devices, human-accessible storage devices, and network interfaces may be attached to the core (940) of the computer system (900).

[0151] The core (940) may include one or more central processing units (CPUs) (941), graphics processing units (GPUs) (942), dedicated programmable processing units in the form of field-programmable gate arrays (FPGAs) (943), hardware accelerators for specific tasks (944), graphics adapters (950), etc. These devices, along with read-only memory (ROM) (945), random access memory (946), and internal large-capacity storage (947) such as internal non-user accessible hard disk drives and solid state drives (SSDs) may be connected via a system bus (948). In some computer systems, the system bus (948) may be accessed in the form of one or more physical plugs to allow expansion of additional CPUs, GPUs, etc. Peripheral devices may be connected to the core's system bus (948) directly or via a peripheral bus (949). In one example, a screen (910) may be connected to a graphics adapter (950). The architecture of the peripheral bus includes peripheral component interconnect (PCI), USB, etc.

[0152] The CPU (941), GPU (942), FPGA (943) and accelerator (944) can execute certain instructions, which can be combined to form the above-mentioned computer code. The computer code can be stored in ROM (945) or random access memory (Random Access Memory, RAM) (946). Transition data can also be stored in RAM (946), while permanent data can be stored in, for example, internal mass storage (947). Fast storage and retrieval of any storage device can be achieved by using a cache memory, which can be closely associated with one or more CPUs (941), GPUs (942), mass storage (947), ROM (945), RAM (946), etc.

[0153] The computer readable medium may have computer codes for performing various computer-implemented operations. The medium and computer codes may be specially designed and constructed for the purpose of the present disclosure, or may be of a type well known and available to those skilled in the art of computer software.

[0154] As an example and not limitation, a computer system having architecture (900), in particular a core (940), can perform functions as a result of software contained in one or more tangible computer-readable media through 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 as described above and certain memories of a core (940) having non-transitory properties, for example, a core internal mass storage (947) or ROM (945). Software implementing various embodiments of the present disclosure can be stored in such a device and executed by the core (940). Depending on specific needs, the computer-readable medium may include one or more storage devices or chips. The software can cause the core (940) 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 (946) and modifying such a data structure according to a software-defined process. In addition or as an alternative, the computer system may provide functionality as a result of logic (e.g., accelerator (944)) hardwired or otherwise contained in circuits, which may operate in place of or in conjunction with software to perform specific processes or specific portions of specific processes described herein. Where appropriate, references to software may include logic and vice versa. Where appropriate, references to computer-readable media may include circuits (e.g., integrated circuits (ICs)) storing software for execution, circuits containing logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.

[0155] Although the present disclosure has described several example embodiments, there are still several changes, variations and various alternative equivalents, which belong to the scope of the present disclosure. Therefore, it should be understood that those skilled in the art will be able to design many systems and methods, although not explicitly shown or described herein, these systems and methods embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure.

Claims

1. A method for grid processing performed in a video encoder, the method include: determining a plurality of candidate predictions for a current vertex, the current vertex being included in a plurality of vertices of a mesh, the plurality of candidate predictions being determined based on a plurality of triangles in the mesh, each triangle in the plurality of triangles corresponding to a respective candidate prediction; determining a prediction for the current vertex from the plurality of candidate predictions, the prediction being identified by a prediction index, the prediction index being predetermined based on a number of the plurality of candidate predictions for the current vertex being greater than or equal to a threshold; as well as Prediction information for the current vertex is encoded based on the determined prediction, the prediction information including the prediction index identifying the prediction for the current vertex.

2. The method according to claim 1, in, The threshold is equal to or greater than 2 and equal to or less than 5.

3. The method according to claim 1, in, Determining a plurality of candidate predictions for the current vertex further includes: determining, for the current vertex, a first triangle among the plurality of triangles, the first triangle sharing an edge with a second triangle among the plurality of triangles, the current vertex being included in the second triangle and opposite to the shared edge; and A first candidate prediction among the plurality of candidate predictions is determined based on the first triangle determined by the parallelogram prediction, wherein the first candidate prediction and the first triangle form a first parallelogram.

4. The method according to claim 3, in, Determining a plurality of candidate predictions for the current vertex further includes: An average prediction of the plurality of candidate predictions is determined.

5. The method according to claim 4, in, The determining of the prediction of the current vertex further includes: A prediction list for the current vertex is determined, wherein candidate predictors of the prediction list include the average prediction in the prediction list and the multiple candidate predictions after the average prediction, an order of the multiple candidate predictions in the prediction list is based on an order of the multiple triangles corresponding to the multiple candidate predictions, and each of the candidate predictors in the prediction list is associated with a corresponding prediction index.

6. The method according to claim 5, in, The plurality of triangles are ordered based on an edge breaker algorithm in which the plurality of triangles are labeled in a spiral triangle spanning tree order.

7. The method according to claim 5, in, The determining of the prediction of the current vertex further includes: based on predetermining the prediction index as a first prediction index in response to a number of the plurality of candidate predictions for the current vertex being equal to the threshold, determining the prediction for the current vertex as a first predictor among the candidate predictors in the prediction list according to the predetermined prediction index; Based on predetermining the prediction index as a second prediction index in response to a number of the plurality of candidate predictions for the current vertex being greater than the threshold, determining the prediction for the current vertex as a second predictor among the candidate predictors in the prediction list according to the predetermined prediction index; and Based on predetermining the prediction index as a third prediction index in response to a number of the plurality of candidate predictions for the current vertex being equal to or greater than the threshold, determining the prediction for the current vertex as a third predictor among the candidate predictors in the prediction list according to the predetermined prediction index.

8. The method according to claim 5, in, The determining the prediction of the current vertex further comprises: determining a prediction difference between each of the candidate predictors in the prediction list and the current vertex; and The prediction corresponding to a minimum of the prediction differences is determined from the candidate predictors in the prediction list.

9. The method according to claim 5, in, The determining the prediction of the current vertex further comprises: The prediction in the subset of the candidate predictors of the prediction list having a minimum prediction difference is determined.

10. The method according to claim 5, in, The determining the corresponding prediction index further comprises: The corresponding prediction index of each of the candidate predictors in the prediction list is determined based on one of fixed length coding, variable length coding, and differential coding.

11. The method according to claim 1, in: The prediction information for the current vertex includes residual information indicating a difference between the current vertex and the determined prediction, and The method further comprises: The residual information is encoded.

12. A device for grid processing, the device include: A processing circuit, the processing circuit being configured to: determining a plurality of candidate predictions for a current vertex, the current vertex being included in a plurality of vertices of a mesh, the plurality of candidate predictions being determined based on a plurality of triangles in the mesh, each triangle in the plurality of triangles corresponding to a respective candidate prediction; determining a prediction for the current vertex based on the plurality of candidate predictions, identifying the prediction by a prediction index predetermined based on a number of the plurality of candidate predictions for the current vertex being equal to or greater than a threshold; as well as Prediction information for the current vertex is encoded based on the determined prediction, the prediction information comprising the prediction index identifying the prediction for the current vertex.

13. The device according to claim 12, in, The threshold is equal to or greater than 2 and equal to or less than 5.

14. The device according to claim 12, in, The processing circuit is further configured to: determining, for the current vertex, a first triangle among the plurality of triangles, the first triangle sharing an edge with a second triangle among the plurality of triangles, the current vertex being included in the second triangle and opposite to the shared edge; as well as A first candidate prediction of the plurality of candidate predictions is determined based on the determined first triangle via parallelogram prediction, wherein the first candidate prediction and the first triangle form a first parallelogram.

15. The device according to claim 14, in, The processing circuit is further configured to: An average prediction of the plurality of candidate predictions is determined.

16. The device according to claim 15, in, The processing circuit is further configured to: A prediction list for the current vertex is determined, wherein candidate predictors of the prediction list include the average prediction in the prediction list and the plurality of candidate predictions after the average prediction, an order of the plurality of candidate predictions in the prediction list is based on an order of the plurality of triangles corresponding to the plurality of candidate predictions, and each of the candidate predictors in the prediction list is associated with a corresponding prediction index.

17. The device according to claim 16, in, The plurality of triangles are ordered based on an edge breaker algorithm in which the plurality of triangles are labeled in a spiral triangle spanning tree order.

18. The device according to claim 16, in, The processing circuit is further configured to: based on predetermining the prediction index as a first prediction index in response to a number of the plurality of candidate predictions for the current vertex being equal to the threshold, determining the prediction for the current vertex as a first predictor among the candidate predictors in the prediction list according to the predetermined prediction index; based on predetermining the prediction index as a second prediction index in response to a number of the plurality of candidate predictions for the current vertex being greater than the threshold, determining the prediction for the current vertex as a second predictor among the candidate predictors in the prediction list according to the predetermined prediction index; as well as Based on predetermining the prediction index as a third prediction index in response to a number of the plurality of candidate predictions for the current vertex being equal to or greater than the threshold, determining the prediction for the current vertex as a third predictor among the candidate predictors in the prediction list according to the predetermined prediction index.

19. The device according to claim 16, in, The processing circuit is further configured to: determining a prediction difference between each of the candidate predictors in the prediction list and the current vertex; as well as The prediction corresponding to a minimum of the prediction differences is determined from the candidate predictors in the prediction list.

20. The device according to claim 16, in, The processing circuit is further configured to: The prediction in the subset of the candidate predictors of the prediction list having a minimum prediction difference is determined.