Point cloud encoding and decoding processing method, device, encoding device and decoding device
By adopting synchronous multi-tree division and target value prediction methods in inter-frame coding, the accuracy of inter-frame prediction is improved, the problem of low accuracy of inter-frame coding in the existing technology is solved, and more efficient coding performance is achieved.
Patent Information
- Application Number
- CN202111466398.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-03
AI Technical Summary
The inter-frame prediction accuracy of existing inter-frame coding schemes is low, resulting in low coding efficiency.
Using a synchronous multi-tree partitioning method, inter-frame prediction is performed based on the target value in the encoded or decoded frame and the node occupancy in the frame to be encoded or decoded, including point number and density information, to improve prediction accuracy.
It improves the accuracy of inter-frame prediction, reduces the encoding stream size, and improves the performance of point cloud reconstruction without changing the geometric PSNR.
Smart Images

Figure CN116233388B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of audio and video processing technology, and specifically relates to a point cloud encoding and decoding processing method, device, encoding device and decoding device. Background Art
[0002] At present, for each bit of the spatial occupancy code of the frame to be coded, the inter-frame prediction context has two cases according to the density of the point cloud: for points judged as sparse slices, if the inter-frame prediction occupancy code is 1, and at least 4 of the 7 sub-layer neighbors of the current layer in the frame are non-empty, then the occupancy of all sub-layer neighbors in context model 1 is set to 1. Otherwise, a certain number of non-empty neighbors are added on the basis of the existing non-empty neighbors in the frame through bitwise OR operation. For points judged as dense slices, if the inter-frame prediction occupancy code is 1, when at least 3 of the 3 coplanar and 3 colinear nodes in the first layer are non-empty, and at least 2 of the 3 coplanar nodes in the second layer are non-empty, then in context model 2, the occupancy of the encoded adjacent blocks of the first layer and the parent node of the current sub-block to be coded is all set to 1, including 3 coplanar and 3 colinear nodes; the occupancy of the adjacent encoded blocks at the same depth as the current sub-block to be coded in the second layer is all set to 1, including 3 coplanar nodes. Otherwise, a certain number of non-empty neighbors are added based on the non-empty neighbors in the existing frame through a bitwise OR operation.
[0003] The above-mentioned inter-frame coding scheme has the problem of low accuracy of inter-frame prediction. Summary of the invention
[0004] The embodiments of the present application provide a point cloud encoding and decoding processing method, device, encoding device and decoding device, which can solve the problem of low accuracy of inter-frame prediction.
[0005] In a first aspect, a point cloud coding processing method is provided, the method comprising:
[0006] The encoder performs synchronous multi-tree division on the current frame to be encoded and the encoded frame;
[0007] The encoder performs inter-frame prediction on an occupation status of a second node in the frame to be encoded based on a target value corresponding to the first node in the encoded frame, where the occupation status includes: occupied or unoccupied;
[0008] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes one of the following:
[0009] the number of points contained in the space block corresponding to the first node;
[0010] the density of points contained in the space block corresponding to the first node;
[0011] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0012] The density of points contained in the first child node contained in the first node.
[0013] In a second aspect, a point cloud coding processing device is provided, comprising:
[0014] A first division module, used for performing synchronous multi-tree division on the current frame to be encoded and the encoded frame;
[0015] A first prediction module, configured to perform inter-frame prediction on an occupancy status of a second node in the frame to be encoded based on a target value corresponding to the first node in the encoded frame, wherein the occupancy status includes: occupied or unoccupied;
[0016] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes:
[0017] the number of points contained in the space block corresponding to the first node;
[0018] the density of points contained in the space block corresponding to the first node;
[0019] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0020] The density of points contained in the first child node contained in the first node.
[0021] In a third aspect, a point cloud decoding processing method is provided, the method comprising:
[0022] The decoding end performs synchronous multi-tree division on the current frame to be decoded and the decoded frame;
[0023] The decoding end performs inter-frame prediction on the occupation status of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame, where the occupation status includes: occupied or unoccupied;
[0024] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes one of the following:
[0025] the number of points contained in the space block corresponding to the first node;
[0026] the density of points contained in the space block corresponding to the first node;
[0027] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0028] The density of points contained in the first child node contained in the first node.
[0029] In a fourth aspect, a point cloud decoding processing device is provided, comprising:
[0030] A second partitioning module is used to perform synchronous multi-tree partitioning on the current frame to be decoded and the decoded frame;
[0031] A second prediction module is used to perform inter-frame prediction on the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame, where the occupancy includes: occupied or unoccupied;
[0032] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes:
[0033] the number of points contained in the space block corresponding to the first node;
[0034] the density of points contained in the space block corresponding to the first node;
[0035] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0036] The density of points contained in the first child node contained in the first node.
[0037] In a fifth aspect, a coding device 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.
[0038] In a sixth aspect, a coding device is provided, comprising a processor and a communication interface, wherein the processor is used to perform synchronous multi-tree division on a current frame to be coded and a coded frame;
[0039] Based on the target value corresponding to the first node in the encoded frame, inter-frame prediction is performed on the occupation status of the second node in the frame to be encoded, where the occupation status includes: occupied or unoccupied;
[0040] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes one of the following:
[0041] the number of points contained in the space block corresponding to the first node;
[0042] the density of points contained in the space block corresponding to the first node;
[0043] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0044] The density of points contained in the first child node contained in the first node.
[0045] In a seventh aspect, a decoding device is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the third aspect are implemented.
[0046] In an eighth aspect, a decoding device is provided, comprising a processor and a communication interface, wherein the processor is used to perform synchronous multi-tree division on a current frame to be decoded and a decoded frame;
[0047] Based on the target value corresponding to the first node in the decoded frame, inter-frame prediction is performed on the occupation status of the second node in the to-be-decoded frame, where the occupation status includes: occupied or unoccupied;
[0048] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes one of the following:
[0049] the number of points contained in the space block corresponding to the first node;
[0050] the density of points contained in the space block corresponding to the first node;
[0051] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0052] The density of points contained in the first child node contained in the first node.
[0053] In a ninth aspect, a coding and decoding system is provided, comprising: a coding device and a decoding device, wherein the coding device can be used to execute the steps of the method described in the first aspect, and the decoding device can be used to execute the steps of the method described in the third aspect.
[0054] In the tenth 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 third aspect are implemented.
[0055] In the eleventh aspect, a chip is provided, 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 method described in the first aspect, or to implement the method described in the third aspect.
[0056] In the twelfth aspect, a computer program / program product is provided, wherein the computer program / program product 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 the third aspect.
[0057] In an embodiment of the present application, by utilizing the target value corresponding to the first node in the encoded or decoded frame, inter-frame prediction is performed on the occupancy of the second node in the frame to be encoded or decoded, thereby accurately predicting the occupancy of the node and improving the accuracy of the inter-frame prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is the AVS codec framework diagram;
[0059] Figure 2 It is the existing inter-frame coding framework of AVS;
[0060] Figure 3 It is a flowchart of the point cloud coding processing method of an embodiment of the present application;
[0061] Figure 4 is a schematic diagram of the process flow of the encoding end of an embodiment of the present application;
[0062] Figure 5 is a flowchart of a decoding end in an embodiment of the present application;
[0063] Figure 6 It is a module schematic diagram of a point cloud coding processing device according to an embodiment of the present application;
[0064] Figure 7 is a structural block diagram of an encoding device according to an embodiment of the present application;
[0065] Figure 8 It is a flowchart of a point cloud decoding processing method according to an embodiment of the present application;
[0066] Fig. 9 It is a module schematic diagram of a point cloud decoding processing device according to an embodiment of the present application;
[0067] Fig.10 It is a structural block diagram of the communication device of an embodiment of the present application. DETAILED DESCRIPTION
[0068] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0069] The terms "first", "second", etc. in the specification and claims of the present 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 under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0070] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
[0071] The prior art related to this application is briefly introduced below.
[0072] In the point cloud digital audio and video coding technology standard (AVS) encoder framework, the geometric information of the point cloud and the attribute information corresponding to each point are encoded separately. First, the point cloud is preprocessed: first, a minimum cuboid containing all the points in the input point cloud is constructed for the point cloud, which is called a bounding box. The origin coordinates of the bounding box are the minimum values of the coordinates of each point in the point cloud in the three dimensions of x, y, and z. Next, the coordinates of the points in the point cloud are transformed: based on this coordinate origin, the original coordinates of the points are transformed into relative coordinates relative to the coordinate origin. Then the geometric coordinates of the points are quantized. This step of quantization mainly plays a role in scaling. Due to quantization rounding, the geometric information of some points is the same. Whether to remove these points with repeated geometric information is determined based on the parameters. Next, the preprocessed point cloud is divided into an octree (quadtree / binary tree) in the order of breadth-first traversal: the bounding box after preprocessing is taken as the root node, and it is divided into eight equal parts to generate eight sub-cubes as its sub-nodes, and eight bits are used to represent the occupancy information of its sub-nodes, which is called the space occupancy code. If there is a point in the sub-cube, it means that the sub-node is occupied, and the corresponding occupancy bit is 1, otherwise it is 0. The occupied sub-cube is continued to be divided until the leaf node obtained by the division is a 1×1×1 unit cube, and the division is stopped to complete the geometric octree encoding. In the process of octree encoding, the generated space occupancy code and the number of points contained in the final leaf node are entropy encoded to obtain the output code stream. In the process of geometric decoding based on the octree, the decoder obtains the occupancy code of each node by continuous parsing in the order of breadth-first traversal, and divides the nodes in turn until the division is a 1×1×1 unit cube, and the division is stopped, and the number of points contained in each leaf node is parsed, and finally the geometric reconstructed point cloud information is restored.
[0073] After the geometric coding is completed, the geometric information is reconstructed. At present, attribute coding is mainly performed on color and reflectivity information. First, determine whether to perform color space conversion. If color space conversion is performed, the color information is converted from RGB color space to YUV color space. Then, the reconstructed point cloud is recolored using the original point cloud so that the uncoded attribute information corresponds to the reconstructed geometric information. In color information coding, it is divided into two modules: attribute prediction and attribute transformation. The attribute prediction process is as follows: first, the point cloud is reordered, and then differential prediction is performed. The reordering method is Hilbert reordering. The attribute prediction is performed on the sorted point cloud using a differential method, and finally the prediction residual is quantized and entropy encoded to generate a binary code stream. The attribute transformation process is as follows: first, wavelet transform is performed on the point cloud attributes, and the transform coefficients are quantized; secondly, the attribute reconstruction value is obtained by inverse quantization and inverse wavelet transform; then the difference between the original attribute and the attribute reconstruction value is calculated to obtain the attribute residual and quantize it; finally, the quantized transform coefficient and attribute residual are entropy encoded to generate a binary code stream. Figure 1 Shown is the AVS codec framework diagram, and this application involves the geometric encoding and decoding part.
[0074] AVS's existing inter-frame coding framework is as follows Figure 2 As shown, the specific process of the inter-frame coding scheme is as follows:
[0075] 1) Two frame types are set: I frame and P frame. The first frame of each sequence is an I frame, which only uses intra-frame prediction. All subsequent frames are P frames, which perform forward inter-frame prediction and use the previous frame as a reference frame.
[0076] 2) Input the current frame to be encoded and the encoded point cloud of the previous frame as the reference frame, divide the two frames into synchronous trees, and use the nodes at corresponding positions in the reference frame as prediction blocks.
[0077] 3) For the obtained prediction block, perform the same sub-block division operation on it and the current block to be encoded, and obtain the occupancy code information of the prediction block and the current block respectively. For each bit of the spatial occupancy code of the frame to be encoded, there are two cases for its inter-frame prediction context according to the density of the point cloud: for points judged as sparse slices, if the inter-frame prediction occupancy code is 1, and at least 4 of the 7 sub-layer neighbors of the current layer in the frame are non-empty, then the occupancy of all sub-layer neighbors in context model 1 is set to 1. Otherwise, a certain number of non-empty neighbors are added on the basis of the existing non-empty neighbors in the frame through the bitwise OR operation. For points determined to be dense slices, if the inter-frame prediction occupancy code is 1, when at least 3 of the 3 coplanar and 3 colinear nodes in the first layer are non-empty, and at least 2 of the 3 coplanar nodes in the second layer are non-empty, then the occupancy of the first layer and the coded adjacent blocks of the parent node of the current sub-block to be coded in context model 2 is all set to 1, including 3 coplanar and 3 colinear nodes; the occupancy of the adjacent coded blocks at the same depth as the current sub-block to be coded in the second layer is all set to 1, including 3 coplanar nodes. Otherwise, a certain number of non-empty neighbors are added on the basis of the existing non-empty neighbors in the frame through the bitwise OR operation.
[0078] The technology in this application acts on the octree coding mode of the encoder and decoder in AVS. The location of the proposed technology is shown in the dotted box in the figure, which includes two parts: intra-frame and inter-frame context extraction and a context-based entropy encoder.
[0079] In the following, in combination with the accompanying drawings, the point cloud encoding and decoding processing method, device, encoding device and decoding device provided in the embodiments of the present application are described in detail through some embodiments and their application scenarios.
[0080] like Figure 3 As shown, the embodiment of the present application provides a point cloud coding processing method, including:
[0081] Step 301, the encoder performs synchronous multi-tree division on the current frame to be encoded and the encoded frame;
[0082] It should be noted that the synchronized multi-tree division mentioned here may refer to a division method such as a synchronized binary tree division, a synchronized quadtree division or a synchronized octree division for the frames to be encoded.
[0083] The so-called synchronous multi-tree division means that after the division of the to-be-coded frame and the coded frame is completed, the size and position of the spatial blocks contained in the two are consistent.
[0084] Step 302, the encoder performs inter-frame prediction on the occupancy of the second node in the frame to be encoded based on the target value corresponding to the first node in the encoded frame, where the occupancy includes: occupied or unoccupied;
[0085] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes one of the following:
[0086] A11, the number of points contained in the space block corresponding to the first node;
[0087] A12, the density of points contained in the space block corresponding to the first node;
[0088] A13, the number of points contained in the first child node contained in the first node;
[0089] Wherein, the first node includes at least one first sub-node;
[0090] A14. Density of points contained in the first child node contained in the first node.
[0091] It should be noted that A11 and A12 predict the occupancy status of all child nodes of the current node directly based on the points contained in the spatial block corresponding to the node in the encoded frame corresponding to the current node in the frame to be encoded, that is, the occupancy status of all child nodes of the current node can be predicted through one judgment; and A13 and A14 predict the occupancy status of each child node in the current node in the frame to be encoded based on the points contained in each child node contained in the node in the encoded frame corresponding to the current node in the frame to be encoded, that is, several predictions are required according to the number of child nodes in the current node in the frame to be encoded.
[0092] Optionally, the encoded frame in the embodiment of the present application may be an encoded frame located before the frame to be encoded, or may be multiple frames. When the encoded frame is one frame, for example, the encoded frame may be a frame adjacent to the frame to be encoded, or may be a frame spaced a preset number of frames from the frame to be encoded; when the encoded frame is multiple frames, for example, the encoded frame may be multiple consecutive frames adjacent to the frame to be encoded, or may be multiple frames selected at intervals of a preset number of frames from the frame to be encoded.
[0093] It should also be noted here that when the encoded frame uses multiple frames, it is necessary to perform inter-frame prediction on the occupancy of the second node based on the situations of all the first nodes in the multiple frames; for example, when A11 is used, the number of points contained in the spatial blocks corresponding to the first nodes in the multiple frames can be added together, and the result of the summation can be used to perform inter-frame prediction on the occupancy of the second node, or the number of points contained in the spatial blocks corresponding to the first nodes in the multiple frames can be averaged, and the average value can be used to perform inter-frame prediction on the occupancy of the second node; this usage method is no longer enumerated in this application.
[0094] Optionally, when the target value includes: A11 or A12, the implementation manner of step 302 may include one of the following:
[0095] B11. If the target value is greater than a first preset threshold, predicting that the occupancy status of all child nodes of the second node in the frame to be encoded is occupied;
[0096] That is to say, when the number of points contained in the spatial block corresponding to the first node is greater than the first preset threshold, the occupancy status of all child nodes of the second node in the frame to be encoded is predicted to be occupied; or, when the density of points contained in the spatial block corresponding to the first node is greater than the first preset threshold, the occupancy status of all child nodes of the second node in the frame to be encoded is predicted to be occupied.
[0097] B12. If the target value is less than or equal to a first preset threshold, predicting that the occupancy status of all child nodes of the second node in the frame to be encoded is unoccupied;
[0098] That is to say, when the number of points contained in the spatial block corresponding to the first node is less than or equal to the first preset threshold, it is predicted that the occupancy status of all child nodes of the second node in the frame to be encoded is unoccupied; or, when the density of points contained in the spatial block corresponding to the first node is less than or equal to the first preset threshold, it is predicted that the occupancy status of all child nodes of the second node in the frame to be encoded is unoccupied.
[0099] It should be noted here that, although the first preset threshold is used in this case, the values of the first preset threshold actually corresponding to A11 and A12 should be different.
[0100] Optionally, when the target value includes: A13 or A14, the implementation manner of step 302 may include one of the following:
[0101] C11. If the target value is greater than a second preset threshold, predicting that the occupancy status of the second child node of the second node in the frame to be encoded is occupied;
[0102] It should be noted that the position of the first subnode in the encoded frame is the same as the position of the second subnode in the frame to be encoded.
[0103] That is to say, when the number of points contained in the first subnode contained in the first node is greater than the second preset threshold, the occupancy status of the second subnode of the second node in the frame to be encoded is predicted to be occupied; or, when the density of the points contained in the first subnode contained in the first node is greater than the second preset threshold, the occupancy status of the second subnode of the second node in the frame to be encoded is predicted to be occupied.
[0104] C12. If the target value is less than or equal to a second preset threshold, predicting that the occupancy status of the second child node of the second node in the frame to be encoded is unoccupied;
[0105] That is to say, when the number of points contained in the first subnode contained in the first node is less than or equal to the second preset threshold, it is predicted that the occupancy status of the second subnode of the second node in the frame to be encoded is not occupied; or, when the density of the points contained in the first subnode contained in the first node is less than or equal to the second preset threshold, it is predicted that the occupancy status of the second subnode of the second node in the frame to be encoded is not occupied.
[0106] It should be noted here that, although the second preset threshold is used in both cases, the values of the second preset threshold actually corresponding to A13 and A14 should be different.
[0107] Optionally, after performing inter-frame prediction, it is also necessary to perform entropy coding on the placeholder code information of the frame to be coded according to the prediction situation, which can be specifically implemented in the following manner:
[0108] Implementation method 1:
[0109] The encoding end acquires first information according to the predicted occupancy of the frame to be encoded, where the first information is used to determine a first context for encoding the frame to be encoded;
[0110] The encoding end determines a first context according to the first information and second information corresponding to the frame to be encoded;
[0111] The encoder performs entropy encoding on the sub-node placeholder code information of the frame to be encoded according to the first context.
[0112] It should be noted here that this implementation method is to first use the predicted occupancy of the frame to be encoded to determine an index information (corresponding to the first information above); at the same time, the prediction result obtained by predicting the node neighbor information (that is, co-planar, co-linear, and co-point neighbor nodes) of the frame to be encoded is determined to another index information (corresponding to the second information above), and then these two index information are used to jointly determine a context (that is, the first context mentioned above), and this context is used to perform entropy encoding on the sub-node placeholder code information of the frame to be encoded.
[0113] The above-mentioned implementation method is given as an example as follows: for example, the method of the present application corresponds to a set of contexts (including multiple contexts), and the method of using the node's neighbor information also corresponds to a set of contexts; when determining the context of the frame to be encoded, the two sets of contexts are combined to form a group of contexts, each group of contexts contains one of the two sets of contexts, and when determining the context, it is first determined which set of contexts to use, and then it is determined which context in this group of contexts to use.
[0114] Implementation method 2:
[0115] The encoder determines, based on the predicted occupancy status of the frame to be encoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied;
[0116] The encoder performs entropy encoding on the placeholder code information of the first target node according to the second context corresponding to the first target node;
[0117] The encoder determines a third context according to the predicted occupancy of the second target node;
[0118] The encoder performs entropy encoding on the placeholder code information of the second target node according to the third context.
[0119] It should be noted here that this implementation method is to predict the occupancy of the frame to be encoded according to the prediction method of the present application, and then divide the nodes according to the occupancy situation. The occupied nodes use a context (corresponding to the third context above), and use the context to entropy encode the placeholder code information of the occupied nodes; the unoccupied nodes use another context (corresponding to the second context above), and use the context to entropy encode the placeholder code information of the unoccupied nodes.
[0120] It should also be noted that the context corresponding to the occupied node in the present application is selected from multiple preset contexts by searching for the context based on the predicted occupancy situation; and the context corresponding to the unoccupied node is predicted using the node's neighbor information (i.e., neighboring nodes that are coplanar, colinear, and co-point), and is determined by searching multiple preset contexts based on the prediction results.
[0121] Taking octree partitioning as an example, the specific application of this application is illustrated as follows.
[0122] like Figure 4 As shown in the figure, the specific implementation process of the encoding end is:
[0123] Step 401, performing synchronous octree division on the encoded frame and the frame to be encoded;
[0124] Step 402, obtaining the number of points contained in each child node of the node of the previous frame that has been encoded and corresponds to the current node of the frame to be encoded, recorded as predChildrenCount;
[0125] Step 403, according to the relationship between predChildrenCount and the threshold, setting the occupancy of the child nodes of the current node of the frame to be encoded;
[0126] If predChildrenCount is greater than the threshold, the child node occupancy probability of the current frame node is relatively high, and countFlag=1 is set, that is, the occupancy status is occupied; otherwise, the child node occupancy probability of the current frame is relatively low, and countFlag=0 is set, that is, the occupancy status is not occupied.
[0127] Step 404, obtaining a context according to the occupancy of all nodes of the frame to be encoded and the occupancy of the frame to be encoded determined by the first method, and performing entropy encoding on the placeholder code information of the frame to be encoded by using the obtained context;
[0128] It should be noted here that the first method refers to: using the neighbor information of the node (ie, the neighbor nodes on the same plane, on the same line, and at the same point) to predict the occupancy status of the frame to be encoded.
[0129] It should be noted that the implementation method of the decoding end is consistent with that of the encoding end, except that the decoding end performs decoding processing on the frame to be decoded. For the specific implementation situation, please refer to the implementation of the encoding end. That is to say, the decoding end decodes in the same way as the encoding end encodes, which will not be repeated here.
[0130] like Figure 5 As shown, the specific implementation process of the decoding end is:
[0131] Step 501, performing synchronous octree division on the decoded frame and the frame to be decoded;
[0132] Step 502, obtaining the number of points contained in each child node contained in the node of the previous frame that has been decoded and corresponds to the current node of the frame to be decoded, recorded as predChildrenCount;
[0133] Step 503, according to the relationship between predChildrenCount and the threshold, setting the occupancy of the child nodes of the current node of the frame to be decoded;
[0134] If predChildrenCount is greater than the threshold, the child node occupancy probability of the current frame node is relatively high, and countFlag=1 is set, that is, the occupancy status is occupied; otherwise, the child node occupancy probability of the current frame is relatively low, and countFlag=0 is set, that is, the occupancy status is not occupied.
[0135] Step 504: Obtain a context according to the occupancy of all nodes of the frame to be decoded and the occupancy of the frame to be decoded determined by the first method, and perform entropy decoding on the placeholder code information of the frame to be decoded by using the obtained context.
[0136] It should be noted that the present application optimizes the inter-frame technology, taking into account the temporal correlation of the number of inter-frame node points (or point density). The proposed technology has the following beneficial effects under the premise of slightly increasing the complexity of encoding and decoding:
[0137] This application can reduce the encoding bitstream size without changing the geometric PSNR. As shown in Table 1, the BD-rate performance of the reconstructed point cloud is improved under C1 (geometric lossy, attribute lossy) and the bpp performance is improved under C4 (geometric lossless, attribute lossless). (PSNR is an objective standard for image evaluation. The larger the PSNR, the better the image quality; BD-rate is a parameter used to measure the performance. When BD-rate is negative, it means that the performance has improved. On this basis, the larger the absolute value of BD-rate, the greater the performance gain; bpp is used to measure the bitstream size in the lossless case. Less than 100% means that the performance has improved. On this basis, the smaller the absolute value, the greater the gain). The geometric information of some multi-frame point cloud sequences was tested on the AVS platform under C1 (geometric lossy, attribute lossy) and C4 (geometric lossless, attribute lossless) conditions. The results are shown in Table 2:
[0138] Table 1 Performance comparison results of this application and pcrm-5.0-inter-3.0 C1
[0139] sequence name BD-rate(D1) BD-rate(D1_H) ford_01 -0.5% -0.5% ford_02 -0.3% -0.3% ford_03 -0.3% -0.3%
[0140] Table 2 Performance comparison results of this application and pcrm-5.0-inter-3.0 C4
[0141] sequence name bpp ford_01 99.9% ford_02 99.9% ford_03 99.9%
[0142] The point cloud coding processing method provided in the embodiment of the present application can be executed by a point cloud coding processing device. In the embodiment of the present application, the point cloud coding processing device executing the point cloud coding processing method is taken as an example to illustrate the point cloud coding processing device provided in the embodiment of the present application.
[0143] like Figure 6As shown, the embodiment of the present application provides a point cloud coding processing device 600, comprising:
[0144] The first division module 601 is used to perform synchronous multi-tree division on the current frame to be encoded and the encoded frame;
[0145] A first prediction module 602 is configured to perform inter-frame prediction on an occupation status of a second node in the frame to be encoded based on a target value corresponding to the first node in the encoded frame, where the occupation status includes: occupied or unoccupied;
[0146] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes:
[0147] the number of points contained in the space block corresponding to the first node;
[0148] the density of points contained in the space block corresponding to the first node;
[0149] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0150] The density of points contained in the first child node contained in the first node.
[0151] Optionally, the target value includes: the number of points contained in the space block corresponding to the first node or the density of points contained in the space block corresponding to the first node, and the first prediction module 602 is used to:
[0152] If the target value is greater than a first preset threshold, predicting that the occupancy status of all child nodes of the second node in the frame to be encoded is occupied; or
[0153] If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be encoded is predicted to be unoccupied.
[0154] Optionally, the target value includes: the number of points contained in the first child node contained in the first node or the density of points contained in the first child node contained in the first node, and the first prediction module 602 is used to:
[0155] If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as being occupied; or
[0156] If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as unoccupied;
[0157] The position of the first subnode in the encoded frame is the same as the position of the second subnode in the frame to be encoded.
[0158] Optionally, the device further comprises:
[0159] A first acquisition module, configured to acquire first information according to the predicted occupancy of the frame to be encoded, wherein the first information is used to determine a first context for encoding the frame to be encoded;
[0160] A first determining module, configured to determine a first context according to the first information and second information corresponding to the frame to be encoded;
[0161] The first encoding module is used to perform entropy encoding on the sub-node placeholder code information of the frame to be encoded according to the first context.
[0162] Optionally, the device further comprises:
[0163] A second determination module is used to determine, based on the predicted occupancy status of the frame to be encoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied;
[0164] A second encoding module, configured to perform entropy encoding on the placeholder code information of the first target node according to a second context corresponding to the first target node;
[0165] A third determination module, configured to determine a third context according to the predicted occupancy of the second target node;
[0166] A third encoding module is used to perform entropy encoding on the placeholder code information of the second target node according to the third context.
[0167] It should be noted that by using the target value corresponding to the first node in the encoded frame to perform inter-frame prediction on the occupancy of the second node to be encoded, the occupancy of the node can be accurately predicted, thereby improving the accuracy of the inter-frame prediction.
[0168] The point cloud coding processing device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the terminal can include but is not limited to the types of terminals 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.
[0169] The point cloud coding processing device provided in the embodiment of the present application can achieve Figure 3The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.
[0170] The embodiment of the present application also provides a coding device, including a processor and a communication interface, the processor is used to synchronously divide the current frame to be coded and the coded frame into a multi-branch tree; based on the target value corresponding to the first node in the coded frame, inter-frame prediction is performed on the occupation status of the second node in the frame to be coded, the occupation status includes: occupied or unoccupied;
[0171] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes one of the following:
[0172] the number of points contained in the space block corresponding to the first node;
[0173] the density of points contained in the space block corresponding to the first node;
[0174] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0175] The density of points contained in the first child node contained in the first node.
[0176] The coding device embodiment corresponds to the above method embodiment, and each implementation process and implementation method of the above method embodiment can be applied to the coding device embodiment and can achieve the same technical effect. Specifically, Figure 6 A schematic diagram of the hardware structure of an encoding device for implementing an embodiment of the present application.
[0177] The encoding device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and at least some of the components of a processor 710.
[0178] Those skilled in the art will appreciate that the point cloud coding processing device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0179] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 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.
[0180] In the embodiment of the present application, the radio frequency unit 701 receives downlink data from the network side device and sends it to the processor 710 for processing; in addition, the uplink data is sent to the network side device. Generally, the radio frequency unit 701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
[0181] The memory 709 can be used to store software programs or instructions and various data. The memory 709 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.
[0182] The processor 710 may include one or more processing units; optionally, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.
[0183] The processor 710 is used to implement:
[0184] Performing synchronous multi-tree division on the current frame to be encoded and the encoded frame;
[0185] Based on the target value corresponding to the first node in the encoded frame, inter-frame prediction is performed on the occupation status of the second node in the frame to be encoded, where the occupation status includes: occupied or unoccupied;
[0186] The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes one of the following:
[0187] the number of points contained in the space block corresponding to the first node;
[0188] the density of points contained in the space block corresponding to the first node;
[0189] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0190] The density of points contained in the first child node contained in the first node.
[0191] The encoding device of the embodiment of the present application performs inter-frame prediction on the occupancy of the second node to be encoded by utilizing the target value corresponding to the first node in the encoded frame, thereby being able to accurately predict the occupancy of the node and improving the accuracy of the inter-frame prediction.
[0192] Optionally, the target value includes: the number of points contained in the space block corresponding to the first node or the density of points contained in the space block corresponding to the first node, and the processor 710 is configured to implement:
[0193] If the target value is greater than a first preset threshold, predicting that the occupancy status of all child nodes of the second node in the frame to be encoded is occupied; or
[0194] If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be encoded is predicted to be unoccupied.
[0195] Optionally, the target value includes: the number of points contained in the first child node contained in the first node or the density of points contained in the first child node contained in the first node, and the processor 710 is configured to implement:
[0196] If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as being occupied; or
[0197] If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as unoccupied;
[0198] The position of the first subnode in the encoded frame is the same as the position of the second subnode in the frame to be encoded.
[0199] Optionally, the processor is further configured to implement:
[0200] Acquire first information according to the predicted occupancy of the frame to be encoded, where the first information is used to determine a first context for encoding the frame to be encoded;
[0201] Determine a first context according to the first information and second information corresponding to the frame to be encoded;
[0202] Entropy encoding is performed on the sub-node placeholder code information of the frame to be encoded according to the first context.
[0203] Optionally, the processor is further configured to implement:
[0204] Based on the predicted occupancy status of the frame to be encoded, determining a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied;
[0205] Performing entropy coding on the placeholder code information of the first target node according to the second context corresponding to the first target node;
[0206] determining a third context according to the predicted occupancy of the second target node;
[0207] Perform entropy encoding on the placeholder code information of the second target node according to the third context.
[0208] Preferably, an embodiment of the present application also provides a coding device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, each process of the point cloud coding processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0209] The 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, each process of the point cloud coding processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0210] like Figure 8 As shown, the embodiment of the present application also provides a point cloud decoding processing method, including:
[0211] Step 801, the decoding end performs synchronous multi-tree division on the current frame to be decoded and the decoded frame;
[0212] Step 802, the decoding end performs inter-frame prediction on the occupancy status of the second node in the frame to be decoded based on the target value corresponding to the first node in the decoded frame, where the occupancy status includes: occupied or unoccupied;
[0213] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes one of the following:
[0214] the number of points contained in the space block corresponding to the first node;
[0215] the density of points contained in the space block corresponding to the first node;
[0216] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0217] The density of points contained in the first child node contained in the first node.
[0218] Optionally, the target value includes: the number of points contained in the spatial block corresponding to the first node or the density of points contained in the spatial block corresponding to the first node, and the inter-frame prediction of the occupancy of the second node in the frame to be decoded based on the target value corresponding to the first node in the decoded frame includes:
[0219] If the target value is greater than a first preset threshold, predicting the occupancy status of all subnodes of the second node in the frame to be decoded as being occupied; or
[0220] If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be decoded is predicted to be unoccupied.
[0221] Optionally, the target value includes: the number of points included in the first child node included in the first node or the density of points included in the first child node included in the first node, and the inter-frame prediction of the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame includes:
[0222] If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as being occupied; or
[0223] If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as unoccupied;
[0224] The position of the first subnode in the decoded frame is the same as the position of the second subnode in the frame to be decoded.
[0225] Optionally, after performing inter-frame prediction on the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame, the method further includes:
[0226] The decoding end obtains first information according to the predicted occupancy of the frame to be decoded, where the first information is used to determine a first context for decoding the frame to be decoded;
[0227] The decoding end determines a first context according to the first information and second information corresponding to the frame to be decoded;
[0228] The decoding end performs entropy decoding on the sub-node placeholder code information of the frame to be decoded according to the first context.
[0229] Optionally, after performing inter-frame prediction on the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame, the method further includes:
[0230] The decoding end determines, based on the predicted occupancy status of the frame to be decoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied;
[0231] The decoding end performs entropy decoding on the placeholder code information of the first target node according to the second context corresponding to the first target node;
[0232] The decoding end determines a third context according to the predicted occupancy of the second target node;
[0233] The decoding end performs entropy decoding on the placeholder code information of the second target node according to the third context.
[0234] It should be noted that the decoding end also decodes in the same manner as the encoding end performs encoding. For the specific implementation of the decoding end, please refer to the decoding end, which will not be repeated here.
[0235] The decoding end of the embodiment of the present application performs inter-frame prediction on the occupancy of the second node to be decoded by using the target value corresponding to the first node in the decoded frame, thereby accurately predicting the occupancy of the node and improving the accuracy of the inter-frame prediction.
[0236] like Fig. 9 As shown, the embodiment of the present application further provides a point cloud decoding processing device 900, comprising:
[0237] The second division module 901 is used to perform synchronous multi-tree division on the current frame to be decoded and the decoded frame;
[0238] A second prediction module 902 is configured to perform inter-frame prediction on an occupancy status of a second node in the to-be-decoded frame based on a target value corresponding to the first node in the decoded frame, the occupancy status including: occupied or unoccupied;
[0239] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes:
[0240] the number of points contained in the space block corresponding to the first node;
[0241] the density of points contained in the space block corresponding to the first node;
[0242] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0243] The density of points contained in the first child node contained in the first node.
[0244] Optionally, the target value includes: the number of points contained in the space block corresponding to the first node or the density of points contained in the space block corresponding to the first node, and the second prediction module 902 is used to:
[0245] If the target value is greater than a first preset threshold, predicting the occupancy status of all subnodes of the second node in the frame to be decoded as being occupied; or
[0246] If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be decoded is predicted to be unoccupied.
[0247] Optionally, the target value includes: the number of points contained in the first child node contained in the first node or the density of points contained in the first child node contained in the first node, and the second prediction module 902 is used to:
[0248] If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as being occupied; or
[0249] If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as unoccupied;
[0250] The position of the first subnode in the decoded frame is the same as the position of the second subnode in the frame to be decoded.
[0251] Optionally, the device further comprises:
[0252] A second acquisition module, configured to acquire first information according to the predicted occupancy of the frame to be decoded, wherein the first information is used to determine a first context for decoding the frame to be decoded;
[0253] a fourth determining module, configured to determine a first context according to the first information and second information corresponding to the frame to be decoded;
[0254] The first decoding module is used to perform entropy decoding on the sub-node placeholder code information of the frame to be decoded according to the first context.
[0255] Optionally, the device further comprises:
[0256] A fifth determination module, configured to determine, based on the predicted occupancy status of the frame to be decoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied;
[0257] A second decoding module, configured to perform entropy decoding on the placeholder code information of the first target node according to a second context corresponding to the first target node;
[0258] a sixth determination module, configured to determine a third context according to the predicted occupancy of the second target node;
[0259] A third decoding module is used to perform entropy decoding on the placeholder code information of the second target node according to the third context.
[0260] It should be noted that the device embodiment is a device corresponding to the above method, and all implementation methods in the above method embodiment are applicable to the device embodiment and can achieve the same technical effect, which will not be repeated here.
[0261] Preferably, an embodiment of the present application also provides a decoding device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, each process of the point cloud decoding processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0262] An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the point cloud decoding processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0263] The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0264] The embodiment of the present application also provides a decoding device, including a processor and a communication interface, wherein the processor is used to: perform synchronous multi-branch tree division on a current frame to be decoded and a decoded frame; perform inter-frame prediction on an occupancy status of a second node in the frame to be decoded based on a target value corresponding to a first node in the decoded frame, wherein the occupancy status includes: occupied or unoccupied;
[0265] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes one of the following:
[0266] the number of points contained in the space block corresponding to the first node;
[0267] the density of points contained in the space block corresponding to the first node;
[0268] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0269] The density of points contained in the first child node contained in the first node.
[0270] Specifically, the embodiment of the present application further provides a decoding device. Specifically, the structure of the decoding device is Figure 6 The structure of the encoding device shown is similar and will not be repeated here.
[0271] Optionally, the processor is configured to implement:
[0272] Performing synchronous multi-tree division on the current frame to be decoded and the decoded frame;
[0273] Based on the target value corresponding to the first node in the decoded frame, inter-frame prediction is performed on the occupation status of the second node in the to-be-decoded frame, where the occupation status includes: occupied or unoccupied;
[0274] The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes one of the following:
[0275] the number of points contained in the space block corresponding to the first node;
[0276] the density of points contained in the space block corresponding to the first node;
[0277] the number of points contained in the first child node contained in the first node, the first node including at least one first child node;
[0278] The density of points contained in the first child node contained in the first node.
[0279] Optionally, the target value includes: the number of points contained in the space block corresponding to the first node or the density of points contained in the space block corresponding to the first node, and the processor is used to implement:
[0280] If the target value is greater than a first preset threshold, predicting the occupancy status of all subnodes of the second node in the frame to be decoded as being occupied; or
[0281] If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be decoded is predicted to be unoccupied.
[0282] Optionally, the target value includes: the number of points contained in the first child node contained in the first node or the density of points contained in the first child node contained in the first node, and the processor is used to implement:
[0283] If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as being occupied; or
[0284] If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as unoccupied;
[0285] The position of the first subnode in the decoded frame is the same as the position of the second subnode in the frame to be decoded.
[0286] Optionally, the processor is further configured to implement:
[0287] Acquire first information according to the predicted occupancy of the frame to be decoded, where the first information is used to determine a first context for decoding the frame to be decoded;
[0288] Determine a first context according to the first information and second information corresponding to the frame to be decoded;
[0289] Entropy decoding is performed on the sub-node placeholder code information of the frame to be decoded according to the first context.
[0290] Optionally, the processor is further configured to implement:
[0291] Based on the predicted occupancy status of the frame to be decoded, determining a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied;
[0292] Performing entropy decoding on the placeholder code information of the first target node according to the second context corresponding to the first target node;
[0293] determining a third context according to the predicted occupancy of the second target node;
[0294] Perform entropy decoding on the placeholder code information of the second target node according to the third context.
[0295] It should be noted that the encoding end and decoding end mentioned in the embodiment of the present application can be set in the same device, that is, the device can realize both the point cloud encoding processing function and the point cloud decoding processing function, and can also be set in different devices.
[0296] Optional, such as Fig.10 As shown, the embodiment of the present application further provides a communication device 1000, including a processor 1001, a memory 1002, and a program or instruction stored in the memory 1002 and executable on the processor 1001. For example, when the communication device 1000 is an encoding device, the program or instruction is executed by the processor 1001 to implement the various processes of the above-mentioned point cloud encoding processing method embodiment, and can achieve the same technical effect. When the communication device 1000 is a decoding device, the program or instruction is executed by the processor 1001 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.
[0297] 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 or point cloud decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0298] 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.
[0299] The embodiments of the present application further provide 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.
[0300] An embodiment of the present application also provides a coding and decoding system, including: an encoding device and a decoding device, wherein the encoding device can be used to execute the steps of the point cloud encoding processing method as described above, and the decoding device can be used to execute the steps of the point cloud decoding processing method as described above.
[0301] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including 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 reverse 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.
[0302] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0303] 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 the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A point cloud coding processing method, characterized in that: include: The encoder performs synchronous multi-tree division on the current frame to be encoded and the encoded frame; The encoder performs inter-frame prediction on an occupation status of a second node in the frame to be encoded based on a target value corresponding to the first node in the encoded frame, where the occupation status includes: occupied or unoccupied; The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes one of the following: the number of points contained in the space block corresponding to the first node; the density of points contained in the space block corresponding to the first node; the number of points contained in the first child node contained in the first node, the first node including at least one first child node; The density of points contained in the first child node contained in the first node.
2. The method according to claim 1, characterized in that: The target value includes: the number of points contained in the spatial block corresponding to the first node or the density of points contained in the spatial block corresponding to the first node, and the inter-frame prediction of the occupancy of the second node in the to-be-encoded frame based on the target value corresponding to the first node in the encoded frame includes: If the target value is greater than a first preset threshold, predicting that the occupancy status of all child nodes of the second node in the frame to be encoded is occupied; or If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be encoded is predicted to be unoccupied.
3. The method according to claim 1, characterized in that The target value includes: the number of points included in the first child node included in the first node or the density of points included in the first child node included in the first node, and the inter-frame prediction of the occupancy of the second node in the to-be-encoded frame based on the target value corresponding to the first node in the encoded frame includes: If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as being occupied; or If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as unoccupied; The position of the first subnode in the encoded frame is the same as the position of the second subnode in the frame to be encoded.
4. The method according to claim 2 or 3, characterized in that: After performing inter-frame prediction on the occupancy of the second node in the to-be-encoded frame based on the target value corresponding to the first node in the encoded frame, the method further includes: The encoding end acquires first information according to the predicted occupancy of the frame to be encoded, where the first information is used to determine a first context for encoding the frame to be encoded; The encoding end determines a first context according to the first information and second information corresponding to the frame to be encoded; The encoder performs entropy encoding on the sub-node placeholder code information of the frame to be encoded according to the first context.
5. The method according to claim 2 or 3, characterized in that: After performing inter-frame prediction on the occupancy of the second node in the to-be-encoded frame based on the target value corresponding to the first node in the encoded frame, the method further includes: The encoder determines, based on the predicted occupancy status of the frame to be encoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied; The encoder performs entropy encoding on the placeholder code information of the first target node according to the second context corresponding to the first target node; The encoder determines a third context according to the predicted occupancy of the second target node; The encoder performs entropy encoding on the placeholder code information of the second target node according to the third context.
6. A point cloud decoding processing method, characterized in that: include: The decoding end performs synchronous multi-tree division on the current frame to be decoded and the decoded frame; The decoding end performs inter-frame prediction on the occupation status of the second node in the frame to be decoded based on the target value corresponding to the first node in the decoded frame, where the occupation status includes: occupied or unoccupied; The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes one of the following: the number of points contained in the space block corresponding to the first node; the density of points contained in the space block corresponding to the first node; the number of points contained in the first child node contained in the first node, the first node including at least one first child node; The density of points contained in the first child node contained in the first node.
7. The method according to claim 6, characterized in that The target value includes: the number of points contained in the spatial block corresponding to the first node or the density of points contained in the spatial block corresponding to the first node, and the inter-frame prediction of the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame includes: If the target value is greater than a first preset threshold, predicting the occupancy status of all subnodes of the second node in the frame to be decoded as being occupied; or If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be decoded is predicted to be unoccupied.
8. The method according to claim 7, characterized in that The target value includes: the number of points included in the first child node included in the first node or the density of points included in the first child node included in the first node, and the inter-frame prediction of the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame includes: If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as being occupied; or If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as unoccupied; The position of the first subnode in the decoded frame is the same as the position of the second subnode in the frame to be decoded.
9. The method according to claim 7 or 8, characterized in that: After performing inter-frame prediction on the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame, the method further includes: The decoding end obtains first information according to the predicted occupancy of the frame to be decoded, where the first information is used to determine a first context for decoding the frame to be decoded; The decoding end determines a first context according to the first information and second information corresponding to the frame to be decoded; The decoding end performs entropy decoding on the sub-node placeholder code information of the frame to be decoded according to the first context.
10. The method according to claim 7 or 8, characterized in that: After performing inter-frame prediction on the occupancy of the second node in the to-be-decoded frame based on the target value corresponding to the first node in the decoded frame, the method further includes: The decoding end determines, based on the predicted occupancy status of the frame to be decoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied; The decoding end performs entropy decoding on the placeholder code information of the first target node according to the second context corresponding to the first target node; The decoding end determines a third context according to the predicted occupancy of the second target node; The decoding end performs entropy decoding on the placeholder code information of the second target node according to the third context.
11. A point cloud coding processing device, characterized in that: include: A first division module, used for performing synchronous multi-tree division on the current frame to be encoded and the encoded frame; A first prediction module, configured to perform inter-frame prediction on an occupancy status of a second node in the frame to be encoded based on a target value corresponding to the first node in the encoded frame, wherein the occupancy status includes: occupied or unoccupied; The position of the first node in the encoded frame is the same as the position of the second node in the frame to be encoded, and the target value includes: the number of points contained in the space block corresponding to the first node; the density of points contained in the space block corresponding to the first node; the number of points contained in the first child node contained in the first node, the first node including at least one first child node; The density of points contained in the first child node contained in the first node.
12. The device according to claim 11, characterized in that The target value includes: the number of points contained in the space block corresponding to the first node or the density of points contained in the space block corresponding to the first node. The first prediction module is used to: If the target value is greater than a first preset threshold, predicting that the occupancy status of all child nodes of the second node in the frame to be encoded is occupied; or If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be encoded is predicted to be unoccupied.
13. The device according to claim 11, characterized in that The target value includes: the number of points contained in the first child node contained in the first node or the density of points contained in the first child node contained in the first node, and the first prediction module is used to: If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as being occupied; or If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the frame to be encoded as unoccupied; The position of the first subnode in the encoded frame is the same as the position of the second subnode in the frame to be encoded.
14. The device according to claim 12 or 13, characterized in that Also includes: A first acquisition module, configured to acquire first information according to the predicted occupancy of the frame to be encoded, wherein the first information is used to determine a first context for encoding the frame to be encoded; A first determining module, configured to determine a first context according to the first information and second information corresponding to the frame to be encoded; The first encoding module is used to perform entropy encoding on the sub-node placeholder code information of the frame to be encoded according to the first context.
15. The device according to claim 12 or 13, characterized in that Also includes: A second determination module is used to determine, based on the predicted occupancy status of the frame to be encoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied; A second encoding module, configured to perform entropy encoding on the placeholder code information of the first target node according to a second context corresponding to the first target node; A third determination module, configured to determine a third context according to the predicted occupancy of the second target node; A third encoding module is used to perform entropy encoding on the placeholder code information of the second target node according to the third context.
16. A point cloud decoding processing device, characterized in that: include: A second partitioning module is used to perform synchronous multi-tree partitioning on the current frame to be decoded and the decoded frame; A second prediction module, configured to perform inter-frame prediction on an occupancy status of a second node in the to-be-decoded frame based on a target value corresponding to the first node in the decoded frame, wherein the occupancy status includes: occupied or unoccupied; The position of the first node in the decoded frame is the same as the position of the second node in the frame to be decoded, and the target value includes: the number of points contained in the space block corresponding to the first node; the density of points contained in the space block corresponding to the first node; the number of points contained in the first child node contained in the first node, the first node including at least one first child node; The density of points contained in the first child node contained in the first node.
17. The device according to claim 16, characterized in that The target value includes: the number of points contained in the space block corresponding to the first node or the density of points contained in the space block corresponding to the first node. The second prediction module is used to: If the target value is greater than a first preset threshold, predicting the occupancy status of all subnodes of the second node in the frame to be decoded as being occupied; or If the target value is less than or equal to a first preset threshold, the occupancy status of all child nodes of the second node in the frame to be decoded is predicted to be unoccupied.
18. The device according to claim 16, characterized in that The target value includes: the number of points contained in the first child node contained in the first node or the density of points contained in the first child node contained in the first node, and the second prediction module is used to: If the target value is greater than a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as being occupied; or If the target value is less than or equal to a second preset threshold, predicting the occupancy status of the second subnode of the second node in the to-be-decoded frame as unoccupied; The position of the first subnode in the decoded frame is the same as the position of the second subnode in the frame to be decoded.
19. The device according to claim 17 or 18, characterized in that Also includes: A second acquisition module, configured to acquire first information according to the predicted occupancy of the frame to be decoded, wherein the first information is used to determine a first context for decoding the frame to be decoded; a fourth determining module, configured to determine a first context according to the first information and second information corresponding to the frame to be decoded; The first decoding module is used to perform entropy decoding on the sub-node placeholder code information of the frame to be decoded according to the first context.
20. The device according to claim 17 or 18, characterized in that Also includes: A fifth determination module, configured to determine, based on the predicted occupancy status of the frame to be decoded, a first target node whose occupancy status is unoccupied and a second target node whose occupancy status is occupied; A second decoding module, configured to perform entropy decoding on the placeholder code information of the first target node according to a second context corresponding to the first target node; a sixth determination module, configured to determine a third context according to the predicted occupancy of the second target node; A third decoding module is used to perform entropy decoding on the placeholder code information of the second target node according to the third context.
21. A coding device, characterized in that: It includes a processor and a memory, 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 point cloud coding processing method as described in any one of claims 1 to 5 are implemented.
22. A decoding device, characterized in that: It includes a processor and a memory, 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 point cloud decoding processing method as described in any one of claims 6 to 10 are implemented.
23. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the point cloud encoding processing method as described in any one of claims 1 to 5, or implements the steps of the point cloud decoding processing method as described in any one of claims 6 to 10.
