Method and apparatus for encoding symmetric grid having plurality of planes of symmetry
Through the method of global symmetry plane partitioning and local symmetry plane merging of vertices, the problem of low compression efficiency of symmetric grid texture coordinates in the existing technology is solved, and efficient encoding and compression of symmetric grids are achieved.
Patent Information
- Application Number
- CN202380015070.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-08-29
- Filing Date
- 2023-08-31
- Publication Date
- 2024-10-18
AI Technical Summary
Existing mesh encoding algorithms are difficult to effectively utilize symmetry features, resulting in low texture coordinate compression efficiency for symmetric meshes, especially when the reflection symmetry of the mesh is imperfect.
Partition the mesh through the global symmetry plane, divide it into multiple slices, and merge the vertices sharing boundaries based on the local symmetry plane to form corresponding sub-grids, thereby achieving efficient encoding of symmetric meshes.
It improves the compression efficiency of symmetric grids, reduces the amount of information to be compressed, enhances the symmetry matching of texture coordinates, and improves the encoding effect.
Smart Images

Figure HDA0004882671690000011 
Figure HDA0004882671690000021 
Figure HDA0004882671690000031
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Provisional Application No. 63 / 444,884 filed on February 10, 2023 and U.S. Application No. 18 / 457,811 filed on August 29, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present disclosure relates to a set of advanced video coding techniques. More specifically, the present disclosure relates to encoding a grid having multiple planes of symmetry. Background Art
[0004] VMesh is an existing MPEG standard for compressing dynamic meshes. The current VMesh reference software compresses meshes based on a decimated base mesh, displacement vectors, and motion fields. Displacements are calculated by searching for the closest point on the input mesh to each vertex of the subdivided mesh. To encode the displacements, the displacement vectors are converted into wavelet coefficients via a linear lifting scheme, which are then quantized and encoded via a video codec or an arithmetic codec. This process also refines the base mesh to minimize the displacements. Texture transfer can be performed to match textures to the reparameterized geometry, UVs, and optimized textures for image compression.
[0005] Reflection symmetry is a common feature of mesh encoding, especially computer generated meshes. Symmetry is exploited to compress symmetric meshes. The vertices are split into two parts, left and right of the symmetry plane. The left part is encoded by mesh encoding, while the right part is encoded by symmetry prediction and displacement encoding. Even texture coordinates (or UV attributes) have a certain degree of symmetry, but texture coordinates may show different symmetry properties in translation and rotation.
[0006] However, texture coordinate compression for symmetric meshes is still underdeveloped. Existing mesh encoding algorithms mainly exploit local features of meshes. Many meshes are not perfect in terms of reflection symmetry, where a mesh may only exhibit symmetry in a portion of the mesh. Summary of the invention
[0007] According to one or more embodiments, a method performed by at least one processor of an encoder includes: defining a mesh by a bounding box including a first boundary plane and a second boundary plane, so that the bounding box surrounds the mesh. The method includes partitioning the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, the global symmetry plane being perpendicular to the first boundary plane and the second boundary plane. The method includes dividing the mesh into a plurality of slices, each slice being perpendicular to the global symmetry plane. The method includes determining a local symmetry plane for each slice based on the global symmetry plane. The method includes merging one or more vertices in the boundary of the second slice with one or more vertices in the boundary of the first slice based on determining that a first slice in the plurality of slices that shares a boundary with a second slice in the plurality of slices satisfies a vertex merging condition. The method also includes encoding each slice in the plurality of slices into a corresponding sub-mesh.
[0008] According to one or more embodiments, an encoder includes: at least one memory configured to store program code; and at least one processor configured to read the program code and operate according to the instructions of the program code. The program code includes: a delimiting code configured to cause at least one processor to delimit a mesh by a bounding box including a first boundary plane and a second boundary plane, so that the bounding box surrounds the mesh, a partitioning code configured to cause at least one processor to partition the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, the global symmetry plane being perpendicular to the first boundary plane and the second boundary plane; a partitioning code configured to cause at least one processor to divide the mesh into a plurality of slices, each slice being perpendicular to the global symmetry plane; a determining code configured to cause at least one processor to determine a local symmetry plane for each slice based on the global symmetry plane; a first merging code configured to cause at least one processor to merge one or more vertices in the boundary of the second slice with one or more vertices in the boundary of the first slice based on determining that a first slice in the plurality of slices that shares a boundary with a second slice in the plurality of slices satisfies a vertex merging condition; and an encoding code configured to cause at least one processor to encode each slice in the plurality of slices as a corresponding sub-mesh of the mesh.
[0009] According to one or more embodiments, a non-transitory computer-readable medium stores instructions that, when executed by a processor of an encoder, cause the processor to perform a method, the method comprising defining a mesh by a bounding box including a first boundary plane and a second boundary plane, such that the bounding box surrounds the mesh. The method comprises partitioning the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, the global symmetry plane being perpendicular to the first boundary plane and the second boundary plane. The method comprises dividing the mesh into a plurality of slices, each slice being perpendicular to the global symmetry plane. The method comprises determining a local symmetry plane for each slice based on the global symmetry plane. The method comprises merging one or more vertices in a boundary of the second slice with one or more vertices in a boundary of the first slice based on determining that a first slice of the plurality of slices that shares a boundary with a second slice of the plurality of slices satisfies a vertex merging condition. The method further comprises encoding each of the plurality of slices into a corresponding sub-mesh. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Further features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:
[0011] Figure 1 is a schematic block diagram of a communication system according to an embodiment of the present disclosure.
[0012] Figure 2 is a schematic block diagram of a streaming system according to an embodiment of the present disclosure.
[0013] Figure 3 is a schematic diagram of an exemplary grid encoder according to an embodiment of the present disclosure.
[0014] Figure 4 is a schematic diagram of a bounding box and a symmetry plane on a mesh object according to an embodiment of the present disclosure.
[0015] 5(A), 5(B) and 5(C) illustrate a mesh object having multiple slices and multiple symmetry planes according to an embodiment of the present disclosure.
[0016] 6(A), 6(B) and 6(C) illustrate a mesh object having multiple slices and multiple symmetry planes according to an embodiment of the present disclosure.
[0017] Figure 7 An example syntax table and algorithm for signaling sub-mesh boundaries according to an embodiment of the present disclosure are shown.
[0018] Figure 8 is a flowchart of an example process for partitioning and encoding a mesh according to an embodiment of the present disclosure.
[0019] Fig. 9 is a diagram of a computer system suitable for implementing embodiments of the present disclosure. DETAILED DESCRIPTION
[0020] The following detailed description of exemplary embodiments refers to the accompanying drawings.The same reference numbers in different drawings may identify the same or similar elements.
[0021] The foregoing disclosure provides an explanation and description, but is not intended to be exhaustive or to limit implementation to the disclosed precise form. Modifications and variations may be made according to the above disclosure, or modifications and variations may be obtained from the practice of the embodiments. In addition, one or more features or components of an embodiment may be incorporated into another embodiment (or one or more features of another embodiment) or combined with another embodiment (or one or more features of another embodiment). In addition, in the flow charts and operational descriptions provided below, it should be understood that one or more operations may be omitted, one or more operations may be added, one or more operations may be performed simultaneously (at least in part), and the order of one or more operations may be switched.
[0022] Obviously, the systems and / or methods described herein can be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods does not limit the implementation. Therefore, the operation and behavior of the systems and / or methods are described herein without reference to specific software codes, and it should be understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.
[0023] Even though particular combinations of features are recited in the claims and / or disclosed in the specification, these combinations are not intended to limit the possible implementations of the disclosure. In fact, many of these features may be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim listed below may directly depend on only one claim, possible implementations of the disclosure include combinations of each dependent claim with every other claim in the claim set.
[0024] Unless explicitly described, any element, behavior or instruction used herein should not be interpreted as critical or essential. In addition, as used herein, the articles "a" and "an" are intended to include one or more items and can be used interchangeably with "one or more". If only one item is intended to be used, the term "one" or similar language is used. In addition, as used herein, the terms "have", "have", "have", "include", "include", etc. are intended to be open terms. In addition, unless otherwise explicitly stated, the phrase "based on" means "based at least in part". In addition, expressions such as "at least one of [A] and [B]" or "at least one of [A] or [B]" should be understood to include only A, only B, or both A and B.
[0025] References throughout this specification to "one embodiment," "an embodiment," or similar language indicate that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present solution. Thus, the phrases "in one embodiment," "in an embodiment," and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
[0026] In addition, in one or more embodiments, the described features, advantages and characteristics of the present disclosure may be combined in any suitable manner. Based on the description herein, those skilled in the relevant art will recognize that the present disclosure may be implemented without one or more specific features or advantages of a particular embodiment. In other cases, additional features and advantages may be recognized in certain embodiments, and these features and advantages may not be present in all embodiments of the present disclosure.
[0027] Reference Figure 1 to Figure 2 , describes one or more embodiments of the present disclosure for implementing the encoding and decoding structures of the present disclosure.
[0028] Figure 1 A simplified block diagram of a communication system 100 according to an embodiment of the present disclosure is shown. The system 100 may include at least two terminals 110, 120 interconnected by a network 150. For unidirectional transmission of data, a first terminal 110 may encode video data (which may include mesh data) at a local location for transmission to another terminal 120 via the network 150. The second terminal 120 may receive the encoded video data of another terminal from the network 150, decode the encoded data, and display the recovered video data. Unidirectional data transmission may be common in media service applications and the like.
[0029] Figure 1A second pair of terminals 130, 140 is shown, which are provided to support bidirectional transmission of encoded video, which can occur, for example, during a video conference. For bidirectional transmission of data, each terminal 130, 140 can encode video data captured at a local location for transmission to the other terminal over the network 150. Each terminal 130, 140 can also receive encoded video data sent by the other terminal, can decode the encoded data, and can display the recovered video data on a local display device.
[0030] exist Figure 1 In the embodiment of the present invention, the terminals 110-140 can be, for example, servers, personal computers and smart phones, and / or any other type of terminals. For example, the terminals (110-140) can be laptops, tablet computers, media players and / or dedicated video conferencing equipment. Network 150 represents any number of networks that transmit encoded video data between terminals 110-140, including, for example, wired and / or wireless communication networks. Communication network 150 can exchange data in circuit switching and / or packet switching channels. Representative networks include telecommunication networks, local area networks, wide area networks and / or the Internet. For the purposes of this discussion, unless explained below, the architecture and topology of network 150 may be unimportant to the operation of the present disclosure.
[0031] As an example of application of the disclosed subject matter, Figure 2 The placement of the video encoder and decoder in a streaming environment is shown. The disclosed subject matter can be used with other video-enabled applications, including, for example, video conferencing, digital television, storing compressed video on digital media including CDs, DVDs, memory sticks, etc.
[0032] like Figure 2 As shown, the streaming system 200 may include a capture subsystem 213, which includes a video source 201 and an encoder 203. The streaming system 200 may also include at least one streaming server 205 and / or at least one streaming client 206.
[0033] For example, a video source 201 may create a stream 202 that includes a 3D mesh and metadata associated with the 3D mesh. The video source 201 may include, for example, a 3D sensor (e.g., a depth sensor) or a 3D imaging technology (e.g., a digital camera), and a computing device configured to generate a 3D mesh using data received from the 3D sensor or the 3D imaging technology. The sample stream 202, which may have a high amount of data compared to an encoded video bitstream, may be processed by an encoder 203 coupled to the video source 201. The encoder 203 may include hardware, software, or a combination thereof to enable or implement various aspects of the disclosed subject matter as described in more detail below. The encoder 203 may also generate an encoded video bitstream 204. The encoded video bitstream 204 may have a lower amount of data compared to the uncompressed stream 202 and may be stored on a streaming server 205 for future use. One or more streaming clients 206 and 207 may access streaming server 205 to retrieve video bitstreams 208 and 209 , respectively, which may be copies of encoded video bitstream 204 .
[0034] For example, streaming client 207 may include video decoder 210 and display 212. For example, video decoder 210 may decode video bitstream 209, which is an input copy of encoded video bitstream 204, and create output video sample stream 211 that may be presented on display 212 or another presentation device. In some streaming systems, video bitstreams 204, 208, and 209 may be encoded according to some video encoding / compression standard.
[0035] A mesh can be a collection of vertices, edges, and faces that define a shape or object. A 3D mesh can include multiple vertices, each vertex associated with a 3D coordinate (e.g., x, y, z) in 3D space. A 2D mesh can include multiple vertices, each vertex associated with a 2D coordinate (e.g., x and y) in 2D space. Vertices can be connected to form edges, where a collection of vertices can define a face.
[0036] Figure 3 An exemplary trellis encoder 300 is shown. The encoder 300 may perform a V-DMC process for performing decimation and re-parameterization before encoding the bitstream. Figure 3As shown, the input mesh may be subjected to decimation 302 and UV reparameterization 304. Subsequently, a geometric reparameterization 306 is performed, which includes base mesh refinement and displacement generation. The output of the base mesh refinement is provided to a Draco encoder 308 to generate a base mesh binary. The output of the displacement generation is provided to a displacement encoding 310 to generate a displacement binary. The output of the displacement encoding 310 is provided to a texture transfer 312 and an image encoder 314 to generate a texture binary. The base mesh binary, the texture binary, and the displacement binary may be included in a bitstream 316.
[0037] Embodiments of the present disclosure relate to a method for compressing a symmetric mesh having multiple symmetry planes, including a method for cutting the symmetric mesh into multiple sub-meshes having multiple symmetry planes, and a method for encoding the multiple symmetry planes and the combined sub-meshes at the decoder side. By dividing the mesh into multiple symmetry planes, similar slices and vertices can be combined, thereby reducing the amount of information to be compressed.
[0038] The proposed methods can be used alone or in any combination in any order and can be used for arbitrary polygonal meshes. In one or more examples, the mesh is assumed to be geometrically fully symmetric or partially symmetric. In one or more examples, it is assumed that the symmetric encoding uses half of the complete mesh (e.g., the left side of the mesh) to predict the remaining part of the mesh (e.g., the right side of the mesh).
[0039] In accordance with one or more embodiments, a method derives a plurality of symmetric meshes. Figure 4 An exemplary mesh with a global reflection symmetry plane p is shown.
[0040] In a first operation, a bounding box can be derived along the symmetry plane direction, which has the following Figure 4 The following operations can be repeated for each pair of boundary planes. The perpendicular planes b1, b2 are selected for visualization. However, as will be appreciated by one of ordinary skill in the art, the following operations can be applied to a portion of the mesh based on the boundary planes a1, a2. Figure 4 As shown, a bounding box can be a box that surrounds an object. Figure 4 As shown, the bounding box 402 is defined by bounding planes b1, b2 and bounding planes a1, a2. The bounding planes may correspond to faces defined by four vertices, wherein the faces form a portion of the bounding box.
[0041] In one or more examples, the grid Symmetry detection is performed on the grid, wherein the direction of the grid with the smallest distortion is selected as the direction of the grid divided into multiple slices.
[0042] In the second operation, the mesh is divided into n slices based on the orientation of the symmetry plane. For example, FIG5(A) shows a global partition plane p for partitioning the mesh, where the partition plane p is perpendicular to planes b1, b2. As shown in FIG5(B), each separation plane (e.g., cutting plane c i ) Cut the mesh into individual slices i .
[0043] In the third operation, a local symmetry plane p is estimated for each slice. i . Each local symmetry plane p i It can be estimated based on the global symmetry plane p. In one or more examples, the local symmetry plane p i Can be based on a single slice s i The size of the mesh object and the global symmetry plane p are estimated. The symmetry plane can be a plane that divides the mesh object into a first side (e.g., a left side) and a second side (e.g., a right side) opposite to the left side. As shown in FIG. 5(A), the global symmetry plane can divide the entire mesh object. As shown in FIG. 5(C), the local symmetry plane can divide a single slice of the mesh object.
[0044] In the fourth operation, for each slice, the grid is divided into multiple sub-grids. For example, each slice s i Corresponding to respective sub-grids. As shown in Fig. 5(C), the grid is divided into at least a slice s1 having a local symmetry plane p1 and a slice s2 having a local symmetry plane p2. The slice s1 and the slice s2 may correspond to two different sub-grids.
[0045] According to one or more embodiments, the grid is divided into n equally spaced slices. The division of the slices can be based on the direction of the symmetry plane. This division can be performed recursively by binary division or quadrilateral division, etc. As shown in FIG. 5(B), the grid is subdivided by three cutting planes c1, c2, and c3.
[0046] According to one or more embodiments, a slice merging process may be performed after the mesh is divided into a plurality of slices. In one or more examples, if the difference between the local symmetry planes of two or more slices is minimal (e.g., less than a threshold), the two or more slices are merged. In one or more examples, the condition for determining whether to merge two or more slices may specify: if the angle between the two symmetry planes of the two corresponding slices is less than a given threshold τ p , then the two slices are combined or merged into one. As shown in FIG5(C), since the symmetry plane is the same as the global symmetry plane p3=p, the latter two slices can be merged.
[0047] According to one or more embodiments, the partitioning may be performed using recursive binary partitioning. For example, each slice is further partitioned into two slices of equal height until a condition is satisfied. In one or more examples, the condition may specify that the angle between the symmetry planes of the two subdivided slices is less than a given threshold τ p In one or more examples, the condition can specify: performing recursive binary partitioning until a slice is less than or equal to a size threshold.
[0048] According to one or more embodiments, symmetry prediction is performed sequentially using adjacent plane constraints for all left vertices in the cutting boundary that are the same in two adjacent segments (e.g., adjacent segments or slices). Figure 6(A) to Figure 6(C) In , the two symmetry planes (p1, p2) intersect at the line l in the cutting plane c1. The left vertices on plane c1 in the two sub-meshes are the same. In other words, the vertices along the boundary in two different slices that share a boundary may be the same.
[0049] In one or more examples, assume that the plane p i and cutting plane c j On the straight line j Intersect on the symmetry plane p i +1 for being restricted to include line l j .
[0050] According to one or more embodiments, a method of connecting vertices of two adjacent segments or slices (left and right) that share a boundary may be applied. The process may include merging duplicate left vertices and duplicate predicted right vertices.
[0051] In one or more examples, if the left vertex from the input mesh is the boundary vertex between two sub-meshes i and j, then two duplicate vertices are created Considering the quantization error, the distance between these vertices may be very small.In one or more examples, the vertex pairs can be found by applying the closest distance between the vertices of the two sub-meshes.
[0052] In one or more examples, the index of the left vertex can be used to find the corresponding pair in the right vertices of multiple sub-grids. For example, since symmetric prediction is performed to obtain the corresponding pair from the left grid Predict the right grid, and the corresponding predicted right vertices are Therefore, these two right vertices can be merged.
[0053] In one or more examples, vertices can be retained based on conditions that are satisfied. The distortion in each sub-mesh can be different. In one or more examples, when comparing two slices or sub-meshes that share a border, vertices along the border from the slice or sub-mesh with the smaller distortion can be retained. For example, if Then to All connections can be used connection instead.
[0054] According to one or more embodiments, when comparing two sub-mesh boundaries to two corresponding sub-meshes, the sub-mesh boundary with the smaller symmetric prediction error may be selected to be retained. The bitstream may include information indicating which sub-meshes' vertices are to be retained.
[0055] According to one or more embodiments, the predicted sub-grid boundary to be retained can be derived at the decoder side based on the difference between the sub-grid symmetry plane and the global symmetry plane. i ,p i+1 Two adjacent subgrids (e.g., between two subgrids that share a border), if DIFF(p i ,p)≤DIFF(p i+1 ,p), then the predicted boundary vertex DIFF(x, y) may represent the difference between two symmetry planes. In one or more examples, the angle between the two planes is used to determine the difference between the two symmetry planes.
[0056] According to one or more embodiments, a method for representing multiple symmetry planes with a signal is provided. The global symmetry plane can be represented by four parameters (a, b, c, d) in the plane equation ax+by+cz+d=0. The parameters of the i-th slice symmetry plane can be (a i ,b i ,c i ,d i ). In one or more examples, the global symmetry plane p may be encoded first as index 0. The indices of the slices may follow a top-to-bottom order, or a bottom-to-top order. In one or more examples, only the difference between the current symmetry plane and the previous symmetry plane is encoded.
[0057] According to one or more embodiments, the bitstream indicates which sub-grid boundary services are retained. Because the grid can be sliced based on vertical planes, each sub-grid may have only 2 adjacent sub-grids. In addition to the predefined coding order, a bit flag may be used to signal in the bitstream which sub-grid boundary services are retained. For example, the sub-grid processing order may be: Therefore, the signaling bit b i You can define which sub-mesh border vertices to keep. For example, b i =0 means keep The sub-mesh boundary vertices, b i =1 is the opposite.
[0058] Figure 7 An exemplary syntax table and algorithm for determining the sub-grid boundaries to be preserved are shown. Parameter u(n) may be an unsigned integer using n bits, i(n) may be an integer using n bits, and 1b may be a 1-bit flag.
[0059] In one or more examples, the parameter symm_plane can be a 2D array that stores symmetry information.
[0060] In one or more examples, the parameter symm_plane[i][j] may be the jth parameter of the i-th symmetry plane.
[0061] In one or more examples, the parameter Num_symm_plane_minus1 may be the number of symmetry planes minus 1. This parameter may indicate a number of sub-grids.
[0062] In one or more examples, the parameter boundary_symm_replace_flag can indicate which boundary vertex submeshes to preserve.
[0063] In accordance with one or more embodiments, if the bottom slice has a local symmetry plane that has a smaller angle with the global symmetry plane than the top slice, the indexing may be from bottom to top.
[0064] Figure 8 A flow chart of an exemplary process 800 for partitioning and encoding a mesh according to one or more embodiments is shown. Process 800 may be performed by an encoder, such as encoder 203.
[0065] The process may begin with operation S802, wherein a grid is bounded by a bounding box including a first boundary plane and a second boundary plane, such that the bounding box surrounds the grid. Figure 4 , the grid is bounded by a bounding box containing planes b1 and b2.
[0066] The process proceeds to operation S804, where the mesh is partitioned by partitioning the mesh into global symmetry planes of the first side and the second side. Referring to FIG5(B), the global symmetry plane may be a plane p, which is perpendicular to the planes b1, b2.
[0067] The process may proceed to operation S806, where the grid is divided into a plurality of slices. For example, referring to FIG. 5(C), the grid is divided into slices s i , where each slice is perpendicular to the global symmetry plane p.
[0068] The process proceeds to operation S808 , where a local symmetry plane is determined for each slice based on the global symmetry plane.
[0069] The process proceeds to operation S810, where, based on determining that a first slice of the plurality of slices that shares a border with a second slice of the plurality of slices satisfies a vertex merging condition, one or more vertices in the border of the second slice may be merged with one or more vertices in the border of the first slice. In one or more examples, the vertex merging condition is satisfied based on determining that a distortion of the first slice is less than a distortion of the second slice.
[0070] The process proceeds to operation S812, where each slice is encoded into a corresponding sub-grid. Figure 7 The bitstream can indicate which sub-grid boundaries are preserved for the coded sub-grids.
[0071] The above techniques may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media. Fig. 9 A computer system 900 is shown that is suitable for implementing certain embodiments of the present disclosure.
[0072] Computer software may be encoded using any suitable machine code or computer language, which may be assembled, compiled, linked or similar mechanisms to create code comprising instructions that may be executed directly by a computer central processing unit (CPU), graphics processing unit (GPU), etc., or by decoding, microcode, etc.
[0073] 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.
[0074] Fig. 9 The components for computer system 900 shown in the figure are exemplary and are not intended to limit 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 component or combination thereof shown in the non-limiting embodiment of computer system 900.
[0075] The computer system 900 may include certain human-computer interface input devices. Such human-computer interface input devices may respond to input from one or more human users, such as through tactile input (e.g., keyboard input, sliding, data glove movement), audio input (e.g., sound, applause), visual input (e.g., gestures), olfactory input (not shown), etc. The human-computer interface devices may also be used to capture certain media that are not necessarily directly related to human conscious input, such as audio (e.g., speech, music, ambient sound), 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).
[0076] The human-machine interface input device may include one or more of the following (only one of each is shown): keyboard 901 , mouse 902 , touchpad 903 , touch screen 910 , data gloves, joystick 905 , microphone 906 , scanner 907 , camera 908 .
[0077] The computer system 900 may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate one or more human user senses 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, or a joystick 905, but there may also be tactile feedback devices that are not used as input devices). For example, such devices may be audio output devices (e.g., speakers 909, headphones (not shown)), visual output devices (such as screens 910, including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of these devices may be able to output two-dimensional visual outputs or more than three-dimensional outputs through devices such as stereo output, virtual reality glasses (not shown), holographic displays, and smoke cans (not shown)) and printers (not shown).
[0078] 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, a thumb drive 922, a removable hard drive or solid state drive 923, traditional magnetic media such as tapes and floppy disks (not shown), special-purpose ROM / ASIC / PLD-based devices such as security software protectors (not shown), and the like.
[0079] 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.
[0080] The computer system 900 may also include an interface to one or more communication networks. 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 network, and an industrial network, a real-time network, a delay-tolerant network, and the like. Examples of networks include local area networks (such as Ethernet), wireless local area networks, cellular networks including GSM, 3G, 4G, 5G, 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 CAN buses, and the like. Some networks typically require an external network interface adapter (connected to some universal data port or peripheral bus 949 (such as a computer system 900 USB port)); other networks are typically integrated into the kernel of the computer system 900 by connecting to a system bus as described below (e.g., an Ethernet interface integrated into a PC computer system or a cellular network interface integrated into a smart phone computer system). The computer system 900 can communicate with other entities by using any of these networks. Such communication may be one-way, for reception only (e.g., broadcast television), one-way, for transmission only (e.g., CAN bus to certain CAN bus devices), or two-way, such as communicating with other computer systems over a local or wide area digital network. Such communication may include communication with a cloud computing environment 955. Each of the above-mentioned networks and network interfaces may use certain protocols and protocol stacks.
[0081] The aforementioned human-machine interface device, human-accessible storage device, and network interface 954 may be connected to the kernel 940 of the computer system 900 .
[0082] The core 940 may include one or more central processing units (CPUs) 941, graphics processing units (GPUs) 942, dedicated programmable processing units (FPGAs) 943 in the form of field programmable gate arrays (FPGAs), hardware accelerators 944 for specific tasks, and the like. These devices, as well as read-only memory (ROM) 945, random access memory 946, and internal mass storage (e.g., internal non-user accessible hard disk drives, SSDs, etc.) 947 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 enable expansion by additional CPUs, GPUs, and the like. Peripheral devices may be connected directly to the core's system bus 948, or may be connected via a peripheral bus 949. The architecture of the peripheral bus includes PCI, USB, and the like. A graphics adapter 950 may be included in the core 940.
[0083] The CPU 941, GPU 942, FPGA 943, and accelerator 944 may execute certain instructions, which may be combined to form the above-mentioned computer code. The computer code may be stored in ROM 945 or RAM 946. Transitional data may also be stored in RAM 946, while permanent data may be stored in, for example, internal mass storage 947. Fast storage and retrieval of any memory device may be achieved by using a cache memory, which may be closely associated with one or more CPUs 941, GPUs 942, mass storage 947, ROM 945, RAM 946, etc.
[0084] The computer readable medium may have computer codes thereon 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 well known and available to those skilled in the art of computer software.
[0085] As an example and not a limitation, a computer system having architecture 900, in particular, a core 940, can provide functionality as a processor (including a CPU, GPU, FPGA, accelerator, etc.) by executing software embodied in one or more tangible computer-readable media through the processor. Such a computer-readable medium can be a medium associated with a user-accessible mass storage as described above, and a specific memory of the core 940 having non-volatility, such as the core's internal mass storage 947 or ROM 945. The software implementing various embodiments of the present disclosure can be stored in such a device and executed by the core 940. According to specific needs, the computer-readable medium may include one or more storage devices or chips. The software can enable the core 940, 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 can provide functionality through logic hardwired or otherwise embodied in a circuit (e.g., accelerator 944), which can replace the software or run with the software to perform a specific process or a specific part of a specific process described herein. 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 the executing software, circuits embodying the executing logic, or both, where appropriate. The present disclosure includes any suitable combination of hardware and software.
[0086] Although the present disclosure has described a number of non-limiting embodiments, various changes, arrangements and various equivalent substitutions of the embodiments all fall within the scope of the present disclosure. It should therefore be understood that a person skilled in the art can design a variety of systems and methods, which, although not explicitly shown or described herein, embody the principles of the present application and are therefore within the spirit and scope of the present application.
[0087] The above disclosure also includes the following embodiments:
[0088] (1) A method performed by at least one processor of an encoder, the method comprising: defining a mesh by a bounding box including a first boundary plane and a second boundary plane, wherein the bounding box surrounds the mesh; partitioning the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, wherein the global symmetry plane is perpendicular to the first boundary plane and the second boundary plane, and wherein the second side of the mesh is opposite to the first side; dividing the mesh into a plurality of slices, each slice being perpendicular to the global symmetry plane; determining a local symmetry plane for each slice based on the global symmetry plane; merging one or more vertices in a boundary of a second slice of the plurality of slices with one or more vertices in a boundary of the first slice based on determining that a first slice of the plurality of slices that shares a boundary with a second slice of the plurality of slices satisfies a vertex merging condition; and encoding each slice of the plurality of slices as a corresponding sub-mesh of the mesh.
[0089] (2) A method according to feature (1), wherein each slice in the plurality of slices has an equal spacing.
[0090] (3) A method according to feature (1) or (2), wherein at least one of the multiple slices is recursively partitioned into sub-slices with equal spacing until a termination condition is met.
[0091] (4) According to the method of feature (3), the termination condition is met based on determining that the size of the sub-slice is less than a size threshold.
[0092] (5) The method according to any one of features (1) to (4), wherein based on determining that a slice merging condition is satisfied, a third slice among the plurality of slices is merged with a fourth slice among the plurality of slices.
[0093] (6) According to the method of feature (5), the slice merging condition is satisfied based on determining that the angle between the local symmetry plane of the third slice and the local symmetry plane of the fourth slice is less than a threshold.
[0094] (7) A method according to any one of features (1)-(6), wherein the vertex merging condition is satisfied based on determining that the distortion of the first slice is less than the distortion of the second slice.
[0095] (8) A method according to feature (7), wherein the distortion measure is a symmetric prediction error.
[0096] (9) A method according to any one of features (1) to (8), wherein merging one or more vertices in the boundary of the second slice with one or more vertices in the boundary of the first slice further includes: merging a first vertex in the boundary of the second slice located on the first side with a second vertex in the boundary of the first slice located on the first side, and merging a third vertex in the boundary of the second slice located on the second side with a fourth vertex in the boundary of the first slice located on the second side, the third vertex corresponding to a predicted vertex symmetrical to the first vertex, and the fourth vertex corresponding to a predicted vertex symmetrical to the second vertex.
[0097] (10) A method according to any one of features (1)-(10), wherein encoding each of the multiple slices as a corresponding sub-grid of the grid further includes: specifying whether a boundary of the corresponding sub-grid of the grid is included in the bitstream through a flag for each sub-grid of the grid.
[0098] (11) An encoder comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and operate according to the instructions of the program code, wherein the program code includes: a delimiting code configured to cause the at least one processor to delimit a grid by a bounding box including a first bounding plane and a second bounding plane, wherein the bounding box surrounds the grid; a partitioning code configured to cause the at least one processor to partition the grid by a global symmetry plane, wherein the global symmetry plane partitions the grid into a first side and a second side, wherein the global symmetry plane is perpendicular to the first bounding plane and the second bounding plane, and wherein the first side of the grid is a first side. The second side is opposite to the first side; a partitioning code, the partitioning code is configured to cause the at least one processor to partition the mesh into multiple slices, each slice is perpendicular to the global symmetry plane, a determination code, the determination code is configured to cause the at least one processor to determine a local symmetry plane for each slice based on the global symmetry plane; a first merging code, the first merging code is configured to cause the at least one processor to merge one or more vertices in the boundary of the second slice with one or more vertices in the boundary of the first slice based on determining that a first slice among the multiple slices that shares a boundary with a second slice of the multiple slices satisfies a vertex merging condition; and an encoding code, the encoding code is configured to cause the at least one processor to encode each slice of the multiple slices as a corresponding sub-mesh of the mesh.
[0099] (12) An encoder according to feature (11), wherein each slice in the plurality of slices is equally spaced.
[0100] (13) An encoder according to feature (11) or (12), wherein at least one slice among the multiple slices is recursively divided into sub-slices with equal spacing until a termination condition is met.
[0101] (14) An encoder according to feature (13), wherein the termination condition is met based on determining that the size of the sub-slice is less than a size threshold.
[0102] (15) An encoder according to any one of features (11)-(14), wherein based on determining that a slice merging condition is satisfied, a third slice among the plurality of slices is merged with a fourth slice among the plurality of slices.
[0103] (16) An encoder according to feature (15), wherein the slice merging condition is satisfied based on determining that an angle between a local symmetry plane of the third slice and a local symmetry plane of the fourth slice is less than a threshold.
[0104] (17) An encoder according to any one of features (11)-(16), wherein the vertex merging condition is satisfied based on determining that the distortion of the first slice is less than the distortion of the second slice.
[0105] (18) An encoder according to feature (17), wherein the distortion measure is a symmetric prediction error.
[0106] (19) In the encoder according to any one of features (11) to (18), the first merging code further includes: a second merging code, the second merging code is configured to cause the at least one processor to merge a first vertex in the boundary of the second slice located on the first side with a second vertex in the boundary of the first slice located on the first side, and a third merging code, the third merging code is configured to cause the at least one processor to merge a third vertex in the boundary of the second slice located on the second side with a fourth vertex in the boundary of the first slice located on the second side, the third vertex corresponding to a predicted vertex symmetrical to the first vertex, and the fourth vertex corresponding to a predicted vertex symmetrical to the second vertex.
[0107] (20) A non-transitory computer-readable medium having instructions stored therein, which, when executed by a processor of an encoder, cause the processor to perform a method, the method comprising: defining a mesh by a bounding box including a first boundary plane and a second boundary plane, wherein the bounding box surrounds the mesh; partitioning the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, wherein the global symmetry plane is perpendicular to the first boundary plane and the second boundary plane, and wherein the second side of the mesh is opposite to the first side; dividing the mesh into a plurality of slices, each slice being perpendicular to the global symmetry plane; determining a local symmetry plane for each slice based on the global symmetry plane; merging one or more vertices in a boundary of a second slice of the plurality of slices with one or more vertices in a boundary of the first slice based on determining that a first slice of the plurality of slices that shares a boundary with a second slice of the plurality of slices satisfies a vertex merging condition; and encoding each of the plurality of slices as a corresponding sub-mesh of the mesh.
Claims
1. A method performed by at least one processor of an encoder, the method comprising: bounding a mesh by a bounding box including a first bounding plane and a second bounding plane, wherein the bounding box encloses the mesh; partitioning the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, wherein the global symmetry plane is perpendicular to the first boundary plane and the second boundary plane, and wherein the second side of the mesh is opposite the first side; dividing the grid into a plurality of slices, each slice being perpendicular to the global symmetry plane; determining a local symmetry plane for each slice based on the global symmetry plane; Based on determining that a first slice of the plurality of slices that shares a border with a second slice of the plurality of slices satisfies a vertex merging condition, merging one or more vertices in the border of the second slice with one or more vertices in the border of the first slice; and Each slice of the plurality of slices is encoded as a respective sub-grid of the grid.
2. The method according to claim 1, wherein Each slice in the plurality of slices is equally spaced.
3. The method according to claim 1, wherein At least one slice of the plurality of slices is recursively partitioned into equally spaced sub-slices until a termination condition is met.
4. The method according to claim 3, wherein: Based on determining that the size of the sub-slice is less than the size threshold, the termination condition is met.
5. The method according to claim 1, wherein Based on determining that the slice merging condition is satisfied, a third slice among the plurality of slices is merged with a fourth slice among the plurality of slices.
6. The method according to claim 5, wherein: Based on determining that an angle between the local symmetry plane of the third slice and the local symmetry plane of the fourth slice is smaller than a threshold, the slice merging condition is satisfied.
7. The method according to claim 1, wherein Based on determining that the distortion of the first slice is less than the distortion of the second slice, the vertex merging condition is satisfied.
8. The method according to claim 7, wherein: The distortion measure is a symmetric prediction error.
9. The method according to claim 1, wherein: Merging one or more vertices in the boundary of the second slice with one or more vertices in the boundary of the first slice further includes: merging a first vertex in the boundary of the second slice located on the first side with a second vertex in the boundary of the first slice located on the first side, and A third vertex located on the second side in the boundary of the second slice is merged with a fourth vertex located on the second side in the boundary of the first slice, the third vertex corresponding to a predicted vertex symmetric to the first vertex, and the fourth vertex corresponding to a predicted vertex symmetric to the second vertex.
10. The method according to claim 1, wherein Encoding each slice of the plurality of slices as a corresponding sub-grid of the grid further includes specifying, via a flag for each sub-grid of the grid, whether a boundary of the corresponding sub-grid of the grid is included in a bitstream.
11. An encoder comprising: at least one memory configured to store program code; and at least one processor, the processor being configured to read the program code and operate according to instructions of the program code, the program code comprising: delimiting code configured to cause the at least one processor to delimit a mesh by a bounding box including a first bounding plane and a second bounding plane, wherein the bounding box surrounds the mesh, partitioning code configured to cause the at least one processor to partition the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, wherein the global symmetry plane is perpendicular to the first boundary plane and the second boundary plane, and wherein the second side is opposite the first side in the mesh, partitioning code configured to cause the at least one processor to partition the grid into a plurality of slices, each slice being perpendicular to the global symmetry plane, determining code configured to cause the at least one processor to determine a local symmetry plane for each slice based on the global symmetry plane, first merging code configured to cause the at least one processor to merge one or more vertices in a boundary of a second slice of the plurality of slices with one or more vertices in a boundary of the first slice based on determining that a first slice of the plurality of slices that shares a boundary with a second slice of the plurality of slices satisfies a vertex merging condition; and Encoding code is configured to cause at least one processor to encode each slice of a plurality of slices as a corresponding sub-grid of the grid.
12. The encoder according to claim 11, wherein Each slice in the plurality of slices is equally spaced.
13. The encoder according to claim 11, wherein At least one slice of the plurality of slices is recursively partitioned into equally spaced sub-slices until a termination condition is met.
14. The encoder according to claim 13, wherein Based on determining that the size of the sub-slice is smaller than a size threshold, the termination condition is met.
15. The encoder according to claim 11, wherein Based on determining that the slice merging condition is satisfied, a third slice among the plurality of slices is merged with a fourth slice among the plurality of slices.
16. The encoder according to claim 15, wherein Based on determining that an angle between the local symmetry plane of the third slice and the local symmetry plane of the fourth slice is smaller than a threshold, the slice merging condition is satisfied.
17. The encoder according to claim 11, wherein Based on determining that the distortion of the first slice is less than the distortion of the second slice, the vertex merging condition is satisfied.
18. The encoder according to claim 17, wherein The distortion measure is a symmetric prediction error.
19. The encoding according to claim 11, wherein The first merging code further includes: a second merging code configured to cause the at least one processor to merge a first vertex located on the first side of the boundary of the second slice with a second vertex located on the first side of the boundary of the first slice, and and a third merging code configured to cause the at least one processor to merge a third vertex located on the second side of the boundary of the second slice with a fourth vertex located on the second side of the boundary of the first slice, the third vertex corresponding to a predicted vertex symmetrical to the first vertex, and the fourth vertex corresponding to a predicted vertex symmetrical to the second vertex.
20. A non-transitory computer-readable medium having stored therein instructions that, when executed by a processor of an encoder, cause the processor to perform a method comprising: bounding a mesh by a bounding box including a first bounding plane and a second bounding plane, wherein the bounding box encloses the mesh; partitioning the mesh by a global symmetry plane, the global symmetry plane partitioning the mesh into a first side and a second side, wherein the global symmetry plane is perpendicular to the first boundary plane and the second boundary plane, and wherein the second side of the mesh is opposite the first side; dividing the grid into a plurality of slices, each slice being perpendicular to the global symmetry plane; determining a local symmetry plane for each slice based on the global symmetry plane; Based on determining that a first slice of the plurality of slices that shares a border with a second slice of the plurality of slices satisfies a vertex merging condition, merging one or more vertices in the border of the second slice with one or more vertices in the border of the first slice; and Each slice of the plurality of slices is encoded as a respective sub-grid of the grid.
Citation Information
Patent Citations
Method and apparatus to encode symmetry mesh with multiple symmetry planes
US20240273771A1
