Point cloud processing devices and point cloud data encoding methods

VN10063265BActive Publication Date: 2026-11-26QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
VN1202307028
Authority / Receiving Office
VN · VN
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-04-14
Filing Date
2022-04-15
Publication Date
2026-11-26
Estimated Expiration
2042-04-15

AI Technical Summary

Technical Problem

Current Geometry Point Cloud Compression (G-PCC) techniques face challenges in efficiently utilizing reference block information for coding planar modes, leading to suboptimal compression performance due to limited context adaptation and motion estimation accuracy.

Method used

The proposed solution involves a G-PCC coder that obtains planar information from a reference block to determine context-adaptive coding for syntax elements, such as the planar mode and plane index, using inter prediction techniques to enhance coding efficiency by updating PlanarRate and PlanarEligible based on the reference block's planarity and occupancy information.

Benefits of technology

This approach improves coding performance by increasing correlation between current and reference nodes, enabling more effective planar coding mode selection and context adaptation, resulting in enhanced compression efficiency and reduced bitstream size.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure VN1202307028_0
    Figure VN1202307028_0
Patent Text Reader

Abstract

The invention relates to a device, for example, for processing point clouds comprising: memory configured to store at least a portion of a point cloud; and one or more processors implemented in circuitry and configured to: acquire flat information of the reference block of the point cloud; determine, based on the flat information of the reference block, the context; encode context-adaptive code, based on the context, a syntactic element indicating whether the current node is encoded using flat mode; encode, based on whether the current node is encoded using flat mode, the current node uses flat mode. The invention also relates to a method of encoding point cloud data.
Need to check novelty before this filing date? Find Prior Art

Description

iPERFORMANCE IMPROVEMENT OF GEOMETRY POINT CLOUD COMPRESSION (GPCC) PLANAR MODE USING INTER PREDICTION

[0001] Tills application claims priority to U.S. Patent Application No. 17 / 659,219, filed April 14, 2022 and U.S. Provisional Application No. 63 / 176,098, filed April 16, 2021, the entire contents of each of which are incorporated by reference herein. U.S. Patent Application No. 17 / 659,219, filed April 14, 2022 claims the benefit of U.S. Provisional Application No. 63 / 176,098, filed April 16, 2021.TECHNICAL FIELD

[0002] This disclosure relates to point cloud encoding and decoding.BRIEF DESCRIPTION OF DRAWINGS

[0003] FIG. 1 is a block diagram illustrating an example encoding and decoding system that may perform the techniques of this disclosure.[Q004] FIG. 2 is a block diagram illustrating an example Geometry Point Cloud Compression (G-PCC) encoder.

[0005] FIG. 3 is a block diagram illustrating an example G-PCC decoder.

[0006] FIG. 4 is a flowchart illustrating an example motion estimation technique for InterEM.

[0007] FIG. 5 is a flowchart illustrating an example technique for estimation of local node motion vector.

[0008] FIG. 6 is a conceptual diagram illustrating an example range-finding system that may be used with one or more techniques of this disclosure.

[0009] FIG. 7 is a conceptual diagram illustrating an example vehicle-based scenario in which one or more techniques of this disclosure may be used.

[0010] FIG. 8 is a conceptual diagram illustrating an example extended reality system in which one or more techniques of this disclosure may he used.

[0011] FIG. 9 is a conceptual diagram illustrating an example mobile device system in which one or more techniques of this disclosure may be used.

[0012] FIGS. 10A and 10B are conceptual diagrams illustrating a range update process in binary arithmetic coding.

[0013] FIG. 11 is a conceptual diagram illustrating an output process in binary arithmetic coding.

[0014] FIG. 12 is a block diagram illustrating a context adaptive binary arithmetic coder in a G-PCC encoder.

[0015] FIG. 13 is a block diagram illustrating a context adaptive binary arithmetic coder in a G-PCC decoder.

[0016] FIG. 14 is a flow diagram illustrating an example technique predicting points of a point cloud, in accordance with one or more aspects of this disclosure.SUMMARY

[0017] In general, this disclosure describes techniques for coding nodes of a point cloud using inter prediction, such as for the Geometry Point Cloud Compression (G-PCC) standard currently being developed. However, the example techniques are not limited to the G-PCC standard. The reference block of a node may be deri ved by motion compensation using the estimated motion information (rotation and translation). A good estimation of motion information may lead to a high correlation in geometry structure terms, such as occupancy, planar information between the current node and the reference node. As such, utilizing this geometry information of the reference node may improve the coding performance of the current node. This disclosure includes several techniques to utilize the information of a reference block in coding of the planar information of the current node. Generally, this information may be used in eligibility of a node for planar coding mode, selection of contexts in coding the planar flag and plane index.

[0018] In accordance with one or more techniques of this disclosure, a G-PCC coder may include a memory configured to store at least a portion of the point cloud; and one or more processors implemented in circuitry and configured to: obtain planar information of a reference block of the point cloud; determine, based on the planar information of the reference block, a context; context-adaptive code, based on the context, a syntax element that indicates whether a current node is coded using a planar mode; and code, based on the current node being coded using the planar mode, the current node using the planar mode.

[0019] In one example, a method of processing a point cloud includes obtaining planar information of a reference block of the poin t cloud; determining, based on the planar information of the reference block, a context; context-adaptive coding, based on the context, a syntax element that indicates whether a current node is coded using a planarmode; and coding, based on the current node being coded using the planar mode, the current node using the planar mode.

[0020] in another example, computer-readable storage medium stores instructions that, when executed by one or more processors, cause the one or more processors to: obtain planar information of a reference block of a point cloud; determ ine, based on the planar information of the reference block, a context; context-adaptive code, based on the context, a syntax element that indicates whether a current node is coded using a planar mode; and code, based on the current node being coded using the planar mode, the current node using the planar mode.

[0021] Tiie details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description, drawings, and claims.DETAILED DESCRIPTION

[0022] FIG. 1 is a block diagram illustrating an example encoding and decoding system 100 that may perform the techniques of this disclosure. The techniques of this disclosure are generally directed to coding (encoding and / or decoding) point cloud data, i.e., to support point cloud compression. In general, point cloud data includes any data for processing a point cloud , The coding may be effective in compressing and / or decompressing point cloud data.

[0023] As shown in FIG. 1, system 100 includes a source device 102 and a destination de vice 116. Source device 102 provides encoded point cloud data to be decoded by a destination device 116. Particularly, in the example of FIG. 1, source device 102 provides the point cloud data to destination device 116 via a computer-readable medium 110. Source device 102 and destination device 116 may comprise any of a wide range of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as smartphones, televisions, cameras, display devices, digital media players, video gaming consoles, video streaming devices, terrestrial or marine vehicles, spacecraft, aircraft, robots, LIDAR devices, satellites, or the like. In some cases, source device 102 and destination device 116 may be equipped for wireless communication.[Q024] In the example of FIG. 1, source device 102 includes a data source 104, a memory 106, a G-PCC encoder 200, and an output interface 108. Destination device 116 includes an input interface 122, a G-PCC decoder 300, a memory' 120, and a dataconsumer 118. In accordance with this disclosure. G-PCC encoder 200 of source device 102 and G-PCC decoder 300 of destination device 116 may be configured to apply the techniques of this disclosure related to utilizing infonmation of a reference block in coding of the planar information of the current node (e.g., a current block). Thus, source device 102 represents an example of an encoding device, while destination device 116 represents an example of a decoding device, in other examples, source de vice 102 and destination device 116 may include other components or arrangements. For example, source device 102 may receive data (e.g., point cloud data) from an internal or external source. Likewise, destination device 116 may interface with an external data consumer, rather than include a data consumer in the same device.

[0025] System 100 as shown in FIG. 1 is merely one example, in general, other digital encoding and / or decoding devices may perform the techniques of this disclosure related to utilizing information of a reference block in coding of the planar information of the current node. Source device 102 and destination device 116 are merely examples of such devices in which source device 102 generates coded data for transmission to destination device 116. This disclosure refers to a “coding” device as a device that performs coding (encoding and / or decoding) of data. Thus, G-PCC encoder 200 and G- PCC decoder 300 represent examples of coding devices, in particular, an encoder and a decoder, respectively. In some examples, source device 102. and destination device 116 may operate in a substantially symmetrical manner such that each of source device 102 and destination device 116 includes encoding and decoding components. Hence, system 100 may support one-way or two-way transmission between source device 102 and destination device 116, e.g., for streaming, playback, broadcasting, telephony, navigation, and other applications.[Q026] In general, data source 104 represents a source of data (i.e., raw, unencoded point cloud data) and may provide a sequential series of “frames”) of the data to G-PCC encoder 200, which encodes data for the frames. Data source 104 of source device 102 may include a point cloud capture device, such as any of a variety of cameras or sensors, e.g., a 3D scanner or a light detection and ranging (LIDAR) device, one or more video cameras, an archive containing previously captured data, and / or a data feed interface to receive data from a data content provider. Alternatively or additionally, point cloud data may be computer-generated from scanner, camera, sensor or other data. For example, data source 104 may generate computer graphics-based data as the source data, or produce a combination of live data, archived data, and computer-generated data.In each ease, G-PCC encoder 2.00 encodes the captured, pre-captured, or computer- generated data. G-PCC encoder 200 may rearrange the frames from the received order (sometimes referred to as “display order’) into a coding order tor coding. G-PCC encoder 200 may generate one or more bitstreams including encoded data. Source device 102 may then output the encoded data via output, interface 108 onto computer- readable medium 110 for reception and / or retrieval by, e.g., input interface 122 of destination device 116.

[0027] Memory 106 of source device 102 and memory’ 120 of destination device 116 may represent general purpose memories. In some examples, memory· 106 and memory 120 may store raw data, e.g., raw data from data source 104 and raw, decoded data from G-PCC decoder 300. Additionally or alternatively, memory 106 and memory 120 may store software instructions executable by, e.g., G-PCC encoder 200 and G-PCC decoder 300, respectively. Although memory 106 and memory 120 are shown separately from G-PCC encoder 200 and G-PCC decoder 300 in this example, it should be understood that G-PCC encoder 2.00 and G-PCC decoder 300 may also include internal memories for functionally similar or equivalent purposes. Furthermore, memory' 106 and memory' 120 may store encoded data, e.g., output from G-PCC encoder 200 and input to G-PCC decoder 300. In some examples, portions of memory 106 and memory 120 may be allocated as one or more buffers, e.g., to store raw, decoded, and / or encoded data. For instance, memory' 106 and memory· 120 may store data representing a point cloud.

[0028] Computer-readable medium 110 may represent any type of medium or device capable of transporting the encoded data from so urce device 102 to destination device 116. in one example, computer-readable medium 110 represents a communication medium to enable source device 102 to transmit encoded data directly to destination device 116 in real-time, e.g., via a radio frequency network or computer-based network. Output interface 108 may modulate a transmission signal including the encoded data, and input interface 122 may demodulate the received transmission signal, according to a communication standard, such as a wireless communication protocol. The communication medium may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines.The communication medium may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the internet. The communication medium may include routers, switches, base stations, or any otherequipment that may be useful to facilitate communication from source device 102 to destination device 116.

[0029] in some examples, source device 102 may output encoded data from output interface 108 to storage device 112. Similarly, destination device 116 may access encoded data from storage device 112 via input interface 122. Storage device 112 may include any of a variety of distributed or locally accessed data storage media such as a hard drive, Blu-ray discs, DVDs, CD-ROMs, flash memory, volatile or non-volatile memory, or any other suitable digital storage media for storing encoded data,

[0030] In some examples, source device 102 may output encoded data to file server 114 or another intermediate storage device that may store the encoded data generated by source device 102. Destination device 116 may access stored data from file server 114 via streaming or download. File server 114 may be any type of server dev ice capable of storing encoded data and transmitting that encoded data to the destination device 116. File server 114 may represent a web server (e.g., for a website), a File Transfer Protocol (FTP) server, a content delivery'network device, or a network attached storage (NAS) device. Destination device 116 may access encoded data from file server 114 through any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., digital subscriber line (DSL), cable modem, etc.), or a combination of both that is suitable for accessing encoded data stored on file server 114. File server 114 and input interface 122 may be configured to operate according to a streaming transmission protocol, a download transmission protocol, or a combination thereof.

[0031] Output interface 108 and input interface 122 may represent wireless transmitters / receivers, modems, wired networking components (e.g., Ethernet cards), wireless communication components that operate according to any of a variety of IEEE 802.11 standards, or other physical components. In examples where output interface 108 and input interface 122 comprise wireless components, output interface 108 and input interface 122 may he configured to transfer data, such as encoded data, according to a cellular communication standard, such as 4G, 4G-LTE (Long-Term Evolution),LTE Advanced, 5G, or the like. In some examples where output interface 108 comprises a wireless transmitter, output interface 108 and input interface 122 may he configured to transfer data, such as encoded data, according to other wireless standards, such as an IEEE 802.11 specification, an IEEE 802.15 specification (e.g., ZigBee™), a Bluetooth™ standard, or the like, in some examples, source device 102 and / ordestination device 116 may include respective system -on-a-chip (SoC) devices. For example, source device 102 may include an SoC device to perform the functionality atributed to G-PCC encoder 200 and / or output interface 108, and destination device 116 may include an SoC device to perform the functionality attributed to G-PCC decoder 300 and / or input interface 122,|0032] The techniques of this disclosure may be applied to encoding and decoding in support of any of a variety of applications, such as communication between autonomous vehicles, communication between scanners, cameras, sensors and processing devices such as local or remote servers, geographic mapping, or other applications.

[0033] input interface 122 of destination device 116 receives an encoded bitstream from computer-readable medium 110 (e.g., a communication medium, storage device 112, file server 114. or the like). The encoded bitstream may include signaling information defined by G-PCC encoder 200, which is also used by G-PCC decoder 300, such as syntax elements having values that describe characteristics and / or processing of coded units (e.g,, slices, pictures, groups of pictures, sequences, or the like). Data consumer 118 uses the decoded data. For example, data consumer 118 may use the decoded data to determine the locations of physical objects, in some examples, data consumer 118 may comprise a display to present imagery based on a point cloud.

[0034] G-PCC encoder 200 and G-PCC decoder 300 each may be implemented as any of a variety of suitable encoder and / or decoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof. When the techniques are implemented partially in software, a device may store instructions for the software in a suitable, non- transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Each of G-PCC encoder 200 and G-PCC decoder 300 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder / decoder (CODEC) in a respective device. A device including G-PCC encoder 200 and / or G- PCC decoder 300 may comprise one or more integrated circuits, microprocessors, and / or other types of devices.[Q035] G-PCC encoder 200 and G-PCC decoder 300 may operate according to a coding standard, such as video point cloud compression (V-PCC) standard or a geometry' point cloud compression (G-PCC) standard. This disclosure may generally refer to coding(e.g., encoding and decoding) of pictures to include the process of encoding or decoding data. An encoded bitstream generally includes a series of values for syntax elements representative of coding decisions (e.g., coding modes).

[0036] This disclosure may generally refer to “signaling” certain information, such as syntax elements. The term “signaling” may generally refer to the communication of values tor syntax elements and / or other data used to decode encoded data. That is, G- PCC encoder 200 may signal values for syntax elements in the bitstream. In general, signaling refers to generating a value in the bitstream. As noted above, source device 102 may transport the bitstream to destination device 116 substantially in real time, or not in real time, such as might occur when storing syntax elements to storage device 112 for later retrieval by destination device 116.

[0037] ISO / IEC MPEG (JTC I / SC 29 / WG II) is studying the potential need for standardization of point cloud coding technology with a compression capability that significantly exceeds that of the current approaches and will target to create the standard. The group is working together on this exploration activity in a collaborative effort known as the 3-Dimensional Graphics Team (3DG) to evaluate compression technology designs proposed by their experts in this area.[Q038] Point cloud compression activities are categorized in two different approaches. The first approach is “Video point cloud compression” (V-PCC), which segments the 3D object, and project the segments in multiple 2D planes (which are represented as “patches” in the 2D frame), which are further coded by a legacy 2D video codec such as a High Efficiency Video Coding (HE VC) (ITU-T H.265) codec. The second approach is “Geometry-based point cloud compression” (G-PCC), which directly compresses 3D geometry i.e., position of a set of points in 3D space, and associated attribute values (for each point associated with the 3D geometry). G-PCC addresses the compression of point clouds in both Categosy 1 (static point clouds) and Category 3 (dynamically acquired point clouds). A recent draft of the G-PCC standard is available in G-PCC DIS, ISO / IEC JTC1 / SC29 / WG11 wl9088, Brussels, Belgium, January 2020, and a description of the codec is available in G-PCC Codec Description v6, ISO / IEC JTC1 / SC29 / WG11 wl 9091, Brussels, Belgium, January 2020.[Q039] A point cloud contains a set of points in a 3D space, and may have attributes associated with the point. The attributes may be color information such as R, G, B or Y, Cb, Cr, or reflectance information, or other atributes. Point clouds may be captured by a variety of cameras or sensors such as LIDAR sensors and 3D scanners and may alsobe computer-generated. Point cloud data are used in a variety of applications including, but not limited to, construction (modeling), graphics (3D models tor visualizing and animation), and the automotive industry (L1DAR sensors used to help in navigation). jjfMMOj The 3D space occupied by a point cloud data may be enclosed by a virtual bounding box. The position of the points in the bounding box may be represented by a certain precision; therefore, the positions of one or more points may be quantized based on tire precision. At the smallest level, the bounding box is split into voxels which are the smallest unit of space represented by a unit cube. A voxel in the bounding box may be associated with zero, one, or more than one point. The bounding box may be split into multiple cube / cuboid regions, which may be called tiles. Each tile may be coded into one or more slices. The partitioning of the bounding box into slices and tiles may be based on number of points in each partition, or based on other considerations (e.g., a particular region may be coded as tiles). The slice regions may be further partitioned using splitting decisions similar to those in video codecs.

[0041] FIG. 2 provides an overview of G-PCC encoder 200. FIG. 3 provides an overview of G-PCC decoder 300. The modules shown are logical, and do not necessarily correspond one-to-one to implemented code in the reference implementation of G-PCC codec, i.e, TMC13 test model software studied by 1SO / IEC MPEG (JTC 1 / SC 29 / WG 11).

[0042] In both G-PCC encoder 200 and G-PCC decoder 300, point cloud positions are coded first. Attribute coding depends on the decoded geometry. In FIG. 2 and FIG. 3, the gray-shaded modules are options typically used for Category 1 data. Diagonai- crosshatched modules are options typically used for Category'3 data. All the other modules are common between Categories 1 and 3.[Q043] For Category 3 data, tire compressed geometry is typically represented as an octree from the root all the way down to a leaf level of individual voxels. For Category'1 data, the compressed geometry is typically represented by a pruned octree (i.e., an octree from the root down to a leaf level of blocks larger than voxels) plus a model that approximates the surface within each leaf of the pruned octree. In this way, both Category 1 and 3 data share the octree coding mechanism, while Category'I data may in addition approximate the voxels within each leaf with a surface model. The surface model used is a triangulation comprising 1-10 triangles per block, resulting in atriangie soup. The Category'i geometry' codec is therefore known as the Trisoup geometry codec, while the Category' 3 geometry'·codec is known as the Octree geometry'codec.

[0044] At each node of an octree, an occupancy is signaled (when not inferred) for one or more of its child nodes (up to eight nodes). Multiple neighborhoods are specified including (a) nodes that share a face with a current octree node, (h) nodes that share a face, edge or a vertex with the current octree node, etc. Within each neighborhood, the occupancy of a node and / or its chil dren may be used to predict the occupancy of the current node or its children. For points that are sparsely populated in certain nodes of the octree, the codec also supports a direct coding mode where the 3D position of the point is encoded directly. A flag may be signaled to indicate that a direct mode is signaled. At the lowest level, die number of points associated with the octree node / leaf node may also be coded.[0045 [ Once the geometry is coded, the attributes corresponding to the geometry points are coded. When there are multiple attribute points corresponding to one reconstructed / decoded geometry point, an attribute value may be derived that is representative of the reconstructed point.

[0046] There are three attribute coding methods in G-PCC: Region Adaptive Hierarchical Transform (RAHT) coding, interpolation-based hierarchical nearest- neighbour prediction (Predicting Transform), and interpolation-based hierarchical nearest-neighbour prediction with an update / lifting step (Lifting Transform). RAHT and Lifting are typically used for Category- 1 data, while Predicting is typically used for Category-· 3 data. However, either method may be used for any data, and, just like with the geometry codecs in G-PCC, the attribute coding method used to code the point cloud is specified in the bitstream.

[0047] The coding of the atributes may be conducted in a level-of-detail (LOD), where with each level of detail a finer representation of the point cloud attribute may be obtained. Each level of detail may be specified based on distance metric from the neighboring nodes or based on a sampling distance,

[0048] At G-PCC encoder 200, the residuals obtained as the output of the coding methods for the attributes are quantized. Hie residuals may be obtained by subtracting the atribute value from a prediction that is derived based on the points in the neighborhood of the current point and based on the attribute values of points encoded previously. The quantized residuals may be coded using context adaptive arithmetic coding.

[0049] In the example of FIG. 2, G-PCC encoder 2.00 may include a coordinate transform unit 202, a color transform unit 204, a voxelization unit 206, an attributetransfer unit 208, an octree analysis unit 210, a surface approximation analysis unit 212, an arithmetic encoding unit 214, a geometry' reconstruction unit 216, an RAHT unit 218, a LOD generation unit 220, a lifting unit 222, a coefficient quantization unit 224, and an arithmetic encoding unit 226.

[0050] As shown in the example of FIG, 2, G-PCC encoder 200 may obtain a set of positions of points in the point cloud and a set of attributes. G-PCC encoder 200 may obtain the set of positions of the points in the point cloud and the set of attributes from data source 104 (FIG. 1). The positions may include coordinates of points in a point cloud. The attributes may include information about the points in the point cloud, such as colors associated with points in the point cloud. G-PCC encoder 200 may generate a geometry bitstream 203 that includes an encoded representation of the positions of the points in the point cloud. G-PCC encoder 200 may also generate an attribute bitstream 205 that includes an encoded representation of the set of attributes.

[0051] Coordinate transform unit 202 may apply a transform to the coordinates of tire points to transform the coordinates from an initial domain to a transform domain. This disclosure may refer to the transformed coordinates as transform coordinates. Color transform unit 204 may apply a transform to transform color information of the attributes to a different domain. For example, color transform unit 204 may transform color information from an RGB color space to a YCbCr color space.

[0052] Furthermore, in the example of FIG. 2, voxelization unit 206 may voxelize the transform coordinates. Voxelization of the transform coordinates may include quantization and removing some points of the point cloud. In other words, multiple points of the point cloud may be subsumed within a single '‘voxel,” which may thereafter be treated in some respects as one point. Furthermore, octree analysis unit 210 may generate an octree based on the voxelized transform coordinates. Additionally, in the example of FIG. 2, surface approximation analysis unit 212 may analyze the points to potentially determine a surface representation of sets of the points. Arithmetic encoding unit 214 may entropy encode syntax elements representing the information of the octree and / or surfaces determined by surface approximation analysis unit 212. G- PCC encoder 2.00 may output these syntax elements in geometry bitstream 203. Geometry bitstream 203 may also include other syntax elements, including syntax elements that are not arithmetically encoded.

[0053] Geometry reconstruction unit 216 may reconstruct transform coordinates of points in the point cloud based on the octree, data indicating the surfaces determined bysurface approximation analysis unit 212, and / or other information. The number of transform coordinates reconstructed by geometry reconstruction unit 216 may be different from the original number of points of the point cloud because of voxeiization and surface approximation. This disclosure may refer to the resulting points as reconstructed points. Attribute transfer unit 208 may transfer attributes of the original points of the point cloud to reconstructed points of the point cloud.

[0054] Furthermore, RAHT unit 218 may apply KAHT coding to the attributes of the reconstructed points. In some examples, under RAHT, the attributes of a block of 2x2x2 point positions are taken and transformed along one direction to obtain four low (L) and four high (H) frequency nodes. Subsequently, the four low frequency nodes (L) are transformed in a second direction to obtain two low (LL) and two high (LH) frequency nodes. The two low frequency nodes (LL) are transformed along a third direction to obtain one low' (LLL) and one high (LLH) frequency node. The low frequency node LLL corresponds to DC coefficients and the high frequency nodes H, LH, and LLH correspond to AC coefficients. The transformation in each direction may be a 1 -D transform with two coefficient weights. The low frequency coefficients may be taken as coefficients of the 2x2x2 block tor the next higher level of RAHT transform and the AC coefficients are encoded without changes; such transformations continue until the top root node. The tree traversal for encoding is from top to bottom used to calculate the weights to be used for the coefficients; the transform order is from bottom to top. The coefficients may then be quantized and coded.

[0055] Alternatively or additionally, LOD generation unit 220 and lifting unit 222 may apply LOD processing and lifting, respectively, to the attributes of the reconstructed points. LOD generation is used to split the attributes into different refinement levels. Each refinement level provides a refinement to the attributes of the point cloud. The first refinement level provides a coarse approximation and contains few points; the subsequent refinement level typically contains more points, and so on. The refinement levels may be constructed using a distance-based metric or may also use one or more other classification criteria (e.g., subsampling from a particular order). Thus, all the reconstructed points may be included in a refinement level. Each level of detail is produced by taking a union of all points up to particular refinement level: e.g., LODI is obtained based on refinement level RL1, LOD2 is obtained based on RL1 and RL2, ... LODN is obtained by union of RLI, RL2, , .. RLN. In some cases, LOD generation may be followed by a prediction scheme (e.g., predicting transform) where attributesassociated with each point in the LOD are predicted from a weighted average of preceding points, and the residual is quantized and entropy coded. The lifting scheme builds on top of the predicting transform mechanism, where an update operator is used to update the coefficients and an adaptive quantization of the coefficients is performed.

[0056] RAHT unit 218 and lifting unit 222 may generate coefficients based on the attributes. Coefficient quantization unit 224 may quantize the coefficients generated by RAHT unit 218 or lifting unit 222. Arithmetic encoding unit 226 may apply arithmetic coding to syntax elements representing the quantized coefficients. G-PCC encoder 200 may output these syntax elements in attribute bitstream 205. Attribute bitstream 205 may also include other syntax elements, including non-arithmetically encoded syntax elements.

[0057] In the example of FIG. 3, G-PCC decoder 300 may include a geometry' arithmetic decoding unit 302, an attribute arithmetic decoding unit 304, an octree synthesis unit 306, an inverse quantization unit 308, a surface approximation synthesis unit 310, a geometry reconstruction unit 312, a RAHT unit 314, a LoD generation unit 316, an inverse lifting unit 318, an inverse transform coordinate unit 320, and an inverse transform color unit 322.[Q058] G-PCC decoder 300 may obtain a geometry bitstream 203 and attribute bitstream 205. Geometry'arithmetic decoding unit 302 of decoder 300 may apply arithmetic decoding (e.g., Context-Adaptive Binary Arithmetic Coding (CABAC) or other type of arithmetic decoding) to syntax elements in geometry'· bitstream 203. Similarly, attribute arithmetic decoding unit 304 may apply arithmetic decoding to syntax elements in attribute bitstream 205.

[0059] Octree synthesis unit 306 may synthesize an octree based on syntax elements parsed from geometry'bitstream 203. Starting with the root node of the octree, the occupancy of each of the eight children node at each octree level is signaled in the bitstream. When the signaling indicates that a child node at a particular octree level is occupied, the occupancy of children of this child node is signaled. Hie signaling of nodes at each octree level is signaled before proceeding to the subsequent octree level. At the final level of the octree, each node corresponds to a voxel position; when the leaf node is occupied, one or more points may be specified to be occupied at the voxel position. In some instances, some branches of the octree may terminate earlier than the final level due to quantization. In such cases, a leaf node is considered an occupied node that has no child nodes. In instances where surface approximation is used ingeometry bitstream 2.03. surface approximation synthesis unit 310 may determine a surface model based on syntax elements parsed from geometry7bitstream 203 and based on the octree.

[0060] Furthermore, geometry reconstruction unit 312 may perform a reconstruction to determine coordinates of points in a point cloud. For each position at a leaf node of the octree, geometry' reconstruction unit 312 may reconstruct the node position by using a binary representation of the leaf node in the octree. At each respective leaf node, the number of points at the respective leaf node is signaled; this indicates the number of duplicate points at the same voxel position. When geometry· quantization is used, die point positions are scaled for determining the reconstructed point position values.

[0061] Inverse transform coordinate unit 320 may apply an inverse transform to the reconstructed coordinates to convert the reconstructed coordinates (positions) of the points in the point cloud from a transform domain back into an initial domain. The positions of points m a point cloud may be in floating point domain but point positions in G-PCC codec are coded in the integer domain. The inverse transform may be used to convert the positions back to the original domain.

[0062] Additionally, in the example of FIG. 3, inverse quantization unit 308 may inverse quantize attribute values. The attribute values may be based on syntax elements obtained from attribute bitstream 205 (e.g., including syntax elements decoded by attribute arithmetic decoding unit 304).|0063] Depending on how the attribute values are encoded, RAHT unit 314 may perform RAHT coding to determine, based on the inverse quantized attribute values, color values for points of the point cloud. RAHT decoding is done from the top to the bottom of the tree. At each level, the low and high frequency coefficients that are derived from the inverse quantization process are used to derive tire constituent values. At the leaf node, the values derived correspond to the attribute values of the coefficients. The weight derivation process for the points is similar to the process used at G-PCC encoder 200. Alternatively, LOD generation unit 316 and inverse lifting unit 318 may determine color values for points of the point cloud using a level of detail- based technique. LOD generation unit 316 decodes each LOD giving progressively finer representations of the attribute of points. With a predicting transform, LOD generation unit 316 derives the prediction of the point from a weighted sum of points that are in prior LQDs, or previously reconstructed in the same LOD LOD generation unit 316 may add the prediction to the residual (which is obtained after inversequantization) to obtain the reconstructed value of the attribute. When the lifting scheme is used, LOD generation unit 316 may also include an update operator to update the coefficients used to derive the attribute values, LOD generation unit 316 may also apply an inverse adaptive quantization in this case.

[0064] Furthermore, in the example of FIG. 3, inverse transform color unit 322 may apply an inverse color transform to the color values. The inverse color transform may¬be an inverse of a color transform applied by color transform unit 204 of encoder 200. For example, color transform unit 204 may transform color information from an RGB color space to a YCbCr color space. Accordingly, inverse color transform unit 322 may transform color information from the YCbCr color space to the RGB color space.[Q065] The various units of FIG. 2 and FIG. 3 are illustrated to assist with understanding the operations performed by encoder 200 and decoder 300. The units may be implemented as fixed-function circuits, programmable circuits, or a combination thereof. Fixed-function circuits refer to circuits that provide particular functionality, and are preset on the operations that can he performed. Programmable ci rcuits refer to circuits that can be programmed to perform various tasks, and provide flexible functionality in the operations that can be performed. For instance, programmable circuits may execute software or firmware that cause the programmable circuits to operate in the manner defined by instructions of the software or firmware. Fixed- function circuits may execute software instructions (e.g., to receive parameters or output parameters), but the types of operations that the fixed-function circuits perform are generally immutable, in some examples, one or more of the units may be distinct circuit blocks (fixed-function or programmable), and in some examples, one or more of the units may be integrated circuits.

[0066] The planar coding mode first proposed in (Sebastien Lasserre, David Flynn, “[GPCC] Planar mode in octree-based geometry- coding,” ISO / IEC JTCI / SC29 / WG11 MPEG / m48906, Gothenburg, Sweden, July 2019) was adopted (Sebastien Lasserre, Jonathan Taquet, “[GPCC] CEO.22 report on planar coding mode,” ISO / IEC JTC 1 / SC29 / WG11 MPEG / m5OO08, Geneva, Switzerland, October 2019) at the 128thMPEG meeting in Geneva, Switzerland. The angular coding mode first proposed in (Sebastien Lasserre, Jonathan Taquet, “[GPCC][CE 13.22 related] An improvement of the planar coding mode,” ISO / IEC JTC1 / SC29 / WG11 MPEG / m5Q642, Geneva, CH, Oct. 2019, hereinafter “m50642”) was adopted (Sebastien Lasserre, Jonathan Taquet, “[GPCC] CE 13.22 report on angular mode,” ISO / IEC JTC1 / SC29AYGI 1MPEG / m51594, Brussels, Belgium, Jan. 2020, hereinafter “m51594”) at the 129thMPEG meeting in Brussels, Belgium, and enhances the coding efficiency of the planar mode by using the sensor characteristics of a typical L1DAR sensor. The angular coding mode is optionally used together with the planar mode and improves the coding of the vertical (z) plane position syntax element by employing knowledge of positions and angles of sensing laser beams in a typical LIDAR sensor. Furthermore, the angular coding mode can optionally be used to improve the coding of vertical z -position bits in IDCM. In a separate contribution (Geert Van der Auwera, Bappaditya Ray, Louis Kerofsky, Adarsh K. Ramasubramonian, Marta Karczewicz, “[GPCC] [New Proposal] Angular mode simplifications and HL8 refinements / ’ISO / IEC JTC1 / SC29 / WG11 MPEG / m53693, Teleconference (pre viously Alpbach meeting), April 2020), the angular coding mode’s context derivation was simplified and the HLS coding of sensor data parameters was made more efficient. The angular mode descriptions in the following sections are based on die original MPEG contributions documents [ni50642, m51594] and the GPCC DIS text (G-PCC DIS, ISO / IEC JTC1 / SC29 / WG11 wl9617. Teleconference,November 2020, hereinafter “GPCC DIS”).[Q067] The azimuthal coding mode first proposed in (Sebastien Lasserre, Jonathan Taquet, “[GPCC] [CE13.22 related] The azimuthal coding mode,” ISO / IEC JTC1 / SC29 / WG11 MPEG / m51596, Brussels, Belgium, Jan. 2020, hereinafter “m51596”) was adopted (Sebastien Lasserre, Jonathan Taquet “[GPCC] [CE 13.22] Report on azimuthal coding mode,” ISO / IEC JTC1 / SC29 / WG11 MPEG / m52958, Teleconference (previously Alpbach meeting), April 2020, hereinafter “m32958”) at the 130thMPEG teleconference meeting. The azimuthal coding mode is similar to the angular mode and extends it to the coding of the (x) and (y) plane position syntax elements of the planar mode and improves the coding of the x~ or y-position bits in IDCM. In a separate contribution (Geert Van der Auwera, Bappaditya Ray, Adarsh K. Ramasubramonian, Marta Karczewicz, “[GPCC] [New Proposal] Planar and azimuthal coding mode simplifications,” ISO / IEC JTC1 / SC29 / WG11 MPEG / m54694, Teleconference, July 202.0, hereinafter “m54694”) at the 131stMPEG teleconference meeting, the number of contexts used in the azimuthal mode was significantly reduced.

[0068] Note: “angular mode” may also refer to azimuthal mode m sections below.

[0069] The specification related to planar coding mode is summarized in GPCC DIS as follows:8.23.1 EHgibilty of a node for planar coding mode XXX Split and relocate[XXX, tins process is missing the planar rate update after decoding is planar flag] Explicit coding of occupancy planes is conditioned on the probability of XXX.The array PlanarRate, with elements PlanarRate [ k ], for k = 0 .. 2, is an estimate of the probability that the occupancy of a node forms a single plane perpendicular to the k-th axis.The variable LocalDensity is an estimate of the mean number of occupied children in a node.The variable NumNodesUntilPlanarUpdate counts the number of nodes to be parsed before updating PlanarRate and LocalDensity.[XXX entropy state continuation]At the start of parsing a geometry octree syntax structure, PlanarRate and LocalDensity are initialised as follows: for (k = 0; k < 3; k++)PlanarRatefk] = 1024 LocalDensity::::4096 NumNodesUntilPlanarUpdate::::0At the start of parsing each geometry_octree_node syntax stratum, NumNodesUntilPlanarUpdate is decremented, if NumNodesUntilPlanarUpdate is less than zero, PlanarRate and LocalDensity are updated as follows:The number of occupied sibling nodes is determined and used to update the LocalDensity estimate: let num Siblings = NodeNumChildren[depth - l][sNp][tNp][vNp]LocalDensity = (255cLocalDensity + 1024cnumSiblings) » 8 The number of nodes until the next update is:NumNodesUntilPlanarUpdate::::numSiblings - 1 XXXThe parent node's occupancy information is used to determine, along each axis, the presence of a single occupied plane and to update the corresponding planar probability estimate PlanarRatef k ]. let parentOccupancy = GeometryNodeOccupancy[depth - l][sNp][tNp][vNp] let pianeMasksO = { Qxffi, Oxec, Oxaa }let plane Masks 1 = { OxOf, 0x33. 0x55 } for (k = 0; k < 3; k++) { let planeO = (parentOccupancy & planeMaksO[k]) != 0 let plane! = (parentOccupancy & plane Maks! |ki) != 0 let hasSinglePlane::::planeOLplane 1PianarRatelk] = (255cPlanarRate [k] + 8c256chasSinglePlane + 128) » 8}At the start of parsing each georaetry_octree_node syntax structure, it is determined for each axis if the current node is eligible to signal plane information. The output of this process is the array PlanarEligible, with elements PlanarEligible[k], fork = 0 .. 2.First, PlanarRate is used to detennine the order, planeOrder) k ], of the three planes from most to least likely according to Table 18.Then, PlanarEligible is set as follows: for (k = 0; k < 3; k++) { if (EffectiveNodeSizeLog2[k] <= 0)PlanarEligible [k]:::0 else if ( ! geom tree coded axis flag [depth] j k] )PlanarEligible [k] = 0 else if (!geometryj)lanar_enabled_flag)PlanarEligible [k]:::0 else if (XXX angular mode linkage XXX)PlanarEligible [k] = XXX else if (LocalDensity >:::3c1024)PlanarEligible [k] = 0 elsePlanarEligible [k] = PlanarRate[k] > geom__planar_Jh[p!aneOrder[k]]Table 18 — Determination of the values of planeOrder [ k ] from planarRate [ k ]A syntax element may be signalled into the bitstream: is planar flag] axisldx ] equal to 1 indicates that the positions of the current node's children form a single plane perpendicular to the axisldx-th axis. is_planar_flag[ axisldx ] equal to 0. when present, indicates that the the positions of the current node's children occupy both planes perpendicular to the axisldx-th axis.The context index (ctxldx) for coding the isjplanar_f!ag is specified in Table 37 in GPCC DIS where it is set equal to axisldx.8.2.3.2 Buffer tracking the closest nodes along an axisThe arrays PlanarPrevPos, PianarPlane, IsPlanarNode record information about previously decoded geometry tree nodes for use in the determination of ctxldx for the syntax element plane position. When either geometry planar enabled flag is equal to 0or planar_buffer_di sabled_flag is equal to 1, the arrays are not used by the decoding process.In this process, the variable axisMx is used to represent one of the three coded axes, the variable axisPos represents the position of a node along the axisldx-th axis. Values of axisPos are in the range 0 .. 0x3fff.The array IsPlanarNode, with values IsPlanarNode[ axisldx ][ axisPos ] indicates whether the most recently decoded node with an axisldx-th position component equal to axisPos is planar in the plane perpendicular to the axisldx-th axis.The array PlanarPrevPos, with values PlanarPrevPos [ axisldx ][ axisPos / storing the maximum position component of the most recently decoded node with an axisldx-th position component equal to axisPos,The array PianarPlane, with values PianarPlane [ axisldx ][ axisPos ] indicates the value of plane position[ axisldx ] for the most recently decoded node with an axisldx-th position component equal to axisPos.At the start of each geometry tree level, each element of the arrays PlanarPrevPos and IsPlanarNode is initialized to 0.XXX After decoding each geometry planar mode data syntax structure with parameters childldx and axisldx, tire arrays PlanarPrevPos, PianarPlane and IsPlanarNode are updated as follows:The variable axisPos representing a position along the axisldx-th axis is derived as follows: if (axisldx == 0) axisPos = sN & 0x3fff if (axisldx == 1) axisPos = tN & 0x3 fif if (axisldx == 2} axisPos = vN & 0x3fffThe array entries corresponding to the node are updated as follows: if (axisldx == 0) maxPos = Max(tN & 0x7c0, vN & 0x7c0) » 3 if (axisldx == 1) maxPos = Max(sN & 0x7c0, vN & 0x7c0) » 3 if (axisldx ===== 2) maxPos == Max(sN & 0x7c0, tN & 0x7e0) » 3 PlanarPrevPos[axisIdx] [axisPos] = maxPos if (is planar flag [axisPos] )PianarPlane [axisldx] [axisPos] === plane position[axisldx]IsPlanarNode [axisldx] [axisPos] = is__planar_f]ag [axisldx]8.2.33 Determination of ctxidx for the syntax element planejaosition The inputs to this process are: the variable axisldx identifying the axis normal to a plane, and the position (sN, †.N, vN) of the current node within a geometry tree level.The output of this proces is the variable etxldx.The variable neigliOccupied indicates whether there is a node that both neighbours the current node along the axisldx-th axis, ft is derived as follows: XXX neighOccupied = (NeighbourPattern » 2caxisldx) & 3 [XXX Verify pattern] adjPlaneCtx!nc = neighOccupied == 3 ? 0 : neighOccupiedWhen planar_buffer_disabled_fiag is equal to 1, the value of ctxidx is set equal to adjPlaneCtxInc and no further processing is performed by this process. Otherwise, the remainder of this clause applies.The variable axisPos indicates the 14 feast significant position bits of the current node along the axisldx-th axis: if (axisldx == 0) axisPos = sN & OxBfff if (axisldx == 1) axisPos = tN & 0x3fff if (axisldx = 2) axisPos = vN & OxBfffThe variable dist represents a distance between the current node and the most recently decoded [Ed. decoded is perhaps the wrong term?] node position with the same value of axisPos along the axisldx-th axis. It is derived as follows: a = PlanarPrevPos[axisIdx] [axisPos] if (axisldx == 0) b = Max(tN & 0x7c0, vN & 0x7c0) » 3 if (axisldx ===== 1) b === Max(sN & 0x7c0, vN & 0x7c0) » 3 if (axisldx = 2) b = Max(sN & 0x7c0, tN & 0x7c0) » 3 dist === Abs(a - b)The context index ctxidx is derived as folio ws: if (! IsPlanarNode [axisldx] [axi sPos]]) ctxidx = adjPlaneCtxInc else { prevPlaue === PlanarPiane [axisldx] [axisPos]distCtxInc = (dist > 1) ctxidx = 12 x axisldx + 4 ¾ adjPlaneCtxInc + 2cdistCtxInc ÷ prevPlane + 3}}8.23.4 Determination of planePosIdxAzimuthalS and pianePosldxAzimutha!T for the coding of the horizontal plane positions[Ed, fix how this interacts with ctxidx above. NB: ctxidx is not plane independent]The determination of pianePosMxAngularS for the arithmetic coding of plane position

[0000] and of planePosldxAngularT for the arithmetic coding of plane__position

[0001] is obtained as follows.When geometry_angular_enab3ed_flag is equal to 0, the values of both planePosIdxAzimuthalS and planePosIdxAzimuthalT are set equal to planePosIdx. Otherwise, the following applies: if (contextAzimuthalS == -1) planePosIdxAzimuthalS:::planePosIdx else planePosIdxAzimuthalS = 39 + contextAzimuthalS if (con tex t AzimuthalT — -1) planePosIdxAzimiitlialT = planePosIdx else planePosIdxAzimuthalT = 39 + contextAzimuthalT The determination of con text Angular for the arithmetic coding of plane position! 2 ] is performed as described in XREF.8.23.5 Determination of planePosidxAngular for the coding of the vertical plane position[Ed, fix how this interacts with ctxidx above. NB: ctxidx is not plane independent]The determination of planePosidxAngular for the arithmetic coding of plane_position

[0002] is obtained as follows.When geometry_angular_enabled_flag is equal to 0, the value of pianePosIdxAnguiar is set equal to planePosIdx. Otherwise, the following applies: if (contextAngular::-1) pianePosIdxAnguiar = planePosIdx else pianePosIdxAnguiar::::48 4- contextAngularThe determination of contextAngular for the arithmetic coding of plane position

[0002] is performed as described in section 8, 2.4.4.Angular and azimuthal modes in GPCC DiS Angular mode syntaxThe syntax elements that carry' the Lidar laser sensor information that are required for the angular coding mode to have any coding efficiency benefits are italics in Table 2. The semantics of these syntax elements is specified as follows in GPCC DIS: geometry_planar_enabled_flag equal to ! indicates that the planar coding mode is activated, geometry planar enabled flag equal to 0 indicates that the planar coding mode is not activated. When not present, geometry' planar enabled flag is inferred to be 0. geom_planar_th[i], for i in the range 0 . . 2, specifies the value of the threshold of activation tor planar coding mode along the i-th most probable direction for the planar coding mode to be efficient, georn planar thji j is an integer in the range 0 .. 127. geom_idcm_rate_mimisl specifies the rate at which nodes may be eligible for direct coding. When not present, geom __idcm_rate_minusl is inferred to be 31,The array IdcniEnableMask is derived as follows: for (i - 0, acc::::0; i < 32; i++) { ace += geom_idcm_rate_minus 1 ÷ 1 IdcniEnableMask [i] = acc >= 32 acc &:::Ox If} geometry_angular_enabled_flag equal to 1 indicates that the angular coding mode is activated. geometry_angular_enab1ed_flag equal to 0 indicates that the angular coding mode is not activated.geom_slice_angular_origm_present_flag equal to i specifies that a slice relative angular origin is present in the geometry slice header, geom slice angular __ origin present flag equal to 0 specifies that an angular origin is not present m the geometry slice header. When not present, geom_slice_angular_origin_present_flag is inferred to he 0. geom_angular_originJbits_mmusl plus 1 is the length in hits of the syntax elements geom angular origin xyz[ k j. geom_anguiar_origin_xyz[ k ] specifies the k-th component of the ( x, y, z ) co-ordinate of the origin used in the processing of the angular coding mode. When not present, the value of geom angular origin xyz[ k ] with k:::0 .. 2 is inferred to be 0. geom__imgular_azimuth__scale_Jog2 and geom_angular_radius_scale_log2 specify factors used to scale positions coded using a spherical co-ordinate system during conversion to cartesian co-ordinates. geom_angular_azimuth_step_inmusl plus 1 specifies a unit change m azimuth angle. Differential prediction residuals used in angular predictive tree coding may be partially represented as multiples of geom_angular_azimuth_step_minusl plus 1. The value of geom angular azimuth step minus! shall he less than ( 1« geom angular azimuth scale Jog2 ) . number_lasers_mimisl plus I specifies the number of lasers used for the angular coding mode. laser_angle_init and iaser__angle_diff[ i ] with i = 0 .. number lasers minus 1 specify the tangent of the elevation angle of the i-th laser relative to the horizontal plane defined by the first and second coded axes.The array LaserAngle[ i ] with 1 = 0 .. number lasers minus! is derived as follows: LaserAnglejO] = laser angle ini t if(number_lasers_minusl > 0)LaserAngle[l] = 3aser_angle_init ÷ laser_angle_diff[l] for (i = 2; i <= number lasers minus 1; i-H-)LaserAngle[i]::::2*LaserAngle[i-T] - LaserAngle[i-2] + laser angle diffjij It is a requirement of bitstream conformance that the value of Laser Angle[ i ] with i = 1 .. number_lasers_minusl shall be greater than or equal to LaserAngle[ i - 1 ]. laser_correction_init and Iaser__correction__diff[ i ] with i = 1 .. number lasers minus 1 specify the correction, along the second internal axis, of the i-th laser position relative to the GeomAngularOriginf 2 ].iaser_phi_per_turn_init_mmusl and laser_phi_per_tnrn_diff[ i ] with i = 1 .. number_lasers_minus 1 specify the number of samples produced by the i-tb laser of a rotating sensing sytem located at the origin used in the processing of the angular coding mode.The arrays LaserCorrectionf i ] and LaserPhiPerTum[ i ] with i:::1 .. number...lasers minus! are derived as follows:LaserCorrectionjO] = laser correction mit LaserPhiPerTum[0] = 3aser_phi_per_tum_init_minusl + I for (i = 1; i <= number_lasers_minus 1 ; i++) {LaserCorreetionji] = LaserCorrectionfi- 1 ] + laser correction diffji]LaserPhiPerTurn[i] = LaserPhiPerTum[i-l] + laser jphi per turn diffji]}It is a requirement of bitstream conformance that the value of LaserPhiPerTum[ i ] with i:::0 .. number lasers minus 1 shall not be 0.The arrays DeltaPbi[ i ] and InvDeltaPhi[ i ] with i = 0 .. numberjasersjmnusl are derived as follows: for (i = 0; i <= number lasers minus 1; i++) {DeltaPhiji] = 6588397 / LaserPhiPerTum[i]InvDeltaPhi[i] = (LaserPhiPerTum[i] « 30) / 6588397 t planarjbuffer_disabled_flag equal to 1 indicates that tracking the closest nodes using a buffer is not used in process of coding the planar mode flag and the plane position in the planar mode. planar_buffer_disabled_flag equal to 0 indicates that tracking the closest nodes using a buffer is used. When not present, planar buffer disabled flag is inferred to be ! geometry planar enabled flag.Table 2. Geometry parameter set syntax. Angular mode syntax elements are in italics.The data syntax of the planar mode and direct mode is included in Table 3 and Table 4, respectively.Table 3. Geometry octree mode data syntaxTable 4. Direct mode data syntax8.2.4,! Derivation process of the angular eligiblity for a node XXX inputs / outputsIf geometry_angular_enabled_flag is equal to 0, anguiar__eligihle is set to equal to 0, Otherwise, the following applies:The variable deltaAngle specifying the minimum angular distance between the lasers is derived as follows: deltaAngle = 128 « 18 for(i=0; i<number lasers minus 1; i++){ delta = Laser Angle[i + 1] - LaserAngiejT] if ( deltaAngle > delta ) deltaAngle:::delta}Finally, angular_eligible is derived as follows: [Ed, sNchild needs checking] midNodeS:::1 « (Max(l, ChildNodeSizeLog2[0]) 1)midNodeT = I « (Max(l, ChildNodeSizeLog2[l ]) - 1) sLidar = Abs(((sNchild - GeomAngularOriginjO] + midNodeS) « 8) - 128) tLidar:::Abs(((tNchild - GeomAngularOfigin[l] + midNodeT) « 8) - 128) rLl = (sLidar + tLidar) » 1 deltaAngieR = deltaAnglexrLl midNodeV:::1 « (Max(l, ChildNodeSizeLog2[2]) 1) if ( number lasers minus 1 > 0 && deltaAngieR <= (midNodeV « 26)) anguiar_eligible = 0 else angular eligible:::1S.2.4.2 Derivation process of Laser index laserlndex associated with a node XXX inputs / outputsIf the angular elibiligility angular eligible is equal to 0, then laserlndex index is set to a preset value UNKOWN_LASER.Otherwise, if the angular elibiligility angular_eligible is equal to 1, the following applies as a continuation of the process described in 8.2.5.1.Firstly, the inverse rinv of the radial distance of tire current node from the Lidar is determined as follows: r2 = sLidarcsLidar + tLidarctLidar rinv - inv8qrt(r2)Then an angle theta32 is determined as follows: vLidar = ((vNchild~GeomAngularOrigin[2] + midNodeT) « 1) - 1 theta::::vLidarcrinv theta32 = theta >= 0 ? theta » 15 : -((-theta) » 15)[Ed XXX: laserlndexfParent] is meaningless, need to add another state array]Finally, the angular elibility and the associated laser are determined as follows, based on the parent node, Parent, laserlndex = UNKQWN LASER if ( ! number Ji asers _m inus 1 ) laserlndex = 0 else if (iaserIndex[Parent] = UNKOWN.LASER |j deltaAngieR <= (midNodeV «(26 + 2») { tor (i = 1; i < number_lasers_miiiusl; i++)if (LaserAngie[i] > theta32) break if (theta32 - LaserAngleji-l j <::::LaserAngle[i] - theta32)1 laserlndex = LaserAngle[i]}8.2,4, 3 Derivation process of the contexts contextAzimuthaiS and contextAzimuthaiT for planar coding mode XXX inputs / outputsThe following applies as a continuation of the process described in 8.2.5.2.Firstly, two angles are decuced from the node position relative to the angular origin sPos = sNchild - GeomAngularOrigin[0] XXX tPos:==:tNchild - GeomAngularOriginf l] phiNode:::iAtan2(tPos + midNodeT, sPos + midNodeS); phiNodeO = iAtan2(tPos, sPos);Secondly, an azimuthal predictor is obtained from the array phiBuffer predPhi === phiBuffer[laserIndex] if (predPhi ===== 0x80000000) predPhi = phiNodeTire two azimuthal contexts are initialized as follows contextAzimuthaiS === -1 conte xtAzimuthalT === -1Then, if the predictor predPhi is not equal to 0x80000000, the following applies to refine the two azimuthal contextsN shift = ((predPhi - phiNode) * InvDeltaPhi| laserlndex] + 536870912) » 30 predPhi -= DeltaPlii [laserlndex] * Nshift angleL:==:phiNodeO - predPhi angleR === phiNode - predPhi contextAnglePhi = (angleL >= 0 && angleR >= 0) || (angleL < 0 && angleR < 0) ? 2 : 0 angleL === Abs(angleL) angleR = Abs(angleR) if (angleL > angleR) {context AnglePlii ÷+ int temp = angleL angleL:::angieR angieR = temp} if (angieR > (angleL « 2)) contextAngiePhi += 4 if (Abs(sPos) <= Abs(tPos)) con text Azimuthal S - contextAngiePhi else eoiitextAzimuthalT = contextAngiePhi8.2A4 Derivation process of the context contextAngular for planar coding mode XXX inputs / outputsIf the laser index laserlndex is equal to UNKOWNJLASER, then contextAngular is set to a preset value UNKOWM CONTEXT. Otherwise, if the laser index laserlndex is not equal to UNKOWN LASER, the following applies as a continuation of the process described in 8.2.5.2.Firstly, two angular differences thetaLaserDeltaBot and thetaLaserDeltaTop relative to a lower plane and an upper plane are determined. thetaLaserDelta = LaserAngle [laserlndex ] - theta.32 Hr = LaserCorrection [laserlndex] x rlnv; thetaLaserDelta += Hr >= 0 ? ---(Hr » 17) : ((-Hr) » 17) vShift = (rlnv « ChildNodeSizeLog2[2]) » 20 XXX thetaLaserDeltaTop = thetaLaserDelta - vShift thetaLaserDeltaBot = thetaLaserDelta + vShift Then, the angular context is deduced from the two angular differences. contextAngular = thetaLaserDelta < 0 if (thetaLaserDeltaTop >= 0 || thetaLaserDeltaBot < 0) contextAngular ÷= 210070] GPCC's Motion prediction. There are two kinds of motion involved in G-PCC InterEM software (Exploratory model for inter-prediction in G-PCC, ISO / IEC JTC1 / 8C29 WG11 N18096, Macau, CN, October 2018), global motion matrix and localnode motion vector. Global motion parameters are defined as a rotation matrix and translation vector which will be applied on all the points (except the points being applied local motion mode) in prediction (reference) frame. Local node motion vector of a node of the octree is a motion vector that is only applied on points within the node in prediction (reference) frame. Details of motion estimation algorithm in InterEM is described below.

[0071] FIG. 4 is a flowchart illustrating an example motion estimation technique for InterEM, Given input prediction (reference) frame and current frame, global motion is estimated first at a global scale. After applying global motion on prediction, local motion is estimated at a finer scale, node level in octree. Finally, the estimated local node motion is applied in motion compensation.

[0072] Details of the above technique are described below,

[0073] Method to estimate global motion matrix and translation vector. FIG. 5 is a flowchart illustrating an example technique for estimation of local node motion vector. As shown in FIG, 5, the motion vector is estimated in a recursive manner. The cost function used tor choosing the best suitable motion vector may be based on the Rate- Distortion cost.[Q074] If a current node is not split into 8 children, the motion vector that could result in the lowest cost between current node and prediction node is determined. If the current node is divided into 8 children, the motion estimation algorithm is applied and the total cost under split condition is obtained by adding the estimated cost value of each child node. The decision whether to split or not to split is arrived by comparing the cost between splitting and not splitting; if split, each sub-node is assigned its respective the motion vector (or may be further split to its children), if not split, the current node is assigned the motion vector.

[0075] Two parameters that affect the performance of motion vector estimation are block size (B!ockSize) and minimum prediction unit size (MinPUSize). BlockSize defines the upper bound of node size to apply motion vector estimation and MinPUSize defines the lower bound.

[0076] The above-described techniques may present one or more disadvantages. The reference block of a node is derived by motion compensation using the estimated motion information (rotation and translation). A good estimation of motion information leads to a high correlation in geometry structure terms, such as occupancy, planar information between the current node and the reference node. Therefore, utilizing thisgeometry information of the reference node will improve the coding performance of the current node. In accordance with one or more techniques of this disclosure, a G-PCC coder (e.g., G-PCC encoder 200 or G-PCC decoder 300) may utilize the information of a reference block in coding of the planar information of the current node. As one examples, the G-PCC coder may utilize the information of the reference block in eligibility of a node for planar coding mode, selection of contexts in coding the planar flag and plane index. One or more techniques disclosed in this document may be applied independently or combined.[Q077] Planar eligibility of a node using inter prediction. In one example, the PlanarRate may be updated by a factor (R) which depends on the planar information of the reference block, in this example, the PlanarRate in Section 8.2.3.1 in GPCC DiS may be specified as (additions shown in hold italics ):The parent node's occupancy information is used to determine, along each axis, the presence of a single occupied plane and to update the corresponding planar probability estimate PlanarRate) k ]. let parentOccupancy = GeometryNodeOceupancy[depth - 1] [sNp] ftNp] [vNp] let planeMasksO = { Oxfi), Oxcc, Oxaa } let plane Masks 1 = { 0x0f, 0x33, 0x55 } for (k = 0; k < 3; k++) { let planeO = (parentOccupancy & plane Maks0[k]) !~ 0 let plane 1 = (parentOccupancy & plane Maks 1 [k] ) != 0 let hasSinglePlane = planeOLplane!PianarRate[k] = R[k] x (255cPianarRate[k] + 256chasSinglePlane ÷ 128) » 81Where R[k] is the scaling factor which depends on whether the reference block is planar mode in the klhdirection . In one example, if the reference block is planar in kth direction, Rfkj may he set. higher than I. Otherwise, R[k / may he set lower than 1.

[0078] In another example, the PlanarEligible may be not allowed if the reference block is not planar.Then. PlanarEiigible is set as follows: for (k = 0; k < 3; k++) { if (EffectiveModeSizeLog2[k] <== 0)PlanarEligible[k] = 0 else if (!geom_tree_coded_axis_flag[depth][k])PlanarEligible[k]::::0 else if ('geometry jilanar enabled flag)PlanarEiigible [k] = 0 else if (XXX angular mode linkage XXX)Planar-Eligible [k] = XXX else if (LocalDensity >= 3c1024)PlanarEiigible [k] = 0 else if (! Puuuir Mode Ref j k [}PlanarEligiblefkJ 0 elsePianarEiigible[k] = PlanarRate[k] > geom_pianar_th[planeOrder[k]]}[Q079] Alternatively, a reference planar rate (PlanarRateRef) may be determined separately based on the planarity of the reference block. The eligibility of the current node for planar mode may be in addition determined based on comparing the reference planar rate with thresholds. For example:

[0080] Then, PlanarElrgible is set as follows: for (k = 0; k < 3; k++) { if (Effect! veNodeSizeLog2[k] <=== 0)PlanarElrgible [k] = 0 else if (!geom_tree_coded_axis_f]ag [depth] [k])PlanarElrgible [k] = 0 else if (!geometry planar enabled flag)PlanarElrgible [k] = 0 else if (XXX angular mode linkage XXX)PlanarE3igihle[k] = XXX else if (LocalDensity >= 3 * 1024)PlanarEiigiblefk] = 0 elsePlanarEligiblefkJ = ( PlanarRatefk j > geomjplanar_fh[planeOrder[k]]) and / or (PkmarRaieReffkj > geom pimusrjh ref j pianeOrderjk j j }[GOBI] In some cases, the plane index positions are derived based on the plane index positions of the reference node. In some eases, this decision may be based on a threshold comparison.

[0082] Planar copy mode (PCM). A G-PCC coder may signal a flag (PCM flag) in the bitstream to indicate whether the current node and the reference node share the same planar mode in all the directions (e.g., k = 0..2). When this flag is 1, the decoder may not need to decode planar flag for each direction, and it only use the corresponding value in the reference node (e.g., the planar flag may be copied from the reference node). When the flag is 0, the planar flag in each direction may be signalled.

[0083] At further level of PCM flag, it may also indicate whether the current node and reference node share the plane position index. In this example, if the PCM flag is 1, in the k-th direction, the decoder does not need to decode the plane position index and it may use the plane index in the reference block at the same k-th direction.

[0084] In some examples, the PCM flag may be conditionally signalled. For example, the occupancy of the reference block is 0, the PCM flag may not be signalled and may be implicitly set to be 0, In some examples, a flag in slice header, or SPS header may be defined to activate or deactivate the PCM mode.

[0085] Context selection in signaling of planar flag using inter prediction. There may¬be three contexts for signalling the planar flag (isjplanarjlag). lire selection of the index is simply selected by the direction index (axisidx). In accordance with one or more techniques of this disclosure, the context to encode the planar flag may be extended using the planar mode of the reference node. An example of the extension may be described as follows:The inputs to this process are: the variable childldx identifying the child of the current node,- the variable axisidx identifying the axis normal to a plane, and die position (sN, tN, vN) of the current node within a geometry- tree level.The output of this proces is the variable ctxldx. The value of ctxldx is set equal to (2*axisldx + PlanarModeRef[ axisldx ]) and no further processing is performed.

[0086] In this example, PianarModeRef [ axisldx ] indicates whether the reference node is planar in the axisldx direction.

[0087] Ctxldx determination for the syntax element plane position using inter mode, in GPCC DIS, the context index used to encode the plane position is a function of axisldx, the plane position prediction based on neighbour occupancy. Buffer lookup to determine closest already coded node at same buffer row index contains isPlanar, pianePosition, distance measure as follows (Section 8.2.3.3):The context index ctxldx is derived as follows: if ( ! I sPlanarN ode [ axi s Idxj [axisPos ] j ) ctxldx = adjPlaneCtxinc else { prevPlane = PlanarPlane [axisldx] [axisPos] distCtxlnc:::(dist > 1) ctxldx =:12 x axisldx + 4cadjPlaneCtxinc + 2cdistCtxlnc + prevPlane + 3}

[0088] In one example of this disclosure, the occupancy and the planar mode of the reference block may be used as additional parameters to decide the context index of plane position coding.

[0089] Let PianarModeRef and RefPlane be the planar mode and the plane position in the reference block.[Q09O] If PianarModeRef] axisldx] is 0, RefPlane [axisldx] is set equal to■■! .

[0091] In an example, RefPlane [axisldx] may be used to replace prevPlane: ctxldx = 9 x axisldx + 3 x adj'Plan eCixInc + { Ref Pi an ejaxisi dxj + 1) + 3

[0092] In another example, the ctxfdx may be updated as follows. ctxldx = (12 x axisldx + 4cadjPlaneCtxinc + 2cdistCtxlnc + prevPlane + 3) +( RefPlanefaxisldx] + 1) x N where N be the number of contexts supported using only axisldx, adjPlaneCtxinc, distCtxlnc, and prevPlane. in the current draft GPCC DIS, N is 36.

[0093] In another example, the occupancy and plane position of the reference block may be used to replace the neighbour occupancy for deriving the context.

[0094] in also another example, the context index for the planar flag may be derived using only the direction index and the planar mode of the reference block as follow's: ctxidx:::3 x axisldx + { RefiPlanefaxisIdx] +1) + 3

[0095] Derivation process of the context contextAngular for planar coding mode using inter prediction. Let M be the number of contexts supported for contextAngular to code plane position. After contextAngular is derived as in Section 3.3.5, it may be updated using the planar mode of and planar position of the reference block.

[0096] in an example, contextAngular in Section 3.3.5 may be updated as follows:

[0097] In some cases, If PlanarModeRefjaxisIdx] is 0, RefP!ane[axisIdx] is set equal to -1. The contextAngular values may be assigned as follows:Then, the angular context is deduced from the two angular differences. contextAngular = thetaLaserDelta < 0 if (thetaLaserDeltaTop >== 0 jj thetaLaserDeitaBot < 0) contextAngular += 2 contextAngular = 4 x (RefPlanefaxisIdxJ + 1) + contextAngular[0098 j In another example, If PlanarModeRefjaxisIdx] is 0, ReiPianc[axisIdx] is set equal to 0.

[0099] The contextAngular values may be assigned as follows:Then, the angular context is deduced from the two angular differences, contextAngular = thetaLaserDelta < 0 if (thetaLaserDeltaTop >= 0 jj thetaLaserDeitaBot < 0) contextAngular +== 2 contextAngular --- 4 x ( RejPlanefaxisIdxj ') + contextAngular

[0100] Derivation process of the contexts eontextAzimuthalS and contextAzimuthalT combined with inter prediction for planar coding mode.

[0101] After the contexts eontextAzimuthalS and cont.extAzimntha1T are derived in 8.2.4.3, they may be updated with the use of the planar mode of tire inter reference block.

[0102] In some cases, If PlanarModeRef[axisIdx] is 0, RefP!ane[axisIdx] is set equal to -1. The follow modification may be made: if (Abs(sPos) <= Abs(tPos)) eontextAzimuthalS = contextAnglePhi + 8 x (RefPlane [axisldxj + I)else context AzimutlialT = contextAngiePhi + 8x (RefPlane [axisldx] + 1)

[0103] in some cases, if PlanarModeRefj axisldx] is 0, RefPlane[axisIdx] is set equal to 0. llie follows modification may be made: if (Abs(sPos) <= Abs(tPos)) context. A zi ninth a! S::::contextAngiePhi + 8 x (RefPlane [axisldx]) else context AzimutlialT = contextAngiePhi + 8 x (RefPlane [axisldx])

[0104] Context occupancy coding with the inter prediction.[OIOS] in the reference software tor InterEM, the context derivation for occupancy bit is derived as follows: ini ctxIdxMapMx = 4 * idxAdj / * intra prediction * / + bitisPredicted + bitPrediction / * inter prediction * / + I !mappedPred + bitPred + bitPredStrong; auto& ctxldxMap = _ctxldxMaps[ctxIdxMapIdx] ; if (i < 7 II partial Occupancy) { int ctxldx:::etxMxMap[i][idx]; bit - _arithmeticDecoder->decode ( erxQccupancy [ctxldx] ) :}

[0106] in above calculation, the context associated with the inter prediction (ctxlnter) is the sum of ! !mappedPred, bitPred, bitPredStrong. In accordance with one or more techniques of this disclosure, ctxMxMapIdx may be modified as: int ctxIdxMapidx = 8 * idxAdj / * intra prediction * / + bitisPredicted + bitPrediction / * inter prediction * / + f(! !mappedPredj « 2) + (bitPred « I) + bitPredStrong);

[0107] Motion based thresholds. A threshold may be defined based on the motion vector / motion parameters; this threshold may be used in one or more determination that are disclosed in this document.

[0108] For example, a threshold may be determined based on a magnitude / parameter associated with the rotation (e.g., angle of rotation) or translation (e.g., magnitude of translation); if an angle associated with rotation is x and the magnitude of the translation is y, then the threshold may be derived as a function of x and y (e.g., a linear combination a*x + b*y, where a and h are fixed values).

[0109] In other alternatives, the threshold associated with each axis may be derived separately: e.g., translation associated with the axis may be used to derive the threshold associated with the axis.

[0110] Based on the threshold value, one or more determinations may be conducted.For example, a point is associated with zero motion, a threshold associated with zero motion may be used to determine planar eligibility of node (as discussed above with regard to PCM); when motion associated with a point is larger, a different threshold may be used to for planar eligibility determination.

[0111] In another example, one or more determinations disclosed in this document may be disabled when the threshold (or motion parameters) exceeds a particular fixed value.

[0112] For different determinations, different thresholds may be used. The thresholds may also be signalled in the bitstream.

[0113] Examples in the various aspects of this disclosure may be used indi v idually or in any combination.

[0114] FIG. 6 is a conceptual diagram illustrating an example range-finding system 700 that may be used with one or more techniques of this disclosure. In the example of FIG. 6, range-finding system 700 includes an illuminator 702 and a sensor 704. Illuminator 702 may emit light 706. In some examples, illuminator 702 may emit light 706 as one or more laser beams. Light 706 may he in one or more wavelengths, such as an infrared wavelength or a visible light wavelength, in other examples, light 706 is not coherent, laser light. When light 706 encounters an object, such as object 708, light 706 creates returning light 710. Returning light 710 may include backscattered and / or reflected light. Returning light 710 may pass through a lens 711 that directs returning light 710 to create an image 712 of object 708 on sensor 704. Sensor 704 generates signals 714 based on image 712. Image 712 may comprise a set of points (e.g., as represented by dots in image 712 of FIG. 6).

[0115] In some examples, illuminator 702 and sensor 704 may be mounted on a spinning structure so that illuminator 702 and sensor 704 capture a 360-degree view of an environment (e.g., a spinning LIDAR sensor). In other examples, range-findingsystem 700 may include one or more optical components (e.g., mirrors, collimators, diffraction gratings, etc.) that enable illuminator 702 and sensor 704 to detect ranges of objects within a specific range (e.g., up to 360-degrees). Although the example of FIG. 6 only shows a single illuminator 702 and sensor 704, range-finding system 700 may include multiple sets of illuminators and sensors,|0116] In some examples, illuminator 702 generates a structured light pattern. In such examples, range-finding system 700 may include multiple sensors 704 upon which respective images of the structured light pattern are formed. Range-finding system 700 may use disparities between the images of the structured light pattern to determine a distance to an object 708 from which the structured light pattern baekscaiters.Structured light-based range-finding systems may have a high level of accuracy (e.g., accuracy in the sub-millimeter range), when object 708 is relatively dose to sensor 704 (e.g., 0.2 meters to 2 meters). This high level of accuracy may be useful in facial recognition applications, such as unlocking mobile devices (e.g., mobile phones, tablet computers, etc.) and for security applications.

[0117] In some examples, range-finding system 700 is a time of flight (ToF)-based system, in some examples where range-finding system 700 is a ToF-based system, illuminator 702 generates pulses of light. In other words, illuminator 702 may modulate the amplitude of emited light 706. In such examples, sensor 704 detects returning light 710 from the pulses of light 706 generated by illuminator 702. Range-finding system 700 may then detemiine a distance to object 708 from which light 706 backscatters based on a delay between when light 706 wras emitted and detected and the known speed of light in air). In some examples, rather than (or in addition to) modulating the amplitude of the emitted light 706, illuminator 702 may modulate the phase of the emitted light 706. In such examples, sensor 704 may detect the phase of returning light 710 from object 708 and determine distances to points on object 708 using the speed of light and based on time differences between when illuminator 702 generated light 706 at a specific phase and when sensor 704 detected returning light 710 at the specific phase.

[0118] In other examples, a point cloud may be generated without using illuminator 702. For instance, in some examples, sensors 704 of range-finding system 700 may include two or more optical cameras. In such examples, range-finding system 700 may use the optical cameras to capture stereo images of the environment, including object 708. Range-finding system 700 may include a point cloud generator 716 that may calculate die disparities between locations in the stereo images. Range-finding system700 may then use the disparities to determine distances to the locations shown in the stereo images. From these distances, point cloud generator 716 may generate a point cloud.[0119j Sensors 704 may also detect other attributes of object 708, such as color and reflectance information. In the example of FIG. 6, a point cloud generator 716 may generate a point cloud based on signals 714 generated by sensor 704. Range-finding system 700 and / or point cloud generator 716 may form part of data source 104 (FIG. 1). Hence, a point cloud generated by range-finding system 700 may be encoded and / or decoded according to any of the techniques of this disclosure.

[0120] FIG. 7 is a conceptual diagram illustrating an example vehicle-based scenario in which one or more techniques of this disclosure may be used. In the example of FIG. 7, a vehicle 800 includes a range-finding system 802. Range-finding system 802 may be implemented in the manner discussed with respect to FIG. 107. Although not shown in the example of FIG. 7, vehicle 800 may also include a data source, such as data source 104 (FIG. 1), and a G-PCC encoder, such as G-PCC encoder 200 (FIG. I). In the example of FIG. 7, range-finding system 802 emits laser beams 804 that reflect off pedestrians 806 or other objects in a roadway. The data source of vehicle 800 may generate a point cloud based on signals generated by range-finding system 802. The G- PCC encoder of vehicle 800 may encode the point cloud to generate bitstreams 808, such as geometry bitstream (FIG. 2) and attribute bitstream (FIG. 2). Bitstreams 808 may include many fewer bits than the unencoded point cloud obtained by the G-PCC encoder.

[0121] An output interface of vehicle 800 (e.g., output interface 108 (FIG. 1) may transmit bitstreams 808 to one or more other devices. Bitstreams 808 may include many fewer bits than the unencoded point cloud obtained by the G-PCC encoder. Thus, vehicle 800 may be able to transmit bitstreams 808 to other devices more quickly than the unencoded point cloud data. Additionally, bitstreams 808 may require less data storage capacity.

[0122] In the example of FIG. 7, vehicle 800 may transmit bitstreams 808 to another vehicle 810. Vehicle 810 may include a G-PCC decoder, such as G-PCC decoder 300 (FIG. 1). The G-PCC decoder of vehicle 810 may decode bitstreams 808 to reconstruct the point cloud. Vehicle 810 may use the reconstructed point cloud for various purposes. For instance, vehicle 810 may determine based on the reconstructed point cloud that pedestrians 806 are in the roadway ahead of vehicle 800 and therefore startslowing down, e.g., even before a driver of vehicle 810 realizes that pedestrians 806 are in the roadway. Thus, m some examples, vehicle 810 may perform an autonomous navigation operation based on the reconstructed point cloud.

[0123] Additionally or alternatively, vehicle 800 may transmit bitstreams 808 to a server system 812. Server system 812 may use bitstreams 808 for various purposes.For example, server system 812 may store bitstreams 808 tor subsequent reconstruction of the point clouds, in this example, server system 812 may use the point clouds along with other data (e.g., vehicle telemetry- data generated by vehicle 800) to train an autonomous driving system. In other example, server system 812 may store bitstreams 808 for subsequent reconstruction for forensic crash investigations.

[0124] FIG. 8 is a conceptual diagram illustrating an example extended reality system in which one or more techniques of this disclosure may be used. Extended reality (XR) is a term used to cover a range of technologies that includes augmented reality (AR), mixed reality (MR), and virtual reality (VR). In the example of FIG. 8, a user 900 is located in a first location 902. User 900 wears an XR headset 904. As an alternative to XR headset 904, user 900 may use a mobile device (e.g., mobile phone, tablet computer, etc.). XR headset 904 includes a depth detection sensor, such as a range-finding system, that detects positions of points on objects 906 at location 902. A data source of XR headset 904 may use the signals generated by the depth detection sensor to generate a point cloud representation of objects 906 at location 902. XR headset 904 may include a G-PCC encoder (e.g., G-PCC encoder 200 of FIG. 1) that is configured to encode the point cloud to generate bitstreams 908.

[0125] XR headset 904 may transmit bitstreams 908 (e.g., via a network such as the Internet) to an XR headset 910 worn by a user 912 at a second location 914. XR headset 910 may decode bitstreams 908 to reconstruct the point cloud. XR headset 910 may use the point cloud to generate an XR visualization (e.g., an AR, MR, VR visualization) representing objects 906 at location 902. Thus, in some examples, such as when XR headset 910 generates an VR visualization, user 912 may have a 3D immersive experience of location 902. In some examples, XR headset 910 may determine a position of a virtual object based on the reconstructed point cloud. For instance, XR headset 910 may determine, based on the reconstructed point cloud, that an environment (e.g., location 902) includes a fiat surface and then determine that a virtual object (e.g., a cartoon character) is to be positioned on the flat surface, XR headset 910 may generate an XR visualization in which the virtual object is at thedetermined position. For instance, XR headset 910 may show the cartoon character sitting on the flat surface.

[0126] FIG. 9 is a conceptual diagram illustrating an example mobile device system in which one or more techniques of tins disclosure may be used. In the example of FIG. 9, a mobile device 1000 (e.g., a wireless communication device), such as a mobile phone or tablet computer, includes a range-finding system, such as a LIDAR system, that detects positions of points on objects 1002 in an environment of mobile device 1000. A data source of mobile device 1000 may use the signals generated by the depth detection sensor to generate a point cloud representation of objects 1002. Mobile device 1000 may include a G-PCC encoder (e.g., G-PCC encoder 200 of FIG. 1) that is configured to encode the point cloud to generate bitstreams 1004. In the example of FIG. 9, mobile device 1000 may transmit bitstreams to a remote device 1006, such as a server system or other mobile device. Remote device 1006 may decode bitstreams 1004 to reconstruct the point cloud. Remote device 1006 may use the point cloud for various purposes. For example, remote device 1006 may use the point cloud to generate a map of environment of mobile device 1000. For instance, remote device 1006 may generate a map of an interior of a building based on the reconstructed point cloud. In another example, remote device 1006 may generate imagery (e.g., computer graphics) based on the point cloud. For instance, remote device 1006 may use points of the point cloud as vertices of polygons and use color attributes of the points as the basis for shading the polygons. In some examples, remote device 1006 may use the reconstructed point cloud for facial recognition or other security applications.

[0127] FIGS. 10A and 10B show examples of this process at bin n. in example 201 of FIG. 10A, the range at bin n includes the RangeMPS and RangeLPS given by the probability of the LPS (rs) given a certain context state (a). Example 201 shows the update of the range at bin n+1 when the value of bin n is equal to the MPS. In this example, the low stays the same, but the value of the range at bin n+1 is reduced to the value of RangeMPS at bin n. Example 203 of FIG. 10B shows the update of the range at bin n+1 when the value of bin n is not equal to the MPS (i.e., equal to the LPS). In this example, the low is moved to the lower range value of RangeLPS at bin n. In addition, the value of the range at bin n+1 is reduced to the value of RangeLPS at bin n. ]0128] In some examples, the range may be expressed with 9 bits and the low with 10 bits. There is a renormalization process to maintain the range and low values at sufficient precision. The renormalization occurs whenever the range is less than 256.Therefore, the range is always equal or larger than 256 after renormalization.Depending on the values of range and low, the BAC outputs to the bitstream, a "0,’ or a"1,’ or updates an internal variable (called BO: bits-outstanding) to keep for future outputs. FIG. 11 shows examples of BAC output depending on the range. For example, a4ft is output to the bitstream when the range and low are above a certain threshold (e.g., 512). A "O’ is output to the bitstream when the range and low are below a certain threshold (e.g., 512). Nothing is output to the bitstream when the range and lower are between certain thresholds. Instead, the BO value is incremented and the next bin is encoded.

[0129] As discussed above, arithmetic coding methods may he used to provide high compression efficiency. This is achieved by first transforming the non-binary syntax elements into a binary' representation (e.g., 0, 1) using a process called binarization .The resulting transformed entries are called as bins or bin-strings. These bins or bin strings are then fed into the arithmetic coding process. FIG. 11 illustrates an example context adaptive binary arithmetic coding (CABAC) encoding stage. The example CABAC encoding stage may be implemented in a G-PCC encoder, such as by arithmetic encoding unit 214 and / or arithmetic encoding unit 226 of G-PCC encoder 200 of FIG. 2.

[0130] In some examples of G-PCC, context-adaptive binary’arithmetic coding (CABAC) may be used tor generating the bins through the binarization process. For each coded bin value, an appropriate context model is selected. These context models are used for encoding each bin value into output bits based on the bin probability values. CABAC engine bypasses context-modeling and bin encoding when the bin is equally probable to be 0 or 1. This is the bypass coding stage discussed below. Otherwise, an appropriate context model is specified as the bin values are encoded and models based on the probability’of bin-values. Contexts are adapted as the encoder encodes more bins. Lastly, the context-coded bin values or raw' bitstreams are transmitted or otherwise provided to the decoder.

[0131] FIG. 12 is a block diagram of an example arithmetic encoding unit 214 that may be configured to perform CABAC in accordance with the techniques of this disclosure. A syntax element 1180 is input into the arithmetic encoding unit 214, If the syntax element is already a binary-value syntax element (e.g., a flag or other syntax element that only has a value of 0 and 1), the step of binarization may be skipped. If the syntax element is a non-binary' valued syntax element (e.g., a syntax element that may havevalues other than 1 or 0), the non-binary valued syntax element is binarized by binarizer 1200. Binarizer 1200 performs a mapping of the non-binary valued syntax element into a sequence of binary decisions. These binary decisions are often called “bins.” For example, for transform coefficient le vels, the value of the level may be broken down into successive bins, each bin indicating whether or not the absolute value of coefficient level is greater than some value. For example, bin 0 (sometimes called a significance flag) indicates if the absolute value of the transform coefficient level is greater than 0 or not. Bin 1 indicates if the absolute value of the transform coefficient level is greater than I or not, and so on. A unique mapping may be developed for each non-binary' valued syntax element.

[0132] Each bin produced by binarizer 1200 is fed to the binary arithmetic coding side of arithmetic encoding unit 214. That is, for a predetermined set of non-binary valued syntax elements, each bin type (e.g., bin 0) is coded before the next bin type (e.g., bin 1). Coding may be performed m either regular mode or bypass mode. In bypass mode, bypass encoding engine 1260 performs arithmetic coding using a fixed probability model, for example, using Golomb-Rice or exponential Golomb coding. Bypass mode is generally used for more predictable syntax elements.

[0133] Coding in regular mode involves performing CABAC. Regular mode CABAC is for coding bin values where the probability of a value of a bin is predictable given the values of previously coded bins. The probability of a bin being an LPS is determined by context modeler 1220. Context modeler 1220 outputs the bin value and the probability state for the context (e.g., the probability state o, including the value of the LPS and the probability of the LPS occurring). The context may be an initial context for a series of bins, or may be determined based on the coded values of previously coded bins. The identify of a context may be expressed and / or be determined based on a value of a variable etxlne (context increment, such as the value of the ctxhic representing an increment to apply to a previous context). As described above, context modeler 1220 may update the state based on whether or not the received bin was the MPS or the LPS. After the context and probability state s is determined by context modeler 1220, regular encoding engine 1240 performs BAC on the bin value.

[0134] FIG. 13 is a block diagram of an example arithme tic decoding unit 302 that may be configured to perform CABAC in accordance with the techniques of this disclosure. The arithmetic decoding unit 302. of FIG. 13 performs CABAC in an inverse manner as that of arithmetic encoding unit 214 described in FIG. 12. Coded bi ts from bitstream2180 are input into arithmetic decoding unit 302. The coded bits are fed to either context modeler 2200 or bypass decoding engine 2220 based on whether they were entropy coded using regular mode or bypass mode, if the coded bits were coded in bypass mode, bypass decoding engine will use Golomb-Rice or exponential Golomb decoding, for example, to retrieve the binary-valued syntax el ements or bins of nonbinary syntax elements.

[0135] If the coded bits were coded in regular mode, context modeler 2200 may determine a probability model for the coded hits and regular decoding engine 22.40 may decode the coded bits to produce bins of non-binary'valued syntax elements (or the syntax elements themselves if binary-valued). After the context and probability state s is determined by context modeler 2200, regular decoding engine 2240 performs BAC to decode the bin value. In other words, regular decoding engine 2.2.40 may determine a probability state of a context, and decode a bin value based on previously coded bins and a current range. After decoding the bin, context modeler 2200 may update the probability state of the context based on the window size and the value of the decoded bin,

[0136] FIG. 14 is a flow' diagram illustrating an example technique predicting points of a point cloud, in accordance with one or more aspects of this disclosure. The technique of FIG. 14 may be performed by a G-PCC coder, such as G-PCC encoder 200 of FIG. 2. However, other devices may perform the technique of FIG. 14, such as G-PCC decoder 300 of FIG. 3.

[0137] G-PCC encoder 200 may obtain planar information of a reference block of the point cloud (1402). For instance, arithmetic encoding unit 214 of G-PCC encoder 200 may determine whether the reference block is coded using the planar mode in a particular direction (e.g., PlanarModeRet] axisldx], which may indicate whether the reference block / node is planar in the axisldx direction).

[0138] G-PCC encoder 200 may determine, based on the planar information of the reference block, a context (1404). For instance, arithmetic coding unit 214 may determine a context index (ctxidx) based on the planar information of the refence block. As one example, arithmetic coding unit 214 may determine etxldx as (2*axisMx + PlanarModeRef] axisldx ]).

[0139] G-PCC encoder 200 may context-adaptive code, based on the context, a syntax element that indicates whether a current node is coded using a planar mode (1406). For instance, arithmetic encoding unit 214 may perform context adaptive binary' arithmeticcoding (CAB AC) of an is_planar_f!ag syntax element for the current node based on the ctxldx. As noted above, the is_planar_flag syntax element equal to 1 may indicate that the positions of the current node's children form a single plane perpendicular to the axisldx-th axis, is planar flag) axisldx ] equal to 0, when present, may indicate that the positions of the current node's children occupy both planes perpendicular to the axisldx- th axis.

[0140] G-PCC encoder 200 may code, based on the current node being coded using the planar mode, the current node using the planar mode (1408). For Instance, G-PCC encoder 200 may code the current node’s children as forming a single plane.

[0141] in some examples, where the current node is coded using the planar mode, arithmetic coding unit 214 may determine, based on a reference plane, a second context: and context-adaptive code, based on the second context, a syntax element indicating a plane for the current node. The syntax element indicating the plane for the current node may be a plane position syntax element. In some examples, to determine the second context based on the reference plane, arithmetic coding unit 214 may determine a context index in accordance with the following equation: ctxldx = (12 * axisldx + 4cadjPlaneCtxInc + 2cdistCtxInc + prevPlane + 3) + (RefPlanej axisldx] + 1)cN, wherein ctxldx is the context index, axisldx is an axis index, adjPlaneCtxInc is an adjusted plane context increment, distCtxInc is a distance context increment, prevPlane is a previous plane, and RefPlane [axisldx] is the reference plane.10142] In some examples, arithmetic coding unit 214 may determine an angular context for the current node based on a reference plane; and determine, based on the angular context, a plane for the current node. To code the current node using the planar mode, G-PCC encoder 200 may code the current node based on the plane.

[0143] In some examples, arithmetic coding unit 214 may determine an azimuthal context for the current node based on a reference plane; and determine, based on the azimuthal context, a plane for the current node. To code the current node using the planar mode, G-PCC encoder 200 may code the current node based on the plane. In some examples, to determine the of azimuthal context, arithmetic coding unit 214 may determine the azimuthal context in accordance with the following equation: con text Azimuthal = contextAnglePhi ÷ 8 x (RefPlane [axisldx] + 1), wherein contextAzimuthal is the azimuthal context, contextAnglePhi is an intermediate value used to derive azimuthal contexts, and RefPlane [axisldx] is the reference plane.Multiple azimuthal contexts may be derived based on contextAnglePlii, including contextAzimuthalS and contextAzimuthalT.

[0144] in some examples, the current node may be selectively coded using a planar copy mode (PCM). For instance, G-PCC encoder 200 may determine whether to copy planar information for the current node from a reference node. G-PCC encoder 200 may signal whether or not the current node is coded using PCM. For instance, arithmetic coding unit 214 may code a syntax element, such as a binary flag, that indicates whether the current node is coded using a planar copy mode (e.g., PCM flag) Where the current node is coded using the planar copy mode, G-PCC decoder 300 may copy planar information of the current node from a reference node. For instance, G- PCC decoder 300 may utilize a plane position of the reference node as a plane position of the current node. Similarly, where the current node is not coded using the planar copy mode, G-PCC encoder 200 may encode (and G-PCC decoder 300 may decode), the planar information for the current node from a bitstream. In this way, the PCM may improve coding efficiency,[Q145] The following numbered clauses may illustrate one or more aspects of the disclosure:[Q146] Clause 1A. A method of coding point cloud data, the method comprising: obtaining planar information of a reference block of the point cloud data; and coding, based on the obtained planar information, a current block of the point cloud data

[0147] Clause 2A. The method of clause 1 A, wherein coding the current block of the point cloud data comprises: determining, for a current direction of the current block, a planar rate based at least in part on whether the reference block is coded using planar mode in the current direction.

[0148] Clause 3 A. The method of clause LA, wherein coding the current block of the point cloud data comprises: determining whether the current block is planar eligible based on whether the reference block is planar.

[0149] Clause 4A. The method of clause 1 A, further comprising: coding, in a coded bitstream, a syntax element having a value that indicates whether the current block and the reference block share a same planar mode in all directions,

[0150] Clause 5A. The method of clause IA, further comprising: coding, in the coded bitstream, a syntax element having a value that indicates whether the current block and the reference block share a same plane position index.

[0151] Clause 5A, The method of clause IA. wherein coding the current block of the point cloud data comprises: determining a context for context-adaptive coding of a planar flag of the current block based on whether the reference block is planar.

[0152] Clause 6A. The method of clause 1A, wherein coding the current block of the point cloud data comprises: determining an angular context for the current block based on a planar mode of an planar position of the reference block.

[0153] Clause 7A. A de vice for processing a point cloud, the device comprising one or more means for performing the method of any of clauses ! A-6A.

[0154] Clause 8A. The device of clause 7A, wherein the one or more means comprise one or more processors implemented in circuitry.

[0155] Clause 9A. The device of any of clauses 7 A or 8A, further comprising a memory to store the data representing the point cloud.|0156] Clause 10A. The device of any of clauses 7A-9A, wherein the device comprises a decoder.

[0157] Clause 11 A. The device of any of clauses 7A-10.4, wherein the device comprises an encoder.

[0158] Clause 12A. The device of any of clauses 7A-11 A, further comprising a device to generate the point cloud.

[0159] Clause 13A. The device of any of clauses 7A-12A, further comprising a display to present imagery based on the point cloud.|0160] Clause 14A. A computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to perform the method of any of clauses 1.4-6 A.

[0161] It is to be recognized that depending on the example, certain acts or events of any of the techniques described herein can be performed in a different sequence, may be added, merged, or left out altogether (e.g., not all described acts or events are necessary for the practice of the techniques). Moreover, in certain examples, acts or events may he performed concurrently, e.g., through multi-threaded processing, interrupt processing, or multiple processors, rather than sequentially.

[0162] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof if implemented in software, the functions may be stored on or transmitted o ver as one or more instructions or code on a computer-readable medium and executed by a hardware -based processing unit. Computer-readable media may include computer-readable storage media, whichcorresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. In this manner, computer- readable media generally may correspond to (1) tangible computer-readable storage media which is norHxansitory or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve distractions, code and / or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium .

[0163] By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead directed to non-transitory, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0164] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other equivalent integrated or discrete logic circuitry'. Accordingly, the terms “processor” and “processing circuitry',” as used herein may refer to any of the foregoing structures or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardw'are and / or software modules configured for encoding and decoding, orincorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.

[0165] The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and / or firmware. [Q166] Various examples have been described. These and other examples are within tire scope of the following claims.

Claims

WHAT IS CLAIMED IS:

1. A device for processing a point cloud, the device comprising: a memory configured to store at least a portion of the point cloud; and one or more processors implemented in circuitry and configured to: obtain planar information of a reference block of the point cloud; determine, based on the planar information of the reference block, a context; context-adaptive code, based on the context, a syntax element that indicates whether a current node is coded using a planar mode; and code, based on the current node being coded using the planar mode, the current node using the planar mode.

2. The device of claim 1, wherein the syntax element that indicates whether the current node is coded using the planar mode comprises a is_planar_flag syntax element.

3. The device of claim 1, wherein the context is a first context, and wherein the one or more processors are further configured to: responsive determining that the current node is coded using the planar mode: determine, based on a reference plane, a second context; and context-adaptive code, based on the second context, a syntax element indicating a plane for the current node, wherein, to code the current node using the planar mode, the one or more processors are configured to code the current node based on the plane.

4. The device of claim 3, wherein the syntax element indicating the plane for the current node comprises a plane_position syntax element.

5. Tiie device of claim 3, wherein, to determine the second context based on the reference plane, the one or more processors are configured to determine a context index in accordance with the following equation: ctxldx = (12 x axiskix + 4cadjPianeCtxInc + 2cdistCtxlnc + prev Plane + 3) + (RefP2ane[axisIdx] + 1)xN, wherein ctxldx is the context index, axisldx is an axis index, adjPianeCtxInc is an adjusted plane context increment, distCtxlnc is a distance context increment, prevPlane is a previous plane, and RefPlane [axisldx] is the reference plane,6. The device of claim 1, w herein the one or more processors are configured to: determine an angular context for the current node based on a reference plane; and determine, based on the angular context, a plane for the current node, wherein, to code the current node using the planar mode, the one or more processors are configured to code the current node based on the plane,7. The device of claim 1, w herein the one or more processors are configured to: determine an azimuthal context for the current node based on a reference plane; and determine, based on the azimuthal context, a plane for the current node, wherein, to code the current node using the planar mode, the one or more processors are configured to code the current node based on the plane.

8. The device of claim 7, w herein, to determine the of azimuthal context, the one or more processors are configured to determine the azimuthal context in accordance with the following equation: context Azimuthal = context AnglePhi + 8 x (RefPlane [axisldx] + 1 ), wherein context Azimuthal is the azimuthal context, contextAnglePhi is an intermediate value used to deri v e azimuthal contexts, and RefPlane [axisldx] is the reference plane.

9. Tiie device of claim 1, wherein the one or more processors are further configured to: code a syntax element that indicates whether the current node is coded rising a planar copy mode; and copy, where the current node is coded using the planar copy mode, planar information of the current node from a reference node.

10. The device of claim 9, wherein, to copy the planar information, the one or more processors are configured to: utilize a plane position of the reference node as a plane position of the current node.

11. The device of claim 9, wherein the syntax element that indicates whether the current node is coded using the planar copy mode comprises a binary flag.

12. The device of claim 1, further comprising: a spinning LIOAR sensor, wherein the one or more processors are configured to generate the point cloud based on data generated by the spinning LIDAR sensor.

13. The device of claim 12, wherein the device is a vehicle that includes the spinning LIDAR sensor.

14. The device of claim 1, wherein the device is a wireless communication device.

15. A method of coding point cloud data, the method comprising: obtaining planar information of a reference block of the point cloud; determining, based on the planar information of the reference block, a context; context-adaptive coding, based on the context, a syntax element that indicates whether a current node is coded using a planar mode; and coding, based on the current node being coded using the planar mode, the current node using the planar mode.

16. The method of claim 15, wherein the syntax element that indicates whether the current node is coded using the planar mode comprises a is_planar_flag syntax element.

17. The method of claim 15, wherein the context is a first context, the method further comprising: responsive determining that the current node is coded using the planar mode: determining, based on a reference plane, a second context; and context-adaptive coding, based on the second context, a syntax element indicating a plane for the current node, wherein coding the current node using the planar mode comprises coding the current node based on the plane.

18. The method of claim 17, wherein the syntax element indicating the plane for the current node comprises a plane __position syntax element.

19. The method of claim 17, wherein determining the second context based on the reference plane comprises determining a context index in accordance with the following equation: ctxldx = (12 x axisidx + 4 x adjPlaneCtxlnc + 2 x distCtxInc + prevPlane + 3) + (Re fPlane [axisidx] + 1}cN, wherein ctxldx is the context index, axisidx is an axis index, adjPlaneCtxlnc is an adjusted plane context increment, distCtxInc is a distance context increment, prevPlane is a previous plane, and RefPlane [axisidx] is the reference plane.

20. The method of claim 15, further comprising determining an angular context for the current node based on a reference plane; and determining, based on the angular context, a plane for the current node, wherein coding the current node using the planar mode comprises coding the current node based on the plane.

21. The method of claim 15, further comprising: determining an azimuthal context for the current node based on a reference plane; and determining, based on the azimuthal context, a plane for the current node,wherein coding the current node using the planar mode comprises coding the current node based on the plane.

22. The method of claim 21, wherein determining the of azimuthal context comprises determining the azimuthal context, in accordance with the following equation; contextAzirnuthai:::contextAnglePhi + 8 x (RefPlane [axisldx] + 1), wherein contextAzirnuthai is the azimuthal context, contextAnglePhi is an intermediate value used to derive azimuthal contexts, and RefPlane [axisldx] is the reference plane.

23. A computer-readable storage medium storing instructions that, when executed, cause one or more processors to: obtain planar information of a reference block of a point cloud; determine, based on the planar information of the reference block, a context; context-adaptive code, based on the context, a syntax element that indicates whether a current node is coded using a planar mode; and code, based on the current node being coded using the planar inode, the current node using the planar mode.