Point cloud coding processing method, point cloud decoding processing method and related device
By sorting or classifying the attribute transformation coefficients of nodes to be encoded in the point cloud encoding process, the problem of low encoding efficiency in the prior art is solved and the effect of zero-run encoding is improved.
Patent Information
- Application Number
- PCT/CN2024/086904
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-17
- Filing Date
- 2024-04-10
- Publication Date
- 2024-10-24
AI Technical Summary
In the existing technology, point cloud coding efficiency is low, especially in the zero-run coding process. Since the attribute transformation coefficient corresponding to LLH is large, the number of consecutive zeros is reduced, which affects the coding efficiency.
By sorting or classifying the attribute transformation coefficients of the nodes to be encoded, and changing their arrangement order to improve the '0' run length continuity in zero run encoding, the specific method includes sorting the attributes of different nodes to be encoded at the same sorted position. The transformation coefficients are divided into one category, or the attribute transformation coefficients of two adjacent nodes to be encoded are arranged alternately.
The encoding efficiency is improved, and the zero-run encoding effect is improved by increasing the number of consecutive 0s.
Smart Images

Figure CN2024086904_24102024_PF_FP_ABST
Abstract
Description
Point cloud encoding processing method, point cloud decoding processing method and related equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese Patent Application No. 202310408339.4 filed in China on April 17, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application belongs to the field of computer technology, and specifically relates to a point cloud encoding processing method, a point cloud decoding processing method and related equipment. Background Art
[0004] A point cloud is a representation of a three-dimensional object or scene. It is composed of a set of discrete points that are randomly distributed in space and express the spatial structure and surface properties of the three-dimensional object or scene. In order to accurately reflect the information in space, the number of discrete points required is quite large. In order to reduce the bandwidth occupied by point cloud data storage and transmission, the point cloud data needs to be encoded and compressed. Point cloud data usually consists of geometric information describing the location, such as three-dimensional coordinates (x, y, z), and attribute information of the location, such as color (R, G, B) or reflectivity. In the point cloud coding and compression process, the encoding of geometric information and attribute information is performed separately. The zero-run encoding algorithm is usually used to encode the attribute information.
[0005] In the related art, when encoding attribute information using the zero-run coding algorithm, the attribute transformation coefficients in each 2*2*2 block in each layer are encoded sequentially from top to bottom according to the transformation tree structure of the point cloud. For the attribute transformation coefficients in each block, they are encoded in the order of LLH, LHL, HLL, LHH, HLH, HHL, HHH, that is, they are encoded in order from large to small. Between two adjacent blocks, after encoding the attribute transformation coefficient corresponding to HHH of the first block, the attribute transformation coefficient corresponding to LLH of the second block is encoded. Since the attribute transformation coefficient corresponding to LLH is usually large, it is easy to cause the number of consecutive 0s to decrease, making the effect of zero-run coding poor, thereby resulting in low coding efficiency.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a point cloud encoding processing method, a point cloud decoding processing method and related equipment, which can solve the problem of low encoding efficiency.
[0008] In a first aspect, a point cloud encoding processing method is provided, which is executed by an encoding end and includes:
[0009] Performing transformation processing based on a transformation tree structure corresponding to the point cloud to be encoded, to obtain multiple attribute transformation coefficients of the nodes to be encoded in the transformation tree structure;
[0010] performing sorting or classification processing on the multiple attribute transformation coefficients of the node to be encoded to obtain processed attribute transformation coefficients;
[0011] performing encoding processing on the processed attribute transformation coefficient to obtain a first encoding result;
[0012] The code stream of the point cloud to be encoded includes the first encoding result.
[0013] In a second aspect, a point cloud decoding processing method is provided, which is executed by a decoding end and includes:
[0014] Decoding a first encoding result in a bitstream to obtain a plurality of attribute transform coefficient reconstruction values, wherein the plurality of attribute transform coefficient reconstruction values are attribute transform coefficients that have been sorted or classified, and the attribute transform coefficients are attribute transform coefficients of a node to be decoded;
[0015] A plurality of attribute transformation coefficients of the node to be decoded is obtained based on the plurality of attribute transformation coefficient reconstruction values.
[0016] In a third aspect, a point cloud coding processing device is provided, comprising:
[0017] A transformation module, configured to perform transformation processing based on a transformation tree structure corresponding to the point cloud to be encoded, and obtain multiple attribute transformation coefficients of the nodes to be encoded in the transformation tree structure;
[0018] a processing module, configured to perform sorting or classification processing on the multiple attribute transformation coefficients of the node to be encoded to obtain processed attribute transformation coefficients;
[0019] an encoding module, configured to perform encoding processing on the processed attribute transformation coefficients to obtain a first encoding result;
[0020] The code stream of the point cloud to be encoded includes the first encoding result.
[0021] In a fourth aspect, a point cloud decoding and processing device is provided, comprising:
[0022] a first decoding module configured to decode a first encoding result in a bitstream to obtain a plurality of attribute transform coefficient reconstruction values, wherein the plurality of attribute transform coefficient reconstruction values are attribute transform coefficients that have been sorted or classified, and the attribute transform coefficients are attribute transform coefficients of a node to be decoded;
[0023] An acquisition module is configured to acquire a plurality of attribute transformation coefficients of the node to be decoded based on the plurality of attribute transformation coefficient reconstruction values.
[0024] In a fifth aspect, a terminal is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0025] In a sixth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the processor is used to: perform transformation processing based on a transformation tree structure corresponding to a point cloud to be encoded, to obtain a plurality of attribute transformation coefficients of the node to be encoded in the transformation tree structure; perform sorting processing or classification processing on the plurality of attribute transformation coefficients of the node to be encoded, to obtain processed attribute transformation coefficients; perform encoding processing on the processed attribute transformation coefficients, to obtain a first encoding result; wherein the code stream of the point cloud to be encoded includes the first encoding result.
[0026] In the seventh aspect, a terminal is provided, comprising a processor and a communication interface, wherein the processor is used to: decode a first encoding result in a code stream to obtain a plurality of attribute transformation coefficient reconstruction values, wherein the plurality of attribute transformation coefficient reconstruction values are attribute transformation coefficients after sorting or classification processing, and the attribute transformation coefficients are attribute transformation coefficients of a node to be decoded; and obtain a plurality of attribute transformation coefficients of the node to be decoded based on the plurality of attribute transformation coefficient reconstruction values.
[0027] In an eighth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0028] In the ninth aspect, a coding and decoding system is provided, comprising: an encoding end device and a decoding end device, wherein the encoding end device can be used to execute the steps of the method described in the first aspect, and the decoding end device can be used to execute the steps of the method described in the second aspect.
[0029] In the tenth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method as described in the first aspect, or to implement the method as described in the second aspect.
[0030] In the eleventh aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0031] In an embodiment of the present application, a transform process is performed based on a transform tree structure corresponding to a point cloud to be encoded, obtaining multiple attribute transform coefficients for nodes to be encoded in the transform tree structure; the multiple attribute transform coefficients for the nodes to be encoded are sorted or classified to obtain processed attribute transform coefficients; the processed attribute transform coefficients are encoded to obtain a first encoding result; wherein the codestream of the point cloud to be encoded includes the first encoding result. Thus, by sorting or classifying the multiple attribute transform coefficients for the nodes to be encoded, the processed attribute transform coefficients can be made conducive to zero-run encoding, thereby improving encoding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] FIG1 is a G-PCC codec framework diagram in the related art;
[0033] FIG2 is a schematic diagram of a binary RAHT decomposition of a node block in the related art;
[0034] FIG3 is a schematic diagram of a zero-run encoding process in the related art;
[0035] FIG4 is a flow chart of a point cloud coding processing method provided in an embodiment of the present application;
[0036] FIG5 is a flowchart of a point cloud decoding processing method provided in an embodiment of the present application;
[0037] FIG6 is a schematic diagram of a coding test result provided in an embodiment of the present application;
[0038] FIG7 is a schematic structural diagram of a point cloud coding processing device provided in an embodiment of the present application;
[0039] FIG8 is a schematic structural diagram of a point cloud decoding and processing device provided in an embodiment of the present application;
[0040] FIG9 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0041] FIG10 is a schematic structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0043] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0044] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.
[0045] The codec end corresponding to the point cloud codec processing method in the embodiment of the present application may be a terminal, which may also be referred to as a terminal device or user equipment (UE). The terminal may be a mobile phone, a tablet personal computer, a laptop computer or a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device (Wearable Device) or a vehicle user equipment (VUE), a pedestrian user equipment (PUE), or other terminal-side devices. Wearable devices include: smart watches, bracelets, headphones, glasses, etc. It should be noted that the specific type of terminal is not limited in the embodiment of the present application.
[0046] For ease of understanding, some of the contents involved in the embodiments of this application are described below:
[0047] 1. Geometry-based Point Cloud Compression (G-PCC) encoder
[0048] In the point cloud G-PCC encoder framework, the geometric information and attribute information of the point cloud are encoded separately. As shown in Figure 1, the current G-PCC attribute encoding can be divided into a Region Adaptive Hierarchal Transform (RAHT) based on upsampling prediction and a lifting transform based on hierarchical structure division (including the Level of Detail (LoD) generation module and the lifting module).
[0049] Based on upsampling prediction, the region-adaptive transform (RAHT) constructs an octree structure from the bottom up, and then performs upsampling prediction and region-adaptive transform layer by layer from the top down. At each layer, RAHT is applied to each unit node containing 2×2×2 child nodes. When encoding a unit node with 8 child nodes in the current layer, the attributes of the node's placeholder child nodes are weightedly predicted using its parent node (previous layer), coplanar neighbor parent node (previous layer), collinear neighbor parent node (previous layer), and the encoded coplanar neighbor child nodes (same layer) and encoded collinear neighbor child nodes (same layer). The predicted attribute values are then RAHT-transformed and subtracted from the true values to obtain the AC coefficient residual. This AC coefficient residual is then quantized and entropy-coded. However, when the number of child nodes to be encoded, the number of their neighboring grandparent nodes, and the number of their neighboring parent nodes do not meet certain conditions, no prediction will be performed. Instead, the original attribute value of the current node to be encoded will be directly subjected to RAHT transformation, and then the transformation coefficients will be quantized and entropy encoded to finally obtain the attribute code stream.
[0050] The lifting transformation based on hierarchical structure partitioning involves: first, hierarchically partitioning the point cloud to be encoded using level-of-detail partitioning (LoD) to establish a hierarchical structure for the point cloud. During this process, the bottom-level points are first encoded and decoded. Therefore, the bottom-level points and reconstructed points at the same level can be used to predict the points at the higher levels, thus achieving progressive encoding and decoding. Then, using the bottom-level points and the points at the same level as reference points, the point to be encoded is searched within the reference points. The K nearest reference points are selected as prediction reference points. Linear interpolation prediction is performed using the reconstructed attribute values of these K nearest neighbors, with the weight being the inverse of the Euclidean distance between the nearest neighbor and the point to be encoded. Finally, the lifting transformation is performed, which consists of three steps: segmentation, prediction, and update. The segmentation step spatially segments the input point cloud data into a high-level point cloud and a low-level point cloud. In the prediction step, the attribute information of the low-level point cloud is used to predict the attribute information of the high-level point cloud, resulting in a prediction residual. During the segmentation and prediction process, since the prediction strategy in LoD partitioning makes the points in the lower LoD layer have higher weights, it is necessary to define and recursively update the influence weight of each point based on the prediction residual and the distance between the predicted point and its neighbors, and finally obtain the code stream of attribute information.
[0051] 2. RAHT Transform
[0052] In order to remove the redundancy of AC coefficients, a Dyadic RAHT decomposition is proposed. As shown in Figure 2, a 2*2*2 node block is transformed along three directions, with four transformations performed in each direction. Therefore, a total of the following transformations are performed on each 2*2*2 block:
[0053] Transform along the first direction to obtain low-frequency L nodes and high-frequency H nodes;
[0054] Transform the L nodes and H nodes along the second direction to obtain low-frequency LL nodes and high-frequency LH, HL, and HH nodes;
[0055] The LL, LH, HL, and HH nodes are transformed along the third direction to obtain the low-frequency LLL node and the high-frequency LLH, LHL, LHH, HLL, HLH, HHL, and HHH nodes.
[0056] Among them, LLL is the direct current (DC) coefficient, and LLH, LHL, LHH, HLL, HLH, HHL, and HHH are AC coefficients.
[0057] The AC coefficients are quantized and entropy coded in the order of LLH, LHL, HLL, LHH, HLH, HHL, HHH.
[0058] Due to the sparsity of point clouds, in general, each 2*2*2 node block usually has less than 8 occupied child nodes, so not all AC coefficients will exist, and non-existent AC coefficients will not be encoded.
[0059] 3. Zero-run encoding
[0060] Currently, G-PCC attribute information entropy coding uses zero-run encoding. Taking color information as an example, as shown in Figure 3, when all transform coefficients are input, the system iterates through all transform coefficients. First, it determines whether the YUV or RGB components are all zero. If so, the length value is incremented by 1. If not, the system proceeds to the next set of transform coefficients. If not, the current length value is entropy encoded, then the length value is set to 0, and then the current YUV transform coefficient values are entropy encoded separately.
[0061] In related art, when encoding attribute information using a zero-run encoding algorithm, the attribute transform coefficients within each 2*2*2 block in each layer are encoded sequentially from top to bottom according to the point cloud's transform tree structure. Between two adjacent blocks, after encoding the attribute transform coefficients corresponding to the HHH of the first block, the attribute transform coefficients corresponding to the LLH of the second block are encoded. Because the attribute transform coefficients corresponding to the LLH are generally larger, they can easily reduce the number of consecutive zeros, resulting in poor zero-run encoding effectiveness and lower coding efficiency.
[0062] The point cloud encoding processing method, point cloud decoding processing method and related equipment provided in the embodiments of the present application are described in detail below with reference to some embodiments and their application scenarios in combination with the accompanying drawings.
[0063] Referring to FIG. 4 , FIG. 4 is a flowchart of a point cloud coding processing method provided in an embodiment of the present application, which can be applied to an encoding end. As shown in FIG. 4 , the point cloud coding processing method includes the following steps:
[0064] Step 101: Perform transformation processing based on a transformation tree structure corresponding to a point cloud to be encoded, and obtain multiple attribute transformation coefficients of the nodes to be encoded in the transformation tree structure.
[0065] Among them, the transformation processing based on the transformation tree structure corresponding to the point cloud to be encoded can include: obtaining the geometric information and attribute information of the point cloud to be encoded; generating a multi-layer transformation tree structure corresponding to the point cloud to be encoded based on the geometric information of the point cloud to be encoded; transforming or predicting the child nodes of each node to be encoded in each layer based on the transformation tree structure, and determining multiple attribute transformation coefficients corresponding to each node to be encoded.
[0066] In addition, each node to be coded may contain n child nodes (up to 2*2*2), and transforming the child nodes may obtain 1 DC coefficient and n-1 AC correlation coefficients, where the AC correlation coefficients include AC residual coefficients and AC coefficients.
[0067] In one embodiment, the transformation process may be a RAHT process. The attribute transformation coefficient may include a DC coefficient and an AC correlation coefficient. Taking the example of a node to be coded containing 2*2*2 child nodes, the process of transforming the transformation tree structure may include: transforming each node to be coded in the transformation tree structure along three directions, performing four transformations in each direction. Therefore, each 2*2*2 block of nodes to be coded performs the following: transforming along the first direction to obtain a low-frequency L node and a high-frequency H node; transforming the L node and the H node along the second direction to obtain a low-frequency LL node and high-frequency LH, HL, and HH nodes; transforming the LL, LH, HL, and HH nodes along the third direction to obtain a low-frequency LLL node and high-frequency LLH, LHL, LHH, HLL, HLH, HHL, and HHH nodes. Wherein LLL is the DC coefficient, and LLH, LHL, LHH, HLL, HLH, HHL, and HHH are AC coefficients. Typically, the values of the LLH, LHL, LHH, HLL, HLH, HHL, and HHH coefficients are in descending order. It should be noted that LLH, LHL, LHH, HLL, HLH, HHL, and HHH can represent attribute transformation coefficients. After transformation processing, seven types (or seven) of attribute transformation coefficients, namely LLH, LHL, LHH, HLL, HLH, HHL, and HHH, can be obtained for each node to be coded.
[0068] Step 102: sort or classify the multiple attribute transformation coefficients of the node to be encoded to obtain processed attribute transformation coefficients.
[0069] Step 103: Encoding the processed attribute transformation coefficients to obtain a first encoding result;
[0070] The code stream of the point cloud to be encoded includes the first encoding result.
[0071] In addition, the encoding process of the processed attribute transform coefficients may include quantizing and entropy encoding the processed attribute transform coefficients; specifically, the encoding process may include quantizing and zero-run attribute encoding the processed attribute transform coefficients.
[0072] In the related art, in RAHT coding, the attribute transform coefficients in each 2*2*2 block in each layer are encoded sequentially from top to bottom according to the transform tree structure. For the attribute transform coefficients in each block, they are encoded in the order of LLH, LHL, HLL, LHH, HLH, HHL, HHH, that is, from large to small. Between two adjacent blocks, after the attribute transform coefficient corresponding to the HHH of the first block (the smallest coefficient) is encoded, the attribute transform coefficient corresponding to the LLH of the second block (the largest coefficient) is then encoded. However, since the attribute transform coefficient corresponding to the LLH is usually larger, it may result in a reduction in the number of consecutive 0s, which is not conducive to zero-run coding, thereby affecting coding efficiency.
[0073] The embodiments of the present application support improving the continuity of the "0" run length in zero-run coding by changing the arrangement order of the attribute transform coefficients of the point cloud by sorting or classifying the multiple attribute transform coefficients of the nodes to be coded. For example, after the classification process, the attribute transform coefficients at the same sorting position of different nodes to be coded in the processed attribute transform coefficients can be divided into one category; or after the sorting process, the arrangement order of the multiple attribute transform coefficients of two adjacent nodes to be coded in the processed attribute transform coefficients is reversed. The sorting or classification process is conducive to the implementation of zero-run coding and can improve coding efficiency.
[0074] In an embodiment of the present application, a transform process is performed based on a transform tree structure corresponding to a point cloud to be encoded, obtaining multiple attribute transform coefficients for nodes to be encoded in the transform tree structure; the multiple attribute transform coefficients for the nodes to be encoded are sorted or classified to obtain processed attribute transform coefficients; the processed attribute transform coefficients are encoded to obtain a first encoding result; wherein the codestream of the point cloud to be encoded includes the first encoding result. Thus, by sorting or classifying the multiple attribute transform coefficients for the nodes to be encoded, the processed attribute transform coefficients can be made conducive to zero-run encoding, thereby improving encoding efficiency.
[0075] Optionally, the processed attribute transformation coefficients are attribute transformation coefficients obtained through classification processing, the multiple attribute transformation coefficients of the to-be-encoded node are sorted according to a preset rule, and the attribute transformation coefficients of different to-be-encoded nodes at the same sorting position in the processed attribute transformation coefficients are classified into one category;
[0076] The encoding process of the processed attribute transformation coefficients includes:
[0077] performing encoding processing on a target attribute transformation coefficient to obtain an encoding result corresponding to the target attribute transformation coefficient, wherein the target attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients;
[0078] The first encoding result includes the encoding result corresponding to the target class attribute transformation coefficient.
[0079] Among them, the preset rule for sorting multiple attribute transformation coefficients of the node to be encoded can be: LLH, LHL, HLL, LHH, HLH, HHL, HHH. The LLH attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category, the LHL attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category, the HLL attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category, the LHH attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category, the HLH attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category, the HHL attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category, and the HHH attribute transformation coefficients of multiple or all nodes to be encoded can be divided into one category.
[0080] In addition, the target class attribute transform coefficient may be an LLH attribute transform coefficient, or an LHL attribute transform coefficient, or an HLL attribute transform coefficient, or an LHH attribute transform coefficient, or an HLH attribute transform coefficient, or an HHL attribute transform coefficient, or an HHH attribute transform coefficient. Coding the target class attribute transform coefficient may include continuously encoding the LLH attribute transform coefficient, or continuously encoding the LHL attribute transform coefficient, or continuously encoding the HLL attribute transform coefficient, or continuously encoding the LHH attribute transform coefficient, or continuously encoding the HLH attribute transform coefficient, or continuously encoding the HHL attribute transform coefficient, or continuously encoding the HHH attribute transform coefficient. This enables encoding of attribute transform coefficients by class.
[0081] In this embodiment, the attribute transformation coefficients at the same sorting position of different nodes to be encoded in the processed attribute transformation coefficients are divided into one category. The characteristics of the attribute transformation coefficients at the same sorting position are relatively similar. Continuously encoding the attribute transformation coefficients of the same category can increase the number of consecutive 0s that appear in the attribute transformation coefficients, which is conducive to the implementation of zero-run coding and can improve coding efficiency.
[0082] Optionally, the sorting or classifying the multiple attribute transformation coefficients of the node to be encoded includes:
[0083] Adding the target class attribute transformation coefficient of the node to be encoded to a transformation coefficient set corresponding to the target class attribute transformation coefficient, wherein the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients;
[0084] The processed attribute transformation coefficients include attribute transformation coefficients in a transformation coefficient set corresponding to the target class attribute transformation coefficients.
[0085] The multiple attribute transformation coefficients may be seven types of attribute transformation coefficients. The target class attribute transformation coefficient may be an LLH attribute transformation coefficient, or an LHL attribute transformation coefficient, or an HLL attribute transformation coefficient, or an LHH attribute transformation coefficient, or an HLH attribute transformation coefficient, or an HHL attribute transformation coefficient, or an HHH attribute transformation coefficient.
[0086] In one embodiment, the target class attribute transform coefficient of the node to be encoded is added to the transform coefficient set corresponding to the target class attribute transform coefficient. This may be done by adding the target class attribute transform coefficient of the node to be encoded to the memory space corresponding to the target class attribute transform coefficient, and the target attribute transform coefficients stored in the same memory space are a transform coefficient set. For example, seven memory spaces may be set, namely buf1, buf2, buf3, buf4, buf5, buf6, and buf7. The attribute transform coefficients are stored in buf1, buf2, buf3, buf4, buf5, buf6, and buf7 in the order of LLH, LHL, HLL, LHH, HLH, HHL, and HHH.
[0087] In this embodiment, the target class attribute transformation coefficient of the node to be encoded is added to the transformation coefficient set corresponding to the target class attribute transformation coefficient. The target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients, so that the attribute transformation coefficients at the same sorting position of different nodes to be encoded can be divided into one type. Continuous encoding of the attribute transformation coefficients of the same type is conducive to the implementation of zero-run coding and can improve coding efficiency.
[0088] Optionally, the code stream further includes a second encoding result, and the second encoding result is used to represent the set size of the transformation coefficient set.
[0089] The set size of the transformation coefficient set may be represented by the amount of data in the set, or may be represented by the length of a memory space storing the transformation coefficient set.
[0090] In addition, taking the case where the multiple attribute transform coefficients are 7 types of attribute transform coefficients as an example, the parameter length_buf[i] (i=1, 2, ..., 7) can be set in the parameter set of the code stream (the parameter set can be the attribute parameter set APS, the attribute data set ADU or other parameter set). The parameter length_buf[i] is used to characterize the set size of the transform coefficient set corresponding to the 7 types of attribute transform coefficients.
[0091] It should be noted that due to the sparsity of the point cloud, the set sizes of each transform coefficient set may be different. Through the second encoding result, the decoding end can obtain the set size of each transform coefficient set, so that each transform coefficient set can be determined from the decoded attribute transform coefficient reconstruction value.
[0092] In addition, taking the example of seven types of attribute transform coefficients, the seven types of attribute transform coefficients can be stored in the order of LLH, LHL, HLL, LHH, HLH, HHL, and HHH in seven transform coefficient sets. For example, the first transform coefficient set stores the LLH attribute transform coefficients, the second transform coefficient set stores the LHL attribute transform coefficients, the third transform coefficient set stores the HLL attribute transform coefficients, the fourth transform coefficient set stores the LHH attribute transform coefficients, the fifth transform coefficient set stores the HLH attribute transform coefficients, the sixth transform coefficient set stores the HHL attribute transform coefficients, and the seventh transform coefficient set stores the HHH attribute transform coefficients. Alternatively, the seven types of attribute transform coefficients can be stored in the seven transform coefficient sets in the order agreed upon in the protocol. Alternatively, the seven types of attribute transform coefficients can be stored in the seven transform coefficient sets in a preconfigured order. This is not limited in this embodiment. When the seven types of attribute transform coefficients are stored in the preconfigured order, the codestream can further include a fourth encoding result, which can be used to represent the preconfigured order or the identifier of the transform coefficient set.
[0093] In this embodiment, the code stream also includes a second encoding result, which is used to represent the set size of the transformation coefficient set, so that the transformation coefficient set corresponding to the target class attribute transformation coefficient can be determined from the multiple attribute transformation coefficient reconstruction values based on the decoding result of the second encoding result at the decoding end.
[0094] Optionally, before performing the sorting or classification processing on the multiple attribute transformation coefficients of the node to be encoded, the method further includes:
[0095] performing grouping processing on the nodes to be coded in the transform tree structure, wherein each group of nodes to be coded includes k nodes to be coded, where k is a positive integer;
[0096] The sorting or classification processing of the multiple attribute transformation coefficients of the node to be encoded includes:
[0097] Classification processing is performed on multiple attribute transformation coefficients of the nodes to be encoded in each group of nodes to be encoded.
[0098] The target class attribute transform coefficients of the k nodes to be encoded may be added to a transform coefficient set corresponding to the target class attribute transform coefficient. For example, the target class attribute transform coefficients of the k nodes to be encoded may be added to a memory space corresponding to the target class attribute transform coefficient. The target class attribute transform coefficient may be an LLH attribute transform coefficient, an LHL attribute transform coefficient, an HLL attribute transform coefficient, an LHH attribute transform coefficient, an HLH attribute transform coefficient, an HHL attribute transform coefficient, or an HHH attribute transform coefficient.
[0099] In this embodiment, the nodes to be encoded in the transformation tree structure are grouped, wherein each group of nodes to be encoded includes k nodes to be encoded, and the multiple attribute transformation coefficients of the nodes to be encoded in each group of nodes to be encoded are classified, so that the attribute transformation coefficients of the nodes to be encoded can be classified by group. The characteristics of the attribute transformation coefficients of the same class are relatively similar. Continuous encoding of the attribute transformation coefficients of the same class can increase the number of consecutive 0s that appear in the attribute transformation coefficients, thereby improving the effect of zero-run encoding and further improving processing efficiency.
[0100] Optionally, the code stream further includes a third encoding result, where the third encoding result is an encoding result of the k value.
[0101] In this embodiment, the code stream further includes a third encoding result, which is an encoding result of the k value, so that the decoding end can obtain multiple attribute transform coefficients of the node to be decoded from the attribute transform coefficient reconstruction value based on the number of nodes to be decoded in each group of nodes to be decoded.
[0102] Optionally, the processed attribute transformation coefficients are attribute transformation coefficients obtained through sorting processing, and in the processed attribute transformation coefficients, the arrangement order of multiple attribute transformation coefficients of two adjacent to-be-encoded nodes is opposite.
[0103] The multiple attribute transformation coefficients of the node to be coded may be sorted in an alternating order.
[0104] In one embodiment, the arrangement order of multiple attribute transformation coefficients of one of the two adjacent nodes to be encoded is: LLH attribute transformation coefficient, LHL attribute transformation coefficient, HLL attribute transformation coefficient, LHH attribute transformation coefficient, HLH attribute transformation coefficient, HHL attribute transformation coefficient, HHH attribute transformation coefficient; the arrangement order of multiple attribute transformation coefficients of the other of the two adjacent nodes to be encoded is: HHH attribute transformation coefficient, HHL attribute transformation coefficient, HLH attribute transformation coefficient, LHH attribute transformation coefficient, HLL attribute transformation coefficient, LHL attribute transformation coefficient, LLH attribute transformation coefficient.
[0105] In this embodiment, the processed attribute transformation coefficients are attribute transformation coefficients obtained through sorting processing. Among the processed attribute transformation coefficients, the arrangement order of multiple attribute transformation coefficients of two adjacent nodes to be encoded is opposite. The attribute transformation coefficients of two adjacent nodes to be encoded with opposite arrangement orders ensure that there is at least one attribute transformation coefficient of the same type adjacent to the two adjacent nodes to be encoded, which is conducive to the implementation of zero-run coding and can improve coding efficiency.
[0106] Optionally, the sorting or classifying the multiple attribute transformation coefficients of the node to be encoded includes:
[0107] Sorting multiple attribute transform coefficients of an nth node to be encoded in the transform tree structure, where n is a positive integer;
[0108] Wherein, when n is an odd number, the multiple attribute transformation coefficients of the nth node to be encoded are arranged in a first order; or,
[0109] When n is an even number, the attribute transformation coefficients of the nth node to be coded are arranged in a second order;
[0110] The first order and the second order are opposite.
[0111] Among them, the first order can be: LLH attribute transformation coefficient, LHL attribute transformation coefficient, HLL attribute transformation coefficient, LHH attribute transformation coefficient, HLH attribute transformation coefficient, HHL attribute transformation coefficient, HHH attribute transformation coefficient; the second order can be: HHH attribute transformation coefficient, HHL attribute transformation coefficient, HLH attribute transformation coefficient, LHH attribute transformation coefficient, HLL attribute transformation coefficient, LHL attribute transformation coefficient, LLH attribute transformation coefficient;
[0112] or,
[0113] The second order can be: LLH attribute transformation coefficient, LHL attribute transformation coefficient, HLL attribute transformation coefficient, LHH attribute transformation coefficient, HLH attribute transformation coefficient, HHL attribute transformation coefficient, HHH attribute transformation coefficient; the first order can be: HHH attribute transformation coefficient, HHL attribute transformation coefficient, HLH attribute transformation coefficient, LHH attribute transformation coefficient, HLL attribute transformation coefficient, LHL attribute transformation coefficient, LLH attribute transformation coefficient.
[0114] In this embodiment, when n is an odd number, the multiple attribute transform coefficients of the nth node to be coded are arranged in a first order; when n is an even number, the multiple attribute transform coefficients of the nth node to be coded are arranged in a second order; wherein the first order and the second order are opposite. In this way, the attribute transform coefficients of two adjacent nodes to be coded are arranged in opposite orders. The attribute transform coefficients of two adjacent nodes to be coded with opposite orders ensure that at least one attribute transform coefficient of the same type is adjacent to the two adjacent nodes to be coded, which is conducive to the implementation of zero-run coding and can improve coding efficiency.
[0115] Referring to FIG5 , FIG5 is a flowchart of a point cloud decoding processing method provided in an embodiment of the present application, which can be applied to a decoding end. As shown in FIG5 , the point cloud decoding processing method includes the following steps:
[0116] Step 201: Decode a first encoding result in a bitstream to obtain a plurality of attribute transform coefficient reconstruction values, wherein the plurality of attribute transform coefficient reconstruction values are attribute transform coefficients that have been sorted or classified, and the attribute transform coefficients are attribute transform coefficients of a node to be decoded;
[0117] Step 202: Acquire multiple attribute transformation coefficients of the node to be decoded based on the multiple attribute transformation coefficient reconstruction values.
[0118] Optionally, the multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been subjected to classification processing, the multiple attribute transformation coefficients of the nodes to be decoded are sorted according to a preset rule, and the attribute transformation coefficients at the same sorting position of different nodes to be decoded in the multiple attribute transformation coefficient reconstruction values are divided into one category;
[0119] The first encoding result includes an encoding result corresponding to a target class attribute transform coefficient, where the target class attribute transform coefficient is a class of attribute transform coefficients among the multiple attribute transform coefficients. The decoding process of the first encoding result in the bitstream to obtain multiple attribute transform coefficient reconstruction values includes:
[0120] The encoding result corresponding to the target class attribute transformation coefficient in the code stream is decoded to obtain a plurality of attribute transformation coefficient reconstruction values corresponding to the target class attribute transformation coefficient.
[0121] Optionally, the multiple attribute transform coefficient reconstruction values include attribute transform coefficients in a transform coefficient set corresponding to a target class attribute transform coefficient, the target class attribute transform coefficient is a type of attribute transform coefficient among the multiple attribute transform coefficients, and obtaining the multiple attribute transform coefficients of the node to be decoded based on the multiple attribute transform coefficient reconstruction values includes:
[0122] The target class attribute transformation coefficient is obtained from a transformation coefficient set corresponding to the target class attribute transformation coefficient.
[0123] Optionally, the code stream further includes a second encoding result, where the second encoding result is used to represent a set size of the transform coefficient set. Before obtaining the target class attribute transform coefficient from the transform coefficient set corresponding to the target class attribute transform coefficient, the method further includes:
[0124] A transform coefficient set corresponding to the target class attribute transform coefficient is determined from the plurality of attribute transform coefficient reconstruction values based on a decoding result of the second encoding result.
[0125] Optionally, the code stream further includes a third encoding result, and before obtaining the multiple attribute transform coefficients of the node to be decoded based on the multiple attribute transform coefficient reconstruction values, the method further includes:
[0126] Decoding the third encoding result to obtain the number of nodes to be decoded in each group of nodes to be decoded;
[0127] The obtaining of the multiple attribute transformation coefficients of the node to be decoded based on the multiple attribute transformation coefficient reconstruction values includes:
[0128] A plurality of attribute transform coefficients of the nodes to be decoded are obtained based on the plurality of attribute transform coefficient reconstruction values and the number of the nodes to be decoded in each group of nodes to be decoded.
[0129] Optionally, the multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been sorted, and in the multiple attribute transformation coefficient reconstruction values, the arrangement order of the multiple attribute transformation coefficients of two adjacent to-be-decoded nodes is opposite.
[0130] Optionally, when n is an odd number, the multiple attribute transform coefficients of the nth node to be decoded in the multiple attribute transform coefficient reconstruction values are arranged in a first order; or,
[0131] When n is an even number, the multiple attribute transform coefficients of the nth node to be decoded in the multiple attribute transform coefficient reconstruction values are arranged in a second order;
[0132] The first order and the second order are opposite.
[0133] It should be noted that this embodiment is an implementation of the decoding side corresponding to the embodiment shown in Figure 4. Its specific implementation can refer to the relevant description of the embodiment shown in Figure 4. In order to avoid repetition, this embodiment will not be repeated, and the same beneficial effects can still be achieved.
[0134] The point cloud encoding processing method and the point cloud decoding processing method of the embodiment of the present application are described below through two specific embodiments:
[0135] Example 1:
[0136] In this embodiment, the point cloud encoding processing method performed by the encoding end includes the following process:
[0137] Step (11): Reorder the point cloud and construct an N-layer RAHT transform tree using a bottom-up construction method. The bottom layer contains all nodes, and the top layer is the root node layer, which contains only one node.
[0138] Step (12): Based on the transformation tree structure, upsampling prediction and Region Adaptive Hierarchal Transform (RAHT) are performed on each node layer by layer starting from the root node from top to bottom.
[0139] If the current node is the root node, no upsampling prediction is performed, and the node's child node attribute information is directly subjected to RAHT transformation to obtain 1 DC coefficient and at most 7 AC coefficients.
[0140] If the current node is not the root node, assume that the current node consists of 2*2*2 child nodes, and determine whether it is necessary to predict the child nodes of the current node.
[0141] First, when the current node has only one occupied child node, no prediction is performed; when the number of neighboring parent nodes of the current node (that is, the number of grandparent neighbors of the child node of the current node) is less than a threshold value of 1 (for example, the threshold value 1 can be 2), no prediction is performed, and the original attribute information of the child node of the current node is directly RAHT transformed, and then the obtained AC coefficients are quantized and entropy coded; if the threshold value 1 is met, the neighbors of the child node of the current node are searched, and the neighbor search range includes: the current node, the neighboring parent nodes that are coplanar and collinear with the child node of the current node, and the neighboring child nodes that are coplanar and collinear with the child node of the current node. When the number of neighboring parent nodes found is less than a threshold value of 2 (for example, the threshold value 2 can be 6), no prediction is performed, and the original attribute information of the child node of the current node is directly RAHT transformed, and then the obtained AC coefficients are quantized and entropy coded; if the threshold value 2 is met, the attribute prediction value of the current child node is obtained based on the neighboring nodes.
[0142] Step (13): RAHT transformation is performed on the original attribute value and the attribute prediction value respectively. For a current node in the n-th layer transformation tree structure containing 2*2*2 child nodes, if the current node is not predicted, only the original attribute value of its child node needs to be RAHT transformed to obtain the DC coefficient and AC coefficient; if the current node is predicted, both the original attribute value and the attribute prediction value of its child node need to be RAHT transformed, and the obtained AC coefficients are subtracted to obtain the AC residual coefficient.
[0143] Each node is transformed to obtain 1 DC coefficient and up to 7 AC coefficients.
[0144] For the root node, both its DC coefficient and AC coefficient need to be quantized and entropy coded. Except for the root node, other nodes only need to quantize and entropy coded the AC coefficient or AC residual coefficient.
[0145] This embodiment changes the order of the point cloud transformation coefficients, as follows:
[0146] All nodes of the transform tree are grouped into k points, and the AC coefficients of the k nodes in each group are calculated separately.
[0147] (1) When k=1, the original encoding method remains unchanged and the transform coefficients of each coding node are encoded in sequence.
[0148] For the root node, encode its DC coefficient and AC coefficient, and the remaining nodes only need to encode the AC coefficient or AC residual coefficient. The AC coefficient or AC residual coefficient is arranged in the order of LLH, LHL, HLL, LHH, HLH, HHL, HHH.
[0149] (2) When k = 2, the AC coefficients or AC residual coefficients are arranged in an alternating order, as follows:
[0150] For the first coding node in the group, the order of AC coefficients or AC residual coefficients is LLH, LHL, HLL, LHH, HLH, HHL, HHH;
[0151] For the second coding node in the group, the AC coefficients or AC residual coefficients are arranged in the order of HHH, HHL, HLH, LHH, HLL, LHL, LLH.
[0152] (3) When k is any other positive integer, seven memory spaces are allocated, namely buf1, buf2, buf3, buf4, buf5, buf6, and buf7.
[0153] First, store the DC coefficient of the root node in buf1;
[0154] Put the LLHs in these k groups of AC coefficients or AC residual coefficients into buf1 in order;
[0155] Put the LHLs in these k groups of AC coefficients or AC residual coefficients into buf2 in order;
[0156] Similarly, put HLL, LHH, HLH, HHL, HHH in these k groups of AC coefficients / AC residual coefficients into buf3, buf4, buf5, buf6, buf7 respectively in order.
[0157] Step (14): quantize and entropy encode the ordered transform coefficients.
[0158] When k=1 or k=2, all transform coefficients are stored in a memory space and can be directly quantized and entropy coded.
[0159] When k > 2, the coefficients in bufi (i = 1, 2, ..., 7) are quantized and entropy coded sequentially. Generally, due to the sparsity of point clouds, each node typically has fewer than seven AC coefficients. Therefore, the lengths of these seven memory spaces bufi (i = 1, 2, ..., 7) are not necessarily equal. Therefore, the lengths of these seven memory spaces can be included in the bitstream. The parameter length_buf[i] (i = 1, 2, ..., 7) is introduced in the parameter set (which can be an Attribute Parameter Set (APS), an Attribute Data Set (ADU), or other parameter set) to store the lengths of these seven memory spaces. You can encode length_buf[i] (i = 1, 2, ..., 7) first and then bufi (i = 1, 2, ..., 7), or you can encode bufi (i = 1, 2, ..., 7) first and then length_buf[i] (i = 1, 2, ..., 7), or use other encoding methods.
[0160] Example 2:
[0161] In this embodiment, the point cloud decoding processing method performed by the decoding end includes the following process:
[0162] Step (11): Obtain the data to be decoded from the bitstream, perform entropy decoding and inverse quantization on the data to be decoded to obtain the reconstructed value of the transform coefficient. When k>2, decode and obtain the data length length_buf[i] (i=1,2,...,7) of the memory space.
[0163] Step (12): Obtain the transform coefficient corresponding to each node of the transform tree from the transform coefficient reconstruction value. At this time, it is unknown whether the transform coefficient reconstruction value is an AC coefficient or an AC residual coefficient, and a judgment is made in step (14).
[0164] (1) When k=1, the DC coefficient reconstruction value of the root node and the AC coefficient reconstruction value / AC residual coefficient reconstruction value of each node are sequentially taken out from the transform coefficient reconstruction values.
[0165] (2) When k = 2, first extract the DC coefficient reconstruction value of the root node from the transform coefficient reconstruction value, and then use the alternating order to obtain the AC coefficient / AC residual coefficient reconstruction value of each node:
[0166] For the first coding node in the group, obtain LLH, LHL, HLL, LHH, HLH, HHL, HHH in the AC coefficients in order;
[0167] For the second coding node in the group, obtain HHH, HHL, HLH, LHH, HLL, LHL, LLH in the AC coefficients in sequence.
[0168] (3) When k is other values, the reconstructed values of the transform coefficients are grouped into buf1, buf2, buf3, buf4, buf5, buf6, and buf7 according to length_buf[i] (i = 1, 2, ..., 7), where bufi (i = 1, 2, ..., 7) respectively stores the LLH, LHL, HLL, LHH, HLH, HHL, and HHH coefficients of the AC coefficients of all nodes.
[0169] First, take out the DC coefficient reconstruction value of the root node from buf1;
[0170] Secondly, the corresponding AC coefficients / AC residual coefficients reconstruction values of all nodes can be obtained from bufi (i=1, 2, ..., 7) according to the storage order.
[0171] Step (13): Reorder the point cloud and construct an N-layer RAHT transform tree using a bottom-up construction method. The bottom layer contains all nodes, and the top layer is the root node layer, which contains only one node.
[0172] Step (14): Based on the transformation tree structure, upsampling prediction and RAHT inverse transformation are performed on each node layer by layer starting from the root node from top to bottom.
[0173] If the current node is a root node, no upsampling prediction is performed, and its DC coefficient and AC coefficient reconstruction values are obtained from the transformation coefficient reconstruction values obtained in step (12), and an inverse transformation is performed to obtain the reconstruction values of the child nodes of the current node.
[0174] If the current node is not the root node, assume that the current node consists of 2*2*2 child nodes, and determine whether it is necessary to predict the child nodes of the current node.
[0175] First, when the current node has only one occupied child node, no prediction is performed; when the number of neighboring parent nodes of the current node (i.e., the number of grandparent neighbors of the child node of the current node) is less than a threshold value 1 (for example, the threshold value 1 can be 2), no prediction is performed, and the AC coefficient reconstruction value is obtained from the transformation coefficient reconstruction value obtained in step (12), and its DC coefficient can be inherited from the parent node, and an inverse transformation is performed to obtain the reconstruction value of the child node of the current node; if the threshold value 1 is met, the neighbor of the child node of the current node is searched, and the neighbor search range includes: the current node, the neighboring parent node coplanar and collinear with the child node of the current node, and the neighboring child node coplanar and collinear with the child node of the current node. When the number of neighboring parent nodes found is less than a threshold value 2 (for example, the threshold value 2 can be 6), no prediction is performed, and the AC coefficient reconstruction value is obtained from the transformation coefficient reconstruction value obtained in step (12), and its DC coefficient can be inherited from the parent node, and an inverse transformation is performed to obtain the reconstruction value of the child node of the current node; if the threshold value 2 is met, the attribute prediction value of the current child node is obtained based on the neighboring nodes. The attribute prediction value is transformed to obtain the AC coefficient of the prediction value, and added to the AC residual coefficient reconstruction value obtained from step (12) to obtain the AC coefficient reconstruction value, whose DC coefficient can be inherited from the parent node and inversely transformed to obtain the reconstruction value of the child node of the current node.
[0176] When traversing to the bottom layer, what is obtained is the reconstructed attribute values of all nodes, thus completing the attribute decoding.
[0177] As shown in Figure 6, encoding and decoding by the point cloud encoding processing method and the point cloud decoding processing method of the embodiment of the present application can reduce the bit rate and improve the encoding efficiency. In Figure 6, the first vertical column includes six types of point clouds used to characterize the level of point cloud density, such as: reliable average (Solid average), dense average (Dense average), sparse average (Sparse average), scan average (Scant average), Am fused average (Am-fused average), Am frame average (Am-frame average). The overall average (Overall average) represents the average value of the above six types of point clouds. Avg.Enc Time represents the encoding time, and Avg.Dec Time represents the decoding time. Luma (luma), chroma Cb (ChromaCb), chroma Cr (ChromaCr) and reflectance (Reflectance) are the attribute components. C1_ai and C2_ai are the test conditions for point cloud encoding, where C1_ai indicates lossless geometry and lossy attributes (Lossless geometry, Lossy attributes [all intra]); C2_ai indicates lossy geometry and lossy attributes (Lossy geometry, Lossy attributes [all intra]). End-to-End BD-AttrRate represents the point cloud attribute quality distortion assessment parameter. A negative value for the End-to-End BD-AttrRate parameter indicates that the comprehensive quality of the point cloud generated by encoding the point cloud using this embodiment is higher than that generated by encoding using related technologies. As shown in FIG6 , when the encoding time and decoding time remain basically unchanged, the comprehensive quality of the point cloud generated by encoding the point cloud using this embodiment is higher than that generated by encoding using related technologies.
[0178] It should be noted that the point cloud coding processing method provided in the embodiments of the present application can be executed by a point cloud coding processing device, or a control module in the point cloud coding processing device for executing the point cloud coding processing method. In the embodiments of the present application, the point cloud coding processing device provided in the embodiments of the present application is described by taking the point cloud coding processing method executed by the point cloud coding processing device as an example.
[0179] Please refer to FIG. 7 , which is a structural diagram of a point cloud coding processing device provided in an embodiment of the present application. As shown in FIG. 7 , the point cloud coding processing device 300 includes:
[0180] The transformation module 301 is configured to perform transformation processing based on a transformation tree structure corresponding to the point cloud to be encoded, and obtain multiple attribute transformation coefficients of the nodes to be encoded in the transformation tree structure;
[0181] The processing module 302 is configured to perform sorting or classification processing on the multiple attribute transformation coefficients of the node to be encoded to obtain processed attribute transformation coefficients;
[0182] The encoding module 303 is configured to perform encoding processing on the processed attribute transformation coefficients to obtain a first encoding result;
[0183] The code stream of the point cloud to be encoded includes the first encoding result.
[0184] Optionally, the processed attribute transformation coefficients are attribute transformation coefficients obtained through classification processing, the multiple attribute transformation coefficients of the to-be-encoded node are sorted according to a preset rule, and the attribute transformation coefficients of different to-be-encoded nodes at the same sorting position in the processed attribute transformation coefficients are classified into one category;
[0185] The encoding module is specifically used for:
[0186] performing encoding processing on a target attribute transformation coefficient to obtain an encoding result corresponding to the target attribute transformation coefficient, wherein the target attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients;
[0187] The first encoding result includes the encoding result corresponding to the target class attribute transformation coefficient.
[0188] Optionally, the processing module is specifically configured to:
[0189] Adding the target class attribute transformation coefficient of the node to be encoded to a transformation coefficient set corresponding to the target class attribute transformation coefficient, wherein the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients;
[0190] The processed attribute transformation coefficients include attribute transformation coefficients in a transformation coefficient set corresponding to the target class attribute transformation coefficients.
[0191] Optionally, the code stream further includes a second encoding result, and the second encoding result is used to represent the set size of the transformation coefficient set.
[0192] Optionally, the device further comprises:
[0193] a grouping module, configured to group the nodes to be coded in the transform tree structure, wherein each group of nodes to be coded includes k nodes to be coded, where k is a positive integer;
[0194] The processing module is specifically used for:
[0195] Classification processing is performed on multiple attribute transformation coefficients of the nodes to be encoded in each group of nodes to be encoded.
[0196] Optionally, the code stream further includes a third encoding result, where the third encoding result is an encoding result of the k value.
[0197] Optionally, the processed attribute transformation coefficients are attribute transformation coefficients obtained through sorting processing, and in the processed attribute transformation coefficients, the arrangement order of multiple attribute transformation coefficients of two adjacent to-be-encoded nodes is opposite.
[0198] Optionally, the processing module is specifically configured to:
[0199] Sorting multiple attribute transform coefficients of an nth node to be encoded in the transform tree structure, where n is a positive integer;
[0200] Wherein, when n is an odd number, the multiple attribute transformation coefficients of the nth node to be encoded are arranged in a first order; or,
[0201] When n is an even number, the attribute transformation coefficients of the nth node to be coded are arranged in a second order;
[0202] The first order and the second order are opposite.
[0203] The point cloud coding processing device in the embodiment of the present application can be a device, a device or electronic device with an operating system, or a component, integrated circuit, or chip in a terminal. The device or electronic device can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal can include but is not limited to the types of terminals listed above, and the non-mobile terminal can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0204] The point cloud coding processing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0205] It should be noted that the point cloud decoding processing method provided in the embodiments of the present application can be executed by a point cloud decoding processing device, or a control module in the point cloud decoding processing device for executing the point cloud decoding processing method. In the embodiments of the present application, the point cloud decoding processing device provided in the embodiments of the present application is described using the method for executing point cloud decoding processing by the point cloud decoding processing device as an example.
[0206] Please refer to FIG8 , which is a structural diagram of a point cloud decoding processing device provided in an embodiment of the present application. As shown in FIG8 , the point cloud decoding processing device 400 includes:
[0207] A first decoding module 401 is configured to decode a first encoding result in a bitstream to obtain a plurality of attribute transform coefficient reconstruction values, wherein the plurality of attribute transform coefficient reconstruction values are attribute transform coefficients that have been sorted or classified, and the attribute transform coefficients are attribute transform coefficients of a node to be decoded;
[0208] The acquisition module 402 is configured to acquire a plurality of attribute transformation coefficients of the node to be decoded based on the plurality of attribute transformation coefficient reconstruction values.
[0209] Optionally, the multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been subjected to classification processing, the multiple attribute transformation coefficients of the nodes to be decoded are sorted according to a preset rule, and the attribute transformation coefficients at the same sorting position of different nodes to be decoded in the multiple attribute transformation coefficient reconstruction values are divided into one category;
[0210] The first encoding result includes an encoding result corresponding to a target class attribute transformation coefficient, where the target class attribute transformation coefficient is a class of attribute transformation coefficients among the multiple attribute transformation coefficients, and the first decoding module is specifically configured to:
[0211] The encoding result corresponding to the target class attribute transformation coefficient in the code stream is decoded to obtain a plurality of attribute transformation coefficient reconstruction values corresponding to the target class attribute transformation coefficient.
[0212] Optionally, the multiple attribute transformation coefficient reconstruction values include attribute transformation coefficients in a transformation coefficient set corresponding to a target class attribute transformation coefficient, the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients, and the acquisition module is specifically configured to:
[0213] The target class attribute transformation coefficient is obtained from a transformation coefficient set corresponding to the target class attribute transformation coefficient.
[0214] Optionally, the code stream further includes a second encoding result, where the second encoding result is used to represent a set size of the transform coefficient set. The apparatus further includes:
[0215] A determination module is configured to determine a transform coefficient set corresponding to the target class attribute transform coefficient from the plurality of attribute transform coefficient reconstruction values based on a decoding result of the second encoding result.
[0216] Optionally, the code stream further includes a third encoding result, and the apparatus further includes:
[0217] a second decoding module, configured to decode the third encoding result to obtain the number of nodes to be decoded in each group of nodes to be decoded;
[0218] The acquisition module is specifically used for:
[0219] A plurality of attribute transform coefficients of the nodes to be decoded are obtained based on the plurality of attribute transform coefficient reconstruction values and the number of the nodes to be decoded in each group of nodes to be decoded.
[0220] Optionally, the multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been sorted, and in the multiple attribute transformation coefficient reconstruction values, the arrangement order of the multiple attribute transformation coefficients of two adjacent to-be-decoded nodes is opposite.
[0221] Optionally, when n is an odd number, the multiple attribute transform coefficients of the nth node to be decoded in the multiple attribute transform coefficient reconstruction values are arranged in a first order; or,
[0222] When n is an even number, the multiple attribute transform coefficients of the nth node to be decoded in the multiple attribute transform coefficient reconstruction values are arranged in a second order;
[0223] The first order and the second order are opposite.
[0224] The point cloud decoding processing device in the embodiment of the present application can be a device, a device or electronic device with an operating system, or a component, integrated circuit, or chip in a terminal. The device or electronic device can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal can include but is not limited to the types of terminals listed above, and the non-mobile terminal can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0225] The point cloud decoding and processing device provided in the embodiment of the present application can implement the various processes implemented in the method embodiment of Figure 5 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0226] Optionally, as shown in FIG9 , an embodiment of the present application further provides a communication device 500, comprising a processor 501 and a memory 502. The memory 502 stores a program or instruction that can be run on the processor 501. For example, when the communication device 500 is an encoding end device, the program or instruction, when executed by the processor 501, implements the various steps of the above-mentioned point cloud encoding processing method embodiment and can achieve the same technical effect. When the communication device 500 is a decoding end device, the program or instruction, when executed by the processor 501, implements the various steps of the above-mentioned point cloud decoding processing method embodiment and can achieve the same technical effect. To avoid repetition, they are not described here.
[0227] An embodiment of the present application further provides a terminal, comprising a processor and a communication interface, wherein the processor is configured to: perform a transform process based on a transform tree structure corresponding to a point cloud to be encoded, to obtain a plurality of attribute transform coefficients of a node to be encoded in the transform tree structure; perform a sorting process or a classification process on the plurality of attribute transform coefficients of the node to be encoded, to obtain processed attribute transform coefficients; perform an encoding process on the processed attribute transform coefficients, to obtain a first encoding result; wherein the code stream of the point cloud to be encoded includes the first encoding result. Alternatively, the processor is configured to: perform a decoding process on the first encoding result in the code stream, to obtain a plurality of attribute transform coefficient reconstruction values, wherein the plurality of attribute transform coefficient reconstruction values are attribute transform coefficients that have undergone sorting process or classification process, and the attribute transform coefficients are attribute transform coefficients of the node to be decoded; and obtain the plurality of attribute transform coefficients of the node to be decoded based on the plurality of attribute transform coefficient reconstruction values.
[0228] This terminal embodiment corresponds to the aforementioned point cloud encoding and processing method or point cloud decoding processing method embodiment. Each implementation process and implementation method of the aforementioned point cloud encoding and processing method or point cloud decoding processing method embodiment are applicable to this terminal embodiment and can achieve the same technical effects. Specifically, Figure 10 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.
[0229] The terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609 and at least some of the components of the processor 610.
[0230] Those skilled in the art will appreciate that the terminal 600 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to the processor 610 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. The terminal structure shown in FIG10 does not constitute a limitation of the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be described in detail here.
[0231] It should be understood that in an embodiment of the present application, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0232] In the embodiment of the present application, after receiving downlink data from a network-side device, the radio frequency unit 601 may transmit the data to the processor 610 for processing. Furthermore, the radio frequency unit 601 may send uplink data to the network-side device. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.
[0233] The memory 609 can be used to store software programs or instructions and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0234] Processor 610 may include one or more processing units. Optionally, processor 610 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 610.
[0235] Wherein, when the terminal is an encoding terminal:
[0236] The processor 610 is configured to:
[0237] Performing transformation processing based on a transformation tree structure corresponding to the point cloud to be encoded, to obtain multiple attribute transformation coefficients of the nodes to be encoded in the transformation tree structure;
[0238] performing sorting or classification processing on the multiple attribute transformation coefficients of the node to be encoded to obtain processed attribute transformation coefficients;
[0239] performing encoding processing on the processed attribute transformation coefficient to obtain a first encoding result;
[0240] The code stream of the point cloud to be encoded includes the first encoding result.
[0241] Optionally, the processed attribute transformation coefficients are attribute transformation coefficients obtained through classification processing, the multiple attribute transformation coefficients of the to-be-encoded node are sorted according to a preset rule, and the attribute transformation coefficients of different to-be-encoded nodes at the same sorting position in the processed attribute transformation coefficients are classified into one category;
[0242] The processor 610 is specifically configured to:
[0243] performing encoding processing on a target attribute transformation coefficient to obtain an encoding result corresponding to the target attribute transformation coefficient, wherein the target attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients;
[0244] The first encoding result includes the encoding result corresponding to the target class attribute transformation coefficient.
[0245] Optionally, the processor 610 is specifically configured to:
[0246] Adding the target class attribute transformation coefficient of the node to be encoded to a transformation coefficient set corresponding to the target class attribute transformation coefficient, wherein the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients;
[0247] The processed attribute transformation coefficients include attribute transformation coefficients in a transformation coefficient set corresponding to the target class attribute transformation coefficients.
[0248] Optionally, the code stream further includes a second encoding result, and the second encoding result is used to represent the set size of the transformation coefficient set.
[0249] Optionally, the processor 610 is further configured to:
[0250] performing grouping processing on the nodes to be coded in the transform tree structure, wherein each group of nodes to be coded includes k nodes to be coded, where k is a positive integer;
[0251] The processor 610 is specifically configured to:
[0252] Classification processing is performed on multiple attribute transformation coefficients of the nodes to be encoded in each group of nodes to be encoded.
[0253] Optionally, the code stream further includes a third encoding result, where the third encoding result is an encoding result of the k value.
[0254] Optionally, the processed attribute transformation coefficients are attribute transformation coefficients obtained through sorting processing, and in the processed attribute transformation coefficients, the arrangement order of multiple attribute transformation coefficients of two adjacent to-be-encoded nodes is opposite.
[0255] Optionally, the processor 610 is specifically configured to:
[0256] Sorting multiple attribute transform coefficients of an nth node to be encoded in the transform tree structure, where n is a positive integer;
[0257] Wherein, when n is an odd number, the multiple attribute transformation coefficients of the nth node to be encoded are arranged in a first order; or,
[0258] When n is an even number, the attribute transformation coefficients of the nth node to be coded are arranged in a second order;
[0259] The first order and the second order are opposite.
[0260] The embodiments of the present application can improve coding efficiency.
[0261] Wherein, when the terminal is a decoding terminal:
[0262] The processor 610 is configured to:
[0263] Decoding a first encoding result in a bitstream to obtain a plurality of attribute transform coefficient reconstruction values, wherein the plurality of attribute transform coefficient reconstruction values are attribute transform coefficients that have been sorted or classified, and the attribute transform coefficients are attribute transform coefficients of a node to be decoded;
[0264] A plurality of attribute transformation coefficients of the node to be decoded is obtained based on the plurality of attribute transformation coefficient reconstruction values.
[0265] Optionally, the multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been subjected to classification processing, the multiple attribute transformation coefficients of the nodes to be decoded are sorted according to a preset rule, and the attribute transformation coefficients at the same sorting position of different nodes to be decoded in the multiple attribute transformation coefficient reconstruction values are divided into one category;
[0266] The first encoding result includes an encoding result corresponding to a target attribute transformation coefficient, where the target attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients. The processor 610 is specifically configured to:
[0267] The encoding result corresponding to the target class attribute transformation coefficient in the code stream is decoded to obtain a plurality of attribute transformation coefficient reconstruction values corresponding to the target class attribute transformation coefficient.
[0268] Optionally, the multiple attribute transformation coefficient reconstruction values include attribute transformation coefficients in a transformation coefficient set corresponding to a target class attribute transformation coefficient, the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients, and the acquisition module is specifically configured to:
[0269] The target class attribute transformation coefficient is obtained from a transformation coefficient set corresponding to the target class attribute transformation coefficient.
[0270] Optionally, the code stream further includes a second encoding result, where the second encoding result is used to represent a set size of the transform coefficient set. The processor 610 is further configured to:
[0271] A determination module is configured to determine a transform coefficient set corresponding to the target class attribute transform coefficient from the plurality of attribute transform coefficient reconstruction values based on a decoding result of the second encoding result.
[0272] Optionally, the code stream further includes a third encoding result, and the processor 610 is further configured to:
[0273] Decoding the third encoding result to obtain the number of nodes to be decoded in each group of nodes to be decoded;
[0274] The processor 610 is specifically configured to:
[0275] A plurality of attribute transform coefficients of the nodes to be decoded are obtained based on the plurality of attribute transform coefficient reconstruction values and the number of the nodes to be decoded in each group of nodes to be decoded.
[0276] Optionally, the multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been sorted, and in the multiple attribute transformation coefficient reconstruction values, the arrangement order of the multiple attribute transformation coefficients of two adjacent to-be-decoded nodes is opposite.
[0277] Optionally, when n is an odd number, the multiple attribute transform coefficients of the nth node to be decoded in the multiple attribute transform coefficient reconstruction values are arranged in a first order; or,
[0278] When n is an even number, the multiple attribute transform coefficients of the nth node to be decoded in the multiple attribute transform coefficient reconstruction values are arranged in a second order;
[0279] The first order and the second order are opposite.
[0280] The embodiments of the present application can improve coding efficiency.
[0281] Specifically, the terminal of the embodiment of the present application also includes: instructions or programs stored in the memory 609 and can be run on the processor 610. The processor 610 calls the instructions or programs in the memory 609 to execute the method of execution of each module shown in Figure 7 or Figure 8, and achieves the same technical effect. To avoid repetition, it will not be repeated here.
[0282] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned point cloud encoding processing method embodiment are implemented, or when the program or instruction is executed by a processor, the various processes of the above-mentioned point cloud decoding processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0283] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.
[0284] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned point cloud encoding processing method embodiment, or to implement the various processes of the above-mentioned point cloud decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0285] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0286] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned point cloud encoding processing method or point cloud decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0287] An embodiment of the present application also provides a coding and decoding system, including: an encoding end device and a decoding end device, wherein the encoding end device can be used to execute the steps of the point cloud encoding processing method as described above, and the decoding end device can be used to execute the steps of the point cloud decoding processing method as described above.
[0288] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0289] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general-purpose hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or network-side device to execute the methods described in each embodiment of the present application.
[0290] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.
Claims
1. A point cloud coding processing method, performed by an encoding end, the method comprising: Performing transformation processing based on the transformation tree structure corresponding to the point cloud to be encoded, obtaining multiple attribute transformation coefficients of the nodes to be encoded in the transformation tree structure; Sorting or classifying the multiple attribute transformation coefficients of the to-be-encoded node to obtain processed attribute transformation coefficients; Performing encoding processing on the processed attribute transformation coefficients to obtain a first encoding result; The code stream of the point cloud to be encoded includes the first encoding result.
2. The method according to claim 1, wherein: The processed attribute transformation coefficients are attribute transformation coefficients obtained through classification processing, the multiple attribute transformation coefficients of the to-be-encoded nodes are sorted according to a preset rule, and the attribute transformation coefficients at the same sorting position of different to-be-encoded nodes in the processed attribute transformation coefficients are classified into one category; The encoding process of the processed attribute transformation coefficients includes: Performing encoding processing on a target class attribute transformation coefficient to obtain an encoding result corresponding to the target class attribute transformation coefficient, wherein the target class attribute transformation coefficient is a class of attribute transformation coefficients among the multiple attribute transformation coefficients; The first encoding result includes the encoding result corresponding to the target class attribute transformation coefficient.
3. The method according to claim 1 or 2, wherein: The sorting or classification processing of the multiple attribute transformation coefficients of the node to be encoded includes: Add the target class attribute transformation coefficient of the node to be encoded to the transformation coefficient set corresponding to the target class attribute transformation coefficient, and the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients; wherein the processed attribute transformation coefficient includes the attribute transformation coefficient in the transformation coefficient set corresponding to the target class attribute transformation coefficient.
4. The method according to claim 3, wherein: The code stream also includes a second encoding result, where the second encoding result is used to represent the set size of the transformation coefficient set.
5. The method according to any one of claims 1 to 4, wherein: Before the sorting or classification processing is performed on the multiple attribute transformation coefficients of the to-be-encoded node, the method further includes: Performing grouping processing on the nodes to be encoded in the transform tree structure, wherein each group of nodes to be encoded includes k nodes to be encoded, and k is a positive integer; The sorting or classification processing of the multiple attribute transformation coefficients of the node to be encoded includes: Classification processing is performed on multiple attribute transformation coefficients of the nodes to be encoded in each group of nodes to be encoded.
6. The method according to claim 5, wherein: The code stream also includes a third encoding result, and the third encoding result is an encoding result of the k value.
7. The method according to claim 1, wherein: The processed attribute transformation coefficients are attribute transformation coefficients obtained through sorting processing, and in the processed attribute transformation coefficients, the arrangement order of multiple attribute transformation coefficients of two adjacent to-be-encoded nodes is opposite.
8. The method according to claim 7, wherein: The sorting or classification processing of the multiple attribute transformation coefficients of the node to be encoded includes: Sorting multiple attribute transformation coefficients of the nth node to be encoded in the transformation tree structure, where n is a positive integer; Wherein, when n is an odd number, the multiple attribute transformation coefficients of the nth node to be encoded are arranged in a first order; or, When n is an even number, the multiple attribute transformation coefficients of the nth node to be encoded are arranged in a second order; The first order and the second order are opposite.
9. A point cloud decoding processing method, executed by a decoding end, the method comprising: Decoding the first encoding result in the bitstream to obtain a plurality of attribute transformation coefficient reconstruction values, wherein the plurality of attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been sorted or classified, and the attribute transformation coefficients are attribute transformation coefficients of the node to be decoded; A plurality of attribute transformation coefficients of the node to be decoded is obtained based on the plurality of attribute transformation coefficient reconstruction values.
10. The method according to claim 9, wherein: The multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been classified, the multiple attribute transformation coefficients of the nodes to be decoded are sorted according to a preset rule, and the attribute transformation coefficients at the same sorting position of different nodes to be decoded in the multiple attribute transformation coefficient reconstruction values are classified into one category; The first encoding result includes an encoding result corresponding to a target class attribute transformation coefficient, the target class attribute transformation coefficient is a class of attribute transformation coefficients among the multiple attribute transformation coefficients, and the decoding process is performed on the first encoding result in the bitstream to obtain multiple attribute transformation coefficient reconstruction values, including: The encoding result corresponding to the target class attribute transformation coefficient in the code stream is decoded to obtain a plurality of attribute transformation coefficient reconstruction values corresponding to the target class attribute transformation coefficient.
11. The method according to claim 9 or 10, wherein: The multiple attribute transformation coefficient reconstruction values include attribute transformation coefficients in a transformation coefficient set corresponding to a target class attribute transformation coefficient, the target class attribute transformation coefficient is a type of attribute transformation coefficient among the multiple attribute transformation coefficients, and acquiring the multiple attribute transformation coefficients of the node to be decoded based on the multiple attribute transformation coefficient reconstruction values includes: The target class attribute transformation coefficient is obtained from a transformation coefficient set corresponding to the target class attribute transformation coefficient.
12. The method according to claim 11, wherein: The code stream further includes a second encoding result, and the second encoding result is used to represent the set size of the transformation coefficient set. Before obtaining the target class attribute transformation coefficient from the transformation coefficient set corresponding to the target class attribute transformation coefficient, the method further includes: A transform coefficient set corresponding to the target class attribute transform coefficient is determined from the plurality of attribute transform coefficient reconstruction values based on a decoding result of the second encoding result.
13. The method according to any one of claims 9 to 12, wherein: The code stream further includes a third encoding result. Before acquiring the multiple attribute transformation coefficients of the node to be decoded based on the multiple attribute transformation coefficient reconstruction values, the method further includes: Decoding the third encoding result to obtain the number of nodes to be decoded in each group of nodes to be decoded; The obtaining of a plurality of attribute transformation coefficients of the node to be decoded based on the plurality of attribute transformation coefficient reconstruction values comprises: A plurality of attribute transformation coefficients of the nodes to be decoded are obtained based on the plurality of attribute transformation coefficient reconstruction values and the number of the nodes to be decoded in each group of nodes to be decoded.
14. The method according to claim 9, wherein: The multiple attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been sorted, and in the multiple attribute transformation coefficient reconstruction values, the arrangement order of the multiple attribute transformation coefficients of two adjacent to-be-decoded nodes is opposite.
15. The method according to claim 14, wherein: When n is an odd number, the multiple attribute transformation coefficients of the nth node to be decoded in the multiple attribute transformation coefficient reconstruction values are arranged in a first order; or, When n is an even number, the multiple attribute transformation coefficients of the nth node to be decoded in the multiple attribute transformation coefficient reconstruction values are arranged in a second order; The first order and the second order are opposite.
16. A point cloud coding processing device, the device comprising: A transformation module, used to perform transformation processing based on a transformation tree structure corresponding to the to-be-encoded point cloud, and obtain multiple attribute transformation coefficients of the to-be-encoded nodes in the transformation tree structure; A processing module, used for sorting or classifying the multiple attribute transformation coefficients of the node to be encoded to obtain processed attribute transformation coefficients; An encoding module, used for encoding the processed attribute transformation coefficient to obtain a first encoding result; The code stream of the point cloud to be encoded includes the first encoding result.
17. A point cloud decoding processing device, the device comprising: A first decoding module is used to decode the first encoding result in the bitstream to obtain a plurality of attribute transformation coefficient reconstruction values, wherein the plurality of attribute transformation coefficient reconstruction values are attribute transformation coefficients that have been sorted or classified, and the attribute transformation coefficients are attribute transformation coefficients of the node to be decoded; The acquisition module is used to acquire multiple attribute transformation coefficients of the node to be decoded based on the multiple attribute transformation coefficient reconstruction values.
18. A terminal, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the point cloud encoding processing method as described in any one of claims 1 to 8; or, the program or instruction, when executed by the processor, implements the steps of the point cloud decoding processing method as described in any one of claims 9 to 15.
19. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the point cloud encoding processing method as described in any one of claims 1 to 8, or to implement the steps of the point cloud decoding processing method as described in any one of claims 9 to 15.
20. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the point cloud encoding processing method as described in any one of claims 1 to 8, or, when executed by a processor, implements the steps of the point cloud decoding processing method as described in any one of claims 9 to 15.
21. A computer program product, wherein the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the steps of the point cloud encoding processing method as described in any one of claims 1 to 8, or, when the program or instructions are executed by the processor, the steps of the point cloud decoding processing method as described in any one of claims 9 to 15 are implemented.
Citation Information
Patent Citations
Data encoding method and device, data decoding method and device and storage medium
CN112352431A
Image processing device and method
CN112789657A
Method and equipment for entropy coding and entropy decoding of point cloud attribute transformation coefficients
CN113489980A
Point cloud attribute coding and decoding method and device, electronic equipment and storage medium
CN117221610A
Region-adaptive hierarchical transform and entropy coding for point cloud compression, and corresponding decompression
US20170347100A1
