Point cloud encoding and decoding method, encoder, decoder and computer storage medium

By adaptively changing the processing order of point cloud data and using syntax elements in the code stream to indicate the RAHT transformation order, the problem of low RAHT transformation efficiency is solved and the efficiency of point cloud encoding and decoding is improved.

CN114339215BActive Publication Date: 2024-10-01GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210037486.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-03
Filing Date
2020-05-15
Publication Date
2024-10-01
Estimated Expiration
2040-05-15

AI Technical Summary

Technical Problem

In the geometry-based point cloud compression encoder framework, the RAHT transformation efficiency is low, resulting in reduced encoding and decoding efficiency.

Method used

By adaptively changing the processing order of point cloud data, using syntax elements in the code stream to indicate the processing order, RAHT transformation is performed to avoid using a fixed transformation order.

Benefits of technology

It improves the efficiency of point cloud encoding and decoding, fully demonstrates the efficiency of RAHT transformation, and solves the problem of low transformation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114339215B_ABST
    Figure CN114339215B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a point cloud encoding and decoding method, an encoder, a decoder and a computer storage medium, wherein the encoder determines the processing order of point cloud data during point cloud encoding; the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; the coordinate axis sequence index number corresponding to the processing order is determined; the coordinate axis sequence index number is encoded and the encoding bit is written into the bit stream; according to the processing order, the point cloud data is processed to obtain the point cloud data to be encoded; the point cloud data to be encoded is encoded and the encoding bit is written into the bit stream. The decoder parses the bit stream to obtain the coordinate axis sequence index number; according to the coordinate axis sequence index number, the processing order of the point cloud data during point cloud decoding is determined; the bit stream is parsed to obtain the restored data of the point cloud data; according to the processing order, the position of the coordinate data of the point cloud data in the storage unit of the restored data is determined.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based on the prior U.S. provisional patent application with application number 62 / 870,553, application date July 3, 2019, and application name “Method, Apparatus, and System for Encoding and Decoding Video Data”, and claims the priority of the prior U.S. provisional patent application. The entire contents of the prior U.S. provisional patent application are hereby introduced into this application as a reference. Technical Field

[0002] The embodiments of the present application relate to the field of video encoding and decoding technology, and in particular to a point cloud encoding and decoding method, an encoder, a decoder, and a computer storage medium. Background Art

[0003] In the geometry-based point cloud compression (G-PCC) encoder framework, the geometric information of the point cloud and the attribute information corresponding to each point cloud are encoded separately. After the geometry encoding is completed, the geometry information is reconstructed, and the encoding of the attribute information will depend on the reconstructed geometry information.

[0004] At present, attribute information encoding is mainly aimed at the encoding of color information. First, the color information is converted from the RGB color space to the YUV color space. Then, the point cloud is recolored using the reconstructed geometric information so that the unencoded attribute information corresponds to the reconstructed geometric information. In color information encoding, there are two main transformation methods, one is the distance-based lifting transformation that relies on the level of detail (LOD) division, and the other is the direct region adaptive hierarchical transformation (RAHT). Both methods convert color information from the spatial domain to the frequency domain, obtain high-frequency coefficients and low-frequency coefficients through transformation, and finally quantize and encode the coefficients to generate a binary code stream.

[0005] However, when performing RAHT transformation on any point cloud in the same fixed order, the transformation efficiency of RAHT cannot be fully demonstrated, and there is a problem of low transformation efficiency, thereby reducing the encoding and decoding efficiency. Summary of the invention

[0006] The embodiments of the present application provide a point cloud encoding and decoding method, an encoder, a decoder and a computer storage medium, which can adaptively change the coordinate processing order in the encoding and decoding process, thereby fully demonstrating the transformation efficiency of RAHT, solving the problem of low transformation efficiency, and greatly improving the encoding and decoding efficiency.

[0007] The technical solution of the embodiment of the present application can be implemented as follows:

[0008] In a first aspect, an embodiment of the present application provides a point cloud encoding method, which is applied to an encoder, and the method includes:

[0009] Determining a processing order of point cloud data during point cloud encoding; wherein the processing order indicates a processing order of coordinate axes of three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud;

[0010] Determine the coordinate axis sequence index number corresponding to the processing sequence;

[0011] Encoding the coordinate axis sequential index number and writing the encoded bits into a bit stream;

[0012] Processing the point cloud data according to the processing sequence to obtain point cloud data to be encoded;

[0013] The point cloud data to be encoded is encoded, and the encoded bits are written into a bit stream.

[0014] In a second aspect, an embodiment of the present application provides a point cloud decoding method, which is applied to a decoder, and the method includes:

[0015] Parse the code stream to obtain the coordinate axis sequence index number;

[0016] Determine the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud;

[0017] Parsing the code stream to obtain the restored data of the point cloud data;

[0018] According to the processing sequence, the position of the coordinate data of the point cloud data in the storage unit of the restored data is determined.

[0019] In a third aspect, an embodiment of the present application provides an encoder, comprising a first processor and a first memory storing executable instructions of the first processor, and when the instructions are executed, the first processor implements the point cloud encoding method as described above.

[0020] In a fourth aspect, an embodiment of the present application provides a decoder, comprising a second processor and a second memory storing instructions executable by the second processor, wherein when the instructions are executed, the second processor implements the point cloud decoding method as described above.

[0021] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. When the computer program is executed by a first processor, it implements the point cloud encoding method as described above, or when the computer program is executed by a second processor, it implements the point cloud decoding method as described above.

[0022] The embodiment of the present application discloses a point cloud encoding and decoding method, an encoder, a decoder and a computer storage medium, wherein the encoder determines the processing order of point cloud data in the point cloud encoding process; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; determines the coordinate axis sequence index number corresponding to the processing order; encodes the coordinate axis sequence index number and writes the encoding bit into the bit stream; processes the point cloud data according to the processing order to obtain the point cloud data to be encoded; encodes the point cloud data to be encoded and writes the encoding bit into the bit stream. The decoder parses the bit stream to obtain the coordinate axis sequence index number; determines the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; parses the bit stream to obtain the restored data of the point cloud data; determines the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order. That is to say, in an embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, and write the processing order into the bitstream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bitstream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in the present application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and then the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A flowchart of the G-PCC encoding process;

[0024] Figure 2 A flowchart of G-PCC decoding;

[0025] Figure 3 Schematic diagram of spatial coding Figure 1 ;

[0026] Figure 4 Schematic diagram of spatial coding Figure 2 ;

[0027] Figure 5 Schematic diagram of spatial coding Figure 3 ;

[0028] Figure 6 Schematic diagram of spatial coding Figure 4 ;

[0029] Figure 7 RAHT transformation diagram Figure 1 ;

[0030] Figure 8 RAHT transformation diagram Figure 2 ;

[0031] Fig. 9 RAHT transformation diagram Figure 3 ;

[0032] Fig.10 Schematic diagram of the implementation process of point cloud coding Figure 1 ;

[0033] Fig.11 Schematic diagram of the implementation process of point cloud coding Figure 2 ;

[0034] Fig.12 Schematic diagram of the implementation process of point cloud decoding Figure 1 ;

[0035] Fig.13 Schematic diagram of the implementation process of point cloud decoding Figure 2 ;

[0036] Fig.14 The structure of the encoder is shown in Figure 2. Figure 1 ;

[0037] Fig.15 The structure of the encoder is shown in Figure 2. Figure 2 ;

[0038] Fig.16 The structure of the decoder is shown in Figure 2. Figure 1 ;

[0039] Fig.17 The structure of the decoder is shown in Figure 2. Figure 2 . DETAILED DESCRIPTION

[0040] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.

[0041] In an embodiment of the present application, in a point cloud G-PCC encoder framework, after the point cloud of the input three-dimensional image model is divided into slices, each slice is independently encoded.

[0042] Figure 1 The flowchart of G-PCC coding is as follows: Figure 1 In the flowchart of G-PCC coding shown in FIG. 1 , it is applied to the point cloud encoder. For the point cloud data to be encoded, the point cloud data is first divided into multiple slices by slice division. In each slice, the geometric information of the point cloud and the attribute information corresponding to each point cloud are encoded separately. In the process of geometric coding, the geometric information is transformed so that all the point clouds are contained in a bounding box, and then quantized. This step of quantization mainly plays a role in scaling. Due to the quantization rounding, the geometric information of a part of the point cloud is the same, so it is determined whether to remove duplicate points based on parameters. The process of quantization and removal of duplicate points is also called voxelization. Then the bounding box is divided into octrees. In the octree-based geometric information coding process, the bounding box is divided into 8 sub-cubes in eight equal parts, and the non-empty (containing points in the point cloud) sub-cubes are further divided into eight equal parts until the leaf node obtained by division is a 1×1×1 unit cube, and the division is stopped. The points in the leaf node are arithmetically encoded to generate a binary geometric bit stream, that is, a geometric code stream. In the process of geometric information encoding based on triangle soup (trisoup), octree division must also be performed first. However, unlike the geometric information encoding based on octree, the trisoup does not need to divide the point cloud into unit cubes with a side length of 1x1x1 step by step. Instead, the division stops when the block (sub-block) has a side length of W. Based on the surface formed by the distribution of the point cloud in each block, at most twelve vertices (intersections) generated by the surface and the twelve edges of the block are obtained. The vertices are arithmetically encoded (surface fitting is performed based on the intersections) to generate a binary geometric bit stream, i.e., a geometric code stream. Vertex is also used to implement the process of geometric reconstruction, and the reconstructed geometric information is used when encoding the attributes of the point cloud.

[0043] In the attribute encoding process, after the geometric encoding is completed and the geometric information is reconstructed, color conversion is performed to convert the color information (i.e., attribute information) from the RGB color space to the YUV color space. Then, the point cloud is recolored using the reconstructed geometric information so that the unencoded attribute information corresponds to the reconstructed geometric information. Attribute encoding is mainly performed on color information. In the color information encoding process, there are two main transformation methods: one is the distance-based lifting transformation that depends on the level of detail (LOD) division, and the other is the direct transformation of the region adaptive hierarchical transformation (RAHT). Both methods will convert the color information from the spatial domain to the frequency domain, and obtain high-frequency coefficients and low-frequency coefficients through transformation. Finally, the coefficients are quantized (i.e., quantized coefficients). Finally, the geometric encoding data after octree division and surface fitting and the attribute encoding data processed by quantization coefficients are sliced ​​and synthesized, and the vertex coordinates of each block are encoded in turn (i.e., arithmetic encoding) to generate a binary attribute bit stream, i.e., attribute code stream.

[0044] Figure 2 The flowchart of G-PCC decoding is as follows: Figure 2 In the flowchart of G-PCC decoding shown, it is applied to the point cloud decoder. For the binary code stream obtained, the geometric bit stream and attribute bit stream in the binary code stream are first decoded independently. When decoding the geometric bit stream, the geometric information of the point cloud is obtained through arithmetic decoding-octree synthesis-surface fitting-reconstruction of geometry-inverse coordinate conversion; when decoding the attribute bit stream, the attribute information of the point cloud is obtained through arithmetic decoding-inverse quantization-LOD-based lifting inverse transform or RAHT-based inverse transform-inverse color conversion, and the three-dimensional image model of the point cloud data to be encoded is restored based on the geometric information and attribute information.

[0045] Figure 1 In the flowchart of G-PCC coding shown in the figure, RAHT transform is the part that encodes the attribute information of the point cloud. It is lossy coded by the principle of Harr wavelet transform and is generally applicable to sparse point clouds. Specifically, before RAHT transform, the geometric coordinate information of the point cloud has been obtained. The Morton code corresponding to each point in the point cloud can be obtained using the coordinate information of the point. Morton coding is also called z-order code because its coding order follows the spatial z order. The specific method for calculating the Morton code is described as follows. For each component of the three-dimensional coordinate represented by a d-bit binary number, the representation of its three coordinate components is realized by the following formula:

[0046]

[0047]

[0048]

[0049] Among them, x l ,y l ,z l ∈{0,1} are the binary values ​​corresponding to the highest bit (l=1) to the lowest bit (l=d) of x, y, and z respectively. The Morton code M is to arrange x, y, and z in a crosswise order starting from the highest bit. l ,y l ,z l To the lowest bit, the calculation formula of M is as follows:

[0050]

[0051] Among them, m l' ∈{0,1} are the values ​​of the highest bit (l'=1) to the lowest bit (l'=3d) of M. After obtaining the Morton code M of each point in the point cloud, the points in the point cloud are arranged in order from small to large according to the Morton code, and the weight w of each point is set to 1. Expressed in computer language, it is similar to the combination of z|(y<<1)|(x<<2).

[0052] Figure 3 Schematic diagram of spatial coding Figure 1 , Figure 4 Schematic diagram of spatial coding Figure 2 , combined with Figure 3 and Figure 4 For explanation, the order of high and low bits is z, y, x (x|(y<<1)|(z<<2)) as an example.

[0053] Figure 3 The spatial encoding of each pixel of the 8*8 image is shown, from 000000 to 111111, using one-dimensional binary numbers to encode the position coordinates of the x, y values ​​from 0 to 7. Interlacing the binary coordinate values, we get a binary z value graph. Connecting the z-shaped graph along the numerical direction produces a recursive z-shaped curve. The z value is placed at each position in the graph in the order of connection. In fact, the above figure is generated by iterating in the Z direction, from 00-11 (the entire Figure 1 z), then from 0000-1111 (put a z at each point of the previous z), then from 000000-111111 (put a z at each point of the previous z), increase two digits each time, and recursively increase.

[0054] For example, Figure 4 The spatial coding order of 2x2, 4x4, 8x8 and 16x16 is shown, from which it can be seen that the coding order of the Morton code is implemented according to the spatial z-order.

[0055] Figure 5 Schematic diagram of spatial coding Figure 3 , Figure 6 Schematic diagram of spatial coding Figure 4 , rising to the 3D case, the recursive process is as follows Figure 5 and Figure 6 As shown in the figure, it realizes the coordinate interleaving. What it does is to continuously disperse the coordinate values. x|(y<<1)|(z<<2); that is, each coordinate value is dispersed, and each bit is interleaved in turn, first z, then y, and finally x. The decoding process is the aggregation process.

[0056] The RAHT transformation is performed on the basis of the hierarchical structure obtained by dividing the point cloud data into octrees, starting from the bottom layer of the octree and performing the transformation layer by layer. Figure 7 RAHT transformation diagram Figure 1 ,like Figure 7 As shown, after the octree division is completed, voxel block 1 (i.e. Figure 7 The three colors and depths of the geometric body are alternated, and each square represents a point in the point cloud). Start the RAHT transformation from the bottom layer, taking the transformation sequence XYZ as an example, Figure 7 As shown, RAHT transformation is first performed along the X direction. If there are adjacent voxel blocks in the X direction, RAHT is performed on the two to obtain the weighted average (DC coefficient) and residual (AC coefficient) of the attribute values ​​of the two adjacent points. Among them, the DC coefficient obtained exists as the attribute information of the voxel block 2 of the parent node, and the RAHT transformation of the next layer is performed; and the AC coefficient is retained for the final encoding. If there are no adjacent points, the attribute value of the voxel block is directly passed to the second-layer parent node. During the second-layer RAHT transformation, it is performed along the Y direction. If there are adjacent voxel blocks in the Y direction, RAHT is performed on the two to obtain the weighted average (DC coefficient) and residual (AC coefficient) of the attribute values ​​of the two adjacent points. After that, the third-layer RAHT transformation is performed along the Z direction, and the parent node voxel block 3 with three color depths is obtained as the child node of the next layer in the octree, and then the RAHT transformation is performed cyclically along the x, y, and Z directions until there is only one parent node in the entire point cloud.

[0057] In practice, when traversing points in a point cloud, the Morton code of the sorted point cloud is used. That is, whether two child nodes are under the same parent node can be determined by whether the values ​​of the Morton code after shifting one bit to the right are equal.

[0058] The specific RAHT transformation process for the attribute values ​​c1 and c2 of two adjacent points is as follows:

[0059]

[0060] in,

[0061] w=w1+w2 (6)

[0062]

[0063]

[0064] luma is obtained by the configuration of the incoming quantization parameters, and w is the weight corresponding to the DC coefficient, which is calculated. The DC coefficient is the weighted average of the attribute, and the AC coefficient is the attribute residual of two adjacent points. c1 and c2 correspond to w1 and w2 for the attribute values ​​in the first layer, and are used for the DC coefficient values ​​obtained by calculation in other layers.

[0065] In the embodiment of the present application, the specific steps of RAHT transformation are as follows:

[0066] (1) The attribute values ​​of the points in the point cloud are used as the first-layer DC coefficients and their weights are all set to 1, and the RAHT transformation begins.

[0067] (2) The DC coefficient and AC coefficient of this layer are filled into the next parent layer according to the corresponding index. If there is no AC coefficient, it is not filled.

[0068] (3) According to the index sorted by the Morton code, traverse the DC coefficient corresponding to the index.

[0069] (4) Shift the Morton codes corresponding to all DC coefficients right by one position. At this time, the Morton code of each DC coefficient represents the Morton code of its parent node.

[0070] (5) Figure 8 RAHT transformation diagram Figure 2 ,like Figure 8 As shown, it is determined whether the Morton codes of the two DC coefficients are the same. If they are the same, it means that under the same parent node, the two perform RAHT, fill the obtained DC coefficient into the DC coefficient of the parent node of the next layer, fill the AC coefficient into the last DC coefficient of the next layer, and assign the weight of the sum of the two DC coefficients to the DC coefficient of the parent node; if they are different, fill this DC coefficient and its weight directly into the next layer.

[0071] (6) Repeat (2)-(5) until a layer has only one DC coefficient.

[0072] (7) Finally, the DC coefficient is quantized, and the DC coefficient and AC coefficient attribute values ​​of this layer are encoded.

[0073] Correspondingly, in the decoder block diagram, the RAHT transformation order also needs to be used in the RAHT inverse transformation.

[0074] The following describes the decoding process of RAHT.

[0075] The RAHT decoding process is the inverse transformation of the RAHT encoding process. Similar to the encoding process, before the inverse transformation, the Morton code of each point in the point cloud is calculated. After obtaining the Morton code M of each point, the points in the point cloud are arranged in ascending order, and the weight of each point is set to 1. The RAHT inverse process traverses all the points in the point cloud in the order after the Morton code is sorted.

[0076] Since the RAHT transformation is performed in layers, starting from the bottom layer, the adjacent points in the point cloud are judged layer by layer, and the attribute values ​​are transformed according to the weights. The inverse RAHT transformation process starts from the top layer and performs the inverse RAHT transformation from top to bottom. Therefore, the weight information of each layer needs to be obtained before the inverse RAHT transformation.

[0077] Before doing the inverse RAHT transformation, use the obtained Morton code information to start from the bottom layer and make a judgment on the adjacent nodes of each layer of RAHT in the encoding end, so as to obtain the weight information of each layer and the corresponding position of the AC coefficient. For each RAHT layer, shift the corresponding Morton code one bit to the left. Record the weight information and the Morton code information corresponding to the node in each layer into the buffer for later use.

[0078] During the RAHT inverse transformation, starting from the top layer, the adjacent nodes are judged based on the Morton code information of each layer, and the RAHT inverse transformation is performed using the obtained weight information and the attribute information obtained by decoding. Fig. 9 RAHT transformation diagram Figure 3 ,like Fig. 9 As shown, the RAHT inverse transform is equivalent to the process from the k+1th layer to the kth layer. When the adjacent nodes are determined, the traversed DC coefficients and the corresponding AC coefficients are taken to perform the RAHT inverse transform.

[0079] In more detail, the specific RAHT inverse transformation process for the attribute values ​​c1 and c2 of two adjacent points is shown in the following formula:

[0080]

[0081] Specifically, when RAHT is performed on point cloud attribute information in a layered manner, RAHT is iteratively performed on each node along three axes in a fixed order in each layer. However, using the same fixed order for RAHT on any point cloud does not fully demonstrate the transformation efficiency of RAHT. For example, currently in G-PCC, the generally used fixed order is ZYX, but there are other possible transformation orders, such as XYZ. Using the ZYX order for RAHT transformation of nodes in the point cloud has the problem of low transformation efficiency, thereby reducing the encoding and decoding efficiency.

[0082] In order to overcome the above-mentioned defects, the embodiment of the present application proposes a point cloud encoding and decoding method, an encoder, a decoder and a computer storage medium. On the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, and write the processing order into the bit stream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bit stream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in the present application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bit stream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and then the transformation efficiency of RAHT can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

[0083] It can be understood that in this application, the point cloud encoding method of the embodiment of the present application can be applied to Figure 1 The RAHT transformation part shown in FIG. 1 , correspondingly, the point cloud decoding method of the embodiment of the present application can also be applied to Figure 2 That is to say, the point cloud encoding and decoding method in the embodiment of the present application can be applied to both the video encoding system and the video decoding system, and can even be applied to both the video encoding system and the video decoding system at the same time, but the embodiment of the present application does not make any specific limitation.

[0084] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0085] An embodiment of the present application provides a point cloud encoding method. Fig.10 Schematic diagram of the implementation process of point cloud coding Figure 1 ,like Fig.10 As shown, in an embodiment of the present application, the method for encoding a point cloud by an encoder may include the following steps:

[0086] Step 101, determining a processing order for point cloud data in a point cloud encoding process; wherein the processing order indicates a processing order of coordinate axes of three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud.

[0087] In an embodiment of the present application, the encoder may first determine the processing order of the point cloud data during the point cloud encoding process, wherein the point cloud data is all or part of the data in the point cloud, and the processing order may be used to indicate the processing order of the coordinate axes of the three-dimensional coordinates of the point cloud data.

[0088] It can be understood that in the embodiments of the present application, the point cloud data can be all the data in the point cloud. Accordingly, determining the processing order of the point cloud data is to determine the processing order of all the data in the point cloud. That is to say, in the present application, for each point in the point cloud, the encoder can use the same processing order for transformation processing.

[0089] Furthermore, in an embodiment of the present application, the encoder can obtain multiple slices corresponding to the point cloud by dividing the point cloud. Therefore, the point cloud data can also be partial data in the point cloud, that is, the point cloud data can be the data of any slice in the point cloud. Accordingly, determining the processing order of the point cloud data is to determine the processing order of the data of any slice in the point cloud. That is to say, in the present application, for each point of the same slice in the point cloud, the encoder can use the same processing order for transformation processing.

[0090] It can be understood that in the embodiments of the present application, the processing order is the transformation order used in the RAHT transformation. Each point in the point cloud is point cloud data in three dimensions: X, Y, and Z. Therefore, the processing order indicates the order in which the transformations are performed on the three coordinate axes, X, Y, and Z, in sequence.

[0091] Exemplarily, in an embodiment of the present application, when RAHT is performed on point cloud attribute information in a hierarchical manner, RAHT is iteratively performed on each node along three axes in each layer based on the processing order. For example, if the processing order is XYZ order, the encoder may perform RAHT on the nodes in the point cloud first X, then Y, and finally Z; if the processing order is YZX order, the encoder may perform RAHT on the nodes in the point cloud first Y, then Z, and finally X.

[0092] It can be understood that in the embodiments of the present application, since each point in the point cloud is point cloud data in three dimensions of X, Y, and Z, the order in which the encoder performs RAHT transformation can include 6 different combinations, that is, the processing order can be 6 different transformation orders.

[0093] Furthermore, in an embodiment of the present application, the processing order of point cloud data can be any one of the following orders: ZYX order, XYZ order, XZY order, YZX order, ZXY order, and YXZ order; wherein X, Y, and Z are the coordinate axes of the three-dimensional coordinates of the point cloud data.

[0094] It should be noted that, in the embodiments of the present application, when the encoder determines the processing order of the point cloud data during the point cloud encoding process, the processing order can be determined according to the Morton code of the node in the point cloud data.

[0095] Specifically, in an embodiment of the present application, the encoder can first calculate the Morton code of each node in the point cloud data, and then sort the nodes in the point cloud data in order of the Morton code from small to large, and finally traverse each node in the point cloud data in the sorted order.

[0096] Step 102: Determine the coordinate axis sequence index number corresponding to the processing sequence.

[0097] In an embodiment of the present application, after determining the processing order of the point cloud data in the point cloud encoding process, the encoder can further determine the coordinate axis sequence index number corresponding to the processing order.

[0098] It is understandable that for different processing sequences, the encoder can set different coordinate axis sequence index numbers. Accordingly, since the processing sequence can be any one of the six different transformation sequences, the coordinate axis sequence index number can also include six different values.

[0099] Furthermore, in an embodiment of the present application, when determining the coordinate axis sequence index number corresponding to the processing order, the encoder may set the value of the coordinate axis sequence index number corresponding to the processing order according to a correspondence table between preset index numbers and processing orders.

[0100] Specifically, in the present application, Table 1 is a correspondence table 1 between preset index numbers and processing sequences. As shown in Table 1, for different processing sequences, the corresponding coordinate axis sequence index number can be determined by querying the correspondence table between preset index numbers and processing sequences.

[0101] Table 1

[0102] Coordinate axis sequence index number Processing order 0 ZYX order 1 XYZ order 2 XZY order 3 YZX order 4 ZYX order 5 ZXY sequence 6 YXZ order 7 XYZ order

[0103] It can be seen from Table 1 above that in this application, the processing order and the coordinate axis order index number are not in a one-to-one correspondence. For the 6 RAHT transformation orders, the ZYX order corresponds to two different coordinate axis order index numbers, specifically, the ZYX order corresponds to index number 0 and index number 4 respectively; the XYZ order corresponds to two different coordinate axis order index numbers, specifically, the XYZ order corresponds to index number 1 and index number 7 respectively. The other 4 RAHT transformation orders other than the ZYX order and the XYZ order each correspond to a unique coordinate axis order index number. Among them, the XZY order corresponds to index number 2, the YZX order corresponds to index number 3, the ZXY order corresponds to index number 5, and the YXZ order corresponds to index number 6.

[0104] Exemplarily, in the present application, when the encoder sets the value of the coordinate axis sequence index number corresponding to the processing order according to the correspondence table between the preset index number and the processing order, if the processing order of the point cloud data is ZYX order, then the encoder can set the value of the coordinate axis sequence index number to 0 or 4; if the processing order of the point cloud data is XYZ order, then the encoder can set the value of the coordinate axis sequence index number to 1 or 7; if the processing order of the point cloud data is XZY order, then the encoder can set the value of the coordinate axis sequence index number to 2; if the processing order of the point cloud data is YZX order, then the encoder can set the value of the coordinate axis sequence index number to 3; if the processing order of the point cloud data is ZXY order, then the encoder can set the value of the coordinate axis sequence index number to 5; if the processing order of the point cloud data is YXZ order, then the encoder can set the value of the coordinate axis sequence index number to 6.

[0105] It should be noted that in this application, there is no specific concept of X, Y, and Z coordinate axes in G-PCC. Generally, based on the X, Y, and Z coordinate axes, the coordinate axis processing order can be represented by 0, 1, and 2. For example, if the processing order is XYZ order, it can be indicated by 0-1-2.

[0106] Based on the above Table 1, Table 2 is a second correspondence table between preset index numbers and processing sequences. As shown in Table 2, for different processing sequences, the corresponding coordinate axis sequence index numbers can be determined by querying the correspondence table between preset index numbers and processing sequences.

[0107] Table 2

[0108]

[0109]

[0110] Exemplarily, in the present application, when the encoder sets the value of the coordinate axis sequence index number corresponding to the processing order according to the correspondence table between the preset index number and the processing order, if the processing order of the point cloud data is in ZYX order, that is, the processing order is indicated by 2-1-0, then the encoder can set the value of the coordinate axis sequence index number to 0 or 4; if the processing order of the point cloud data is in XYZ order, that is, the processing order is indicated by 0-1-2, then the encoder can set the value of the coordinate axis sequence index number to 1 or 7; if the processing order of the point cloud data is in XZY order, that is, the processing order is indicated by 0-2-1 If the processing order is indicated by 2-0-1, the encoder can set the value of the axis sequence index number to 3; if the processing order of the point cloud data is in ZXY order, that is, the processing order is indicated by 1-2-0, the encoder can set the value of the axis sequence index number to 5; if the processing order of the point cloud data is in YXZ order, that is, the processing order is indicated by 1-0-2, the encoder can set the value of the axis sequence index number to 6.

[0111] It can be understood that in the present application, the coordinate axis order index number can be expressed by the syntax axis_coding_order, that is, the processing order of the three coordinate axes X, Y, and Z can be specified by the syntax axis_coding_order. Specifically, based on the above Table 2, the axis_coding_order for the G-PCC standard can be used to process the data in the RecPic[pointIdx][axis] buffer. For example, when the value of axis_coding_order is equal to 0, that is, when the processing order is ZYX, if the axis value is equal to 0, then RecPic[pointIdx][0] stores the data of the Z axis; if the axis value is equal to 1, then RecPic[pointIdx][1] stores the data of the Y axis; if the axis value is equal to 2, then RecPic[pointIdx][2] stores the data of the X axis.

[0112] Step 103: Encode the coordinate axis sequence index number and write the encoded bits into the bit stream.

[0113] In an embodiment of the present application, after determining the coordinate axis sequence index number corresponding to the processing order, the encoder may further encode the coordinate axis sequence index number, and then write the encoded bits into the bit stream.

[0114] Furthermore, in an embodiment of the present application, when the encoder encodes the coordinate axis sequence index number and writes the encoding bits into the bit stream, it can first use the equal-length encoding method to encode the coordinate axis sequence index number, determine the encoding bits, and then write the encoding bits into the bit stream.

[0115] It is understandable that in this application, equal-length coding means encoding any value (with different probabilities) of the signal source output symbol sequence into an output codeword of the same length, without utilizing the statistical characteristics of the signal source. The encoder obtains equal-length codes of the same length after encoding the coordinate axis sequence index numbers using the equal-length coding method.

[0116] Furthermore, in an embodiment of the present application, when the encoder encodes the coordinate axis sequential index number and writes the encoded bits into the code stream, the encoded bits can be written into the code stream corresponding to the data unit of the parameter set; wherein the data unit of the parameter set contains the parameters used to decode the point cloud data.

[0117] It should be noted that, in the embodiments of the present application, the parameter set may be a parameter set of a sequence layer.

[0118] Furthermore, in an embodiment of the present application, the parameter set may also be a sequence parameter set.

[0119] It should be noted that, in the embodiments of the present application, the data unit of the parameter set may include attribute information of the point cloud data; wherein the attribute information is a scalar or vector attribute associated with a point in the point cloud data.

[0120] It can be understood that, in an embodiment of the present application, the data unit of the parameter set may also include geometric information of the point cloud data; wherein the geometric information is the Cartesian coordinates associated with the points in the point cloud data.

[0121] Furthermore, in an embodiment of the present application, when the encoder encodes the coordinate axis sequential index number and writes the encoded bits into the bitstream, the encoded bits may be written into the data unit where the auxiliary information of the bitstream is located.

[0122] Exemplarily, in an embodiment of the present application, the auxiliary information may be video usability information (VUI).

[0123] The video usability information provides additional information to the corresponding bitstream to allow users to use a wider range of applications. For example, in the bitstream constraint information, the video usability information specifies (1) whether motion crosses a picture boundary; (2) the maximum bytes per picture; (3) the maximum bits per macroblock; (4) the maximum motion vector length (horizontal and vertical); (5) the number of reordered frames; (6) the maximum decoded frame buffer size. When a decoder sees this information, instead of using the "level" information to set decoding requirements (which are generally higher than what is actually required by the bitstream), the decoder can customize its decoding operations based on stricter limits.

[0124] Exemplarily, in an embodiment of the present application, the auxiliary information may also be supplemental enhancement information (SEI), where SEI is a concept in the code stream category, provides a method for adding information to the video code stream, and is one of the characteristics of the H.264 / H.265 video compression standard.

[0125] SEI is not a must for the decoding process, but it may be helpful for the decoding process (error tolerance, error correction) and can be integrated into the video bitstream. In other words, the encoder may not provide SEI information when outputting the video bitstream, or the video transmission process, decapsulation, and decoding may discard SEI for some reason.

[0126] It can be understood that in the embodiment of the present application, when the encoder encodes the coordinate axis sequential index number and writes the encoded bits into the bit stream, the encoded bits can be written into the transmission stream containing the point cloud encoded data corresponding to the point cloud data. In other words, the bit stream can be a transmission stream containing the point cloud encoded data.

[0127] Further, in an embodiment of the present application, when the encoder encodes the coordinate axis sequential index number and writes the encoded bits into the bitstream, the encoded bits can be written into a media file containing point cloud encoded data corresponding to the point cloud data. In other words, the bitstream can be a media file containing point cloud encoded data.

[0128] That is to say, in the present application, the coordinate axis sequence index number axis_coding_order can be encoded in the auxiliary information of SPS (such as VUI), can be encoded in other auxiliary information data units of point cloud data (such as SEI), and can also be further extended to be encoded in the auxiliary information unit of the transmission stream or file format.

[0129] Step 104: Process the point cloud data according to the processing order to obtain point cloud data to be encoded.

[0130] In an embodiment of the present application, after the encoder determines the processing order of the point cloud data in the point cloud encoding process, that is, after step 101, it can process the point cloud data according to the processing order to obtain the point cloud data to be encoded.

[0131] It can be understood that in the embodiments of the present application, the processing order is the transformation order when performing RAHT transformation on the point cloud attribute information. Therefore, after determining the processing order, the encoder can use the processing order to perform RAHT transformation on the point cloud data corresponding to the processing order, thereby obtaining the corresponding point cloud data to be encoded.

[0132] It should be noted that in the embodiments of the present application, since the point cloud data can be all the data in the point cloud, the processing order can be the transformation order of all the data in the point cloud. After determining the processing order, the encoder can perform RAHT transformation on each point in the point cloud in turn according to the processing order.

[0133] Furthermore, in an embodiment of the present application, since the point cloud data can also be partial data in the point cloud, that is, the point cloud data can be the data of any slice in the point cloud, the processing order can also be the transformation order of the partial data in the point cloud. After the encoder determines the processing order corresponding to a slice in the point cloud, it can perform RAHT transformation on each point in the slice in turn according to the processing order.

[0134] That is to say, in the present application, if the processing order is the transformation order of all the data in the point cloud, the encoder can use the same transformation order to perform RAHT transformation on all the data in the point cloud; if the processing order is the transformation order of part of the data in the point cloud, the encoder can use the same transformation order to perform RAHT transformation on part of the data in the point cloud, such as for the data in a slice after division, the same transformation order can be used to perform RAHT transformation.

[0135] Furthermore, in an embodiment of the present application, when the encoder processes the point cloud data according to a processing order to obtain the point cloud data to be encoded, the encoder may first perform coordinate mapping processing on the point cloud data according to the processing order.

[0136] Specifically, in an embodiment of the present application, when the encoder performs coordinate mapping processing on the point cloud data according to the processing order, the coordinates of the point cloud data may be rearranged according to the processing order.

[0137] Furthermore, in an embodiment of the present application, when the encoder processes the point cloud data according to a processing order to obtain the point cloud data to be encoded, the point cloud data can be processed in sequence in the direction of the corresponding coordinate axis according to the processing order.

[0138] It should be noted that, in the present application, the execution process of the RAHT transformation is to first transform in one coordinate direction, then transform in another coordinate direction, and finally transform in the third coordinate direction.

[0139] It can be understood that in the embodiments of the present application, when the encoder processes the point cloud data in the corresponding coordinate axis direction in sequence according to the processing order, it can perform RAHT processing on the point cloud data in the corresponding coordinate axis direction in sequence according to the processing order.

[0140] Furthermore, in an embodiment of the present application, when the encoder performs RAHT processing on the point cloud data in the corresponding coordinate axis direction according to the processing order, it can first determine the Morton code of the node in the point cloud data, and then perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0141] Further, in an embodiment of the present application, when the encoder performs RAHT transformation on point cloud data according to the processing order and the Morton code, it can first determine whether the processing order is the same as the preset order.

[0142] It is understandable that, in the embodiment of the present application, the preset order may be a default transformation order pre-stored by the encoder. For example, the encoder may set the ZYX order as the preset order.

[0143] Furthermore, in an embodiment of the present application, the encoder may compare the processing order with the preset order. If the processing order is the same as the preset order, the encoder may directly perform RAHT transformation on the point cloud data according to the preset order and the Morton code; if the processing order is different from the preset order, the encoder may perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0144] It should be noted that, in the embodiments of the present application, Fig.11 Schematic diagram of the implementation process of point cloud coding Figure 2 ,like Fig.11 As shown, after the encoder determines the processing order of the point cloud data in the point cloud encoding process, that is, after step 101, and before determining the coordinate axis sequence index number corresponding to the processing order, that is, before step 102, the method for encoding the point cloud data by the encoder may further include the following steps:

[0145] Step 106: Determine a sequence indication parameter according to the processing sequence; wherein the sequence indication parameter is used to indicate whether to use a preset sequence.

[0146] Step 107: Encode the sequence indication parameter and write the encoded bits into the bit stream.

[0147] After determining the processing order of the point cloud data, the encoder may first set the order indication parameter according to the processing order, then encode the order indication parameter, and write the encoded bit stream into the bit stream.

[0148] It should be noted that, in the embodiments of the present application, the sequence indication parameter can be used to indicate whether to use a preset sequence. That is, if the encoder uses a preset sequence for transformation processing, the sequence indication parameter can be set to indicate that the preset sequence is used; if the encoder does not use the preset sequence for transformation processing, the sequence indication parameter can be set to indicate that the preset sequence is not used.

[0149] Further, in an embodiment of the present application, when the encoder determines the sequence indication parameter according to the processing order, if the processing order is different from the preset order, the encoder needs to transform the point cloud data according to the processing order, so the value of the sequence indication parameter can be set to indicate that the preset order is not used; if the processing order is the same as the preset order, the encoder can transform the point cloud data according to the preset order, so the value of the sequence indication parameter can be set to indicate that the preset order is used.

[0150] Exemplarily, in the present application, when setting the sequence indication parameter, the encoder may set the value of the sequence indication parameter to 0, thereby indicating that the preset sequence is not used, or may set the value of the sequence indication parameter to 1, thereby indicating that the preset sequence is used.

[0151] It can be understood that in the present application, the order indication parameter can be represented by the syntax attr_raht_order_default_flag. Specifically, if the value of attr_raht_order_default_flag is equal to 1, it indicates that the preset order is used; if the value of attr_raht_order_default_flag is equal to 0, it indicates that the preset order is not used.

[0152] Step 105: Encode the point cloud data to be encoded, and write the encoded bits into a bit stream.

[0153] In an embodiment of the present application, after the encoder processes the point cloud data according to the processing order to obtain the point cloud data to be encoded, it can encode the point cloud data to be encoded and write the encoded bits into the bit stream.

[0154] Through the point cloud encoding method proposed in the above steps 101 to 107, the encoder no longer performs RAHT transformation on the point cloud using a fixed transformation order as proposed in the prior art, such as performing RAHT processing on all point clouds in XYZ order. Instead, in the process of encoding the point cloud data, the encoder first determines the processing order corresponding to the point cloud data before performing the transformation processing, and then uses the processing order to perform RAHT transformation.

[0155] It can be understood that in the present application, if we look at it from the perspective of the processing order of the three coordinates X, Y, and Z, in the current G-PCC, the encoder performs transformation processing in a fixed order, and the point cloud encoding method proposed in the present application can improve the encoding efficiency by adaptively changing the processing order of the three coordinates of the encoder in G-PCC.

[0156] It should be noted that in the present application, the flexibility of the processing order can be limited to the sequence layer, and the entire point cloud can use the same coordinate processing order, that is, the divisions in the point cloud (such as slices) all use the same coordinate processing order.

[0157] It can be understood that in the present application, the encoding end can pre-process the point cloud data before encoding the point cloud data. Specifically, the encoder can reset the X, Y, and Z coordinate axes of the point cloud data and redetermine the processing order; then encode the pre-processed point cloud data, and from the display perspective, indicate the pre-processing method at the sequence layer, that is, after encoding the coordinate axis sequence index number corresponding to the processing order, write the encoded bits into the bit stream; so that after the bit stream is transmitted to the decoding end, the decoder decodes the bit stream to obtain the decoded point cloud, and post-processes the point cloud according to the pre-processing method indicated by the sequence layer, that is, the decoding end parses to obtain the coordinate axis sequence index number, and determines the processing order indicated by the coordinate axis sequence index number, so that the X, Y, and Z coordinate axes of the point cloud data can be adaptively set.

[0158] The embodiment of the present application proposes a point cloud encoding method, in which the encoder determines the processing order of the point cloud data during the point cloud encoding process; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; determines the coordinate axis sequence index number corresponding to the processing order; encodes the coordinate axis sequence index number and writes the encoding bit into the bit stream; processes the point cloud data according to the processing order to obtain the point cloud data to be encoded; encodes the point cloud data to be encoded and writes the encoding bit into the bit stream. That is to say, in the embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, write the processing order into the bit stream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bit stream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in this application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

[0159] Based on the above embodiment, another embodiment of the present application proposes a point cloud decoding method. Fig.12 Schematic diagram of the implementation process of point cloud decoding Figure 1 ,like Fig.12 As shown, in an embodiment of the present application, the method for a decoder to decode point cloud data may include the following steps:

[0160] Step 201, parse the code stream to obtain the coordinate axis sequence index number.

[0161] In an embodiment of the present application, the decoder parses the bit stream to obtain the coordinate axis sequence index number of the point cloud data.

[0162] It should be noted that, in the embodiment of the present application, the coordinate axis sequence index numbers obtained by the decoder parsing the code stream can be used to indicate the processing order.

[0163] Specifically, in the present application, since the processing order can be any one of six different transformation orders, the coordinate axis sequence index number obtained by the decoder analysis can also include six different values.

[0164] It can be understood that in the present application, the coordinate axis order index number can be expressed by the syntax axis_coding_order, that is, the processing order of the three coordinate axes X, Y, and Z can be specified by the syntax axis_coding_order. Specifically, based on the above Table 2, the axis_coding_order for the G-PCC standard can be used to process the data in the RecPic[pointIdx][axis] buffer. For example, when the value of axis_coding_order is equal to 0, that is, when the processing order is ZYX, if the axis value is equal to 0, then RecPic[pointIdx][0] stores the data of the Z axis; if the axis value is equal to 1, then RecPic[pointIdx][1] stores the data of the Y axis; if the axis value is equal to 2, then RecPic[pointIdx][2] stores the data of the X axis.

[0165] For example, in the G-PCC standard text, the syntax part corresponding to the coordinate axis sequence index number may be as shown in Table 3 below:

[0166] Table 3

[0167]

[0168] Furthermore, in an embodiment of the present application, when the decoder parses the bit stream to obtain the coordinate axis sequence index number, it can parse the equal-length code to obtain the coordinate axis sequence index number.

[0169] It can be understood that in the present application, equal-length codes are output codewords of the same length obtained after encoding using equal-length coding, that is, the encoder obtains equal-length codes of the same length after encoding the coordinate axis sequence index number using the equal-length coding method.

[0170] Furthermore, in an embodiment of the present application, when the decoder parses the bitstream and obtains the coordinate axis sequence index number, it can parse the bitstream corresponding to the data unit of the parameter set in the bitstream; wherein the data unit of the parameter set contains the parameters used to decode the point cloud data.

[0171] It should be noted that, in the embodiments of the present application, the parameter set may be a parameter set of a sequence layer.

[0172] Furthermore, in an embodiment of the present application, the parameter set may also be a sequence parameter set.

[0173] It should be noted that, in the embodiments of the present application, the data unit of the parameter set may include attribute information of the point cloud data; wherein the attribute information is a scalar or vector attribute associated with a point in the point cloud data.

[0174] It can be understood that, in an embodiment of the present application, the data unit of the parameter set may also include geometric information of the point cloud data; wherein the geometric information is the Cartesian coordinates associated with the points in the point cloud data.

[0175] Further, in an embodiment of the present application, when the decoder parses the bitstream to obtain the coordinate axis sequence index number, it can parse the data unit where the auxiliary information of the bitstream is located after receiving the bitstream to obtain the coordinate axis sequence index number.

[0176] Exemplarily, in an embodiment of the present application, the auxiliary information may be video usability information VUI.

[0177] Exemplarily, in an embodiment of the present application, the auxiliary information may also be supplemental enhancement information SEI.

[0178] It can be understood that in the embodiment of the present application, when the decoder parses the code stream and obtains the coordinate axis sequence index number, the parsed code stream can be a transmission stream containing point cloud coded data corresponding to the point cloud data. In other words, the code stream can be a transmission stream containing point cloud coded data.

[0179] Further, in an embodiment of the present application, when the decoder parses the bitstream and obtains the coordinate axis sequence index number, the parsed bitstream may be a media file containing point cloud coded data corresponding to the point cloud data. In other words, the bitstream may be a media file containing point cloud coded data.

[0180] That is to say, in the present application, the coordinate axis sequence index number axis_coding_order can be encoded in the auxiliary information of SPS (such as VUI), can be encoded in other auxiliary information data units of point cloud data (such as SEI), and can also be further extended to be encoded in the auxiliary information unit of the transmission stream or file format.

[0181] Step 202, determining the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud.

[0182] In an embodiment of the present application, after parsing the code stream and obtaining the coordinate axis sequence index number, the decoder can determine the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number.

[0183] It can be understood that, in the present application, the processing order indicates the processing order of the coordinate axes of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud.

[0184] Further, in an embodiment of the present application, the processing order may be used to indicate a processing order of coordinate axes of three-dimensional coordinates of point cloud data.

[0185] It can be understood that in the embodiments of the present application, the point cloud data can be all the data in the point cloud. Accordingly, the decoder determines the processing order of the point cloud data during the point cloud decoding process according to the coordinate axis sequence index number, that is, determines the processing order of all the data in the point cloud. That is to say, in the present application, for each point in the point cloud, the decoder can use the same processing order for transformation processing.

[0186] Furthermore, in an embodiment of the present application, the encoder can obtain multiple slices corresponding to the point cloud by dividing the point cloud. Therefore, the point cloud data can also be partial data in the point cloud, that is, the point cloud data can be the data of any slice in the point cloud. Accordingly, the decoder determines the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number, that is, determines the processing order of the data of any slice in the point cloud. That is to say, in the present application, for each point of the same slice in the point cloud, the decoder can use the same processing order for transformation processing.

[0187] It can be understood that in the embodiments of the present application, the processing order is the transformation order used in the RAHT transformation. Each point in the point cloud is point cloud data in three dimensions: X, Y, and Z. Therefore, the processing order indicates the order in which the transformations are performed on the three coordinate axes, X, Y, and Z, in sequence.

[0188] Exemplarily, in an embodiment of the present application, when RAHT is performed on point cloud attribute information in a hierarchical manner, RAHT is iteratively performed on each node along three axes based on the processing order in each layer. For example, if the processing order is XYZ order, the decoder can perform RAHT on the nodes in the point cloud first X, then Y, and finally Z; if the processing order is YZX order, the decoder can perform RAHT on the nodes in the point cloud first Y, then Z, and finally X.

[0189] It can be understood that in the embodiments of the present application, since each point in the point cloud is point cloud data in three dimensions of X, Y, and Z, the order in which the decoder performs RAHT transformation can include 6 different combinations, that is, the processing order can be 6 different transformation orders.

[0190] Specifically, for different processing sequences, the encoder may set different coordinate axis sequence index numbers. Accordingly, since the processing sequence may be any one of six different transformation sequences, the coordinate axis sequence index number may also include six different values.

[0191] It can be understood that in the present application, the processing order of point cloud data can be any one of the following orders: ZYX order, XYZ order, XZY order, YZX order, ZXY order, and YXZ order; wherein X, Y, and Z are the coordinate axes of the three-dimensional coordinates of the point cloud data.

[0192] Furthermore, in an embodiment of the present application, when the decoder determines the processing order of point cloud data during point cloud decoding according to the coordinate axis sequence index number, it can determine the processing order corresponding to the coordinate axis sequence index number according to the correspondence table between the preset index number and the processing order.

[0193] Specifically, in the present application, the above Table 1 is a correspondence table 1 between preset index numbers and processing sequences. As shown in Table 1, for different processing sequences, the corresponding coordinate axis sequence index number can be determined by querying the correspondence table between preset index numbers and processing sequences.

[0194] Exemplarily, in the present application, when the decoder determines the processing order of point cloud data in the point cloud decoding process according to the coordinate axis sequence index number, if the value of the coordinate axis sequence index number is 0 or 4, then the decoder can determine that the corresponding processing order of the point cloud data is in ZYX order; if the value of the coordinate axis sequence index number is 1 or 7, then the decoder can determine that the corresponding processing order of the point cloud data is in XYZ order; if the value of the coordinate axis sequence index number is 2, then the decoder can determine that the corresponding processing order of the point cloud data is in XZY order; if the value of the coordinate axis sequence index number is 3, then the decoder can determine that the corresponding processing order of the point cloud data is in YZX order; if the value of the coordinate axis sequence index number is 5, then the decoder can determine that the corresponding processing order of the point cloud data is in ZXY order; if the value of the coordinate axis sequence index number is 6, then the decoder can determine that the corresponding processing order of the point cloud data is in YXZ order.

[0195] It should be noted that in this application, there is no specific concept of X, Y, and Z coordinate axes in G-PCC. Generally, based on the X, Y, and Z coordinate axes, the coordinate axis processing order can be represented by 0, 1, and 2. For example, if the processing order is XYZ order, it can be indicated by 0-1-2.

[0196] Based on the above Table 1, Table 2 is a second correspondence table between preset index numbers and processing sequences. As shown in Table 2, for different processing sequences, the corresponding coordinate axis sequence index numbers can be determined by querying the correspondence table between preset index numbers and processing sequences.

[0197] Exemplarily, in the present application, when the decoder determines the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number, if the value of the coordinate axis sequence index number is 0 or 4, that is, the processing order is indicated by 2-1-0, then the decoder can determine that the processing order of the corresponding point cloud data is in ZYX order; if the value of the coordinate axis sequence index number is 1 or 7, that is, the processing order is indicated by 0-1-2, then the decoder can determine that the processing order of the corresponding point cloud data is in XYZ order; if the value of the coordinate axis sequence index number is 2, that is, the processing order is indicated by 0-2-1, then the decoder can determine that the processing order of the corresponding point cloud data is in XYZ order. The encoder can determine that the processing order of the corresponding point cloud data is XZY order; if the value of the coordinate axis sequence index number is 3, that is, the processing order is indicated by 2-0-1, then the decoder can determine that the processing order of the corresponding point cloud data is YZX order; if the value of the coordinate axis sequence index number is 5, that is, the processing order is indicated by 1-2-0, then the decoder can determine that the processing order of the corresponding point cloud data is ZXY order; if the value of the coordinate axis sequence index number is 6, that is, the processing order is indicated by 1-0-2, then the decoder can determine that the processing order of the corresponding point cloud data is YXZ order.

[0198] It can be understood that in the present application, the coordinate axis order index number can be expressed by the syntax axis_coding_order, that is, the processing order of the three coordinate axes X, Y, and Z can be specified by the syntax axis_coding_order. Specifically, based on the above Table 2, the axis_coding_order for the G-PCC standard can be used to process the data in the RecPic[pointIdx][axis] buffer. For example, when the value of axis_coding_order is equal to 0, that is, when the processing order is ZYX, if the axis value is equal to 0, then RecPic[pointIdx][0] stores the data of the Z axis; if the axis value is equal to 1, then RecPic[pointIdx][1] stores the data of the Y axis; if the axis value is equal to 2, then RecPic[pointIdx][2] stores the data of the X axis.

[0199] Step 203: parse the code stream to obtain restored data of the point cloud data.

[0200] In an embodiment of the present application, the decoder may also parse the code stream to obtain restored data of the point cloud data.

[0201] Step 204: Determine the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing sequence.

[0202] In an embodiment of the present application, after the decoder determines the processing order of the point cloud data during the point cloud decoding process according to the coordinate axis sequence index number and parses the code stream to obtain the recovered data of the point cloud data, it can determine the position of the coordinate data of the point cloud data in the storage unit of the recovered data according to the processing order.

[0203] That is, in the present application, the processing order indicates the coordinate axes corresponding to the data sequentially output by the decoder after performing RAHT transformation (ie, inverse RAHT transformation) on the recovered data obtained by parsing the code stream.

[0204] Further, in an embodiment of the present application, when the decoder determines the position of the coordinate data of the point cloud data in the storage unit of the recovered data according to the processing order, it can obtain the coordinate data of the point in the point cloud data in the recovered data storage unit according to the coordinate axis order indicated by the processing order.

[0205] It can be understood that in the present application, when performing RAHT transformation, based on the processing order of RAHT transformation, the data obtained first is written into the data storage unit first, and the data obtained later is written into the data storage unit later, that is, the order of writing data corresponds to the order of coordinate axes.

[0206] Specifically, in an embodiment of the present application, when the decoder determines the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order, it can perform RAHT processing on the point cloud data in the corresponding coordinate axis direction according to the processing order.

[0207] It should be noted that, in the present application, the execution process of the RAHT transformation is to first transform in one coordinate direction, then transform in another coordinate direction, and finally transform in the third coordinate direction.

[0208] It should be noted that in an embodiment of the present application, when the decoder performs RAHT processing on the point cloud data in the corresponding coordinate axis direction according to the processing order, it can first parse the code stream to determine the Morton code of the node in the point cloud data; and then perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0209] Specifically, in an embodiment of the present application, the decoder can first calculate the Morton code of each node in the point cloud data, and then sort the nodes in the point cloud data in order from small to large according to the Morton code, and finally traverse each node in the point cloud data in the sorted order.

[0210] It can be understood that in the embodiments of the present application, the processing order is the transformation order when performing RAHT transformation on the point cloud attribute information. Therefore, after determining the processing order, the decoder can use the processing order to perform RAHT transformation on the point cloud data.

[0211] It should be noted that in the embodiments of the present application, since the point cloud data can be all the data in the point cloud, the processing order can be the transformation order of all the data in the point cloud. After determining the processing order, the decoder can perform RAHT transformation on each point in the point cloud in turn according to the processing order.

[0212] Furthermore, in an embodiment of the present application, since the point cloud data can also be partial data in the point cloud, that is, the point cloud data can be the data of any slice in the point cloud, the processing order can also be the transformation order of the partial data in the point cloud. After the decoder determines the processing order corresponding to a slice in the point cloud, it can perform RAHT transformation on each point in the slice in turn according to the processing order.

[0213] That is to say, in the present application, if the processing order is the transformation order of all the data in the point cloud, the decoder can use the same transformation order to perform RAHT transformation on all the data in the point cloud; if the processing order is the transformation order of part of the data in the point cloud, the decoder can use the same transformation order to perform RAHT transformation on part of the data in the point cloud, such as for the data in a slice after division, the same transformation order can be used to perform RAHT transformation.

[0214] Furthermore, in an embodiment of the present application, when the decoder performs RAHT transform on point cloud data according to the processing order and the Morton code, the decoder may first compare the processing order with the preset order to determine whether the processing order of the point cloud data is the same as the preset order.

[0215] It is understandable that, in the embodiment of the present application, the preset order may be a default transformation order pre-stored in the decoder. For example, the decoder may set the ZYX order as the preset order.

[0216] Furthermore, in an embodiment of the present application, after the decoder compares the processing order with the preset order, if the processing order is the same as the preset order, the decoder can directly perform RAHT transformation on the point cloud data according to the preset order and the Morton code; if the processing order is different from the preset order, the decoder can perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0217] It can be understood that in the embodiments of the present application, Fig.13 Schematic diagram of the implementation process of point cloud decoding Figure 2 ,like Fig.13 As shown, before the decoder parses the code stream and obtains the coordinate axis sequence index number, that is, before step 201, the method for the decoder to decode the point cloud data may further include the following steps:

[0218] Step 205: parse the code stream and determine a sequence indication parameter; wherein the sequence indication parameter is used to indicate whether to use a preset sequence.

[0219] Step 206: If the value of the sequence indication parameter indicates that the preset sequence is not used, it is determined that the processing sequence is different from the preset sequence.

[0220] Step 207: If the value of the sequence indication parameter indicates that a preset sequence is used, determine that the processing sequence is the same as the preset sequence.

[0221] In an embodiment of the present application, the decoder may also first determine the order indication parameters corresponding to the point cloud data by parsing the code stream, and then determine whether to use a preset order for transformation processing according to the order indication parameters.

[0222] It should be noted that, in the embodiments of the present application, the sequence indication parameter can be used to indicate whether to use a preset sequence. That is, if the encoder uses a preset sequence for transformation processing, the sequence indication parameter obtained by the decoder analysis can indicate that the preset sequence is used; if the encoder does not use the preset sequence for transformation processing, the sequence indication parameter obtained by the decoder analysis can indicate that the preset sequence is not used.

[0223] Furthermore, in an embodiment of the present application, after the decoder parses and obtains the sequence indication parameter, if the value of the sequence indication parameter indicates that the preset order is not used, then the decoder needs to transform the point cloud data according to the processing order; if the value of the sequence indication parameter indicates that the preset order is used, then the decoder can transform the point cloud data according to the preset order.

[0224] Exemplarily, in the present application, when the value of the sequence indication parameter is 0, it can be considered that the indication is not to use the preset sequence; when the value of the sequence indication parameter is set to 1, it can be considered that the indication is to use the preset sequence.

[0225] It can be understood that in the present application, the order indication parameter can be represented by the syntax attr_raht_order_default_flag. Specifically, if the value of attr_raht_order_default_flag is equal to 1, it indicates that the preset order is used; if the value of attr_raht_order_default_flag is equal to 0, it indicates that the preset order is not used.

[0226] Through the point cloud decoding method proposed in the above steps 201 to 207, the decoder no longer performs RAHT transformation on the point cloud using a fixed transformation order as proposed in the prior art, such as performing RAHT processing on all point clouds in XYZ order. Instead, in the process of decoding the point cloud data, the processing order corresponding to the point cloud data is first determined before the transformation processing is performed, and then the RAHT transformation is performed using the processing order.

[0227] It can be understood that in the present application, from the perspective of the processing order of the three coordinates X, Y, and Z, in the current G-PCC, the decoder performs transformation processing in a fixed order, and the point cloud decoding method proposed in the present application can improve the decoding efficiency by adaptively changing the processing order of the three coordinates of the decoder in G-PCC.

[0228] It should be noted that in the present application, the flexibility of the processing order can be limited to the sequence layer, and the entire point cloud can use the same coordinate processing order, that is, the divisions in the point cloud (such as slices) all use the same coordinate processing order.

[0229] It can be understood that in the present application, the encoding end can pre-process the point cloud data before encoding the point cloud data. Specifically, the encoder can reset the X, Y, and Z coordinate axes of the point cloud data and redetermine the processing order; then encode the pre-processed point cloud data, and from the display perspective, indicate the pre-processing method at the sequence layer, that is, after encoding the coordinate axis sequence index number corresponding to the processing order, write the encoded bits into the bit stream; so that after the bit stream is transmitted to the decoding end, the decoder decodes the bit stream to obtain the decoded point cloud, and post-processes the point cloud according to the pre-processing method indicated by the sequence layer, that is, the decoding end parses to obtain the coordinate axis sequence index number, and determines the processing order indicated by the coordinate axis sequence index number, so that the X, Y, and Z coordinate axes of the point cloud data can be adaptively set.

[0230] The embodiment of the present application discloses a point cloud decoding method, wherein the decoder parses the bitstream to obtain a coordinate axis sequence index number; according to the coordinate axis sequence index number, the processing order of the point cloud data in the point cloud decoding process is determined; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; the bitstream is parsed to obtain the restored data of the point cloud data; according to the processing order, the position of the coordinate data of the point cloud data in the storage unit of the restored data is determined. That is to say, in the embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, and write the processing order into the bitstream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bitstream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in this application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

[0231] Based on the above embodiments, another embodiment of the present application provides a point cloud encoding and decoding method. Compared with the prior art, in the embodiment of the present application, the codec can change the fixed transformation order, that is, change the default order that is not transmitted. Whether at the encoding end or the decoding end, before performing RAHT transformation on the point cloud, the processing order corresponding to the point cloud data is determined, and then the RAHT transformation is performed using the processing order. The transformation process at the decoding end is exemplified below.

[0232] Exemplarily, in one embodiment, after parsing the code stream, the decoder obtains a processing order XYZ of the point cloud data, wherein the point cloud data is partial data in the point cloud, i.e., a slice in the point cloud, and the processing order is different from the fixed preset order ZYX. Then, the decoder can perform a point sorting process in the corresponding slice based on the Morton code.

[0233] Among them, in the octree node decoding process, the spatial position of each point in the used child is determined according to the number of repeated points in each child and the use of the direct encoding position, as follows:

[0234]

[0235]

[0236] In the point sorting process based on the Morton code, the decoder parses the code stream to obtain the array McodeBeforeSort[i], where i=0...PointNum-1, as follows:

[0237]

[0238] Generally, from the perspective of the encoding process or encoder, syntax elements are delivered to the bitstream to indicate information. From the perspective of the decoding process or decoder, syntax elements are parsed from the bitstream to obtain the indicated information.

[0239] Exemplarily, in one embodiment, the processing order may be passed to the attribute parameter set syntax, that is, the decoder may obtain the processing order by parsing the bitstream of the attribute parameter set, wherein the syntax of the attribute parameter set is shown in Table 4.

[0240] Table 4

[0241]

[0242]

[0243] Specifically, in the present application, the coordinate axis order index number attr_raht_order_index may indicate the processing order for the node, i.e., the RAHT transformation order. In the bitstream, the value of attr_raht_order_index may be 0, 1, 2, 3, 4, 5, 6, or 7. Based on the above Table 1, the decoder may determine the corresponding processing order based on the attr_raht_order_index obtained by parsing, and then may perform the point sorting process based on the Morton code according to the processing order.

[0244] Exemplarily, in one embodiment, in the attribute parameter set, a flag may be first passed to indicate whether to use the default transformation order, that is, whether to use the preset order. If not, the coordinate axis order index number attr_raht_order_index is passed to indicate a transformation order other than the preset order.

[0245] That is, in this application, after parsing the bitstream of the attribute parameter set, the decoder can obtain the order indication parameter; wherein the order indication parameter is used to indicate whether to use the preset order. The attribute parameter set syntax is shown in Table 5:

[0246] Table 5

[0247]

[0248]

[0249] It can be understood that in the present application, the order indication parameter can be represented by the syntax attr_raht_order_default_flag. Specifically, if the value of attr_raht_order_default_flag is equal to 1, it indicates that the preset order is used; if the value of attr_raht_order_default_flag is equal to 0, it indicates that the preset order is not used.

[0250] Further, in an embodiment of the present application, if the value of attr_raht_order_default_flag is equal to 0, that is, the preset order is not used, then the decoder can further determine the processing order to be used by parsing the obtained coordinate axis order index number attr_raht_order_index.

[0251] It can be understood that, in the present application, if the preset order is the XYZ order, then the value of the coordinate axis order index number attr_raht_order_index obtained by the decoder analysis can be used to indicate the other five transformation orders other than the XYZ order, that is, in the present application, on the basis of determining the order indication parameter attr_raht_order_default_flag, the coordinate axis order index number attr_raht_order_index is used to indicate other transformation orders other than the preset order.

[0252] Table 6

[0253] Coordinate axis sequence index number Processing order 0 ZYX 1 XZY 2 YZX 3 ZXY 4 YXZ

[0254] Further, in the present application, the coordinate axis order index number attr_raht_order_index indicates the RAHT order for the node (in addition to the default preset order), that is, indicates the processing order. In the bitstream, the value of attr_raht_order_index should be equal to 0, 1, 2, 3 or 4. Table 6 is a corresponding relationship table 3 between the preset index number and the processing order, wherein the preset order is XYZ. As shown in Table 6, based on the value of the coordinate axis order index number, the decoder can query the corresponding relationship table between the preset index number and the processing order to determine the corresponding processing order.

[0255] Further, in the present application, after the decoder parses the bitstream of the attribute parameter set to obtain the order indication parameter attr_raht_order_default_flag, if the value of attr_raht_order_default_flag is equal to 1, it indicates to use the preset order, then the decoder can perform the point sorting process based on the Morton code according to the preset order.

[0256] Further, in the present application, after the decoder parses the bitstream of the attribute parameter set to obtain the order indication parameter attr_raht_order_default_flag, if the value of attr_raht_order_default_flag is equal to 0, it indicates that the preset order is not used, then the decoder can continue to parse the bitstream to obtain the coordinate axis order index number attr_raht_order_index, determine the processing order, and thus can perform the point sorting process based on the Morton code according to the processing order.

[0257] Exemplarily, in one embodiment, the processing order is passed to the attribute parameter set, except that the descriptor of the syntax element attr_raht_order_index is ue(V) (i.e., Exp-Golomb code). From the encoding point of view, the descriptor corresponds to the entropy encoding method of the syntax element, while from the decoding point of view, the descriptor corresponds to the parsing process of the syntax element.

[0258] It can be understood that, in the present application, the processing order of the RAHT transform is passed to the attribute parameter set, and will be applied to encode or decode one or more slices related to the attribute parameter set.

[0259] Exemplarily, in one embodiment, the processing order with or without a preset order is passed to the attribute slice header. The attribute slice header syntax is shown in Table 7:

[0260] Table 7

[0261]

[0262] It is understood that in the present application, the processing order passed into the attribute slice header is only used for encoding or decoding the slice.

[0263] Exemplarily, in one embodiment, the processing order with / without a preset order is passed to the attribute parameter set and the attribute slice header associated with the attribute parameter set. The processing order passed to the attribute slice header may override the processing order determined by parsing the attribute parameter set.

[0264] Specifically, in this application, the processing order is passed to the attribute parameter set, where the attribute parameter set syntax is shown in Table 8:

[0265] Table 8

[0266]

[0267] Further, in an embodiment of the present application, the attribute slice header syntax is shown in Table 9:

[0268] Table 9

[0269]

[0270]

[0271] It can be understood that, in the present application, after parsing the bitstream, the decoder can obtain the syntax element ash_attr_raht_order_override_flag; wherein the syntax element ash_attr_raht_order_override_flag is used to indicate whether to use the processing order passed to the attribute parameter set.

[0272] Further, in an embodiment of the present application, if the value of ash_attr_raht_order_override_flag is equal to 0, the processing order passed to the attribute parameter set related to the slice is used.

[0273] Further, in an embodiment of the present application, if the value of ash_attr_raht_order_override_flag is equal to 1, indicating that the processing order indicated by ash_attr_raht_index is used, then the decoder can obtain ash_attr_raht_index by parsing to further determine the processing order to be used. Specifically, the decoder can further obtain the processing order indicated by ash_attr_raht_index through the above Table 1.

[0274] It can be understood that in an embodiment of the present application, if the value of ash_attr_raht_order_override_flag is equal to 1, that is, indicating the use of the processing order indicated by ash_attr_raht_index, then the decoder can dynamically determine the processing order after removing the processing order in the attribute parameter set (i.e., the active attribute parameter set) that has been passed to the slice. For example, if the processing order passed to the active attribute parameter set is ZYX, then the encoder or decoder can construct a correspondence table between the preset index number and the processing order in an order other than the ZYX order. Among them, in the bitstream, the value of attr_raht_order_index should be equal to 0, 1, 2, 3 or 4. Table 10 is a table 4 of the correspondence between the preset index number and the processing order, wherein, if the processing order passed to the active attribute parameter set is ZYX, as shown in Table 10, based on the value of the coordinate axis order index number ash_attr_raht_index, the decoder can determine the corresponding processing order by querying the correspondence table between the preset index number and the processing order.

[0275] Table 10

[0276] Coordinate axis sequence index number Processing order 0 XYZ 1 XZY 2 YZX 3 ZXY 4 YXZ

[0277] It can be understood that, in the present application, if ash_attr_raht_order_index is an encoded or parsed ue(v), bits used to represent ash_attr_raht_order_index in the bitstream can be saved.

[0278] Further, in the present application, when attr_coding_type is equal to 1 in the attribute parameter set, an additional flag such as attr_raht_order_override_allowed_flag is passed (from the perspective of encoding or encoder) or parsed (from the perspective of decoding or decoder) to indicate whether the processing order of the RAHT transform detailed in the attribute slice header associated with the attribute parameter set is allowed to override the processing order of the RAHT transform detailed in the attribute parameter set. For attr_raht_order_override_allowed_flag, the attribute slice header syntax is shown in Table 11:

[0279] Table 11

[0280]

[0281] Furthermore, in the present application, after parsing the code stream to obtain the processing order, the decoder can perform a point sorting process based on the Morton code according to a preset order.

[0282] The embodiment of the present application discloses a point cloud encoding and decoding method, an encoder, a decoder and a computer storage medium, wherein the encoder determines the processing order of point cloud data in the point cloud encoding process; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; determines the coordinate axis sequence index number corresponding to the processing order; encodes the coordinate axis sequence index number and writes the encoding bit into the bit stream; processes the point cloud data according to the processing order to obtain the point cloud data to be encoded; encodes the point cloud data to be encoded and writes the encoding bit into the bit stream. The decoder parses the bit stream to obtain the coordinate axis sequence index number; determines the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; parses the bit stream to obtain the restored data of the point cloud data; determines the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order. That is to say, in an embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, and write the processing order into the bitstream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bitstream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in the present application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and then the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

[0283] Based on the above embodiment, in yet another embodiment of the present application, Fig.14 The structure of the encoder is shown in Figure 2. Figure 1 ,like Fig.14 As shown, the encoder 300 proposed in the embodiment of the present application may include: a first determining part 301, an encoding part 302 and a transforming part 303.

[0284] The first determining part 301 is configured to determine the processing order of the point cloud data in the point cloud encoding process; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; and determine the coordinate axis sequence index number corresponding to the processing order;

[0285] The encoding part 302 is configured to encode the coordinate axis sequential index number and write the encoded bits into the bit stream;

[0286] The transformation part 303 is configured to process the point cloud data according to the processing order to obtain the point cloud data to be encoded;

[0287] The encoding part 302 is further configured to encode the point cloud data to be encoded and write the encoded bits into a bit stream.

[0288] Further, in an embodiment of the present application, the first determining part 301 is specifically configured to determine the processing order according to the Morton code of the node in the point cloud data.

[0289] Furthermore, in an embodiment of the present application, the processing order is any one of the ZYX order, XYZ order, XZY order, YZX order, ZXY order, and YXZ order; wherein X, Y, and Z are coordinate axes of the three-dimensional coordinates of the point cloud data.

[0290] Furthermore, in an embodiment of the present application, the first determining part 301 is further specifically configured to set the value of the coordinate axis sequence index number corresponding to the processing sequence according to a correspondence table between preset index numbers and processing sequences.

[0291] Furthermore, in an embodiment of the present application, the correspondence table between the preset index numbers and the processing order includes:

[0292]

[0293]

[0294] Furthermore, in an embodiment of the present application, the encoding part 302 is specifically configured to encode the coordinate axis sequential index number using an equal-length encoding method.

[0295] Furthermore, in an embodiment of the present application, the encoding part 302 is also specifically configured to write the encoding bits into a code stream corresponding to a data unit of a parameter set; wherein the data unit of the parameter set includes parameters used to decode the point cloud data.

[0296] Furthermore, in an embodiment of the present application, the parameter set is a parameter set of a sequence layer.

[0297] Furthermore, in an embodiment of the present application, the parameter set is a sequence parameter set.

[0298] Furthermore, in an embodiment of the present application, the data unit of the parameter set includes attribute information of the point cloud data; wherein the attribute information is a scalar or vector attribute associated with a point in the point cloud data.

[0299] Furthermore, in an embodiment of the present application, the data unit of the parameter set includes geometric information of the point cloud data; wherein the geometric information is the Cartesian coordinates associated with the points in the point cloud data.

[0300] Further, in an embodiment of the present application, the transformation part 303 is specifically configured to perform coordinate mapping processing on the point cloud data according to the processing order.

[0301] Furthermore, in an embodiment of the present application, the transformation part 303 is further specifically configured to rearrange the coordinates of the point cloud data according to the processing order.

[0302] Furthermore, in an embodiment of the present application, the transformation part 303 is further specifically configured to process the point cloud data in the corresponding coordinate axis directions in sequence according to the processing order.

[0303] Furthermore, in an embodiment of the present application, the transformation part 303 is further specifically configured to perform RAHT processing on the point cloud data in the corresponding coordinate axis directions in sequence according to the processing order.

[0304] Furthermore, in an embodiment of the present application, the transformation part 303 is further specifically configured to determine the Morton code of the node in the point cloud data, and perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0305] Furthermore, in an embodiment of the present application, the transformation part 303 is also specifically configured to perform RAHT transformation on the point cloud data according to the preset order and the Morton code if the processing order is the same as the preset order; if the processing order is different from the preset order, perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0306] Further, in an embodiment of the present application, the first determining part 301 is further configured to determine a sequence indication parameter according to the processing sequence after determining the processing sequence of the point cloud data in the point cloud encoding process and before determining the coordinate axis sequence index number corresponding to the processing sequence; wherein the sequence indication parameter is used to indicate whether to use the preset sequence;

[0307] The encoding part 302 is further configured to encode the sequence indication parameter and write the encoded bits into the bit stream.

[0308] Further, in an embodiment of the present application, the first determination part 301 is also specifically configured to, if the processing order is different from the preset order, set the value of the order indication parameter to indicate that the preset order is not used; if the processing order is the same as the preset order, set the value of the order indication parameter to indicate that the preset order is used.

[0309] Furthermore, in the embodiment of the present application, the encoding part 302 is further specifically configured to write the encoding bits into the data unit where the auxiliary information of the code stream is located.

[0310] Furthermore, in an embodiment of the present application, the auxiliary information is video usability information VUI.

[0311] Furthermore, in an embodiment of the present application, the auxiliary information is supplemental enhancement information SEI.

[0312] Furthermore, in an embodiment of the present application, the encoding part 302 is further specifically configured to write the encoding bits into a transmission stream containing point cloud encoding data corresponding to the point cloud data.

[0313] Furthermore, in an embodiment of the present application, the encoding part 302 is further specifically configured to write the encoding bits into a media file containing point cloud encoding data corresponding to the point cloud data.

[0314] Fig.15 The structure of the encoder is shown in Figure 2. Figure 2 ,like Fig.15 As shown, the encoder 300 proposed in the embodiment of the present application may also include a first processor 304, a first memory 305 storing executable instructions of the first processor 304, a first communication interface 306, and a first bus 307 for connecting the first processor 304, the first memory 305 and the first communication interface 306.

[0315] Furthermore, in an embodiment of the present application, the above-mentioned first processor 304 is used to determine the processing order of point cloud data in the point cloud encoding process; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; determine the coordinate axis sequence index number corresponding to the processing order; encode the coordinate axis sequence index number and write the encoded bits into the bit stream; process the point cloud data according to the processing order to obtain the point cloud data to be encoded; encode the point cloud data to be encoded and write the encoded bits into the bit stream.

[0316] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0317] An embodiment of the present application provides an encoder, which determines the processing order of point cloud data during point cloud encoding; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; determines the coordinate axis sequence index number corresponding to the processing order; encodes the coordinate axis sequence index number and writes the encoding bit into the bit stream; processes the point cloud data according to the processing order to obtain the point cloud data to be encoded; encodes the point cloud data to be encoded and writes the encoding bit into the bit stream. That is to say, in an embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, write the processing order into the bit stream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bit stream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in this application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

[0318] Fig.16 The structure of the decoder is shown in Figure 2. Figure 1 ,like Fig.16 As shown, the decoder 400 proposed in the embodiment of the present application may include: a parsing part 401, a second determining part 402,

[0319] The parsing part 401 is configured to parse the code stream to obtain the coordinate axis sequence index number;

[0320] The second determining part 402 is configured to determine the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud;

[0321] The parsing part 401 is further configured to parse the code stream to obtain the restored data of the point cloud data;

[0322] The second determining part 402 is further configured to determine the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order.

[0323] Further, in an embodiment of the present application, the parsing part 401 is specifically configured to parse the equal-length code to obtain the coordinate axis sequence index number.

[0324] Furthermore, in an embodiment of the present application, the parsing part 401 is further specifically configured to parse the code stream corresponding to the data unit of the parameter set in the code stream; wherein the data unit of the parameter set includes parameters used to decode the point cloud data.

[0325] Furthermore, in an embodiment of the present application, the parameter set is a parameter set of a sequence layer.

[0326] Furthermore, in an embodiment of the present application, the parameter set is a sequence parameter set.

[0327] Furthermore, in an embodiment of the present application, the data unit of the parameter set includes attribute information of the point cloud data; wherein the attribute information is a scalar or vector attribute associated with a point in the point cloud data.

[0328] Furthermore, in an embodiment of the present application, the data unit of the parameter set includes geometric information of the point cloud data; wherein the geometric information is the Cartesian coordinates associated with the points in the point cloud data.

[0329] Furthermore, in an embodiment of the present application, the processing order is any one of the ZYX order, XYZ order, XZY order, YZX order, ZXY order, and YXZ order; wherein X, Y, and Z are coordinate axes of the three-dimensional coordinates of the point cloud data.

[0330] Further, in an embodiment of the present application, the second determining part 402 is specifically configured to determine the processing order corresponding to the coordinate axis sequence index number according to a correspondence table between preset index numbers and processing orders.

[0331] Furthermore, in an embodiment of the present application, the correspondence table between the preset index numbers and the processing order includes:

[0332] Coordinate axis sequence index number Processing order 0 ZYX order 1 XYZ order 2 XZY order 3 YZX order 4 ZYX order 5 ZXY sequence 6 YXZ order 7 XYZ order

[0333] Further, in an embodiment of the present application, the second determination part 402 is also specifically configured to obtain, in the restored data storage unit, for a point in the point cloud data, coordinate data of the point according to the coordinate axis order indicated by the processing order.

[0334] Further, in an embodiment of the present application, the second determining part 402 is further specifically configured to perform RAHT processing on the point cloud data in the corresponding coordinate axis directions in sequence according to the processing order.

[0335] Furthermore, in an embodiment of the present application, the second determination part 402 is also specifically configured to parse the code stream to determine the Morton code of the node in the point cloud data; and perform RAHT transformation on the point cloud data according to the processing order and the Morton code.

[0336] Furthermore, in an embodiment of the present application, the second determination part 402 is also specifically configured to perform a RAHT transformation on the point cloud data according to the preset order and the Morton code if the processing order is the same as the preset order; and to perform a RAHT transformation on the point cloud data according to the processing order and the Morton code if the processing order is different from the preset order.

[0337] Further, in an embodiment of the present application, the parsing part 401 is further configured to parse the code stream to determine a sequence indication parameter before obtaining the coordinate axis sequence index sequence number; wherein the sequence indication parameter is used to indicate whether to use the preset sequence;

[0338] The second determination part 402 is also configured to determine that the processing order is different from the preset order if the value of the sequence indication parameter indicates that the preset order is not used; if the value of the sequence indication parameter indicates that the preset order is used, determine that the processing order is the same as the preset order.

[0339] Furthermore, in the embodiment of the present application, the parsing part 401 is further specifically configured to parse the data unit where the auxiliary information of the code stream is located to obtain the coordinate axis sequence index number.

[0340] Furthermore, in an embodiment of the present application, the auxiliary information is video usability information VUI.

[0341] Furthermore, in an embodiment of the present application, the auxiliary information is supplemental enhancement information SEI.

[0342] Furthermore, in an embodiment of the present application, the parsing part 401 is further specifically configured to parse a transmission stream containing the point cloud encoding data to obtain the coordinate axis sequential index number.

[0343] Furthermore, in an embodiment of the present application, the parsing part 401 is further specifically configured to parse a media file containing the point cloud encoding data to obtain the coordinate axis sequential index number.

[0344] Fig.17 The structure of the decoder is shown in Figure 2. Figure 2 ,like Fig.17 As shown, the decoder 400 proposed in the embodiment of the present application may also include a second processor 403, a second memory 404 storing executable instructions of the second processor 403, a second communication interface 405, and a second bus 406 for connecting the second processor 403, the second memory 404 and the second communication interface 405.

[0345] Furthermore, in an embodiment of the present application, the above-mentioned second processor 403 is used to parse the code stream to obtain the coordinate axis sequence index number; determine the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; parse the code stream to obtain the restored data of the point cloud data; and determine the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order.

[0346] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0347] An embodiment of the present application provides a decoder, which parses a bitstream to obtain a coordinate axis sequence index number; determines the processing order of point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; parses the bitstream to obtain the restored data of the point cloud data; and determines the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order. That is to say, in an embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, and write the processing order into the bitstream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bitstream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in this application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

[0348] The embodiments of the present application provide a computer-readable storage medium and a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, the method described in the above embodiments is implemented.

[0349] Specifically, the program instructions corresponding to an encoding method in this embodiment can be stored on a storage medium such as a CD, a hard disk, a USB flash drive, etc. When the program instructions corresponding to an encoding method in the storage medium are read or executed by an electronic device, the following steps are included:

[0350] Determining a processing order of point cloud data during point cloud encoding; wherein the processing order indicates a processing order of coordinate axes of three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud;

[0351] Determine the coordinate axis sequence index number corresponding to the processing sequence;

[0352] Encoding the coordinate axis sequential index number and writing the encoded bits into a bit stream;

[0353] Processing the point cloud data according to the processing sequence to obtain point cloud data to be encoded;

[0354] The point cloud data to be encoded is encoded, and the encoded bits are written into a bit stream.

[0355] Specifically, the program instructions corresponding to a decoding method in this embodiment can be stored in a storage medium such as a CD, a hard disk, a USB flash drive, etc. When the program instructions corresponding to a decoding method in the storage medium are read or executed by an electronic device, the following steps are included:

[0356] Parse the code stream to obtain the coordinate axis sequence index number;

[0357] Determine the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud;

[0358] Parsing the code stream to obtain the restored data of the point cloud data;

[0359] According to the processing sequence, the position of the coordinate data of the point cloud data in the storage unit of the restored data is determined.

[0360] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0361] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0362] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0363] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

[0364] Industrial Applicability

[0365] The embodiment of the present application discloses a point cloud encoding and decoding method, an encoder, a decoder and a computer storage medium, wherein the encoder determines the processing order of point cloud data in the point cloud encoding process; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; determines the coordinate axis sequence index number corresponding to the processing order; encodes the coordinate axis sequence index number and writes the encoding bit into the bit stream; processes the point cloud data according to the processing order to obtain the point cloud data to be encoded; encodes the point cloud data to be encoded and writes the encoding bit into the bit stream. The decoder parses the bit stream to obtain the coordinate axis sequence index number; determines the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; parses the bit stream to obtain the restored data of the point cloud data; determines the position of the coordinate data of the point cloud data in the storage unit of the restored data according to the processing order. That is to say, in an embodiment of the present application, on the encoding side, the encoder can first determine the processing order of the transformation processing corresponding to the point cloud data, and write the processing order into the bitstream while performing the RAHT transformation according to the processing order, and transmit it to the decoder. On the decoding side, the decoder obtains the processing order of the transformation processing corresponding to the point cloud data by parsing the bitstream, so that the RAHT transformation can be performed according to the processing order. It can be seen that the point cloud encoding and decoding method proposed in the present application no longer uses a fixed RAHT transformation order for all or part of the point cloud data, but uses the syntax elements in the bitstream to describe the processing order, so that the coordinate processing order in the encoding and decoding process can be adaptively changed, and then the RAHT transformation efficiency can be fully demonstrated, which solves the problem of low transformation efficiency and greatly improves the encoding and decoding efficiency.

Claims

1. A point cloud compression coding method based on geometry, applied to an encoder, the method include: Determining a processing order of point cloud data during point cloud encoding; wherein the processing order indicates a processing order of coordinate axes of three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; Determine the coordinate axis sequence index number corresponding to the processing sequence; Encoding the coordinate axis sequential index number and writing the encoded bits into a bit stream; According to the processing sequence, the point cloud data is processed by performing a regional adaptive hierarchical transform (RAHT) to obtain point cloud data to be encoded; Encoding the point cloud data to be encoded, and writing the encoded bits into a bit stream; The processing sequence is any one of a ZYX sequence, an XYZ sequence, an XZY sequence, a YZX sequence, a ZXY sequence, and a YXZ sequence; wherein X, Y, and Z are coordinate axes of the three-dimensional coordinates of the point cloud data; Wherein, the step of determining the coordinate axis sequence index number corresponding to the processing sequence includes: According to the correspondence table between preset index numbers and processing sequences, the value of the coordinate axis sequence index number corresponding to the processing sequence is set.

2. The method according to claim 1, in, The step of determining the processing order of the point cloud data in the point cloud encoding process includes: The processing order is determined according to the Morton codes of the nodes in the point cloud data.

3. The method according to claim 1, in, The correspondence table between the preset index numbers and the processing order includes: 。 4. A geometry-based point cloud compression decoding method, applied to a decoder, the method include: Parse the code stream to obtain the coordinate axis sequence index number; Determine the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequence index number; wherein the processing order indicates the coordinate axis processing order of the three-dimensional coordinates of the point cloud data, and the point cloud data is all or part of the data in the point cloud; Parsing the code stream to obtain the restored data of the point cloud data; According to the processing sequence, determining the position of the coordinate data of the point cloud data in the storage unit of the restored data by performing a regional adaptive hierarchical transform (RAHT); The processing sequence is any one of a ZYX sequence, an XYZ sequence, an XZY sequence, a YZX sequence, a ZXY sequence, and a YXZ sequence; wherein X, Y, and Z are coordinate axes of the three-dimensional coordinates of the point cloud data; Wherein, determining the processing order of the point cloud data in the point cloud decoding process according to the coordinate axis sequential index number includes: The processing sequence corresponding to the coordinate axis sequence index number is determined according to a correspondence table between preset index numbers and processing sequences.

5. The method according to claim 4, in, The parsing code stream to obtain the coordinate axis sequence index number includes: Parse the equal-length code to obtain the coordinate axis sequence index number.

6. The method according to claim 4, in, The parsing code stream to obtain the coordinate axis sequence index number includes: Parse a code stream corresponding to a data unit of a parameter set in the code stream; wherein the data unit of the parameter set includes parameters used to decode the point cloud data.

7. The method according to claim 4, in, The correspondence table between the preset index numbers and the processing order includes:

8. An encoder, comprising a first processor and a first memory storing instructions executable by the first processor, wherein when the instructions are executed, the first processor implements the method according to any one of claims 1 to 3.

9. A decoder, comprising a second processor and a second memory storing instructions executable by the second processor, wherein when the instructions are executed, the second processor implements the method according to any one of claims 4 to 7.

10. A computer storage medium, in, The computer storage medium stores a computer program, which implements the method according to any one of claims 1 to 3 when executed by a first processor, or implements the method according to any one of claims 4 to 7 when executed by a second processor.