Point cloud encoding and decoding method and apparatus, device and storage medium

By controlling the neighborhood search range in the point cloud encoding device, the problem of excessive memory resource consumption by neighborhood node search is solved, and the encoding and decoding performance of point cloud attributes is improved.

WO2024212113A1PCT designated stage expired Publication Date: 2024-10-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/087655
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-11
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Existing point cloud encoding devices have poor encoding and decoding performance when compressing and transmitting point cloud data, especially when searching for neighboring nodes, which consumes too much memory resources and leads to a decrease in device performance.

Method used

By determining the first parameter to indicate the neighborhood search range, the search range of neighboring nodes is controlled, memory usage is reduced, thereby improving the encoding and decoding performance of point cloud attributes.

Benefits of technology

It effectively reduces the memory usage of neighbor node search on the device and improves the encoding and decoding performance of point cloud attributes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023087655_17102024_PF_FP_ABST
    Figure CN2023087655_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a point cloud encoding and decoding method and apparatus, a device, and a storage medium. The method comprises: during attribute encoding or decoding, first determining a first parameter, the first parameter being used to indicate a neighborhood search range; then, searching to obtain a number N of neighborhood nodes of a current node on the basis of the neighborhood search range indicated by the first parameter; and performing attribute prediction encoding and decoding on the current node on the basis of attribute information of the N neighborhood nodes. Embodiments of the present application enable a neighborhood search range to be controlled by means of the first parameter indicating the neighborhood search range, preventing excessive occupation of memory resources during neighborhood search, and thereby saving memory resources of the decoding device, and the improving point cloud attribute encoding and decoding performance.
Need to check novelty before this filing date? Find Prior Art

Description

Point cloud encoding and decoding method, device, equipment and storage medium Technical Field

[0001] The present application relates to the field of point cloud technology, and in particular to a point cloud encoding and decoding method, apparatus, device and storage medium. Background Art

[0002] Capture equipment captures the surface of an object, generating point cloud data. This data consists of hundreds of thousands or even more points. During video production, this point cloud data is transmitted between the point cloud encoding device and the point cloud decoding device in the form of point cloud media files. However, such a large number of points poses a challenge to transmission. Therefore, the point cloud encoding device must compress the point cloud data before transmission.

[0003] Point cloud compression, also known as point cloud encoding, involves layered transform prediction, such as RAHT transform prediction, based on a point cloud partition tree. This involves performing transform predictions from the root node to the voxel node. However, encoding and decoding performance is poor when predicting attributes for the current node in the partition tree.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a point cloud encoding and decoding method, apparatus, device, and storage medium to control the search range of neighboring nodes, thereby improving the encoding and decoding performance of point cloud attributes.

[0006] In a first aspect, an embodiment of the present application provides a point cloud decoding method, comprising:

[0007] Determine a first parameter, where the first parameter is used to indicate a maximum number M of reference points that can be cached in the prediction reference cache, where M is a positive integer;

[0008] Determine M reference points based on the first parameter, and store the M reference points in the prediction reference buffer;

[0009] Based on the reference points included in the prediction reference buffer, a predicted attribute value of the current point is determined.

[0010] In a second aspect, the present application provides a point cloud encoding method, comprising:

[0011] Determine a first parameter, where the first parameter is used to indicate a maximum number M of reference points that can be cached in the prediction reference cache, where M is a positive integer;

[0012] Determine M reference points based on the first parameter, and store the M reference points in the prediction reference buffer;

[0013] Based on the reference points included in the prediction reference buffer, a property prediction value of the current point is determined.

[0014] In a third aspect, the present application provides a point cloud decoding device for executing the method of the first aspect or its respective implementations. Specifically, the device includes a functional unit for executing the method of the first aspect or its respective implementations.

[0015] In a fourth aspect, the present application provides a point cloud encoding device for executing the method of the second aspect or its respective implementations. Specifically, the device includes a functional unit for executing the method of the second aspect or its respective implementations.

[0016] In a fifth aspect, a point cloud decoder is provided, comprising a processor and a memory. The memory is configured to store a computer program, and the processor is configured to call and execute the computer program stored in the memory to perform the method of the first aspect or its respective implementations.

[0017] In a sixth aspect, a point cloud encoder is provided, comprising a processor and a memory. The memory is configured to store a computer program, and the processor is configured to call and execute the computer program stored in the memory to perform the method of the second aspect or its respective implementations.

[0018] In a seventh aspect, a point cloud encoding and decoding system is provided, comprising a point cloud encoder and a point cloud decoder. The point cloud decoder is configured to execute the method of the first aspect or its respective implementations, and the point cloud encoder is configured to execute the method of the second aspect or its respective implementations.

[0019] In an eighth aspect, a chip is provided for implementing the method described in any one of the first and second aspects above, or their respective implementations. Specifically, the chip includes a processor configured to load and execute a computer program from a memory, causing a device equipped with the chip to perform the method described in any one of the first and second aspects above, or their respective implementations.

[0020] In a ninth aspect, a computer-readable storage medium is provided for storing a computer program, which enables a computer to execute the method of any one of the first to second aspects or their respective implementations.

[0021] In a tenth aspect, a computer program product is provided, comprising computer program instructions, which enable a computer to execute the method of any one of the first to second aspects or their respective implementations.

[0022] In an eleventh aspect, a computer program is provided, which, when executed on a computer, enables the computer to execute the method in any one of the first to second aspects or their respective implementations.

[0023] In a twelfth aspect, a code stream is provided, which is generated based on the method of the second aspect.

[0024] Based on the above technical solution, when encoding and decoding attributes, the decoding end first determines a first parameter, which is used to indicate the neighborhood search range. Then, based on the neighborhood search range indicated by the first parameter, it searches for N neighboring nodes of the current node, and then performs attribute prediction decoding on the current node based on the attribute information of these N neighboring nodes. In other words, the embodiment of the present application uses the first parameter to indicate the neighborhood search range, making the neighborhood search range controllable, avoiding excessive memory resource usage during the neighborhood search, thereby saving memory resources of the decoding device and improving the decoding performance of point cloud attributes. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1A is a schematic diagram of a point cloud;

[0026] Figure 1B is a partial enlarged view of the point cloud;

[0027] FIG2 is a schematic diagram of six viewing angles of a point cloud image;

[0028] FIG3 is a schematic block diagram of a point cloud encoding and decoding system according to an embodiment of the present application;

[0029] FIG4A is a schematic block diagram of a point cloud encoder provided in an embodiment of the present application;

[0030] FIG4B is a schematic block diagram of a point cloud decoder provided in an embodiment of the present application;

[0031] FIG5A is a schematic plan view;

[0032] FIG5B is a schematic diagram of node coding sequence;

[0033] FIG5C is a schematic diagram of a plane mark;

[0034] Figure 5D is a schematic diagram of sibling nodes;

[0035] Figure 5E is a schematic diagram of the intersection of the laser radar and the node;

[0036] FIG5F is a schematic diagram of neighborhood nodes at the same partition depth and the same coordinates;

[0037] FIG5G is a schematic diagram of neighboring nodes when the node is located at a lower plane position of the parent node;

[0038] FIG5H is a schematic diagram of neighboring nodes when the node is located at a high plane position of the parent node;

[0039] FIG5I is a schematic diagram of predictive coding of planar position information of a laser radar point cloud;

[0040] Figure 6 is a schematic diagram of IDCM encoding;

[0041] 7A to 7C are schematic diagrams of geometric information encoding based on triangular facets;

[0042] FIG8A is a schematic diagram of LOD construction based on distance;

[0043] FIG8B is a subjective schematic diagram of the distance-based LOD generation process;

[0044] FIG8C is a flowchart of the predicted encoding;

[0045] FIG8D is a schematic diagram of LOD division;

[0046] FIG8E is a schematic diagram of inter-layer nearest neighbor search;

[0047] FIG8F is a schematic diagram of a nearest neighbor search based on spatial relationships;

[0048] FIG8G is a schematic diagram of a nearest neighbor search for coplanar, colinear, and co-point features;

[0049] FIG8H is a schematic diagram of a neighbor point search;

[0050] FIG8I is a schematic diagram of a neighbor point search;

[0051] FIG8J is a schematic diagram of neighbor point search based on a fast search algorithm;

[0052] FIG8K is a schematic diagram of an inter-frame nearest neighbor search;

[0053] FIG8L is a flowchart of a lifting transformation;

[0054] FIG8M is a schematic diagram of a RAHT transformation process along the x, y, and z directions;

[0055] FIG8N is a schematic diagram of a RAHT transformation;

[0056] FIG8O is a schematic diagram of a RAHT forward transform and inverse transform;

[0057] FIG9A is a schematic diagram of a neighborhood node;

[0058] FIG9B is a schematic diagram of a process of region-adaptive hierarchical predictive transform coding according to an embodiment of the present application;

[0059] FIG10 is a schematic diagram of a point cloud decoding method according to an embodiment of the present application;

[0060] FIG11 is a schematic diagram of an octree partition;

[0061] FIG12 is a schematic diagram of a neighborhood node search;

[0062] FIG13 is a schematic diagram of attribute prediction;

[0063] FIG14 is a schematic diagram of a point cloud encoding method according to an embodiment of the present application;

[0064] FIG15 is a schematic block diagram of a point cloud decoding device provided in an embodiment of the present application;

[0065] FIG16 is a schematic block diagram of a point cloud encoding device provided in an embodiment of the present application;

[0066] FIG17 is a schematic block diagram of an electronic device provided in an embodiment of the present application;

[0067] Figure 18 is a schematic block diagram of the point cloud encoding and decoding system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The present application can be applied to the field of point cloud upsampling technology, for example, it can be applied to the field of point cloud compression technology.

[0069] To facilitate understanding of the embodiments of the present application, the following briefly introduces the relevant concepts involved in the embodiments of the present application:

[0070] A point cloud is a set of irregularly distributed discrete points in space that represent the spatial structure and surface properties of a three-dimensional object or scene. Figure 1A is a schematic diagram of a 3D point cloud image, and Figure 1B is a zoomed-in view of Figure 1A. As can be seen from Figures 1A and 1B, the point cloud surface is composed of densely distributed points.

[0071] 2D images contain information at every pixel, and their distribution is regular, so there's no need to record their location. However, the distribution of points in a point cloud in 3D space is random and irregular, so recording the location of every point in space is necessary to fully represent a point cloud. Similar to 2D images, each location in the data collection process has corresponding attribute information.

[0072] Point cloud data is a specific record format for point clouds. Points in a point cloud can include both their location information and attribute information. For example, the location information of a point can be its 3D coordinate information. This information can also be referred to as its geometric information. For example, the attribute information of a point can include color information, reflectance information, normal vector information, and so on. Color information reflects the color of an object, while reflectance information reflects the surface material of the object. The color information can be information in any color space. For example, the color information can be in RGB. Another example is luminance and chrominance (YCbCr, YUV) information. For example, Y represents luminance (Luma), Cb (U) represents blue color difference, Cr (V) represents red, and U and V represent chroma (Chroma) to describe color difference information. For example, a point cloud obtained using laser measurement principles can include both its 3D coordinate information and its laser reflection intensity (reflectance). Another example is a point cloud obtained using photogrammetry principles, which can include both its 3D coordinate information and its color information. For example, a point cloud is obtained by combining the principles of laser measurement and photogrammetry. The points in the point cloud 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. Figure 2 shows a point cloud image, where Figure 2 shows six viewing angles of the point cloud image. Table 1 shows the point cloud data storage format consisting of a file header information part and a data part:

[0073] Table 1

[0074] In Table 1, 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. For example, the point cloud in this example is in the ".ply" format, represented by ASCII code, with a total number of 207242 points. Each point has three-dimensional position information XYZ and three-dimensional color information RGB.

[0075] 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.

[0076] The ways to obtain point cloud data may include but are not limited to at least one of the following: (1) generation by computer equipment. Computer equipment can generate point cloud data based on virtual three-dimensional objects and virtual three-dimensional scenes. (2) 3D (3-Dimension) laser scanning acquisition. 3D laser scanning can obtain point cloud data of static real-world three-dimensional objects or three-dimensional scenes, and millions of point cloud data can be obtained per second; (3) 3D photogrammetry acquisition. 3D photography equipment (i.e., a group of cameras or camera equipment with multiple lenses and sensors) is used to collect real-world visual scenes to obtain point cloud data of real-world visual scenes. 3D photography can obtain point cloud data of dynamic real-world three-dimensional objects or three-dimensional scenes. (4) Point cloud data of biological tissues and organs can be obtained through medical equipment. In the medical field, point cloud data of biological tissues and organs can be obtained through medical equipment such as magnetic resonance imaging (MRI), computed tomography (CT), and electromagnetic positioning information.

[0077] Point clouds can be divided into dense point clouds and sparse point clouds according to the acquisition method.

[0078] Point clouds are divided into the following types according to the time series of the data:

[0079] The first type of static point cloud: the object is stationary and the device used to obtain the point cloud is also stationary;

[0080] The second type of dynamic point cloud: the object is moving, but the device that obtains the point cloud is stationary;

[0081] The third type of dynamic point cloud acquisition: the device that acquires the point cloud is moving.

[0082] Point clouds are divided into two categories according to their uses:

[0083] Category 1: Machine perception point cloud, which can be used in scenarios such as autonomous navigation systems, real-time inspection systems, geographic information systems, visual sorting robots, and disaster relief robots;

[0084] Category 2: Human eye perception point cloud, which can be used in point cloud application scenarios such as digital cultural heritage, free viewpoint broadcasting, 3D immersive communication, and 3D immersive interaction.

[0085] The aforementioned point cloud acquisition technologies reduce the cost and time required to acquire point cloud data, while improving data accuracy. This evolution in point cloud data acquisition has made it possible to acquire large amounts of point cloud data. However, as application demands grow, the processing of massive amounts of 3D point cloud data is facing bottlenecks due to storage space and transmission bandwidth limitations.

[0086] Taking a point cloud video with a frame rate of 30 fps (frames per second) as an example, each frame contains 700,000 points, each with 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 points x (4 bytes x 3 + 1 byte x 3) x 30 fps x 10 seconds = 3.15 GB. For a 1280 x 720 two-dimensional video with a YUV sampling format of 4:2:0 and a frame rate of 24 fps, the data volume for 10 seconds is approximately 1280 x 720 x 12 bits x 24 frames x 10 seconds, which is approximately 0.33 GB. A 10-second two-view 3D video has a data volume of approximately 0.33 x 2 = 0.66 GB. Therefore, the data volume of a point cloud video far exceeds that of a 2D or 3D video of the same length. Therefore, point cloud compression has become a key issue in promoting the development of the point cloud industry to better manage data, save server storage space, and reduce the transmission traffic and time between the server and client.

[0087] The following introduces the relevant knowledge of point cloud encoding and decoding.

[0088] Figure 3 is a schematic block diagram of a point cloud encoding and decoding system involved in an embodiment of the present application. It should be noted that Figure 3 is only an example, and the point cloud encoding and decoding system of the embodiment of the present application includes but is not limited to that shown in Figure 3. As shown in Figure 3, the point cloud encoding and decoding system 100 includes an encoding device 110 and a decoding device 120. The encoding device is used to encode (which can be understood as compression) the point cloud data to generate a code stream, and transmit the code stream to the decoding device. The decoding device decodes the code stream generated by the encoding device to obtain decoded point cloud data.

[0089] The encoding device 110 of the embodiment of the present application can be understood as a device with a point cloud encoding function, and the decoding device 120 can be understood as a device with a point cloud decoding function, that is, the embodiment of the present application includes a wider range of devices for the encoding device 110 and the decoding device 120, such as smartphones, desktop computers, mobile computing devices, notebook (e.g., laptop) computers, tablet computers, set-top boxes, televisions, cameras, display devices, digital media players, point cloud game consoles, vehicle-mounted computers, etc.

[0090] In some embodiments, the encoding device 110 may transmit the encoded point cloud data (such as a code stream) to the decoding device 120 via the channel 130. The channel 130 may include one or more media and / or devices capable of transmitting the encoded point cloud data from the encoding device 110 to the decoding device 120.

[0091] In one example, the channel 130 includes one or more communication media that enable the encoding device 110 to transmit the encoded point cloud data directly to the decoding device 120 in real time. In this example, the encoding device 110 can modulate the encoded point cloud data according to a communication standard and transmit the modulated point cloud data to the decoding device 120. The communication media includes wireless communication media, such as radio frequency spectrum. Optionally, the communication media can also include wired communication media, such as one or more physical transmission lines.

[0092] In another example, channel 130 includes a storage medium that can store the point cloud data encoded by encoding device 110. The storage medium includes various locally accessible data storage media, such as optical disks, DVDs, and flash memory. In this example, decoding device 120 can retrieve the encoded point cloud data from the storage medium.

[0093] In another example, the channel 130 may include a storage server that can store the point cloud data encoded by the encoding device 110. In this example, the decoding device 120 can download the stored encoded point cloud data from the storage server. Alternatively, the storage server can store the encoded point cloud data and transmit the encoded point cloud data to the decoding device 120, such as a web server (e.g., for a website), a file transfer protocol (FTP) server, etc.

[0094] In some embodiments, the encoding device 110 includes a point cloud encoder 112 and an output interface 113. The output interface 113 may include a modulator / demodulator (modem) and / or a transmitter.

[0095] In some embodiments, the encoding device 110 may further include a point cloud source 111 in addition to the point cloud encoder 112 and the input interface 113 .

[0096] The point cloud source 111 may include at least one of a point cloud acquisition device (e.g., a scanner), a point cloud archive, a point cloud input interface, and a computer graphics system, wherein the point cloud input interface is used to receive point cloud data from a point cloud content provider, and the computer graphics system is used to generate point cloud data.

[0097] The point cloud encoder 112 encodes the point cloud data from the point cloud source 111 to generate a code stream. The point cloud encoder 112 transmits the encoded point cloud data directly to the decoding device 120 via the output interface 113. The encoded point cloud data can also be stored on a storage medium or storage server for subsequent reading by the decoding device 120.

[0098] In some embodiments, the decoding device 120 includes an input interface 121 and a point cloud decoder 122 .

[0099] In some embodiments, the decoding device 120 may further include a display device 123 in addition to the input interface 121 and the point cloud decoder 122 .

[0100] The input interface 121 includes a receiver and / or a modem and can receive the encoded point cloud data via the channel 130 .

[0101] The point cloud decoder 122 is used to decode the encoded point cloud data to obtain decoded point cloud data, and transmit the decoded point cloud data to the display device 123.

[0102] The decoded point cloud data is displayed on the display device 123. The display device 123 may be integrated with the decoding device 120 or external to the decoding device 120. The display device 123 may include various display devices, such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or other types of display devices.

[0103] In addition, Figure 3 is only an example, and the technical solution of the embodiment of the present application is not limited to Figure 3. For example, the technology of the present application can also be applied to unilateral point cloud encoding or unilateral point cloud decoding.

[0104] Current point cloud encoders can use two point cloud compression coding technology routes proposed by the Moving Picture Experts Group (MPEG) of the International Organization for Standardization: Video-based Point Cloud Compression (VPCC) and Geometry-based Point Cloud Compression (GPCC). VPCC projects a 3D point cloud onto a 2D image and uses existing 2D coding tools to encode the projected 2D image. GPCC uses a hierarchical structure to divide the point cloud into multiple units, encoding the entire point cloud by recording the division process.

[0105] The following uses the GPCC encoding and decoding framework as an example to illustrate the point cloud encoder and point cloud decoder applicable to the embodiments of the present application.

[0106] Figure 4A is a schematic block diagram of the point cloud encoder provided in an embodiment of the present application.

[0107] As can be seen from the above, points in a point cloud can include both their location information and their attribute information. Therefore, the encoding of points in a point cloud mainly includes location encoding and attribute encoding. In some examples, the location information of points in a point cloud is also called geometric information, and the corresponding location encoding of points in the point cloud can also be called geometric encoding.

[0108] In the GPCC coding framework, the geometric information of the point cloud and the corresponding attribute information are encoded separately.

[0109] As shown in Figure 4A below, the current geometric coding and decoding of G-PCC can be divided into octree-based geometric coding and decoding and prediction tree-based geometric coding and decoding.

[0110] The position encoding process involves preprocessing the points in the point cloud, such as coordinate transformation, quantization, and duplicate point removal. Next, geometric encoding is performed on the preprocessed point cloud, such as constructing an octree or prediction tree. Based on the constructed octree or prediction tree, geometric encoding is performed to form a geometric bitstream. Simultaneously, the position information of each point in the point cloud data is reconstructed based on the position information output by the constructed octree or prediction tree, resulting in a reconstructed value for each point's position information.

[0111] The attribute encoding process includes: given the reconstruction information of the input point cloud position information and the original value of the attribute information, selecting one of the three prediction modes for point cloud prediction, quantizing the predicted result, and performing arithmetic coding to form an attribute code stream.

[0112] As shown in Figure 4A, position encoding can be achieved through the following units:

[0113] Coordinate conversion (Tanmsform coordinates) unit 201, voxel (Voxelize) unit 202, octree partition (Analyze octree) unit 203, geometry reconstruction (Reconstruct geometry) unit 204, arithmetic encoding (Arithmetic enconde) unit 205, surface fitting unit (Analyze surface approximation) 206 and prediction tree construction unit 207.

[0114] The coordinate conversion unit 201 can be used to convert the world coordinates of a point in the point cloud into relative coordinates. For example, the geometric coordinates of the point are subtracted from the minimum value of the x, y, and z coordinate axes, which is equivalent to a DC removal operation, to convert the coordinates of the point in the point cloud from world coordinates to relative coordinates.

[0115] Voxelize unit 202, also known as the quantize and remove points unit, reduces the number of coordinates through quantization. After quantization, previously different points may be assigned the same coordinates. Based on this, duplicate points can be removed through deduplication. For example, multiple clouds with the same quantized position but different attribute information can be merged into a single cloud through attribute conversion. In some embodiments of the present application, voxel unit 202 is an optional unit module.

[0116] The octree partitioning unit 203 may encode the quantized point position information using an octree encoding scheme. For example, the point cloud may be partitioned using an octree, so that point positions correspond one-to-one with octree positions. Geometric encoding is performed by counting the point positions in the octree and setting their flags to 1.

[0117] In some embodiments, in the geometric information encoding process based on a triangle soup (trisoup), the point cloud is also octree-partitioned by the octree partitioning unit 203. However, unlike the geometric information encoding based on the octree, the trisoup does not need to divide the point cloud into unit cubes with a side length of 1X1X1 step by step. Instead, the division is stopped when the block (sub-block) has a side length of W. Based on the surface formed by the distribution of the point cloud in each block, at most twelve vertices (intersections) generated by the surface and the twelve edges of the block are obtained. The intersections are surface fitted by the surface fitting unit 206, and the fitted intersections are geometrically encoded.

[0118] The prediction tree construction unit 207 can encode the quantized point position information using a prediction tree encoding method. For example, the point cloud is divided into a prediction tree, so that the point positions correspond one-to-one with the positions of the nodes in the prediction tree. By counting the positions of the points in the prediction tree, different prediction modes are selected to predict the geometric position information of the nodes to obtain prediction residuals, and the geometric prediction residuals are quantized using quantization parameters. Finally, through continuous iteration, the prediction residuals of the prediction tree node position information, the prediction tree structure, and the quantization parameters are encoded to generate a binary bitstream.

[0119] The geometric reconstruction unit 204 can perform position reconstruction based on the position information output by the octree partitioning unit 203 or the intersection points fitted by the surface fitting unit 206 to obtain a reconstructed value of the position information of each point in the point cloud data. Alternatively, the geometric reconstruction unit 204 can perform position reconstruction based on the position information output by the prediction tree construction unit 207 to obtain a reconstructed value of the position information of each point in the point cloud data.

[0120] The arithmetic coding unit 205 may perform entropy coding on the position information output by the octree analysis unit 203 or the intersection points fitted by the surface fitting unit 206, or the geometric prediction residual values ​​output by the prediction tree construction unit 207 to generate a geometric code stream; the geometric code stream may also be referred to as a geometry bitstream.

[0121] Attribute encoding can be achieved through the following units:

[0122] A color conversion unit 210 , a transfer attributes unit 211 , a region adaptive hierarchical transform (RAHT) unit 212 , a generate LOD unit 213 , a lifting transform unit 214 , a quantize coefficients unit 215 , and an arithmetic coding unit 216 .

[0123] It should be noted that the point cloud encoder 200 may include more, fewer, or different functional components than those shown in FIG. 4A .

[0124] The color conversion unit 210 may be configured to convert the RGB color space of a point in the point cloud into a YCbCr format or other formats.

[0125] The recoloring unit 211 recolors the color information using the reconstructed geometric information so that the uncoded attribute information corresponds to the reconstructed geometric information.

[0126] After the original value of the point attribute information is converted by the recoloring unit 211, any transformation unit can be selected to transform the points in the point cloud. The transformation units may include: RAHT transformation 212 and lifting transformation unit 214. The lifting transformation relies on generating the level of detail (LOD).

[0127] Either the RAHT transform or the lifting transform can be understood as being used to predict the attribute information of a point in a point cloud to obtain a predicted value of the attribute information of the point, and then to obtain a residual value of the attribute information of the point based on the predicted value of the attribute information of the point. For example, the residual value of the attribute information of the point can be the original value of the attribute information of the point minus the predicted value of the attribute information of the point.

[0128] In one embodiment of the present application, the process of generating LOD by the LOD generation unit includes: obtaining the Euclidean distance between points based on the position information of the points in the point cloud; and dividing the points into different detail expression layers based on the Euclidean distance. In one embodiment, the Euclidean distances can be sorted and then Euclidean distances in different ranges can be divided into different detail expression layers. For example, a point can be randomly selected as the first detail expression layer. The Euclidean distances between the remaining points and the point are then calculated, and the points whose Euclidean distances meet the first threshold requirement are classified as the second detail expression layer. The centroid of the points in the second detail expression layer is obtained, and the Euclidean distances between the points other than the first and second detail expression layers and the centroid are calculated, and the points whose Euclidean distances meet the second threshold requirement are classified as the third detail expression layer. And so on, all points are classified into the detail expression layer. By adjusting the threshold of the Euclidean distance, the number of points in each LOD layer can be increased. It should be understood that the LOD division method can also be adopted in other ways, and this application is not limited to this.

[0129] It should be noted that the point cloud can be directly divided into one or more detail expression layers, or the point cloud can be first divided into multiple point cloud slices, and then each point cloud slice can be divided into one or more LOD layers.

[0130] For example, a point cloud can be divided into multiple point cloud tiles, each containing between 550,000 and 1.1 million points. Each point cloud tile can be considered a separate point cloud. Each point cloud tile can be further divided into multiple detail expression layers, each containing multiple points. In one embodiment, the detail expression layers can be divided based on the Euclidean distance between points.

[0131] The quantization unit 215 may be used to quantize the residual value of the attribute information of the point. For example, if the quantization unit 215 is connected to the RAHT transformation unit 212, the quantization unit 215 may be used to quantize the residual value of the attribute information of the point output by the RAHT transformation unit 212.

[0132] The arithmetic coding unit 216 may perform entropy coding on the residual value of the attribute information of the point using zero run length coding to obtain an attribute code stream. The attribute code stream may be bit stream information.

[0133] Figure 4B is a schematic block diagram of the point cloud decoder provided in an embodiment of the present application.

[0134] As shown in Figure 4B, the decoder 300 can obtain the point cloud code stream from the encoding device and obtain the position information and attribute information of the points in the point cloud by parsing the code. The decoding of the point cloud includes position decoding and attribute decoding.

[0135] The position decoding process includes: performing arithmetic decoding on the geometric code stream; constructing an octree and then merging it to reconstruct the point position information to obtain the reconstructed position information of the point; and performing coordinate transformation on the reconstructed position information of the point to obtain the point position information. The point position information can also be called the point's geometric information.

[0136] The attribute decoding process includes: obtaining the residual value of the attribute information of the point in the point cloud by parsing the attribute code stream; obtaining the residual value of the attribute information of the point after dequantization by dequantizing the residual value of the attribute information of the point; based on the reconstruction information of the point position information obtained in the position decoding process, selecting one of the following RAHT inverse transform and lifting inverse transform to perform point cloud prediction to obtain the predicted value, and adding the predicted value to the residual value to obtain the reconstructed value of the attribute information of the point; performing inverse color space conversion on the reconstructed value of the attribute information of the point to obtain the decoded point cloud.

[0137] As shown in Figure 4B, position decoding can be achieved by the following units:

[0138] Arithmetic decoding unit 301, octree reconstruction unit 302, surface reconstruction unit 303, geometry reconstruction unit 304, inverse transform coordinates unit 305 and prediction tree reconstruction unit 306.

[0139] Attribute encoding can be achieved through the following units:

[0140] an arithmetic decoding unit 310 , an inverse quantization unit 311 , an inverse RAHT transform unit 312 , a LOD generation unit 313 , an inverse lifting transform unit 314 , and an inverse color transform unit 315 .

[0141] It should be noted that decompression is the inverse process of compression. Similarly, the functions of each unit in the decoder 300 can refer to the functions of the corresponding units in the encoder 200. In addition, the point cloud decoder 300 may include more, fewer, or different functional components than those in Figure 4B.

[0142] For example, the decoder 300 can divide the point cloud into multiple LODs based on the Euclidean distance between points in the point cloud. The decoder 300 then decodes the attribute information of the points in the LODs in sequence. For example, the number of zeros (zero_cnt) in the zero-run encoding technique is calculated to decode the residual based on zero_cnt. The decoding framework 200 then dequantizes the decoded residual value and adds the dequantized residual value to the predicted value of the current point to obtain the reconstructed value of the point cloud until all point clouds are decoded. The current point will be used as the nearest neighbor of the subsequent LOD point, and the reconstructed value of the current point will be used to predict the attribute information of the subsequent point.

[0143] The above is the basic process of the point cloud codec based on the GPCC codec framework. With the development of technology, some modules or steps of the framework or process may be optimized. This application is applicable to the basic process of the point cloud codec based on the GPCC codec framework, but is not limited to this framework and process.

[0144] The following introduces octree-based geometric coding and prediction tree-based geometric coding.

[0145] The geometric encoding based on octree includes: first, coordinate transformation of 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 (octree / quadtree / binary tree) in the order of breadth-first traversal, and the placeholder code of each node is encoded. In an implicit geometric division method, the bounding box of the point cloud is first calculated. Assume that the d x >d y >d z The bounding box corresponds to a cuboid. When geometrically partitioning, the binary tree partitioning is first 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 1x1x1 unit cube. The partitioning will stop and the points in the leaf node will be encoded to generate a binary code stream. In the process of binary tree / quadtree / octree partitioning, two parameters are introduced: K and M. Parameter K indicates the maximum number of binary tree / quadtree partitions before octree partitioning; parameter M is used to indicate that the minimum block side length corresponding to binary tree / quadtree partitioning is 2 M . At the same time, K and M must meet the following conditions: 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 parameters K and M meet the above conditions because the priority of the partitioning method in the current G-PCC implicit geometric partitioning process is binary tree, quadtree and octree. When the node block size does not meet the conditions of binary tree / quadtree, the node will be partitioned into octree until the minimum unit of leaf node 1X1X1 is reached.

[0146] The octree-based geometric information coding mode can effectively encode the geometric information of the point cloud by utilizing the correlation between adjacent points in space. However, for some relatively flat nodes or nodes with planar characteristics, the coding efficiency of the point cloud geometric information can be further improved by using plane coding.

[0147] For example, as shown in Figure 5A, the (a) series belongs to the low plane position in the Z-axis direction, and the (b) series belongs to the high plane position in the Z-axis direction. Taking (a) as an example, it can be seen that the four occupied child nodes of the current node are all located in the low plane position of the current node in the Z-axis direction. Therefore, it can be considered that the current node belongs to a Z plane and is a low plane in the Z-axis direction. Similarly, (b) shows that the occupied child nodes of the current node are located in the high plane position of the current node in the Z-axis direction.

[0148] Taking (a) as an example, the efficiency of octree coding and plane coding is compared. As shown in Figure 5B, if the octree coding method is used for (a) in Figure 1, the placeholder information of the current node is represented as: 11001100. However, if the plane coding method is used, first, an identifier needs to be encoded to indicate that the current node is a plane in the Z-axis direction. Secondly, if the current node is a plane in the Z-axis direction, the plane position of the current node needs to be represented. Secondly, only the placeholder information of the low plane node in the Z-axis direction needs to be encoded (that is, the placeholder information of the four child nodes 0246). Therefore, encoding the current node based on the plane coding method only requires encoding 6 bits, which can reduce the representation of 2 bits compared to the original octree coding. Based on this analysis, plane coding has more obvious coding efficiency than octree coding. Therefore, for an occupied node, if the plane coding method is used in a certain dimension, as shown in Figure 5C, first, the plane identification (planarMode) and plane position (PlanePos) information of the current node in the dimension need to be represented, and then the occupancy information of the current node is encoded based on the plane information of the current node. It should be noted that: PlaneMode i (i=0,1,2): 0 means the current node is not a plane in the direction of i axis. When the node is a plane in the direction of i axis, PlanePosition i :0 means the current node is a plane in the direction of the i-axis and the plane position is a low plane, 1 means the current node is a high plane in the direction of the i-axis. For example, i=0 represents the X-axis, i=1 represents the Y-axis, and i=2 represents the Z-axis.

[0149] The following details how to determine whether a node meets the plane coding conditions in the current G-PCC standard and predictively encode the node plane identifier and plane position information when the node meets the plane coding conditions.

[0150] Currently, there are three types of conditions in G-PCC to determine whether a node meets the conditions for plane coding. The following describes them one by one:

[0151] The first method is to judge based on the plane probability of the node in each dimension.

[0152] First, determine the local area density (local_node_density) of the current node and the probability Prob(i) of the current node in each dimension.

[0153] When the local area density of a node is less than the threshold Th (Th = 3), the plane probability Prob(i) of the current node in three dimensions is compared with the thresholds Th0, Th1, and Th2, where Th0 < Th1 < Th2 (Th0 = 0.6, Th1 = 0.77, Th2 = 0.88). Next, Eligible i (i = 0, 1, 2) is used to indicate whether plane coding is started in each dimension, where Eligible i The judgment process is shown in formula (1). For example, if Eligible i >= threshold, it means that plane coding is started in the i-th dimension: Eligible i = Prob(i) >= threshold (1)

[0154] It should be noted that the threshold changes adaptively. For example, when Prob(0) > Prob(1) > Prob(2), the threshold values are shown in formula (2): Eligible0 = Prob(0) >= Th0 Eligible1 = Prob(1) >= Th1 Eligible2 = Prob(2) >= Th2 (2)

[0155] Next, the update process of local_node_density and the update of Prob(i) are introduced.

[0156] In one example, Prob(i) is updated by the following formula (3): Prob(i) new = (Lx Prob(i) + δ(coded node)) / L + 1 (3)

[0157] where L = 255, and when the coded node is a plane, it is 1, otherwise it is 0.

[0158] In one example, local_node_density is updated by the following formula (4): local_node_density new = local_node_density + 4 * numSiblings (4)

[0159] where local_node_density is initialized to 4, and numSiblings is the number of sibling nodes of the node. As shown in Figure 5D, the current node is the left node, and the right node is the sibling node of the current node. Then the number of sibling nodes of the current node is 5 (including itself).

[0160] The second method is to determine whether the nodes in the current layer meet the requirements of plane coding based on the point cloud density of the current layer.

[0161] The density of the points in the current layer is used to determine whether to perform plane coding on the nodes in the current layer. Assuming that the number of points in the current point cloud to be coded is pointCount, the number of points reconstructed after IDCM coding is numPointCountRecon, and because the octree is coded in the order of breadth-first traversal, the number of nodes to be coded in the current layer can be obtained as nodeCount. It is assumed that planarEligibleKOctreeDepth is used to indicate whether plane coding is started in the current layer. Among them, the judgment process of planarEligibleKOctreeDepth is shown in formula (5): planarEligibleKOctreeDepth=(pointCount-numPointCountRecon) <nodeCount*1.3 (5)

[0162] When planarEligibleKOctreeDepth is true, all nodes in the current layer are plane coded; otherwise, no plane coding is performed and only octree coding is used.

[0163] The third method is to determine whether the current node meets the requirements of plane coding based on the acquisition parameters of the lidar point cloud.

[0164] As shown in Figure 5E, the large cube node at the top is simultaneously traversed by two lasers, so the current node is not a plane in the Z-axis direction. The small cube node at the bottom is small enough that it cannot be traversed by both nodes simultaneously, so it is likely a plane. Therefore, based on the number of lasers corresponding to the current node, we can determine whether the current node meets the requirements for plane coding.

[0165] The following describes the predictive coding of plane identification information and plane position information for nodes that currently meet the plane coding conditions.

[0166] 1. Predictive Coding of Plane Marking Information

[0167] Currently, three contexts are used to encode plane identification information, that is, the plane representation in each dimension is designed separately.

[0168] The following introduces the encoding of planar position information of non-lidar point clouds and lidar point clouds respectively.

[0169] 1) Encoding of non-lidar point cloud planar position information

[0170] 1. Predictive coding of planar position information.

[0171] The plane position information is predictively coded based on the following information:

[0172] (1) Using the occupancy information of neighboring nodes, the plane position information of the current node is predicted to be three elements: predicted as low plane, predicted as high plane, and unpredictable;

[0173] (2) The spatial distance between the nodes at the same partition depth and the same coordinates as the current node and the current node is “close” or “far”;

[0174] (3) The plane position of the node at the same partition depth and the same coordinates as the current node;

[0175] (4) Coordinate dimension (i=0, 1, 2).

[0176] As shown in Figure 5F, the current node to be encoded is the left node, then the neighboring node is searched for as the right node at the same octree partition depth level and the same vertical coordinate, and the distance between the two nodes is judged as "near" and "far", and the plane position of the reference node is used.

[0177] In one example, as shown in FIG5G , the black node is the current node. If the current node is located on the lower plane of the parent node, the plane position of the current node is determined as follows:

[0178] a) If any of the child nodes 4 to 7 of the dashed node is occupied, and all the dot nodes are unoccupied, it is very likely that there is a plane in the current node, and the plane is at a lower position.

[0179] b) If the child nodes 4 to 7 of the dashed node are not occupied, and any dotted node is occupied, it is very likely that there is a plane in the current node, and the plane is at a higher position.

[0180] c) If the child nodes 4 to 7 of the dashed node are all empty nodes and the dotted nodes are all empty nodes, the plane position cannot be inferred and is therefore marked as unknown.

[0181] If any of the child nodes 4 to 7 of the dashed node are occupied and any of the dotted nodes are occupied, the plane position cannot be inferred and is therefore marked as unknown.

[0182] In another example, as shown in FIG5H , the black node is the current node. If the node is at a high plane position of the parent node, the plane position of the current node is determined as follows:

[0183] a) If any of the dot node's child nodes 4 to 7 is occupied, and the dashed node is not occupied, it is very likely that there is a plane in the current node, and the plane is at a lower position.

[0184] b) If the child nodes 4 to 7 of the dot node are not occupied, but the node with the dashed line is occupied, it is very likely that a plane exists in the current node, and the plane is located at a higher position.

[0185] c) If the child nodes 4 to 7 of the dot node are all unoccupied, and the dashed node is unoccupied, the plane position cannot be inferred and is therefore marked as unknown.

[0186] d) If one of the child nodes 4-7 of the dotted node is occupied and the dashed node is occupied, the plane position cannot be inferred and is therefore marked as unknown.

[0187] 2) Coding of LiDAR point cloud plane position information

[0188] Figure 5I shows the predictive coding of the plane position information of the laser radar point cloud. The plane position of the current node is predicted by using the laser radar acquisition parameters. The position is quantized into four intervals by using the intersection position of the current node and the laser ray, and finally used as the context of the plane position of the current node. The specific calculation process is as follows: Assume that the coordinates of the laser radar are (x Lidar ,y Lidar ,z Lidar ), the geometric coordinates of the current point are (x, y, z), then first calculate the vertical tangent value tanθ of the current point relative to the lidar. The calculation process is shown in formula (6):

[0189] Because each laser has a certain offset angle relative to the laser radar, the relative tangent value tanθ of the current node relative to the laser is calculated. corr,L , the specific calculation process is shown in formula (7):

[0190] Finally, the corrected tangent value of the current node is used to predict the plane position of the current node. Specifically, assuming that the tangent value of the lower boundary of the current node is tan(θ bottom), and the tangent value of the upper boundary is tan(θ top), according to tanθ corr,L The plane position is quantized into 4 quantization intervals, which are the contexts of the plane position.

[0191] However, the octree-based geometric information coding mode only has an efficient compression rate for points with correlation in space. For points that are isolated in the geometric space, the use of the Direct Coding Model (DCM) can greatly reduce the complexity. 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. There are three ways to determine whether the current node is eligible for DCM coding, as shown in Figure 6:

[0192] (1) The current node has no sibling child nodes, that is, the parent node of the current node has only one child node, and the parent node of the parent node of the current node has only two occupied child nodes, that is, the current node has at most one neighbor node.

[0193] (2) The parent node of the current node has only one child node, the current node, and the six neighbor nodes that share a face with the current node are all empty nodes.

[0194] (3) The number of sibling nodes of the current node is greater than 1.

[0195] If the current node does not meet the DCM coding qualifications, it will be divided into octrees. If it meets the DCM coding qualifications, the number of points contained in the node will be further determined. When the number of points is less than the threshold 2, the node will be DCM-encoded, otherwise the octree division will continue. When the DCM coding mode is applied, it is first necessary to encode whether the current node is a true isolated point, that is, IDCM_flag. When IDCM_flag is true, the current node uses DCM coding, otherwise octree coding is still used. When the current node meets the DCM coding requirements, the DCM coding mode of the current node needs to be encoded. There are currently two DCM modes: 1: There is only one point (or multiple points, but they are duplicate points); 2: Contains two points. Finally, the geometric information of each point needs to be encoded. Assume that the side length of the node is 2 d When encoding each component of the node's geometric coordinates, d bits are required, and these bits are directly encoded into the bitstream. It is important to note that when encoding LiDAR point clouds, the efficiency of geometric information coding can be further improved by predictively encoding the three-dimensional coordinate information using LiDAR acquisition parameters.

[0196] It is important to note that when partitioning nodes into leaf nodes, the number of duplicate points in the leaf nodes must be encoded in the case of lossless geometric coding. Ultimately, the placeholder information for all nodes is encoded 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 the child nodes of the current node meet the condition of being in the same plane, the child nodes of the current node are represented by that plane.

[0197] In octree-based geometric decoding, the decoder follows a breadth-first traversal. Before decoding each node's occupancy information, it first uses the reconstructed geometric information to determine whether the current node is for plane decoding or IDCM decoding. If the current node meets the requirements for plane decoding, it first decodes the plane identifier and plane position information of the current node. Then, based on the plane information, it decodes the current node's occupancy information. If the current node meets the requirements for IDCM decoding, it first decodes whether the current node is a true IDCM node. If so, it continues to parse the DCM decoding mode of the current node, then obtains the number of points in the current DCM node, and finally decodes the geometric information of each point. For nodes that do not meet either plane decoding or DCM decoding requirements, the current node's occupancy information is decoded. By continuously parsing in this way, the placeholder code of each node is obtained, and the node is continuously partitioned until a 1x1x1 unit cube is obtained. The number of points contained in each leaf node is parsed, and the geometrically reconstructed point cloud information is finally recovered.

[0198] In the trisoup (triangle soup)-based geometric information coding framework, geometric partitioning is also performed first. However, unlike geometric information coding based on binary trees, quad trees, and octrees, this method does not need to gradually partition the point cloud into unit cubes with side lengths of 1x1x1. Instead, the partitioning stops when the block (sub-block) has a side length of W. Based on the surface formed by the distribution of the point cloud in each block, the surface and the twelve edges of the block are obtained. The vertex coordinates of each block are encoded in sequence to generate a binary code stream.

[0199] When reconstructing point cloud geometry based on trisoup, the decoding end first decodes vertex coordinates to complete triangle reconstruction. This process is shown in Figures 7A to 7C. The block shown in Figure 7A contains three vertices (v1, v2, v3). The set of triangles formed by these three vertices in a certain order is called triangle soup, or trisoup, as shown in Figure 7B. Afterwards, sampling is performed on this set of triangles, and the resulting sampling points are used as the reconstructed point cloud within the block, as shown in Figure 7C.

[0200] The geometric coding based on the prediction tree includes: first, sorting the input point cloud. The currently used sorting methods include unordered, Morton order, azimuth order, and radial distance order. At the encoding end, the prediction tree structure is established by using two different methods, including: KD-Tree (high-latency slow mode) and using the lidar calibration information to divide each point into different Lasers and establish a prediction structure according to different Lasers (low-latency fast mode). Next, based on the structure of the prediction tree, each node in the prediction tree is traversed, and the geometric position information of the node is predicted by selecting different prediction modes to obtain the prediction residual, and the geometric prediction residual is quantized using the quantization parameter. Finally, through continuous iteration, the prediction residual of the prediction tree node position information, the prediction tree structure, and the quantization parameters are encoded to generate a binary code stream.

[0201] Based on the geometric decoding of the prediction tree, the decoding end reconstructs the prediction tree structure by continuously parsing the bit stream. Secondly, the geometric position prediction residual information and quantization parameters of each prediction node are obtained through parsing, and the prediction residual is dequantized to restore the reconstructed geometric position information of each node, finally completing the geometric reconstruction at the decoding end.

[0202] After the geometric encoding is completed, the geometric information is reconstructed. At present, attribute encoding is mainly performed on color information. First, the color information is converted from the RGB color space to the YUV color space. Then, the point cloud is recolored using the reconstructed geometric information so that the unencoded attribute information corresponds to the reconstructed geometric information. In color information encoding, there are two main transformation methods. One is the distance-based lifting transformation that relies on LOD (Level of Detail) division, and the other is to directly perform RAHT (Region Adaptive Hierarchal Transform) transformation. Both methods will convert the color information from the spatial domain to the frequency domain, and obtain high-frequency coefficients and low-frequency coefficients through transformation. Finally, the coefficients are quantized and encoded to generate a binary code stream.

[0203] When using geometric information to predict attribute information, Morton codes can be used to perform nearest neighbor search. The Morton code corresponding to each point in the point cloud can be obtained from the geometric coordinates of the point. The specific method for calculating the Morton code is described as follows. For a three-dimensional coordinate represented by a d-bit binary number for each component, its three components can be expressed as formula (8):

[0204] in, The highest bits of x, y, and z are To the lowest position The corresponding binary value. The Morton code M is x, y, z starting from the highest bit, arranged in sequence To the lowest bit, the calculation formula of M is shown in the following formula (9):

[0205] in, The highest bit of M To the lowest position After obtaining the Morton code M of each point in the point cloud, the points in the point cloud are arranged in ascending order of the Morton code, and the weight w of each point is set to 1.

[0206] There are 4 general test conditions for GPCC:

[0207] Condition 1: The geometric position is limited and the attributes are lost;

[0208] Condition 2: Geometric position lossless, attribute lossy;

[0209] Condition 3: Geometric position lossless, attribute loss limited;

[0210] Condition 4: Geometric position and attributes are lossless.

[0211] The general test sequences include Cat1A, Cat1B, Cat3-fused, and Cat3-frame, a total of four categories. Among them, Cat2-frame point cloud only contains reflectance attribute information, Cat1A and Cat1B point clouds only contain color attribute information, and Cat3-fused point cloud contains both color and reflectance attribute information.

[0212] There are two technical routes of GPCC, which are distinguished by the algorithm used for geometric compression, and are divided into octree coding branch and prediction tree coding branch.

[0213] Among them, in the octree coding branch, 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 until the leaf node obtained by division is a 1X1X1 unit cube. The division stops when the division is completed. 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. At the decoding end, the decoding end obtains the placeholder code of each node by continuous parsing in the order of breadth-first traversal, and continuously divides the nodes in sequence until the division is a 1x1x1 unit cube. In the case of geometric lossless decoding, the number of points contained in each leaf node needs to be parsed to finally recover the geometric reconstructed point cloud information.

[0214] In the prediction tree coding branch, the encoder establishes the prediction tree structure using two different approaches: a KD-Tree (high-latency, slow mode) and a low-latency, fast mode, where each point is assigned to a different laser using lidar calibration information and the prediction structure is established accordingly. Next, based on the prediction tree structure, each node in the tree is traversed, and the geometric position information of the node is predicted using different prediction modes to obtain a prediction residual. This geometric prediction residual is then quantized using a quantization parameter. Finally, through continuous iteration, the prediction residuals of the prediction tree node position information, the prediction tree structure, and the quantization parameters are encoded to generate a binary bitstream. On the decoder side, the decoder continuously parses the bitstream to reconstruct the prediction tree structure. The geometric position prediction residual information and quantization parameters for each prediction node are then parsed and dequantized to recover the reconstructed geometric position information for each node, completing the geometric reconstruction at the decoder.

[0215] The previous section introduces the geometric codec under the G-PCC coding framework. The following section introduces the attribute codec under the G-PCC coding framework.

[0216] As shown in Figure 4A, the current G-PCC encoding framework includes three attribute encoding methods: Predicting Transform (PT), Lifting Transform (LT), and Region Adaptive Hierarchical Transform (RAHT). The first two predictively encode point clouds based on the order in which LODs are generated, while RAHT adaptively transforms attribute information from the bottom up based on the octree construction hierarchy. The following sections describe these three point cloud attribute encoding methods.

[0217] Currently, the attribute prediction module of G-PCC adopts a nearest neighbor attribute prediction coding scheme based on a hierarchical (Level-of-details, LoDs) structure. The construction methods of LOD include the distance-based LOD construction scheme, the fixed sampling rate-based LOD construction scheme, and the octree-based LOD construction scheme, etc. In the distance threshold-based LOD construction scheme, the point cloud is first sorted by Morton before constructing LOD to ensure strong attribute correlation between adjacent points. As shown in Figure 8A, an example of the distance-based LOD construction process is given. The point cloud is divided into L different point cloud detail levels (Rl)l = 0, 1, … L-1 according to the L Manhattan (Manhattan) distances (dl)l = 0, 1, … L-1 preset by the user in advance, where (dl)l = 0, 1, … L-1 satisfies dl < dl-1. The construction process of LOD is as follows: (1) First, mark all points in the point cloud as unvisited, and establish a set V to store the set of points that have been visited; (2) For each iteration l, traverse the points in the point cloud. If the current point has been visited, ignore the point. Otherwise, calculate the minimum distance D from the current point to the point set V. If D < dl, ignore the point; otherwise, mark the current point as visited and add the current point to the refinement layer Rl and the point set V; (3) The points in the detail level LODl are composed of the points in the refinement layers R0, R1, R2…Rl; (4) Repeat the above steps continuously until all points are marked as visited.

[0218] Based on the LOD structure, the attribute value of each point is linearly weighted predicted by using the reconstructed attribute values of points in the same layer or a higher layer of LOD, where the maximum number of reference prediction neighbors is determined by the high-level syntax elements of the encoder. For the attribute of each point, at the encoding end, the rate-distortion optimization algorithm is used to select weighted prediction by using the attributes of the N nearest neighbor points searched or select the attribute of a single nearest neighbor point for prediction, and finally, the selected prediction mode and prediction residual are encoded.

[0219] Exemplarily, based on the following formula (10), the attribute prediction value is determined:

[0220] where, N represents the number of prediction points in the nearest neighbor point set of point i, Pi represents the sum of the N nearest neighbor points of point i, Dm represents the spatial geometric distance from the nearest neighbor point m to the current point i, Attrm represents the attribute value after reconstruction of the nearest neighbor point m, and Attr i ′ represents the attribute prediction value of the current point i, and the number of points N is a preset value in advance.

[0221] To balance attribute coding efficiency and parallel processing between different LOD layers, a switch is introduced in the encoder's high-level syntax elements to control whether to introduce LOD layer prediction. If turned on, LOD layer prediction is enabled, and prediction can be performed using points within the same LOD layer. It should be noted that when the number of LOD layers is 1, LOD layer prediction is always used.

[0222] In one example, Figure 8B shows the LOD visualization result. The points in the first layer represent the outer contours of the point cloud. As the number of detail layers increases, the point cloud details become clearer.

[0223] In one example, as shown in Figure 8C, a flowchart for G-PCC attribute prediction is provided. For the kth point in a point cloud, the three nearest neighbors of the kth point are first determined. Based on the attribute reconstruction information of these three neighbors, the attribute prediction value of the kth point is determined. Next, based on the original attribute value and the attribute prediction value of the kth point, the attribute prediction residual for the kth point is obtained. This attribute prediction residual is quantized and arithmetic coded to produce the attribute bitstream.

[0224] In some embodiments, after the LOD is constructed, the three nearest neighboring points of the current point to be encoded are first found from the encoded data points according to the generation order of the LOD. The attribute reconstruction values ​​of the three nearest neighboring points are used as candidate prediction values ​​of the current point to be encoded; then, the optimal prediction value is selected from the attribute reconstruction values ​​of the three nearest neighboring points according to the rate-distortion optimization (RDO). For example, when encoding the attribute value of point P2 in Figure 8A, the predictor variable index of the attribute value of the nearest neighbor point P4 is set to 1; the attribute predictor variable indexes of the second nearest neighbor point P5 and the third nearest neighbor point P0 are set to 2 and 3 respectively; the predictor variable index of the weighted average of points P0, P5 and P4 is set to 0, as shown in Table 2:

[0225] Table 2 Samples of candidate prediction items for attribute coding

[0226] Finally, RDO is used to select the best predictor variable. The weighted average formula is shown in formula (11):

[0227] In formula (11) represents the spatial geometric weight from the neighboring point j to the current point i, and the calculation formula is shown in formula (12):

[0228] in, Represents the attribute prediction value of the current point i, j represents the index of the three neighboring points, Represents the attribute value after reconstruction of the neighboring points, x i ,yi ,z i is the geometric position coordinate of the current point i, x ij ,y ij , z ij is the geometric coordinate of the neighboring point j.

[0229] The following introduces the attribute prediction residuals and quantification.

[0230] The attribute prediction value of the current point i is obtained through the above prediction (k is the total number of points in the point cloud). Let (a i ) i∈0…k-1 is the original attribute value of the current point, then as shown in formula (13), the attribute residual (r i ) i∈0…k-1 Denoted as:

[0231] Furthermore, the prediction residual is quantized based on the following formula (14):

[0232] In formula (14), Q i It represents the quantized attribute residual of the current point i, Qs is the quantization step (Qs), which can be calculated by the quantization parameter QP (QP) specified by CTC.

[0233] The encoding end reconstructs the attribute value

[0234] The purpose of reconstruction at the encoding end is to predict the subsequent points. Before reconstructing the attribute value, the residual should be dequantized, as shown in formula (15), is the residual after inverse quantization:

[0235] Then, based on the following formula (16), and predicted value Add up to get the reconstruction value of point i

[0236] There are currently two main types of algorithms for attribute nearest neighbor search based on LOD partitioning: intra-frame nearest neighbor search and inter-frame nearest neighbor search. Intra-frame nearest neighbor search is divided into inter-layer nearest neighbor search and intra-layer nearest neighbor search.

[0237] Intra-frame nearest neighbor search:

[0238] There are two algorithms for searching the nearest neighbor within a frame: inter-layer nearest neighbor search and intra-layer nearest neighbor search. After LOD division, a pyramid structure similar to that shown in Figure 8D is formed.

[0239] 1. Inter-layer nearest neighbor search

[0240] As shown in FIG8E and FIG8A , different LOD layers are obtained based on the geometric information division, namely LOD0, LOD1 and LOD2, and the points in LOD0 are used to predict the attributes of the points in the next LOD layer in the process of inter-layer nearest neighbor search.

[0241] The following is a detailed description of the entire process of searching for the nearest neighbor within a frame:

[0242] During the entire LOD partitioning process, there are three sets O(k), L(k), and I(k). Among them, k is the index of the LOD layer during LOD partitioning, and I(k) is the input point set during the current LOD layer partitioning. After LOD partitioning, the O(k) set and L(k) set are obtained. The O(k) set stores the sampling point set, and L(k) is the point set in the current LOD layer. The entire LOD partitioning process is as follows:

[0243] (1) Initialization

[0244] if k=0,L(k)←{}. Otherwise L(k)←L(k-1)

[0245] O(k)←{}

[0246] (2) Using the LOD partitioning algorithm, the sampling points are stored in O(k), and the remaining points are divided into L(k);

[0247] (3) When the next iteration is performed, I←O(k).

[0248] It should be noted here that since the entire LOD division process is based on the Morton code, O(k), L(k) and I(k) store the Morton code index corresponding to the point.

[0249] When performing inter-layer nearest neighbor search, that is, the points in the L(k) set perform nearest neighbor search in the O(k) set. The specific search algorithm is as follows:

[0250] Nearest neighbor search based on spatial relationships

[0251] When predicting the current point P, neighbor search is performed using the parent block (Block B) corresponding to point P. As shown in FIG8F , points in neighbor blocks that are coplanar or colinear with the current parent block are searched for attributes.

[0252] Illustratively, the spatial relationships of coplanarity, colinearity, and copoint are shown in FIG8G .

[0253] First, the coordinates of the current point are used to obtain the corresponding spatial block. Second, a nearest neighbor search is performed in the previously encoded LOD layer to find the spatial blocks that are coplanar, colinear, and co-point with the current block to obtain the N nearest neighbors of the current point.

[0254] If the N nearest neighbors of the current point are still not found after performing coplanar, colinear, and co-point nearest neighbor searches, a fast search algorithm is used to obtain the N nearest neighbors of the current point. The specific algorithm is shown in Figure 8H. When performing inter-attribute layer prediction, the geometric coordinates of the current point to be encoded are first used to obtain the Morton code corresponding to the current point. Next, based on the Morton code of the current point, the first reference point (j) with a larger Morton code than the current point is found in the reference frame. Next, a nearest neighbor search is performed within the range [j-searchRange, j+searchRange].

[0255] The rest of the specific algorithms for updating the nearest neighbor are the same as the inter-frame nearest neighbor search algorithm and will not be described here. The specific algorithms will be mentioned in the inter-frame nearest neighbor search algorithm.

[0256] 2. Nearest neighbor search within the layer

[0257] As shown in FIG8I , when the intra-layer prediction algorithm is turned on, a nearest neighbor search is performed in the same layer LOD and the set of encoded points in the same layer to obtain the N nearest neighbors of the current point (inter-layer nearest neighbor search is also performed).

[0258] When performing intra-attribute layer prediction, a nearest neighbor search is performed based on a fast search algorithm. The specific algorithm is shown in Figure 8J. Assuming the current point's Morton code index is i, the nearest neighbor search is performed in [i+1, i+searchRange]. The specific nearest neighbor search algorithm is consistent with the inter-frame block-based fast search algorithm and will not be detailed here. It will be discussed in detail later.

[0259] The above describes the nearest neighbor search within a frame. The following describes the nearest neighbor search between frames.

[0260] Inter-frame nearest neighbor search:

[0261] As shown in Figure 8H, when performing attribute inter-frame prediction, the geometric coordinates of the current point to be encoded are first used to obtain the Morton code corresponding to the current point. Secondly, based on the Morton code of the current point, the first reference point (j) with a Morton code greater than the current point is found in the reference frame. Then, the nearest neighbor search is performed within the range of [j-searchRange, j+searchRange].

[0262] The current nearest neighbor search within and between frames is based on block-based neighborhood search, as shown in Figure 8K below. When searching for the current point (Morton code index is i), the points in the reference frame are first divided into N (N=3) layers according to the Morton code. The specific division algorithm is as follows:

[0263] First layer: Assume that the points of the reference frame are numPoints, first divide the points in the reference frame into M (M=2 5 =32) points are divided into one block;

[0264] Second layer: Based on the first layer, the blocks of the first layer are also processed every M (M=2 5 =32) blocks are divided into one block;

[0265] The third layer: Based on the second layer, the blocks of the first layer are also processed every M (M=2 5 =32) blocks are divided into one block;

[0266] Finally, the predicted structure shown in Figure 8K is obtained.

[0267] When performing attribute prediction based on the prediction structure shown in Figure 8K, assuming that the Morton code index of the current point to be encoded is i, first obtain the first point in the reference frame whose Morton code is greater than or equal to the current point, with index j. Then, the block index of the reference point is calculated based on j. The specific calculation method is as follows:

[0268] First layer: BucketSize_0 = 2 5 =32;

[0269] Second layer: BucketSize_1=2 5 =32×BucketSize_0=1024;

[0270] Third layer: BucketSize_2=2 5 =32×BucketSize_1=32768.

[0271] Assume that the reference range in the prediction frame of the current point is [j-searchRange, j+searchRange], use j-searchRange to calculate the starting index of the third layer, and use j+searchRange to calculate the ending index of the third layer. Secondly, first determine whether some blocks in the second layer need to be searched for the nearest neighbor in the blocks of the third layer. Then go to the second layer and determine whether a search is needed for each block in the first layer. If some blocks in the first layer need to be searched for the nearest neighbor, then the midpoints of some blocks in the first layer will be judged point by point to update the nearest neighbor.

[0272] The following is an introduction to the algorithm based on index calculation block. Assuming that the Morton code index corresponding to the current point is index, then the index of the corresponding third-layer block is as shown in formula (17): idx_2=index / BucketSize_2 (17)

[0273] After obtaining the block index idx_2 of the third layer, the start index and end index of the block corresponding to the current block in the second layer can be obtained using idx_2, as shown in formula (18): startIdx1=idx_2×BucketSize_1 endIdx=idx_2×BucketSize_1+BucketSize_1-1 (18)

[0274] The index of the first layer block is obtained based on the index of the second layer block based on the same algorithm.

[0275] When performing a block-based nearest neighbor search, we first determine whether the current block needs to be searched for the nearest neighbor. This is called filtering the nearest neighbor search for the block. Each spatial block can be obtained through two variables: minPos and maxPos. MinPos represents the minimum value of the block, and maxPos represents the maximum value of the block.

[0276] Assume that the distance of the farthest point among the N nearest neighbors of the current point is Dist, the coordinates of the point to be encoded are (x, y, z), and the current block is represented by (minPos, maxPos), where minPos is the minimum value of the bounding box in three dimensions and maxPos is the maximum value of the bounding box in three dimensions. Then the distance D between the current point and the bounding box is calculated as shown in formula (19): int dx=int(std::max(std::max(minPos[0]-point[0],0),point[0]-maxPos[0]));int dy=int(std::max(std::max(minPos[1]- point[1],0),point[1]-maxPos[1]));int dz=int(std::max(std::max(minPos[2]-point[2],0),point[2]-maxPos[2]));D=dx+dy+dz (19)

[0277] When D is less than or equal to Dist, the points in the current block will be traversed.

[0278] The following introduces the lifting transform encoding of point cloud attribute information.

[0279] Figure 8L shows the encoding process of the lifting transform. The lifting transform also predicts and encodes the point cloud attributes based on LOD. The difference from the predictive transform is that the lifting transform first divides the LOD into high and low layers, and predicts in the reverse order of the LOD generation layer. In the prediction process, an update operator is introduced to update the quantized weights of the low-level LOD midpoints to improve the accuracy of the prediction. This is because the attribute values ​​of the low-level LOD midpoints are frequently used to predict the attribute values ​​of the high-level LOD midpoints, and the points in the low-level LOD should have greater influence.

[0280] Step 1: Segmentation Process

[0281] The segmentation process is to divide the complete LOD layer into a low LOD layer L(N) and a high LOD layer H(N). If a point cloud has three LOD layers, namely (LOD l ) l=0,1,2 , After segmentation, LOD2 is the high LOD layer, denoted as H(N), (LOD l ) l=0,1 It is the low LOD layer, denoted as L(N).

[0282] Step 2: Prediction Process

[0283] The point in the high-level LOD selects the attribute information of the nearest neighbor point from the low-level LOD as the attribute prediction value P(N) of the current point to be coded. The prediction residual D(N) is shown in formula (20): D(N) = H(N) - P(N) (20)

[0284] Step 3: Update Process

[0285] Update the attribute prediction residual D(N) in the high-level LOD to obtain U(N), and use U(N) to improve the attribute value of the midpoint of the low-level LOD, as shown in formula (21): L′(N)=L(N)+U(N) (21)

[0286] The above process will iterate continuously until the lowest LOD according to the order of LOD from high to low.

[0287] Because LOD-based prediction schemes give points in lower LOD layers greater influence, the transformation scheme based on the lifting wavelet transform introduces quantization weights and updates the prediction residual based on the prediction residual D(N) and the distance between the prediction point and its adjacent points. Finally, the quantization weights used in the transformation process are used to adaptively quantize the prediction residual. It is important to note that the quantization weight value of each point can be determined by geometric reconstruction at the decoding end, so the quantization weights should not be encoded.

[0288] The following is an introduction to region-adaptive hierarchical transformation.

[0289] The regional adaptive hierarchical transform (RAHT) is a Haar wavelet transform that can transform point cloud attribute information from the spatial domain to the frequency domain, further reducing the correlation between point cloud attributes. Its main idea is to transform the nodes in each layer from the three dimensions of x, y, and z (as shown in Figure 8M) in a bottom-up manner according to the octree structure, and iterate until the root node of the octree. As shown in Figure 8N, its basic idea is to perform wavelet transform based on the hierarchical structure of the octree, associate attribute information with the octree nodes, and recursively transform the attributes of the occupied nodes in the same parent node in a bottom-up manner. For each layer, the nodes are transformed from the three dimensions of x, y, and z until the root node of the octree is reached. In the process of hierarchical transformation, the low-pass (DC) coefficients obtained after the transformation of the nodes in the same layer are passed to the nodes in the next layer for further transformation, and all high-pass (AC) coefficients are encoded by the arithmetic encoder.

[0290] During the transformation process, the DC coefficients (direct current components) of the transformed nodes at the same layer are passed to the previous layer for further transformation, while the AC coefficients (alternating current components) of each layer are quantized and encoded. The following describes the main transformation processes.

[0291] Figure 8O shows the corresponding transformation and inverse transformation process. Assume that g′ L,2x,y,z and g′L,2x+1,y,z are the DC coefficients of two neighboring points in the L layer. After linear transformation, the information of the L-1 layer is the AC coefficient f′ L-1,x,y,z and DC coefficient g′ L-1,x,y,z ; Then, f′ L-1,x,y,z No more transformation will be performed, and quantization coding will be performed directly, g′ L-1,x,y,z The nearest neighbor will continue to be searched for transformation. If no neighbor is found, it will be directly passed to the L-2 layer. That is, the RAHT transformation is only effective for nodes with neighbor points. Nodes without neighbor points will be directly passed to the previous layer. In the above transformation process, g′ L,2x,y,z The weights (the number of non-empty child nodes in the node) corresponding to g′L, 2x+2, y, and z are w′ respectively. L,2x,y,z and w′L,2x+1,y,z (abbreviated as w′0 and w′1), g′ L-1,x,y,z The weight is w′ L-1,x,y,z , then the general transformation formula (22) is:

[0292]

[0293] For example, where T w0,w1 The transformation matrix is ​​determined according to the following formula (23):

[0294]

[0295] The transformation matrix will be updated as the weights corresponding to each point change adaptively. The above process will be iterated and updated continuously according to the partitioning structure of the octree until the root node of the octree is reached.

[0296] The following is an introduction to region-adaptive hierarchical prediction transform coding.

[0297] Regionally adaptive hierarchical predictive transform coding is based on RAHT transform coding. As shown in Figure 8N, RAHT attribute transform is based on the order of the octree hierarchy, and the transform is continuously performed at the voxel level until the root node is obtained, thus completing the hierarchical transform coding of the entire attribute. In predictive transform coding, attribute predictive transform coding is also based on the order of the octree hierarchy, but the transform is continuously performed from the root node to the voxel level.

[0298] During each RAHT attribute transformation, attribute prediction transform coding is performed on a 2x2x2 block. As shown in Figure 9A, the dark gray block is the current block to be coded (or the current node to be coded), and the light gray blocks are some neighboring blocks (i.e., neighboring nodes) that are coplanar and collinear with the current block to be coded.

[0299] Figure 9B is a schematic diagram of a process of region-adaptive hierarchical predictive transform coding according to an embodiment of the present application. As shown in Figure 9B , first, N neighboring blocks of the current block are determined.

[0300] Next, normalization is performed.

[0301] Exemplarily, the attributes of the current block and the neighboring blocks are normalized by the following methods shown in formulas (24) to (26):

[0302] A node =∑ p∈node attribute(p) (24)

[0303] w node =∑ p∈node 1=#{p∈node} (25)

[0304] a node =A node / w node (26)

[0305] Specifically, first, the attributes of the current block are obtained by the attributes of the points contained in the current block, that is, the attribute A of the current block is obtained by simply adding the attributes of the points contained in the current block. node Secondly, the attributes of the current block and the number of points in the current block are normalized to obtain the mean value a of the current block attributes. node .

[0306] Then, the current block is up-sampled to obtain the child nodes included in the current block, as shown in c in FIG. 9B .

[0307] Next, prediction and denormalization are performed using the attribute mean of the current block and the neighboring blocks. For example, linear weighted fitting is performed on the neighboring attributes of the current block and then denormalized to obtain the attribute information of the predicted block of the current block.

[0308] For example, Figure (d) in FIG9B is the attribute information of the current block, and Figure (e) is the attribute information of the predicted block of the current block.

[0309] Finally, the attribute information of the current block and the attribute information of the predicted block of the current block are transformed to obtain the DC and AC coefficients corresponding to the current block and the DC and AC coefficients corresponding to the predicted block. The AC coefficients of the current block are subtracted from the AC coefficients of the predicted block to obtain the AC coefficient residual, which is then encoded.

[0310] As can be seen from the above, in the regional adaptive hierarchical predictive transform coding and decoding, it is first necessary to search for the N neighboring nodes of the current node, and then predict the attribute information of the current node based on the attribute information of these N neighboring nodes. However, when searching for the neighboring nodes of the current node, a full search is usually performed. For example, all nodes in the layer where the current node is located are searched. For example, if the current layer where the current node is located includes 10,000 nodes, all 10,000 nodes are searched to determine the N neighboring nodes of the current node. When searching, the codec device usually loads these 10,000 nodes into the memory for searching, which will take up a large amount of memory and reduce the coding and decoding performance of the codec device.

[0311] To address the aforementioned technical issues, an embodiment of the present application determines a first parameter when encoding and decoding the attribute information of the current point. This first parameter is used to indicate the neighborhood search range. Based on this neighborhood search, the N neighboring nodes of the current node are then determined. Furthermore, based on the attribute information of these N neighboring nodes, the attribute information of the current node is predictively decoded to obtain a reconstructed attribute value for the current node. That is, the embodiment of the present application uses the first parameter to indicate the neighborhood search range, thereby fixing the size of the neighborhood search range, reducing the proportion of device memory occupied during the neighborhood node search, and thereby improving the decoding performance of point cloud attributes.

[0312] The following describes the point cloud encoding and decoding method involved in the embodiments of the present application in conjunction with specific embodiments.

[0313] First, taking the decoding end as an example, the point cloud decoding method provided in the embodiment of the present application is introduced.

[0314] Figure 10 is a schematic diagram of a point cloud decoding method according to an embodiment of the present application. The point cloud decoding method according to an embodiment of the present application can be implemented by the point cloud decoding device or point cloud decoder shown in Figure 3 or Figure 4B above.

[0315] As shown in FIG10 , the point cloud decoding method of the embodiment of the present application includes:

[0316] S101: Determine a first parameter.

[0317] The first parameter is used to indicate the neighborhood search range.

[0318] As can be seen from the above, a point cloud includes geometric information and attribute information, and decoding of a point cloud includes geometric decoding and attribute decoding. The embodiments of the present application relate to attribute decoding of a point cloud.

[0319] In this embodiment of the application, point cloud attribute decoding is performed after point cloud geometry decoding. That is, in this embodiment of the application, the point cloud's geometry information is first decoded to obtain a point cloud after geometry decoding. Next, based on the point cloud after geometry decoding, the point cloud's attribute information is decoded.

[0320] In some embodiments, when decoding the attribute information of the point cloud, the point cloud is divided into a tree based on the geometric information of the point cloud, for example, an octree is divided, and attribute prediction decoding is performed on each node in the octree.

[0321] Taking the octree division of the point cloud as an example, before the attribute decoding, the decoding end has decoded the geometric information of the point cloud. Therefore, in some embodiments, when decoding the attribute information of the point cloud, the octree structure of the point cloud is first constructed based on the decoded geometric information of the point cloud. As shown in Figure 11, the point cloud is surrounded by a minimum rectangular block, and the bounding box is divided into octrees to obtain 8 nodes. The occupied nodes among these 8 nodes, that is, the nodes including the points, continue to be divided into octrees, and so on, until the division is to the voxel level, for example, to a 1X1X1 cube. The point cloud octree structure obtained by such division consists of multiple layers of nodes, for example, N layers. When decoding the attributes, the attribute information of each layer of nodes is decoded layer by layer until the voxel-level leaf nodes of the last layer are decoded.

[0322] In the embodiments of the present application, the attribute information decoding process for any node in the octree whose attribute information is to be decoded is basically the same. For ease of description, the attribute information decoding process for a node in the octree is used as an example. In the subsequent description, the node whose attribute information is to be decoded is referred to as the current node. In other words, the current node in the embodiments of the present application can be understood as any node in the point cloud partition tree (e.g., the octree) whose attribute information is to be decoded.

[0323] In some embodiments, when decoding the attribute information of the current node, it is necessary to determine the N neighboring nodes of the current node. For example, among the nodes whose attribute information has been decoded, search for neighboring nodes that are coplanar, colinear, or co-point with the current node, and then predict and decode the attribute information of the current node based on the attribute information of these N neighboring nodes.

[0324] Currently, when determining the N neighboring nodes of the current node, a full search is usually performed, such as searching in all the nodes whose attributes have been decoded, or searching in the nodes of the current layer where the current node is located. In some cases, when searching for the N neighboring nodes of the current node, the decoding device first loads all the nodes within the search range into the memory, such as loading them into the neighborhood reference cache in the memory. When searching for neighboring nodes in the current layer where the current node is located, assuming that the current layer includes a large number of nodes, such as tens of thousands of nodes, or more nodes, the relevant technology does not limit the search range, but loads all these tens of thousands of nodes into the memory, and then searches in the memory to obtain the N neighboring nodes of the current node. This will take up a large amount of memory, and the memory of the decoding device is limited, which will reduce the decoding performance of the decoding device.

[0325] In order to solve the above technical problems, the embodiment of the present application limits the neighborhood search range through a first parameter, so that when the decoding device determines the neighborhood node of the current node, it searches within the neighborhood search range indicated by the first parameter, thereby reducing the proportion of device memory occupied during the neighborhood node search, and thereby improving the point cloud attribute decoding performance of the decoding device.

[0326] In some embodiments, the neighborhood search range can be understood as a search range for searching neighborhood nodes.

[0327] In some embodiments, the neighborhood search range can be understood as a search radius of neighborhood nodes.

[0328] The embodiment of the present application does not select the specific form of expression of the neighborhood search range.

[0329] In a possible implementation, the neighborhood search range may refer to a preset number of nodes, for example, the neighborhood search range is P nodes. Exemplarily, the decoding end performs a neighborhood node search among the P nodes near the current node.

[0330] In a possible implementation, the neighborhood search range refers to a preset distance, for example, the neighborhood search range is a distance s. Exemplarily, the decoding end searches for neighboring nodes in nodes within a distance m from the current node.

[0331] The specific process of determining the first parameter at the decoding end is introduced below.

[0332] In some embodiments, the first parameter may be a preset value or a default value. That is, the encoder and decoder determine the preset value or the default value as the neighborhood search range.

[0333] In some embodiments, the encoding end determines a first parameter and writes the first parameter into the bitstream, so that the decoding end obtains the first parameter by decoding the bitstream, and then obtains the neighborhood search range of the current node based on the first parameter.

[0334] The embodiment of the present application does not limit the specific form of expression of the first parameter.

[0335] Exemplarily, the field raht_prediction_search_range may be used to represent the first parameter.

[0336] The embodiment of the present application does not limit the specific position of the first parameter in the code stream.

[0337] In some embodiments, the code stream includes an attribute parameter set (APS), and the first parameter may be included in the APS. The embodiment of the present application does not limit the specific location and specific form of the first parameter in the ASP.

[0338] In one example, the syntax of the attribute parameter set data unit is shown in Table 3:

[0339] Table 3

[0340] As shown in Table 3, the field raht_prediction_search_range represents the first parameter.

[0341] In this example, the decoder obtains the first parameter raht_prediction_search_range by decoding the syntax elements shown in Table 3, and then obtains the value of the neighborhood search range or the search radius of the neighborhood node according to the first parameter raht_prediction_search_range.

[0342] In some embodiments, the encoding end may also write the first parameter into other locations in the code stream except the APS. Correspondingly, the decoding end obtains the first parameter by decoding from other locations. This embodiment of the present application does not impose any limitation on this.

[0343] After the decoding end determines the first parameter based on the above steps, it executes the following step S102.

[0344] S102: Determine N neighboring nodes of the current node based on the neighborhood search range.

[0345] After determining the first parameter based on the above steps, the decoding end can determine the neighborhood search range, and then determine the N neighboring nodes of the current node based on the neighborhood search range. In other words, in the embodiment of the present application, the decoding end searches for the neighboring nodes of the current node within the neighborhood search range indicated by the first parameter, thereby controlling the neighborhood search range, avoiding large-scale device memory usage during the neighborhood node search, and thereby improving the attribute decoding performance of the point cloud.

[0346] The embodiment of the present application does not limit the specific method of determining the N neighboring nodes of the current node based on the neighborhood search range.

[0347] In some embodiments, when decoding the attribute information of the current node, the attribute information of some nodes in the point cloud has already been decoded. Therefore, based on the neighborhood search range, a portion of nodes from these nodes whose attribute information has been decoded are first selected for the neighborhood node search. If no nodes are found, or the number of nodes searched does not reach the expected value, a new portion of nodes is selected for the neighborhood node search based on the neighborhood search range, and so on, until a neighborhood node that meets the preset requirements is found.

[0348] For example, assuming there are 1000 nodes whose attributes have been decoded, and the neighborhood search range indicated by the first parameter is 50, then 50 nodes are first selected from the 1000 nodes whose attribute information has been decoded, and the current node's neighboring nodes are searched among these 50 nodes. If no neighboring nodes are found, or the number of neighboring nodes found does not meet the requirement, 50 nodes are newly selected from the remaining 950 nodes, and the current node's neighboring nodes are searched among these new 50 nodes, and so on, until a neighboring node that meets the preset requirements is found.

[0349] In some embodiments, since octree partitioning indicates that the attributes of nodes in the same layer are highly correlated, when searching for neighboring nodes of the current node, the search is performed among the nodes in the current layer where the current node resides. Based on this, the decoder can select a portion of nodes from the nodes included in the current layer for neighboring node search based on the neighborhood search range. If no neighboring nodes are found, or the number of nodes searched does not reach the expected value, a new portion of nodes from the nodes included in the current layer are reselected for neighboring node search based on the neighborhood search range, and so on, until a neighboring node that meets the preset requirements is found.

[0350] For example, assuming that the current layer includes 200 nodes and the neighborhood search range indicated by the first parameter is 50, then 50 nodes are first selected from the 200 nodes in the current layer, and the neighborhood nodes of the current node are searched among these 50 nodes. If no neighborhood nodes are found, or the number of neighborhood nodes found does not meet the requirement, 50 nodes are selected from the remaining 150 nodes in the current layer, and the neighborhood nodes of the current node are searched among these new 50 nodes, and so on, until the neighborhood nodes that meet the preset requirements are found.

[0351] In some embodiments, the above S102 includes the following steps S102-A and S102-B:

[0352] S102-A, based on the neighborhood search range, determine M nodes to be searched of the current node, where M is a positive integer;

[0353] S102-B. Determine N neighboring nodes of the current node based on the M nodes to be searched.

[0354] In this embodiment, the decoding end first determines M nodes to be searched for the current node based on the neighborhood search range indicated by the first parameter. Then, based on these M nodes to be searched, the decoding end determines N neighboring nodes of the current node. For example, based on the neighborhood search range, the decoding end first determines which nodes to search for neighboring nodes, for example, determining to search for neighboring nodes among the M nodes to be searched. In this embodiment, the decoding end determines M nodes to be searched at once based on the neighborhood search range indicated by the first parameter, eliminating the need to frequently change nodes to be searched, further improving the efficiency of neighboring node searches.

[0355] The embodiment of the present application does not limit the specific process of the decoding end determining the M nodes to be searched for the current node based on the neighborhood search range.

[0356] In some embodiments, determining M nodes to be searched from the current layer where the current node is located is used as an example for description. Based on the neighborhood search range indicated by the first parameter, the decoding end determines the M nodes to be searched from the nodes in the current layer whose attribute information has been decoded. For example, based on the attribute decoding order of the nodes in the current layer and based on the neighborhood search range, the M nodes to be searched are selected from the nodes in the current layer whose attributes have been decoded.

[0357] In one example, if the neighborhood search range is P nodes, the decoding end selects P nodes from the nodes whose attributes have been decoded according to the attribute decoding order of the nodes in the current layer as the M nodes to be searched for the current node. At this time, M=P.

[0358] In another example, if the neighborhood search range is a distance s, the decoding end selects several attribute-decoded nodes within a distance s as the M nodes to be searched of the current node, starting from the first attribute-decoded node, according to the attribute decoding order of the nodes in the current layer.

[0359] In some embodiments, the M nodes to be searched include the current node. That is, the decoding end determines the M nodes to be searched of the current node from the nodes with decoded attributes near the current node based on the neighborhood search range.

[0360] In some embodiments, the decoding end determines M nodes to be searched for the current node through the following steps S102-A1:

[0361] S102-A1. Based on the neighborhood search range and the current node, determine M nodes to be searched among the nodes included in the current layer.

[0362] In this embodiment, in order to further improve the accuracy of determining the nodes to be searched, the decoding end determines M nodes to be searched among the nodes included in the current layer based on the neighborhood search range indicated by the first parameter of the current node.

[0363] In the embodiment of the present application, the decoding end determines M nodes to be searched from the nodes included in the current layer based on the neighborhood search range and the current node. Specific methods include, but are not limited to, the following:

[0364] In method 1, the decoding end determines the nodes before the current node in the current layer and within the neighborhood search range as the M nodes to be searched for the current node.

[0365] In one example, assuming that the neighborhood search range is P nodes, the decoding end determines the P nodes whose attribute information has been decoded and are located before the current node in the current layer as the M nodes to be searched for the current node.

[0366] Optionally, if the number Q of nodes whose attribute information has been decoded before the current node in the current layer is less than P, the Q nodes whose attribute information has been decoded before the current node in the current layer are used as the M nodes to be searched for the current node, and M=Q at this time.

[0367] In another example, if the neighborhood search range is a distance s, the decoding end uses the nodes in the current layer whose attribute information has been decoded and is located within a distance s before the current node as the M nodes to be searched for the current node.

[0368] In mode 2, the decoding end determines the nodes after the current node in the current layer and within the neighborhood search range as the M nodes to be searched of the current node.

[0369] In one example, assuming that the neighborhood search range is P nodes, the decoding end determines the P nodes whose attribute information has been decoded and are located after the current node in the current layer as the M nodes to be searched of the current node.

[0370] Optionally, if the number Q of nodes whose attribute information has been decoded after the current node in the current layer is less than P, the Q nodes whose attribute information has been decoded after the current node in the current layer are used as the M nodes to be searched for the current node, and M=Q at this time.

[0371] In another example, if the neighborhood search range is a distance s, the decoding end uses the nodes whose attribute information has been decoded and are located within a distance s after the current node in the current layer as the M nodes to be searched for the current node.

[0372] Mode 3: The decoding end uses the current node as the search center and half of the neighborhood search range as the search radius, and determines M nodes to be searched of the current node among the nodes included in the current layer.

[0373] In one example, assuming that the neighborhood search range is P nodes, the decoding end determines the P / 2 nodes whose attribute information has been decoded before the current node in the current layer, and the P / 2 nodes whose attribute information has been decoded after the current node, as the M nodes to be searched for the current node.

[0374] Optionally, if the number of nodes in the current layer whose attribute information has been decoded before the current node is less than P / 2, then each node in the current layer whose attribute information has been decoded before the current node is taken as part of the M nodes to be searched for the current node.

[0375] Optionally, if the number of nodes in the current layer whose attribute information has been decoded after the current node is less than P / 2, then each node in the current layer whose attribute information has been decoded after the current node is taken as part of the M nodes to be searched for the current node.

[0376] In another example, if the neighborhood search range is a distance s, the decoding end uses the nodes whose attribute information has been decoded within a distance s / 2 before the current node in the current layer, and the nodes whose attribute information has been decoded within a distance s / 2 after the current node as the M nodes to be searched for the current node.

[0377] Mode 4: The decoding end uses the current node as the search center and the neighborhood search range as the search radius, and determines M nodes to be searched among the nodes included in the current layer.

[0378] Exemplarily, as shown in FIG12 , i is the current node, with the current node i as the search center and the neighborhood search range as the search radius, the M nodes to be searched for the current node are determined among the nodes included in the current layer. Since the M nodes to be searched are all nodes whose attribute information has been decoded, the decoding end can determine the M nodes to be searched for the current node among the nodes included in the current layer by taking the current node i as the search center and determining the nodes whose attribute information has been decoded within the neighborhood search range to the left of the current node in the current layer, as well as the nodes whose uncle information has been decoded within the neighborhood search range to the right of the current node, as the M nodes to be searched for the current node.

[0379] Based on different representations of the neighborhood search range, in method 4, the decoding end determines M nodes to be searched in the following ways:

[0380] In one example, assuming that the neighborhood search range is P nodes, the decoding end determines the P nodes whose attribute information has been decoded before the current node in the current layer, and the P nodes whose attribute information has been decoded after the current node, as the M nodes to be searched for the current node.

[0381] Optionally, if the number of nodes in the current layer whose attribute information has been decoded before the current node is less than P, then each node in the current layer whose attribute information has been decoded before the current node is used as part of the M nodes to be searched for the current node.

[0382] Optionally, if the number of nodes in the current layer whose attribute information has been decoded after the current node is less than P, then each node in the current layer whose attribute information has been decoded after the current node is taken as part of the M nodes to be searched for the current node.

[0383] In another example, if the neighborhood search range is a distance s, the decoding end uses the nodes whose attribute information has been decoded within a distance s before the current node in the current layer, and the nodes whose attribute information has been decoded within a distance s after the current node as the M nodes to be searched for the current node.

[0384] From the above, it can be seen that in the embodiment of the present application, the decoding end determines M nodes to be searched based on the neighborhood search range indicated by the first parameter, and then searches for N neighboring nodes of the current node among these M nodes to be searched, rather than searching for neighboring nodes in the entire current layer, thereby reducing the search range of neighboring nodes, saving memory, improving search efficiency, and thus improving the efficiency of point cloud attribute decoding.

[0385] Based on the above steps, the decoding end determines the M neighboring nodes of the current node and then executes the above step S102-B.

[0386] In the embodiment of the present application, in the above S102-B, the methods for determining the N neighboring nodes of the current node based on the M nodes to be searched include but are not limited to the following:

[0387] Mode 1: The decoder determines N neighboring nodes of the current node from the M nodes to be searched based on geometric information. In this case, the above S102-B includes the following step S102-B1:

[0388] S102-B1. Based on the geometric information of the current node and the geometric information of the M nodes to be searched, search and obtain N neighboring nodes from the M nodes to be searched.

[0389] In this method 1, as can be seen from the above, the geometric information of the point cloud has been decoded, so the decoding end can determine the N neighboring nodes of the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched.

[0390] In some embodiments, the N neighboring nodes include at least one of the following: at least one node coplanar with the current node, at least one node colinear with the current node, and at least one node co-pointed with the current node.

[0391] In one example, if the N neighboring nodes include at least one node that is coplanar with the current node, the decoding end determines at least one node to be searched that is coplanar with the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched, and determines the at least one search node as at least one coplanar node among the N neighboring nodes of the current node.

[0392] In one example, if the N neighboring nodes include at least one node that is collinear with the current node, the decoding end determines at least one node to be searched among the M nodes to be searched that is collinear with the current node based on the geometric information of the current node and the geometric information of the M nodes to be searched, and determines the at least one search node as at least one collinear node among the N neighboring nodes of the current node.

[0393] In one example, if the N neighboring nodes include at least one node that has a common point with the current node, the decoding end determines at least one node to be searched that has a common point with the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched, and determines the at least one search node as at least one common point node among the N neighboring nodes of the current node.

[0394] Method 2: Based on Morton code or Hilbert code, N neighboring nodes of the current node are determined among M nodes to be searched.

[0395] As can be seen from the above, the geometric information of the point cloud has been decoded, so the geometric information of each node in the octree is known. Based on this, the decoding end can determine the Morton code or Hilbert code of the current node and the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched. Because the attribute information of nodes with similar Morton codes or Hilbert codes is relatively similar, the current node and the M nodes to be searched are sorted based on the Morton code or Hilbert code of the current node and the M nodes to be searched. From the sorted current node and the M nodes to be searched, the N nodes to be searched closest to the current node are selected as the N neighboring nodes of the current node.

[0396] In some embodiments, the decoding end may also search for N neighboring nodes of the current node from the M nodes to be searched in other ways.

[0397] In some embodiments, the N neighboring nodes of the current node may include, in addition to at least one node that is coplanar with the current node, and / or at least one node that is colinear with the current node, and / or at least one node that is co-pointed with the current node, nodes within a preset range, such as a node that is one node away from the current node.

[0398] In some embodiments, the above-mentioned N is a fixed value, for example, the above-mentioned N=3, but the decoding end, based on the above-mentioned steps, searches for 3 nodes coplanar with the current node, 5 nodes colinear with the current node, and 3 nodes co-pointing with the current node from the M nodes to be searched, then selects 3 nodes from these 11 nodes as neighboring nodes of the current node, for example, selects 3 nodes coplanar with the current node as 3 neighboring nodes of the current node. In one example, if the decoding end determines, based on the above-mentioned steps, that one neighboring node meets the requirements from the M nodes to be searched, then the decoding end may use at least one neighboring node of the co-located node as a neighboring node of the current node, or expand the neighborhood search range indicated by the above-mentioned first parameter to search for more neighboring nodes of the current node within a larger search range.

[0399] In some embodiments, the above-mentioned N is a variable value. For example, if the decoding end searches, based on the above steps, for M nodes to be searched, and finds that there are 3 nodes coplanar with the current node, 5 nodes colinear with the current node, and 3 nodes co-pointed with the current node, then these 11 nodes are determined as the N neighboring nodes of the current node. For another example, if the decoding end searches, based on the above steps, for M nodes to be searched, and finds that there are 3 nodes coplanar with the current node, and 5 nodes colinear with the current node, then these 8 nodes are determined as the N neighboring nodes of the current node.

[0400] In some embodiments, the memory of the decoding device includes a neighborhood reference cache. In this case, the decoding end performs the above-mentioned step S102-A, that is, after determining the M nodes to be searched of the current node based on the neighborhood search range indicated by the first parameter, the M neighborhood nodes are stored in the neighborhood reference cache. In this way, the decoding end determines the N neighborhood nodes of the current node based on the nodes included in the neighborhood reference cache. That is, in the embodiment of the present application, the decoding end stores the M nodes to be searched in the neighborhood reference cache instead of storing all nodes in the current layer in the neighborhood reference cache. This can reduce the proportion of memory occupied by the neighborhood reference cache, allowing the decoding device to use more memory for other attribute decoding operations, thereby improving the attribute decoding efficiency of the point cloud.

[0401] The embodiment of the present application does not limit the specific manner in which the decoding end stores the M nodes to be searched in the neighborhood reference cache.

[0402] In one possible implementation, all nodes in the neighborhood reference cache are deleted, and the M nodes to be searched are stored in the neighborhood reference cache. That is, in this implementation, when predicting attributes for different nodes, the decoder deletes all nodes already cached in the neighborhood reference cache before storing the M nodes to be searched for the current node in the neighborhood reference cache, resulting in an idle neighborhood reference cache. The M nodes to be searched for the current node are then stored in this idle neighborhood reference cache. This simplifies operations on the decoder and reduces attribute decoding complexity.

[0403] In another possible implementation, nodes in the neighborhood reference cache that differ from the M nodes to be searched are deleted to obtain a neighborhood reference cache after the node deletion; and nodes in the M nodes to be searched that differ from the neighborhood reference cache are stored in the neighborhood reference cache after the node deletion. In other words, in this implementation, nodes in the current neighborhood reference cache that differ from the M nodes to be searched for the current node are deleted, while nodes that are identical to the M nodes to be searched for the current node are retained. At the same time, nodes in the M nodes to be searched that are not included in the current neighborhood reference cache are stored in the neighborhood reference cache, thereby reducing the number of node updates.

[0404] After the decoding end determines the N neighboring nodes of the current node based on the above steps, it executes the following step S103.

[0405] S103: Based on the attribute information of the N neighboring nodes, perform attribute prediction decoding on the current node.

[0406] The decoding end determines N neighboring nodes of the current node from the nodes whose attributes have been decoded based on the first parameter, and then performs attribute prediction decoding on the current node based on the attribute information of the N neighboring nodes.

[0407] The embodiment of the present application does not limit the specific manner in which the decoding end performs attribute prediction decoding on the current node based on the attribute information of N neighboring nodes.

[0408] In some embodiments, the decoding end can weight the attribute information of N neighboring nodes to obtain the attribute prediction value of the current node, decode the code stream, obtain the attribute residual value of the current node, and then add the attribute residual and the attribute prediction value to obtain the attribute reconstruction value of the current node.

[0409] In some embodiments, the above S103 includes the following steps S103-A and S103-B:

[0410] S103-A, determining attribute prediction values ​​of child nodes of the current node based on attribute information of N neighboring nodes;

[0411] S103-B. Obtain attribute reconstruction values ​​of the child nodes of the current node based on the attribute prediction values ​​of the child nodes of the current node.

[0412] In this embodiment, performing attribute prediction decoding on the current node includes predictive decoding on the attribute information of the child nodes of the current node. In other words, the decoding end predictively decodes the attribute information of the child nodes of the current node based on the attribute information of the N neighboring nodes of the current node.

[0413] As shown in Figure 9B , after determining the N neighboring nodes of the current node based on the above steps, the decoder performs upsampling on the current node to obtain its child nodes. Based on the attribute information of the N neighboring nodes, the decoder then predicts the attribute prediction values ​​of each of the current node's child nodes. The attribute prediction values ​​of the current node's child nodes constitute the predicted node for the current node.

[0414] The following describes a specific process of determining the attribute prediction value of the child node of the current node based on the attribute information of N neighboring nodes at the decoding end.

[0415] In the embodiment of the present application, the specific process of determining the attribute prediction value of each child node of the current node based on the attribute information of N neighboring nodes is consistent. For the sake of convenience of description, the process of determining the attribute prediction value of the i-th child node of the current node is used as an example to illustrate.

[0416] In the embodiment of the present application, the specific manners in which the decoding end determines the attribute prediction value of the i-th child node of the current node based on the attribute information of the N neighboring nodes include but are not limited to the following:

[0417] Method 1: Select one or more neighboring nodes closest to the i-th child node from the N neighboring nodes. Based on the attribute information of these one or more neighboring nodes, determine the attribute prediction value of the i-th child node. For example, the average of the attribute information of these one or more neighboring nodes is used as the attribute prediction value of the i-th child node.

[0418] Method 2: The above S103-A includes the following steps:

[0419] S103-A1. For the i-th child node of the current node, determine the weighted weights between the i-th child node and the N neighboring nodes based on the distances between the i-th child node and the N neighboring nodes, where i is a positive integer.

[0420] S103-A2: Based on the weighted weights between the i-th child node and the N neighboring nodes, weight the attribute information of the N neighboring nodes to obtain the attribute prediction value of the i-th child node.

[0421] In the second method, the decoding end determines the weighted weight between the i-th child node and the N neighboring nodes based on the distance between the i-th child node and the N neighboring nodes, and then weights the attribute information of the N neighboring nodes based on the weighted weight between the i-th child node and the N neighboring nodes to obtain the attribute prediction value of the i-th child node.

[0422] In some embodiments, the N neighboring nodes include the current node itself.

[0423] For example, as shown in FIG13 , the current node includes 4 neighboring nodes, including the current node itself, a up is the i-th child node in the current node, a k is the geometric center of the kth neighbor node among the four neighbor nodes, d k is the geometric distance between the i-th child node and the k-th neighboring node.

[0424] Exemplarily, the decoding end determines the attribute prediction value of the i-th child node based on the following formula (27):

[0425] in, Represents the attribute prediction value of the i-th child node, j represents the index of the j-th neighbor node in the N neighbor nodes, represents the attribute information of the jth neighborhood node (i.e., attribute reconstruction value), Represents the weighted weight between the jth neighbor node and the i-th child node.

[0426] For example, the weighted weight between the jth neighboring node and the ith child node can be determined by the following formula (28):

[0427] Among them, (x i ,y i ,z i ) is the geometric coordinate of the i-th child node, (x ij ,y ij ,z ij ) are the geometric coordinates of the jth neighborhood node.

[0428] The above example takes determining the attribute prediction value of the i-th child node in the current node as an example. Other nodes in the current node can also use the above steps to determine the attribute prediction values.

[0429] After the decoding end determines the attribute prediction value of each child node in the current node based on the above steps, it executes the above step S103-B to obtain the attribute reconstruction value of the child node of the current node based on the attribute prediction value of the child node of the current node.

[0430] The embodiment of the present application does not limit the specific manner in which the decoding end obtains the attribute reconstruction value of the child node of the current node based on the attribute prediction value of the child node of the current node.

[0431] In some embodiments, the decoding end decodes the code stream to obtain the attribute residual value of each child node in the current node, and then adds the attribute residual value of each child node to the attribute prediction value of each child node to obtain the attribute reconstruction value of each child node in the current node.

[0432] In some embodiments, the above S103-B includes the following steps S103-B1 to S103-B4:

[0433] S103-B1, decoding the code stream to obtain the transform coefficient residual value of the child node of the current node;

[0434] S103-B2, transform the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node;

[0435] S103-B3, obtaining a reconstructed transform coefficient value of a child node of the current node based on the transform coefficient residual value and the transform coefficient prediction value of the child node of the current node;

[0436] S103-B4. Perform an inverse transformation based on the transformation coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

[0437] In this embodiment, the decoding end adopts a transform prediction method to determine the attribute reconstruction value of each child node of the current node.

[0438] Specifically, the encoder determines the transform coefficient residual value of each child node of the current node, and then writes the transform coefficient residual value of each child node into the bitstream. For example, the encoder quantizes the transform coefficient residual value of each child node and writes the quantized transform coefficient residual value into the bitstream.

[0439] In this way, the decoding end decodes the bitstream to obtain the transform coefficient residual value of each child node in the current node. For example, the decoded bitstream obtains the quantized transform coefficient residual value of each child node, and the quantized transform coefficient residual value is dequantized to obtain the transform coefficient residual value of each child node in the current node.

[0440] Next, the attribute prediction values ​​of the child nodes of the current node determined above are transformed to obtain transformation coefficient prediction values ​​of the child nodes of the current node.

[0441] Then, based on the transform coefficient residual values ​​and transform coefficient prediction values ​​of the child nodes of the current node, transform coefficient reconstruction values ​​of the child nodes of the current node are obtained. For example, the transform coefficient residual values ​​and transform coefficient prediction values ​​of each child node of the current node are added together to obtain the transform coefficient reconstruction values ​​of each child node.

[0442] Finally, the transformation coefficient reconstruction values ​​of the child nodes of the current node are inversely transformed to obtain the attribute reconstruction values ​​of the child nodes of the current node.

[0443] In the embodiment of the present application, the attribute prediction value of the child node of the current node at the decoding end is transformed to obtain the transformation coefficient prediction value of the child node of the current node without any limitation on the specific transformation method.

[0444] In some embodiments, the decoding end uses a regional adaptive hierarchical transform (i.e., RAHT transform) to perform a predictive transform on the child nodes of the current node. In this case, the transform coefficients include high-frequency coefficients (i.e., AC coefficients). In this case, the steps S103-B1 to S103-B4 can be replaced by the following steps:

[0445] Step 1: Decode the code stream to obtain the high-frequency coefficient residual value of the child node of the current node;

[0446] Step 2: Perform a regional adaptive hierarchical transformation on the attribute prediction values ​​of the child nodes of the current node to obtain the high-frequency coefficient prediction values ​​of the child nodes of the current node;

[0447] Step 3: Based on the high-frequency coefficient residual value and the high-frequency coefficient prediction value of the child node of the current node, obtain the high-frequency coefficient reconstruction value of the child node of the current node;

[0448] Step 4: Perform a regional adaptive hierarchical inverse transform based on the high-frequency coefficient reconstruction values ​​of the child nodes of the current node to obtain the attribute reconstruction values ​​of the child nodes of the current node.

[0449] In this embodiment, if the decoder uses RAHT transform prediction, the decoder decodes the bitstream to obtain the AC coefficient residual value of each child node in the current node. In one example, if the encoder quantizes the AC coefficient residual value and writes it into the bitstream, the decoder decodes the bitstream to obtain the quantized AC coefficient residual value of each child node, and dequantizes the quantized AC coefficient residual value to obtain the AC coefficient residual value of each child node.

[0450] Next, the decoding end performs RAHT transformation on the attribute prediction value of the child node of the current node to obtain the AC coefficient prediction value of the child node of the current node.

[0451] Exemplarily, the decoding end performs RAHT transformation on the attribute prediction value of the child node of the current node by the method shown in the following formula (29) to obtain the AC coefficient prediction value of the child node of the current node:

[0452] Among them, the current node includes k child nodes, A 1,up is the predicted value of the first child node of the current node, A k,up is the predicted value of the kth child node of the current node, AC 1,up to AC k-1,up The predicted values ​​of k-1 AC coefficients corresponding to k child nodes. "*" indicates 1 DC coefficient corresponding to k child nodes. node1 is the transformation matrix corresponding to the prediction node of the current node, which is determined by the number of points included in each child node. w1 is the weight corresponding to the first child node, w k is the weight corresponding to the kth child node.

[0453] Then, the decoding end adds the AC coefficient residual value and the AC coefficient prediction value of the child node of the current node to obtain the AC coefficient reconstructed value of the child node of the current node.

[0454] Exemplarily, the decoding end obtains the reconstructed AC coefficient value of the child node of the current node through the following formula (30):

[0455] Among them, AC 1,res to AC k-1,res is the k-1 AC coefficient residual values ​​corresponding to the k child nodes included in the current node, AC 1,rec to AC k-1,rec Reconstruct the k-1 AC coefficients corresponding to the k child nodes of the current node.

[0456] Finally, the RAHT inverse transform is performed based on the AC coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

[0457] Exemplarily, the decoding end obtains the attribute reconstruction value of the child node of the current node through the following formula (31):

[0458] Among them, T node2 is the transformation matrix corresponding to the current node, which is related to the number of points included in the current node. A1,rec is the attribute reconstruction value of the first child node in the current node. k,rec Rebuild the value of the attribute of the kth child node of the current node.

[0459] In some embodiments, the decoding end performs an inverse RAHT transform based on the low-frequency coefficient (ie, DC coefficient) of the current node and the AC coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

[0460] Exemplarily, the decoding end obtains the attribute reconstruction value of the child node of the current node through the following formula (32):

[0461] Wherein, DC is the DC coefficient of the current node.

[0462] In an embodiment of the present application, the decoding end can determine the attribute reconstruction value of each child node in the current node based on the above formula (31) or (32), and realize the attribute prediction decoding of the child nodes of the current node.

[0463] As can be seen from the above, in this embodiment of the present application, the neighborhood search range is controlled by a first parameter. Based on the neighborhood search range indicated by the first parameter, N neighboring nodes of the current node are searched for. Based on the attribute information of these N neighboring nodes, attribute prediction decoding of the current node is performed. In other words, this embodiment of the present application uses the first parameter to indicate the size of the neighborhood search range, making the neighborhood search range smaller, thereby saving memory resources of the decoding device and improving the decoding performance of point cloud attributes.

[0464] In order to further illustrate the decoding effect of the point cloud decoding method proposed in the embodiment of the present application, the decoding efficiency of the attributes when the first parameter raht_prediction_search_range is set to different values ​​is demonstrated below.

[0465] In one example, when the first parameter raht_prediction_search_range is 128, the decoding efficiency of the attributes is as shown in Table 4 and Table 5:

[0466] Table 4

[0467] Table 5

[0468] It can be seen from Table 4 and Table 5 above that if the first parameter is 128, the solution of the embodiment of the present application can bring about a 3.6% loss under conditions C1 and C2, but the time complexity is reduced by 5%.

[0469] In one example, when the first parameter raht_prediction_search_range is 512, the decoding efficiency of the attributes is as shown in Table 6 and Table 7:

[0470] Table 6

[0471] Table 7

[0472] It can be seen from Tables 4 to 7 above that the smaller the first parameter raht_prediction_search_range is set, the greater the impact on attribute decoding efficiency.

[0473] In the point cloud decoding method provided in the embodiments of the present application, when decoding attributes, the decoding end first determines a first parameter, which is used to indicate a neighborhood search range. Then, based on the neighborhood search range indicated by the first parameter, the decoding end searches for N neighboring nodes of the current node, and then performs attribute prediction decoding on the current node based on the attribute information of these N neighboring nodes. In other words, the embodiments of the present application use the first parameter to indicate the neighborhood search range, making the neighborhood search range controllable, avoiding excessive memory resource usage during the neighborhood search, thereby conserving memory resources of the decoding device and improving the decoding performance of point cloud attributes.

[0474] The above takes the decoding end as an example to introduce in detail the point cloud decoding method provided in the embodiment of the present application. The following takes the encoding end as an example to introduce the point cloud encoding method provided in the embodiment of the present application.

[0475] Figure 14 is a schematic diagram of a point cloud encoding method according to an embodiment of the present application. The point cloud encoding method according to the embodiment of the present application can be implemented by the point cloud encoding device shown in Figure 3 or Figure 4A above.

[0476] As shown in FIG14 , the point cloud encoding method of the embodiment of the present application includes:

[0477] S201: Determine a first parameter.

[0478] The first parameter is used to indicate the neighborhood search range.

[0479] As can be seen from the above, a point cloud includes geometric information and attribute information, and encoding of a point cloud includes geometric encoding and attribute encoding. The embodiments of the present application relate to attribute encoding of a point cloud.

[0480] In the embodiment of the present application, the point cloud attribute encoding is performed after the point cloud geometry encoding. That is, in the embodiment of the present application, the point cloud geometry information is encoded first, and then the point cloud attribute information is encoded.

[0481] In some embodiments, when encoding the attribute information of the point cloud, the point cloud is divided into a tree based on the geometric information of the point cloud, such as an octree, and attribute prediction encoding is performed on each node in the octree.

[0482] Taking the octree division of the point cloud as an example, in some embodiments, when encoding the attribute information of the point cloud, the octree structure of the point cloud is first constructed based on the geometric information of the point cloud. As shown in FIG11 , the point cloud is surrounded by a minimum rectangular parallelepiped, and the bounding box is divided into octrees to obtain 8 nodes. The occupied nodes among these 8 nodes, that is, the nodes including the points, continue to be divided into octrees, and so on, until the division is to the voxel level, for example, to a 1X1X1 cube. The point cloud octree structure obtained by such division consists of multiple layers of nodes, for example, N layers. When encoding the attributes, the attribute information of each layer of nodes is encoded layer by layer until the voxel-level leaf nodes of the last layer are encoded.

[0483] In the embodiment of the present application, the attribute information encoding process for any node in the octree whose attribute information is to be encoded is basically the same. For ease of description, the attribute information encoding process of a node in the octree is used as an example. In the subsequent description, the node whose attribute information is to be encoded is referred to as the current node. In other words, the current node in the embodiment of the present application can be understood as any node in the point cloud partition tree (e.g., octree) whose attribute information is to be encoded.

[0484] In some embodiments, when encoding the attribute information of the current node, it is necessary to determine the N neighboring nodes of the current node. For example, among the nodes whose attribute information has been encoded, search for neighboring nodes that are coplanar, colinear, or co-point with the current node, and then predictively encode the attribute information of the current node based on the attribute information of these N neighboring nodes.

[0485] At present, when determining the N neighboring nodes of the current node, a full search is usually performed, such as searching in all the nodes whose attributes have been encoded, or searching in the nodes of the current layer where the current node is located. In some cases, when searching for the N neighboring nodes of the current node, the encoding device first loads all the nodes within the search range into the memory, such as loading them into the neighborhood reference cache in the memory. When searching for neighboring nodes in the current layer where the current node is located, assuming that the current layer includes a large number of nodes, such as tens of thousands of nodes, or more nodes, the relevant technology does not limit the search range, but loads all these tens of thousands of nodes into the memory, and then searches in the memory to obtain the N neighboring nodes of the current node. This will take up a large amount of memory, and the memory of the encoding device is limited, which will reduce the encoding performance of the encoding device.

[0486] In order to solve the above technical problems, the embodiment of the present application limits the neighborhood search range through a first parameter, so that when the encoding device determines the neighborhood node of the current node, it searches within the neighborhood search range indicated by the first parameter, thereby reducing the proportion of device memory occupied during the neighborhood node search, and thereby improving the point cloud attribute encoding performance of the encoding device.

[0487] In some embodiments, the neighborhood search range can be understood as a search range for searching neighborhood nodes.

[0488] In some embodiments, the neighborhood search range can be understood as a search radius of neighborhood nodes.

[0489] The embodiment of the present application does not select the specific form of expression of the neighborhood search range.

[0490] In a possible implementation, the neighborhood search range may refer to a preset number of nodes, for example, the neighborhood search range is P nodes. Exemplarily, the encoder performs a neighborhood node search among the P nodes near the current node.

[0491] In a possible implementation, the neighborhood search range refers to a preset distance, for example, the neighborhood search range is a distance s. Exemplarily, the encoder searches for neighborhood nodes in nodes within a distance m from the current node.

[0492] The specific process of determining the first parameter at the encoding end is introduced below.

[0493] In some embodiments, the first parameter may be a preset value or a default value. That is, the encoder and decoder determine the preset value or the default value as the neighborhood search range.

[0494] In some embodiments, the first parameter is specified by upper-layer semantics.

[0495] In some embodiments, after determining the first parameter, the encoder writes the first parameter into the bitstream, so that the decoder obtains the first parameter by decoding the bitstream, and then obtains the neighborhood search range of the current node based on the first parameter.

[0496] The embodiment of the present application does not limit the specific form of expression of the first parameter.

[0497] Exemplarily, the field raht_prediction_search_range may be used to represent the first parameter.

[0498] The embodiment of the present application does not limit the specific position of the first parameter in the code stream.

[0499] In some embodiments, the code stream includes an attribute parameter set (APS), and the encoder writes the first parameter into the APS.

[0500] The embodiment of the present application does not limit the specific position and specific form of the first parameter in the ASP.

[0501] In one example, the syntax of the attribute parameter set data unit is shown in Table 3.

[0502] In this example, the encoder writes the first parameter raht_prediction_search_range into the ASP to obtain the syntax elements shown in Table 3. The decoder then obtains the first parameter raht_prediction_search_range from the ASP shown in Table 3, and then obtains the value of the neighborhood search range or the search radius of the neighborhood node based on the first parameter.

[0503] In some embodiments, the encoder may also write the first parameter into other locations in the bitstream except the APS. Correspondingly, the decoder obtains the first parameter by decoding from other locations in the bitstream. This embodiment of the present application does not impose any limitation on this.

[0504] After determining the first parameter based on the above steps, the encoding end performs the following step S202.

[0505] S202: Determine N neighboring nodes of the current node based on the neighborhood search range.

[0506] After determining the first parameter based on the above steps, the encoder can determine a neighborhood search range and then, based on the neighborhood search range, determine the N neighboring nodes of the current node. In other words, in this embodiment of the present application, the encoder searches for neighboring nodes of the current node within the neighborhood search range indicated by the first parameter, thereby controlling the neighborhood search range and avoiding large amounts of device memory usage during the neighborhood node search, thereby improving the attribute encoding performance of the point cloud.

[0507] The embodiment of the present application does not limit the specific method of determining the N neighboring nodes of the current node based on the neighborhood search range.

[0508] In some embodiments, when encoding the attribute information of the current node, attribute information of some nodes in the point cloud has already been encoded. Therefore, based on the neighborhood search range, a portion of nodes with encoded attribute information are first selected for the neighborhood node search. If no nodes are found, or the number of nodes searched does not reach the expected value, a new portion of nodes are selected for the neighborhood node search based on the neighborhood search range, and so on, until a neighborhood node that meets the preset requirements is found.

[0509] For example, assuming there are 1000 nodes with encoded attributes, and the first parameter indicates a neighborhood search range of 50, 50 nodes are first selected from the 1000 nodes with encoded attribute information, and the current node's neighborhood nodes are searched among these 50 nodes. If no neighborhood nodes are found, or the number of neighborhood nodes found does not meet the requirement, 50 nodes are reselected from the remaining 950 nodes, and the current node's neighborhood nodes are searched among these new 50 nodes, and so on, until a neighborhood node that meets the preset requirements is found.

[0510] In some embodiments, since octree partitioning indicates that the attributes of nodes in the same layer are highly correlated, when searching for neighboring nodes of the current node, the search is performed among the nodes in the current layer where the current node is located. Based on this, the encoder can select a portion of nodes from the nodes included in the current layer for neighboring node search based on the neighborhood search range. If no neighboring nodes are found, or the number of nodes searched does not reach the expected value, a portion of nodes from the nodes included in the current layer are reselected for neighboring node search based on the neighborhood search range, and so on, until a neighboring node that meets the preset requirements is found.

[0511] For example, assuming that the current layer includes 200 nodes and the neighborhood search range indicated by the first parameter is 50, then 50 nodes are first selected from the 200 nodes in the current layer, and the neighborhood nodes of the current node are searched among these 50 nodes. If no neighborhood nodes are found, or the number of neighborhood nodes found does not meet the requirement, 50 nodes are selected from the remaining 150 nodes in the current layer, and the neighborhood nodes of the current node are searched among these new 50 nodes, and so on, until the neighborhood nodes that meet the preset requirements are found.

[0512] In some embodiments, the above S202 includes the following steps S202-A and S202-B:

[0513] S202-A, based on the neighborhood search range, determine M nodes to be searched of the current node, where M is a positive integer;

[0514] S202-B. Determine N neighboring nodes of the current node based on the M nodes to be searched.

[0515] In this embodiment, the encoder first determines M nodes to be searched for the current node based on the neighborhood search range indicated by the first parameter, and then determines N neighboring nodes of the current node based on these M nodes to be searched. For example, based on the neighborhood search range, the encoder first determines which nodes to search for neighboring nodes, such as determining to search for neighboring nodes among the M nodes to be searched. In this embodiment, the encoder determines M nodes to be searched at once based on the neighborhood search range indicated by the first parameter, eliminating the need to frequently change nodes to be searched, thereby further improving the efficiency of searching for neighboring nodes.

[0516] The embodiment of the present application does not limit the specific process of the encoder determining the M nodes to be searched for the current node based on the neighborhood search range.

[0517] In some embodiments, determining M nodes to be searched from the current layer where the current node is located is used as an example for description. Based on the neighborhood search range indicated by the first parameter, the encoder determines the M nodes to be searched from the nodes in the current layer whose attribute information has been encoded. For example, based on the attribute encoding order of the nodes in the current layer and based on the neighborhood search range, the encoder selects the M nodes to be searched from the nodes in the current layer whose attributes have been encoded.

[0518] In one example, if the neighborhood search range is P nodes, the encoding end selects P nodes from the attribute-encoded nodes according to the attribute encoding order of the nodes in the current layer as the M nodes to be searched for the current node. At this time, M=P.

[0519] In another example, if the neighborhood search range is a distance s, the encoding end selects several attribute-encoded nodes within a distance s as the M nodes to be searched for the current node, starting from the first attribute-encoded node, according to the attribute encoding order of the nodes in the current layer.

[0520] In some embodiments, the M nodes to be searched include the current node. That is, the encoder determines the M nodes to be searched for the current node from the attribute-encoded nodes near the current node based on the neighborhood search range.

[0521] In some embodiments, the encoder determines M nodes to be searched for the current node through the following step S202-A1:

[0522] S202-A1. Based on the neighborhood search range and the current node, determine M nodes to be searched among the nodes included in the current layer.

[0523] In this embodiment, in order to further improve the accuracy of determining the nodes to be searched, the encoding end determines M nodes to be searched among the nodes included in the current layer based on the neighborhood search range indicated by the first parameter of the current node.

[0524] In the embodiment of the present application, the encoder determines M nodes to be searched from the nodes included in the current layer based on the neighborhood search range and the current node. Specific methods include, but are not limited to, the following:

[0525] In method 1, the encoder determines the nodes before the current node in the current layer and within the neighborhood search range as the M nodes to be searched for the current node.

[0526] In one example, assuming that the neighborhood search range is P nodes, the encoder determines the P nodes whose attribute information has been encoded and are located before the current node in the current layer as the M nodes to be searched for the current node.

[0527] Optionally, if the number Q of nodes whose attribute information has been encoded before the current node in the current layer is less than P, the Q nodes whose attribute information has been encoded before the current node in the current layer are used as the M nodes to be searched for the current node, and M=Q at this time.

[0528] In another example, if the neighborhood search range is a distance s, the encoder uses the nodes in the current layer whose attribute information is encoded and located within a distance s before the current node as the M nodes to be searched for the current node.

[0529] In mode 2, the encoder determines the nodes in the neighborhood search range following the current node in the current layer as the M nodes to be searched of the current node.

[0530] In one example, assuming that the neighborhood search range is P nodes, the encoder determines the P nodes whose attribute information has been encoded and are located after the current node in the current layer as the M nodes to be searched for the current node.

[0531] Optionally, if the number Q of nodes whose attribute information has been encoded after the current node in the current layer is less than P, the Q nodes whose attribute information has been encoded after the current node in the current layer are used as the M nodes to be searched for the current node, and M=Q at this time.

[0532] In another example, if the neighborhood search range is a distance s, the encoder uses the nodes whose attribute information has been encoded and is located within a distance s after the current node in the current layer as the M nodes to be searched for the current node.

[0533] In mode 3, the encoder uses the current node as the search center and half of the neighborhood search range as the search radius, and determines M nodes to be searched for the current node from the nodes included in the current layer.

[0534] In one example, assuming that the neighborhood search range is P nodes, the encoding end determines the P / 2 nodes whose attribute information has been encoded before the current node in the current layer, and the P / 2 nodes whose attribute information has been encoded after the current node, as the M nodes to be searched for the current node.

[0535] Optionally, if the number of nodes in the current layer whose attribute information has been encoded before the current node is less than P / 2, then each node in the current layer whose attribute information has been encoded before the current node is taken as part of the M nodes to be searched for the current node.

[0536] Optionally, if the number of nodes in the current layer whose attribute information has been encoded after the current node is less than P / 2, then each node in the current layer whose attribute information has been encoded after the current node is taken as part of the M nodes to be searched for the current node.

[0537] In another example, if the neighborhood search range is a distance s, the encoding end uses the nodes whose attribute information has been encoded within a distance s / 2 before the current node in the current layer, and the nodes whose attribute information has been encoded within a distance s / 2 after the current node as the M nodes to be searched for the current node.

[0538] In mode 4, the encoder uses the current node as the search center and the neighborhood search range as the search radius, and determines M nodes to be searched among the nodes included in the current layer.

[0539] Exemplarily, as shown in FIG12 , i is the current node, the current node i is used as the search center, the neighborhood search range is used as the search radius, and the M nodes to be searched of the current node are determined among the nodes included in the current layer. Since the M nodes to be searched are all nodes whose attribute information has been encoded, the encoding end can determine the M nodes to be searched of the current node among the nodes included in the current layer by taking the current node i as the search center and determining the nodes whose attribute information has been encoded within the neighborhood search range on the left side of the current node in the current layer, as well as the nodes whose uncle information has been encoded within the neighborhood search range on the right side of the current node, as the M nodes to be searched of the current node.

[0540] Based on different representations of the neighborhood search range, in method 4, the encoder determines M nodes to be searched in the following ways:

[0541] In one example, assuming that the neighborhood search range is P nodes, the encoding end determines the P nodes whose attribute information has been encoded before the current node in the current layer, and the P nodes whose attribute information has been encoded after the current node, as the M nodes to be searched for the current node.

[0542] Optionally, if the number of nodes in the current layer whose attribute information has been encoded before the current node is less than P, then each node in the current layer whose attribute information has been encoded before the current node is taken as part of the M nodes to be searched for the current node.

[0543] Optionally, if the number of nodes in the current layer whose attribute information has been encoded after the current node is less than P, then each node in the current layer whose attribute information has been encoded after the current node is taken as part of the M nodes to be searched for the current node.

[0544] In another example, if the neighborhood search range is a distance s, the encoding end uses the nodes whose attribute information has been encoded within a distance s before the current node in the current layer, and the nodes whose attribute information has been encoded within a distance s after the current node as the M nodes to be searched for the current node.

[0545] From the above, it can be seen that in the embodiment of the present application, the encoding end determines M nodes to be searched based on the neighborhood search range indicated by the first parameter, and then searches for N neighboring nodes of the current node among these M nodes to be searched, instead of searching for neighboring nodes in the entire current layer, thereby reducing the search range of neighboring nodes, saving memory, improving search efficiency, and thus improving the efficiency of point cloud attribute coding.

[0546] Based on the above steps, the encoder determines the M neighboring nodes of the current node and then executes the above step S202-B.

[0547] In the embodiment of the present application, in the above S202-B, the methods for determining the N neighboring nodes of the current node based on the M nodes to be searched include but are not limited to the following:

[0548] Mode 1: The encoder determines N neighboring nodes of the current node from the M nodes to be searched based on geometric information. In this case, the above S202-B includes the following step S202-B1:

[0549] S202-B1. Based on the geometric information of the current node and the geometric information of the M nodes to be searched, search and obtain N neighboring nodes from the M nodes to be searched.

[0550] In this method 1, as can be seen from the above, the geometric information of the point cloud has been encoded, so the encoding end can determine the N neighboring nodes of the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched.

[0551] In some embodiments, the N neighboring nodes include at least one of the following: at least one node coplanar with the current node, at least one node colinear with the current node, and at least one node co-pointed with the current node.

[0552] In one example, if the N neighboring nodes include at least one node that is coplanar with the current node, the encoding end determines at least one node to be searched that is coplanar with the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched, and determines the at least one search node as at least one coplanar node among the N neighboring nodes of the current node.

[0553] In one example, if the N neighboring nodes include at least one node that is collinear with the current node, the encoding end determines at least one node to be searched that is collinear with the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched, and determines the at least one search node as at least one collinear node among the N neighboring nodes of the current node.

[0554] In one example, if the N neighboring nodes include at least one node that has a common point with the current node, the encoding end determines at least one node to be searched that has a common point with the current node among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched, and determines the at least one search node as at least one common point node among the N neighboring nodes of the current node.

[0555] Method 2: Based on Morton code or Hilbert code, N neighboring nodes of the current node are determined among M nodes to be searched.

[0556] As can be seen from the above, the geometric information of the point cloud has been encoded, so the geometric information of each node in the octree is known. Based on this, the encoder can determine the Morton code or Hilbert code of the current node and the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched. Because the attribute information of nodes with similar Morton codes or Hilbert codes is relatively similar, the current node and the M nodes to be searched are sorted based on their Morton codes or Hilbert codes. From the sorted current node and the M nodes to be searched, the N nodes to be searched closest to the current node are selected as the N neighboring nodes of the current node.

[0557] In some embodiments, the encoding end may also search for N neighboring nodes of the current node from the M nodes to be searched in other ways.

[0558] In some embodiments, the N neighboring nodes of the current node may include, in addition to at least one node that is coplanar with the current node, and / or at least one node that is colinear with the current node, and / or at least one node that is co-pointed with the current node, nodes within a preset range, such as a node that is one node away from the current node.

[0559] In some embodiments, the above-mentioned N is a fixed value, for example, the above-mentioned N=3, but the encoding end, based on the above-mentioned steps, searches for 3 nodes coplanar with the current node, 5 nodes colinear with the current node, and 3 nodes co-pointed with the current node from the M nodes to be searched, then selects 3 nodes from these 11 nodes as neighboring nodes of the current node, for example, selects 3 nodes coplanar with the current node as 3 neighboring nodes of the current node. In one example, if the encoding end determines, based on the above-mentioned steps, that one neighboring node meets the requirements from the M nodes to be searched, then the encoding end may use at least one neighboring node of the co-located node as a neighboring node of the current node, or expand the neighborhood search range indicated by the above-mentioned first parameter to search for more neighboring nodes of the current node within a larger search range.

[0560] In some embodiments, the above-mentioned N is a variable value. For example, if the encoder, based on the above steps, searches out 3 nodes coplanar with the current node, 5 nodes colinear with the current node, and 3 nodes co-pointed with the current node from among the M nodes to be searched, then these 11 nodes are determined as the N neighboring nodes of the current node. For another example, if the encoder, based on the above steps, searches out 3 nodes coplanar with the current node, and 5 nodes colinear with the current node from among the M nodes to be searched, then these 8 nodes are determined as the N neighboring nodes of the current node.

[0561] In some embodiments, the memory of the encoding device includes a neighborhood reference cache. In this case, the encoding end performs the above-mentioned step S202-A, that is, after determining the M nodes to be searched of the current node based on the neighborhood search range indicated by the first parameter, the M neighborhood nodes are stored in the neighborhood reference cache. In this way, the encoding end determines the N neighborhood nodes of the current node based on the nodes included in the neighborhood reference cache. That is, in the embodiment of the present application, the encoding end stores the M nodes to be searched in the neighborhood reference cache instead of storing all nodes in the current layer in the neighborhood reference cache. This can reduce the proportion of memory occupied by the neighborhood reference cache, allowing the encoding device to use more memory for other attribute encoding operations, thereby improving the attribute encoding efficiency of the point cloud.

[0562] The embodiment of the present application does not limit the specific manner in which the encoder stores the M nodes to be searched in the neighborhood reference cache.

[0563] In one possible implementation, all nodes in the neighborhood reference cache are deleted, and the M nodes to be searched are stored in the neighborhood reference cache. That is, in this implementation, when performing attribute prediction for different nodes, the encoder deletes all nodes already cached in the neighborhood reference cache before storing the M nodes to be searched for the current node in the neighborhood reference cache, resulting in an idle neighborhood reference cache. The M nodes to be searched for the current node are then stored in the idle neighborhood reference cache. This simplifies encoder operations and reduces attribute encoding complexity.

[0564] In another possible implementation, nodes in the neighborhood reference cache that differ from the M nodes to be searched are deleted to obtain a neighborhood reference cache after the node deletion; and nodes in the M nodes to be searched that differ from the neighborhood reference cache are stored in the neighborhood reference cache after the node deletion. In other words, in this implementation, nodes in the current neighborhood reference cache that differ from the M nodes to be searched for the current node are deleted, while nodes that are identical to the M nodes to be searched for the current node are retained. At the same time, nodes in the M nodes to be searched that are not included in the current neighborhood reference cache are stored in the neighborhood reference cache, thereby reducing the number of node updates.

[0565] Based on the above steps, the encoder determines the N neighboring nodes of the current node and then executes the following step S203.

[0566] S203: Perform attribute prediction coding on the current node based on the attribute information of the N neighboring nodes.

[0567] The encoding end determines N neighboring nodes of the current node from the nodes whose attributes have been encoded based on the first parameter, and then performs attribute prediction encoding on the current node based on the attribute information of the N neighboring nodes.

[0568] The embodiment of the present application does not limit the specific manner in which the encoding end performs attribute prediction encoding on the current node based on the attribute information of N neighboring nodes.

[0569] In some embodiments, the encoder can weight the attribute information of N neighboring nodes to obtain a predicted attribute value for the current node, and then subtract the attribute information of the current node from the predicted attribute value to obtain an attribute residual for the current node. The attribute residual for the current node is then encoded to obtain a bitstream. For example, the attribute residual for the current node is quantized and then encoded to obtain the bitstream.

[0570] In some embodiments, the above S203 includes the following steps S203-A and S203-B:

[0571] S203-A, determining attribute prediction values ​​of child nodes of the current node based on attribute information of N neighboring nodes;

[0572] S203-B. Encode based on the attribute prediction value of the child node of the current node to obtain the code stream.

[0573] In this embodiment, performing attribute prediction encoding on the current node includes performing prediction encoding on the attribute information of the child nodes of the current node. In other words, the encoding end performs prediction encoding on the attribute information of the child nodes of the current node based on the attribute information of the N neighboring nodes of the current node.

[0574] As shown in Figure 9B , after determining the N neighboring nodes of the current node based on the above steps, the encoder performs upsampling on the current node to obtain its child nodes. Based on the attribute information of the N neighboring nodes, the encoder then predicts the attribute prediction values ​​of each of the current node's child nodes. The attribute prediction values ​​of the current node's child nodes constitute the predicted node for the current node.

[0575] The following describes the specific process of determining the attribute prediction value of the child node of the current node based on the attribute information of N neighboring nodes at the encoder end.

[0576] In the embodiment of the present application, the specific process of determining the attribute prediction value of each child node of the current node based on the attribute information of N neighboring nodes is consistent. For the sake of convenience of description, the process of determining the attribute prediction value of the i-th child node of the current node is used as an example to illustrate.

[0577] In the embodiment of the present application, the specific manner in which the encoder determines the attribute prediction value of the i-th child node of the current node based on the attribute information of the N neighboring nodes includes but is not limited to the following:

[0578] Method 1: Select one or more neighboring nodes closest to the i-th child node from the N neighboring nodes. Based on the attribute information of these one or more neighboring nodes, determine the attribute prediction value of the i-th child node. For example, the average of the attribute information of these one or more neighboring nodes is used as the attribute prediction value of the i-th child node.

[0579] Method 2: The above S203-A includes the following steps:

[0580] S203-A1. For the i-th child node of the current node, determine the weighted weights between the i-th child node and the N neighboring nodes based on the distances between the i-th child node and the N neighboring nodes, where i is a positive integer;

[0581] S203-A2: Based on the weighted weights between the i-th child node and the N neighboring nodes, weight the attribute information of the N neighboring nodes to obtain the attribute prediction value of the i-th child node.

[0582] In the second method, the encoding end determines the weighted weight between the i-th child node and the N neighboring nodes based on the distance between the i-th child node and the N neighboring nodes, and then weights the attribute information of the N neighboring nodes based on the weighted weight between the i-th child node and the N neighboring nodes to obtain the attribute prediction value of the i-th child node.

[0583] In some embodiments, the N neighboring nodes include the current node itself.

[0584] For example, as shown in FIG13 , the current node includes 4 neighboring nodes, including the current node itself, a up is the i-th child node in the current node, a k is the geometric center of the kth neighbor node among the four neighbor nodes, d k is the geometric distance between the i-th child node and the k-th neighboring node.

[0585] Exemplarily, the encoder determines the attribute prediction value of the i-th child node based on the following formula (27):

[0586] in, Represents the attribute prediction value of the i-th child node, j represents the index of the j-th neighbor node in the N neighbor nodes, represents the attribute information of the jth neighborhood node (i.e., attribute reconstruction value), Represents the weighted weight between the jth neighbor node and the i-th child node.

[0587] For example, the weighted weight between the jth neighboring node and the ith child node can be determined by the following formula (28):

[0588] Among them, (x i ,y i ,z i ) is the geometric coordinate of the i-th child node, (x ij ,y ij ,z ij ) are the geometric coordinates of the jth neighborhood node.

[0589] The above example takes determining the attribute prediction value of the i-th child node in the current node as an example. Other nodes in the current node can also use the above steps to determine the attribute prediction values.

[0590] After determining the attribute prediction value of each child node in the current node based on the above steps, the encoder executes the above step S203-B to perform encoding based on the attribute prediction value of the child nodes of the current node to obtain a bitstream.

[0591] In the embodiment of the present application, the encoding end encodes the attribute prediction value of the child node of the current node, and the specific method of obtaining the code stream is not limited.

[0592] In some embodiments, the encoder subtracts the attribute information of each child node of the current node from the attribute prediction value of each child node of the current node to obtain the attribute residual value of each child node of the current node. Next, the attribute residual value of each child node of the current node is encoded to obtain a bitstream. For example, the attribute residual value of each child node of the current node is quantized and then encoded to obtain the bitstream.

[0593] In some embodiments, the above S203-B includes the following steps S203-B1 to S203-B4:

[0594] S203-B1, transform the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node;

[0595] S203-B2, transforming the attribute information of the child nodes of the current node to obtain the transformation coefficients of the child nodes of the current node;

[0596] S203-B3, obtaining a transform coefficient residual value of the child node of the current node based on the transform coefficient of the child node of the current node and the transform coefficient prediction value of the child node of the current node;

[0597] S203-B4: Obtain a code stream based on the transform coefficient residual values ​​of the child nodes of the current node.

[0598] In this embodiment, the encoding end adopts a transform prediction method to perform predictive encoding on the attribute information of each child node of the current node.

[0599] First, the encoder transforms the attribute prediction values ​​of the child nodes of the current node to obtain the transformation coefficient prediction values ​​of the child nodes of the current node.

[0600] Next, the encoding end transforms the attribute information of the child nodes of the current node to obtain the transformation coefficients of the child nodes of the current node.

[0601] Then, the encoder obtains the transform coefficient residual values ​​of the child nodes of the current node based on the transform coefficients and the transform coefficient prediction values ​​of the child nodes of the current node. For example, the transform coefficients of each child node of the current node are subtracted from the transform coefficient prediction value to obtain the transform coefficient residual value of each child node.

[0602] Finally, the transform coefficient residual values ​​of the child nodes of the current node are encoded to obtain a bit stream.

[0603] For example, the transform coefficient residual values ​​of the child nodes of the current node are directly encoded to obtain a code stream.

[0604] For another example, the transform coefficient residual values ​​of the child nodes of the current node are quantized and then encoded to obtain a bit stream.

[0605] In the embodiment of the present application, the attribute prediction value of the child node of the current node at the encoding end is transformed to obtain the specific transformation method of the transformation coefficient prediction value of the child node of the current node without any limitation.

[0606] In some embodiments, the encoder uses a regional adaptive hierarchical transform (RAHT transform) to perform a predictive transform on the child nodes of the current node. In this case, the transform coefficients include high-frequency coefficients (AC coefficients). In this case, the steps S203-B1 to S203-B4 can be replaced by the following steps:

[0607] Step 1: Perform a regional adaptive hierarchical transformation on the attribute prediction values ​​of the child nodes of the current node to obtain the high-frequency coefficient prediction values ​​of the child nodes of the current node;

[0608] Step 2: Perform a regional adaptive hierarchical transformation on the attribute prediction values ​​of the child nodes of the current node to obtain the high-frequency coefficients of the child nodes of the current node;

[0609] Step 3: Based on the high frequency coefficients of the child nodes of the current node and the high frequency coefficient prediction values, obtain the high frequency coefficient residual values ​​of the child nodes of the current node;

[0610] Step 4: Obtain a bitstream based on the high-frequency coefficient residual values ​​of the child nodes of the current node.

[0611] In this embodiment, if the encoding end adopts RAHT transform prediction, as shown in Figure 9B, the encoding end performs RAHT encoding on the attribute prediction value of the child node of the current node (i.e., d in Figure 9B) and the attribute information of the child node of the current node (i.e., e in Figure 9B), respectively, to obtain the AC coefficient prediction value and AC coefficient of the child node of the current node.

[0612] Exemplarily, the encoder obtains the AC coefficients of the child nodes of the current node by the method shown in the following formula (33):

[0613] Among them, the current node includes k child nodes, A1,orig is the attribute information of the first child node of the current node, A k,orig is the attribute information of the kth child node of the current node, AC 1,orig to AC k-1,orig The k-1 AC coefficients corresponding to the k child nodes. "*" represents 1 DC coefficient corresponding to the k child nodes. node2 is the transformation matrix corresponding to the current node, which is determined by the number of points included in each child node of the current node. w1 is the weight corresponding to the first child node, w k is the weight corresponding to the kth child node.

[0614] Similarly, the encoder can determine the predicted value of the AC coefficient of the child node of the current node by the method shown in the above formula (29).

[0615] Next, the encoder subtracts the AC coefficient of the child node of the current node from the AC coefficient prediction value to obtain the AC coefficient residual value of the child node of the current node.

[0616] Exemplarily, the encoder obtains the AC coefficient residual value of the child node of the current node through the following formula (34):

[0617] Among them, AC 1,res to AC k-1,res The k-1 AC coefficient residual values ​​corresponding to the k child nodes included in the current node.

[0618] Finally, the RAHT inverse transform is performed based on the reconstructed AC coefficient values ​​of the child nodes of the current node to obtain the residual values ​​of the AC coefficients of the child nodes of the current node.

[0619] In an embodiment of the present application, the encoding end can determine the AC coefficient residual value of each sub-node in the current node based on the above formula (34), and then obtain the code stream based on the AC coefficient residual value of each sub-node in the current node.

[0620] For example, the AC coefficient residual value of each child node in the current node is directly encoded to obtain a code stream.

[0621] For another example, the AC coefficient residual value of each child node in the current node is quantized and then encoded to obtain a bit stream.

[0622] In the point cloud encoding method provided in the embodiments of the present application, during attribute encoding, the encoder first determines a first parameter, which is used to indicate a neighborhood search range. Then, based on the neighborhood search range indicated by the first parameter, the encoder searches for N neighboring nodes of the current node. Then, based on the attribute information of these N neighboring nodes, attribute prediction encoding is performed on the current node. In other words, the embodiments of the present application use the first parameter to indicate the neighborhood search range, making the neighborhood search range controllable, avoiding excessive memory resource usage during the neighborhood search, thereby conserving memory resources of the encoding device and improving the encoding performance of point cloud attributes.

[0623] 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, a variety of simple modifications can be made to the technical solution of the present application, 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 unless there is any contradiction. In order to avoid unnecessary repetition, the present application will not further explain various possible combinations. For another example, the various different embodiments of the present application can also be arbitrarily combined, and as long as they do not violate the ideas of the present application, they should also be regarded as the contents disclosed in the present application.

[0624] It should also be understood that in the various method embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and 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. In addition, in the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three types of relationships can exist. Specifically, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the related objects before and after are in an "or" relationship.

[0625] The above describes in detail the method embodiment of the present application in conjunction with Figures 10 to 14 , and the following describes in detail the device embodiment of the present application in conjunction with Figures 15 to 16 .

[0626] Figure 15 is a schematic block diagram of the point cloud decoding device provided in an embodiment of the present application.

[0627] As shown in FIG15 , the point cloud decoding device 10 may include:

[0628] A parameter determination unit 11 is configured to determine a first parameter, where the first parameter is used to indicate a neighborhood search range;

[0629] A neighbor node determining unit 12 is configured to determine N neighbor nodes of a current node based on the neighborhood search range, where N is a positive integer;

[0630] The decoding unit 13 is configured to perform attribute prediction decoding on the current node based on the attribute information of the N neighboring nodes.

[0631] In some embodiments, the parameter determination unit 11 is specifically configured to decode the code stream to obtain the first parameter.

[0632] In some embodiments, the code stream includes a property parameter set, the property parameter set includes the first parameter, and the parameter determination unit 11 decodes the code stream to obtain the property parameter set, and obtains the first parameter from the property parameter set.

[0633] In some embodiments, the neighborhood node determination unit 12 is specifically configured to determine M nodes to be searched of the current node based on the neighborhood search range, where M is a positive integer; and determine N neighborhood nodes of the current node based on the M nodes to be searched.

[0634] In some embodiments, the neighborhood node determination unit 12 is specifically configured to determine the M nodes to be searched among the nodes included in the current layer where the current node is located based on the neighborhood search range.

[0635] In some embodiments, the neighborhood node determination unit 12 is specifically configured to determine the M nodes to be searched among the nodes included in the current layer based on the neighborhood search range and the current node.

[0636] In some embodiments, the neighborhood node determination unit 12 is specifically configured to determine the M nodes to be searched among the nodes included in the current layer, using the current node as the search center and the neighborhood search range as the search radius.

[0637] In some embodiments, the neighbor node determination unit 12 is specifically configured to search for the N neighbor nodes among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched.

[0638] In some embodiments, the N neighboring nodes include at least one of the following: at least one node coplanar with the current node, at least one node colinear with the current node, and at least one node co-pointed with the current node.

[0639] In some embodiments, the N neighboring nodes include the current node.

[0640] In some embodiments, the neighborhood node determination unit 12 is further used to store the M nodes to be searched in a neighborhood reference cache before determining the N neighborhood nodes of the current node based on the M nodes to be searched; and determine the N neighborhood nodes of the current node based on the nodes included in the neighborhood reference cache.

[0641] In some embodiments, the neighborhood node determination unit 12 is specifically configured to delete all nodes in the neighborhood reference cache and store the M nodes to be searched in the neighborhood reference cache.

[0642] In some embodiments, the neighborhood node determination unit 12 is specifically used to delete the nodes in the neighborhood reference cache that are different from the M nodes to be searched, and obtain the neighborhood reference cache after the nodes are deleted; and store the nodes in the M nodes to be searched that are different from the neighborhood reference cache in the neighborhood reference cache after the nodes are deleted.

[0643] In some embodiments, the decoding unit 13 is specifically used to determine the attribute prediction value of the child node of the current node based on the attribute information of the N neighboring nodes; and obtain the attribute reconstruction value of the child node of the current node based on the attribute prediction value of the child node of the current node.

[0644] In some embodiments, the decoding unit 13 is specifically used to determine, for the i-th child node of the current node, a weighted weight between the i-th child node and the N neighboring nodes based on the distance between the i-th child node and the N neighboring nodes, where i is a positive integer; and based on the weighted weight between the i-th child node and the N neighboring nodes, weight the attribute information of the N neighboring nodes to obtain an attribute prediction value of the i-th child node.

[0645] In some embodiments, the decoding unit 13 is specifically used to decode the code stream to obtain the transform coefficient residual value of the child node of the current node; transform the attribute prediction value of the child node of the current node to obtain the transform coefficient prediction value of the child node of the current node; obtain the transform coefficient reconstruction value of the child node of the current node based on the transform coefficient residual value of the child node of the current node and the transform coefficient prediction value; perform inverse transformation based on the transform coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

[0646] In some embodiments, the transformation coefficient includes a high-frequency coefficient; the decoding unit 13 is specifically used to decode the code stream to obtain the high-frequency coefficient residual value of the child node of the current node; perform a regional adaptive hierarchical transformation on the attribute prediction value of the child node of the current node to obtain the high-frequency coefficient prediction value of the child node of the current node; obtain the high-frequency coefficient reconstruction value of the child node of the current node based on the high-frequency coefficient residual value of the child node of the current node and the high-frequency coefficient prediction value; perform a regional adaptive hierarchical inverse transformation based on the high-frequency coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

[0647] In some embodiments, the decoding unit 13 is specifically used to perform the regional adaptive hierarchical inverse transform based on the low-frequency coefficient of the current node and the high-frequency coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

[0648] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions can refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, the point cloud decoding device 10 shown in Figure 15 can correspond to the corresponding subject in the point cloud decoding method of the embodiment of the present application, and the aforementioned and other operations and / or functions of the various units in the point cloud decoding device 10 are respectively for implementing the corresponding processes in the point cloud decoding method. For the sake of brevity, they will not be described here.

[0649] Figure 16 is a schematic block diagram of the point cloud encoding device provided in an embodiment of the present application.

[0650] As shown in FIG16 , the point cloud encoding device 20 includes:

[0651] A parameter determination unit 21 is configured to determine a first parameter, where the first parameter is used to indicate a neighborhood search range;

[0652] A neighbor node determining unit 22 is configured to determine N neighbor nodes of a current node based on the neighborhood search range, where N is a positive integer;

[0653] The encoding unit 23 is configured to perform attribute prediction encoding on the current node based on the attribute information of the N neighboring nodes.

[0654] In some embodiments, the encoding unit 23 is further configured to write the first parameter into the bitstream.

[0655] In some embodiments, the code stream includes a property parameter set, and the code unit 23 is specifically configured to write the first parameter into the property parameter set.

[0656] In some embodiments, the neighborhood node determination unit 22 is specifically configured to determine M nodes to be searched of the current node based on the neighborhood search range, where M is a positive integer; and determine N neighborhood nodes of the current node based on the M nodes to be searched.

[0657] In some embodiments, the neighborhood node determination unit 22 is specifically configured to determine the M nodes to be searched among the nodes included in the current layer where the current node is located based on the neighborhood search range.

[0658] In some embodiments, the neighborhood node determination unit 22 is specifically configured to determine the M nodes to be searched among the nodes included in the current layer based on the neighborhood search range and the current node.

[0659] In some embodiments, the neighborhood node determination unit 22 is specifically configured to determine the M nodes to be searched among the nodes included in the current layer, using the current node as the search center and the neighborhood search range as the search radius.

[0660] In some embodiments, the neighbor node determination unit 22 is specifically configured to search for the N neighbor nodes among the M nodes to be searched based on the geometric information of the current node and the geometric information of the M nodes to be searched.

[0661] In some embodiments, the N neighboring nodes include at least one of the following: at least one node coplanar with the current node, at least one node colinear with the current node, and at least one node co-pointed with the current node.

[0662] In some embodiments, the N neighboring nodes include the current node.

[0663] In some embodiments, the neighborhood node determination unit 22 is further used to store the M nodes to be searched in a neighborhood reference cache before determining the N neighborhood nodes of the current node based on the M nodes to be searched; and determine the N neighborhood nodes of the current node based on the nodes included in the neighborhood reference cache.

[0664] In some embodiments, the neighborhood node determination unit 22 is specifically configured to delete all nodes in the neighborhood reference cache and store the M nodes to be searched in the neighborhood reference cache.

[0665] In some embodiments, the neighborhood node determination unit 22 is specifically used to delete the nodes in the neighborhood reference cache that are different from the M nodes to be searched, and obtain the neighborhood reference cache after the nodes are deleted; and store the nodes in the M nodes to be searched that are different from the neighborhood reference cache in the neighborhood reference cache after the nodes are deleted.

[0666] In some embodiments, the encoding unit 23 is specifically configured to determine the attribute prediction value of the child node of the current node based on the attribute information of the N neighboring nodes; and perform encoding based on the attribute prediction value of the child node of the current node to obtain the code stream.

[0667] In some embodiments, the encoding unit 23 is specifically used to determine, for the i-th child node included in the current node, a weighted weight between the i-th child node and the N neighboring nodes based on the distance between the i-th child node and the N neighboring nodes, where i is a positive integer; based on the weighted weight between the i-th child node and the N neighboring nodes, weight the attribute information of the N neighboring nodes to obtain an attribute prediction value of the i-th child node.

[0668] In some embodiments, the encoding unit 23 is specifically used to transform the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node; transform the attribute information of the child node of the current node to obtain the transformation coefficient of the child node of the current node; obtain the transformation coefficient residual value of the child node of the current node based on the transformation coefficient of the child node of the current node and the transformation coefficient prediction value of the child node of the current node; obtain the code stream based on the transformation coefficient residual value of the child node of the current node.

[0669] In some embodiments, the encoding unit 23 is specifically used to perform a region-adaptive hierarchical transformation on the attribute prediction values ​​of the child nodes of the current node to obtain high-frequency coefficient prediction values ​​of the child nodes of the current node; perform the region-adaptive hierarchical transformation on the attribute prediction values ​​of the child nodes of the current node to obtain high-frequency coefficients of the child nodes of the current node; obtain high-frequency coefficient residual values ​​of the child nodes of the current node based on the high-frequency coefficients of the child nodes of the current node and the high-frequency coefficient prediction values; and obtain the code stream based on the high-frequency coefficient residual values ​​of the child nodes of the current node.

[0670] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the point cloud coding device 20 shown in FIG16 may correspond to the corresponding subject in the point cloud coding method of the embodiment of the present application, and the aforementioned and other operations and / or functions of each unit in the point cloud coding device 20 are respectively for implementing the corresponding processes in the point cloud coding method. For the sake of brevity, no further description is given here.

[0671] The above describes the apparatus and system of the embodiment of the present application from the perspective of functional units in conjunction with the accompanying drawings. It should be understood that the functional unit can be implemented in the form of hardware, can be implemented by instructions in the form of software, or can be implemented by a combination of hardware and software units. Specifically, the steps of the method embodiment in the embodiment 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 embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software units in the decoding processor. Optionally, the software unit 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 the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.

[0672] FIG17 is a schematic block diagram of an electronic device provided in an embodiment of the present application.

[0673] As shown in FIG17 , the electronic device 30 may be a point cloud decoding device or a point cloud encoding device as described in an embodiment of the present application. The electronic device 30 may include:

[0674] The memory 33 and the processor 32 are configured to store a computer program 34 and transmit the program code 34 to the processor 32. In other words, the processor 32 can call and run the computer program 34 from the memory 33 to implement the method in the embodiment of the present application.

[0675] For example, the processor 32 may be configured to execute the steps of the method 200 according to the instructions in the computer program 34 .

[0676] In some embodiments of the present application, the processor 32 may include but is not limited to:

[0677] General-purpose processor, Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0678] In some embodiments of the present application, the memory 33 includes but is not limited to:

[0679] Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be 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).

[0680] In some embodiments of the present application, the computer program 34 may be divided into one or more units, which are stored in the memory 33 and executed by the processor 32 to implement the method provided by the present application. The one or more units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 34 in the electronic device 30.

[0681] As shown in FIG17 , the electronic device 30 may further include:

[0682] The transceiver 33 may be connected to the processor 32 or the memory 33 .

[0683] The processor 32 can control the transceiver 33 to communicate with other devices. Specifically, it can send information or data to other devices or receive information or data sent by other devices. The transceiver 33 may include a transmitter and a receiver. The transceiver 33 may further include an antenna, and the number of antennas may be one or more.

[0684] It should be understood that the various components in the electronic device 30 are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0685] Figure 18 is a schematic block diagram of the point cloud encoding and decoding system provided in an embodiment of the present application.

[0686] As shown in Figure 18, the point cloud encoding and decoding system 40 may include: a point cloud encoder 41 and a point cloud decoder 42, wherein the point cloud encoder 41 is used to execute the point cloud encoding method involved in the embodiment of the present application, and the point cloud decoder 42 is used to execute the point cloud decoding method involved in the embodiment of the present application.

[0687] The present application also provides a code stream, which is generated according to the above encoding method.

[0688] The present application also provides a computer storage medium having a computer program stored thereon, which, when executed by a computer, enables the computer to perform the method of the above-mentioned method embodiment. In other words, the present application also provides a computer program product containing instructions, which, when executed by a computer, enables the computer to perform the method of the above-mentioned method embodiment.

[0689] 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 or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. 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 one 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.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)).

[0690] Those skilled in the art will appreciate that the units and algorithm 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.

[0691] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0692] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. For example, the functional units in the various embodiments of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0693] The above content is merely a specific embodiment of the present application, but the scope of protection of the present 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 the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A point cloud decoding method, characterized in that: include: Determining a first parameter, wherein the first parameter is used to indicate a neighborhood search range; Based on the neighborhood search range, determine N neighboring nodes of the current node, where N is a positive integer; Based on the attribute information of the N neighboring nodes, attribute prediction decoding is performed on the current node.

2. The method according to claim 1, characterized in that The determining of the first parameter comprises: Decode the code stream to obtain the first parameter.

3. The method according to claim 2, characterized in that The code stream includes a property parameter set, the property parameter set includes the first parameter, and the decoding of the code stream to obtain the first parameter includes: The code stream is decoded to obtain the attribute parameter set, and the first parameter is acquired from the attribute parameter set.

4. The method according to claim 1, characterized in that: The determining N neighboring nodes of the current node based on the neighborhood search range includes: Based on the neighborhood search range, determine M nodes to be searched of the current node, where M is a positive integer; Based on the M nodes to be searched, N neighboring nodes of the current node are determined.

5. The method according to claim 4, characterized in that The determining, based on the neighborhood search range, M nodes to be searched of the current node includes: Based on the neighborhood search range, the M nodes to be searched are determined among the nodes included in the current layer where the current node is located.

6. The method according to claim 5, characterized in that The determining, based on the neighborhood search range, the M nodes to be searched from the nodes included in the current layer where the current node is located, comprises: Based on the neighborhood search range and the current node, the M nodes to be searched are determined among the nodes included in the current layer.

7. The method according to claim 6, characterized in that The determining, based on the neighborhood search range and the current node, the M nodes to be searched among the nodes included in the current layer, comprises: Taking the current node as the search center and the neighborhood search range as the search radius, the M nodes to be searched are determined among the nodes included in the current layer.

8. The method according to claim 4, characterized in that The determining, based on the M nodes to be searched, N neighboring nodes of the current node includes: Based on the geometric information of the current node and the geometric information of the M nodes to be searched, the N neighboring nodes are searched and obtained from the M nodes to be searched.

9. The method according to any one of claims 1 to 8, characterized in that: The N neighboring nodes include at least one of the following: at least one node coplanar with the current node, at least one node colinear with the current node, and at least one node co-pointed with the current node.

10. The method according to any one of claims 1 to 8, characterized in that: The N neighboring nodes include the current node.

11. The method according to any one of claims 4 to 8, characterized in that: Before determining the N neighboring nodes of the current node based on the M nodes to be searched, the method further includes: Storing the M nodes to be searched in a neighborhood reference cache; The determining, based on the M nodes to be searched, N neighboring nodes of the current node includes: Based on the nodes included in the neighborhood reference cache, N neighboring nodes of the current node are determined.

12. The method according to claim 11, characterized in that The step of storing the M nodes to be searched in a neighborhood reference cache includes: All nodes in the neighborhood reference cache are deleted, and the M nodes to be searched are stored in the neighborhood reference cache.

13. The method according to claim 11, characterized in that The step of storing the M nodes to be searched in a neighborhood reference cache includes: Deleting nodes in the neighborhood reference cache that are different from the M nodes to be searched, to obtain a neighborhood reference cache after the nodes are deleted; The nodes among the M nodes to be searched that are different from those in the neighborhood reference cache are stored in the neighborhood reference cache after the nodes are deleted.

14. The method according to any one of claims 1 to 8, characterized in that: The performing attribute prediction decoding on the current node based on the attribute information of the N neighboring nodes includes: Determine the attribute prediction value of the child node of the current node based on the attribute information of the N neighboring nodes; Based on the attribute prediction values ​​of the child nodes of the current node, attribute reconstruction values ​​of the child nodes of the current node are obtained.

15. The method according to claim 14, characterized in that The determining, based on the attribute information of the N neighboring nodes, the attribute prediction value of the child node of the current node includes: For the i-th child node of the current node, based on the distance between the i-th child node and the N neighboring nodes, determine the weighted weight between the i-th child node and the N neighboring nodes, where i is a positive integer; Based on the weighted weights between the i-th child node and the N neighboring nodes, the attribute information of the N neighboring nodes is weighted to obtain the attribute prediction value of the i-th child node.

16. The method according to claim 14, characterized in that The obtaining the attribute reconstruction value of the child node of the current node based on the attribute prediction value of the child node of the current node includes: Decoding the bitstream to obtain the transform coefficient residual value of the child node of the current node; Transforming the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node; Obtaining a transform coefficient reconstruction value of a child node of the current node based on a transform coefficient residual value of a child node of the current node and the transform coefficient prediction value; An inverse transformation is performed based on the transformation coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node.

17. The method according to claim 16, characterized in that The transform coefficients include high frequency coefficients; The decoding bitstream to obtain the transform coefficient residual value of the child node of the current node includes: decoding the bitstream to obtain the high frequency coefficient residual value of the child node of the current node; The transforming the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node includes: performing a region-adaptive hierarchical transformation on the attribute prediction value of the child node of the current node to obtain the high-frequency coefficient prediction value of the child node of the current node; The obtaining, based on the transform coefficient residual value of the child node of the current node and the transform coefficient prediction value, the transform coefficient reconstruction value of the child node of the current node comprises: obtaining, based on the high frequency coefficient residual value of the child node of the current node and the high frequency coefficient prediction value, the high frequency coefficient reconstruction value of the child node of the current node; The inverse transformation is performed based on the transformation coefficient reconstruction values ​​of the child nodes of the current node to obtain the attribute reconstruction values ​​of the child nodes of the current node, including: performing regional adaptive hierarchical inverse transformation based on the high-frequency coefficient reconstruction values ​​of the child nodes of the current node to obtain the attribute reconstruction values ​​of the child nodes of the current node.

18. The method according to claim 17, characterized in that The performing of a regional adaptive hierarchical inverse transformation based on the high frequency coefficient reconstruction value of the child node of the current node to obtain the attribute reconstruction value of the child node of the current node includes: Based on the low-frequency coefficient of the current node and the high-frequency coefficient reconstruction value of the child node of the current node, the regional adaptive hierarchical inverse transformation is performed to obtain the attribute reconstruction value of the child node of the current node.

19. A point cloud encoding method, characterized in that: include: Determining a first parameter, wherein the first parameter is used to indicate a neighborhood search range; Based on the neighborhood search range, determine N neighboring nodes of the current node, where N is a positive integer; Based on the attribute information of the N neighboring nodes, attribute prediction encoding is performed on the current node.

20. The method according to claim 19, characterized in that The method further comprises: The first parameter is written into the bitstream.

21. The method according to claim 20, characterized in that The code stream includes a property parameter set, and writing the first parameter into the code stream includes: The first parameter is written into the attribute parameter set.

22. The method according to claim 19, characterized in that The determining N neighboring nodes of the current node based on the neighborhood search range includes: Based on the neighborhood search range, determine M nodes to be searched of the current node, where M is a positive integer; Based on the M nodes to be searched, N neighboring nodes of the current node are determined.

23. The method according to claim 22, characterized in that The determining, based on the neighborhood search range, M nodes to be searched of the current node includes: Based on the neighborhood search range, the M nodes to be searched are determined among the nodes included in the current layer where the current node is located.

24. The method according to claim 23, characterized in that The determining, based on the neighborhood search range, the M nodes to be searched from the nodes included in the current layer where the current node is located, comprises: Based on the neighborhood search range and the current node, the M nodes to be searched are determined among the nodes included in the current layer.

25. The method according to claim 24, characterized in that The determining, based on the neighborhood search range and the current node, the M nodes to be searched among the nodes included in the current layer, comprises: Taking the current node as the search center and the neighborhood search range as the search radius, the M nodes to be searched are determined among the nodes included in the current layer.

26. The method according to claim 22, characterized in that The determining, based on the M nodes to be searched, N neighboring nodes of the current node includes: Based on the geometric information of the current node and the geometric information of the M nodes to be searched, the N neighboring nodes are searched and obtained from the M nodes to be searched.

27. The method according to any one of claims 19 to 26, characterized in that: The N neighboring nodes include at least one of the following: at least one node coplanar with the current node, at least one node colinear with the current node, and at least one node co-pointed with the current node.

28. The method according to any one of claims 19 to 26, characterized in that: The N neighboring nodes include the current node.

29. The method according to any one of claims 22 to 26, characterized in that: Before determining the N neighboring nodes of the current node based on the M nodes to be searched, the method further includes: Storing the M nodes to be searched in a neighborhood reference cache; The determining, based on the M nodes to be searched, N neighboring nodes of the current node includes: Based on the nodes included in the neighborhood reference cache, N neighboring nodes of the current node are determined.

30. The method according to claim 29, characterized in that The step of storing the M nodes to be searched in a neighborhood reference cache includes: All nodes in the neighborhood reference cache are deleted, and the M nodes to be searched are stored in the neighborhood reference cache.

31. The method according to claim 29, characterized in that The step of storing the M nodes to be searched in a neighborhood reference cache includes: Deleting nodes in the neighborhood reference cache that are different from the M nodes to be searched, to obtain a neighborhood reference cache after the nodes are deleted; The nodes among the M nodes to be searched that are different from those in the neighborhood reference cache are stored in the neighborhood reference cache after the nodes are deleted.

32. The method according to any one of claims 19 to 26, characterized in that: The performing attribute prediction coding on the current node based on the attribute information of the N neighboring nodes includes: Determine the attribute prediction value of the child node of the current node based on the attribute information of the N neighboring nodes; Encoding is performed based on the attribute prediction value of the child node of the current node to obtain a code stream.

33. The method according to claim 32, characterized in that The determining, based on the attribute information of the N neighboring nodes, the attribute prediction value of the child node of the current node includes: For an i-th child node included in the current node, based on the distance between the i-th child node and the N neighboring nodes, determine a weighted weight between the i-th child node and the N neighboring nodes, where i is a positive integer; Based on the weighted weights between the ith child node and the N neighboring nodes, the attribute information of the N neighboring nodes is weighted to obtain the attribute prediction value of the ith child node.

34. The method according to claim 32, characterized in that The encoding based on the attribute prediction value of the child node of the current node to obtain the bit stream includes: Transforming the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node; Transforming the attribute information of the child nodes of the current node to obtain transformation coefficients of the child nodes of the current node; Obtaining a transform coefficient residual value of the child node of the current node based on the transform coefficient of the child node of the current node and the transform coefficient prediction value of the child node of the current node; The code stream is obtained based on the transform coefficient residual values ​​of the child nodes of the current node.

35. The method according to claim 34, characterized in that The transforming the attribute prediction value of the child node of the current node to obtain the transformation coefficient prediction value of the child node of the current node includes: performing a region-adaptive hierarchical transformation on the attribute prediction value of the child node of the current node to obtain the high-frequency coefficient prediction value of the child node of the current node; The transforming the attribute information of the child nodes of the current node to obtain the transform coefficients of the child nodes of the current node includes: performing the region adaptive hierarchical transform on the attribute prediction values ​​of the child nodes of the current node to obtain the high frequency coefficients of the child nodes of the current node; The step of obtaining the attribute residual value of the child node of the current node based on the transform coefficient of the child node of the current node and the transform coefficient prediction value of the child node of the current node comprises: obtaining the high-frequency coefficient residual value of the child node of the current node based on the high-frequency coefficient of the child node of the current node and the high-frequency coefficient prediction value; The obtaining the code stream based on the transform coefficient residual values ​​of the child nodes of the current node includes: obtaining the code stream based on the high-frequency coefficient residual values ​​of the child nodes of the current node.

36. A point cloud decoding device, characterized in that: include: A parameter determination unit, configured to determine a first parameter, wherein the first parameter is used to indicate a neighborhood search range; A neighbor node determination unit, configured to determine N neighbor nodes of a current node based on the neighborhood search range, where N is a positive integer; A decoding unit is used to perform attribute prediction decoding on the current node based on the attribute information of the N neighboring nodes.

37. A point cloud encoding device, characterized in that: include: A parameter determination unit, configured to determine a first parameter, wherein the first parameter is used to indicate a neighborhood search range; A neighbor node determination unit, configured to determine N neighbor nodes of a current node based on the neighborhood search range, where N is a positive integer; The encoding unit is used to perform attribute prediction encoding on the current node based on the attribute information of the N neighboring nodes.

38. An electronic device, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to call and run the computer program stored in the memory to perform the method according to any one of claims 1 to 18 or 19 to 35.

39. A computer-readable storage medium, 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 18 or 19 to 35.

Citation Information

Patent Citations

  • Point cloud data transmitting device and method, and point cloud data receiving device and method

    CN114503571A

  • Decoding and coding methods based on point cloud attribute prediction, decoder and encoder

    CN115086660A

  • Point cloud attribute prediction method and device and related equipment

    CN115474041A

  • Data encoding method and device, data decoding method and device, and storage medium

    WO2021000334A1

  • Data encoding method, data decoding method, devices and storage medium

    WO2021003726A1