Decoding method, encoding method, decoders and encoders
By controlling point cloud decoding based on bit depth parameters, the problem that the computing requirements of the point cloud decoder exceeds the computing power is solved, the robustness and stability of the decoder are improved, and the decoding performance is improved.
Patent Information
- Application Number
- PCT/CN2023/077410
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-08-29
AI Technical Summary
When the computing requirements of existing point cloud decoders exceed the computing capabilities during the decoding process, it is easy to cause decoding errors, which reduces the robustness and stability of the decoder and affects the decoding performance.
By deciding whether to decode the current point cloud information based on the first parameter (characterizing bit depth or maximum bit depth), this avoids the computational requirements exceeding the computing power, thereby ensuring the robustness and stability of the decoder, reducing the amount of calculation, and improving decoding efficiency. .
It effectively avoids the numerical bit depth out-of-bounds phenomenon and inability to handle the problem of the decoder during the decoding process, ensures the robustness and stability of the codec, and improves the decoding performance.
Smart Images

Figure CN2023077410_29082024_PF_FP_ABST
Abstract
Description
Decoding method, encoding method, decoder and encoder Technical Field
[0001] The embodiments of the present application relate to the field of coding and decoding technology, and more specifically, to a decoding method, an encoding method, a decoder, and an encoder. Background Art
[0002] Point clouds have begun to become ubiquitous in various fields, such as virtual / augmented reality, robotics, geographic information systems, and medicine. With the continuous improvement of the accuracy and speed of scanning equipment, large amounts of point clouds can be accurately acquired from object surfaces, often corresponding to hundreds of thousands of points in a single scene. This massive number of points also poses challenges to computer storage and transmission, making point compression a hot topic.
[0003] For the compression of point clouds, it is mainly necessary to compress its geometric information and attribute information. Specifically, the encoder first divides the geometric information of the point cloud into octrees, and then uses the entropy coding algorithm to entropy encode the geometric information expressed by the octree structure to obtain a geometric code stream. In addition, the encoder also needs to reconstruct the geometric information based on the geometric information expressed by the octree structure, and predict the attribute information of the current point based on the reconstructed geometric information, and obtain the residual of the current point by subtracting it from the original value of the attribute information, and then quantize the residual to obtain a quantized residual, and use the entropy coding algorithm to entropy encode the quantized residual to obtain an attribute code stream.
[0004] Correspondingly, the decoder adopts the method of decoding geometry and attributes separately. Specifically, the decoder first reconstructs the octree by performing arithmetic decoding on the geometric code stream of the point cloud, and then reconstructs the geometric information in the point cloud to obtain the reconstructed geometric information; then the coordinate transformation of the reconstructed geometric information is performed to obtain the final geometric information. In addition, the decoder also needs to obtain the residual value of the attribute information of the current point by parsing the attribute code stream; then, by dequantizing the residual value of the attribute information of the current point, the residual value of the attribute information of the dequantized point is obtained, and based on the geometric information reconstructed during the position decoding process, the attribute information of the current point is predicted to obtain the predicted value of the attribute information of the current point; then, based on the residual value of the dequantized attribute information of the current point and the predicted value of the attribute information of the current point, the reconstructed value of the attribute information of the current point is obtained, and the reconstructed value of the attribute information of the current point is performed by performing an inverse color space transformation on the reconstructed value of the attribute information of the current point to obtain the final attribute information.
[0005] It can be seen that the decoding process of the decoder needs to perform a lot of calculations, which is limited by the computing power of the decoder. When the computing requirements of the decoder exceed the computing power of the decoder, it will cause decoding errors in the decoder, which will in turn cause the decoder to be unable to reconstruct the point cloud, reducing the robustness and stability of the decoder and reducing the decoding performance.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a decoding method, an encoding method, a decoder and an encoder, which can not only ensure the robustness and stability of the codec, but also reduce the amount of calculation of the decoder during the decoding process and improve the decoding efficiency of the decoder, that is, can improve the decoding performance of the decoder.
[0008] In a first aspect, an embodiment of the present application provides a decoding method, comprising:
[0009] Decode or end decoding of first information of the current point cloud according to a first parameter; the first parameter represents a bit depth or a maximum bit depth of the first information.
[0010] In a second aspect, an embodiment of the present application provides an encoding method, including:
[0011] According to a first parameter, encoding or ending encoding of first information of the current point cloud is performed; the first parameter represents a bit depth or a maximum bit depth of the first information.
[0012] In a third aspect, an embodiment of the present application provides a decoder, including:
[0013] A decoding unit is configured to decode or end decoding of first information of a current point cloud according to a first parameter; the first parameter represents a bit depth or a maximum bit depth of the first information.
[0014] In a fourth aspect, an embodiment of the present application provides an encoder, including:
[0015] The encoding unit is used to encode or end encoding the first information of the current point cloud according to a first parameter; the first parameter represents the bit depth or maximum bit depth of the first information.
[0016] In a fifth aspect, an embodiment of the present application provides a decoder, including:
[0017] a processor adapted to implement computer instructions; and,
[0018] Computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are suitable for being loaded by a processor and executing the decoding method in the above-mentioned first aspect or its various implementations.
[0019] In one implementation, there are one or more processors and one or more memories.
[0020] In one implementation, the computer-readable storage medium may be integrated with the processor, or the computer-readable storage medium may be provided separately from the processor.
[0021] In a sixth aspect, an embodiment of the present application provides an encoder, including:
[0022] a processor adapted to implement computer instructions; and,
[0023] A computer-readable storage medium stores computer instructions, wherein the computer instructions are suitable for being loaded by a processor and executing the encoding method in the second aspect or its various implementations.
[0024] In one implementation, there are one or more processors and one or more memories.
[0025] In one implementation, the computer-readable storage medium may be integrated with the processor, or the computer-readable storage medium may be provided separately from the processor.
[0026] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are read and executed by a processor of a computer device, the computer device executes the decoding method involved in the first aspect or the encoding method involved in the second aspect.
[0027] In an eighth aspect, embodiments of the present application provide a computer program product or computer program, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the decoding method of the first aspect or the encoding method of the second aspect.
[0028] In a ninth aspect, an embodiment of the present application provides a code stream, which is the code stream involved in the method described in the first aspect or the code stream generated by the method described in the second aspect.
[0029] Based on the above technical solution, for the decoding method provided in the present application, the decoder decodes or ends decoding the first information of the current point cloud according to the first parameter, wherein the first parameter represents the bit depth or maximum bit depth of the first information, which is equivalent to that before the decoder decodes the first information, it needs to first determine whether to decode the first information based on the bit depth or maximum bit depth of the first information. This is conducive to avoiding the phenomenon that the decoder decodes incorrectly due to the computational requirements of the decoder when processing the first information exceeding the computational capacity of the decoder, thereby ensuring that the numerical bit depth will not exceed the bounds or the decoder will not be unable to process the information during decoding, which not only ensures the robustness and stability of the codec; but also enables the decoder to obtain first information with consistent bit depth, reduces the computational complexity of the decoder during the decoding process and improves the decoding efficiency of the decoder, that is, it can improve the decoding performance of the decoder. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] FIG1 is an example of a point cloud image provided by an embodiment of the present application.
[0031] FIG2 is a partially enlarged view of the point cloud image shown in FIG1 .
[0032] FIG3 is an example of a point cloud image with six viewing angles provided by an embodiment of the present application.
[0033] FIG4 is a schematic block diagram of a G-PCC coding framework provided in an embodiment of the present application.
[0034] FIG5 is a schematic block diagram of a G-PCC decoding framework provided in an embodiment of the present application.
[0035] FIG6 is a schematic diagram of reconstructing geometric information in a sub-block provided by an embodiment of the present application.
[0036] FIG7 is a schematic block diagram of an AVS PCC coding framework provided in an embodiment of the present application.
[0037] FIG8 is a schematic block diagram of an AVS PCC decoding framework provided in an embodiment of the present application.
[0038] FIG9 is an example of a reference node of a sub-node to be encoded currently provided in an embodiment of the present application.
[0039] FIG10 is an example of a reference neighbor node of a current node provided in an embodiment of the present application.
[0040] FIG11 is an example of six adjacent parent blocks of a current sub-block provided in an embodiment of the present application.
[0041] FIG12 is an example of 18 adjacent blocks of a current sub-block and the Morton sequence number of each adjacent block provided by an embodiment of the present application.
[0042] FIG13 is an example of a prediction tree provided in an embodiment of the present application.
[0043] FIG14 is a schematic flowchart of a decoding method provided in an embodiment of the present application.
[0044] FIG15 is a schematic flowchart of the encoding method provided in an embodiment of the present application.
[0045] FIG16 is a schematic flow chart of a decoder provided in an embodiment of the present application.
[0046] FIG17 is a schematic flow chart of the encoder provided in an embodiment of the present application.
[0047] FIG18 is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0049] A point cloud is a collection of irregularly distributed discrete points in space that represent the spatial structure and surface properties of a three-dimensional object or scene. Figures 1 and 2 show a 3D point cloud image and a zoomed-in view, respectively. The point cloud surface is composed of densely distributed points.
[0050] A two-dimensional image contains information at every pixel, so there's no need to record its location information separately. However, the distribution of points in a point cloud in three-dimensional space is random and irregular, so it's necessary to record the location of each point in space to fully represent a point cloud. Similar to a two-dimensional image, each point in a point cloud has corresponding attribute information, typically an RGB color value, which reflects the color of the object. For a point cloud, in addition to color, the attribute information corresponding to each point can also be a reflectance value, which reflects the surface material of the object. Each point in a point cloud can include both geometric and attribute information. The geometric information of each point in a point cloud refers to the Cartesian three-dimensional coordinate data of that point, and the attribute information of each point in a point cloud can include, but is not limited to, at least one of the following: color information, material information, and laser reflection intensity information. Color information can be information in any color space. For example, color information can be red, green, and blue (RGB) information. For another example, color information can also be luminance and chrominance (YCbCr, YUV) information. Here, Y represents brightness (Luma), Cb (U) represents the blue chromaticity component, and Cr (V) represents the red chromaticity component. Each point in a point cloud has the same amount of attribute information. For example, each point in a point cloud has two types of attribute information: color information and laser reflection intensity. Another example is that each point in a point cloud has three types of attribute information: color information, material information, and laser reflection intensity information.
[0051] Point cloud images can have multiple viewing angles. For example, the point cloud image shown in Figure 3 can have six viewing angles. The data storage format of the point cloud image consists of a file header information part and a data part. The header information includes the data format, data representation type, the total number of point cloud points, and the content represented by the point cloud.
[0052] For example, the data storage format of the point cloud image can be implemented in the following format:
[0053] ply
[0054] format ascii 1.0
[0055] element vertex 207242
[0056] property float x
[0057] property float y
[0058] property float z
[0059] property uchar red
[0060] property uchar green
[0061] property uchar blue
[0062] 75 318 0 0 142 0
[0063] 75 319 0 0 143 0
[0064] 75 319 1 1 9 9
[0065] 75 315 0 1 9 9.
[0066] The data storage format of the above point cloud image is ".ply" format, represented by ASCII code, with a total number of points of 207242, and each point has three-dimensional position information xyz and three-dimensional color information rgb.
[0067] Point clouds can flexibly and conveniently express the spatial structure and surface properties of three-dimensional objects or scenes. Moreover, since point clouds are obtained by directly sampling real objects, they can provide a strong sense of reality while ensuring accuracy. Therefore, they are widely used, including virtual reality games, computer-aided design, geographic information systems, automatic navigation systems, digital cultural heritage, free viewpoint broadcasting, three-dimensional immersive remote presentation, and three-dimensional reconstruction of biological tissues and organs.
[0068] For example, point clouds can be divided into two categories based on application scenarios: machine-perceived point clouds and human-perceived point clouds. Application scenarios for machine-perceived point clouds include, but are not limited to, autonomous navigation systems, real-time inspection systems, geographic information systems, visual sorting robots, and disaster relief robots. Application scenarios for human-perceived point clouds include, but are not limited to, digital cultural heritage, free-viewpoint broadcasting, 3D immersive communication, and 3D immersive interaction. Accordingly, point clouds can be divided into dense and sparse point clouds based on their acquisition method. They can also be divided into static and dynamic point clouds based on their acquisition approach. More specifically, point clouds can be divided into three types: first-class static point clouds, second-class dynamic point clouds, and third-class dynamically acquired point clouds. For the first-class static point clouds, the object is stationary and the device acquiring the point cloud is also stationary. For the second-class dynamic point clouds, the object is moving, but the device acquiring the point cloud is stationary. For the third-class dynamically acquired point clouds, the device acquiring the point cloud is moving.
[0069] Exemplarily, point cloud acquisition methods include, but are not limited to, computer generation, 3D laser scanning, and 3D photogrammetry. Computers can generate point clouds of virtual three-dimensional objects and scenes; 3D laser scanning can obtain point clouds of static real-world three-dimensional objects or scenes, and can obtain millions of point clouds per second; 3D photogrammetry can obtain point clouds of dynamic real-world three-dimensional objects or scenes, and can obtain tens of millions of point clouds per second. Specifically, point clouds on the surface of an object can be acquired through acquisition equipment such as photoelectric radars, lidars, laser scanners, and multi-view cameras. The point cloud obtained according to the principle of laser measurement may include the three-dimensional coordinate information of the point and the laser reflection intensity (reflectance) of the point. The point cloud obtained according to the principle of photogrammetry may include the three-dimensional coordinate information of the point and the color information of the point. The point cloud obtained by combining the principles of laser measurement and photogrammetry may include the three-dimensional coordinate information of the point, the laser reflection intensity (reflectance) of the point, and the color information of the point. These technologies reduce the cost and time cycle of point cloud data acquisition and improve the accuracy of the data. For example, in the medical field, magnetic resonance imaging (MRI), computed tomography (CT), and electromagnetic positioning information can be used to generate point clouds of biological tissues and organs. These technologies reduce the cost and time required to acquire point clouds, while improving data accuracy. While changes in point cloud data acquisition methods have made it possible to acquire large amounts of point cloud data, the processing of massive amounts of 3D point cloud data is facing bottlenecks due to storage space and transmission bandwidth limitations, as application demands grow.
[0070] Taking a point cloud video with a frame rate of 30 as an example, each frame contains 700,000 points. Each point in each point cloud frame has coordinate information (xyz, float) and color information (RGB, uchar). Therefore, the data volume of a 10-second point cloud video is approximately 0.7 million × (4 bytes × 3 + 1 byte × 3) × 30 fps × 10 seconds = 3.15 GB. For a 2D video with a resolution of 1280 × 720, a YUV sampling format of 4:2:0, and a frame rate of 24, the data volume per 10 seconds is approximately 1280 × 720 × 12 bits × 24 frames × 10 seconds, which is approximately 0.33 GB. A 10-second two-view 3D video has a data volume of approximately 0.33 × 2 = 0.66 GB. This shows that the data volume of a point cloud video far exceeds that of 2D and 3D videos of the same length. Therefore, in order to better realize data management, save server storage space, and reduce the transmission traffic and transmission time between the server and the client, point cloud compression has become a key issue in promoting the development of the point cloud industry.
[0071] Point cloud compression generally compresses point cloud geometry and attribute information separately. On the encoding side, the point cloud geometry is first encoded in the geometry encoder, and the reconstructed geometry is then fed into the attribute encoder as additional information to assist in attribute compression. On the decoding side, the point cloud geometry is first decoded in the geometry decoder, and the decoded geometry is then fed into the attribute decoder as additional information to assist in attribute compression. The entire codec consists of pre-processing / post-processing, geometry encoding / decoding, and attribute encoding / decoding.
[0072] Exemplarily, the point cloud can be encoded and decoded respectively by various types of encoding frameworks and decoding frameworks. As an example, the encoding and decoding framework can be the Geometry Point Cloud Compression (G-PCC) encoding and decoding framework or the Video Point Cloud Compression (V-PCC) encoding and decoding framework provided by the Moving Picture Experts Group (MPEG), or it can be the AVS-PCC encoding and decoding framework or the Point Cloud Compression Reference Platform (PCRM) framework provided by the Audio Video Standard (AVS) Task Force. The G-PCC encoding and decoding framework can be used to compress the first static point cloud and the third type of dynamically acquired point cloud, and the V-PCC encoding and decoding framework can be used to compress the second type of dynamic point cloud. The G-PCC encoding and decoding framework is also called the point cloud codec TMC13, and the V-PCC encoding and decoding framework is also called the point cloud codec TMC2. Both G-PCC and AVS-PCC can be used to compress static sparse point clouds, and their encoding frameworks are roughly the same.
[0073] The following describes the applicable coding and decoding frameworks using the G-PCC framework and the AVS PCC framework as examples.
[0074] FIG4 is a schematic block diagram of a G-PCC coding framework provided in an embodiment of the present application.
[0075] As shown in Figure 4, in the G-PCC coding framework, the input point cloud is first sliced, and then the resulting slices are independently encoded. Within the slices, the geometric information of the point cloud and the attribute information corresponding to the points in the point cloud are encoded separately.
[0076] For geometric information, the G-PCC encoding framework first performs coordinate transformation so that the entire point cloud is contained within a bounding box. Quantization then takes place. This quantization step primarily serves a scaling purpose. Due to quantization rounding, the geometric information of some points becomes identical. Parameters are used to determine whether to remove duplicate points. This process of quantization and removing duplicate points is known as voxelization. The encoder then performs octree partitioning or prediction tree-based geometric encoding on the points within the bounding box.
[0077] For octree partitioning, the encoding method of geometric information can be divided into octree-based geometric coding and triangle soup (trisoup)-based geometric coding, depending on the depth of the octree partitioning level. For octree-based geometric coding, the encoder first divides the bounding box into eight equal parts, namely eight sub-cubes, and records the placeholder bits of the sub-cubes (1 for non-empty, 0 for empty). The encoder continues to divide the non-empty sub-cubes into eight equal parts until the resulting leaf node is a 1×1×1 unit cube. The division stops and the corresponding binary arithmetic encoder is selected to perform arithmetic encoding on the placeholder codes of all nodes to implement context-based adaptive binary arithmetic coding (CABAC) and generate a binary bitstream. Secondly, in the case of geometric lossless coding, the encoder also needs to encode the number of points contained in the leaf nodes. For geometric coding based on triangle face sets, the encoder must also perform octree partitioning first. However, unlike geometric coding based on octrees, geometric coding based on triangle face sets does not need to divide the point cloud into unit cubes with a side length of 1×1×1 step by step. Instead, the division is stopped when the side length of the sub-block is W. Based on the surface formed by the distribution of the point cloud in each sub-block, the encoder obtains at most twelve intersections (vertex) generated by the surface and the twelve edges of the sub-block, and then encodes the coordinates of the intersection of each sub-block in turn to generate a binary code stream.
[0078] For prediction tree-based geometric coding, the encoder first constructs a prediction tree, and then traverses each node in the prediction tree based on the structure of the prediction tree, and predicts the geometric position information of the node by selecting different prediction modes to obtain a geometric prediction value; then, a geometric prediction residual is obtained based on the geometric prediction value and the geometric original value, and the geometric prediction residual is quantized using a quantization parameter to obtain a quantized geometric prediction residual. Finally, the quantized geometric prediction residual of the node in the prediction tree, the structure of the prediction tree, and the quantization parameters are encoded to generate a binary code stream.
[0079] After encoding the geometric information, the G-PCC coding framework reconstructs the geometry and uses the reconstructed geometry to encode the attribute information of the point cloud. Attribute encoding of the point cloud primarily encodes the color information of the points in the point cloud. First, the G-PCC coding framework can perform color space conversion on the color information of the points. For example, when the color information of the points in the input point cloud is represented in the RGB color space, the G-PCC coding framework can convert the color information from RGB to YUV. The G-PCC coding framework then uses the reconstructed geometry to recolor the point cloud, aligning the unencoded attribute information with the reconstructed geometry. Next, the attribute information corresponding to the reconstructed geometry is transformed. There are two main transformation methods: one relies on a distance-based lifting transform based on level of detail (LOD) partitioning, and the other directly performs a region-adaptive hierarchical transform (RAHT). Both methods transform the color information from the spatial domain to the frequency domain, obtaining high-frequency and low-frequency coefficients. Finally, these coefficients are quantized and encoded to generate a binary bitstream.
[0080] FIG5 is a schematic block diagram of a G-PCC decoding framework provided in an embodiment of the present application.
[0081] As shown in Figure 5, the G-PCC decoding framework can obtain the point cloud bitstream from the G-PCC encoding framework and parse the code to obtain the position and attribute information of the points in the point cloud. Point cloud decoding includes position decoding and attribute decoding. The position decoding process involves performing arithmetic decoding on the geometric bitstream and reconstructing an octree based on the decoded data to reconstruct the point position information and obtain the reconstructed point position information. The reconstructed point position information is then subjected to coordinate transformation to obtain the point position information. The point position information can also be referred to as the point's geometric information. The attribute decoding process involves parsing the attribute bitstream to obtain the residual value of the attribute information of the points in the point cloud. The residual value of the attribute information is then dequantized to obtain the dequantized residual value of the attribute information. Based on the reconstructed point position information obtained during the position decoding process, one of three prediction modes is selected for point cloud prediction to obtain the predicted attribute value of the point. The reconstructed attribute value of the point is then determined based on the dequantized residual value of the attribute information and the predicted attribute value. The reconstructed attribute value of the point is then subjected to an inverse color space transformation to obtain the decoded point cloud.
[0082] The general test conditions for G-PCC may include the following aspects:
[0083] 1) Test conditions, which include the following 4 types:
[0084] Condition 1: Geometric position lossless, attribute lossy;
[0085] Condition 2: Geometric position loss and attribute loss;
[0086] Condition 3: Geometric position and attribute lossless;
[0087] Condition 4: Geometric position is lossless, and attributes are lossy to a limited extent.
[0088] 2) General test sequence, which includes 6 categories: Solid, Dense, Sparse, Scant, Am-fused, and Am-frame. Among them, Am-frame point cloud only contains reflectance attribute information, Solid, Dense, Sparse, and Scant point clouds only contain color attribute information, and Am-fused point cloud can contain both color and reflectance attribute information.
[0089] 3) Technical route:
[0090] The MPEG G-PCC coding framework is distinguished by the algorithm used for geometric compression, which can be divided into the following two types:
[0091] Technical route 1: Geometric coding branch based on octree.
[0092] At the encoding end, the bounding box is divided into sub-cubes in sequence, and the non-empty sub-cubes (containing points in the point cloud) are divided again until the leaf node obtained is a 1×1×1 unit cube. In the case of geometric lossless coding, the number of points contained in the leaf node needs to be encoded, and finally the geometric octree encoding is completed to generate a binary code stream.
[0093] On the decoding side, the decoder obtains the placeholder code of each node by continuously parsing in the order of breadth-first traversal, and continuously divides the nodes in turn until a 1×1×1 unit cube is obtained. In the case of geometric lossless decoding, it is necessary to parse the number of points contained in each leaf node and finally recover the geometrically reconstructed point cloud information.
[0094] Technical route 2: Geometric coding branch based on prediction tree.
[0095] At the encoding end, the structure of the prediction tree is established by using two different methods, including: high-latency slow mode and low-latency fast mode. For example, the high-latency slow mode can be a structure based on a K-dimensional tree (KD-Tree). For the low-latency fast mode, the encoder can use the calibration information of the lidar to divide each point of the input point cloud into different lasers (Laser), and establish a prediction structure according to different lasers (i.e., low-latency fast mode). Then, based on the structure of the prediction tree, the encoder traverses each node in the prediction tree, and predicts the geometric position information of the current node by selecting different prediction modes to obtain a geometric prediction value; then, based on the geometric prediction value and the geometric original value, a geometric prediction residual is obtained, and the geometric prediction residual is quantized using a quantization parameter to obtain a quantized geometric prediction residual. Finally, the quantized geometric prediction residual of the node in the prediction tree, the structure of the prediction tree, and the quantization parameter are encoded to generate a binary code stream.
[0096] At the decoding end, the decoding end reconstructs the structure of the prediction tree by continuously parsing the bit stream. Secondly, the geometric prediction residual and quantization parameters of each node are obtained through parsing, and the geometric prediction residual is dequantized to restore the reconstructed geometric position information of each node, and finally the geometric reconstruction of the decoding end is completed.
[0097] The attribute coding framework of MPEG G-PCC is distinguished by the algorithm used for attribute compression, which can be divided into the following three types:
[0098] Technical Route 1: Predicting (Pred) branch, only for conditions 3 and 4.
[0099] At the encoding end, the prediction method of the prediction branch is used to obtain the attribute residual coefficients, and the attribute residual coefficients are entropy coded.
[0100] At the decoding end, entropy decoding obtains the attribute residual coefficients, and the prediction method of the prediction branch is used to restore the original values.
[0101] Technical route 2: Predicting lifting transform (PredLift) branch, only for conditions 1 and 2.
[0102] At the encoding end, the attribute transformation coefficients are obtained by using the prediction lifting transformation branch method, and the attribute transformation coefficients are entropy coded.
[0103] At the decoding end, entropy decoding obtains the attribute transformation coefficients, and the prediction lifting transformation branch method is used to restore the original value.
[0104] Technical route 3: Region Adaptive Hierarchal Transform (RAHT) branch, only for conditions 1 and 2.
[0105] At the encoding end, the attribute transformation coefficients are obtained using the RAHT branch method, and entropy coding is performed on the attribute transformation coefficients.
[0106] At the decoding end, entropy decoding is used to obtain the attribute transformation coefficients, and the RAHT branch method is used to restore the original values.
[0107] For the attribute residual coefficients (attribute residual coefficients generated by using prediction branch encoding) or attribute transform coefficients (attribute transform coefficients generated by using prediction lifting transform branch or RAHT branch encoding) generated by the above technical route, attribute entropy encoding and decoding are performed.
[0108] The following describes the encoding and decoding process of geometric information with reference to the accompanying drawings:
[0109] (1) Geometric encoding and decoding based on octree.
[0110] The geometric encoding process based on octree is as follows:
[0111] First, the encoder performs coordinate transformation on the geometric information so that all point clouds are contained in a bounding box; then quantization is performed. This step of quantization mainly plays a role of scaling. Due to the quantization rounding, the geometric information of some points is the same. The parameters are used to decide whether to remove duplicate points. The process of quantization and removal of duplicate points is also called voxelization. Next, the bounding box is continuously divided into trees (such as octree and / or quadtree and / or binary tree division) in the order of breadth-first traversal, and the placeholder code of each node is encoded. As a possible division method, the bounding box of the point cloud (2 dx ,2 dy ,2 dz ,), assuming d x >d y >d z , that is, the bounding box corresponds to a cuboid. When geometrically partitioning, the binary tree partitioning will be performed based on the x-axis to obtain two child nodes; until d is satisfied x =d y >d z When the conditions are met, the quadtree partitioning will be performed based on the x and y axes to obtain four child nodes; when d is finally satisfied x =d y =d zWhen the conditions are met, the octree partitioning will continue until the leaf node obtained by the partitioning is a 1×1×1 unit cube, and the partitioning will be stopped. The points in the leaf node are encoded to generate a binary code stream. In the process of tree partitioning (such as octree and / or quadtree and / or binary tree partitioning), two parameters are introduced: K and M. Among them, the parameter K indicates the maximum number of binary tree and / or quadtree partitions before the octree partitioning; the parameter M is used to indicate that the minimum block side length corresponding to the binary tree and / or quadtree partitioning is 2 M . Optionally, assume d max =max(d x ,d y ,d z ),d min =min(d x ,d y ,d z ), parameter K satisfies: K ≥ d max -d min ; Parameter M satisfies: M≥d min The reason why parameters K and M need to meet the above conditions is that in the process of geometric implicit partitioning of G-PCC, the priority of the partitioning method is binary tree, quadtree and octree. When the node block size does not meet the conditions of binary tree and quadtree, the node will be partitioned into octree until the minimum unit of leaf node is 1×1×1. However, the geometric information coding mode based on octree has an efficient compression rate only for points with correlation in space. For points in isolated positions in geometric space, the use of direct coding mode (DCM) coding can greatly reduce the complexity.
[0112] For all nodes in the octree, the use of DCM is not indicated by flag information, but is inferred from the parent node and neighbor information of the current node.
[0113] There are two ways to determine whether the current node is eligible for DCM encoding:
[0114] 1. The current node has only one occupied child node, and the parent node of the current node has only two occupied child nodes, that is, the current node has at most one neighbor node.
[0115] 2. The parent node of the current node has only one occupied child node, the current node, and the six neighbor nodes that share a face with the current node are also empty nodes.
[0116] If the current node does not have the DCM encoding qualification, the encoder will perform octree division on it. If the current node has the DCM encoding qualification, the encoder will further determine the number of points contained in the current node. When the number of points is less than the threshold (for example, 2), the current node will be DCM-encoded, otherwise the octree division will continue. When the DCM encoding mode is applied to the current node, the geometric coordinates X, Y, and Z components of the points contained in the current node will be directly encoded independently. When the side length of a node is 2 d When , d bits are required to encode each component of the node's geometric coordinates, and this bit information is directly encoded into the bit stream.
[0117] It's important to note that when partitioning nodes into leaf nodes, in the case of lossless geometric coding, the number of duplicate points in the leaf nodes must be encoded, along with the placeholders for all nodes, to generate a binary bitstream. Furthermore, G-PCC currently introduces a plane coding mode. During the geometric partitioning process, it determines whether the child nodes of the current node are in the same plane. If so, the child nodes of the current node are represented using that plane.
[0118] The geometric decoding process based on octree is as follows:
[0119] The decoding end first obtains the placeholder code of each node by continuously parsing in the order of breadth-first traversal, and then continuously divides the nodes in sequence until a 1×1×1 unit cube is obtained. The division stops and the number of points contained in each leaf node is parsed, and finally the geometric reconstructed point cloud information is restored.
[0120] (2) Geometric encoding and decoding based on triangle soup (trisoup).
[0121] The geometric encoding process based on the triangle face set is as follows:
[0122] As mentioned above, for geometric coding based on triangle face sets, geometric division must also be performed first. However, unlike geometric information coding based on tree division (such as octree and / or quadtree and / or binary tree division), this method does not need to divide the point cloud into unit cubes with a side length of 1×1×1 step by step. Instead, the division is stopped when the side length of the sub-block is W. Based on the surface formed by the distribution of the point cloud in each sub-block, at most twelve intersections (vertex) generated by the surface and the twelve edges of the sub-block are obtained, and then the coordinates of the intersection of each sub-block are encoded in turn to generate a binary code stream.
[0123] The geometric decoding process based on the triangle face set is as follows:
[0124] When the decoding end reconstructs the point cloud geometry information, it first decodes the coordinates of the intersection points in the current sub-block to complete the reconstruction of the triangular face set; then, the decoder samples the reconstructed triangular face set and uses the obtained sampling points as the reconstructed point cloud in the current sub-block.
[0125] FIG6 is a schematic diagram of reconstructing geometric information in a sub-block provided by an embodiment of the present application.
[0126] As shown in (a) of Figure 6, assuming that the decoder obtains the intersection points v1, v2, and v3 in the current sub-block by decoding the bitstream, the decoder can use these three intersection points to construct a triangle soup (trisoup) in a certain order. For example, the constructed triangle soup is shown in (b) of Figure 6; the decoder samples the triangle soup to obtain the six sampling points shown in Figure 6(c), and uses them as the reconstructed point cloud in the current sub-block.
[0127] (3) Geometric encoding and decoding based on prediction tree.
[0128] The geometric encoding process based on the prediction tree is as follows:
[0129] First, the encoder sorts the input point cloud. For example, the sorting methods used include unordered, Morton order, azimuth order, and radial distance order. At the encoding end, the prediction tree structure is established using two different methods: a high-latency slow mode and a low-latency fast mode. For example, the high-latency slow mode can be based on a K-dimensional tree (KD-Tree) structure. For the low-latency fast mode, the encoder can use lidar calibration information to divide each point in the input point cloud onto different lasers and establish a prediction structure based on these lasers (i.e., low-latency fast mode). Then, based on the prediction tree structure, the encoder traverses each node in the prediction tree and predicts the geometric position information of the current node by selecting different prediction modes to obtain a geometric prediction value. A geometric prediction residual is then obtained based on the geometric prediction value and the original geometric value. The geometric prediction residual is quantized using a quantization parameter to obtain a quantized geometric prediction residual. This encoding of the quantized geometric prediction residuals of the nodes in the prediction tree, the prediction tree structure, and the quantization parameters is then performed to generate a binary bitstream.
[0130] The geometric decoding process based on the prediction tree is as follows:
[0131] The decoder is based on geometric decoding of the prediction tree. The decoding end reconstructs the structure of the prediction tree by continuously parsing the bitstream. Secondly, the geometric prediction residual and quantization parameters of the geometric position information of each prediction node are obtained through parsing, and the geometric prediction residual is dequantized to restore the reconstructed geometric position information of each node, and finally the geometric reconstruction of the decoding end is completed. After the decoder completes the geometric encoding, the geometric information is reconstructed and the reconstructed geometric information is used to predict the attribute information. Specifically, the decoder can use the Morton code of the current point in the point cloud to perform a nearest neighbor search. The Morton code of the current point can be determined by the geometric coordinates of the current point. The decoder can obtain the d-bit binary number of each component of the geometric coordinates of the current point by decoding the bitstream, and then determine the corresponding component based on the d-bit binary number of each component.
[0132] If the geometric coordinates of the current point are three-dimensional coordinates, the components can be determined by the following formula:
[0133] Among them, x i ,y i , z i ∈{0,1}, which represents the binary value corresponding to the i-th bit of the d-bit binary number of x, y, and z respectively, for example, when i=1, it is the most significant bit, and when i=d, it is the least significant bit.
[0134] The Morton code M can be x, y, z starting from the highest bit, and arranged in sequence. i ,y i , z i To the lowest bit, the calculation formula of M is as follows:
[0135] Among them, m j ∈{0,1}, which represents the binary value corresponding to the jth bit of M, for example, when j=1, it is the highest bit, and when j=3d, it is the lowest bit.
[0136] After obtaining the Morton code for each point in the point cloud, the decoder arranges the points in the point cloud in ascending order of their Morton codes and determines the weight of each point, for example, setting the weight of each point to 1. Based on this, the decoder can perform a nearest neighbor search for the current point based on the Morton code of the point in the point cloud, obtain one or more nearest neighbor points, and predict the attribute information of the current point based on the attribute reconstruction values of the one or more nearest neighbor points and the Morton code of the one or more nearest neighbor points.
[0137] FIG6 is a schematic block diagram of an AVS PCC coding framework provided in an embodiment of the present application.
[0138] As shown in Figure 6, in the point cloud AVS PCC encoder framework, the geometric information of the point cloud and the attribute information corresponding to each point are encoded separately.
[0139] In the geometric encoding part of the encoding end, first, the original geometric information is preprocessed. Specifically, the geometric information is coordinate transformed (i.e., coordinate translated) so that all point clouds are contained in a bounding box. The preprocessing process can also include quantization and removal of duplicate points. Quantization mainly plays a role in scaling. Due to the quantization rounding, the geometric information of some points is the same. At this time, it can be decided whether to remove duplicate points based on the input parameters or preset parameters. Before the preprocessing process, the encoder can also decide whether to divide the entire point cloud sequence into multiple point cloud slices (slices) based on the parameter configuration, and treat each divided point cloud slice as a single independent point cloud serial processing. Next, the encoder can perform geometric encoding on the points in the bounding box to generate a binary code stream.
[0140] The geometric encoding method may include octree geometry encoding (OctGeomEnc) or predictive geometry coding (PredGeomTree).
[0141] For octree coding, the encoder first divides the bounding box into eight equal parts, that is, 8 sub-cubes, and records the placeholder bits of the sub-cubes (1 for non-empty, 0 for empty), and continues to divide the non-empty (containing points in the point cloud) sub-cubes (for example, octree and / or quadtree and / or binary tree division) until the leaf node obtained by division is a 1×1×1 unit cube. The division is stopped and the corresponding binary arithmetic encoder is selected to arithmetically encode the placeholder codes of all nodes to implement context-based adaptive binary arithmetic coding (CABAC) and generate a binary code stream; secondly, in the case of geometric lossless coding, the encoder also needs to encode the number of points contained in the leaf node to generate a binary code stream.
[0142] For prediction tree coding, the encoder first uses the geometric information of the point cloud to perform Morton code sorting, and then uses the K-dimensional tree (KD-Tree) to predict the geometric information of the point cloud. Specifically, the encoder can predict the geometric information of the child nodes by using the parent node, that is, except for the root node which is predicted by the default value, the other nodes are provided with geometric prediction values by their parent nodes; then, the geometric prediction residual is obtained based on the geometric prediction value and the geometric original value, and the geometric prediction residual is quantized using the quantization parameter to obtain the quantized geometric prediction residual. Finally, the quantized geometric prediction residual of the nodes in the prediction tree, the structure of the prediction tree, and the quantization parameters are encoded to generate a binary code stream.
[0143] In the attribute encoding phase, a decision is first made as to whether to perform color space conversion. If the attribute information being processed is color information, the original color space needs to be converted to a YUV color space that better matches the human visual characteristics. In the case of lossy geometry encoding, since the geometric information changes after geometry encoding, attribute values need to be reassigned to each point after geometry encoding to minimize the attribute error between the reconstructed point cloud and the original point cloud. This process is called attribute interpolation or attribute recoloring. Next, attribute encoding is performed on the preprocessed attribute information. Attribute encoding consists of two modules: attribute prediction and attribute transformation. The attribute prediction process is as follows: first, the point cloud is reordered, followed by differential prediction. Two reordering methods are available: Morton reordering and Hilbert reordering. Hilbert reordering is performed for the cat1A and cat2 sequences, while Morton reordering is performed for the cat1B and cat3 sequences. Attribute prediction is performed on the sorted point cloud using a differential method. Finally, the prediction residual is quantized and entropy coded to generate a binary bitstream. 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 through 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 coefficients and attribute residuals are entropy coded to generate a binary code stream.
[0144] FIG7 is a schematic block diagram of an AVS PCC decoding framework provided in an embodiment of the present application.
[0145] As shown in Figure 7, the decoder also uses a separate decoding approach for geometry and attributes. In the geometry decoding phase, the decoder, following a breadth-first traversal, continuously parses each node to obtain a placeholder code. The nodes are then partitioned until a 1×1×1 unit cube is obtained. The number of points contained in each leaf node is then determined, ultimately recovering the geometric reconstruction information of the point cloud. Combined with the geometric reconstruction information, the coordinates of the geometric reconstruction information are dequantized and detranslated to obtain the decoded geometry information, which is then input into the attribute decoder as additional information. In the attribute decoding phase, the Morton sequence is constructed in the same manner as the encoder. The attribute bitstream is entropy decoded to obtain the quantized residual information. This is then dequantized to obtain the point cloud residual. Similarly, the attribute prediction value of the current point to be decoded is obtained in the same manner as for attribute encoding. The attribute prediction value is then added to the residual value to recover the YUV attribute value of the current point to be decoded. Finally, the decoded attribute information is obtained through an inverse color space transform.
[0146] The general test conditions of AVS PCC may include the following aspects:
[0147] 1) Test conditions, which include the following 4 types:
[0148] Condition 1: Geometric position is lossy to a limited extent and attributes are lossy.
[0149] Condition 2: Geometric position lossless, attribute lossy.
[0150] Condition 3: Geometric position is lossless, and attributes are limitedly lossy.
[0151] Condition 4: Geometric position and attributes are lossless.
[0152] 2) General test sequence, which includes five categories: Cat1A, Cat1B, Cat1C, Cat2-frame and Cat3. Among them, Cat1A and Cat2-frame point clouds only contain reflectivity attribute information, Cat1B and Cat3 point clouds only contain color attribute information, and Cat1B point cloud contains color and reflectivity attribute information.
[0153] 3) Technical route:
[0154] The AVS PCC coding framework is distinguished by the algorithm used for geometric compression, which can be divided into the following two types:
[0155] Technical route 1: Octree geometry encoding (OctGeomEnc) branch.
[0156] At the encoding end, the bounding box is divided into sub-cubes in sequence, and the non-empty sub-cubes (containing points in the point cloud) are divided again until the leaf node obtained is a 1×1×1 unit cube. In the case of geometric lossless coding, the number of points contained in the leaf node needs to be encoded, and finally the geometric octree encoding is completed to generate a binary code stream.
[0157] On the decoding side, the decoder obtains the placeholder code of each node by continuously parsing in the order of breadth-first traversal, and continuously divides the nodes in turn until a 1×1×1 unit cube is obtained. In the case of geometric lossless decoding, it is necessary to parse the number of points contained in each leaf node and finally recover the geometrically reconstructed point cloud information.
[0158] Technical route 2: Predictive geometry coding (PredGeomTree) branch.
[0159] At the encoding end, the geometric information of the point cloud is first used to perform Morton code sorting, and then the geometric information of the point cloud is predictively encoded using a K-dimensional tree (KD-Tree). Specifically, the encoder can predict the geometric information of the child nodes by using the parent node, that is, except for the root node which is predicted by the default value, the other nodes are provided with geometric prediction values by their parent nodes; then, the geometric prediction residual is obtained based on the geometric prediction value and the geometric original value, and the geometric prediction residual is quantized using the quantization parameter to obtain the quantized geometric prediction residual. Finally, the quantized geometric prediction residual of the nodes in the prediction tree, the structure of the prediction tree, and the quantization parameters are encoded to generate a binary code stream.
[0160] At the decoding end, the decoding end reconstructs the structure of the prediction tree by continuously parsing the bit stream. Secondly, the geometric prediction residual and quantization parameters of each node are obtained through parsing, and the geometric prediction residual is dequantized to restore the reconstructed geometric position information of each node, and finally the geometric reconstruction of the decoding end is completed.
[0161] When the AVS PCC encoding framework compresses the attribute information of the point cloud, it can be divided into the following three technical routes based on the algorithm used:
[0162] Technical route 1: Prediction branch.
[0163] For technical route 1, its attribute compression adopts a method based on intra-frame prediction.
[0164] At the encoding end, the points in the point cloud are processed in a certain order (the original acquisition order of the point cloud, the Morton order, the Hilbert order, etc.). First, the prediction algorithm is used to obtain the attribute prediction value. The attribute residual is obtained based on the attribute value and the attribute prediction value. Then, the attribute residual is quantized to generate the quantized residual. Finally, the quantized residual is encoded.
[0165] At the decoding end, the points in the point cloud are processed in a certain order (the original acquisition order of the point cloud, Morton order, Hilbert order, etc.). First, the prediction algorithm is used to obtain the attribute prediction value, then the decoding is performed to obtain the quantized residual, and then the quantized residual is dequantized. Finally, the attribute reconstruction value is obtained based on the attribute prediction value and the dequantized residual.
[0166] Technical route 2: Predicting and transform (Predtrans) branch with limited resources.
[0167] For technical route 2, its attribute compression adopts a method based on intra-frame prediction and DCT transformation. When encoding or decoding the quantized transform coefficients, there is a maximum point number X (such as 4096), that is, at most every X points can be encoded as a group.
[0168] At the encoding end, the points in the point cloud are processed in a certain order (the original acquisition order of the point cloud, Morton order, Hilbert order, etc.). First, the entire point cloud is divided into several small groups with a maximum length of Y (such as 2), and then these small groups are combined into several large groups (the number of points in each large group does not exceed X, such as 4096). Then, a prediction algorithm is used to obtain the attribute prediction value, and the attribute residual is obtained based on the attribute value and the attribute prediction value. The attribute residual is transformed by DCT in small groups to generate transformation coefficients, and then the transformation coefficients are quantized to generate quantized transformation coefficients. Finally, the quantized transformation coefficients are encoded in large groups.
[0169] At the decoding end, the points in the point cloud are processed in a certain order (the original acquisition order of the point cloud, Morton order, Hilbert order, etc.). First, the entire point cloud is divided into several small groups with a maximum length of Y (such as 2). Then these small groups are combined into several large groups (the number of points in each large group does not exceed X, such as 4096). The quantized transform coefficients are decoded in large groups, and then the prediction algorithm is used to obtain the attribute prediction value. The quantized transform coefficients are then dequantized and inversely transformed in small groups. Finally, the attribute reconstruction value is obtained based on the attribute prediction value and the dequantized and inversely transformed coefficients.
[0170] Technical route 3: Predicting and transform (Predtrans) branch with unlimited resources.
[0171] For technical route 3, its attribute compression adopts a method based on intra-frame prediction and DCT transformation. When encoding or decoding the quantized transformation coefficients, there is no limit on the maximum number of points X, that is, all coefficients are encoded together.
[0172] At the encoding end, the points in the point cloud are processed in a certain order (the original acquisition order of the point cloud, Morton order, Hilbert order, etc.). First, the entire point cloud is divided into several small groups with a maximum length of Y (such as 2). Then, the prediction algorithm is used to obtain the attribute prediction value. The attribute residual is obtained based on the attribute value and the attribute prediction value. The attribute residual is transformed by DCT in groups to generate transformation coefficients. The transformation coefficients are then quantized to generate quantized transformation coefficients. Finally, the quantized transformation coefficients of the entire point cloud are encoded.
[0173] At the decoding end, the points in the point cloud are processed in a certain order (the original acquisition order of the point cloud, Morton order, Hilbert order, etc.). First, the entire point cloud is divided into several small groups with a maximum length of Y (such as 2). The quantized transformation coefficients of the entire point cloud are obtained by decoding, and then the prediction algorithm is used to obtain the attribute prediction value. The quantized transformation coefficients are then dequantized and inversely transformed in groups. Finally, the attribute reconstruction value is obtained based on the attribute prediction value and the dequantized and inversely transformed coefficients.
[0174] Technical route 4: Multi-layer transformation (Trans) branch.
[0175] For technical route 4, its attribute compression adopts a method based on multi-layer wavelet transform.
[0176] At the encoding end, multi-layer wavelet transform is performed on the entire point cloud to generate transform coefficients, which are then quantized to generate quantized transform coefficients. Finally, the quantized transform coefficients of the entire point cloud are encoded.
[0177] At the decoding end, decoding obtains the quantized transform coefficients of the entire point cloud, and then dequantizes and inversely transforms the quantized transform coefficients to obtain attribute reconstruction values.
[0178] The following describes the encoding and decoding process of geometric information with reference to the accompanying drawings:
[0179] If the encoder uses octree encoding, there are context model 1 and context model 2, where context model 1 is used for cat1-A and cat2 point cloud sequences; context model 2 is used for cat1-B and cat3 sequences. Context model 1 and context model 2 are explained below.
[0180] (1) Context model 1.
[0181] When the encoder uses context model 1 for octree encoding, it needs to perform sub-layer neighbor prediction of the current point and neighbor prediction of the current point layer.
[0182] 1. Prediction of sub-layer neighbors of the current point.
[0183] Under the octree breadth-first traversal partitioning method, the neighbor information (i.e., the sub-layer neighbors of the current point) that can be obtained when encoding the child node of the current point (also called the current child node to be encoded) includes neighbor child nodes in the left, front, and bottom directions (also called reference nodes of the current child node to be encoded). That is, for the child node to be encoded, the reference node of the current child node to be encoded may include the following child nodes: in the left, front, and bottom directions of the same layer as the child node to be encoded, search for the occupancy of the three coplanar nodes, three colinear nodes, and one co-point node of the child node to be encoded, and the node at a distance of two node side lengths from the current child node to be encoded in the negative direction of the dimension with the shortest side length of the current child node to be encoded.
[0184] Figure 9 is an example of a reference node for a sub-node to be encoded, provided by an embodiment of the present application, wherein the node in the dotted box is the current node, the gray node is the sub-node to be encoded, and the node in the solid box is the reference node selected by each sub-node.
[0185] As shown in Figure 9, taking the shortest node side length in the x dimension as an example, there are 8 situations for the position of the current sub-node to be encoded in the current node, that is, the reference node of the current sub-node to be encoded may include 8 situations. Specifically, as shown in (a) in Figure 9, the left, front, and bottom surfaces of the current sub-node to be encoded are respectively located in the left, front, and bottom surfaces of the current node; as shown in (b) in Figure 9, the left, back, and bottom surfaces of the current sub-node to be encoded are respectively located in the left, back, and bottom surfaces of the current node; as shown in (c) in Figure 9, the left, front, and top surfaces of the current sub-node to be encoded are respectively located in the left, front, and top surfaces of the current node; as shown in (d) in Figure 9, the left, back, and top surfaces of the current sub-node to be encoded are respectively located in the left, back, and top surfaces of the current node. 9; as shown in (e) in FIG9 , the right, front and lower surfaces of the current subnode to be encoded are respectively located within the right, front and lower surfaces of the current node; as shown in (f) in FIG9 , the right, rear and lower surfaces of the current subnode to be encoded are respectively located within the right, rear and lower surfaces of the current node; as shown in (g) in FIG9 , the right, front and upper surfaces of the current subnode to be encoded are respectively located within the right, front and upper surfaces of the current node; as shown in (h) in FIG9 , the right, rear and upper surfaces of the current subnode to be encoded are respectively located within the right, rear and upper surfaces of the current node.
[0186] For the reference node of the current child node to be encoded, the context can be determined by following the steps below:
[0187] In the left, front, and bottom directions of the same layer as the sub-node to be encoded, for the 3 coplanar nodes, 3 collinear nodes, and the node at the negative direction of the shortest side length of the sub-node to be encoded, which is two node side lengths away from the sub-node to be encoded, there are 2 occupancy cases of these 7 nodes. 7 = 128 cases. If these 7 nodes are not all unoccupied (ie, there are occupied nodes), there are 2 7 -1 = 127 possible cases, with one context allocated for each. If all seven nodes are unoccupied, the occupancy of the co-located neighboring nodes of the current sub-node to be encoded is considered. Since co-located neighboring nodes can be either occupied or unoccupied, a separate context can be allocated for the occupied co-located neighboring node. If this co-located neighbor is also unoccupied, the occupancy of the current node's layer neighbors is considered. Thus, for the current sub-node to be encoded, the context corresponding to its reference node includes 127 + 2 - 1 = 128 contexts.
[0188] 2. Neighbor prediction of the current node layer.
[0189] If the eight reference nodes of the same layer of the current subnode to be encoded (ie, the reference nodes of the current subnode to be encoded) are not occupied, the occupancy of the neighboring nodes of the current node (ie, the reference nodes of the current node) is considered.
[0190] FIG10 is an example of a reference neighbor node of a current node provided by an embodiment of the present application, wherein the node in the dotted frame is the current node, and the node in the solid frame is the reference node.
[0191] As shown in Figure 10, the reference nodes of the current node may include four situations, corresponding to four groups of reference nodes. Specifically, as shown in (a) in Figure 10, one group of reference nodes in the four groups of reference nodes includes three coplanar nodes in the right, upper and rear directions of the current node. As shown in (b) in Figure 10, another group of reference nodes in the four groups of reference nodes includes three coplanar nodes in the left, front and lower directions of the current node. As shown in (c) in Figure 10, another group of reference nodes in the four groups of reference nodes includes three collinear nodes in the right, upper and rear directions of the current node. As shown in (d) in Figure 10, another group of reference nodes in the four groups of reference nodes includes three collinear nodes in the left, front and lower directions of the current node.
[0192] For the current node layer, the context can be determined as follows:
[0193] Method 1: Consider the three coplanar neighbor nodes to the right, above, and behind the current node. The occupancy of these three neighbor nodes is 2 3= 8 possibilities. Each context is assigned to a context if all nodes are not occupied. Considering that the child node to be encoded is located at the current node, there are (8-1) × 8 = 56 contexts provided for the reference nodes of the current node layer. If the three coplanar neighboring nodes to the right, above, and behind the current point are not occupied, then the remaining three groups of reference nodes in the current node layer are considered.
[0194] Method 2: Consider the distance between the most recently occupied node and the current node. Specifically, the corresponding relationship between neighbor node distribution and distance is shown in Table 1.
[0195] Table 1
[0196] As shown in Table 1, the distance has three possible values. One context is assigned to each of these three values. Considering the position of the child node to be encoded within the current node, there are a total of 3 × 8 = 24 contexts.
[0197] In summary, the total number of candidate contexts for context model 1 is 128+56+24=208.
[0198] (2) Context model 2.
[0199] Context model 2 is configured using a two-layer context reference relationship, where the first layer is the occupancy of the coded neighboring blocks of the parent node of the current sub-block to be encoded (i.e., ctxIdxParent), and the second layer is the occupancy of the adjacent coded blocks at the same depth as the current sub-block to be encoded (i.e., ctxIdxChild). For example, context model 2 can be configured using the formula idx = LUT[ctxIdxParent][ctxIdxChild], where LUT refers to the display lookup table (Look-Up-Table).
[0200] For each sub-block to be encoded, the ctxIdxChild of the second layer can be determined by the following formula:
[0201] Among them, C i 1 Indicates the occupancy of the i-th coded sub-block among the three coded sub-blocks whose distance from the current sub-block to be coded is 1.
[0202] For the first layer's ctxIdxParent, the encoder can find the adjacent parent blocks that are coplanar and colinear with the sub-blocks by looking up the table based on the relative positions of the sub-blocks, and determine ctxIdxParent based on their occupancy. For example, ctxIdxParent can be determined based on the permutations and combinations of the occupancy of the three coplanar parent blocks of the current sub-block to be encoded and the sum of the number of occupancy of the three colinear parent blocks. For example, ctxIdxParent can be determined based on the following formula:
[0203] Among them, P i,j Indicates the occupancy of the jth collinear parent block of the i-th child block.
[0204] Figure 11 is an example of six adjacent parent blocks of the current sub-block provided by an embodiment of the present application, wherein the dark gray block is the current sub-block, the light gray block is the parent block of the current sub-block, and the white block is the adjacent parent block of the current sub-block.
[0205] As shown in Figure 11, the relative position relationship between the i-th child block and the six adjacent parent blocks, including three coplanar parent blocks (P i,0 ,P i,1 ,P i,2 ) and 3 collinear parent blocks (P i,3 ,P i,4 ,P i,5 ). Specifically, there are 8 situations for the position of the i-th sub-block in the parent block of the i-th sub-block, that is, the 6 adjacent parent blocks of the current sub-block may include 8 situations. Specifically, as shown in (a) in Figure 11, when i=0, the right, front and upper surfaces of the current sub-block are respectively located in the right, front and upper surfaces of the parent block of the current sub-block; as shown in (b) in Figure 11, when i=1, the right, front and lower surfaces of the current sub-block are respectively located in the right, front and lower surfaces of the parent block of the current sub-block; as shown in (c) in Figure 11, when i=2, the right, back and upper surfaces of the current sub-block are respectively located in the right, back and upper surfaces of the parent block of the current sub-block; as shown in (d) in Figure 11, when i=3, the right, back and lower surfaces of the current sub-block are respectively located in the right, back and lower surfaces of the parent block of the current sub-block. 11; as shown in (e) in FIG11, when i=4, the left, front and upper surfaces of the current sub-block are respectively located within the left, front and upper surfaces of the parent block of the current sub-block; as shown in (f) in FIG11, when i=5, the left, front and lower surfaces of the current sub-block are respectively located within the left, front and lower surfaces of the parent block of the current sub-block; as shown in (g) in FIG11, when i=6, the left, back and upper surfaces of the current sub-block are respectively located within the left, back and upper surfaces of the parent block of the current sub-block; as shown in (h) in FIG11, when i=7, the left, back and lower surfaces of the current sub-block are respectively located within the left, back and lower surfaces of the parent block of the current sub-block.
[0206] The positional relationship between each sub-block and its adjacent parent block can be obtained by looking up a table. For example, the relationship between sub-block i and its adjacent parent block j can be obtained from Table 2. The numbers in the table represent the Morton order, which takes into account the different sub-block positions and the central rotational symmetry in geometry.
[0207] Table 2
[0208] As shown in Table 2, when i and j are determined, the adjacent parent blocks of the sub-block can be determined. For example, taking i = 0, the coplanar parent blocks of the 0th sub-block include blocks with Morton sequence numbers 4, 10, and 12, and the colinear parent blocks of the 0th sub-block are blocks with Morton sequence numbers 1, 3, and 9.
[0209] FIG12 is an example of 18 adjacent blocks of a current sub-block and the Morton sequence number of each adjacent block provided by an embodiment of the present application.
[0210] As shown in Figure 12(a), centered around the current block, there are 18 neighboring blocks. This ensures the receptive field of the current block, meaning it can utilize up to 18 neighboring encoded parent blocks. As shown in Figure 12(b), the Morton sequence numbers of these 18 neighboring blocks can be determined from Table 2. The Morton sequence number for the current block is 13.
[0211] From the above, we can see that the maximum number of candidates for context model 2 is 2 3 ×2 5 =256.
[0212] When the encoder uses prediction tree encoding, it can first use the geometric information of the point cloud to perform Morton code sorting, and then use the K-dimensional tree (KD-Tree) to predict the geometric information of the point cloud. Specifically, the encoder can predict the geometric information of the child nodes by using the parent node. That is, except for the root node, which is predicted by the default value, the other nodes are provided with geometric prediction values by their parent nodes; then, based on the geometric prediction value and the original geometric value, the geometric prediction residual is obtained, and the geometric prediction residual is quantized using the quantization parameter to obtain the quantized geometric prediction residual. Finally, the quantized geometric prediction residual of the nodes in the prediction tree, the structure of the prediction tree, and the quantization parameter are encoded to generate a binary code stream. The structure of the KD-Tree can be a multi-chain structure or a single-chain structure.
[0213] FIG13 is an example of a prediction tree provided in an embodiment of the present application.
[0214] As shown in FIG13 , the prediction tree may be a single-link structure, that is, except for the only leaf node, each tree node has only one child node.
[0215] It is worth noting that, whether for the G-PCC framework or the AVS-PCC framework, when encoding and decoding geometric information and attribute information, there is no provision for the accuracy of the input information, for example, the accuracy of the input geometric information and the accuracy of the input attribute information. If the accuracy of the input information is not restricted, then a problem will arise: when the accuracy of the input information exceeds the accuracy of the information that the codec can process, inconsistent encoding and decoding will occur, resulting in the decoder being unable to reconstruct the point cloud information. For example, in AVS-GPCC, there is an attribute prediction branch that performs weighted prediction using the reconstructed attributes of N neighboring nodes and the spatial distance between N neighboring points and the current point, thereby completing the predictive coding of the current point attributes, where the prediction weighting method is as follows:
[0216] Among them, i represents the index of the neighborhood point, W i Represents the prediction weight of neighborhood point i, Attr i Reconstruction attributes of neighborhood points.
[0217] For example, assuming that the intermediate processing precision is 32 bits during the entire calculation process, W i The precision is 16 bits, and N is a maximum of 3. i The maximum precision is 14 bits, that is, the maximum input attribute precision that the codec can process is 14 bits. When the precision of the input attribute information exceeds 14 bits, the precision out of bounds will occur, which will cause the codec to be unable to process it, affecting the encoding and decoding performance.
[0218] In view of this, embodiments of the present application provide a decoding method, an encoding method, a decoder, and an encoder, which can improve encoding and decoding performance.
[0219] FIG14 is a schematic flow chart of a decoding method 100 provided in an embodiment of the present application. It should be understood that the decoding method 100 can be performed by a decoder or a decoding framework. For example, it can be applied to the decoding framework shown in FIG5 or FIG8. For ease of description, the decoding method 100 is exemplified below using a decoder as an example.
[0220] As shown in FIG14 , the decoding method 100 may include:
[0221] S110 , the decoder decodes or ends decoding first information of the current point cloud according to a first parameter; the first parameter represents a bit depth or a maximum bit depth of the first information.
[0222] Exemplarily, the first information is used to control the decoder to decode or end decoding of the first information, or in other words, the first information is used by the decoder to determine whether to decode the first information. In one implementation, the decoder determines to decode the first information based on the first parameter. For example, when the decoder determines to decode the first information, it can decode the code stream of the current point cloud and obtain the first information. In another implementation, the decoder determines to end decoding of the first information based on the first parameter. For example, when the decoder determines to end decoding of the first information, it can skip the first information and continue decoding other information in the current point cloud except the first information.
[0223] Illustratively, the bit depth of the first information is equivalently replaced by bit depth, depth, bit depth, number of bits, number of bits, precision, and the like. Similarly, the maximum bit depth of the first information is equivalently replaced by maximum bit depth, maximum depth, maximum bit depth, maximum number of bits, maximum number of bits, maximum precision, and the like.
[0224] Exemplarily, the first information may be any information in the code stream of the current point cloud.
[0225] Exemplarily, the first information may be geometric information of the current point cloud. In other words, the decoder may decode the bitstream of the current point cloud based on the first parameter and obtain geometric information of the points in the current point cloud. This geometric information includes, but is not limited to, coordinate information of the points in the current point cloud, placeholder codes for nodes or sub-blocks, coordinate information of intersection points, geometric residual values, and other information.
[0226] Exemplarily, the first information may be the attribute information of the current point cloud. In other words, the decoder may decode the code stream of the current point cloud based on the first parameter and obtain the attribute information of the point in the current point cloud. The attribute information may be an attribute residual coefficient, an absolute value of an attribute residual coefficient, an attribute transformation coefficient, or an absolute value of an attribute transformation coefficient. For example, the attribute information may be an attribute residual coefficient, an absolute value of an attribute residual coefficient, an attribute transformation coefficient, or an absolute value of an attribute residual coefficient involved in any one of the technical routes described in the G-PCC codec framework above. For another example, the attribute information may be an attribute residual coefficient, an absolute value of an attribute residual coefficient, an attribute transformation coefficient, or an absolute value of an attribute residual coefficient involved in any one of the technical routes described in the AVS PCC codec framework above.
[0227] In this embodiment, the decoder decodes or ends decoding the first information of the current point cloud according to the first parameter, wherein the first parameter represents the bit depth or maximum bit depth of the first information. This is equivalent to that before the decoder decodes the first information, it is necessary to first determine whether to decode the first information based on the bit depth or maximum bit depth of the first information. This is conducive to avoiding the phenomenon that the decoder decodes incorrectly due to the computational requirements of the decoder when processing the first information exceeding the computational capacity of the decoder, thereby ensuring that the numerical bit depth does not exceed the bounds or the decoder cannot process the information during decoding. This not only ensures the robustness and stability of the codec, but also enables the decoder to obtain first information with consistent bit depth, reduces the computational complexity of the decoder during the decoding process, and improves the decoding efficiency of the decoder, that is, it can improve the decoding performance of the decoder.
[0228] In some embodiments, S110 may include:
[0229] If the first parameter is less than or equal to a maximum bit depth supported by the decoder when processing the first information, the decoder decodes the first information.
[0230] Exemplarily, if the first parameter is less than or equal to the maximum bit depth supported by the decoder when processing the first information, it means that the computational requirements of the decoder when processing the first information do not exceed the computational capability of the decoder. In this case, the first information can be decoded directly. In this embodiment, when the decoder decodes the first information, by considering the first parameter, it can ensure that the computational requirements of the decoder when processing the first information do not exceed the computational capability of the decoder, and further ensure that the numerical bit depth will not exceed the bounds or the decoder will not be unable to process the information during decoding. This not only ensures the robustness and stability of the codec, but also enables the decoder to obtain first information with consistent bit depth, reduces the amount of computation of the decoder during the decoding process and improves the decoding efficiency of the decoder, that is, it can improve the decoding performance of the decoder.
[0231] In some embodiments, S110 may include:
[0232] If the first parameter is greater than a maximum bit depth supported by the decoder when processing the first information, the decoder ends decoding the first information.
[0233] Exemplarily, if the first parameter is greater than the maximum bit depth supported by the decoder when processing the first information, it indicates that the computational requirements of the decoder when processing the first information exceed the computational capacity of the decoder. In this case, decoding of the first information may be terminated directly.
[0234] In some embodiments, S110 may include:
[0235] If the decoder includes at least one decoding unit, and the at least one decoding unit includes a first decoding unit, the decoder uses the first decoding unit to decode the first information; wherein a maximum bit depth supported by the first decoding unit when processing the first information is greater than or equal to the first parameter.
[0236] Exemplarily, the maximum bit depth supported by the first decoding unit when processing the first information is greater than or equal to the first parameter, indicating that the computational requirements of the first decoding unit when processing the first information do not exceed the computational capabilities of the decoder. In this case, the first decoding unit can be directly used to decode the first information. In this embodiment, when the first decoding unit for decoding the first information is selected by the first parameter, it can be ensured that the computational requirements of the first decoding unit when processing the first information do not exceed the computational capabilities of the decoder, thereby ensuring that the numerical bit depth does not exceed the bounds or the decoder cannot process the information when decoding. This not only ensures the robustness and stability of the codec, but also enables the decoder to obtain first information with consistent bit depth, thereby reducing the amount of computation required by the decoder during the decoding process and improving the decoding efficiency of the decoder, that is, improving the decoding performance of the decoder.
[0237] Exemplarily, if the decoder includes only a single decoding unit, then when the maximum bit depth supported by the single decoding unit when processing the first information is greater than or equal to the first parameter, the single decoding unit can be used as the first decoding unit, and the first information can be decoded using the first decoding unit.
[0238] Exemplarily, if the decoder includes only multiple decoding units, then: when the multiple decoding units include a single first decoding unit, the single first decoding unit can be directly used to decode the first information; when the multiple decoding units include multiple first decoding units, any one of the multiple first decoding units can be directly used to decode the first information, for example, the idle first decoding unit among the multiple first decoding units (or the first decoding unit with the largest supported maximum bit depth, or the first decoding unit with the smallest supported maximum bit depth) can be used to decode the first information.
[0239] In some embodiments, S110 may include:
[0240] If the decoder includes at least one decoding unit, and the maximum bit depth supported by the at least one decoding unit when processing the first information is less than the first parameter, the decoder ends decoding the first information.
[0241] Exemplarily, if the maximum bit depth supported by the at least one decoding unit when processing the first information is less than the first parameter, it means that the computational requirements of the decoder when processing the first information exceed the computational capacity of the decoder. In this case, the decoding of the first information can be terminated directly.
[0242] In some embodiments, before S110, the method 100 may further include:
[0243] Get the first parameter.
[0244] In some embodiments, the decoder decodes the code stream of the current point cloud to determine the second parameter; and then determines the first parameter based on the second parameter.
[0245] Exemplarily, the decoder determines the second parameter by decoding the bitstream of the current point cloud, and determines the first parameter based on the second parameter. The second parameter is a decoded value obtained by the decoder by decoding the bitstream of the current point cloud, and the first parameter is a value determined based on the decoded value obtained by decoding (i.e., the second parameter).
[0246] Exemplarily, the second parameter may be a binary string or a decimal value.
[0247] Exemplarily, when the second parameter is a binary string, the decoder may convert the second parameter into a decimal value, and determine the first parameter based on the converted decimal value.
[0248] In some embodiments, if the first information is geometric information of the current point cloud, the decoder decodes the code stream to obtain geometric header information of the current point cloud; wherein the geometric header information includes the second parameter.
[0249] In other words, the second parameter is carried in the geometry header information.
[0250] Exemplarily, the decoder obtains the geometric header information of the current point cloud by decoding the code stream, determines the first parameter based on the second parameter in the geometric header information, and then obtains the geometric information of the current point cloud by decoding the code stream based on the first parameter.
[0251] In some embodiments, if the first information is attribute information of the current point cloud, the code stream is decoded to obtain attribute header information of the current point cloud; wherein the attribute header information includes the second parameter.
[0252] In other words, the second parameter is carried in the attribute header information.
[0253] Exemplarily, the decoder obtains the attribute header information of the current point cloud by decoding the code stream, determines the first parameter based on the second parameter in the attribute header information, and then obtains the attribute information of the current point cloud by decoding the code stream based on the first parameter.
[0254] In some embodiments, the decoder determines the second parameter as the first parameter.
[0255] Exemplarily, the decoder obtains the second parameter by decoding the code stream, and then continues to decode the code stream using the second parameter as the first parameter to obtain the first information.
[0256] Of course, the second parameter may also be carried at other locations in the codestream of the current point cloud, and this application does not specifically limit this. For example, in other alternative embodiments, if the first information is the geometric information of the current point cloud, the second parameter may be located between the geometric header information and the geometric information in the codestream of the current point cloud; if the first information is the attribute information of the current point cloud, the second parameter may be located between the attribute header information and the attribute information in the codestream of the current point cloud.
[0257] In some embodiments, the decoder determines the sum of the second parameter and the third parameter as the first parameter.
[0258] Exemplarily, the third parameter is a positive integer.
[0259] Exemplarily, assuming that the third parameter is recorded as N, the decoder determines the sum of the second parameter and N as the first parameter; N is a positive integer.
[0260] Exemplarily, the decoder obtains the second parameter by decoding the code stream, then determines the sum of the second parameter and the third parameter as the first parameter, and continues to decode the code stream based on the first parameter to obtain the first information.
[0261] In some embodiments, the third parameter is a predefined value.
[0262] Exemplarily, the predefined value may be a default value. For example, the third parameter may be implemented by pre-saving a corresponding code, table, or other method that can be used to indicate relevant information in a device (e.g., a decoder), and this application does not limit its specific implementation method. For another example, the third parameter may refer to a parameter defined in a protocol. Among them, "protocol" may refer to a standard protocol in the field of coding and decoding, for example, it may include the field of image coding and decoding, the field of video coding and decoding, the field of hardware video coding and decoding, the field of dedicated circuit video coding and decoding, and the field of real-time video coding and decoding, as well as related protocols used in future coding and decoding systems, and this application does not limit this.
[0263] Of course, the third parameter may also be a parameter determined by other means, which is not specifically limited in this application. For example, in other alternative embodiments, the third parameter may be a parameter determined by negotiation between the decoder and the encoder, or the third parameter may be a parameter indicated by the decoder to the encoder, or the third parameter may be a parameter indicated by the encoder to the decoder before transmitting the bitstream of the current point cloud.
[0264] In some embodiments, before the decoder determines the first parameter based on the second parameter, the decoder decodes the code stream of the current point cloud to determine the third parameter.
[0265] Exemplarily, the decoder first obtains the second parameter and the third parameter by decoding the code stream of the current point cloud, and then determines the sum of the second parameter and the third parameter as the first parameter.
[0266] In some embodiments, the first parameter is a predefined value.
[0267] Exemplarily, the predefined value may be a default value. For example, the first parameter may be implemented by pre-saving a corresponding code, table, or other method that can be used to indicate relevant information in a device (such as a decoder), and this application does not limit its specific implementation method. For another example, the first parameter may refer to a parameter defined in a protocol. Among them, "protocol" may refer to a standard protocol in the field of coding and decoding, for example, it may include the field of image coding and decoding, the field of video coding and decoding, the field of hardware video coding and decoding, the field of dedicated circuit video coding and decoding, and the field of real-time video coding and decoding, as well as related protocols used in future coding and decoding systems, and this application does not limit this.
[0268] Of course, the first parameter may also be a parameter determined by other means, which is not specifically limited in this application. For example, in other alternative embodiments, the first parameter may be a parameter determined by negotiation between the decoder and the encoder, or the first parameter may be a parameter indicated by the decoder to the encoder, or the first parameter may be a parameter indicated by the encoder to the decoder before transmitting the bitstream of the current point cloud.
[0269] Exemplarily, if the decoder cannot obtain the first parameter by decoding the code stream of the current point cloud, the first parameter is a predefined value.
[0270] Exemplarily, when the first parameter is a predefined value, the decoder first determines whether to decode or end decoding the first information based on the first parameter, and if it is determined that the first information is to be decoded or ended decoding based on the first parameter, the decoder decodes or ends decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value, the decoder needs to determine whether to consider the bit depth of the first information, and if it is determined that the bit depth of the first information is to be considered, the decoder decodes or ends decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value, the decoder needs to determine whether the first information needs to consider the first parameter, and if it is determined that the first information needs to consider the first parameter, the decoder decodes or ends decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value, the first parameter is also used to indicate whether the decoder decodes or ends decoding the first information based on the first parameter, and if the first parameter indicates the decoder to decode or end decoding the first information based on the first parameter, the decoder decodes or ends decoding the first information based on the first parameter.
[0271] Exemplarily, when the first parameter is a predefined value, the predefined value may be 0 or a value greater than 0.
[0272] Exemplarily, if the first parameter is a predefined value and the predefined value is a value greater than 0, the decoder determines to decode or end decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value and the predefined value is a value greater than 0, the decoder needs to consider the bit depth of the first information, that is, the decoder determines to decode or end decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value and the predefined value is a value greater than 0, the first information needs to consider the first parameter, that is, the decoder determines to decode or end decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value and the predefined value is a value greater than 0, the first parameter is also used to instruct the decoder to decode or end decoding the first information based on the first parameter, that is, the decoder determines to decode or end decoding the first information based on the first parameter.
[0273] Exemplarily, if the first parameter is a predefined value and the predefined value is 0, the decoder does not decode or end decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value and the predefined value is 0, the decoder does not need to consider the bit depth of the first information, that is, the decoder does not decode or end decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value and the predefined value is 0, the first information does not need to consider the first parameter, that is, the decoder does not decode or end decoding the first information based on the first parameter; in other words, when the first parameter is a predefined value and the predefined value is 0, the first parameter can be used to instruct the decoder not to decode or end decoding the first information based on the first parameter, that is, the decoder does not decode or end decoding the first information based on the first parameter.
[0274] The decoding method provided in this application is described below with reference to specific embodiments.
[0275] Example 1:
[0276] The decoder decodes the bitstream to obtain geometric header information of the current point cloud; the geometric header information includes a second parameter; the decoder then determines the sum of the second parameter and a third parameter as a first parameter; the first parameter represents the bit depth or maximum bit depth of the geometric information of the current point cloud; and the decoder then continues to decode the bitstream based on the first parameter to obtain the geometric information.
[0277] Exemplarily, the third parameter may be a value obtained by decoding the code stream before the decoder determines the geometric information, or may be a predefined value.
[0278] Exemplarily, the syntax elements of the geometry header information may be implemented as the syntax elements shown in Table 3 below:
[0279] Table 3
[0280] As shown in Table 3, assuming that the second parameter is recorded as gps_input_geom_bit_depth_minus_one, that is, after the decoder obtains gps_input_geom_bit_depth_minus_one by decoding the bitstream of the current point cloud, the sum of gps_input_geom_bit_depth_minus_one and 1 is determined as the first parameter (that is, the bit depth or maximum bit depth of the geometric information of the current point cloud). Exemplarily, if gps_input_geom_bit_depth_minus_one is not included in the geometry header information, the first parameter is determined to be a predefined value.
[0281] Example 2:
[0282] The decoder decodes the bitstream to obtain attribute header information of the current point cloud; the attribute header information includes a second parameter; the decoder then determines the sum of the second parameter and the third parameter as a first parameter; the first parameter represents the bit depth or maximum bit depth of the attribute information of the current point cloud; and the decoder then continues to decode the bitstream based on the first parameter to obtain the attribute information.
[0283] Exemplarily, the third parameter may be a value obtained by decoding the code stream before the decoder determines the geometric information, or may be a predefined value.
[0284] Exemplarily, the syntax elements of the attribute header information may be implemented as the syntax elements shown in Table 4 below:
[0285] Table 4
[0286] As shown in Table 4, assuming that the second parameter is recorded as inputBitDepthMinus1[attrIdx], that is, after the decoder obtains inputBitDepthMinus1[attrIdx] by decoding the bitstream of the current point cloud, the decoder can determine the sum of inputBitDepthMinus1[attrIdx] and 1 as the first parameter (that is, the bit depth or maximum bit depth of the attribute information of the current point cloud). For example, if the attribute header information does not include inputBitDepthMinus1[attrIdx], the first parameter is determined to be a predefined value.
[0287] The decoding method according to the embodiment of the present application is described in detail above from the perspective of the decoder. The encoding method according to the embodiment of the present application will be described below from the perspective of the encoder in conjunction with Figure 9.
[0288] FIG15 is a schematic flow chart of an encoding method 200 provided in an embodiment of the present application. It should be understood that the encoding method 200 can be executed by an encoder. For example, it can be applied to the encoding framework shown in FIG4 or FIG7. For ease of description, the encoding method 200 is exemplified below using an encoder as an example.
[0289] As shown in FIG15 , the encoding method 200 may include:
[0290] S210 , encoding or ending encoding of first information of the current point cloud according to a first parameter; the first parameter represents a bit depth or a maximum bit depth of the first information.
[0291] In some embodiments, S210 may include:
[0292] If the first parameter is greater than or equal to a maximum bit depth supported by the encoder when processing the first information, encoding the first information.
[0293] In some embodiments, S210 may include:
[0294] If the first parameter is less than a maximum bit depth supported by the encoder when processing the first information, encoding of the first information is terminated.
[0295] In some embodiments, S210 may include:
[0296] If the encoder includes at least one encoding unit, and the at least one encoding unit includes a first encoding unit, encoding the first information using the first encoding unit;
[0297] The maximum bit depth supported by the first encoding unit when processing the first information is greater than or equal to the first parameter.
[0298] In some embodiments, S210 may include:
[0299] If the encoder includes at least one encoding unit, and the maximum bit depth supported by the at least one encoding unit when processing the first information is less than the first parameter, then the encoding of the first information is terminated.
[0300] In some embodiments, the method 200 may further include:
[0301] Get the first parameter.
[0302] In some embodiments, if the first information is geometric information of the current point cloud, obtaining a geometric parameter set of an encoder;
[0303] The parameters in the geometric parameter set include the first parameter.
[0304] In some embodiments, if the first information is attribute information of the current point cloud, obtaining an attribute parameter set of an encoder;
[0305] The parameters in the attribute parameter set include the first parameter.
[0306] In some embodiments, the method 200 may further include:
[0307] Based on the first parameter, determining a second parameter;
[0308] The second parameter is encoded.
[0309] In some embodiments, the first parameter is determined as the second parameter.
[0310] In some embodiments, the difference between the first parameter and the third parameter is determined as the second parameter.
[0311] In some embodiments, the third parameter is a predefined value.
[0312] In some embodiments, the method 200 may further include:
[0313] The third parameter is encoded.
[0314] In some embodiments, the first parameter is a predefined value.
[0315] It should be understood that the decoding method 100 is the inverse process or reverse operation of the encoding method 200 , and therefore the steps in the encoding method 200 may refer to the corresponding steps in the decoding method 100 , which will not be described again for the sake of brevity.
[0316] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all fall within the scope of protection of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will no longer describe the various possible combinations separately. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the idea of the present application, they should also be regarded as the contents disclosed in the present application. It should also be understood that in the various method embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0317] The method embodiment of the present application is described in detail above. The following describes in detail an apparatus embodiment of the present application in conjunction with Figures 16 and 17.
[0318] FIG16 is a schematic block diagram of a decoder 300 according to an embodiment of the present application.
[0319] As shown in FIG16 , the decoder 300 may include:
[0320] The decoding unit 310 is configured to decode or end decoding of first information of the current point cloud according to a first parameter; the first parameter represents a bit depth or a maximum bit depth of the first information.
[0321] In some embodiments, the decoding unit 310 is specifically configured to:
[0322] If the first parameter is less than or equal to a maximum bit depth supported by the decoder when processing the first information, decoding the first information.
[0323] In some embodiments, the decoding unit 310 is specifically configured to:
[0324] If the first parameter is greater than a maximum bit depth supported by the decoder when processing the first information, decoding of the first information is terminated.
[0325] In some embodiments, the decoding unit 310 is specifically configured to:
[0326] If the decoder includes at least one decoding unit, and the at least one decoding unit includes a first decoding unit, decoding the first information using the first decoding unit;
[0327] The maximum bit depth supported by the first decoding unit when processing the first information is greater than or equal to the first parameter.
[0328] In some embodiments, the decoding unit 310 is specifically configured to:
[0329] If the decoder includes at least one decoding unit, and the maximum bit depth supported by the at least one decoding unit when processing the first information is less than the first parameter, decoding the first information is terminated.
[0330] In some embodiments, before decoding the first information according to the first parameter, the decoding unit 310 is further configured to:
[0331] Get the first parameter.
[0332] In some embodiments, the decoding unit 310 is specifically configured to:
[0333] Decoding the code stream of the current point cloud to determine the second parameter;
[0334] Based on the second parameter, the first parameter is determined.
[0335] In some embodiments, the decoding unit 310 is specifically configured to:
[0336] If the first information is the geometric information of the current point cloud, decoding the code stream to obtain the geometric header information of the current point cloud;
[0337] The geometric header information includes the second parameter.
[0338] In some embodiments, the decoding unit 310 is specifically configured to:
[0339] If the first information is attribute information of the current point cloud, decoding the code stream to obtain attribute header information of the current point cloud;
[0340] The attribute header information includes the second parameter.
[0341] In some embodiments, the decoding unit 310 is specifically configured to:
[0342] The second parameter is determined as the first parameter.
[0343] In some embodiments, the decoding unit 310 is specifically configured to:
[0344] The sum of the second parameter and the third parameter is determined as the first parameter.
[0345] In some embodiments, the third parameter is a predefined value.
[0346] In some embodiments, before determining the first parameter based on the second parameter, the decoding unit 310 is further configured to:
[0347] Decode the code stream of the current point cloud to determine the third parameter.
[0348] In some embodiments, the first parameter is a predefined value.
[0349] FIG17 is a schematic block diagram of an encoder 400 according to an embodiment of the present application.
[0350] As shown in FIG17 , the encoder 400 may include:
[0351] The encoding unit 410 encodes or ends encoding the first information of the current point cloud according to a first parameter; the first parameter represents the bit depth or maximum bit depth of the first information.
[0352] In some embodiments, the encoding unit 410 is specifically configured to:
[0353] If the first parameter is greater than or equal to a maximum bit depth supported by the encoder when processing the first information, encoding the first information.
[0354] In some embodiments, the encoding unit 410 is specifically configured to:
[0355] If the first parameter is less than a maximum bit depth supported by the encoder when processing the first information, encoding of the first information is terminated.
[0356] In some embodiments, the encoding unit 410 is specifically configured to:
[0357] If the encoder includes at least one encoding unit, and the at least one encoding unit includes a first encoding unit, encoding the first information using the first encoding unit;
[0358] The maximum bit depth supported by the first encoding unit when processing the first information is greater than or equal to the first parameter.
[0359] In some embodiments, the encoding unit 410 is specifically configured to:
[0360] If the encoder includes at least one encoding unit, and the maximum bit depth supported by the at least one encoding unit when processing the first information is less than the first parameter, then the encoding of the first information is terminated.
[0361] In some embodiments, before encoding the first information according to the first parameter, the encoding unit 410 is further configured to:
[0362] Get the first parameter.
[0363] In some embodiments, the encoding unit 410 is specifically configured to:
[0364] If the first information is geometric information of the current point cloud, obtaining a geometric parameter set of the encoder;
[0365] The parameters in the geometric parameter set include the first parameter.
[0366] In some embodiments, the encoding unit 410 is specifically configured to:
[0367] If the first information is attribute information of the current point cloud, obtaining an attribute parameter set of the encoder;
[0368] The parameters in the attribute parameter set include the first parameter.
[0369] In some embodiments, the encoding unit 410 is further configured to:
[0370] Based on the first parameter, determining a second parameter;
[0371] The second parameter is encoded.
[0372] In some embodiments, the encoding unit 410 is specifically configured to:
[0373] The first parameter is determined as the second parameter.
[0374] In some embodiments, the encoding unit 410 is specifically configured to:
[0375] The difference between the first parameter and the third parameter is determined as the second parameter.
[0376] In some embodiments, the third parameter is a predefined value.
[0377] In some embodiments, the encoding unit 410 is further configured to:
[0378] The third parameter is encoded.
[0379] In some embodiments, the first parameter is a predefined value.
[0380] It should be understood that the device embodiment and the method embodiment can correspond to each other, and similar descriptions can refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, the decoder 300 shown in Figure 16 can correspond to the corresponding subject in the method 100 for executing the embodiment of the present application, and the aforementioned and other operations and / or functions of the various units in the decoder 300 are respectively for implementing the corresponding processes in various methods such as method 100. Similarly, the encoder 400 shown in Figure 17 can correspond to the corresponding subject in the method 200 for executing the embodiment of the present application, that is, the aforementioned and other operations and / or functions of the various units in the encoder 400 are respectively for implementing the corresponding processes in various methods such as method 200.
[0381] It should also be understood that the various units in the decoder 300 or encoder 400 involved in the embodiment of the present application can be separately or all merged into one or several other units to constitute, or some (some) units therein can also be split into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of a unit can also be implemented by multiple units, or the function of multiple units is implemented by one unit. In other embodiments of the present application, the decoder 300 or encoder 400 can also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units. According to another embodiment of the present application, the decoder 300 or encoder 400 involved in the embodiment of the present application can be constructed by running a computer program (including program code) that can execute each step involved in the corresponding method on a general-purpose computing device including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), etc., to construct the decoder 300 or encoder 400 involved in the embodiment of the present application, and to implement the encoding method or decoding method of the embodiment of the present application. The computer program can be recorded on, for example, a computer-readable storage medium, loaded into an electronic device via the computer-readable storage medium, and run therein to implement the corresponding method of the embodiment of the present application.
[0382] In other words, the units mentioned above can be implemented in the form of hardware, can be implemented by instructions in the form of software, or can be implemented in the form of a combination of hardware and software. Specifically, the steps of the method embodiments in the embodiments of the present application can be completed by the hardware integrated logic circuit and / or software instructions in the processor, and the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software in a decoding processor. Optionally, the software can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps in the above method embodiments in combination with its hardware.
[0383] FIG18 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application.
[0384] As shown in FIG18 , the electronic device 500 includes at least a processor 510 and a computer-readable storage medium 520. The processor 510 and the computer-readable storage medium 520 may be connected via a bus or other means. The computer-readable storage medium 520 is used to store a computer program 521, which includes computer instructions. The processor 510 is used to execute the computer instructions stored in the computer-readable storage medium 520. The processor 510 is the computing core and control core of the electronic device 500 and is adapted to implement one or more computer instructions, specifically, to load and execute one or more computer instructions to implement a corresponding method flow or corresponding function.
[0385] As an example, the processor 510 may also be referred to as a central processing unit (CPU). The processor 510 may include, but is not limited to, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic devices, discrete hardware components, and the like.
[0386] As an example, the computer-readable storage medium 520 may be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor 510. Specifically, the computer-readable storage medium 520 includes, but is not limited to: volatile memory and / or non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).
[0387] In one implementation, the electronic device 500 may be an encoder or encoding framework involved in an embodiment of the present application; a first computer instruction is stored in the computer-readable storage medium 520; the processor 510 loads and executes the first computer instruction stored in the computer-readable storage medium 520 to implement the corresponding steps in the encoding method provided in an embodiment of the present application; in other words, the first computer instruction in the computer-readable storage medium 520 is loaded by the processor 510 and the corresponding steps are executed. To avoid repetition, it will not be repeated here.
[0388] In one implementation, the electronic device 500 may be a decoder or decoding framework involved in an embodiment of the present application; a second computer instruction is stored in the computer-readable storage medium 520; the processor 510 loads and executes the second computer instruction stored in the computer-readable storage medium 520 to implement the corresponding steps in the decoding method provided in an embodiment of the present application; in other words, the second computer instruction in the computer-readable storage medium 520 is loaded by the processor 510 and the corresponding steps are executed, which will not be repeated here to avoid repetition.
[0389] According to another aspect of the present application, an embodiment of the present application further provides a coding and decoding system, including the encoder and decoder mentioned above.
[0390] According to another aspect of the present application, an embodiment of the present application further provides a computer-readable storage medium (Memory), which is a memory device in the electronic device 500 for storing programs and data. For example, a computer-readable storage medium 520. It can be understood that the computer-readable storage medium 520 here can include both the built-in storage medium in the electronic device 500 and, of course, the extended storage medium supported by the electronic device 500. The computer-readable storage medium provides a storage space, which stores the operating system of the electronic device 500. In addition, one or more computer instructions suitable for being loaded and executed by the processor 510 are also stored in the storage space. These computer instructions can be one or more computer programs 521 (including program codes).
[0391] According to another aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. For example, computer program 521 is provided. In this case, data processing device 500 may be a computer, processor 510 may read the computer instructions from computer-readable storage medium 520, and processor 510 may execute the computer instructions, causing the computer to perform the encoding method or decoding method provided in the various optional embodiments described above.
[0392] In other words, when implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process of the embodiment of the present application is run in whole or in part or the functions of the embodiment of the present application are implemented. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode.
[0393] Those skilled in the art will appreciate that the units and process steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0394] Finally, it should be noted that the above content is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A decoding method, It is characterized in that include: According to the first parameter, decoding or ending decoding of the first information of the current point cloud; The first parameter represents a bit depth or a maximum bit depth of the first information.
2. The method according to claim 1, It is characterized in that The first information of decoding or ending decoding of the current point cloud includes: If the first parameter is less than or equal to a maximum bit depth supported by the decoder when processing the first information, decoding the first information.
3. The method according to claim 1, It is characterized in that The first information of decoding or ending decoding of the current point cloud includes: If the first parameter is greater than the maximum bit depth supported by the decoder when processing the first information, decoding of the first information is terminated.
4. The method according to claim 1, It is characterized in that The first information of decoding or ending decoding of the current point cloud includes: If the decoder includes at least one decoding unit, and the at least one decoding unit includes a first decoding unit, decoding the first information using the first decoding unit; The maximum bit depth supported by the first decoding unit when processing the first information is greater than or equal to the first parameter.
5. The method according to claim 1, It is characterized in that The first information of decoding or ending decoding of the current point cloud includes: If the decoder includes at least one decoding unit, and the maximum bit depth supported by the at least one decoding unit when processing the first information is less than the first parameter, decoding of the first information is terminated.
6. The method according to any one of claims 1 to 5, It is characterized in that Before decoding or ending decoding of the first information of the current point cloud, the method further includes: Get the first parameter.
7. The method according to claim 6, It is characterized in that The obtaining of the first parameter comprises: Decoding a code stream of the current point cloud to determine a second parameter; Based on the second parameter, the first parameter is determined.
8. The method according to claim 7, It is characterized in that The decoding of the code stream of the current point cloud to determine the second parameter includes: If the first information is the geometric information of the current point cloud, the code stream is decoded to obtain the geometric header information of the current point cloud; wherein the geometric header information includes the second parameter.
9. The method according to claim 7, It is characterized in that The decoding of the code stream of the current point cloud to determine the second parameter includes: If the first information is the attribute information of the current point cloud, the code stream is decoded to obtain the attribute header information of the current point cloud; wherein the attribute header information includes the second parameter.
10. The method according to any one of claims 7 to 9, It is characterized in that The determining the first parameter based on the second parameter includes: The second parameter is determined as the first parameter.
11. The method according to any one of claims 7 to 9, It is characterized in that The determining the first parameter based on the second parameter includes: The sum of the second parameter and the third parameter is determined as the first parameter.
12. The method according to claim 11, It is characterized in that The third parameter is a predefined value.
13. The method according to claim 11, It is characterized in that Before determining the first parameter based on the second parameter, the method further includes: Decode the code stream of the current point cloud to determine the third parameter.
14. The method according to claim 6, It is characterized in that The first parameter is a predefined value.
15. A method of encoding, It is characterized in that include: According to the first parameter, encode or end encoding the first information of the current point cloud; The first parameter represents a bit depth or a maximum bit depth of the first information.
16. The method according to claim 15, It is characterized in that The first information of encoding or ending encoding the current point cloud includes: If the first parameter is greater than or equal to a maximum bit depth supported by the encoder when processing the first information, encoding the first information.
17. The method according to claim 15, It is characterized in that The first information of encoding or ending encoding the current point cloud includes: If the first parameter is less than the maximum bit depth supported by the encoder when processing the first information, encoding the first information ends.
18. The method according to claim 15, It is characterized in that The first information of encoding or ending encoding the current point cloud includes: If the encoder includes at least one encoding unit, and the at least one encoding unit includes a first encoding unit, encoding the first information using the first encoding unit; The maximum bit depth supported by the first encoding unit when processing the first information is greater than or equal to the first parameter.
19. The method according to claim 15, It is characterized in that The first information of encoding or ending encoding the current point cloud includes: If the encoder includes at least one encoding unit, and the maximum bit depth supported by the at least one encoding unit when processing the first information is less than the first parameter, then the encoding of the first information ends.
20. The method according to any one of claims 15 to 19, It is characterized in that Before encoding or ending encoding of the first information of the current point cloud, the method further includes: Get the first parameter.
21. The method according to claim 20, It is characterized in that The obtaining of the first parameter comprises: If the first information is the geometric information of the current point cloud, a geometric parameter set of the encoder is obtained; wherein the parameters in the geometric parameter set include the first parameter.
22. The method according to claim 20, It is characterized in that The obtaining of the first parameter comprises: If the first information is the attribute information of the current point cloud, an attribute parameter set of the encoder is obtained; wherein the parameters in the attribute parameter set include the first parameter.
23. The method according to any one of claims 15 to 22, It is characterized in that The method further comprises: Based on the first parameter, determining a second parameter; The second parameter is encoded.
24. The method according to claim 23, It is characterized in that The determining the second parameter based on the first parameter includes: The first parameter is determined as the second parameter.
25. The method according to claim 23, It is characterized in that The determining the second parameter based on the first parameter includes: The difference between the first parameter and the third parameter is determined as the second parameter.
26. The method according to claim 25, It is characterized in that The third parameter is a predefined value.
27. The method according to claim 25, It is characterized in that The method further comprises: The third parameter is encoded.
28. The method according to any one of claims 15 to 22, It is characterized in that The first parameter is a predefined value.
29. A decoder, It is characterized in that include: A decoding unit, used for decoding or ending decoding of first information of a current point cloud according to a first parameter; The first parameter represents a bit depth or a maximum bit depth of the first information.
30. An encoder, It is characterized in that include: An encoding unit, used for encoding or ending encoding of first information of a current point cloud according to a first parameter; The first parameter represents a bit depth or a maximum bit depth of the first information.
31. A decoder, It is characterized in that include: a processor adapted to execute a computer program; A computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by the processor, implements the method according to any one of claims 1 to 14.
32. An encoder, It is characterized in that include: a processor adapted to execute a computer program; A computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by the processor, implements the method according to any one of claims 15 to 28.
33. A computer readable storage medium, It is characterized in that Used to store a computer program, the computer program causing a computer to execute the method according to any one of claims 1 to 14 or the method according to any one of claims 15 to 28.
34. A computer program product comprising a computer program / instructions, It is characterized in that The computer program / instructions, when executed by a processor, implement the method according to any one of claims 1 to 14 or the method according to any one of claims 15 to 28.
35. A code stream, It is characterized in that The code stream is a code stream generated by the method according to any one of claims 1 to 14 or the method according to any one of claims 15 to 28.
Citation Information
Patent Citations
Video encoding method and apparatus therefor, and video decoding method and apparatus therefor
CN107690806A
Restriction of escape pixel signaled values in palette mode video coding
CN108028940A
Apparatus for video decoding, computing system comprising the same and method for video decoding
CN109819248A
Point cloud processing method and device
CN111699690A
Image encoding and decoding method, encoding equipment, decoding equipment and storage medium
CN115086659A
Cited By
Hilbert coding method and device for three-dimensional distributed Cartesian grid
CN119166158A
