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

By utilizing the first context information of the current node and the feature residual information of the decoded node in point cloud encoding and decoding, the problem of inaccurate encoding and decoding caused by the small difference in context information between adjacent nodes in point cloud encoding is solved, thus improving the encoding and decoding performance of point cloud geometric information.

WO2024221458A1PCT designated stage expired Publication Date: 2024-10-31GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Patent Information

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

AI Technical Summary

Technical Problem

In existing point cloud encoding technologies, the small differences in contextual information between adjacent nodes result in low accuracy in encoding and decoding of placeholder information, which affects the geometric encoding and decoding performance of point clouds.

Method used

The accuracy of encoding and decoding is improved by determining the first context information of the current node and processing the feature residual information between it and the second context information of previously decoded nodes. The specific methods include feature information extraction and feature residual determination, so as to more accurately predict the occupancy information of the current node.

Benefits of technology

It improves the encoding and decoding performance of point cloud geometric information and enhances the encoding and decoding effect of current node occupancy information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023091804_31102024_PF_FP_ABST
    Figure CN2023091804_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a point cloud encoding / decoding method and apparatus, a device, and a storage medium. The method comprises: determining first context information of a current node and processing the first context information to obtain first feature information; on the basis of the first feature information and second feature information, determining feature residual information, the second feature information being obtained by processing second context information of a first node, the first node being a node of which placeholder information has been encoded / decoded in a point cloud octree, and further, placeholder information of the current node being encoded / decoded on the basis of the first feature information and the feature residual information. That is to say, a feature difference between the first context information and the second context information is considered when encoding / decoding the placeholder information of the current node in the present application, and further, the placeholder information of the current node can be accurately encoded / decoded on the basis of the first feature information and the feature difference, so that the encoding / decoding performance of point cloud geometric information is improved.
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] Capturing the surface of an object using a collection device creates point cloud data, which can include hundreds of thousands or even more points. During point cloud sequence creation, this 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, so the point cloud encoding device must compress the point cloud data before transmission.

[0003] Point cloud compression, also known as point cloud encoding, involves geometrically encoding the point cloud using an octree partitioning algorithm. The resulting placeholder information for each node is then encoded. For example, the probability distribution of the current node's placeholder information is predicted and encoded based on this probability distribution. However, the contextual information between adjacent nodes currently varies little. Consequently, encoding and decoding placeholder information based on this relatively small contextual information can lead to low accuracy, which in turn impacts the performance of point cloud geometric encoding and decoding.

[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, which improve the encoding and decoding accuracy of the geometric occupancy information of the point cloud, thereby improving the geometric encoding and decoding performance of the point cloud.

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

[0007] Determine first context information of a current node, and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be decoded in the point cloud octree;

[0008] Determining feature residual information based on the first feature information and the second feature information, where the second feature information is obtained by processing second context information of a first node, and the first node is a node whose placeholder information has been decoded in the point cloud octree;

[0009] Based on the first feature information and the feature residual information, placeholder information of the current node is determined.

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

[0011] Determine first context information of a current node, and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be decoded in the point cloud octree;

[0012] Determining feature residual information based on the first feature information and the second feature information, where the second feature information is obtained by processing second context information of a first node, and the first node is a node whose placeholder information has been decoded in the point cloud octree;

[0013] Encode the placeholder information of the current node based on the first feature information and the feature residual information.

[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. The code stream is generated based on the method of the second aspect. Optionally, the code stream includes at least one of a first parameter and a second parameter.

[0024] Based on the above technical solution, when encoding and decoding the placeholder information of the current node, the first context information of the current node is first determined, and the first context information is processed to obtain the first feature information. Then, based on the first feature information and the second feature information, the feature residual information is determined, the second feature information is obtained by processing the second context information of the first node, and the first node is the node whose placeholder information has been encoded and decoded in the point cloud octree, and then based on the first feature information and the feature residual information, the placeholder information of the current node is encoded and decoded. That is to say, in an embodiment of the present application, when encoding and decoding the placeholder information of the current node, not only the first context information of the current node is considered, but also the feature difference between the first context information and the second context information of the first node before the current node is considered, and then based on the first feature information and the feature difference, the placeholder information of the current node can be accurately encoded and decoded, which can improve the encoding and decoding effect of the placeholder information of the current node, and thus improve the encoding and decoding performance of the point cloud geometric information. 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] 5A to 5C are schematic diagrams of placeholder information encoding;

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

[0033] FIG7 is a schematic diagram of an octree partition;

[0034] 8A and 8B are schematic diagrams of a context model;

[0035] 9A and 9B are schematic diagrams of another context model;

[0036] 10A to 10C are schematic diagrams of another context model;

[0037] 11A to 11C are schematic diagrams of another context model;

[0038] 12A to 12C are schematic diagrams of another context model;

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

[0040] FIG14 is a schematic diagram of context model training;

[0041] Figure 15 is a schematic diagram of the defects of cross entropy loss;

[0042] FIG16 is another schematic diagram of context model training;

[0043] FIG17 is a schematic diagram of another context model training;

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

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

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

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

[0048] This application can be applied to the field of point cloud compression technology.

[0049] 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:

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

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

[0052] 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:

[0053] Table 1

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

[0055] 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 telepresence, and three-dimensional reconstruction of biological tissues and organs.

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

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

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

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

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

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

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

[0063] 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;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[0106] 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).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[0124] The following is an introduction to octree-based geometric coding.

[0125] 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 condition is 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.

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

[0127] In octree-based geometric decoding, the decoding end obtains the placeholder code of each node by continuously parsing in the order of breadth-first traversal, and continuously divides the nodes in sequence until a 1X1X1 unit cube is obtained. The division stops and the number of points contained in each leaf node is parsed, and finally the geometric reconstructed point cloud information is restored.

[0128] As can be seen from the above, in G-PCC, the original point cloud is voxelized through the octree model, and the occupancy information (i.e., occupancy status) of the nodes at each level of the octree is encoded through an adaptive arithmetic encoder. Specifically, the adaptive arithmetic encoder contains a manually set context model. This context model predicts the probability distribution of the current node's occupancy information based on information such as the level of the encoded node and the occupancy of the leaf node. The arithmetic encoder will encode the occupancy information of the current node based on the probability distribution given by the context model. Whether the context model can accurately predict the probability distribution of the current node's occupancy information will significantly affect the encoding efficiency of the arithmetic encoder.

[0129] In some embodiments, a deep learning-based context model is proposed to improve the compression efficiency of point cloud geometric information. As shown in Figure 5A, this method first uses an octree structure to partition the original point cloud. Then, the ancestor information of the current node is input as context into a trained MLP-based context model. This MLP-based context model predicts the probability distribution of the current node's placeholder information. Finally, an entropy encoder encodes the current node based on this probability distribution.

[0130] In some embodiments, a context model based on an attention mechanism is also proposed. As shown in FIG5B , this method significantly expands the scale of context information. For example, the context information includes features from the ancestor node of the current node, thousands of sibling nodes, and ancestors of the sibling nodes, thereby achieving a more accurate prediction of the occupancy probability of the node to be encoded. It should be noted that the expansion of context information leads to the introduction of redundant and irrelevant information. For example, different sibling nodes may have the same ancestors, but they appear repeatedly in the context; sibling nodes far away from the current node may have no value in predicting the probability distribution of the current node. To solve the above problem, the method first introduces an attention mechanism. First, the context is input into the attention network to obtain the attention weight. The context information is processed by the attention weight to obtain the processed context information, and the processed context information is input into the MLP network. The MLP network outputs the probability distribution of the occupancy information of the current node. Finally, the entropy encoder encodes the current node according to the above probability distribution.

[0131] As shown in Figures 5A and 5B above, current neural network-based context models use little variation in context information when predicting adjacent nodes. As shown in Figure 5C, when encoding the placeholder information for nodes A and B, the context information used differs by only one node, making it difficult for the context model to accurately predict the probability distribution of the placeholder information for nodes A and B, leading to poor point cloud geometry encoding and decoding performance.

[0132] In order to solve the above technical problems, when encoding and decoding the placeholder information of the current node, the embodiment of the present application first determines the first context information of the current node, and processes the first context information to obtain the first feature information. Then, the first feature information corresponding to the first context information of the current node and the second feature information corresponding to the second context information of the first node whose placeholder information before the current node has been decoded are compared to determine the feature residual information between the two, and then based on the first feature information corresponding to the current node and the above feature residual information, the placeholder information of the current node is encoded and decoded. That is to say, in the embodiment of the present application, when decoding the placeholder information of the current node, not only the first context information of the current node is considered, but also the feature difference between the first context information and the second context information of the first node before the current node is considered, and then based on the first context information and the feature difference, the placeholder information of the current node can be accurately predicted, which can improve the encoding and decoding effect of the placeholder information of the current node, and thus improve the encoding and decoding performance of the point cloud geometric information.

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

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

[0135] Figure 6 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.

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

[0137] S101: Determine first context information of a current node, and process the first context information to obtain first feature information.

[0138] Among them, the current node is the node whose placeholder information is to be decoded in the point cloud octree.

[0139] 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 geometric decoding of a point cloud.

[0140] In some embodiments, the geometric information of the point cloud is also referred to as the position information of the point cloud. Therefore, the geometric decoding of the point cloud is also referred to as the position decoding of the point cloud.

[0141] In the octree-based encoding method, the encoding end constructs an octree structure of the point cloud based on the geometric information of the point cloud. As shown in Figure 7, the point cloud is enclosed by a minimum rectangular block. The bounding box is first divided into 8 nodes by octree, and 8 nodes are obtained. The occupied nodes among these 8 nodes, that is, the nodes including the points, are further 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 includes multiple layers of nodes, for example, N layers. During encoding, the occupancy information of the nodes in each layer is encoded layer by layer until the voxel-level leaf nodes of the last layer are encoded. That is to say, in octree encoding, the point cloud is divided by octree, and finally the points in the point cloud are divided into the voxel-level leaf nodes of the octree. By encoding the entire octree, the encoding of the point cloud geometric information is achieved.

[0142] Correspondingly, the decoding end first decodes the point cloud geometry stream to obtain the occupancy information of the root node of the point cloud's octree. Based on this occupancy information, it determines the child nodes of the root node, that is, the nodes in the second layer of the octree. Next, it decodes the geometry stream to obtain the occupancy information of each node in the second layer. Based on this occupancy information, it determines the nodes in the third layer of the octree. This process continues in this order, ultimately decoding the point cloud's geometry information.

[0143] In some embodiments, when decoding the placeholder information of a node in an octree, the node's context information is processed using a neural network-based context model to predict a probability distribution of the node's placeholder information, and then the placeholder information of the node is determined based on the predicted probability distribution. However, current neural network-based context models, when predicting placeholder information for nodes, suffer from inaccurate predictions due to the small differences in context information corresponding to adjacent nodes. This results in poor performance in decoding the geometric information of the point cloud.

[0144] In an embodiment of the present application, when predicting the placeholder information of a node, feature residual information between the context information of the current node and the previously decoded node is added to highlight the feature difference between the first context information of the current node and the previous node, thereby improving the accurate recognition of the first context information and thus improving the accuracy of determining the placeholder information.

[0145] It should be noted that in the embodiments of the present application, in addition to using the octree partitioning method to partition the point cloud, the decoding end can also use other partitioning methods to partition the point cloud. For example, in some embodiments, the decoding end can also use quadtree, binary tree, and other partitioning methods to partition the point cloud. In some embodiments, the decoding end can also use a combination of octree, quadtree, binary tree, etc. to partition the point cloud. The embodiments of the present application do not limit the specific partitioning method of the point cloud. The following description uses octree partitioning as an example.

[0146] In an embodiment of the present application, the decoding process of the placeholder information of each non-leaf node in the point cloud octree is basically the same at the decoding end. For ease of description, the decoding process of the placeholder information of the current node is taken as an example.

[0147] The current node is a node in the point cloud octree whose placeholder information is to be decoded. In some embodiments, the current node is also referred to as a node to be decoded, or a node whose geometric information is to be decoded.

[0148] In the embodiment of the present application, the current node is a non-leaf node, that is, the current node is any node in the point cloud octree except the leaf node (ie, the voxel node).

[0149] Exemplarily, the placeholder information of the current node can be understood as whether the child nodes of the current node are occupied, that is, whether there are points in the child nodes of the current node. Taking octree partitioning as an example, the current node is divided into 8 child nodes, and it is predicted whether there are points in each of the 8 child nodes. If there are points in the child node, the child node is said to be occupied. If there are no points in the child node, the child node is said to be unoccupied and is an empty node, and no further partitioning is required. For example, among the 8 child nodes of the current node, the first 2 child nodes are occupied, the middle 4 child nodes are not occupied, and the last 2 child nodes are occupied. The placeholder information of the current node is 11000011, where 1 indicates that the child node is occupied and 0 indicates that the child node is an empty node.

[0150] In an embodiment of the present application, when the decoding end decodes the placeholder information of the current node, it first determines the context information of the current node. For the convenience of description, the context information of the current node is recorded as the first context information.

[0151] The embodiment of the present application does not limit the specific manner in which the decoding end determines the first context information of the current node.

[0152] In some embodiments, relevant information of at least one ancestor node of the current node is determined as part or all of the first context information of the current node.

[0153] The embodiment of the present application does not limit the relevant information of the grandparent node, for example, it can be the number of midpoints of the grandparent node, the distance between the grandparent node and the current node, the occupancy information of the grandparent node, etc.

[0154] In some embodiments, relevant information of at least one of the ancestor node of the current node, the sibling node whose geometric information has been decoded, and the ancestor node of the sibling node is determined as part or all of the first context information of the current node.

[0155] In some embodiments, the decoding end may further determine any information that can be used to predict the placeholder information of the current node as part or all of the first context information of the current node.

[0156] That is to say, in the embodiment of the present application, there is no restriction on the specific content of the first context information of the current node, and it may include context information determined by any existing method, context information that can be easily thought of by technical personnel in this field, and context information determined by new technologies in the future.

[0157] Based on the above steps, the decoding end determines the first context information of the current node and then processes the first context information to obtain first feature information.

[0158] The embodiment of the present application does not limit the specific manner in which the decoding end processes the first context information to obtain the first feature information.

[0159] In some embodiments, the decoding end performs feature extraction on the first context information to obtain feature information corresponding to the first context information, and then records the feature information as the first feature information.

[0160] For example, the decoding end inputs the first context information into a feature extraction module to perform feature extraction, and obtains first feature information corresponding to the first context information.

[0161] In some embodiments, the decoding end determines the first feature information through the following steps S101-A and S101-B:

[0162] S101-A. Determine a first weight corresponding to first context information;

[0163] S101-B. Obtain first feature information based on the first weight and first context information.

[0164] In the implementation of the present application, if the first context information includes more content, illustratively, the first context information includes features from the ancestor node of the current node, thousands of sibling nodes, and ancestors of the sibling nodes, but such expansion of the selection of context information will lead to the introduction of redundant and irrelevant information. For example, different sibling nodes may have the same ancestor, but they appear repeatedly in the first context information many times, and sibling nodes far away from the current node may have no value in predicting the probability distribution of the placeholder information of the current node. In order to solve this technical problem, the embodiment of the present application determines the first weight corresponding to each piece of context information in the first context information, and then processes each piece of context information in the first context information based on the first weight to obtain the first feature information.

[0165] In the embodiment of the present application, the specific manner in which the decoding end determines the first weight corresponding to the first context information includes at least the following:

[0166] In Method 1, the first weight corresponding to the first context information is a preset value. For example, if context information 1 in the first context information is related to sibling node 1 of the current node, if sibling node 1 is farther away from the current node, the first weight corresponding to context information 1 is smaller; if sibling node 1 is closer to the current node, the first weight corresponding to context information 1 is larger.

[0167] Method 2: The neural network-based context model includes a fifth module for predicting weights corresponding to the input context information. Thus, the decoding end inputs the first context information into the fifth module of the context model, and the fifth module outputs a first weight corresponding to the first context information. For example, if the first context information includes 10 context sub-information, the fourth module may output a first weight corresponding to each of the 10 context sub-information.

[0168] The embodiment of the present application does not limit the specific network structure of the above-mentioned fifth module, and it can be any neural network that can predict the first weight of the input context information.

[0169] In some embodiments, the above-mentioned fifth module is a channel attention module or a spatial attention module, which can pay different attentions to the input first context information, so as to pay more attention to important information in the first context information and pay less attention to secondary information in the first context information, thereby obtaining the attention weight of each context sub-information in the first context information as the first weight corresponding to the first context information.

[0170] Based on the above steps, the decoding end determines the first weight corresponding to the first context information of the current node and then executes the above step S101 -B.

[0171] The embodiment of the present application does not specifically limit how the decoding end obtains the first feature information based on the first weight corresponding to the first context information and the first context information.

[0172] In some embodiments, the decoding end determines the product of the first weight and the first context information as the first feature information corresponding to the first context information.

[0173] In some embodiments, the decoding end extracts third feature information from the first context information and determines the product of the third feature information and the first weight as the first feature information corresponding to the first context information. Exemplarily, the decoding end extracts the third feature information from the first context information and determines the first weight corresponding to the first context information based on the third feature information, for example by processing the third feature information using a fifth module in the context model to obtain the first weight corresponding to the first context information. The first weight is then multiplied by the third feature information to obtain the first feature information corresponding to the first context information.

[0174] Method 3, as shown in Figure 8A, the neural network-based context model of an embodiment of the present application includes a fourth module. The decoding end processes the first context information through the fourth module in the neural network-based context model to obtain first feature information corresponding to the first context information.

[0175] In some embodiments, before processing the first context information through the fourth module, the decoding end first extracts the feature information of the first context information (such as initial feature information or embedded feature information), records the feature information as the third feature information, and then processes the third feature information of the first context information through the fourth module to obtain the first feature information.

[0176] The embodiment of the present application does not limit the specific network structure of the fourth module.

[0177] In some embodiments, as shown in Figure 8B, the above-mentioned fourth module is an attention module, which performs different attention processing on the first context information (or third feature information) to focus on important information (such as context information corresponding to nodes closer to the current node) and not focus on secondary information (such as context information corresponding to nodes farther away from the current node), so as to obtain more accurate first feature information.

[0178] The embodiments of the present application do not limit the specific network structure of the attention module.

[0179] In one example, the above-mentioned attention module includes a Squeeze-and-Excitation (SE) module, which compresses the first context information (or the third feature information) into a 1*1*C channel attention vector through a convolution operation, and then applies the attention vector to the first context information (or the third feature information) to obtain the first feature information corresponding to the first context information.

[0180] In one example, the attention module includes a convolutional block attention module (CBAM). The convolutional attention module includes a channel attention module and a spatial attention module. First, the first context information (or the third feature information) is processed by a channel attention module to obtain feature information 1, and the feature information 1 is multiplied by the first context information (or the third feature information) to obtain feature information 2. Then, the feature information 2 is processed by a spatial attention module to obtain feature information 3, and the feature information 2 is multiplied by the feature information 3 to obtain the first feature information.

[0181] In one example, the attention module includes at least one of an efficient channel attention (ECA) module, a non-panoramic module, a global texture module, and the like.

[0182] Based on the above steps, the decoding end determines the first context information of the current node, processes the first context information, obtains the first feature information, and then executes the following step S102.

[0183] S102: Determine feature residual information based on the first feature information and the second feature information.

[0184] The second feature information is obtained by processing the second context information of the first node, and the first node is a node whose placeholder information has been decoded in the point cloud octree.

[0185] In an embodiment of the present application, when decoding the placeholder information of any non-leaf node in the point cloud octree, the decoding end executes the above-mentioned step S101 to obtain the first feature information corresponding to the context information of the node. In an embodiment of the present application, in order to improve the decoding accuracy of the placeholder information, the decoding end retains the first feature information corresponding to the context information of the determined node, so that when decoding the placeholder information of the subsequent node, the difference between the context information of the current node and the context information of the previous node can be determined based on the first feature information corresponding to the previous node.

[0186] This embodiment of the present application does not limit the number of first nodes.

[0187] In one example, the first node is a node whose placeholder information has been decoded.

[0188] In one example, the first nodes are multiple nodes whose placeholder information has been decoded.

[0189] For ease of description, the embodiment of the present application records the context information of the first node as second context information.

[0190] In some embodiments, the second feature information corresponding to the second context information is determined differently from the first feature information corresponding to the first context information. For example, the second feature information and the first feature information are feature information output by different layers in a context model based on a neural network, e.g., the second feature information is feature information output by the i+1th layer of the context model, and the first feature information is feature information output by the ith layer of the context model.

[0191] In some embodiments, the second feature information corresponding to the second context information is determined in the same manner as the first feature information corresponding to the first context information. For example, the second feature information and the first feature information are feature information output by the same layer in a context model based on a neural network, e.g., the second feature information is feature information output by the i-th layer of the context model, and the first feature information is also feature information output by the i-th layer of the context model.

[0192] In this embodiment, the process of determining the second characteristic information is consistent with the process of determining the first characteristic information described above.

[0193] Exemplarily, if the first feature information is determined based on the first weight corresponding to the first context information and the first context information, then the second feature information is also determined based on the second weight corresponding to the second context information and the second context information.

[0194] For example, the first feature information is obtained by multiplying the first weight and the first context information, and correspondingly, the second feature information is also obtained by multiplying the second weight and the second context information.

[0195] Exemplarily, if the first feature information is obtained by the decoding end processing the first context information through the fourth module in the context model based on the neural network, correspondingly, the second feature information is obtained by the decoding end processing the second context information through the fourth module in the context model based on the neural network.

[0196] In some embodiments, the decoding end stores the second feature information corresponding to the context information of each node in the point cloud octree whose placeholder information has been decoded. For example, the second feature information corresponding to the context information of all nodes in the point cloud octree whose placeholder information has been decoded is stored in a cache. In this way, when the decoding end decodes the placeholder information of the current node, the decoding end determines the first feature information corresponding to the first context information of the current node based on the above steps, and then obtains the second feature information corresponding to the second context information of the first node from the cache.

[0197] In an example of this embodiment, the first node may be any one or more nodes in the point cloud octree whose placeholder information has been decoded.

[0198] In another example of this embodiment, the first node may be the first node in the point cloud octree that precedes the current node in the decoding order and whose placeholder information has been decoded. For example, after the decoding end completes decoding the placeholder information of the first node, it decodes the placeholder information of the current node.

[0199] In some embodiments, the decoding endpoint stores the second feature information corresponding to the context information of the most recent nodes in the cloud octree whose placeholder information has been decoded. For example, the second feature information corresponding to the context information of all nodes in the point cloud octree whose placeholder information has been decoded most recently is stored in a cache. Thus, when the decoding endpoint decodes the placeholder information of the current node, the decoding endpoint determines the first feature information corresponding to the first context information of the current node based on the above steps, and then obtains the second feature information corresponding to the second context information of the first node from the cache.

[0200] In an example of this embodiment, the first node may be one or more nodes in the point cloud octree whose placeholder information has been decoded in a decoding order before the current node, for example, any one or more nodes in a decoding order before the current node whose most recent placeholder information has been decoded. For example, the decoding order of the nodes in the octree is node 1, node 2, node 3, and node 4. Assume that the placeholder information of node 1, node 2, and node 3 has all been decoded, and the current node is node 4. The decoding end saves the second feature information corresponding to the context information of each of the three nodes, node 1, node 2, and node 3. In this example, the decoding end can determine any one or more nodes among node 1, node 2, and node 3 as the first node.

[0201] In another example of this embodiment, the first node may be the first node in the point cloud octree whose placeholder information has been decoded and precedes the current node in the decoding order. For example, the decoding order of the nodes in the octree is node 1, node 2, node 3, and node 4. Assume that the placeholder information of nodes 1, 2, and 3 has all been decoded, and the current node is node 4. The decoding end stores the second feature information corresponding to the context information of each of the three nodes, node 1, node 2, and node 3. In this example, the decoding end may determine node 3 as the first node.

[0202] In some embodiments, to avoid memory usage caused by a large amount of first feature information being cached on the decoding end, the decoding end saves the second feature information corresponding to the context information of the node whose placeholder information has been most recently decoded in the point cloud octree. For example, the second feature information corresponding to the context information of the node whose placeholder information has been most recently decoded in the point cloud octree is saved in a cache. In this way, when the decoding end decodes the placeholder information of the current node, the decoding end determines the first feature information corresponding to the first context information of the current node based on the above steps, and then obtains the second feature information corresponding to the second context information of the first node from the cache.

[0203] In this embodiment, since only the second feature information corresponding to the context information of one node is stored, the first node is the first node in the point cloud octree whose placeholder information has been decoded and is before the current node in the decoding order.

[0204] In an embodiment of the present application, after the decoding end obtains the first feature information corresponding to the first context information of the current node based on the above steps, it determines the feature residual information based on the first feature information and the saved second feature information.

[0205] For example, the decoding end selects the second feature information corresponding to the second context information of the first node from the second feature information corresponding to the context information of each node stored, and then determines the feature residual information based on the first feature information determined above and the selected second feature information.

[0206] In some embodiments, if the first node is a node, feature residual information is determined based on the second feature information corresponding to the second context information of the first node and the second feature information corresponding to the first context information of the current node. For example, the feature residual information is determined as the difference between the second feature information corresponding to the second context information of the first node and the second feature information corresponding to the first context information of the current node.

[0207] In some embodiments, if the first node is a plurality of nodes, the feature residual information can be determined based on the second feature information corresponding to the second context information of the plurality of first nodes and the second feature information corresponding to the first context information of the current node. Exemplarily, the decoding end first processes the second feature information corresponding to the second context information of the plurality of first nodes to determine a processed feature information. For example, the average value or weighted average value of the second feature information corresponding to the second context information of the plurality of first nodes is determined, and the average value or weighted average value is used as the processed feature information. Optionally, when determining the weighted average value, the weight corresponding to each second feature information can be determined based on the distance between the corresponding first node and the current node, for example, the greater the distance, the smaller the weight, and the smaller the distance, the greater the weight. Then, the decoding end determines the feature residual information based on the determined processed feature information and the second feature information corresponding to the first context information of the current node. For example, the difference between the processed feature information and the second feature information corresponding to the first context information of the current node is determined as the feature residual information.

[0208] In some embodiments, if the first node is a node, the first node may be the node in the point cloud octree whose placeholder information has been decoded most recently, that is, the node whose placeholder information before the current node has been decoded. Since the first node is closer to the current node, the difference in the corresponding context information is smaller. In order to enable the neural network-based context model to more accurately identify the difference between the two context information, the decoding end determines the feature residual information between the two and uses the feature residual information as part of the input information to improve the context model's accurate recognition of the first context information of the current node, thereby obtaining more accurate placeholder information for the current node.

[0209] In some embodiments, if the first node is a plurality of nodes, the plurality of first nodes may be nodes in the point cloud octree whose placeholder information has been decoded the most recently, that is, nodes whose placeholder information has been decoded the closest to the current node. Since the context information of the plurality of first nodes may overlap with the first context information of the current node, in order to enable the neural network-based context model to more accurately identify the feature information of the context information of the current node, the decoding end determines the feature residual information between the current node and the plurality of first nodes, and then uses the feature residual information as part of the input information to improve the context model's accurate recognition of the first context information of the current node, thereby obtaining more accurate placeholder information of the current node.

[0210] Based on the above steps, the decoding end determines the feature residual information between the first feature information corresponding to the first context information of the current node and the second feature information corresponding to the second context information of the first node whose placeholder information has been decoded, and then performs the following step S103.

[0211] S103: Determine the placeholder information of the current node based on the first feature information and the feature residual information.

[0212] As can be seen from the above, in the context model based on neural networks, a window is usually formed in the decoding order or spatial distance. The occupancy of the nodes in the window, the octree level, the relative position of the voxels and other information constitute the first context information for predicting the occupancy information of the current code node. When decoding the next node, the window slides accordingly. The problem with this way of constructing context information is that when decoding adjacent nodes, the difference in context information is small. As shown in Figure 5C, the context information used when decoding adjacent nodes A and B is only one node different. At present, when predicting occupancy information based only on context information, there is a problem of inaccurate prediction, which reduces the geometric decoding performance of the point cloud.

[0213] In an embodiment of the present application, the decoding end determines the first feature information corresponding to the first context information of the current node and the feature residual information between the first feature information corresponding to the second context information of the first node whose placeholder information has been decoded through the above steps. Furthermore, when the placeholder information of the current node is determined based on the feature residual information and the first feature information, it helps the context model to pay attention to the differences between different contexts. A larger feature residual indicates that there is a significant difference between the first context information of the current node and the second context information of the first node. At this time, the placeholder information of the current node should be significantly different from that of the first node. The larger feature residual can obviously act on the context model and output more accurate placeholder information. Similarly, a smaller feature residual indicates that the difference between the first context information of the current node and the second context information of the first node is very small. At this time, the placeholder information of the current node and the placeholder information of the first node will have a high similarity. At this time, the smaller feature residual has less impact on the output of the context model, and the output of the context model will also be more similar to the output of the first node. It can be seen from this that in an embodiment of the present application, when the placeholder information of the current node is determined based on the first feature information and the feature residual information, the accuracy of the determination of the placeholder information can be improved, thereby improving the decoding performance of the point cloud geometric information.

[0214] The embodiment of the present application does not limit the specific manner in which the decoding end determines the placeholder information of the current node based on the first feature information and the feature residual information.

[0215] In some embodiments, the decoding end predicts the placeholder information of the current node based on the first feature information and the feature residual information. For example, the decoding end processes the first feature information and the feature residual information through a context model based on a neural network to predict the placeholder information of the current node. Then, the code stream is decoded to obtain the residual value of the placeholder information of the current node, and the predicted placeholder information of the current node and the decoded residual value of the placeholder information of the current node are added to obtain the placeholder information of the current node. That is to say, in this embodiment, the encoding end predicts the placeholder information of the current node based on the first feature information and the feature residual information, and then determines the residual value of the placeholder information of the current node based on the true value of the placeholder information of the current node and the predicted placeholder information of the current node, and then encodes the residual value of the placeholder information of the current node into the code stream.

[0216] In some embodiments, the decoding end determines the placeholder information of the current node through the following steps S103-A and S103-B:

[0217] S103-A: Based on the first feature information and the feature residual information, predict the probability distribution of the occupancy information of the current node;

[0218] S103-B. Obtain the occupancy information of the current node based on the probability distribution.

[0219] In this embodiment, when determining the placeholder information of the current node, the decoding end first predicts the probability distribution of the placeholder information of the current node based on the first feature information and feature residual information determined above, and then obtains the placeholder information of the current node based on the probability distribution.

[0220] Since the current node is a non-empty node, if the current node includes 8 child nodes, then the occupation status of each of the 8 child nodes of the current node includes 2 types, namely occupied and unoccupied. Therefore, the occupation status of the 8 child nodes of the current node has 2 types. 8 -1=255 possibilities. For example, these 255 possibilities include: 1000000, 10000001, 10000011, etc. In the embodiment of the present application, the decoding end determines the probability value of each of the 255 possibilities based on the first feature information and the feature residual information. These 255 possible probability values ​​constitute the probability distribution of the occupancy information of the current node.

[0221] The embodiment of the present application does not limit the specific manner in which the decoding end predicts the probability distribution of the occupancy information of the current node based on the first feature information and the feature residual information.

[0222] In some embodiments, the neural network-based context model includes a probability prediction module, and the decoding end inputs the first feature information and feature residual information determined above into the probability prediction module for processing, and the probability prediction module outputs the probability distribution of the occupancy information of the current node.

[0223] The embodiment of the present application does not limit the specific network structure of the above-mentioned probability prediction module, and it can be any network model that can determine the probability distribution of occupancy information.

[0224] Exemplarily, as shown in FIG9A , the neural network-based context model includes a fourth module and a probability prediction module. The fourth module is used to process the first context information to obtain the first feature information, and the probability prediction module is used to process the first feature information and the feature residual information to obtain the probability distribution of the occupancy information of the current node. Based on this, as shown in FIG9A , the decoding end inputs the first context information of the current node into the fourth module of the context model, and processes the first context information through the fourth module to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain the feature residual information. Furthermore, after the first feature information and the feature residual information are spliced, they are input into the probability prediction module, and the first feature information and the feature residual information are processed by the probability prediction module to obtain the probability distribution of the occupancy information of the current node.

[0225] The embodiment of the present application does not limit the specific network structure of the fourth module and the probability prediction module.

[0226] In one example, as shown in FIG9B , the fourth module is an attention network, and the probability prediction module is an MLP module. Thus, the decoder inputs the first context information of the current node into the attention network of the context model, and the attention network performs attention processing on the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. Furthermore, the first feature information and the feature residual information are concatenated and input into the MLP module, which processes the first feature information and the feature residual information to obtain the probability distribution of the occupancy information of the current node.

[0227] In some embodiments, the above S103-A includes the following steps S103-A1 and S103-A2:

[0228] S103-A1, determining a predicted value of the occupancy information of the current node;

[0229] S103-A2: Based on the first feature information, the feature residual information, and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0230] When predicting the probability distribution of placeholder information, the prediction problem of the probability distribution of node occupancy information is converted into a 255-dimensional classification problem. The difference between the classes of this 255-dimensional probability distribution is small, and there is a significant internal correlation between different dimensions. The current context model does not pay enough attention to the correlation between different dimensions of the probability distribution, resulting in inaccurate prediction of the probability distribution of placeholder information. In an embodiment of the present application, in order to further improve the accuracy of the probability distribution prediction of the placeholder information of the current node, in addition to determining the above-mentioned feature residual information, the decoding end determines the predicted value of the placeholder information of the current node, and then predicts the probability distribution of the placeholder information of the current node based on the first feature information, the feature residual information and the predicted value, thereby improving the prediction accuracy of the probability distribution. Based on the accurately determined probability distribution, the placeholder information of the current node can be accurately determined, thereby improving the geometric decoding performance of the point cloud.

[0231] The following describes the process of determining the predicted value of the occupancy information of the current node at the decoding end.

[0232] The embodiment of the present application does not limit the specific process of determining the predicted value of the occupancy information of the current node.

[0233] In a possible implementation, the decoding end determines a predicted value of the placeholder information of the current node based on the first feature information.

[0234] For example, a neural network-based context model includes a prediction module for predicting a predicted value of the placeholder information of the current node. Thus, the decoder inputs the first feature information into the prediction module for processing to obtain a predicted value of the placeholder information of the current node.

[0235] The embodiment of the present application does not limit the specific network structure of the prediction module. For example, the prediction module is an MLP module.

[0236] In this implementation, the process of determining the predicted value of the occupancy information of the current node at the decoding end can be performed before the decoding end determines the feature residual information, or after the feature residual information is determined, or simultaneously with the determination of the feature residual information.

[0237] In one possible implementation, the decoding end determines the predicted value of the occupancy information of the current node based on the first feature information and the feature residual information. Exemplarily, the above S103-A1 includes the following steps S103-A11 and S103-A12:

[0238] S103-A11, fusing the first feature information and the feature residual information to obtain first feature fusion information;

[0239] S103-A12: Based on the first feature fusion information, obtain a predicted value of the occupancy information of the current node.

[0240] In this implementation, the decoding end determines the predicted value of the occupancy information of the current node based on the first feature information and the feature residual information. For example, the decoding end fuses the first feature information and the feature residual information to obtain the first feature fusion information.

[0241] In the embodiment of the present application, the specific method of obtaining the first feature fusion information by fusing the first feature information and the feature residual information at the decoding end is not limited.

[0242] For example, the decoding end performs addition or multiplication on the first feature information and the feature residual information to obtain the first feature fusion information.

[0243] For another example, the decoding end concatenates the first feature information and the feature residual information to obtain first feature fusion information.

[0244] After the decoding end determines the first feature fusion information, it obtains a predicted value of the occupancy information of the current node based on the first feature fusion information.

[0245] The embodiment of the present application does not limit the specific manner in which the decoding end obtains the predicted value of the occupancy information of the current node based on the first feature fusion information.

[0246] In one example, the decoding end analyzes and processes the first feature fusion information through a mathematical analysis method to obtain a predicted value of the occupancy information of the current node.

[0247] In one example, as shown in FIG10A , the first module in the neural network-based context model of an embodiment of the present application is configured to predict a predicted value of the placeholder information for the current node. Thus, the decoder processes the first feature fusion information using the first module in the neural network-based context model to obtain a predicted value of the placeholder information for the current node.

[0248] In one example, as shown in FIG10B , the neural network-based context model includes a fourth module and a first module, wherein the fourth module is used to process the first context information to obtain first feature information, and the first module is used to process the first feature fusion information to obtain a predicted value of the occupancy information of the current node. Based on this, as shown in FIG10B , the decoding end inputs the first context information of the current node into the fourth module of the context model, and processes the first context information through the fourth module to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain feature residual information. Furthermore, the first feature information and the feature residual information are spliced ​​and input into the first module, and the first feature information and the feature residual information are processed by the first module to obtain a predicted value of the occupancy information of the current node.

[0249] The embodiment of the present application does not limit the specific network structure of the above-mentioned first module.

[0250] Exemplarily, the first module includes at least one multi-layer perceptron (MLP).

[0251] In one example, as shown in FIG10C , the fourth module is an attention network and the first module is an MLP module. Thus, the decoder inputs the first context information of the current node into the attention network of the context model. The attention network performs attention processing on the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. Furthermore, the first feature information and the feature residual information are concatenated and input into the MLP module. The MLP module processes the first feature information and the feature residual information to obtain a predicted value for the current node's occupancy information.

[0252] After the decoder determines the predicted value of the placeholder information of the current node based on the above steps, it executes S103-A2 to predict the probability distribution of the placeholder information of the current node based on the first feature information, the feature residual information and the predicted value.

[0253] The embodiment of the present application does not limit the specific manner in which the decoding end predicts the probability distribution of the occupancy information of the current node based on the first feature information, the feature residual information and the predicted value.

[0254] In some embodiments, the decoding end processes the first feature information, feature residual information, and predicted value through a probability prediction module to obtain a probability distribution of the placeholder information of the current node. For example, the decoding end first concatenates the first feature information, feature residual information, and predicted value, and then inputs the concatenated first feature information, feature residual information, and predicted value into the probability prediction module for processing to obtain a probability distribution of the placeholder information of the current node.

[0255] In some embodiments, the above S103-A2 includes the following steps:

[0256] S103-A21, fusing the first feature information and the feature residual information to obtain second feature fusion information;

[0257] S103-A22: Based on the second feature fusion information and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0258] In this embodiment, the decoding end first performs a fusion process on the first feature information and the feature residual information to obtain second feature fusion information.

[0259] The embodiment of the present application does not limit the specific manner in which the decoding end fuses the first feature information and the feature residual information to obtain the second feature fusion information.

[0260] For example, the decoding end performs addition or multiplication on the first feature information and the feature residual information to obtain the second feature fusion information.

[0261] For another example, the decoding end concatenates the first feature information and the feature residual information to obtain second feature fusion information.

[0262] In some embodiments, the second feature fusion information is the first feature fusion information, that is, the decoding end fuses the first feature information and the feature residual information to obtain the first feature fusion information, and then determines the predicted value of the occupancy information of the current node based on the first feature fusion information, and then predicts the probability distribution of the occupancy information of the current node based on the first feature fusion information and the predicted value.

[0263] The embodiment of the present application does not limit the specific manner in which the decoding end predicts the probability distribution of the occupancy information of the current node based on the second feature fusion information and the predicted value.

[0264] In some embodiments, the decoding end processes the second feature fusion information and the predicted value through a probability prediction module to obtain a probability distribution of the occupancy information of the current node. For example, the decoding end first concatenates the second feature fusion information and the predicted value, and then inputs the concatenated second feature information and predicted value into the probability prediction module for processing to obtain a probability distribution of the occupancy information of the current node.

[0265] In some embodiments, the above S103-A22 includes the following steps S103-A221 and S103-A222:

[0266] S103-A221, performing feature extraction on the second feature fusion information to obtain third feature information;

[0267] S103-A222: Based on the third feature information and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0268] In this implementation, the decoding end performs feature re-extraction on the second feature fusion information determined above to obtain third feature information, and then obtains the probability distribution of the occupancy information of the current node based on the third feature information and the predicted value of the occupancy information.

[0269] The embodiment of the present application does not limit the specific manner in which the decoding end extracts features from the second feature fusion information to obtain the third feature information.

[0270] In some embodiments, the decoding end performs feature extraction on the second feature fusion information through a feature extraction unit to obtain third feature information.

[0271] In some embodiments, as shown in FIG11A , the second module in the neural network-based context model of an embodiment of the present application is configured to extract feature information of the second feature fusion information. Thus, the decoding end processes the second feature fusion information using the second module in the neural network-based context model to obtain third feature information.

[0272] In one example, the second feature fusion information is the same as the first feature fusion information. As shown in FIG11B , the neural network-based context model includes a fourth module, a first module, and a second module. The fourth module processes the first context information to obtain first feature information, the first module processes the first feature fusion information to obtain a predicted value for the current node's placeholder information, and the second module extracts feature information from the first feature fusion information. Based on this, as shown in FIG11B , the decoder inputs the first context information of the current node into the fourth module of the context model, which processes the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are concatenated to obtain first feature fusion information. Next, the first feature fusion feature information is input into the first module, which processes the first feature fusion information to obtain a predicted value for the current node's placeholder information. Simultaneously, the first feature fusion feature information is input into the second module, which processes the first feature fusion information to obtain third feature information.

[0273] The embodiment of the present application does not limit the specific network structure of the above-mentioned second module.

[0274] Exemplarily, the second module includes at least one multi-layer perceptron (MLP).

[0275] In one example, as shown in FIG11C , the fourth module is an attention network, the first module is an MLP module, and the second module is also an MLP module. In this way, the decoding end inputs the first context information of the current node into the attention network of the context model, and performs attention processing on the first context information through the attention network to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are spliced ​​to obtain the first feature fusion information. Then, the first feature fusion information is input into the right MLP module, and the first feature fusion information is processed by the right MLP module to obtain the predicted value of the occupancy information of the current node. At the same time, the first feature fusion information is input into the left MLP module, and the first feature fusion information is processed by the left MLP module to obtain the third feature information.

[0276] After obtaining the third characteristic information based on the above steps, the decoding end executes the above steps S103-A222.

[0277] The embodiment of the present application does not limit the specific manner in which the decoding end predicts the probability distribution of the occupancy information of the current node based on the third feature information and the predicted value.

[0278] In some embodiments, the decoding end processes the third feature information and the predicted value through a probability prediction module to obtain the probability distribution of the occupancy information of the current node.

[0279] In some embodiments, the above S103-A222 includes the following steps:

[0280] S103-A2221, fusing the third feature information and the predicted value to obtain third feature fusion information;

[0281] S103-A2222: Based on the third fused feature information, predict the probability distribution of the occupancy information of the current node.

[0282] In this embodiment, the decoding end first performs a fusion process on the third feature information and the predicted value to obtain third feature fusion information.

[0283] In the embodiment of the present application, the decoding end performs fusion processing on the third feature information and the predicted value to obtain the third feature fusion information without limiting the specific method.

[0284] For example, the decoding end performs addition or multiplication on the third feature information and the predicted value to obtain the third feature fusion information.

[0285] For another example, the decoding end concatenates the third feature information and the predicted value to obtain third feature fusion information.

[0286] The embodiment of the present application does not limit the specific manner in which the decoding end predicts the probability distribution of the occupancy information of the current node based on the third feature fusion information.

[0287] In one example, the decoding end analyzes and processes the third feature fusion information through a mathematical analysis method to obtain a probability distribution of the occupancy information of the current node.

[0288] In one example, as shown in FIG12A , the third module in the neural network-based context model of an embodiment of the present application is used to predict the probability distribution of the current node's placeholder information. Thus, the decoder processes the third feature fusion information using the third module in the neural network-based context model to obtain the probability distribution of the current node's placeholder information.

[0289] In one example, the second feature fusion information is the same as the first feature fusion information. As shown in FIG12B , the neural network-based context model includes a fourth module, a first module, a second module, and a third module. The fourth module processes the first context information to obtain first feature information, the first module processes the first feature fusion information to obtain a predicted value for the current node's placeholder information, the second module extracts feature information from the first feature fusion information, and the third module predicts the probability distribution of the placeholder information. Based on this, as shown in FIG12B , the decoder inputs the first context information of the current node into the fourth module of the context model, which processes the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are concatenated to obtain first feature fusion information. Next, the first feature fusion feature information is input into the first module, which processes the first feature fusion information to obtain a predicted value for the current node's placeholder information. Simultaneously, the first feature fusion feature information is input into the second module, which processes the first feature fusion information to obtain third feature information. Next, the decoding end fuses the third feature information with the predicted value to obtain third fused feature information, and inputs the third fused feature information into the third module for prediction processing to obtain the probability distribution of the occupancy information of the current node.

[0290] The embodiment of the present application does not limit the specific network structure of the third module.

[0291] Exemplarily, the third module includes at least one multi-layer perceptron (MLP).

[0292] In one example, as shown in FIG12C , the fourth module is an attention network, the first module is an MLP module (denoted as the first MLP module), the second module is also an MLP module (denoted as the second MLP module), and the third module is an MLP module (denoted as the third MLP module). In this way, the decoding end inputs the first context information of the current node into the attention network of the context model, and the attention network performs attention processing on the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are concatenated to obtain first feature fusion information. Next, the first feature fusion information is input into the right MLP module, and the right MLP module (i.e., the first MLP module) processes the first feature fusion information to obtain a predicted value for the occupancy information of the current node. Simultaneously, the first feature fusion information is input into the left MLP module (i.e., the second MLP module), and the left MLP module processes the first feature fusion information to obtain third feature information. Next, the decoding end fuses the third feature information with the predicted value to obtain third fused feature information, and inputs the third fused feature information into the last MLP module (i.e., the third MLP module) for prediction processing to obtain the probability distribution of the occupancy information of the current node.

[0293] After the decoding end determines the probability distribution of the placeholder information of the current node based on the above steps, it executes the following step S103-B to determine the placeholder information of the current node based on the probability distribution of the placeholder information of the current node. For example, the decoding end determines the placeholder information of the current node using entropy decoding based on the probability distribution of the placeholder information of the current node. In the embodiment of the present application, the specific process of the decoding end determining the placeholder information of the current node based on the probability distribution of the placeholder information of the current node can be referred to the description of the relevant technology and will not be repeated here.

[0294] In the point cloud decoding method provided in the embodiment of the present application, when the decoding end decodes the placeholder information of the current node, it first determines the first context information of the current node and processes the first context information to obtain the first feature information. Then, based on the first feature information and the second feature information, the feature residual information is determined, the second feature information is obtained by processing the second context information of the first node, and the first node is the node whose placeholder information has been decoded in the point cloud octree, and then based on the first feature information and the feature residual information, the placeholder information of the current node is determined. That is to say, in the embodiment of the present application, when decoding the placeholder information of the current node, not only the first context information of the current node is considered, but also the feature difference between the first context information and the second context information of the first node before the current node is considered, and then based on the first feature information and the feature difference, the placeholder information of the current node can be accurately predicted, which can improve the decoding effect of the placeholder information of the current node, and thus improve the decoding performance of the point cloud geometric information.

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

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

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

[0298] S201: Determine first context information of a current node, and process the first context information to obtain first feature information.

[0299] Among them, the current node is the node whose placeholder information is to be encoded in the point cloud octree.

[0300] 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 geometric encoding of a point cloud.

[0301] In some embodiments, the geometric information of the point cloud is also referred to as the position information of the point cloud. Therefore, the geometric encoding of the point cloud is also referred to as the position encoding of the point cloud.

[0302] In the octree-based encoding method, the encoding end constructs an octree structure of the point cloud based on the geometric information of the point cloud. As shown in Figure 7, the point cloud is enclosed by a minimum rectangular block. The bounding box is first divided into 8 nodes by octree, and 8 nodes are obtained. The occupied nodes among these 8 nodes, that is, the nodes including the points, are further 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 includes multiple layers of nodes, for example, N layers. During encoding, the occupancy information of the nodes in each layer is encoded layer by layer until the voxel-level leaf nodes of the last layer are encoded. That is to say, in octree encoding, the point cloud is divided by octree, and finally the points in the point cloud are divided into the voxel-level leaf nodes of the octree. By encoding the entire octree, the encoding of the point cloud geometric information is achieved.

[0303] In some embodiments, when encoding the placeholder information of a node in an octree, the node's context information is processed using a neural network-based context model to predict a probability distribution of the node's placeholder information. The placeholder information for the node is then encoded based on the predicted probability distribution. However, current neural network-based context models, when predicting placeholder information for nodes, suffer from inaccurate encoding due to the small differences in context information corresponding to adjacent nodes. This results in poor performance in encoding the geometric information of the point cloud.

[0304] In an embodiment of the present application, when encoding the placeholder information of the current node, not only the first context information of the node is considered, but also the feature difference between the first context information and the second context information of the first node before the node is considered. Based on the first context information and the feature difference, the placeholder information of the current node can be accurately encoded, thereby improving the encoding performance of the point cloud geometric information.

[0305] It should be noted that in the embodiments of the present application, in addition to using the octree division method to divide the point cloud, the encoder can also use other division methods to divide the point cloud. For example, in some embodiments, the encoder can also use quadtree, binary tree, and other division methods to divide the point cloud. In some embodiments, the encoder can also use a combination of octree, quadtree, binary tree, etc. to divide the point cloud. The embodiments of the present application do not limit the specific division method of the point cloud. The following is an explanation using octree division as an example.

[0306] In an embodiment of the present application, the encoding process of the placeholder information of each non-leaf node in the point cloud octree is basically the same at the encoding end. For ease of description, the encoding process of the placeholder information of the current node is taken as an example.

[0307] The current node is a node in the point cloud octree whose placeholder information is to be encoded. In some embodiments, the current node is also referred to as a node to be encoded, or a node whose geometric information is to be encoded.

[0308] In the embodiment of the present application, the current node is a non-leaf node, that is, the current node is any node in the point cloud octree except the leaf node (ie, the voxel node).

[0309] Exemplarily, the placeholder information of the current node can be understood as whether the child nodes of the current node are occupied, that is, whether there are points in the child nodes of the current node. Taking octree partitioning as an example, the current node is divided into 8 child nodes, and it is predicted whether there are points in each of the 8 child nodes. If there are points in the child node, the child node is said to be occupied. If there are no points in the child node, the child node is said to be unoccupied and is an empty node, and no further partitioning is required. For example, among the 8 child nodes of the current node, the first 2 child nodes are occupied, the middle 4 child nodes are not occupied, and the last 2 child nodes are occupied. The placeholder information of the current node is 11000011, where 1 indicates that the child node is occupied and 0 indicates that the child node is an empty node.

[0310] In an embodiment of the present application, when the encoding end encodes the placeholder information of the current node, it first determines the context information of the current node. For the convenience of description, the context information of the current node is recorded as the first context information.

[0311] The embodiment of the present application does not limit the specific method by which the encoding end determines the first context information of the current node.

[0312] In some embodiments, relevant information of at least one ancestor node of the current node is determined as part or all of the first context information of the current node.

[0313] The embodiment of the present application does not limit the relevant information of the grandparent node, for example, it can be the number of midpoints of the grandparent node, the distance between the grandparent node and the current node, the occupancy information of the grandparent node, etc.

[0314] In some embodiments, relevant information of at least one of the ancestor node of the current node, the sibling node whose geometric information has been encoded, and the ancestor node of the sibling node is determined as part or all of the first context information of the current node.

[0315] In some embodiments, the encoder may further determine any information that can be used to predict the placeholder information of the current node as part or all of the first context information of the current node.

[0316] That is to say, in the embodiment of the present application, there is no restriction on the specific content of the first context information of the current node, and it may include context information determined by any existing method, context information that can be easily thought of by technical personnel in this field, and context information determined by new technologies in the future.

[0317] Based on the above steps, the encoder determines the first context information of the current node and then processes the first context information to obtain first feature information.

[0318] The embodiment of the present application does not limit the specific manner in which the encoding end processes the first context information to obtain the first feature information.

[0319] In some embodiments, the encoding end performs feature extraction on the first context information to obtain feature information corresponding to the first context information, and then records the feature information as the first feature information.

[0320] For example, the encoding end inputs the first context information into a feature extraction module to perform feature extraction, and obtains first feature information corresponding to the first context information.

[0321] In some embodiments, the encoding end determines the first characteristic information through the following steps S201-A and S201-B:

[0322] S201-A. Determine a first weight corresponding to first context information;

[0323] S201-B. Obtain first feature information based on the first weight and the first context information.

[0324] In the implementation of the present application, if the first context information includes more content, illustratively, the first context information includes features from the ancestor node of the current node, thousands of sibling nodes, and ancestors of the sibling nodes, but such expansion of the selection of context information will lead to the introduction of redundant and irrelevant information. For example, different sibling nodes may have the same ancestor, but they appear repeatedly in the first context information many times, and sibling nodes far away from the current node may have no value in predicting the probability distribution of the placeholder information of the current node. In order to solve this technical problem, the embodiment of the present application determines the first weight corresponding to each piece of context information in the first context information, and then processes each piece of context information in the first context information based on the first weight to obtain the first feature information.

[0325] In the embodiment of the present application, the specific manner in which the encoding end determines the first weight corresponding to the first context information includes at least the following:

[0326] In Method 1, the first weight corresponding to the first context information is a preset value. For example, if context information 1 in the first context information is related to sibling node 1 of the current node, if sibling node 1 is farther away from the current node, the first weight corresponding to context information 1 is smaller; if sibling node 1 is closer to the current node, the first weight corresponding to context information 1 is larger.

[0327] Method 2: The neural network-based context model includes a fifth module for predicting weights corresponding to the input context information. In this manner, the encoder inputs the first context information into the fifth module of the context model, and the fifth module outputs a first weight corresponding to the first context information. For example, if the first context information includes 10 context sub-information, the fourth module may output a first weight corresponding to each of the 10 context sub-information.

[0328] The embodiment of the present application does not limit the specific network structure of the above-mentioned fifth module, and it can be any neural network that can predict the first weight of the input context information.

[0329] In some embodiments, the above-mentioned fifth module is a channel attention module or a spatial attention module, which can pay different attentions to the input first context information, so as to pay more attention to important information in the first context information and pay less attention to secondary information in the first context information, thereby obtaining the attention weight of each context sub-information in the first context information as the first weight corresponding to the first context information.

[0330] Based on the above steps, the encoder determines the first weight corresponding to the first context information of the current node and then executes the above step S201 -B.

[0331] The embodiment of the present application does not specifically limit how the encoding end obtains the first feature information based on the first weight corresponding to the first context information and the first context information.

[0332] In some embodiments, the encoding end determines the product of the first weight and the first context information as the first feature information corresponding to the first context information.

[0333] In some embodiments, the encoding end extracts third feature information from the first context information and determines the product of the third feature information and the first weight as the first feature information corresponding to the first context information. Exemplarily, the encoding end extracts the third feature information from the first context information and determines the first weight corresponding to the first context information based on the third feature information, for example by processing the third feature information using a fifth module in the context model to obtain the first weight corresponding to the first context information. The first weight is then multiplied by the third feature information to obtain the first feature information corresponding to the first context information.

[0334] Method 3, as shown in Figure 8B, the neural network-based context model of an embodiment of the present application includes a fourth module. The encoding end processes the first context information through the fourth module in the neural network-based context model to obtain first feature information corresponding to the first context information.

[0335] In some embodiments, before processing the first context information through the fourth module, the encoding end first extracts feature information (such as initial feature information or embedded feature information) of the first context information, records the feature information as third feature information, and then processes the third feature information of the first context information through the fourth module to obtain the first feature information.

[0336] The embodiment of the present application does not limit the specific network structure of the fourth module.

[0337] In some embodiments, as shown in Figure 8B, the above-mentioned fourth module is an attention module, which performs different attention processing on the first context information (or third feature information) to focus on important information (such as context information corresponding to nodes closer to the current node) and not focus on secondary information (such as context information corresponding to nodes farther away from the current node), so as to obtain more accurate first feature information.

[0338] The embodiments of the present application do not limit the specific network structure of the attention module.

[0339] In one example, the above-mentioned attention module includes a Squeeze-and-Excitation (SE) module, which compresses the first context information (or the third feature information) into a 1*1*C channel attention vector through a convolution operation, and then applies the attention vector to the first context information (or the third feature information) to obtain the first feature information corresponding to the first context information.

[0340] In one example, the attention module includes a convolutional block attention module (CBAM). The convolutional attention module includes a channel attention module and a spatial attention module. First, the first context information (or the third feature information) is processed by a channel attention module to obtain feature information 1, and the feature information 1 is multiplied by the first context information (or the third feature information) to obtain feature information 2. Then, the feature information 2 is processed by a spatial attention module to obtain feature information 3, and the feature information 2 is multiplied by the feature information 3 to obtain the first feature information.

[0341] In one example, the attention module includes at least one of an efficient channel attention (ECA) module, a non-panoramic module, a global texture module, and the like.

[0342] Based on the above steps, the encoder determines the first context information of the current node, processes the first context information, and after obtaining the first feature information, executes the following step S202.

[0343] S202: Determine feature residual information based on the first feature information and the second feature information.

[0344] The second feature information is obtained by processing the second context information of the first node, and the first node is a node in the point cloud octree whose placeholder information has been encoded.

[0345] In an embodiment of the present application, when encoding the placeholder information of any non-leaf node in the point cloud octree, the encoding end executes the above-mentioned step S201 to obtain the first feature information corresponding to the context information of the node. In an embodiment of the present application, in order to improve the encoding accuracy of the placeholder information, the encoding end retains the first feature information corresponding to the context information of the determined node, so that when encoding the placeholder information of the subsequent node, the difference between the context information of the current node and the context information of the previous node can be determined based on the first feature information corresponding to the previous node.

[0346] This embodiment of the present application does not limit the number of first nodes.

[0347] In one example, the first node is a node in which placeholder information has been encoded.

[0348] In one example, the first nodes are multiple nodes in which placeholder information is encoded.

[0349] For ease of description, the embodiment of the present application records the context information of the first node as second context information.

[0350] In some embodiments, the second feature information corresponding to the second context information is determined differently from the first feature information corresponding to the first context information. For example, the second feature information and the first feature information are feature information output by different layers in a context model based on a neural network, e.g., the second feature information is feature information output by the i+1th layer of the context model, and the first feature information is feature information output by the ith layer of the context model.

[0351] In some embodiments, the second feature information corresponding to the second context information is determined in the same manner as the first feature information corresponding to the first context information. For example, the second feature information and the first feature information are feature information output by the same layer in a context model based on a neural network, e.g., the second feature information is feature information output by the i-th layer of the context model, and the first feature information is also feature information output by the i-th layer of the context model.

[0352] In this embodiment, the process of determining the second characteristic information is consistent with the process of determining the first characteristic information described above.

[0353] Exemplarily, if the first feature information is determined based on the first weight corresponding to the first context information and the first context information, then the second feature information is also determined based on the second weight corresponding to the second context information and the second context information.

[0354] For example, the first feature information is obtained by multiplying the first weight and the first context information, and correspondingly, the second feature information is also obtained by multiplying the second weight and the second context information.

[0355] Exemplarily, if the first feature information is obtained by the encoding end processing the first context information through the fourth module in the context model based on the neural network, correspondingly, the second feature information is obtained by the encoding end processing the second context information through the fourth module in the context model based on the neural network.

[0356] In some embodiments, the encoder stores the second feature information corresponding to the context information of each node in the point cloud octree for which placeholder information has been encoded. For example, the encoder stores the second feature information corresponding to the context information of all nodes in the point cloud octree for which the current placeholder information has been encoded in a cache. Thus, when encoding the placeholder information of the current node, the encoder determines the first feature information corresponding to the first context information of the current node based on the above steps, and then obtains the second feature information corresponding to the second context information of the first node from the cache.

[0357] In an example of this embodiment, the first node may be any one or more nodes in the point cloud octree whose placeholder information has been encoded.

[0358] In another example of this embodiment, the first node may be the first node in the point cloud octree that has encoded placeholder information and precedes the current node in the encoding order. For example, after the encoder completes encoding the placeholder information for the first node, it encodes the placeholder information for the current node.

[0359] In some embodiments, the encoding endpoint stores the second feature information corresponding to the context information of the most recent nodes in the cloud octree whose placeholder information has been encoded. For example, the second feature information corresponding to the context information of all nodes in the point cloud octree whose placeholder information has been encoded most recently is stored in a cache. In this way, when encoding the placeholder information of the current node, the encoding endpoint determines the first feature information corresponding to the first context information of the current node based on the above steps, and then obtains the second feature information corresponding to the second context information of the first node from the cache.

[0360] In an example of this embodiment, the above-mentioned first node can be one or several nodes in the point cloud octree whose placeholder information has been encoded in a coding order before the current node, for example, any one or several nodes among several nodes whose most recent placeholder information has been encoded in a coding order before the current node.

[0361] In another example of this embodiment, the first node may be the first node in the point cloud octree whose placeholder information has been encoded and is before the current node in the encoding order.

[0362] In some embodiments, to avoid memory usage caused by the encoder caching a large amount of first feature information, the encoder saves the second feature information corresponding to the context information of the node whose placeholder information has been most recently encoded in the point cloud octree. For example, the second feature information corresponding to the context information of the node whose placeholder information has been most recently encoded in the point cloud octree is saved in a cache. In this way, when encoding the placeholder information of the current node, the encoder determines the first feature information corresponding to the first context information of the current node based on the above steps, and then obtains the second feature information corresponding to the second context information of the first node from the cache.

[0363] In this embodiment, since only the second feature information corresponding to the context information of one node is stored, the first node is the first node in the point cloud octree whose placeholder information has been encoded and whose encoding order is before the current node.

[0364] In an embodiment of the present application, after the encoding end obtains the first feature information corresponding to the first context information of the current node based on the above steps, it determines the feature residual information based on the first feature information and the saved second feature information.

[0365] For example, the encoding end selects the second feature information corresponding to the second context information of the first node from the second feature information corresponding to the context information of each node stored, and then determines the feature residual information based on the first feature information determined above and the selected second feature information.

[0366] In some embodiments, if the first node is a node, feature residual information is determined based on the second feature information corresponding to the second context information of the first node and the second feature information corresponding to the first context information of the current node. For example, the feature residual information is determined as the difference between the second feature information corresponding to the second context information of the first node and the second feature information corresponding to the first context information of the current node.

[0367] In some embodiments, if the first node is a plurality of nodes, feature residual information can be determined based on the second feature information corresponding to the second context information of the plurality of first nodes and the second feature information corresponding to the first context information of the current node. Exemplarily, the encoding end first processes the second feature information corresponding to the second context information of the plurality of first nodes to determine a processed feature information. For example, the average value or weighted average value of the second feature information corresponding to the second context information of the plurality of first nodes is determined, and the average value or weighted average value is used as the processed feature information. Optionally, when determining the weighted average value, the weight corresponding to each second feature information can be determined based on the distance between the corresponding first node and the current node, for example, the greater the distance, the smaller the weight, and the smaller the distance, the greater the weight. Then, the encoding end determines feature residual information based on the determined processed feature information and the second feature information corresponding to the first context information of the current node. For example, the difference between the processed feature information and the second feature information corresponding to the first context information of the current node is determined as feature residual information.

[0368] In some embodiments, if the first node is a node, the first node may be the node in the point cloud octree whose placeholder information has been encoded most recently, that is, the node whose placeholder information has been encoded before the current node. Since the first node is closer to the current node, the difference in the corresponding context information is smaller. In order to enable the neural network-based context model to more accurately identify the difference between the two context information, the encoding end determines the feature residual information between the two and then uses the feature residual information as part of the input information to improve the context model's accurate recognition of the first context information of the current node, thereby obtaining more accurate placeholder information for the current node.

[0369] In some embodiments, if the first node is a plurality of nodes, the plurality of first nodes may be nodes in the point cloud octree whose placeholder information has been encoded most recently, that is, nodes whose placeholder information has been encoded closest to the current node. Since the context information of the plurality of first nodes may overlap with the first context information of the current node, in order to enable the neural network-based context model to more accurately identify the feature information of the context information of the current node, the encoding end determines the feature residual information between the current node and the plurality of first nodes, and then uses the feature residual information as part of the input information to improve the context model's accurate recognition of the first context information of the current node, thereby obtaining more accurate placeholder information of the current node.

[0370] Based on the above steps, the encoder determines the feature residual information between the first feature information corresponding to the first context information of the current node and the second feature information corresponding to the second context information of the first node whose placeholder information has been encoded, and then performs the following step S203.

[0371] S203: Encode the placeholder information of the current node based on the first feature information and the feature residual information.

[0372] As can be seen from the above, in the context model based on neural networks, a window is usually formed in the coding order or spatial distance. The occupancy of the nodes in the window, the octree level, the relative position of the voxels and other information constitute the first context information for predicting the occupancy information of the current code node. When encoding the next node, the window slides accordingly. The problem with this way of constructing context information is that when encoding adjacent nodes, the difference in context information is small. As shown in Figure 5C, the context information used when encoding adjacent nodes A and node B is only one node different. At present, when predicting occupancy information based only on context information, there is a problem of inaccurate prediction, which reduces the geometric coding performance of the point cloud.

[0373] In an embodiment of the present application, the encoding end determines the feature residual information between the first feature information corresponding to the first context information of the current node and the second feature information corresponding to the second context information of the first node whose placeholder information has been encoded through the above steps. Furthermore, when encoding the placeholder information of the current node based on the feature residual information and the first feature information, it helps the context model to pay attention to the differences between different contexts. A larger feature residual indicates that there is a significant difference between the first context information of the current node and the second context information of the first node. At this time, there should be a significant difference between the placeholder information of the current node and the first node. The larger feature residual can obviously act on the context model and output more accurate placeholder information. Similarly, a smaller feature residual indicates that the difference between the first context information of the current node and the second context information of the first node is very small. At this time, the placeholder information of the current node and the placeholder information of the first node will have a high similarity. At this time, the smaller feature residual has less impact on the output of the context model, and the output of the context model will also be more similar to the output of the first node. It can be seen from this that in an embodiment of the present application, when encoding the placeholder information of the current node based on the first feature information and the feature residual information, the encoding accuracy of the placeholder information can be improved, thereby improving the encoding performance of the point cloud geometric information.

[0374] The embodiment of the present application does not limit the specific manner in which the encoding end encodes the placeholder information of the current node based on the first feature information and the feature residual information.

[0375] In some embodiments, the encoder predicts the placeholder information of the current node based on the first feature information and the feature residual information. For example, the encoder processes the first feature information and the feature residual information using a neural network-based context model to predict the placeholder information of the current node. Next, the encoder determines a residual value of the placeholder information of the current node based on the true value of the placeholder information of the current node and the predicted placeholder information of the current node, and then encodes the residual value of the placeholder information of the current node.

[0376] In some embodiments, the encoder determines the placeholder information of the current node through the following steps S203-A and S203-B:

[0377] S203-A: Based on the first feature information and the feature residual information, predict the probability distribution of the occupancy information of the current node;

[0378] S203-B: Encode the placeholder information of the current node based on the probability distribution.

[0379] In this embodiment, when the encoding end encodes the occupancy information of the current node, it first predicts the probability distribution of the occupancy information of the current node based on the first feature information and feature residual information determined above, and then encodes the occupancy information of the current node based on the probability distribution.

[0380] Since the current node is a non-empty node, if the current node includes 8 child nodes, then the occupation status of each of the 8 child nodes of the current node includes 2 types, namely occupied and unoccupied. Therefore, the occupation status of the 8 child nodes of the current node has 2 types. 8 -1=255 possibilities. For example, these 255 possibilities include: 1000000, 10000001, 10000011, etc. In this embodiment of the present application, the encoder determines a probability value for each of these 255 possibilities based on the first feature information and the feature residual information. These 255 possible probability values ​​constitute a probability distribution of the occupancy information of the current node.

[0381] The embodiment of the present application does not limit the specific manner in which the encoder predicts the probability distribution of the occupancy information of the current node based on the first feature information and the feature residual information.

[0382] In some embodiments, the neural network-based context model includes a probability prediction module, and the encoding end inputs the first feature information and feature residual information determined above into the probability prediction module for processing, and the probability prediction module outputs the probability distribution of the occupancy information of the current node.

[0383] The embodiment of the present application does not limit the specific network structure of the above-mentioned probability prediction module, and it can be any network model that can determine the probability distribution of occupancy information.

[0384] Exemplarily, as shown in FIG9A , the neural network-based context model includes a fourth module and a probability prediction module. The fourth module is used to process the first context information to obtain the first feature information, and the probability prediction module is used to process the first feature information and the feature residual information to obtain the probability distribution of the occupancy information of the current node. Based on this, as shown in FIG9A , the encoding end inputs the first context information of the current node into the fourth module of the context model, and processes the first context information through the fourth module to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain the feature residual information. Furthermore, after the first feature information and the feature residual information are spliced, they are input into the probability prediction module, and the first feature information and the feature residual information are processed by the probability prediction module to obtain the probability distribution of the occupancy information of the current node.

[0385] The embodiment of the present application does not limit the specific network structure of the fourth module and the probability prediction module.

[0386] In one example, as shown in FIG9B , the fourth module is an attention network, and the probability prediction module is an MLP module. Thus, the encoder inputs the first context information of the current node into the attention network of the context model, and the attention network performs attention processing on the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. Furthermore, the first feature information and the feature residual information are concatenated and input into the MLP module, which processes the first feature information and the feature residual information to obtain the probability distribution of the occupancy information of the current node.

[0387] In some embodiments, the above S203-A includes the following steps S203-A1 and S203-A2:

[0388] S203-A1, determining a predicted value of the occupancy information of the current node;

[0389] S203-A2: Based on the first feature information, the feature residual information, and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0390] When predicting the probability distribution of placeholder information, the prediction problem of the probability distribution of node occupancy information is converted into a 255-dimensional classification problem. The difference between the classes of this 255-dimensional probability distribution is small, and there is a significant internal correlation between different dimensions. The current context model does not pay enough attention to the correlation between different dimensions of the probability distribution, resulting in inaccurate prediction of the probability distribution of placeholder information. In an embodiment of the present application, in order to further improve the accuracy of the probability distribution prediction of the placeholder information of the current node, in addition to determining the above-mentioned feature residual information, the encoding end determines the predicted value of the placeholder information of the current node, and then predicts the probability distribution of the placeholder information of the current node based on the first feature information, the feature residual information and the predicted value, thereby improving the prediction accuracy of the probability distribution. Based on the accurately determined probability distribution, the placeholder information of the current node can be accurately encoded, thereby improving the geometric coding performance of the point cloud.

[0391] The following describes the process by which the encoder determines the predicted value of the placeholder information of the current node.

[0392] The embodiment of the present application does not limit the specific process of determining the predicted value of the occupancy information of the current node.

[0393] In a possible implementation, the encoder determines a predicted value of the placeholder information of the current node based on the first feature information.

[0394] For example, a neural network-based context model includes a prediction module for predicting a predicted value of the placeholder information of the current node. Thus, the encoder inputs the first feature information into the prediction module for processing to obtain a predicted value of the placeholder information of the current node.

[0395] The embodiment of the present application does not limit the specific network structure of the prediction module. For example, the prediction module is an MLP module.

[0396] In this implementation, the process of determining the predicted value of the occupancy information of the current node at the encoder can be performed before the encoder determines the feature residual information, or after the feature residual information is determined, or simultaneously with the determination of the feature residual information.

[0397] In one possible implementation, the encoder determines the predicted value of the occupancy information of the current node based on the first feature information and the feature residual information. Exemplarily, the above S203-A1 includes the following steps S203-A11 and S203-A12:

[0398] S203-A11, fusing the first feature information and the feature residual information to obtain first feature fusion information;

[0399] S203-A12: Based on the first feature fusion information, obtain a predicted value of the occupancy information of the current node.

[0400] In this implementation, the encoder determines the predicted value of the occupancy information of the current node based on the first feature information and the feature residual information. For example, the encoder fuses the first feature information and the feature residual information to obtain the first feature fusion information.

[0401] In the embodiment of the present application, the encoding end performs fusion processing on the first feature information and the feature residual information to obtain the first feature fusion information without limiting the specific method.

[0402] For example, the encoding end performs addition or multiplication on the first feature information and the feature residual information to obtain the first feature fusion information.

[0403] For another example, the encoding end concatenates the first feature information and the feature residual information to obtain first feature fusion information.

[0404] After determining the first feature fusion information, the encoder obtains a predicted value of the placeholder information of the current node based on the first feature fusion information.

[0405] The embodiment of the present application does not limit the specific manner in which the encoder obtains the predicted value of the occupancy information of the current node based on the first feature fusion information.

[0406] In one example, the encoding end analyzes and processes the first feature fusion information using a mathematical analysis method to obtain a predicted value of the occupancy information of the current node.

[0407] In one example, as shown in FIG10A , the first module in the neural network-based context model of an embodiment of the present application is configured to predict a predicted value of the placeholder information of the current node. Thus, the encoder processes the first feature fusion information using the first module in the neural network-based context model to obtain a predicted value of the placeholder information of the current node.

[0408] In one example, as shown in FIG10B , the neural network-based context model includes a fourth module and a first module, wherein the fourth module is used to process the first context information to obtain first feature information, and the first module is used to process the first feature fusion information to obtain a predicted value of the current node's placeholder information. Based on this, as shown in FIG10B , the encoding end inputs the first context information of the current node into the fourth module of the context model, and processes the first context information through the fourth module to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain feature residual information. Furthermore, the first feature information and the feature residual information are spliced ​​and input into the first module, and the first feature information and the feature residual information are processed by the first module to obtain a predicted value of the current node's placeholder information.

[0409] The embodiment of the present application does not limit the specific network structure of the above-mentioned first module.

[0410] Exemplarily, the first module includes at least one multi-layer perceptron (MLP).

[0411] In one example, as shown in FIG10C , the fourth module is an attention network and the first module is an MLP module. Thus, the encoder inputs the first context information of the current node into the attention network of the context model. The attention network performs attention processing on the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. Furthermore, the first feature information and the feature residual information are concatenated and input into the MLP module. The MLP module processes the first feature information and the feature residual information to obtain a predicted value for the current node's placeholder information.

[0412] After the encoder determines the predicted value of the placeholder information of the current node based on the above steps, it executes S203-A2 to predict the probability distribution of the placeholder information of the current node based on the first feature information, the feature residual information and the predicted value.

[0413] The embodiment of the present application does not limit the specific manner in which the encoder predicts the probability distribution of the occupancy information of the current node based on the first feature information, the feature residual information and the predicted value.

[0414] In some embodiments, the encoder processes the first feature information, feature residual information, and predicted value through a probability prediction module to obtain a probability distribution of the placeholder information for the current node. For example, the encoder first concatenates the first feature information, feature residual information, and predicted value, and then inputs the concatenated first feature information, feature residual information, and predicted value into the probability prediction module for processing to obtain a probability distribution of the placeholder information for the current node.

[0415] In some embodiments, the above S203-A2 includes the following steps:

[0416] S203-A21, fusing the first feature information and the feature residual information to obtain second feature fusion information;

[0417] S203-A22: Based on the second feature fusion information and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0418] In this embodiment, the encoding end first performs a fusion process on the first feature information and the feature residual information to obtain second feature fusion information.

[0419] The embodiment of the present application does not limit the specific method of performing fusion processing on the encoding end on the first feature information and the feature residual information to obtain the second feature fusion information.

[0420] For example, the encoding end performs addition or multiplication on the first feature information and the feature residual information to obtain the second feature fusion information.

[0421] For another example, the encoding end concatenates the first feature information and the feature residual information to obtain second feature fusion information.

[0422] In some embodiments, the second feature fusion information is the first feature fusion information, that is, the encoding end performs a fusion process on the first feature information and the feature residual information to obtain the first feature fusion information, and then determines the predicted value of the occupancy information of the current node based on the first feature fusion information, and then predicts the probability distribution of the occupancy information of the current node based on the first feature fusion information and the predicted value.

[0423] The embodiment of the present application does not limit the specific manner in which the encoder predicts the probability distribution of the occupancy information of the current node based on the second feature fusion information and the predicted value.

[0424] In some embodiments, the encoder processes the second feature fusion information and the predicted value through a probability prediction module to obtain a probability distribution of the occupancy information of the current node. For example, the encoder first concatenates the second feature fusion information and the predicted value, and then inputs the concatenated second feature information and predicted value into the probability prediction module for processing to obtain a probability distribution of the occupancy information of the current node.

[0425] In some embodiments, the above S203-A22 includes the following steps S203-A221 and S203-A222:

[0426] S203-A221, performing feature extraction on the second feature fusion information to obtain third feature information;

[0427] S203-A222: Based on the third feature information and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0428] In this implementation, the encoding end performs feature re-extraction on the second feature fusion information determined above to obtain third feature information, and then obtains the probability distribution of the occupancy information of the current node based on the third feature information and the predicted value of the occupancy information.

[0429] The embodiment of the present application does not limit the specific method in which the encoding end extracts features from the second feature fusion information to obtain the third feature information.

[0430] In some embodiments, the encoding end performs feature extraction on the second feature fusion information through a feature extraction unit to obtain third feature information.

[0431] In some embodiments, as shown in FIG11A , the second module in the neural network-based context model of an embodiment of the present application is configured to extract feature information of the second feature fusion information. Thus, the encoder processes the second feature fusion information using the second module in the neural network-based context model to obtain third feature information.

[0432] In one example, the second feature fusion information is the same as the first feature fusion information. As shown in FIG11B , the neural network-based context model includes a fourth module, a first module, and a second module. The fourth module processes the first context information to obtain first feature information, the first module processes the first feature fusion information to obtain a predicted value for the current node's placeholder information, and the second module extracts feature information from the first feature fusion information. Based on this, as shown in FIG11B , the encoder inputs the first context information of the current node into the fourth module of the context model, which processes the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are concatenated to obtain first feature fusion information. Next, the first feature fusion feature information is input into the first module, which processes the first feature fusion information to obtain a predicted value for the current node's placeholder information. Simultaneously, the first feature fusion feature information is input into the second module, which processes the first feature fusion information to obtain third feature information.

[0433] The embodiment of the present application does not limit the specific network structure of the above-mentioned second module.

[0434] Exemplarily, the second module includes at least one multi-layer perceptron (MLP).

[0435] In one example, as shown in FIG11C , the fourth module is an attention network, the first module is an MLP module, and the second module is also an MLP module. In this way, the encoding end inputs the first context information of the current node into the attention network of the context model, and performs attention processing on the first context information through the attention network to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are spliced ​​to obtain the first feature fusion information. Then, the first feature fusion information is input into the right MLP module, and the first feature fusion information is processed by the right MLP module to obtain the predicted value of the occupancy information of the current node. At the same time, the first feature fusion information is input into the left MLP module, and the first feature fusion information is processed by the left MLP module to obtain the third feature information.

[0436] After obtaining the third characteristic information based on the above steps, the encoding end executes the above steps S203-A222.

[0437] The embodiment of the present application does not limit the specific manner in which the encoder predicts the probability distribution of the occupancy information of the current node based on the third feature information and the predicted value.

[0438] In some embodiments, the encoding end processes the third feature information and the predicted value through a probability prediction module to obtain the probability distribution of the occupancy information of the current node.

[0439] In some embodiments, the above S203-A222 includes the following steps:

[0440] S203-A2221, fusing the third feature information and the predicted value to obtain third feature fusion information;

[0441] S203-A2222: Based on the third fused feature information, predict the probability distribution of the occupancy information of the current node.

[0442] In this embodiment, the encoding end first performs a fusion process on the third feature information and the predicted value to obtain third feature fusion information.

[0443] In the embodiment of the present application, the encoding end performs fusion processing on the third feature information and the prediction value to obtain the third feature fusion information without limiting the specific method.

[0444] For example, the encoding end performs addition or multiplication on the third feature information and the predicted value to obtain the third feature fusion information.

[0445] For another example, the encoding end concatenates the third feature information and the predicted value to obtain third feature fusion information.

[0446] The embodiment of the present application does not limit the specific manner in which the encoder predicts the probability distribution of the occupancy information of the current node based on the third feature fusion information.

[0447] In one example, the encoding end analyzes and processes the third feature fusion information through a mathematical analysis method to obtain a probability distribution of the occupancy information of the current node.

[0448] In one example, as shown in FIG12A , the third module in the neural network-based context model of an embodiment of the present application is used to predict the probability distribution of the current node's placeholder information. Thus, the encoder processes the third feature fusion information using the third module in the neural network-based context model to obtain the probability distribution of the current node's placeholder information.

[0449] In one example, the second feature fusion information is the same as the first feature fusion information. As shown in FIG12B , the neural network-based context model includes a fourth module, a first module, a second module, and a third module. The fourth module processes the first context information to obtain first feature information, the first module processes the first feature fusion information to obtain a predicted value for the current node's placeholder information, the second module extracts feature information from the first feature fusion information, and the third module predicts the probability distribution of the placeholder information. Based on this, as shown in FIG12B , the encoder inputs the first context information of the current node into the fourth module of the context model, which processes the first context information to obtain first feature information. Next, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are concatenated to obtain first feature fusion information. Next, the first feature fusion feature information is input into the first module, which processes the first feature fusion information to obtain a predicted value for the current node's placeholder information. Simultaneously, the first feature fusion feature information is input into the second module, which processes the first feature fusion information to obtain third feature information. Next, the encoder fuses the third feature information with the predicted value to obtain third fused feature information, and inputs the third fused feature information into the third module for prediction processing to obtain the probability distribution of the occupancy information of the current node.

[0450] The embodiment of the present application does not limit the specific network structure of the third module.

[0451] Exemplarily, the third module includes at least one multi-layer perceptron (MLP).

[0452] In one example, as shown in FIG12C , the fourth module is an attention network, the first module is a first MLP module, the second module is also a second MLP module, and the third module is a third MLP module. In this way, the encoding end inputs the first context information of the current node into the attention network of the context model, and the attention network performs attention processing on the first context information to obtain the first feature information. Then, the first feature information is subtracted from the second feature information to obtain feature residual information. The first feature information and the feature residual information are spliced ​​to obtain the first feature fusion information. Then, the first feature fusion information is input into the right MLP module, and the first feature fusion information is processed by the right MLP module (i.e., the first MLP module) to obtain the predicted value of the occupancy information of the current node. At the same time, the first feature fusion information is input into the left MLP module (i.e., the second MLP module), and the first feature fusion information is processed by the left MLP module to obtain the third feature information. Next, the encoder fuses the third feature information with the predicted value to obtain third fused feature information, and inputs the third fused feature information into the third MLP module for prediction processing to obtain the probability distribution of the occupancy information of the current node.

[0453] After the encoding end determines the probability distribution of the placeholder information of the current node based on the above steps, it executes the following step S203-B to encode the placeholder information of the current node based on the probability distribution of the placeholder information of the current node. For example, the encoding end encodes the placeholder information of the current node using entropy coding based on the probability distribution of the placeholder information of the current node. In the embodiment of the present application, the specific process of encoding the placeholder information of the current node based on the probability distribution of the placeholder information of the current node by the encoding end can be referred to the relevant technical description and will not be repeated here.

[0454] In the point cloud encoding method provided in the embodiment of the present application, when the encoding end encodes the placeholder information of the current node, it first determines the first context information of the current node and processes the first context information to obtain the first feature information. Then, based on the first feature information and the second feature information, the feature residual information is determined, the second feature information is obtained by processing the second context information of the first node, and the first node is the node whose placeholder information has been encoded in the point cloud octree, and then based on the first feature information and the feature residual information, the placeholder information of the current node is encoded. That is to say, in the embodiment of the present application, when encoding the placeholder information of the current node, not only the first context information of the current node is considered, but also the feature difference between the first context information and the second context information of the first node before the current node is considered, and then based on the first feature information and the feature difference, the placeholder information of the current node can be accurately predicted, which can improve the encoding effect of the placeholder information of the current node, thereby improving the encoding performance of the point cloud geometric information.

[0455] The following introduces the training process of the neural network-based context model involved in the embodiments of the present application.

[0456] In existing learnable context models, a window is typically formed based on encoding order or spatial distance. Within the window, information such as node occupancy, octree hierarchy, and relative voxel position constitutes the context for predicting the probability distribution of the node to be encoded. When encoding the next node, the window slides accordingly. On the one hand, this context construction approach presents a problem in that the context differences between adjacent nodes are minimal. On the other hand, current context models for point cloud geometry compression all use an eight-bit binary number (255-dimensional, excluding leaf nodes with all empty nodes) based on the true occupancy values ​​of a node's eight children. This is then used as the training label. The cross-entropy between this label and the probability distribution output by the context model is then used as the loss function. This essentially transforms the problem of predicting the probability distribution of the node to be encoded into a 255-dimensional classification problem. However, achieving such a precise classification is difficult with contexts that have minimal differences. One feasible approach is to "amplify" the differences between contexts.

[0457] Based on this, in one example, as shown in Figure 14, the context model of an embodiment of the present application includes a fourth module and a probability prediction module, wherein the fourth module is used to extract the first feature information of the input context information, and the probability prediction module is used to predict the probability distribution of the placeholder information.

[0458] In this embodiment, the encoder divides the point cloud for training into an octree, uses nodes other than leaf nodes in the octree as training nodes, and trains the context model shown in FIG14 . The training steps include:

[0459] Step 11: Determine first context information of the first training node, and process the first context information through the fourth module to obtain first feature information.

[0460] The training node is any node in the octree except the leaf node.

[0461] Step 12: Determine feature residual information based on the first feature information and the second feature information.

[0462] The second feature information is obtained by processing the second context information of the second training node, and the second training node is a node in the point cloud octree whose placeholder information has been encoded.

[0463] For example, the first feature information is subtracted from the second feature information to obtain feature residual information.

[0464] Step 13: Process the first feature information and feature residual information through a probability prediction module to obtain a predicted probability distribution of the occupancy information of the first training node.

[0465] Step 14: Determine a second loss based on the predicted probability distribution of the occupancy information of the first training node, and train the context model based on the second loss.

[0466] The embodiment of the present application does not limit the specific method of determining the second loss in step 4 based on the predicted probability distribution of the occupancy information of the first training node.

[0467] Exemplarily, based on the true value of the occupancy information of the first training node, the true probability distribution of the occupancy information of the first training node is determined, and then based on the true probability distribution and the predicted probability distribution of the occupancy information of the first training node, the second loss is determined.

[0468] For example, based on the true probability distribution and the predicted probability distribution of the occupancy information of the first training node, a cross entropy loss is determined, and the cross entropy loss is determined as the second loss.

[0469] In some embodiments, in the current training of the context model based on the neural network, an eight-bit binary number, i.e., a 255-dimensional unique hot encoding (excluding the case where all leaf nodes are empty) is formed according to the true value of the occupancy of the eight child nodes of the training node as a label during training. The cross entropy between the above label and the predicted probability distribution output by the context model is then used as the loss function. This essentially transforms the prediction problem of the probability distribution of the node occupancy information into a 255-dimensional classification problem. The physical meanings represented by each category in the traditional classification task are significantly different, but the physical meanings corresponding to each dimension in the 255-dimensional vector output by the context model are extremely similar. For example, the 255th dimension of the vector represents the probability that all eight child nodes of the model node to be encoded are non-empty, while the 254th dimension of the vector represents the probability that the last seven child nodes are non-empty in the octree scanning order. Although the above two categories exist as two independent categories in the context model, the physical meanings they correspond to are extremely similar. In terms of training labels, the 255-dimensional probability distribution classes output by the context model have little variation between them, and there are significant intrinsic correlations between different dimensions. The aforementioned cross-entropy loss (i.e., the second loss) alone cannot accurately measure the inherent difference in meaning between the predicted probability distribution and the label. As shown in Figure 15, although the cross-entropy between predicted probability distribution A and training label C is exactly the same as the cross-entropy between predicted probability distribution B and training label C, it is clear that the inherent meaning represented by probability distribution A is closer to label C. Therefore, an additional loss function is needed to further measure the difference between the predicted probability and the label.

[0470] Based on the above analysis, one improvement idea is to use more accurate labels to guide the learning process of the context model. However, since the point cloud itself is a memory source, calculating the cross entropy between the one-hot encoding and the predicted probability is the most feasible of many compromise solutions. It is extremely difficult to optimize the label or the loss function itself. For the above considerations, this application adds a network branch to extract features under the first loss to assist the convergence of the main network. Specifically, this application adds a branch on the basis of the context model network structure. The last layer of this branch outputs an eight-dimensional vector, and each dimensional vector represents the occupancy of a child node. The label of this branch in the training stage is the actual occupancy of each child node of the training node, and the first loss is used to calculate the loss function of this branch. The setting of the first loss ensures that the optimization target of this branch is accurate. In addition, the output of this branch will be spliced ​​with the output of the main network at the same layer and input into the last layer of the main network. The purpose of training this branch is to enable the neural network to learn information containing the occupancy status of the node to be encoded, so as to assist the main network to output an accurate probability distribution.

[0471] Based on this, in an embodiment of the present application, as shown in FIG16 , the context model includes a fourth module, a first module, a second module, and a third module, wherein the first module, the second module, and the third module can be understood as part of the above-mentioned probability prediction module. The fourth module is used to process the first context information to obtain the first feature information, the first module is used to predict the predicted value of the node's placeholder information, the second module is used to extract the feature information of the first feature fusion information, and the third module is used to predict the probability distribution of the placeholder information. At this time, the training method of the embodiment of the present application includes the following steps:

[0472] Step 21: Determine first context information of the first training node, and process the first context information through a fourth module to obtain first feature information.

[0473] The training node is any node in the octree except the leaf node.

[0474] Step 22: Determine feature residual information based on the first feature information and the second feature information.

[0475] The second feature information is obtained by processing the second context information of the second training node, and the second training node is a node in the point cloud octree whose placeholder information has been encoded.

[0476] For example, the first feature information is subtracted from the second feature information to obtain feature residual information.

[0477] Step 23: Obtain first fused feature information based on the first feature information and the feature residual information.

[0478] For example, the first feature information and the feature residual information are concatenated to obtain the first fused feature information.

[0479] Step 24: Process the first feature fusion information through the first module to obtain a predicted value of the occupancy information of the first training node, and process the first feature fusion information through the second module to obtain third feature information.

[0480] Step 25: Obtain third fused feature information based on the predicted value of the occupancy information of the first training node and the third feature information.

[0481] For example, the predicted value of the occupancy information of the first training node and the third feature information are concatenated to obtain the third fused feature information.

[0482] Step 26: Process the third fused feature information through the third module to obtain the predicted probability distribution of the occupancy information of the first training node.

[0483] Step 27: Determine a first loss based on the predicted value of the occupancy information of the first training node.

[0484] In this embodiment of the present application, a simple first module branch is introduced into the context model to directly predict the occupancy of the current node rather than the probability distribution, and calculate the first loss between the predicted value and the actual value of the occupancy information. This first loss assists the convergence of the main network.

[0485] Exemplarily, the first loss is determined based on the predicted value of the occupancy information of the first training node and the true value of the occupancy information of the first training node.

[0486] For example, the MSE loss between the predicted value of the occupancy information of the first training node and the true value of the occupancy information of the first training node is determined, and the MSE loss is subtracted to determine the first loss.

[0487] Step 28: Determine a second loss based on the predicted probability distribution of the occupancy information of the first training node.

[0488] Exemplarily, the second loss is determined based on the predicted probability distribution of the occupancy information of the first training node and the true probability distribution of the occupancy information of the first training node.

[0489] For example, a cross entropy loss between a predicted probability distribution of the occupancy information of the first training node and a true probability distribution of the occupancy information of the first training node is determined, and the cross entropy loss is subtracted to determine the second loss.

[0490] Step 29: Adjust the parameters in the context model based on the first loss and the second loss.

[0491] For example, the sum of the first loss and the second loss is used as the total loss of the context model, and the relevant parameters in the context model are adjusted. Then, using the next training node, the context model with the adjusted parameters is trained again based on the above steps, and the training is repeated until the training end condition is met. The training end condition can be that the training times reach a preset number or the model loss is less than or equal to the preset loss.

[0492] The embodiment of the present application does not limit the specific network structure of the fourth module, the first module, the second module and the third module.

[0493] Exemplarily, as shown in FIG17 , the fourth module is an attention network.

[0494] Exemplarily, as shown in FIG17 , the first module includes at least one MLP.

[0495] Exemplarily, as shown in FIG17 , the second module includes at least one MLP.

[0496] Exemplarily, as shown in FIG17 , the third module includes at least one MLP.

[0497] In an embodiment of the present application, training the context model through the first loss and the second loss can improve the training accuracy of the context model, and then when encoding and decoding the occupancy information based on the accurately determined context model, the encoding and decoding effect of the point cloud geometric information can be improved.

[0498] In some embodiments, the context module of the embodiment of the present application includes the fourth module and the first module. In this case, the context module directly predicts the predicted value of the occupancy information of the first training node. In this case, the training process of the context model includes:

[0499] Step 31: Determine first context information of a first training node, and process the first context information through a fourth module to obtain first feature information.

[0500] The training node is any node in the octree except the leaf node.

[0501] Step 32: Determine feature residual information based on the first feature information and the second feature information.

[0502] The second feature information is obtained by processing the second context information of the second training node, and the second training node is a node in the point cloud octree whose placeholder information has been encoded.

[0503] For example, the first feature information is subtracted from the second feature information to obtain feature residual information.

[0504] Step 33: Obtain first fused feature information based on the first feature information and the feature residual information.

[0505] For example, the first feature information and the feature residual information are concatenated to obtain the first fused feature information.

[0506] Step 34: Process the first feature fusion information through the first module to obtain a predicted value of the occupancy information of the first training node.

[0507] Step 35: Determine a first loss based on the predicted value of the occupancy information of the first training node.

[0508] Exemplarily, the first loss is determined based on the predicted value of the occupancy information of the first training node and the true value of the occupancy information of the first training node.

[0509] For example, the MSE loss between the predicted value of the occupancy information of the first training node and the true value of the occupancy information of the first training node is determined, and the MSE loss is subtracted to determine the first loss.

[0510] Step 36: Based on the first loss, adjust the parameters in the context model.

[0511] For example, based on the first loss, relevant parameters in the context model are adjusted. Then, using the next training node, the context model with adjusted parameters is trained again based on the above steps, and the training is repeated until a training termination condition is met. The training termination condition may be that the number of training cycles reaches a preset number, or the model loss is less than or equal to a preset loss.

[0512] In the embodiment of the present application, the specific description of the above-mentioned training steps can refer to the specific description of the above-mentioned encoding or decoding process, which will not be repeated here.

[0513] From the above, it can be seen that in an embodiment of the present application, the loss of the above-mentioned neural network-based context model during training includes at least one of a first loss and a second loss, the first loss is determined based on the predicted value of the occupancy information of the training node, and the second loss is determined based on the predicted probability distribution of the occupancy information of the training node.

[0514] Furthermore, the context module proposed in the embodiment of the present application was tested on the 8i Voxelized Full Bodies dataset and compared with the G-PCC-V14 and OctAttention methods, as shown in Table 1:

[0515] Table 1: Experimental results

[0516] In Table 1, G-PCC refers to G-PCC-V14, Base refers to OctAttention, Base_loss refers to the model with an auxiliary convergence branch added to OctAttention, Res refers to the model with the residual of the previous context feature added to OctAttention, and Ours refers to the model with both improvements applied. All of the above methods perform lossless compression on point cloud geometry. Experimental results show that both innovations proposed in this embodiment are effective, reducing BPP by approximately 39% compared to G-PCC-V14 and by approximately 5.3% compared to OctAttention.

[0517] When training a neural network-based context model, the embodiment of the present application not only considers the first context information of the training node, but also considers the feature difference between the first context information and the second context information of the first node before the training node. Based on the first feature information and the feature difference, a first loss and / or a second loss are determined, and the training effect of the context model is improved based on the first loss and / or the second loss. In this way, when the context model is used to encode and decode placeholder information, the encoding and decoding effect of the placeholder information can be improved, thereby improving the geometric encoding and decoding performance of the point cloud.

[0518] It should be understood that Figures 6 to 17 are merely examples of the present application and should not be understood as limiting the present application.

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

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

[0521] The above describes in detail the method embodiment of the present application in conjunction with Figures 6 to 17, and the following describes in detail the device embodiment of the present application in conjunction with Figures 18 to 19.

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

[0523] As shown in FIG18 , the point cloud decoding device 10 may include:

[0524] A feature processing unit 11 is configured to determine first context information of a current node and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be decoded in the point cloud octree;

[0525] a residual determination unit 12, configured to determine feature residual information based on the first feature information and the second feature information, where the second feature information is obtained by processing second context information of a first node, and the first node is a node whose placeholder information has been decoded in the point cloud octree;

[0526] The decoding unit 13 is configured to determine the placeholder information of the current node based on the first feature information and the feature residual information.

[0527] In some embodiments, the decoding unit 13 is specifically configured to predict a probability distribution of the occupancy information of the current node based on the first feature information and the feature residual information; and obtain the occupancy information of the current node based on the probability distribution.

[0528] In some embodiments, the decoding unit 13 is specifically configured to determine a predicted value of the occupancy information of the current node; and predict a probability distribution of the occupancy information of the current node based on the first feature information, the feature residual information, and the predicted value.

[0529] In some embodiments, the decoding unit 13 is specifically configured to fuse the first feature information and the feature residual information to obtain first feature fusion information; and obtain a predicted value of the occupancy information of the current node based on the first feature fusion information.

[0530] In some embodiments, the decoding unit 13 is specifically configured to concatenate the first feature information and the feature residual information to obtain the first feature fusion information.

[0531] In some embodiments, the decoding unit 13 is specifically configured to process the first feature fusion information through a first module in a neural network-based context model to obtain a predicted value of the occupancy information of the current node.

[0532] In some embodiments, the first module includes at least one multilayer perceptron.

[0533] In some embodiments, the decoding unit 13 is specifically used to fuse the first feature information and the feature residual information to obtain second feature fusion information; based on the second feature fusion information and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0534] In some embodiments, the decoding unit 13 is specifically configured to concatenate the first feature information and the feature residual information to obtain the second feature fusion information.

[0535] In some embodiments, the decoding unit 13 is specifically configured to perform feature extraction on the second feature fusion information to obtain third feature information; and predict a probability distribution of the occupancy information of the current node based on the third feature information and the predicted value.

[0536] In some embodiments, the decoding unit 13 is specifically configured to process the second feature fusion information through a second module in a neural network-based context model to obtain the third feature information.

[0537] In some embodiments, the second module includes at least one multilayer perceptron.

[0538] In some embodiments, the decoding unit 13 is specifically configured to fuse the third feature information and the predicted value to obtain third fused feature information; and based on the third fused feature information, predict a probability distribution of the occupancy information of the current node.

[0539] In some embodiments, the decoding unit 13 is specifically configured to concatenate the third feature information and the predicted value to obtain the third fused feature information.

[0540] In some embodiments, the decoding unit 13 is specifically configured to process the third feature fusion information through a third module in a neural network-based context model to obtain a probability distribution of the occupancy information of the current node.

[0541] In some embodiments, the third module includes at least one multilayer perceptron.

[0542] In some embodiments, the feature processing unit 11 is configured to determine a first weight corresponding to the first context information; and obtain the first feature information based on the first weight and the first context information.

[0543] In some embodiments, the feature processing unit 11 is configured to multiply the first weight and the first context information to obtain the first feature information.

[0544] In some embodiments, the second feature information is determined based on a second weight corresponding to the second context information and the second context information.

[0545] In some embodiments, the feature processing unit 11 is configured to process the first context information through a fourth module in a neural network-based context model to obtain the first feature information.

[0546] In some embodiments, the second feature information is obtained by processing the second context information by the fourth module.

[0547] In some embodiments, the fourth module includes an attention network.

[0548] In some embodiments, the loss of the neural network-based context model during training includes at least one of a first loss and a second loss, wherein the first loss is determined based on the predicted value of the occupancy information of the training node and the second loss is determined based on the predicted probability distribution of the occupancy information of the training node.

[0549] In some embodiments, the first loss is determined based on a true value of the occupancy information of the training node and a predicted value of the occupancy information of the training node.

[0550] In some embodiments, the second loss is determined based on a true probability distribution of the occupancy information of the training nodes and a predicted probability distribution of the occupancy information of the training nodes.

[0551] 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, no further description is given here. Specifically, the point cloud decoding device 10 shown in FIG18 may 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 each unit 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, no further description is given here.

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

[0553] As shown in FIG19 , the point cloud encoding device 20 includes:

[0554] A feature determination unit 21 is configured to determine first context information of a current node and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be encoded in the point cloud octree;

[0555] a residual determination unit 22, configured to determine feature residual information based on the first feature information and the second feature information, where the second feature information is obtained by processing second context information of a first node, and the first node is a node in the point cloud octree whose placeholder information has been encoded;

[0556] The encoding unit 23 is configured to encode the placeholder information of the current node based on the first feature information and the feature residual information.

[0557] In some embodiments, the encoding unit 23 is specifically configured to predict a probability distribution of the placeholder information of the current node based on the first feature information and the feature residual information; and encode the placeholder information of the current node based on the probability distribution.

[0558] In some embodiments, the encoding unit 23 is specifically used to determine a predicted value of the occupancy information of the current node; and predict a probability distribution of the occupancy information of the current node based on the first feature information, the feature residual information and the predicted value.

[0559] In some embodiments, the encoding unit 23 is specifically configured to fuse the first feature information and the feature residual information to obtain first feature fusion information; and obtain a predicted value of the occupancy information of the current node based on the first feature fusion information.

[0560] In some embodiments, the encoding unit 23 is specifically configured to concatenate the first feature information and the feature residual information to obtain the first feature fusion information.

[0561] In some embodiments, the encoding unit 23 is specifically configured to process the first feature fusion information through a first module in a neural network-based context model to obtain a predicted value of the occupancy information of the current node.

[0562] In some embodiments, the first module includes at least one multilayer perceptron.

[0563] In some embodiments, the encoding unit 23 is specifically used to fuse the first feature information and the feature residual information to obtain second feature fusion information; based on the second feature fusion information and the predicted value, predict the probability distribution of the occupancy information of the current node.

[0564] In some embodiments, the encoding unit 23 is specifically configured to concatenate the first feature information and the feature residual information to obtain the second feature fusion information.

[0565] In some embodiments, the encoding unit 23 is specifically configured to perform feature extraction on the second feature fusion information to obtain third feature information; and predict a probability distribution of the occupancy information of the current node based on the third feature information and the predicted value.

[0566] In some embodiments, the encoding unit 23 is specifically configured to process the second feature fusion information through a second module in a neural network-based context model to obtain the third feature information.

[0567] In some embodiments, the second module includes at least one multilayer perceptron.

[0568] In some embodiments, the encoding unit 23 is specifically configured to fuse the third feature information and the predicted value to obtain third fused feature information; and based on the third fused feature information, predict a probability distribution of the occupancy information of the current node.

[0569] In some embodiments, the encoding unit 23 is specifically configured to concatenate the third feature information and the predicted value to obtain the third fused feature information.

[0570] In some embodiments, the encoding unit 23 is specifically configured to process the third feature fusion information through a third module in a neural network-based context model to obtain a probability distribution of the occupancy information of the current node.

[0571] In some embodiments, the third module includes at least one multilayer perceptron.

[0572] In some embodiments, the feature determination unit 21 is specifically configured to determine a first weight corresponding to the first context information; and obtain the first feature information based on the first weight and the first context information.

[0573] In some embodiments, the feature determination unit 21 is specifically configured to multiply the first weight and the first context information to obtain the first feature information.

[0574] In some embodiments, the second feature information is determined based on a second weight corresponding to the second context information and the second context information.

[0575] In some embodiments, the feature determination unit 21 is specifically configured to process the first context information through a fourth module in a neural network-based context model to obtain the first feature information.

[0576] In some embodiments, the second feature information is obtained by processing the second context information by the fourth module.

[0577] In some embodiments, the fourth module includes an attention network.

[0578] In some embodiments, the loss of the neural network-based context model during training includes at least one of a first loss and a second loss, wherein the first loss is determined based on the predicted value of the occupancy information of the training node and the second loss is determined based on the predicted probability distribution of the occupancy information of the training node.

[0579] In some embodiments, the first loss is determined based on a true value of the occupancy information of the training node and a predicted value of the occupancy information of the training node.

[0580] In some embodiments, the second loss is determined based on a true probability distribution of the occupancy information of the training nodes and a predicted probability distribution of the occupancy information of the training nodes.

[0581] 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 FIG19 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.

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

[0583] Figure 20 is a schematic block diagram of an electronic device provided in an embodiment of the present application.

[0584] As shown in FIG20 , 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:

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

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

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

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

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

[0590] 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).

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

[0592] As shown in FIG20 , the electronic device 30 may further include:

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

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

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

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

[0597] As shown in Figure 21, 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.

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

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

[0600] 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)).

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

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

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

[0604] 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: Determine first context information of a current node, and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be decoded in the point cloud octree; Determine feature residual information based on the first feature information and the second feature information, where the second feature information is obtained by processing second context information of a first node, and the first node is a node in the point cloud octree whose placeholder information has been decoded; Based on the first feature information and the feature residual information, placeholder information of the current node is determined.

2. The method according to claim 1, characterized in that The determining, based on the first feature information and the feature residual information, the placeholder information of the current node includes: Predicting a probability distribution of the placeholder information of the current node based on the first feature information and the feature residual information; Based on the probability distribution, the placeholder information of the current node is obtained.

3. The method according to claim 2, characterized in that The predicting, based on the first feature information and the feature residual information, a probability distribution of the placeholder information of the current node includes: Determining a predicted value of the placeholder information of the current node; Based on the first feature information, the feature residual information and the predicted value, a probability distribution of the occupancy information of the current node is predicted.

4. The method according to claim 3, characterized in that The determining the predicted value of the placeholder information of the current node includes: fusing the first feature information and the feature residual information to obtain first feature fusion information; Based on the first feature fusion information, a predicted value of the occupancy information of the current node is obtained.

5. The method according to claim 4, characterized in that The fusing the first feature information and the feature residual information to obtain first feature fusion information includes: The first feature information and the feature residual information are concatenated to obtain the first feature fusion information.

6. The method according to claim 4, characterized in that The obtaining, based on the first feature fusion information, a predicted value of the placeholder information of the current node includes: The first feature fusion information is processed by a first module in a context model based on a neural network to obtain a predicted value of the occupancy information of the current node.

7. The method according to claim 6, characterized in that The first module includes at least one multi-layer perceptron.

8. The method according to claim 3, characterized in that The predicting, based on the first feature information, the feature residual information and the predicted value, a probability distribution of the placeholder information of the current node includes: fusing the first feature information and the feature residual information to obtain second feature fusion information; Based on the second feature fusion information and the predicted value, a probability distribution of the occupancy information of the current node is predicted.

9. The method according to claim 8, characterized in that The fusing the first feature information and the feature residual information to obtain second feature fusion information includes: The first feature information and the feature residual information are concatenated to obtain the second feature fusion information.

10. The method according to claim 8, characterized in that The predicting, based on the second feature fusion information and the predicted value, a probability distribution of the occupancy information of the current node includes: Performing feature extraction on the second feature fusion information to obtain third feature information; Based on the third feature information and the predicted value, a probability distribution of the occupancy information of the current node is predicted.

11. The method according to claim 10, characterized in that The performing feature extraction on the second feature fusion information to obtain the second feature information corresponding to the current node includes: The second feature fusion information is processed by a second module in a context model based on a neural network to obtain the third feature information.

12. The method according to claim 11, characterized in that The second module includes at least one multi-layer perceptron.

13. The method according to claim 10, characterized in that The predicting, based on the third feature information and the predicted value, a probability distribution of the placeholder information of the current node includes: Fusing the third feature information and the predicted value to obtain third fused feature information; Based on the third fused feature information, a probability distribution of the occupancy information of the current node is predicted.

14. The method according to claim 13, characterized in that The fusing the third feature information and the predicted value to obtain third fused feature information includes: The third feature information and the predicted value are concatenated to obtain the third fused feature information.

15. The method according to claim 13, characterized in that The predicting, based on the third fused feature information, a probability distribution of the placeholder information of the current node includes: The third feature fusion information is processed by a third module in a neural network-based context model to obtain a probability distribution of the placeholder information of the current node.

16. The method according to claim 15, characterized in that The third module includes at least one multi-layer perceptron.

17. The method according to any one of claims 1 to 16, characterized in that: The processing of the first context information to obtain the first feature information includes: Determining a first weight corresponding to the first context information; The first feature information is obtained based on the first weight and the first context information.

18. The method according to claim 17, characterized in that The obtaining the first feature information based on the first weight and the first context information includes: The first weight and the first context information are multiplied to obtain the first feature information.

19. The method according to claim 17, characterized in that The second feature information is determined based on a second weight corresponding to the second context information and the second context information.

20. The method according to any one of claims 1 to 16, characterized in that: The processing of the first context information to obtain the first feature information includes: The first context information is processed by a fourth module in a neural network-based context model to obtain the first feature information.

21. The method according to claim 20, characterized in that The second feature information is obtained by processing the second context information by the fourth module.

22. The method according to claim 20, characterized in that The fourth module includes an attention network.

23. The method according to claim 6, 11, 15 or 20, characterized in that The loss of the neural network-based context model during training includes at least one of a first loss and a second loss, wherein the first loss is determined based on a predicted value of the occupancy information of the training node, and the second loss is determined based on a predicted probability distribution of the occupancy information of the training node.

24. The method according to any one of claim 23, characterized in that: The first loss is determined based on a true value of the occupancy information of the training node and a predicted value of the occupancy information of the training node.

25. The method according to any one of claim 23, characterized in that: The second loss is determined based on a true probability distribution of the occupancy information of the training node and a predicted probability distribution of the occupancy information of the training node.

26. A point cloud encoding method, characterized in that: include: Determine first context information of a current node, and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be encoded in the point cloud octree; Determine feature residual information based on the first feature information and the second feature information, where the second feature information is obtained by processing second context information of the first node, and the first node is a node in which placeholder information has been encoded in the point cloud octree; Based on the first feature information and the feature residual information, the placeholder information of the current node is encoded.

27. The method according to claim 26, characterized in that The encoding of the placeholder information of the current node based on the first feature information and the feature residual information includes: Predicting a probability distribution of the placeholder information of the current node based on the first feature information and the feature residual information; Based on the probability distribution, the placeholder information of the current node is encoded.

28. The method according to claim 27, characterized in that The predicting, based on the first feature information and the feature residual information, a probability distribution of the placeholder information of the current node includes: Determining a predicted value of the placeholder information of the current node; Based on the first feature information, the feature residual information and the predicted value, a probability distribution of the occupancy information of the current node is predicted.

29. The method according to claim 28, characterized in that The determining the predicted value of the placeholder information of the current node includes: fusing the first feature information and the feature residual information to obtain first feature fusion information; Based on the first feature fusion information, a predicted value of the occupancy information of the current node is obtained.

30. The method according to claim 29, characterized in that The fusing the first feature information and the feature residual information to obtain first feature fusion information includes: The first feature information and the feature residual information are concatenated to obtain the first feature fusion information.

31. The method according to claim 29, characterized in that The obtaining, based on the first feature fusion information, a predicted value of the placeholder information of the current node includes: The first feature fusion information is processed by a first module in a context model based on a neural network to obtain a predicted value of the occupancy information of the current node.

32. The method according to claim 31, characterized in that The first module includes at least one multi-layer perceptron.

33. The method according to claim 28, characterized in that The predicting, based on the first feature information, the feature residual information and the predicted value, a probability distribution of the placeholder information of the current node includes: fusing the first feature information and the feature residual information to obtain second feature fusion information; Based on the second feature fusion information and the predicted value, a probability distribution of the occupancy information of the current node is predicted.

34. The method according to claim 33, characterized in that The fusing the first feature information and the feature residual information to obtain second feature fusion information includes: The first feature information and the feature residual information are concatenated to obtain the second feature fusion information.

35. The method according to claim 33, characterized in that The predicting, based on the second feature fusion information and the predicted value, a probability distribution of the occupancy information of the current node includes: Performing feature extraction on the second feature fusion information to obtain third feature information; Based on the third feature information and the predicted value, a probability distribution of the occupancy information of the current node is predicted.

36. The method according to claim 35, characterized in that The performing feature extraction on the second feature fusion information to obtain the second feature information corresponding to the current node includes: The second feature fusion information is processed by a second module in a context model based on a neural network to obtain the third feature information.

37. The method according to claim 36, characterized in that The second module includes at least one multi-layer perceptron.

38. The method according to claim 35, characterized in that The predicting, based on the third feature information and the predicted value, a probability distribution of the placeholder information of the current node includes: Fusing the third feature information and the predicted value to obtain third fused feature information; Based on the third fused feature information, a probability distribution of the occupancy information of the current node is predicted.

39. The method according to claim 38, characterized in that The fusing the third feature information and the predicted value to obtain third fused feature information includes: The third feature information and the predicted value are concatenated to obtain the third fused feature information.

40. The method according to claim 38, characterized in that The predicting, based on the third fused feature information, a probability distribution of the placeholder information of the current node includes: The third feature fusion information is processed by a third module in a neural network-based context model to obtain a probability distribution of the placeholder information of the current node.

41. The method according to claim 40, characterized in that The third module includes at least one multi-layer perceptron.

42. The method according to any one of claims 26 to 41, characterized in that: The processing of the first context information to obtain the first feature information includes: Determining a first weight corresponding to the first context information; The first feature information is obtained based on the first weight and the first context information.

43. The method according to claim 42, characterized in that The obtaining the first feature information based on the first weight and the first context information includes: The first weight and the first context information are multiplied to obtain the first feature information.

44. The method according to claim 42, characterized in that The second feature information is determined based on a second weight corresponding to the second context information and the second context information.

45. The method according to any one of claims 26 to 41, characterized in that The processing of the first context information to obtain the first feature information includes: The first context information is processed by a fourth module in a neural network-based context model to obtain the first feature information.

46. ​​The method according to claim 45, characterized in that The second feature information is obtained by processing the second context information by the fourth module.

47. The method according to claim 45, characterized in that The fourth module includes an attention network.

48. The method of claim 31, 36, 41 or 45, wherein: The loss of the neural network-based context model during training includes at least one of a first loss and a second loss, wherein the first loss is determined based on a predicted value of the occupancy information of the training node, and the second loss is determined based on a predicted probability distribution of the occupancy information of the training node.

49. The method according to any one of claims 48, characterized in that The first loss is determined based on a true value of the occupancy information of the training node and a predicted value of the occupancy information of the training node.

50. The method according to any one of claims 49, characterized in that The second loss is determined based on a true probability distribution of the occupancy information of the training node and a predicted probability distribution of the occupancy information of the training node.

51. A point cloud decoding device, characterized in that: include: A feature processing unit, configured to determine first context information of a current node and process the first context information to obtain first feature information, wherein the current node is a node whose placeholder information is to be decoded in the point cloud octree; A residual determination unit, configured to determine feature residual information based on the first feature information and the second feature information, wherein the second feature information is obtained by processing second context information of a first node, and the first node is a node in the point cloud octree whose placeholder information has been decoded; A decoding unit is used to determine the placeholder information of the current node based on the first feature information and the feature residual information.

52. A point cloud encoding device, characterized in that: include: A feature determination unit, configured to determine first context information of a current node and process the first context information to obtain first feature information, wherein the current node is a node in the point cloud octree whose placeholder information is to be encoded; A residual determination unit, configured to determine feature residual information based on the first feature information and the second feature information, wherein the second feature information is obtained by processing second context information of the first node, and the first node is a node in which placeholder information has been encoded in the point cloud octree; An encoding unit is used to encode the placeholder information of the current node based on the first feature information and the feature residual information.

53. 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 25 or 26 to 50.

54. 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 25 or 26 to 50.

Citation Information

Patent Citations

  • Encoding and decoding methods, encoder, decoder and software

    CN112438049A

  • Method for compressing and decompressing point cloud

    CN114972551A

  • Point cloud processing method and device, equipment and medium

    CN115100302A

  • Performance improvement of geometry point cloud compression (GPCC) planar mode using inter prediction

    US20220351420A1

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

    WO2022126326A1

Cited By

  • Point cloud end-to-end compression method based on efficient sampling and optimized entropy model

    CN119135925A

  • Three-dimensional video processing method and device, equipment and storage medium

    CN119996694A

  • Three-dimensional scene reconstruction method and device, equipment and storage medium

    CN120070731A

  • Three-dimensional scene reconstruction method, device, apparatus and storage medium

    CN120070731B