Method and device for binary entropy encoding and decoding of point clouds

Through recursive splitting and binary entropy encoding and decoding based on tree structures, combined with subvolume neighbor configuration and context reduction, the problem of efficient compression and decoding of point cloud data is solved, and more efficient encoding and decoding performance is achieved.

CN112789803BActive Publication Date: 2024-10-01MALIKIE INNOVATIONS LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201980065224.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-02
Filing Date
2019-10-02
Publication Date
2024-10-01
Estimated Expiration
2039-10-02

Smart Images

  • Figure CN112789803B_ABST
    Figure CN112789803B_ABST
Patent Text Reader

Abstract

Method and apparatus for encoding a point cloud. A bit sequence representing an occupancy pattern of a subvolume of a volume is encoded and decoded using a binary entropy codec. For a given bit in the bit sequence, a context may be based on a subvolume neighbor configuration of the subvolume corresponding to the bit. The subvolume neighbor configuration depends on the occupancy pattern of a set of subvolumes of neighboring volumes of the volume that are adjacent to the subvolume corresponding to the given bit. The context may also be based on a partial sequence of previously encoded and decoded bits of the bit sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates generally to point cloud compression, and in particular to methods and apparatus for binary entropy coding of point clouds. Background Art

[0002] Data compression is used in communications and computer networking to efficiently store, transmit and reproduce information. There is increasing interest in the representation of three-dimensional objects or spaces, which can involve large data sets, and efficient and effective compression of such representations will be very useful and valuable. In some cases, a three-dimensional object or space can be represented using a point cloud, which is a collection of points that each have three coordinate locations (X, Y, Z) and in some cases other properties, such as color data (e.g., brightness and chromaticity), transparency, reflectivity, normal vectors, etc. Point clouds can be static (a snapshot of a stationary object or an environment / object at a single point in time) or dynamic (a time-ordered sequence of point clouds).

[0003] Example applications for point clouds include topology and mapping applications. Autonomous vehicles and other machine vision applications may rely on point cloud sensor data in the form of 3D scans of the environment, such as from LiDAR (laser radar) scanners. Virtual reality simulations may rely on point clouds.

[0004] It will be appreciated that point clouds can involve large amounts of data, and that compressing (encoding and decoding) this data quickly and accurately is of great interest. Therefore, it would be advantageous to provide methods and apparatus that more efficiently and / or effectively compress point cloud data. Furthermore, it would be advantageous to find methods and apparatus for encoding and decoding point clouds that can be implemented using context-adaptive binary entropy encoding and decoding without the need to manage excessive amounts of context. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Reference will now be made, by way of example, to the accompanying drawings which show example embodiments of the present application, and in which:

[0006] Figure 1 A simplified block diagram of an example point cloud encoder is shown;

[0007] Figure 2 A simplified block diagram of an example point cloud decoder is shown;

[0008] Figure 3 shows an example partial subvolume and associated tree structure for encoding and decoding;

[0009] Figure 4 The diagram shows the recursive splitting and encoding and decoding of the octree;

[0010] Figure 5An example scan pattern within an example cube from an octree is shown;

[0011] Figure 6 An example occupancy pattern within an example cube is shown;

[0012] Figure 7 An example method for encoding a point cloud is shown in flowchart form;

[0013] Figure 8 illustrates a portion of an example octree;

[0014] Fig. 9 An example of a neighboring subvolume is shown;

[0015] Fig.10 An example neighbor configuration is shown showing occupancy between neighboring nodes;

[0016] Fig.11 An illustrative embodiment of a process for entropy encoding of a point cloud using context dependent parent patterns is diagrammatically shown;

[0017] Fig.12 An illustrative embodiment of a process for entropy encoding of a point cloud using context dependent neighbor configuration is shown;

[0018] Fig.13 An example method for decoding a bit stream of compressed point cloud data is shown in flowchart form;

[0019] Fig.14 An example simplified block diagram of an encoder is shown;

[0020] Fig.15 An example simplified block diagram of a decoder is shown;

[0021] Fig.16 An example Cartesian coordinate system and example rotations and / or reflections about axes are shown;

[0022] Fig.17 shows the invariance class of the neighbor configuration under one or several iterations of rotation around the Z axis;

[0023] Fig.18 The invariance classes for neighbor configurations for vertical reflections are shown;

[0024] Fig.19 The invariance classes for both rotation and reflection are shown;

[0025] Fig. 20 The invariance categories under three rotations and reflection are shown;

[0026] Fig.21The equivalence between non-binary codec and concatenated binary codec for occupancy mode is illustrated;

[0027] Fig. 22 An example method for encoding and decoding occupancy patterns in a tree-based point cloud codec using binary encoding and decoding is shown in flowchart form;

[0028] Fig.23 A simplified block diagram of portions of an example encoder is shown;

[0029] Fig.24 An example context reduction operation based on neighbor filtering is diagrammatically illustrated;

[0030] Fig.25 Another example context reduction operation based on neighbor filtering is shown;

[0031] Fig.26 An example of a method for binary encoding and decoding of occupancy patterns using combined context reduction is shown in flowchart form;

[0032] Fig. 27 An example of adjacent subvolumes is shown, some subvolumes between which have been encoded;

[0033] Fig.28 An example of a neighboring subvolume and an already encoded subvolume of the neighboring subvolume is shown;

[0034] Fig.29 A method for encoding an occupancy pattern of a current node based at least in part on a subvolume neighbor configuration is shown in flowchart form;

[0035] Fig.30 A method for decoding an occupancy pattern of a current node based at least in part on a subvolume neighbor configuration is shown in flowchart form;

[0036] Fig.31 An example showing how to split the volume associated with the current node into sub-volumes;

[0037] Figure 32 to Figure 35 An example of subvolume neighbor configurations for different child nodes of the current node is shown;

[0038] Fig.36 A method of determining a subvolume neighbor configuration of a child node of a current node is shown in flowchart form; and

[0039] Fig.37 One example of a method for binary encoding and decoding of occupancy patterns using combined context reduction and context determination based on subvolume neighbor configuration is shown in flowchart form.

[0040] Similar reference numerals may have been used in different drawings to denote similar components. DETAILED DESCRIPTION

[0041] The present application describes methods for encoding and decoding point clouds and encoders and decoders for encoding and decoding point clouds. Entropy coding (e.g., binary entropy coding) can be used to encode and decode a bit sequence representing an occupancy pattern of a subvolume of a current volume. Probabilities (e.g., context) for entropy coding and decoding can be based on a neighborhood configuration of the current volume and a partial sequence of previously encoded and decoded bits of the bit sequence. These probabilities can also be based on occupancy data of a subvolume of at least one neighboring volume of the current volume. Specifically, the probability for encoding and decoding a bit in the bit sequence can be selected based at least in part on a subvolume neighborhood configuration, the subvolume neighborhood configuration depending on an occupancy pattern of a set of subvolumes of at least one neighboring volume, which is adjacent to the subvolume of the current volume corresponding to the bit in the bit sequence.

[0042] In an example useful for understanding the present application, a determination may be made as to whether a context reduction operation is to be applied, and if so, the operation reduces the number of available contexts. Example context reduction operations include reducing neighbor configurations based on masking by subvolumes associated with previously coded bits, special handling of empty neighbor configurations, and statistics-based context merging. Reduction may be applied prior to coding, and a determination may be made during coding as to whether conditions are met for using a reduced set of contexts.

[0043] In one aspect, the present application provides a method for encoding a point cloud to generate a bit stream of compressed point cloud data, the point cloud being defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and representing the geometry of a volume space, the geometry of the volume space being recursively split into sub-volumes and containing points of the point cloud, wherein a bit sequence is used to indicate the occupancy of a sub-volume of the volume, wherein each bit of the bit sequence indicates the occupancy of a corresponding sub-volume in a scanning order within the volume, and wherein the volume has a plurality of neighboring volumes. The method comprises: for a current node associated with a current volume split into sub-volumes, wherein each sub-volume corresponds to a child node of the current node, determining a bit sequence indicating the occupancy of a sub-volume of the current volume. The method further comprises: for at least one bit in the bit sequence of the current volume, based on the occupancy data of a sub-volume of at least one neighboring volume of the current volume, determining a sub-volume neighbor configuration, the sub-volume neighbor configuration depending on the occupancy pattern of a group of sub-volumes of at least one neighboring volume, the group of sub-volumes being adjacent to the sub-volume of the current volume corresponding to the bit in the bit sequence. The method also includes: selecting a probability (e.g., context) for entropy encoding of bits in the bit sequence, wherein the selection is based at least in part on the subvolume neighbor configuration. The method also includes: entropy encoding the bits in the bit sequence based on the selected probability using a binary entropy encoder to produce encoded data for a bitstream.

[0044] Another aspect relates to a method for decoding a bit stream of compressed point cloud data to produce a reconstructed point cloud, the point cloud being defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and representing a plurality of nodes of a geometry of a volume space, the volume space being recursively split into sub-volumes and containing points of the point cloud, wherein a bit sequence is used to indicate an occupancy of a sub-volume of the volume, wherein each bit of the bit sequence indicates an occupancy of a corresponding sub-volume in a scan order within the volume, and wherein the volume has a plurality of neighboring volumes. The method comprises: for a current node associated with a current volume split into sub-volumes, wherein each sub-volume corresponds to a child of the current node, and for at least one bit in the bit sequence of the current volume, based on occupancy data of a sub-volume of at least one neighboring volume of the current volume, determining a sub-volume neighbor configuration, the sub-volume neighbor configuration being dependent on an occupancy pattern of a set of sub-volumes of the at least one neighboring volume, the set of sub-volumes being neighboring to a sub-volume of the current volume corresponding to a bit in the bit sequence. The method further comprises: selecting a probability (e.g., a context) for entropy decoding of a bit in the bit sequence, wherein the selection is based at least in part on the sub-volume neighbor configuration. The method also includes entropy decoding the at least one bit based on the selected probability using a binary entropy decoder to produce reconstructed bits from the bitstream.

[0045] In some embodiments, determining the subvolume neighbor configuration may involve: determining, based on occupancy data of a subvolume of at least one neighboring volume of the current volume, a number of subvolumes of at least one neighboring volume that are neighboring a subvolume of the current volume corresponding to a bit in the bit sequence. The determining may also involve: applying a threshold function to the determined number.

[0046] In some implementations, a subvolume neighbor configuration of a given subvolume in a given volume may correspond to an occupancy pattern of subvolumes neighboring the given subvolume in neighboring volumes of the given volume.

[0047] In some embodiments, determining the sub-volume neighbor configuration may be based on occupancy data of sub-volumes of those neighboring volumes of the current volume that have been encoded.

[0048] In some embodiments, the selection probability may also be based on a partial sequence of bits of the bit sequence that have been encoded and decoded and / or a neighboring configuration of the current volume. The neighboring configuration of the current volume may correspond to an occupancy pattern of neighboring volumes of the current volume.

[0049] In some embodiments, determining the subvolume neighbor configuration may involve: determining all those subvolumes of at least one neighboring volume that intersect with the subvolume of the current volume corresponding to the bit in the bit sequence based on the occupancy data of the subvolumes of at least one neighboring volume of the current volume. The determining may also involve: applying respective weight factors to the determined subvolumes, wherein each weight factor depends on the intersection of the respective determined subvolume with the subvolume of the current volume corresponding to the bit in the bit sequence. The determining may also involve: determining, based on the determined subvolumes and their respective weight factors, a weighted number of subvolumes of at least one neighboring volume that intersect with the subvolume of the current volume corresponding to the bit in the bit sequence.

[0050] In some embodiments, the scanning order within the current volume for determining the bit sequence indicating the occupancy pattern can be determined such that the maximum possible number of neighboring subvolumes in the neighboring volumes of the current volume that have been encoded does not increase from one subvolume to the next in the scanning order.

[0051] In some embodiments, the occupancy data of the sub-volumes of a given neighboring volume of the current volume may include an occupancy status of each of the sub-volumes of the given neighboring volume.

[0052] In some implementations, the tree structure may represent an octree.

[0053] In some embodiments, the encoding method may further include encoding a flag indicating that the probability for entropy encoding of the at least one bit has been selected based at least in part on the subvolume neighbor configuration.

[0054] In some embodiments, the decoding method may further include decoding a flag from the bitstream indicating that a probability for entropy decoding of at least one bit should be selected based at least in part on the subvolume neighbor configuration.

[0055] In another aspect, the present application provides a method for encoding a point cloud to generate a bit stream of compressed point cloud data, wherein the point cloud is defined in a tree structure having multiple nodes, the multiple nodes have a parent-child relationship and represent the geometry of a volume space, the volume space is recursively split into sub-volumes and contains points of the point cloud, wherein a bit sequence is used to indicate the occupancy of a sub-volume of the volume, wherein each bit of the bit sequence indicates the occupancy of a corresponding sub-volume within the volume in a scanning order, and wherein the volume has multiple adjacent volumes, and the occupancy pattern of the adjacent volumes is a neighbor configuration. The method includes: determining, for at least one bit in a bit sequence of a volume, whether a context reduction condition is satisfied, and on this basis, selecting a reduced context set, the context set containing less context than the product of a count of a neighbor configuration and a number of previously encoded and decoded bits in the sequence; selecting a context from the reduced context set for encoding and decoding at least one bit based on the occupancy status of at least some neighboring volumes in the neighboring volumes and at least one previously encoded and decoded bit of the bit sequence; entropy encoding the at least one bit based on the selected context using a binary entropy encoder to generate encoded data for a bit stream; and updating the selected context.

[0056] On the other hand, the present application provides a method for decoding a bit stream of compressed point cloud data to produce a reconstructed point cloud, wherein the point cloud is defined in a tree structure having multiple nodes, the multiple nodes have a parent-child relationship and represent the geometry of a volume space, the volume space is recursively split into sub-volumes and contains points of the point cloud, wherein a bit sequence is used to indicate the occupancy of a sub-volume of the volume, wherein each bit of the bit sequence indicates the occupancy of the corresponding sub-volume within the volume in a scanning order, and wherein the volume has multiple adjacent volumes, and the occupancy pattern of the adjacent volumes is a neighbor configuration. The decoding method includes: determining, for at least one bit in a bit sequence of a volume, whether a context reduction condition is satisfied, and on this basis, selecting a reduced context set, wherein the context contained in the context set is less than the product of a count of a neighbor configuration and a number of previously encoded and decoded bits in the sequence; selecting a context from the reduced context set based on the occupancy status of at least some neighboring volumes in the neighboring volumes and at least one previously encoded and decoded bit of the bit sequence for encoding and decoding at least one bit; entropy decoding the at least one bit based on the selected context using a binary entropy decoder to generate a reconstructed bit according to a bit stream; and updating the selected context.

[0057] In some embodiments, the context reduction condition may include determining that one or more previously coded occupied bits are associated with one or more corresponding subvolumes, the corresponding subvolumes being located between the subvolume associated with the at least one bit and one or more neighboring volumes in the neighboring volumes. In some cases, this may include determining that four subvolumes associated with the previously coded bits share a face with a particular neighboring volume.

[0058] In some implementations, the context reduction condition may include determining that at least four bits of the bit sequence have been previously encoded or decoded.

[0059] In some embodiments, determining that the context reduction condition is satisfied may include determining that an occupancy pattern of neighboring volumes indicates that a plurality of neighboring volumes are unoccupied. In some of those cases, the selected reduced set of contexts may include a number of contexts corresponding to a number of previously coded bits in the bit sequence, and optionally, selecting the context may include selecting the context based on a sum of the previously coded bits in the bit sequence.

[0060] In some embodiments, the context reduction condition may include: determining that at least a threshold number of bits in the bit sequence have been previously encoded and decoded, and the reduced context set may include a lookup table that maps each possible combination of a neighbor configuration and a pattern of previously encoded and decoded bits in the bit sequence to fewer contexts. In some examples, based on determining that a distance measure between corresponding available context pairs is less than a threshold, a lookup table may be generated based on iteratively grouping the available contexts into multiple categories, and each of the multiple categories may include a corresponding context in a smaller set, and an available context may exist for each possible combination of a neighbor configuration and a pattern of previously encoded and decoded bits in the bit sequence.

[0061] In some embodiments, at least some of the neighboring volumes are neighboring volumes that share at least one face with the volume.

[0062] In another aspect, the present application describes encoders and decoders configured to implement such encoding and decoding methods.

[0063] In yet another aspect, the present application describes a non-transitory computer-readable medium storing computer-executable program instructions that, when executed, cause one or more processors to perform the described encoding and / or decoding methods.

[0064] In yet another aspect, the present application describes a computer-readable signal containing program instructions which, when executed by a computer, cause the computer to perform the described encoding and / or decoding method.

[0065] The present application also describes computer-implemented applications, including topographic applications, mapping applications, automotive industry applications, autonomous driving applications, virtual reality applications, and cultural heritage applications. These computer-implemented applications include the following processes: receiving a data stream or data file, unpacking the data stream or data file to obtain a bit stream of compressed point cloud data, and decoding the bit stream as described in the above aspects and embodiments thereof. Thus, these computer-implemented applications utilize point cloud compression technology according to the aspects and embodiments thereof described throughout the present application.

[0066] The present application also describes methods for encoding and decoding point clouds and encoders and decoders for encoding and decoding point clouds. In some embodiments, a receiving unit receives multiplexed data obtained by multiplexing the encoded and decoded point cloud data with other encoded and decoded data types (such as metadata, images, video, audio and / or graphics). The receiving unit includes a demultiplexing unit for separating the multiplexed data into the encoded and decoded point data and other encoded and decoded data and at least one decoding unit (or decoder) for decoding the encoded and decoded point cloud data. In some other embodiments, a transmitting unit transmits the multiplexed data obtained by multiplexing the encoded and decoded point cloud data with other encoded and decoded data types (such as metadata, images, video, audio and / or graphics). The transmitting unit includes at least one encoding unit (or encoder) for encoding the point cloud data and a multiplexing unit for combining the encoded and decoded point cloud data and other encoded and decoded data into the multiplexed data.

[0067] Those skilled in the art will appreciate other aspects and features of the present application by reviewing the following description of the examples in conjunction with the accompanying drawings.

[0068] Any features described with respect to one aspect or embodiment of the invention may also be used with respect to one or more other aspects / embodiments.These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described herein.

[0069] Sometimes, in the following description, the terms "node", "volume", and "subvolume" may be used interchangeably. It should be understood that a node is associated with a volume or a subvolume. A node is a specific point on a tree that may be an internal node or a leaf node. A volume or subvolume is a bounded physical space represented by a node. In some cases, the term "volume" may be used to refer to the largest bounded space defined to contain a point cloud. For the purpose of building a tree structure of interconnected nodes to encode and decode point cloud data, a volume may be recursively divided into subvolumes.

[0070] In the present application, the term “and / or” is intended to cover all possible combinations and subcombinations of the listed elements, including any one, any subcombination or all of the elements listed individually, but does not necessarily exclude additional elements.

[0071] In the present application, the phrase "at least one of... or..." is intended to cover any one or more of the listed elements, including any one of the elements listed individually, any subcombination or all elements, but does not necessarily exclude any additional elements and does not necessarily require all elements.

[0072] A point cloud is a collection of points in a three-dimensional coordinate system. These points are usually intended to represent the external surface of one or more objects. Each point has a location (position) in a three-dimensional coordinate system. The position can be represented by three coordinates (X, Y, Z), which can be Cartesian or any other coordinate system. These points can have other associated attributes (such as color), which in some cases can also be three component values, such as R, G, B or Y, Cb, Cr. Depending on the desired application of the point cloud data, other associated attributes may include transparency, reflectivity, normal vector, etc.

[0073] Point clouds can be static or dynamic. For example, a detailed scan or map of an object or terrain can be static point cloud data. LiDAR-based scanning of an environment for machine vision purposes can be dynamic, in that the point cloud (at least potentially) changes over time, e.g., with each successive scan of a volume. Thus, a dynamic point cloud is a time-ordered sequence of point clouds.

[0074] Point cloud data can be used in several applications, including conservation (scanning of historical or cultural objects), mapping, machine vision (such as autonomous or semi-autonomous cars), and virtual reality systems, to name a few. Dynamic point cloud data for applications such as machine vision can be quite different from static point cloud data used for conservation purposes. For example, automotive vision typically involves relatively small resolution, colorless, highly dynamic point clouds obtained at a high capture frequency by LiDAR (or similar) sensors. The purpose of such point clouds is not for human consumption or viewing, but for machine object detection / classification in decision-making processes. As an example, a typical LiDAR frame contains tens of thousands of points, while high-quality virtual reality applications require millions of points. It can be expected that over time, as computing speeds increase and new applications are discovered, higher resolution data will be needed.

[0075] While point cloud data is useful, the lack of effective and efficient compression (i.e., encoding and decoding processes) can hinder adoption and deployment. A specific challenge in encoding and decoding point clouds that does not arise in the case of other data compression (such as audio or video) is encoding and decoding the geometry of the point cloud. Point clouds are often sparsely distributed, which makes it more challenging to efficiently encode and decode the location of the points.

[0076] One of the more common mechanisms for encoding and decoding point cloud data is by using a tree-based structure. In the tree-based structure, a bounded three-dimensional volume of a point cloud is recursively divided into sub-volumes. The nodes of the tree correspond to sub-volumes. It can be decided whether to further divide the sub-volume based on the resolution of the tree and / or whether there are any points contained in the sub-volume. A leaf node can have an occupancy flag that indicates whether its associated sub-volume contains points or does not contain points. A split flag can indicate whether a node has child nodes (i.e., whether the current volume has been further split into sub-volumes). In some cases, these flags can be entropy encoded and decoded, and in some cases, predictive encoding and decoding can be used.

[0077] A commonly used tree structure is an octree. In this structure, the volume / subvolume is a cube, and each split of the subvolume produces eight other subvolumes / subcubes. Another commonly used tree structure is a KD tree, in which a volume (cube or cuboid) is recursively divided into two parts by a plane orthogonal to one of the axes. An octree is a special case of a KD tree, in which the volume is divided by three planes, each of which is orthogonal to one of the three axes. Both examples involve cubes or cuboids; however, the present application is not limited to such tree structures, and in some applications, volumes and subvolumes may have other shapes. The volume does not necessarily have to be divided into two subvolumes (KD tree) or eight subvolumes (octree), but may involve other partitions, including division into non-rectangular shapes or involving non-adjacent subvolumes.

[0078] For ease of explanation, and because octrees are a popular candidate tree structure for automotive applications, this application may refer to octrees, but it should be understood that the methods and apparatus described herein may be implemented using other tree structures.

[0079] Reference now Figure 1 , which shows a simplified block diagram of a point cloud encoder 10 according to aspects of the present application. The point cloud encoder 10 includes a tree construction module 12 for receiving point cloud data and generating a tree (an octree in this example) that represents the geometry of the volume space containing the point cloud and indicates the locations or positions of points from the point cloud in the geometry.

[0080] The basic process for creating an octree to encode and decode a point cloud can include:

[0081] 1. Start with a bounded volume (cube) containing the point cloud in a coordinate system

[0082] 2. Split the volume into 8 sub-volumes (eight sub-cubes)

[0083] 3. For each subvolume, mark the subvolume with 0 if it is empty, or mark the subvolume with 1 if there is at least one point in the subvolume

[0084] 4. For all subvolumes marked with 1, repeat (2) to split these subvolumes until the maximum splitting depth is reached.

[0085] 5. For all leaf volumes (sub-cubes) of the maximum depth, mark the leaf cube with 1 if it is non-empty, otherwise mark the leaf cube with 0.

[0086] The above process can be described as an occupancy-equals-split process, where splitting implies occupancy, with the constraint that there is a maximum depth or resolution beyond which no further splitting will occur. In this case, a single mark indicates whether a node is split, and therefore whether it is occupied by at least one point, and vice versa. At the maximum depth, the mark indicates occupancy, where no further splitting is possible.

[0087] In some embodiments, splitting and occupation are independent, so that a node can be occupied and can be split or can not be split. There are two variations of this embodiment:

[0088] 1. Occupancy after splitting. A signal flag indicates whether a node is split. If split, then the node must contain points - that is, splitting implies occupancy. Otherwise, if the node is not split, then another occupancy flag indicates whether the node contains at least one point. Therefore, when a node is not split further (that is, the node is a leaf node), the leaf node must have an associated occupancy flag to indicate whether the leaf node contains any points.

[0089] 2. Split after occupation. A signal flag indicates whether the node is occupied. If not occupied, no split occurs. If occupied, a split flag is encoded to indicate whether the node is further split or not.

[0090] Regardless of which of the above processes is used to build the tree, the tree can be traversed in a predefined order (breadth first or depth first and according to the scanning pattern / order within each partitioned sub-volume) to produce a bit sequence according to the markings (occupancy and / or split markings). This can be referred to as serialization or binarization of the tree. Figure 1 As shown in FIG. 1 , in this example, the point cloud encoder 10 includes a binarizer 14 for binarizing an octree to produce a bit stream representing binarized data of the tree.

[0091] The bit sequence can then be encoded using an entropy encoder 16 to produce a compressed bit stream. The entropy encoder 16 can encode the bit sequence using a context model 18, which specifies the probability for encoding and decoding the bit based on the context determination of the entropy encoder 16. After encoding and decoding each bit or a defined set of bits, the context model 18 can be adaptively updated. In some cases, the entropy encoder 16 can be a binary arithmetic encoder. In some embodiments, the binary arithmetic encoder can use context adaptive binary arithmetic coding and decoding (CABAC). In some embodiments, a codec other than an arithmetic codec can be used.

[0092] In some cases, the entropy encoder 16 may not be a binary codec, but may operate on non-binary data. The octree data from the output of the tree construction module 12 may not be evaluated in binary form, but may be encoded as non-binary data. For example, in the case of an octree, eight markers (e.g., occupancy markers) within a subvolume in their scan order may be considered as 2 8 -1 bit number (e.g., an integer with a value between 1 and 255, since the value 0 is not possible for a split subvolume, i.e., if the subvolume is completely unoccupied, then the subvolume will not be split). In some embodiments, this number may be encoded by an entropy encoder using a multi-symbol arithmetic codec. Within a subvolume (e.g., a cube), the sequence of markers defining this integer may be referred to as a "pattern".

[0093] Like video or image encoding, point cloud encoding may include predictive operations in which an effort is made to predict the pattern of a subvolume. The prediction may be spatial (depending on previously encoded subvolumes in the same point cloud) or temporal (depending on previously encoded point clouds in a time-ordered sequence of point clouds).

[0094] exist Figure 2 A block diagram of an example point cloud decoder 50 corresponding to encoder 10 is shown in . Point cloud decoder 50 includes an entropy decoder 52 that uses the same context model 54 used by encoder 10. Entropy decoder 52 receives an input bit stream of compressed data and entropy decodes the data to produce an output sequence of decompressed bits. The sequence is then converted to reconstructed point cloud data by a tree reconstructor 56. Tree reconstructor 56 reconstructs a tree structure based on the decompressed data and knowledge of the scan order in which the tree data was binarized. Thus, tree reconstructor 56 is able to reconstruct the locations of points from the point cloud (subject to the resolution limit of the tree codec).

[0095] exist Figure 3An example partial subvolume 100 is shown in FIG. 1 . In this example, for ease of illustration, the subvolume 100 is shown in two dimensions and is 16×16 in size. Note that the subvolume has been divided into four 8×8 subsquares, and two of the four subsquares have been further subdivided into 4×4 subsquares, three of the 4×4 subsquares have been further divided into 2×2 subsquares, and then one of the 2×2 subsquares has been divided into a 1×1 square. The 1×1 square is the maximum depth of the tree and represents the highest resolution for the location point data. Points from the point cloud are shown as dots in the figure.

[0096] The structure of the tree 102 is shown to the right of the subvolume 100. A sequence of split marks 104 and a corresponding sequence of occupancy marks 106 obtained in a predefined breadth-first scan order are shown to the right of the tree 102. It will be observed that in this illustrative example, an occupancy mark is present for each subvolume (node) that is not split (i.e., has an associated split mark set to zero). These sequences may be entropy encoded.

[0097] exist Figure 4 Another example of using the occupancy ≡ split condition is shown in FIG. Figure 4 The recursive splitting and encoding and decoding of an octree 150 is illustrated. Only a portion of the octree 150 is shown in the figure. A FIFO 152 is shown as processing nodes for splitting to illustrate the breadth-first nature of the process. The FIFO 152 outputs an occupied node 154 queued in the FIFO 152 for further splitting after processing its parent node 156. The tree builder splits the subvolume associated with the occupied node 154 into eight subvolumes (cubes) and determines their occupancy. The occupancy can be indicated by an occupancy tag for each subvolume. The tags can be referred to as the occupancy mode of the node 154 in a specified scan order. The mode can be specified by an integer representing a sequence of occupancy tags associated with the subvolumes in a predefined scan order. In the case of an octree, the mode is an integer in the range [1,255].

[0098] The entropy encoder then encodes the pattern using a non-binary arithmetic encoder based on the probability specified by the context model. In this example, the probability can be based on the pattern distribution of the initial distribution model and is adaptively updated. In one embodiment, the pattern distribution is actually a counter of the number of times each pattern (an integer from 1 to 255) has been encountered during encoding and decoding. The pattern distribution can be updated after encoding and decoding each subvolume. Since the relative frequency of the pattern is closely related to the probability evaluation and not closely related to the absolute count, the pattern distribution can be normalized as needed.

[0099] Based on the pattern, those child nodes that are occupied (eg, have a flag = 1) are then pushed into the FIFO 152 for further splitting in turn (provided the node is not at the maximum depth of the tree).

[0100] Reference now Figure 5 , which shows an example cube 180 from an octree. Cube 180 is subdivided into eight sub-cubes. The scan order for reading the tags produces an eight-bit string that can be read as an integer [1,255] in binary form. Based on the scan order and the resulting bit positions of the tags for each sub-cube in the string, the sub-cube has Figure 5 The scan order can be any sequence of sub-cubes, provided that both the encoder and decoder use the same scan order.

[0101] As an example, Figure 6 Cube 180 is shown with the four "front" sub-cubes occupied. On the basis that the occupied sub-cube is cube 1+4+16+64, this would correspond to pattern 85. The integer pattern number specifies the occupancy pattern within a sub-cube.

[0102] Octree representations, or more generally any tree representation, are efficient at representing points with spatial correlation because the tree tends to factorize the high-order bits of the point coordinates. For an octree, each depth level refines the coordinates of the points within the subvolume by one bit per component, costing eight bits per refinement. Further compression is obtained by entropy encoding and decoding the split information (i.e., the mode) associated with each tree node. This further compression is possible because the mode distribution is non-uniform (non-uniformity is another consequence of correlation).

[0103] One potential inefficiency in current systems is that a mode distribution (e.g., a histogram of mode numbers seen in previously decoded nodes of the tree) is developed during the process of encoding and decoding the point cloud. In some cases, the mode distribution can be initialized to be equally probable, or to some other predetermined distribution; but using a mode distribution means that the context model does not take into account or exploit local geometric correlations.

[0104] In European patent application No. 18305037.6, the applicant describes a method and apparatus for selecting between available pattern distributions for encoding and decoding an occupancy pattern of a particular node based on some occupancy information from previously encoded nodes in the vicinity of the particular node. In one example embodiment, the occupancy information is obtained from an occupancy pattern of a parent node to the particular node. In another example embodiment, the occupancy information is obtained from one or more nodes in the vicinity of the particular node. The contents of European patent application No. 18305037.6 are incorporated herein by reference.

[0105] Reference now Figure 7 , which shows an example method 200 for encoding a point cloud in flowchart form. In this example, the method 200 involves recursive splitting of occupied nodes (subvolumes) and breadth-first traversal of the tree for encoding and decoding.

[0106] In operation 202, the encoder determines an occupancy pattern of a current node. The current node is an occupied node that has been split into eight child nodes, each child node corresponding to a respective child cube. The occupancy pattern of the current node specifies the occupancy of the eight child nodes in a scanning order. As described above, an integer between 1 and 255 (e.g., an eight-bit binary string) may be used to indicate the occupancy pattern.

[0107] In operation 204, the encoder selects a probability distribution from a set of probability distributions. The selection of the probability distribution is based on some occupancy information from nearby previously encoded nodes (i.e., at least one node that is a neighbor of the current node). In some embodiments, if two nodes are associated with corresponding sub-volumes that share at least one face, then the two nodes are adjacent. In a broader definition, if the nodes share at least one edge, then the nodes are adjacent. In another broader definition, if the two nodes share at least one vertex, then the two nodes are adjacent. The parent mode in which the current node is a child node provides occupancy data of the current node and seven sibling nodes to the current node. In some embodiments, the occupancy information is a parent mode. In some embodiments, the occupancy information is occupancy data of a set of neighbor nodes, which includes nodes at the same tree depth level as the current node but with different parent nodes. In some cases, combinations of these are possible. For example, a set of neighbor nodes may include some sibling nodes and some non-sibling nodes.

[0108] Once a probability distribution has been selected, the encoder then entropy encodes the occupancy pattern of the current node using the selected probability distribution, as indicated by operation 206. The encoder then updates the selected probability distribution in operation 208 based on the occupancy pattern, for example, the encoder may increment a count corresponding to the occupancy pattern. In operation 210, the encoder evaluates whether there are other nodes to encode and decode, and if so, returns to operation 202 to encode and decode the next node.

[0109] The probability distribution selection in operation 204 will be based on the occupancy data of nearby previously encoded and decoded nodes. This allows both the encoder and decoder to make the same selection independently. For the following discussion of probability distribution selection, reference will be made to Figure 8 , which diagrammatically illustrates a portion of an octree 300 including a current node 302. The current node 302 is an occupied node and is being evaluated for encoding and decoding. The current node 302 is one of eight children of a parent node 306, which in turn is a child of a grandparent node (not shown). The current node 302 is divided into eight child nodes 304. The occupancy pattern of the current node 302 is based on the occupancy of the child nodes 304. For example, as illustrated, using black dots as the specification for occupied nodes, the occupancy pattern may be 00110010, i.e., pattern 50.

[0110] The current node 302 has a sibling node 308 that has the same parent node 306. The parent pattern is the occupancy pattern of the parent node 306, which as illustrated would be 00110000, i.e., pattern 48. The parent pattern may serve as a basis for selecting an appropriate probability distribution to entropy encode the occupancy pattern of the current node.

[0111] Fig. 9 The set of neighbors around the current node is illustrated, where neighbors are defined as nodes that share faces. In this example, the node / subvolume is a cube, and the cube at the center of the image has six neighbors, one neighbor for each face. In an octree, it will be appreciated that the neighbors of the current node will include three sibling nodes. The neighbors of the current node will also include three nodes that do not have the same parent node. Therefore, occupancy data for some of the neighboring nodes will be available because they are siblings, but occupancy data for some of the neighboring nodes may or may not be available, depending on whether those nodes have been previously encoded and decoded. Special processing may be applied to handle missing neighbors. In some embodiments, missing neighbors may be assumed to be occupied or may be assumed to be unoccupied. It will be appreciated that the neighbor definition may be extended to include neighboring nodes based on shared edges or based on shared vertices to include additional adjacent subvolumes in the evaluation.

[0112] It will be appreciated that the foregoing process looks at the occupancy of nearby nodes in an attempt to determine the likelihood of occupancy of the current node 302 in order to select a more appropriate context(s) and use a more accurate probability for entropy encoding and decoding the occupancy data of the current node 302. It will be appreciated that the occupancy state of neighboring nodes that share a face with the current node 302 may be a more accurate assessment of whether the current node 302 is likely to be isolated than based on an assessment of the occupancy state of sibling nodes, three of which will only share edges, and one of which will only share vertices (in the case of an octree). However, the assessment of the occupancy status of siblings has the advantage of being modular, since all relevant data for the assessment is part of the parent node, which means that it has a smaller memory footprint for implementation, whereas the assessment of neighbor occupancy state involves buffering tree occupancy data in case the tree occupancy data is needed in conjunction with the encoding and decoding of future nearby nodes to determine the neighbor occupancy state.

[0113] The occupancy of the neighbors can be read in a scan order that effectively assigns a value to each neighbor, which is very similar to what is described above with respect to the occupancy mode. As illustrated, the neighboring nodes effectively take the values ​​1, 2, 4, 8, 16, or 32, and therefore, there are 64 (0 to 63) possible neighbor occupancy configurations. This value may be referred to herein as a "neighborhood configuration." As an example, Fig.10 An example of a neighbor configuration 15 is illustrated in which neighbors 1, 2, 4, and 8 are occupied, while neighbors 16 and 32 are empty.

[0114] In some cases, the two above criteria (parent mode and neighbor configuration) can be applied at the same time or a choice can be made between them. For example, if the neighbors are available, then the probability distribution selection can be made based on the neighboring nodes; however, if one or more of the neighbors are unavailable because they are from a node that has not yet been encoded, then the probability distribution selection can revert to an analysis based on the peer nodes (parent mode).

[0115] In yet another embodiment, alternatively or additionally, the probability distribution selection may be based on a grandfather pattern. In other words, the probability distribution selection may be based on the occupancy state of the uncle node that is a sibling of the parent node 306.

[0116] In yet another embodiment, additional or alternative evaluations may be taken into account in the probability distribution selection. For example, the probability distribution selection may look at the occupancy status of the neighbor nodes of the parent node or the neighbor nodes of the grandparent node.

[0117] Any two or more of the above criteria for assessing local occupancy states may be used in combination in some embodiments.

[0118] In the case of a non-binary entropy codec, the occupancy data of the current node can be encoded or decoded by selecting a probability distribution. The probability distribution contains some probabilities corresponding to the number of possible occupancy patterns of the current node. For example, in the case of encoding or decoding the occupancy patterns of an octree, there are 2 8 -1 = 255 possible modes, which means that each probability distribution includes 255 probabilities. In some embodiments, the number of probability distributions can be equal to the number of possible occupancy results in the selection criterion, i.e., using neighbor, sibling and / or parent occupancy data. For example, in the case where the parent mode of the octree is used as the selection criterion for determining the probability distribution to use, there will be 255 probability distributions involving 255 probabilities respectively. In the case of neighbor configuration, if neighbors are defined as shared faces, there will be 64 probability distributions, each of which contains 255 probabilities.

[0119] It will be appreciated that too many distributions can lead to slow adaptation due to insufficient data (i.e., context dilution). Therefore, in some embodiments, similar patterns can be grouped so that the same probability distribution is used. For example, separate distributions can be used for patterns corresponding to fully occupied, vertically oriented, horizontally oriented, mostly empty, and then all other situations. This can reduce the number of probability distributions to about five. It will be appreciated that different groupings of patterns can be formed to result in different numbers of probability distributions.

[0120] Reference now Fig.11 , which diagrammatically shows an illustrative embodiment of a process 400 for entropy encoding of a point cloud using a context that depends on a parent pattern. In this example, the current node 402 has been split into eight child nodes, and the occupancy pattern 404 of the current node is to be encoded using a non-binary entropy encoder 406. The non-binary entropy encoder 406 uses a probability distribution selected from one of six possible probability distributions 408. The selection is based on the parent pattern - that is, the selection is based on the occupancy information from the parent node to the current node 402. The parent pattern is identified by an integer between 1 and 255.

[0121] The selection of probability distributions can be a decision tree that evaluates whether the pattern corresponds to an entire node (e.g., pattern = 255), a horizontal structure (e.g., pattern = 170 or 85; assuming the Z axis is vertical), a vertical structure (e.g., pattern = 3, 12, 48, 192), a sparsely populated distribution (e.g., pattern = 1, 2, 4, 8, 16, 32, 64, or 128; i.e., none of the sibling nodes are occupied), a semi-sparsely populated distribution (the total number of occupied nodes between the current node and the sibling nodes is ≤ 3), and all other cases. The example patterns indicated for different categories are merely examples. For example, the "horizontal" category may include patterns involving two or three occupied cubes on the same horizontal level. The "vertical" category may include patterns involving three or four occupied cubes arranged in a wall-like manner. It should also be understood that more refined classifications may be used. For example, the "horizontal" category may be further subdivided into levels in the upper portion of the cube and levels in the lower portion of the cube, with different probability distributions for each case. Other groupings of occupancy patterns with certain correlations can be made and assigned to corresponding probability distributions. Further discussion on pattern grouping in the context of neighbor configurations and invariance between neighbor configurations is further elaborated below.

[0122] Fig.12 An illustrative embodiment of a process 500 for point cloud entropy encoding using context dependent neighbor configuration is shown. This example assumes that the above Fig. 9 Definition of the neighbor and neighbor configuration numbers used. This example also assumes that each neighbor configuration has a dedicated probability distribution, which means that there are 64 different probability distributions. The current node 502 has an occupancy pattern 504 to be encoded. The probability distribution is selected based on the neighboring nodes of the current node 502. That is, a neighbor configuration NC in [0,63] is found and used to select the associated probability distribution.

[0123] It should be appreciated that in some embodiments, neighbor configurations may be grouped so that more than one neighbor configuration uses the same probability distribution based on similarities in the pattern. In some embodiments, the process may use different arrangements of neighbors to perform contextual analysis (selection) of the distribution. Additional neighbors may be added, such as eight neighbors diagonally adjacent on all three axes or twelve neighbors diagonally adjacent on two axes. Embodiments that avoid specific neighbors may also be used, for example to avoid using neighbors that introduce additional dependencies in a depth-first scan or to introduce dependencies only on specific axes in order to simplify the codec state of a large tree.

[0124] In this example, the case of NC=0 is handled in a special way. If there are no occupied neighbors, then it can be indicated that the current node 502 is isolated. Therefore, the process 500 further checks the number of occupied child nodes of the current node 502. If only one child node is occupied (i.e., Number Occupied (NO) is equal to 1), then a flag is encoded indicating that a single child node is occupied and the index of the node is encoded and decoded using 3 bits. If more than one child node is occupied, then the process 500 uses NC=0 probability distributions to encode and decode the occupancy pattern.

[0125] Reference now Fig.13 , which illustrates, in flowchart form, an example method 600 for decoding a bitstream of encoded point cloud data.

[0126] In operation 602, the decoder selects one of the probability distributions based on occupancy information from one or more nodes near the current node. As described above, the occupancy information can be a parent pattern from a parent node to the current node (i.e., the occupancy of the current node and its siblings), or it can be the occupancy of the neighboring nodes of the current node, which may include some of the sibling nodes. Other or additional occupancy information may be used in some embodiments.

[0127] Once the probability distribution has been selected, the decoder entropy decodes a portion of the bitstream using the selected probability distribution to reconstruct the occupancy pattern of the current node in operation 604. The occupancy pattern is used by the decoder to reconstruct the tree in order to reconstruct the encoded point cloud data. Once the point cloud data is decoded, the point cloud data can be output from the decoder for use, such as for rendering a view, segmentation / classification, or other applications.

[0128] In operation 606 , the decoder updates the probability distribution based on the reconstructed occupancy pattern, and then moves to the next node in the buffer and returns to operation 602 if there are other nodes to decode.

[0129] It has been demonstrated that example implementations of the above methods provide compression improvements with negligible increase in codec complexity. Neighbor-based selection shows better compression performance than parent-based selection, despite higher computational complexity and larger memory usage. In some tests, the relative improvement in bits per point over an MPEG point cloud test model was between 4% and 20%. It has been noted that initializing the probability distribution based on a distribution derived from test data results in improved performance compared to initialization with a uniform distribution.

[0130] Some of the above examples are based on a tree coding process that uses a non-binary codec to represent the occupancy pattern. New developments that employ a binary entropy codec are further proposed below.

[0131] In a variation of the probability distribution selection based on neighbors, the number of distributions can be simplified by exploiting the symmetry of the neighborhood. By permuting the neighborhood or permuting the pattern distribution, a configuration with a similar structure of symmetry lines can reuse the same distribution. In other words, neighbor configurations that can use the same pattern distribution can be grouped into categories. Categories containing more than one neighbor configuration can be referred to as "neighbor configurations" in this article, because one of the neighbor configurations effectively subsumes other neighbor configurations by reflecting or permuting those other configurations.

[0132] As an example, eight corner patterns NC∈[21,22,25,26,37,38,41,42] are considered, representing the symmetries of corner neighbor patterns, respectively. These values ​​of NC are likely to correlate well with specific but different patterns of nodes. These correlated patterns are also likely to follow the same symmetries as the neighbor patterns. As an example, a method can be implemented to reuse a single distribution to represent multiple cases of NC, by permuting the probabilities of that distribution.

[0133] The encoder derives the mode number of the node based on the occupancy of the child nodes. The encoder selects the distribution and permutation function based on the neighborhood configuration. The encoder reorders the probabilities contained in the distribution according to the permutation function and then arithmetically encodes the mode number using the permuted distribution. The arithmetic encoder's updates to the probabilities of the permuted distribution are mapped back to the original distribution through the inverse permutation function.

[0134] The corresponding decoder first selects the same distribution and permutation function according to the neighbor configuration. The permutation distribution is generated in the same way as the encoder, where the permuted distribution is used by the arithmetic decoder to entropy decode the mode number. The bits including the mode number are then assigned to the corresponding sub-bits respectively.

[0135] Note that the same permutation can be achieved without reordering the data of the distribution itself, but rather introducing a level of indirection and using a permutation function to permute the lookup to a given index in the distribution.

[0136] An alternative embodiment considers permutation of the modes themselves rather than distribution, allowing reordering to be done before or after entropy encoding / decoding, respectively. This approach is likely to be more suitable for efficient implementation via a bit-by-bit reordering operation. In this case, neither the encoder nor the decoder performs a reordering of the distribution, but rather the operation of coding mode numbers is modified to where c iis the occupied state of the i-th child, and σ(i) is the permutation function. An example permutation function is This allows the use of a distribution with NC=22 for a distribution with NC=41. The permutation function can be used by the decoder to use The occupancy state of the child node is derived from the encoded mode number.

[0137] The method used to derive the required permutation can be based on the rotational symmetry of the neighbor configuration or can be based on reflections along a particular axis. Furthermore, it is not necessary for the permutation to permute all positions according to, for example, symmetry; instead, a partial permutation can be used. For example, when permuting NC=22 to NC=41, positions in the symmetry axis may not be permuted, resulting in a mapping Positions 0, 2, 4, and 6 are not permuted. In other embodiments, only positions 1 and 7 are swapped.

[0138] An example of an embodiment based on rotational symmetry and reflection is provided below for the special case of an octree with six neighbors that share a common face with the current cube. Without loss of generality, Fig.16 As shown in , the Z axis extends vertically relative to the direction in which the figure is viewed. Then, the relative position of neighbors, such as "above" (respectively "below"), should be understood as in an increasing (respectively decreasing) Z direction along the Z axis. The same comments apply to left / right along the X axis and front / back along the Y axis.

[0139] Fig.16 Three rotations 2102, 2104 and 2106 along the Z, Y and X axes are shown, respectively. The angles of these three rotations are 90 degrees, i.e., these three rotations perform a quarter turn rotation along their respective axes.

[0140] Fig.17 The invariance categories of neighbor configurations under one or several iterations of rotation 2102 along the Z axis are shown. This invariance represents the same statistical behavior of the point cloud geometry along any direction belonging to the XY plane. This is especially true for the use case of a car moving on the surface of the earth locally approximated by the XY plane. Independent of the occupancy of the upper neighbors (2202) and the lower neighbors (2204), the horizontal configuration is a given occupancy of four neighbors (located to the left, right, front and back of the current cube). Under rotation 2102, the four horizontal configurations 2206, 2208, 2210 and 2212 belong to the same category of invariance. Similarly, the two configurations 2214 and 2216 belong to the same category of invariance. There are only six categories of invariance under rotation 2102 (grouped under category set 2218).

[0141] Independent of the occupancy of the four neighbors located to the left, right, front, and back of the current cube, the vertical configuration is a given occupancy of the two neighbors 2202 and 2204. Fig.18 As shown in , there are four possible vertical configurations. Therefore, if one takes into account the invariance with respect to rotation 2102 along the Z axis, there are 6×4=24 possible configurations.

[0142] exist Fig.16 Reflection 2108 along the Z axis is shown. Fig.18 The vertical configurations 2302 and 2304 depicted in FIG. 2 belong to the same class of invariance under reflection 2108. There are three classes of invariance under reflection 2108 (grouped under class set 2306). Invariance under reflection 2108 means that the upward direction and the downward direction behave essentially the same in terms of point cloud geometry statistics. This is an accurate assumption for a moving car on a road.

[0143] If one assumes invariance under both rotation 2102 and reflection 2108, then there are 18 categories of invariance resulting from the product of the two sets 2218 and 2306. Fig.19 These 18 categories are represented in .

[0144] Applying additional invariance under two other rotations 2104 and 2106, these two configurations 2401 and 2402 belong to the same category of invariance. Furthermore, two configurations 2411 and 2412, two configurations 2421 and 2422, three configurations 2431, 2432, and 2433, two configurations 2441 and 2442, two configurations 2451 and 2452, and finally two configurations 2461 and 2462 all belong to the same category. Thus, the invariance under three rotations (2102, 2104, and 2106) and reflection 2108 results in 10 categories of invariance, such as Fig. 20 As shown in .

[0145] According to the examples provided above, the number of valid neighbor configurations (ie, the categories into which the 64 neighbor configurations can be grouped) is any one of 64, 24, 18, or 10, assuming or not assuming invariance under three rotations and reflections.

[0146] Before entropy coding and decoding, the patterns undergo the same transformations (i.e., rotation and reflection) since the neighbor configuration does belong to one of the invariant classes. This preserves the statistical consistency between the invariant neighbor configuration and the coded and decoded patterns.

[0147] It should also be understood that during the traversal of the tree, a child node will have certain neighboring nodes at the same tree depth that have been previously visited and can be causally used as dependencies. For these same-level neighbors, instead of consulting the parent collocated neighbors, the same-level neighbors can be used. Since the same-level neighbors are of half the size of the parent, if any of the four directly adjacent neighboring child nodes (i.e., the four child nodes that share a face with the current node) are occupied, then a configuration takes into account the occupied neighbors. Entropy encoding and decoding of tree occupancy patterns using binary encoding and decoding

[0148] The above-mentioned technique of using neighbor occupancy information to encode and decode tree occupancy is described in detail in European Patent Application No. 18305037.6. The described embodiment focuses on non-binary entropy coding using occupancy patterns, wherein the pattern distribution is selected based on the neighbor occupancy information. However, in some cases, the use of a binary codec may be more efficient in terms of hardware implementation. Moreover, the running update of many probabilities may require fast access memory and operations in the heart of the arithmetic codec. Therefore, it may be advantageous to find a method and apparatus for entropy coding occupancy patterns using a binary arithmetic codec. If the use of a binary codec can be accomplished without significantly reducing compression performance and at the same time preventing an excessive number of contexts to be tracked, then the use of a binary codec would be advantageous.

[0149] The use of a binary codec instead of a non-binary codec is reflected in the entropy formula:

[0150] H(X1,X2|Y)=H(X1|Y)H(X2|Y,X1)

[0151] Where X = (X1, X2) is the non-binary information to be encoded and decoded, and Y is the context for encoding and decoding, i.e., the neighbor configuration or the selected mode distribution. In order to convert the non-binary codec of X to a binary codec, the information (X1, X2) is split into information X1 and X2, which can be encoded and decoded separately without increasing the entropy. To do this, one of the two information must depend on the other information for encoding and decoding, where X2 depends on X1. This can be extended to n bits of information in X. For example, for n = 3:

[0152] H(X1,X 2, X3|Y)=H(X1|Y)H(X2|Y,X1)H(X3|Y,X1,X2)

[0153] It should be understood that as the occupancy pattern (i.e., the bit sequence X) becomes longer, there are more conditions for encoding and decoding the later bits in the sequence. For binary codecs (such as CABAC), this means that the number of contexts to be tracked and managed is greatly increased. Taking an octree as an example, where the occupancy pattern is an eight-bit sequence b=b0...b7, the bit sequence can be split into eight binary information bits b0...b7. The codec can use a neighbor configuration N (or NC) to determine the context. Assuming that as described above, the neighbor configuration can be reduced to 10 valid neighbor configurations by grouping the neighbor configurations into invariance categories, then N is an integer belonging to {0,1,2,...,9}. For the sake of abbreviation, the "category of invariant neighbor configurations" may sometimes be referred to as "neighbor configurations" in this article, but it should be understood that the neighbor configuration can be grouped based on categories according to invariance, thereby achieving the reduced number of neighbor configurations.

[0154] Fig.21 The diagram illustrates the splitting of an eight-bit pattern or sequence into eight individual bits for binary entropy encoding and decoding. Note that the first bit of the sequence is encoded based on the neighbor configuration, so there are a total of ten contexts available. The next bit of the sequence is encoded based on the neighbor configuration and any previously encoded bit (i.e., bit b0). This contains a total of 20 available contexts: obtained as the product of 10 from N and 2 from b0. The final bit b7 is entropy encoded using a context selected from the 1280 available contexts: obtained as the product of 10 from N and 128 from the partial pattern given by the previously encoded bits b0, ..., b6. That is, for each bit, the number of contexts (i.e., possible combinations of conditions / dependencies) is the number of defined neighbor configurations (10 in this example, based on grouping the 64 neighbor configurations into categories) and the ordered sequence of bits from n-1 previously encoded bits (consisting of 2 n-1 The product of the number of possible partial patterns given).

[0155] Thus, there are a total of 2550 contexts to maintain in conjunction with the binary encoding and decoding of the occupancy pattern. This is a large amount of context to track, and the relative paucity can lead to poor performance due to context dilution, especially for bits later in the sequence.

[0156] Therefore, in one aspect, the present application discloses an encoder and a decoder that determine whether a context set can be reduced, and if it is determined that it can, then a context reduction operation is applied to achieve a smaller set of available contexts so that at least a portion of the occupied pattern can be entropy encoded and decoded using a binary codec. In another aspect, the present application also discloses an encoder and a decoder that use the same context reduction operation to apply one or more rounds of state reduction to perform effective context selection from a fixed number of contexts. In some embodiments, context reduction is applied a priori when generating a lookup table of contexts and / or algorithmic conditions, and then the lookup table is used by the encoder or decoder when selecting an appropriate context. The reduction is based on testable conditions, and the encoder and decoder evaluate the testable conditions to determine which lookup table to select from or how to index / select from the lookup table to obtain the selected context.

[0157] Reference now Fig. 22 , which illustrates in a flowchart an example method 3000 for encoding and decoding occupancy patterns in a tree-based point cloud codec using binary encoding and decoding. The method 3000 can be implemented by an encoder or a decoder. In the case of an encoder, the encoding and decoding operations are being encoded, and in the case of a decoder, the encoding and decoding operations are being decoded. The encoding and decoding are context-based entropy encoding and decoding.

[0158] Example method 3000 is used to entropy encode and decode an occupancy pattern (i.e., a bit sequence) of a particular node / volume. The occupancy pattern represents the occupancy state of the child nodes (subvolumes) of the node / volume. In the case of an octree, there are eight child nodes / subvolumes. In operation 3002, a neighbor configuration is determined. A neighbor configuration is the occupancy state of one or more volumes that are adjacent to the volume for which the occupancy pattern is to be encoded. As discussed above, there are various possible implementations for determining a neighbor configuration. In some examples, there are 10 neighbor configurations, and the neighbor configuration of the current volume is identified based on the occupancy of six volumes that share a face with the current volume.

[0159] In operation 3004, the index i of the child node of the current volume is set to 0. Then, in operation 3006, it is evaluated whether context reduction is possible. Different possible context reduction operations are discussed in more detail below. It can be evaluated whether context reduction is possible based on, for example, which bit (e.g., index value) in the bit sequence is being encoded or decoded. In some cases, context reduction may be possible for later bits in the sequence rather than for the first few bits. Evaluating whether context reduction is possible can be based on, for example, neighbor configurations, because certain neighbor configurations can achieve simplification. In some embodiments, additional factors can be used to evaluate whether context reduction is possible. For example, an upper limit Bo can be provided as the maximum number of contexts that a binary codec can use to encode and decode bits, and if the initial number of contexts used to encode and decode bits is higher than Bo, then context reduction is applied (otherwise context reduction is not applied) so that the number of contexts after reduction is at most Bo. Such a bound Bo may be defined in the encoder and / or decoder specification in order to ensure that a software or hardware implementation capable of handling the Bo context will always be able to encode and / or decode a point cloud without generating an overflow with respect to the number of contexts. Knowing the bound Bo in advance also allows anticipating the complexity and memory footprint caused by the binary entropy codec, thus facilitating the design of the hardware. Typical values ​​for Bo are from ten to several hundred.

[0160] If context reduction is determined to be available, then in operation 3008, a context reduction operation is applied. The context reduction operation reduces the number of available contexts in the set of available contexts to a smaller set containing fewer total contexts. It will be recalled that since the contexts can depend on partial patterns of previously encoded bits from a bit sequence, the number of available contexts can depend in part on the bit position in the sequence, i.e., the index. In some embodiments, before reduction, the number of contexts available in the set can be based on the number of neighbor configurations multiplied by the number of possible partial patterns along with the previously encoded bits. For the bit at index i (where i ranges from 0 to n), the number of partial patterns will be increased by 2. i Given.

[0161] As mentioned above, in some embodiments, a context reduction operation is performed prior to encoding and decoding, and the resulting reduced context set is the context set available to the encoder and decoder for use during the encoding and decoding operation. Use and / or selection of the reduced context set during encoding and decoding can be based on evaluating one or more conditions that precede the use of those reduced sets corresponding to the conditions evaluated in operation 3006 for determining the number of contexts that can be reduced. For example, in the case of a particular neighbor configuration that allows the use of a reduced context set, the encoder and / or decoder can first determine whether the neighbor configuration condition is met, and then if the neighbor configuration condition is met, then use the corresponding reduced context set.

[0162] In operation 3010, bit b is determined based on the neighbor configuration and a partial pattern of previously encoded bits in the bit sequence. i context, that is, select bit b from the set of available contexts (or a reduced set, if any) i Then in operation 3012, the current bit is entropy encoded using the selected context by an entropy codec.

[0163] In operation 3014, if index i indicates that the currently encoded bit is the last bit in the sequence (i.e., i is equal to i max ), then the encoding and decoding process proceeds to the next node. Otherwise, the index i is incremented in operation 3016, and the process returns to operation 3006.

[0164] It should be appreciated that in some embodiments, context selection may not depend on neighbor configuration. In some cases, it may only depend on a partial pattern of previously coded bits in the sequence (if any).

[0165] exist Fig.23 A simplified block diagram of a portion of an example encoder 3100 is illustrated in FIG. 3100. In this illustration, it should be understood that the occupancy pattern 3102 is obtained when the corresponding volume is divided into sub-nodes and looped through a FIFO buffer 3104 that retains the geometry of the point cloud. The encoding of the occupancy pattern 3102 is illustrated as involving a cascade of binary encoders 3106, one for each bit of the pattern. Between at least some of the binary codecs 3106 is a context reduction operation 3108 that operates to reduce the available context to a smaller set of available contexts.

[0166] although Fig.23A series of binary codecs 3106 are shown, but in some embodiments only one binary codec is used. In the case where more than one codec is used, the encoding and decoding can be (partially) parallelized. The encoding and decoding of the pattern may not necessarily be fully parallelized given the contextual dependencies of the preceding bits in a bit-to-bit sequence, but it is possible to improve pipelining by using cascaded binary codecs for the pattern to achieve some degree of parallelization and speed improvement.

[0167] Context determination based on subvolume neighbor configuration

[0168] In the above, the currently occupied bit b in the bit sequence is determined, i.e. selected from the set (or reduced set if any) of available contexts, based on the neighbor configuration and partial pattern of previously coded bits in the bit sequence. i The context (i.e., the probability associated with the corresponding entropy codec to be used for entropy encoding and decoding) is then used by the binary codec to entropy encode the current bit. Additionally or alternatively, the occupancy status of the child nodes of the neighboring nodes of the current node (e.g., occupied neighboring nodes that have been coded) can be considered to determine the bit b in the bit sequence for the current node. i Context (eg, probability) for encoding and decoding Next, an implementation method for determining context by taking into account the occupancy status of child nodes of neighboring nodes of the current node will be described.

[0169] In some embodiments, the method of encoding or decoding a bit sequence may use knowledge of the occupancy status of the child nodes of the neighboring nodes of the current node to determine the context. That is, the knowledge of the occupancy of the child nodes of the occupied neighboring nodes that have been encoded and decoded (possibly all neighboring nodes or all neighboring nodes that have been encoded and decoded) may be used to drive (possibly together with the neighbor configuration N, for example reduced to ten configurations N) 10 Together) the occupied bits b of the current node i The entropy codec used for encoding and decoding.

[0170] In the following, without given limitations, a method of encoding or decoding a bit sequence using knowledge of the occupancy states of child nodes of neighboring nodes of the current node to determine a context will be described with reference to an octree and a cube as a volume associated with a node of the octree.

[0171] Reference now Fig. 27, which shows the current node (i.e., its associated volume or current volume) 4000 and its six neighbors 4010, 4020, 4030, 4040, 4050 and 4060. For the current example of an octree, the neighbors of the current node can be defined as those nodes (at the same level or depth of the tree) whose associated volumes share faces with the current volume. Volumes that share faces with each other can also be referred to as volumes that touch each other. Other definitions of neighboring nodes are also possible. For example, the neighbors of the current node can be those nodes (at the same level or depth of the tree) whose associated volumes share edges (or vertices) with the current volume. In general, regardless of the tree structure, neighboring nodes can be those nodes (at the same level or depth of the tree) whose associated volumes intersect with the current volume (e.g., at least in some predefined non-empty set).

[0172] In the context of the present application, it is understood that volumes (nodes) that intersect each other are adjacent volumes (nodes). Therefore, the terms "intersecting with" and "adjacent to" can be considered synonymous in the context of the present application.

[0173] It is worth noting that the expressions "volume" and "subvolume" can be used somewhat interchangeably, in the sense that each subvolume is itself a volume that can be subdivided into subvolumes. In any case, the volume / subvolume relationship can be clearly understood by specifying the parent-child relationship between the nodes / volumes involved.

[0174] Assume that the scan order of the nodes is performed in a breadth-first manner, in increasing X order, then in increasing Y order, and finally in increasing Z order. In doing so, the three neighbors with the lowest X coordinate (i.e., neighbor 4010), the lowest Y coordinate (i.e., neighbor 4030), and the lowest Z coordinate (i.e., neighbor 4050) have been encoded. Therefore, if one of the three neighbors is occupied, the configuration of the occupied subvolume associated with the occupied neighbor is known. Although the present example defines the scan order in increasing X order, then in increasing Y order, and finally in increasing Z order, other breadth-first scan orders may also be used for this purpose. Regardless of the particular breadth-first scan order used, three neighbors have been encoded for the current node that are not located at the boundary of the 3D space.

[0175] Reference now Fig.28, which shows an exemplary current volume in which all three neighbors that have been decoded (i.e., neighbors 4010, 4030, and 4050) are occupied. The occupied subvolumes of neighbor 4010 are subvolumes 4011, 4012, and 4013; the occupied subvolumes of neighbor 4030 are subvolumes 4031, 4032, and 4033; and the occupied subvolumes of neighbor 4050 are subvolumes 4051 and 4052. In this example, all three neighbors that have been decoded are occupied, but it should be understood that typically only two neighbors or one of the two neighbors may actually be occupied, or even none of them may be occupied.

[0176] The knowledge of the occupied subvolumes of the occupied neighbors that have been coded can be used to define a set of subvolume neighbor configurations, e.g., one subvolume neighbor configuration for each subvolume of the current volume. The subvolume neighbor configurations can be used as a context (e.g., a probability associated with a corresponding binary entropy codec) for selecting the bits b of the bit sequence of the current volume. i The subvolume neighbor configuration of a given subvolume of the current volume may be determined based on the occupancy data of the subvolumes of the neighboring volumes of the current volume that have been coded. In addition, the subvolume neighbor configuration of the given subvolume in the current volume may correspond to the occupancy patterns of all those subvolumes neighboring the given subvolume in the neighboring (already coded) volumes of the given volume.

[0177] Reference now Fig.29 , which shows an example of a method 4100 for encoding a point cloud to generate a bit stream of compressed point cloud data in the form of a flowchart. The point cloud is defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and representing the geometry of a volume space, the volume space being recursively split into sub-volumes and containing points of the point cloud. A bit sequence is used to indicate the occupancy of a sub-volume of a volume, wherein each bit of the bit sequence indicates the occupancy of a corresponding sub-volume in a scanning order within the volume, and the volume has a plurality of neighboring volumes. The operations of the method 4100 described below are performed respectively for a current node associated with a current volume split into sub-volumes, wherein each sub-volume corresponds to a child node of the current node. In operation 4110, a bit sequence indicating the occupancy of a sub-volume of the current volume is determined. Then, for at least one bit in the bit sequence of the current volume, the following operations are performed. In operation 4120, a sub-volume neighbor configuration is determined based on the occupancy data of a sub-volume of at least one neighboring volume of the current volume. The sub-volume neighbor configuration depends on the occupancy pattern of a set of sub-volumes of at least one neighboring subset that are adjacent to a given sub-volume of the current volume. A given subvolume of the current volume is a subvolume corresponding to a bit in the bit sequence. For example, for bit b of the bit sequence i, a given subvolume is the bit corresponding to b i The subvolume of the current volume, that is, the given subvolume is bit b i The subvolume for which the occupancy state is indicated. A subvolume neighbor configuration is then determined for the considered subvolume of the current volume. Notably, operation 4120 may be performed for any, some, or all bits of the bit sequence. In operation 4130, a probability (e.g., context) for entropy encoding of the bits in the bit sequence is selected. Here, the selection is based at least in part on a subvolume neighbor configuration that has been determined for the subvolume corresponding to the bit in the bit sequence. In operation 4140, the bits in the bit sequence are entropy encoded based on the selected probability (e.g., context) using a binary entropy encoder to produce encoded data for a bitstream.

[0178] In some embodiments, method 4100 may also include an operation of updating the selected probability (eg, context) (in Fig.29 not shown).

[0179] As already described above, a cascade of one or more binary entropy codecs may be used to entropy encode and decode the occupancy pattern of the current node. Therefore, operation 4130 of method 4100 may involve: for at least one bit of a bit sequence, based at least in part on a subvolume neighbor configuration that has been determined for a subvolume corresponding to the bit to be entropy encoded and decoded, selecting a corresponding probability (and correspondingly, an associated entropy codec) for encoding and decoding the bit. In addition, selecting the probability may be based on a partial sequence of bits of the bit sequence that have already been encoded and decoded and / or a neighbor configuration of the current volume. In other words, for each bit of the bit sequence, a context may be selected based on a subvolume neighbor configuration, and in addition, selecting a context may be based on a partial sequence of bits of the bit sequence that have already been encoded and decoded and / or a neighbor configuration of the current volume. In terms of context, it can be said that operation 4130 of method 4100 involves selecting a context for entropy encoding and decoding the bit based at least in part on a subvolume neighbor configuration that has been determined for a subvolume corresponding to the bit to be encoded and decoded. Then, in some embodiments, the context may be updated after operation 4140.

[0180] Reference now Fig.30, which shows an example of a method 4200 for decoding a bit stream of compressed point cloud data to produce a reconstructed point cloud in the form of a flowchart. The point cloud is defined in a tree structure (e.g., an octree) having a plurality of nodes, the plurality of nodes having a parent-child relationship and representing the geometry of a volume space, the volume space being recursively split into sub-volumes and containing points of the point cloud. A bit sequence is used to indicate the occupancy of a sub-volume of a volume, wherein each bit of the bit sequence indicates the occupancy of a corresponding sub-volume in a scan order within the volume, and the volume has a plurality of neighboring volumes. The operations of the method 4200 described below are performed respectively for a current node associated with a current volume split into sub-volumes, wherein each sub-volume corresponds to a child node of the current node, and is performed for at least one bit in the bit sequence of the current volume. In operation 4210, a sub-volume neighbor configuration is determined based on occupancy data of a sub-volume of at least one neighboring volume of the current volume. The sub-volume neighbor configuration depends on an occupancy pattern of a set of sub-volumes of at least one neighboring subset that are adjacent to a given sub-volume of the current volume, the given sub-volume being a sub-volume of the current volume corresponding to a bit in the bit sequence. For example, for bit b of the bit sequence i , a given subvolume is the bit corresponding to b i The subvolume of the current volume, i.e., the given subvolume is the one for which bit b is considered i The subvolume of the occupancy state is indicated. A subvolume neighbor configuration is then determined for the considered subvolume of the current volume. Notably, operation 4120 may be performed for any, some, or all bits of the bit sequence. In operation 4220, a probability (e.g., context) for entropy decoding of a bit in the bit sequence is selected. The selection is based at least in part on the subvolume neighbor configuration. In operation 4230, entropy decoding is performed on the at least one bit based on the selected probability (e.g., context) using a binary entropy decoder to produce a reconstructed bit from the bitstream.

[0181] In one embodiment, method 4200 may also include an operation of updating the selected probability (eg, context) (in Fig.30 not shown).

[0182] In the same manner as encoding, operation 4220 of method 4200 may involve: for at least one bit of the bit sequence representing the occupancy pattern, selecting a corresponding probability (and correspondingly, an associated entropy codec) for encoding and decoding the bit based at least in part on a subvolume neighbor configuration that has been determined for a subvolume corresponding to the bit to be entropy-encoded. In addition, selecting the probability may be based on a partial sequence of bits in the bit sequence that have already been encoded and decoded and / or a neighbor configuration of the current volume. In other words, for each bit of the bit sequence, a context may be selected based on the subvolume neighbor configuration, and in addition, selecting the context may be based on a partial sequence of bits in the bit sequence that have already been encoded and decoded and / or a neighbor configuration of the current volume. In terms of context, it can be said that operation 4220 of method 4200 involves selecting a context for entropy encoding and decoding the bit based at least in part on a subvolume neighbor configuration that has been determined for a subvolume corresponding to the bit to be entropy-encoded. Then, in some embodiments, the context may be updated after operation 4230.

[0183] Examples of determining a subvolume neighbor configuration are described below.

[0184] In some embodiments, this may involve: determining, based on occupancy data of sub-volumes of at least one neighboring volume of the current volume, a number of sub-volumes of at least one neighboring volume (possibly all neighboring volumes or all neighboring volumes that have been coded) that are adjacent to the sub-volume of the current volume corresponding to the bit in the bit sequence. This number will be referred to as NT[i] in the following, where i is an integer indicating the current volume (or the corresponding bit in the bit sequence b). i ). In this sense, it can be said that selecting a probability in operation 4130 of method 4100 and in operation 4220 of method 4200 involves: selecting a probability based at least in part on the number NT[i].

[0185] In some embodiments, determining the subvolume neighbor configuration may further involve applying a threshold function to the determined number NT[i].

[0186] refer to Fig.31, which shows an example of splitting the current volume (current node) B into eight sub-volumes (child nodes) SB0 to SB7. For this example, neighboring volumes are defined as volumes that share faces with each other (i.e., "touch" each other). Each sub-volume in the sub-volumes (sub-volume / child volume) of the current volume B is adjacent to (touching) three sub-volumes of the neighbors of the current volume. The sub-volume neighbor configuration of each sub-volume SB0 to SB7 (SBi, i=0, ..., 7) may depend on the occupancy pattern of the sub-volume group that touches the corresponding sub-volume SBi of the current volume. Depending on the occupancy pattern of the occupied neighbors of the current volume, at most three occupied sub-volumes of the occupied neighbors of the current volume may be adjacent to (or touching, where contact / proximity is defined as sharing faces) the corresponding sub-volume SBi.

[0187] An example process for determining the subvolume neighbor configuration of a given subvolume SBi of the current volume using the above definition of neighboring volumes involves determining the number of subvolumes in the neighbors of the current volume that are in contact with the corresponding subvolume SBi 0≤NT[i]≤3. In other words, the number NT[i] of subvolumes SBi of the current volume indicates the number of occupied subvolumes in the neighbors of the current volume that are adjacent to (in contact with, i.e., share a face with) the subvolume SBi.

[0188] By the above definition, the integer number 0≤NT[i]≤3 of the sub-volumes SBi of the current volume is the number of occupied sub-volumes (child nodes), which are located in the (already encoded) neighbors of the current volume and intersect with the sub-volume SBi on the surface (i.e., the surface that touches the sub-volume SBi).

[0189] In a preferred embodiment, the neighbors are six neighbors that share faces with the current cube, and the subvolume of the occupied neighbor is called adjacent to the child node SBi if and only if one of the faces of the child nodes of the occupied neighbors is included in the face of the cube associated with the child node SBi (i.e., when the child nodes of the occupied neighbors intersect with the child node SBi in the face). However, it should be understood that the present application is not limited to the aforementioned embodiments of the octree, and is not limited to defining neighbors as nodes whose associated volumes share faces with the associated volumes of the current same-level nodes. In fact, the present application relates to any tree representing the geometry of a point cloud. In addition, the neighbors of the current node can generally be defined as nodes at the same depth or level (relative to the root node of the tree) as the current node, and the associated volumes of these nodes intersect with the volume of the current node (e.g., at least in a predefined non-empty set). In a tree where the volume associated with the node is a cube (such as an octree, for example), the intersection can be any non-empty set of faces, edges, vertices, or points.

[0190] Similarly, an occupied child node of a neighbor of the current node is said to intersect with child node SB of the current node B if the intersection of the volume associated with the child node and the volume associated with child node SB is a non-empty set of points. Furthermore, in a tree where the volume associated with the node is a cube (such as, for example, an octree), the intersection may be any non-empty set of faces, edges, vertices, or points.

[0191] It should also be understood that the definition of neighbors for neighbors and children of neighbors can be different. For example, in an octree, neighbors can be defined as nodes that share faces with the current node, resulting in six neighbors; however, the number NT[i] can count the number of children of occupied neighbors that have been encoded and decoded that share at least one edge with the child node SBi. However, a preferred embodiment can use the definition of intersection as a "shared face" for both neighbors and children of neighbors.

[0192] As mentioned above, different definitions of neighboring nodes or volumes can be used in the context of the present application. Depending on the neighbor definition, the possible range of the number NT[i] will be different from 0≤NT[i]≤3 (this applies to the case where the neighbor volume is defined as the volume that shares a face or "touches"). For example, if the neighbor volume is defined as the volume that intersects each other at least in the edges, then 0≤NT[i]≤12 will be available. Similarly, if the neighbor volume is defined as the volume that intersects at least in the vertices, then 0≤NT[i]≤19 will be available.

[0193] As mentioned above, depending on the occupancy pattern of the occupied neighbors of the current volume, using the proximity definition of neighbor volumes (which are volumes of shared faces), up to three occupied subvolumes of the occupied neighbors of the current volume can be adjacent to the corresponding subvolume (subnode) SBi. Fig.32 Display, for the child node SB0 of the current node B, assuming that the above reference Fig. 27 In the described scanning order, there are at most three occupied subnodes of the neighbor node that can be adjacent to the subvolume associated with the subnode SB0 (i.e., they can intersect the subvolume associated with the subnode SB0 in a face). The figure depicts eight possible occupied subnode configurations and associated values ​​NT[0] of 0, 1, 2, or 3.

[0194] Fig.33 It is shown that for child node SB1 of current node B, there are at most two occupied child nodes of neighbor nodes that may be adjacent to (ie, intersecting in a facet) the subvolume associated with child node SB1. Four possible occupied child node configurations and associated values ​​NT[1] of 0, 1, or 2 are depicted in the figure.

[0195] Fig.34It is shown that for child node SB3 of current node B, there is at most one occupied child node of a neighbor node that may be adjacent to (ie, intersect in a facet) the subvolume associated with child node SB3. Two possible occupied child node configurations and associated values ​​NT[3] of 0 or 1 are depicted in the figure.

[0196] Fig.35 It is shown that for the child node SB7 of the current node B, there is no occupied child node of the neighbor node that can be adjacent to (i.e., intersect in the face) the subvolume associated with the child node SB7. Therefore, there is only one possible occupied child node configuration as depicted in the figure, i.e., the value of NT[7] must be 0. In this case, the child node does not provide additional information for context determination in the encoding and decoding of the occupancy information of the child node SB7.

[0197] Once the number NT[i] has been determined for the child nodes SBi of the current node, the subvolume neighbor configuration value C[i] can be determined from NT[i] by applying a threshold function. The threshold function can be a function that outputs its input values ​​up to a certain threshold and outputs a threshold value for input values ​​that exceed the threshold. For example, the threshold value can be set to 2 so that

[0198] C[i]=0if NT(i)=0

[0199] C[i]=1if NT(i)=1

[0200] C[i]=2if NT(i)>=2

[0201] Using this thresholding operation, possible values ​​of C[0] include 0, 1, or 2, while C[7] is always 0. It should be understood that other thresholding operations and threshold functions are also possible. Specifically, for other neighbor definitions, the value range of the number NT[i] will be different from 0≤NT[i]≤3, and different thresholds can be applied.

[0202] Then, selecting the probability (e.g., context) in operation 4130 of method 4100 and in operation 4220 of method 4200 may involve selecting the probability based at least in part on the subvolume neighbor configuration value C[i]. In this sense, the subvolume neighbor configuration value C[i] may be said to correspond to a subvolume neighbor configuration.

[0203] Reference now Fig.36, which shows in flowchart form an example of a method 4300 for determining the number NT[i] of subvolumes of a current volume and the subvolume neighbor configuration values ​​C[i]. That is, the method 4300 operates on the subvolumes of the current volume. In operation 4310, the number NT[i] is initialized to zero for all subvolumes of the current volume. Then, in operation 4320, a neighbor of the current volume is selected. In operation 4330, it is checked whether the selected neighbor is occupied. If the selected neighbor is occupied ("yes" in operation 4330), the method proceeds to operation 4340. In operation 4340, it is checked whether the selected occupied neighbor has been encoded or decoded. If the selected occupied neighbor has been encoded or decoded ("yes" in operation 4340), the method proceeds to operation 4350. In operation 4350, for each occupied subnode (subvolume) of the neighbor, it is determined which subvolumes of the current volume are adjacent to the subnode (depending on the neighbor definition; for example, intersecting at least at a predefined non-empty set). For each subvolume of the current volume that is adjacent to the child node, the corresponding number NT[i] is incremented by 1. The method then proceeds to operation 4360. If the selected neighbor is not occupied ("No" in operation 4330) or has not yet been encoded ("No" in operation 4340), the method also proceeds to operation 4360. In operation 4360, it is checked whether there are unselected neighbors of the current volume. If there are unselected neighbors ("Yes" in operation 4320), the method returns to operation 4320 to select the next neighbor of the current volume. Once all neighbors have been processed ("No" in operation 4360), a subvolume neighbor configuration value C[i] is calculated for each subvolume of the current volume in operation 4370. This may involve applying a threshold function. Then, in operation 4380, the corresponding bit b of the bit sequence may be coded using the probability (e.g., context) based on the subvolume neighbor configuration value C[i] and possibly based on the partial sequence of bits in the bit sequence that have already been coded and / or the (reduced) neighbor configuration. i Perform entropy encoding and decoding.

[0204] In an alternative embodiment, instead of looping over the neighbors of the current volume, a loop over the subvolumes SBi of the current volume (or equivalently, over index i) may be performed. Then, for each subvolume SBi, the occupied child nodes of the neighbors that have been decoded are tested to determine whether they are adjacent to the subvolume SBi (e.g., intersecting at least in a predefined non-empty set), and NT[i] is obtained as the number of such child nodes adjacent to the subvolume SBi.

[0205] In the above determination of NT[i], all neighbors of the subvolumes of the current volume are treated equally, regardless of their intersection with the subvolume. In some embodiments, different weights may be applied to neighbors that have different intersections with the subvolume in question. For example, when a broader definition of neighbors is applied, neighboring subvolumes that share faces with the subvolume in question may have higher weights than neighboring subvolumes that (only) share edges with the subvolume in question, which in turn may have higher weights than neighboring subvolumes that (only) share vertices with the subvolume in question. These different weights may then be applied when determining the weighted quantity NT'[i], where each neighbor of the subvolume in question is included in the sum that produces the weighted quantity NT'[i] with its corresponding weight.

[0206] Thus, determining the subvolume neighbor configuration in operation 4120 of method 4100 and in operation 4210 of method 4200 may involve: determining all those subvolumes of at least one neighboring volume (possibly all neighboring volumes or all neighboring volumes that have been coded) that intersect with the subvolume of the current volume corresponding to the bit in the bit sequence, based on the occupancy data of the subvolumes of at least one neighboring volume of the current volume. In addition, corresponding weight factors may be applied to the determined subvolumes. Each weight factor may depend on the intersection of the corresponding determined subvolume with the subvolume of the current volume corresponding to the bit in the bit sequence. For example, a subvolume that intersects with the subvolume in question in a face may have the highest weight, a subvolume that intersects with (only) the subvolume in question in an edge may have a medium weight, and a subvolume that intersects with (only) the subvolume in question in a vertex may have the lowest weight. In some embodiments, only two of the three neighbor definitions may be considered (which in effect corresponds to setting the weight factor of the neighbor of the third neighbor definition to zero). For example, the corresponding weight factors applied to subvolumes intersecting with the subvolume in faces, edges, and vertices may be set to 2, 1, and 0, respectively.

[0207] Then, determining the subvolume neighbor configuration may further involve: determining a weighted number NT'[i] of subvolumes of at least one neighboring volume that intersects with the subvolume of the current volume corresponding to the bits in the bit sequence based on the determined subvolumes and their corresponding weight factors. That is, when summing the determined subvolumes of at least one neighboring volume that intersect with the subvolume of the current volume corresponding to the bits in the bit sequence, each determined subvolume may be counted with its corresponding weight factor. In addition, thresholding may be applied to the weighted number NT'[i] to obtain a weighted subvolume neighbor configuration value C'[i].

[0208] In some embodiments, the selection of a given occupied bit b in the bit sequence may depend on the following value: iThe probability (i.e. context) associated with the binary entropy codec for encoding and decoding:

[0209] b0,…,b i-1

[0210] ·N 10

[0211] ·C[i]

[0212] That is, once determined, the subvolume neighbor configuration value C[i] (or the weighted subvolume neighbor configuration value C'[i]) can be used as input to (multiple) entropy codecs, which entropy codecs the occupied bits b associated with the child nodes SBi of the current node B. i Perform encoding and decoding.

[0213] Contextual reduction operations

[0214] The above example proposes that the encoding and decoding process includes a context reduction operation with respect to at least one bit of the occupancy pattern in order to reduce the available context set to a smaller available context set. In this sense, the "context reduction operation" can be understood as identifying and merging the contexts in a specific bit b. i As mentioned above, a reduced context set may be determined before encoding and decoding, and the reduced context set may be provided to an encoder and a decoder, and the encoder and the decoder determine whether to use the reduced context set based on the same conditions for the reduced context set described below.

[0215] Neighbor configuration reduction via filtering / screening

[0216] The first example context reduction operation involves reducing the number of neighbor configurations based on screening / masking. In principle, the neighbor configuration takes the occupancy state of neighboring volumes into consideration for the context selection process, on the basis that the neighboring volumes help indicate whether the current volume or subvolume is likely to be occupied. When decoding the bits associated with the subvolumes in the current volume, they are also taken into consideration for context selection; however, the information from the nearby subvolumes may be more important and more informative than the occupancy information of the neighboring volumes located on the other side of the subvolume from the current subvolume. In this sense, the previously decoded bits are associated with the subvolumes of the "screening" or "masking" neighboring volumes. This can mean that in such cases, the occupancy of the neighboring volumes can be ignored, because the relevance of their occupancy state is subsumed by the occupancy state of the subvolumes between the current subvolume and the neighboring volume, thereby allowing the number of neighbor configurations to be reduced.

[0217] Reference now Fig.24, which diagrammatically illustrates an example context reduction operation based on neighbor filtering. The example involves encoding and decoding an occupancy pattern of volume 3200. The occupancy pattern represents the occupancy status of eight subvolumes within volume 3200. In this example, four subvolumes in the upper half of volume 3200 have already been encoded and decoded, so the occupancy status of these four subvolumes is known. The bits of the occupancy pattern being encoded are associated with a fifth subvolume 3204, which is located in the lower half of volume 3200 below the four previously encoded subvolumes.

[0218] In this example, encoding and decoding includes determining context based on neighbor configurations. Ten neighbor configurations 3202 are shown. Volume 3200 containing a fifth subvolume 3204 to be encoded is shown in light grey and indicated with reference numeral 3200. Neighbor configuration 3202 is based on the occupancy state of volumes adjacent to volume 3200 and sharing a face with volume 3200. Neighbor volumes include a top neighbor volume 3206.

[0219] In this example, the number of neighbor configurations can be reduced from 10 to 7 by ignoring the top neighboring volume 3206 in at least some of the configurations. Fig.24 As shown in , three of the four configurations showing the top neighboring volume 3206 can be subsumed under equivalent configurations that are not counted in the top neighboring volume 3206, thereby reducing the number of neighbor configurations to a total of 7. Keeping the configuration showing all six neighboring volumes can still be advantageous because there are no existing 5-volume neighbor configurations that can merge the 6-volume configuration (one 5-element has been eliminated), which means that even if the top neighboring volume is removed, a new 5-element neighbor configuration is created and the overall reduction in context does not occur.

[0220] In this example, the top neighboring volume 3206 can be eliminated from the neighbor configuration because the context determination used to encode and decode the occupancy bits associated with the fifth subvolume 3204 will already take into account the occupancy states of the four previously encoded subvolumes directly above it, which better indicate the likelihood and directionality of occupancy of the fifth subvolume than the occupancy state of the more distant top neighboring volume 3206.

[0221] The above example of filtering or masking the top neighbor volume 3206 when encoding the occupied bits corresponding to the fifth subvolume 3204 by the previously encoded subvolume is only one example. Depending on the encoding and decoding order within the volume 3200, a variety of other possible filtering / masking situations can be implemented and utilized to reduce the available neighbor configurations.

[0222] Reference now Fig.25, which shows a second example of screening / masking. In this example, the occupancy pattern of volume 3200 is almost completely encoded. The subvolume to be encoded is the eighth subvolume and is hidden in the figure at the rear bottom corner (not visible). In this case, the occupancy status of all seven other subvolumes has been encoded. Specifically, the subvolumes along the top (thus reducing the neighbor configuration to a total of seven) and along the right and front sides. Therefore, in addition to screening the top neighbor volume, the subvolume with the previously encoded occupancy bit masks the front neighbor volume 3210 and the right neighbor volume 3212. This can allow the neighbor configuration to be reduced from a total of seven to a total of five, as illustrated.

[0223] It will be appreciated that the two foregoing examples of masking are illustrative and that in some cases different configurations may be incorporated to address different masking situations. The context reduction operation based on masking / filtering by previously encoded subvolumes is general and not limited to these two examples, but it will be appreciated that the context reduction operation cannot be applied in the case of the first subvolume to be encoded due to the need for the presence of at least one previously encoded occupied bit associated with a nearby subvolume in order to be used for any masking / filtering.

[0224] It will also be appreciated that the degree of masking / screening that demonstrates the reduction of the neighbor configuration may be different in different embodiments. In both of the above examples, all four subvolumes that share a face with the neighbor volume have been previously encoded before the neighbor volume is considered masked / screened and thus removed from the neighbor configuration. In other examples, partial masking / screening may be sufficient, e.g., from one previously encoded subvolume to three previously encoded subvolumes that share a face.

[0225] Contextual reduction through special case handling

[0226] There are certain situations where context reduction can occur without losing useful information. In the example context determination process described above, the context used to encode and decode the occupancy bit is based on the neighbor configuration (i.e., the occupancy pattern of volumes adjacent to the current volume) and the partial pattern of occupancy attributable to previously encoded subvolumes in the current volume. The latter case produces a 2 bit to be tracked relative to the eighth bit in the occupancy pattern bit sequence. 7 = 128 contexts. Even if the neighbor configuration is reduced to a total of five, this means that 640 contexts are to be tracked.

[0227] The previously encoded bits of a bit sequence have an order and this order is relevant when evaluating the context. Based on the above fact, the number of contexts is huge. However, in some cases, the order may not contain useful information. For example, when the neighbor configuration is empty (i.e., N 10= 0), any points within the volume can be assumed to be sparsely populated, which means that the directionality of these points is not strong enough to justify separate contexts for tracking different occupancy patterns in sibling subvolumes. In the case of an empty neighborhood, there is no local orientation or topology for the point cloud, which means that the 2 bits of the previously encoded and decoded bits based on the bit sequence can be used. j The conditions are reduced to j+1 conditions. That is, the context for encoding and decoding one of the bits in the bit sequence is based on the previously encoded and decoded bits, but not on the ordered pattern of the previously encoded and decoded bits, but on the sum of the previously encoded and decoded bits. In other words, the entropy expression in this special case can be expressed as:

[0228] H(b|n)≈H(b0|0)H(b1|0,b0)H(b2|0,b0+b1)…H(b7|0,b0+b1+…+b6)

[0229] In some embodiments, similar observations can be made with respect to a full neighbor configuration. In some examples, a full neighbor configuration lacks directionality, meaning that the order of previously coded bits need not be considered when determining context. In some examples, the context reduction operation can be applied to only some of the bits in the bit sequence, such as some of the later bits in the sequence. In some cases, applying the context reduction operation to the later bits can be conditioned on determining that earlier bits associated with previously coded subvolumes are also all occupied.

[0230] Statistics-based context reduction

[0231] Statistical analysis can be used to reduce contexts by determining which contexts cause approximately the same statistical behavior, and then combining these contexts. This analysis can be performed a priori using test data to develop a reduced set of contexts, which are then provided to both the encoder and decoder. In some cases, a two-pass codec can be used to perform analysis on the current point cloud to develop a custom reduced set of contexts for specific point cloud data. In some such cases, the mapping from a non-reduced set of contexts to a custom reduced set of contexts can be represented to the decoder using a dedicated syntax that is encoded into the bitstream.

[0232] Two contexts can be compared by the concept of "distance". The first context c has a probability p of bit b equal to zero, and the second context c' has a probability p of bit b' equal to zero. The distance between c and c' is given by:

[0233] d(c,c')=|p log2p–p'log2p'|+|(1-p)log2(1-p)–(1-p')log2(1-p')|

[0234] Using this measure of similarity (distance), contexts can then be grouped in a process such as:

[0235] 1. Start with M1 contexts and fix the threshold level ε

[0236] 2. For a given context, regroup all contexts that are less than a threshold level ε from the given context into categories

[0237] 3. Repeat 2 for all unregrouped contexts until all unregrouped contexts have been placed into categories

[0238] 4. Label M2 categories from 1 to M2: This yields a brute-force reduction function that maps {1,2,…,M1]→[1,2,…,M2], where M1≥M2.

[0239] A brute force reduction function for mapping a context set to a smaller context set may be stored in a memory for application by an encoder / decoder as a context reduction operation during encoding and decoding. The mapping may be stored as a lookup table or other data structure. For example, the brute force reduction function may be applied only to later bits in a bit sequence (pattern). Combinations and subcombinations of contextual reduction operations

[0240] Three example context reduction operations are described above. In some embodiments, each of these context reduction operations may be applied separately and independently. In some embodiments, any two or more of these context reduction operations may be combined. Additional context reduction operations may be implemented separately or in combination with any one or more of the context reduction operations described above.

[0241] Fig.26 An example of a method 3300 for occupancy mode binary encoding and decoding involving combined context reduction is shown in flowchart form. Given a 10-element neighbor configuration N in {0, 1, 2, ..., 9} 10 , method 3300 encodes and decodes the 8-bit binary pattern b0, b1, ..., b7. The first condition evaluated is whether the neighbor configuration is empty, that is, N 10 = 0. If the neighbor configuration is empty, the bits are encoded and decoded without reference to the order of the bits, as indicated by reference numeral 3302. Otherwise, the bits are encoded and decoded in a normal manner until bit b4, at which the encoder and decoder begin to apply the brute force context reduction function BR i, to reduce the number of contexts by mapping a set of contexts defined by neighbor configurations and partial patterns of previously encoded and decoded bits to a smaller set of contexts with substantially similar statistics.

[0242] In this example, the last two bits, b6 and b7, are encoded and decoded using a reduced neighbor configuration based on masking / screening.

[0243] All functions can be implemented as a lookup table (LUT) for reducing the size of the context set. In a practical implementation, all reductions are taken into account in a reduction function (i.e., LUT for short), which takes the context as input and provides the reduced context as output. In this example embodiment, the total number of contexts has been reduced from 2550 to 576, where each reduction function BR i The output sizes are 70, 106, 110, and 119 respectively.

[0244] In summary, the dependencies (or conditions) in conditional entropy

[0245] H(b i |b0,…,b i-1 ,N 10 )

[0246] It can be simplified by the reduction function BRi to obtain a conditional entropy relationship with less dependence via the following formula:

[0247] H(b i |BR i [b0,…,b i-1 ,N 10 ]).

[0248] As described above, the subvolume neighbor configuration (eg, the subvolume neighbor configuration value C[i] or the weighted subvolume neighbor configuration value C′[i]) may be used to allocate the occupied bit b i In this case, the conditional entropy relationship becomes

[0249] H(b i |b0,…,b i-1 ,N 10 ,C[i])

[0250] And similar to the above, a reduction can be performed to obtain

[0251] H(b i |BR i [b0,…,b i-1 ,N 10 ],C[i]).

[0252] In the above, the reduction function BRi Via BR i [b0,…,b i-1 ,N 10 ] is applied to the partial bit sequence b0,…,b i-1 and 10-element neighbor configuration N 10 In some embodiments, the BR i [b0,…,b i-1 ,N 10 ,C[i]] will simplify the function BR i Applied additionally to the subvolume neighbor configurations (eg, applied to the subvolume neighbor configuration values ​​C[i] or the weighted subvolume neighbor configuration values ​​C'[i]) to obtain the conditional entropy relationship:

[0253] H(b i |BR i [b0,…,b i-1 ,N 10 ,C[i]]).

[0254] In this case, you can rely on (BR i [b0,…,b i-1 ,N 10 ],C[i]) to select the occupied bit b i The probability p (eg, context) of the binary entropy codec for encoding and decoding is selected.

[0255] If in the occupied bit b i The entropy encoding and decoding takes into account the subvolume neighbor configuration, so the above described Fig.26 will be modified to Fig.37 , which shows in flowchart form an example of a method 4400 for binary encoding and decoding of occupancy patterns based on subvolume neighbor configurations (e.g., subvolume neighbor configuration values ​​C[i] or weighted subvolume neighbor configuration values ​​C'[i]) involving combined context reduction. Given a 10-element neighbor configuration N in {0,1,2,...,9} 10 and subvolume neighbor configuration value C[i] (or weighted subvolume neighbor configuration value C'[i]), method 4400 encodes and decodes the 8-bit binary pattern b0, b1, ..., b7. The first condition evaluated is whether the neighbor configuration is empty, that is, N 10 = 0. If the neighbor configuration is empty, the bits are encoded and decoded without reference to the order of the bits, as indicated by reference numeral 4402. Otherwise, the bits are encoded and decoded in a normal manner until bit b4, where the encoder and decoder begin to apply the brute force context reduction function BR i, to reduce the number of contexts by mapping a set of contexts defined by neighbor configurations and partial patterns of previously encoded and decoded bits to a smaller set of contexts with substantially similar statistics.

[0256] In this example, the last two bits, b6 and b7, are encoded and decoded using a reduced neighbor configuration based on masking / screening.

[0257] All functions can be implemented as a lookup table (LUT) for reducing the size of the context set. In a practical implementation, all reductions are taken into account in a reduction function (ie, LUT for short), which takes the context as input and provides the reduced context as output.

[0258] Selection of scanning order within the current volume

[0259] Introducing subvolume neighbor configurations (eg, subvolume neighbor configuration values ​​C[i] or weighted subvolume neighbor configuration values ​​C'[i]) in an entropy codec increases the possible configurations for conditional coding and decoding.

[0260] However, this increase can be limited by carefully choosing the order of the scanning order of the subnodes SBi within the current volume B to determine the occupancy pattern and thus the bit sequence to be encoded or decoded. i The codec depends on

[0261] Bit b0 to bit b i-1 , thus generating 2 i Configuration,

[0262] ·10 neighbors configuration N 10 ,

[0263] and the subvolume neighbor configuration value C[i] (or the weighted subvolume neighbor configuration value C'[i])

[0264] It has been shown above how to convert 10·2 of the subvolumes SB0 to SB7 i The configurations are reduced from the first two bullet points to 10, 20, 39, 76, 149, 294, 391, and 520 configurations, respectively.

[0265] Now, it is obviously advantageous to first scan those child nodes for which the number of possible values ​​of C[i] is the maximum (e.g. three in some of the above examples). In doing so, the number of configurations of the child nodes scanned for the first time becomes 10·3=30, which can be regarded as a small increase. However, if the child node SB0 will be scanned last, 520·3=1560 configurations will be obtained. Therefore, by carefully choosing the scanning order within the current volume (to determine the occupancy pattern and thus the bit sequence to be encoded and decoded), introducing subvolume neighbor configurations (e.g. subvolume neighbor configuration values ​​C[i] or weighted subvolume neighbor configuration values ​​C'[i]) in the entropy codec has a limited impact on the number of configurations (contexts) when entropy encoding and decoding.

[0266] Therefore, in some embodiments, the scanning order within the current volume can be determined such that the maximum possible number of neighboring subvolumes in the neighboring volume that has been encoded and decoded of the current volume does not increase from one subvolume to the next subvolume in the scanning order. In other words, the scanning order can be determined such that the maximum possible value of the number NT[i] (or the weighted number NT'[i]) does not increase from one subvolume to the next subvolume in the scanning order.

[0267] Flag indicating the use of subvolume neighbor configuration

[0268] To allow for a low complexity profile of the codec, it may be advantageous to encode a flag that indicates the activation / deactivation of the subvolume neighbor configuration to be taken into account when determining the probability of entropy encoding and decoding a bit sequence (eg, context).

[0269] Therefore, in some embodiments, the encoding method may further include: encoding a flag indicating that the probability of entropy encoding for at least one bit has been selected based at least in part on the subvolume neighbor configuration. Similarly, the decoding method may further include: decoding a flag from the bitstream indicating that the probability of entropy decoding for at least one bit should be selected based at least in part on the subvolume neighbor configuration.

[0270] Context selection in a system with a fixed number of contexts

[0271] Each of the previously described context reduction operations can be further used in a compression system with a static (fixed) minimum number of contexts. In this design, for a given symbol in an 8-bit binary pattern, one or more reduction operations are applied to determine a context probability model for encoding or decoding the symbol.

[0272] Impact on compression performance

[0273] The current implementation of the MPEG test model for point cloud codecs using a 10 neighbor configuration and a non-binary codec provides compression gains. However, the above-suggested use of a 10 neighbor configuration using a cascaded binary codec of 2550 contexts results in an even better improvement in compression efficiency. Even when reducing the contexts to a total of 576 when using context reduction (such as using the three techniques detailed above), the binary codec still compresses slightly better than the implementation using the non-binary codec and much better than the test model. This observation has been shown to be consistent across different test point cloud data.

[0274] Reference now Fig.14 , which shows a simplified block diagram of an example embodiment of an encoder 1100. The encoder 1100 includes a processor 1102, a memory 1104, and an encoding application 1106. The encoding application 1106 may include a computer program or application stored in the memory 1104 and containing instructions, which when executed causes the processor 1102 to perform operations, such as the operations described herein. For example, the encoding application 1106 can encode a bitstream and output the encoded bitstream according to the process described herein. It should be understood that the encoding application 1106 can be stored on a non-transient computer-readable medium (such as an optical disk, a flash memory device, a random access memory, a hard drive, etc.). When executing the instructions, the processor 1102 performs the operations and functions specified in the instructions so as to operate as a dedicated processor that implements the described (multiple) processes. In some examples, this processor may be referred to as a "processor circuit" or "processor circuit system."

[0275] Now also refer to Fig.15 , which shows a simplified block diagram of an example embodiment of a decoder 1200. The decoder 1200 includes a processor 1202, a memory 1204, and a decoding application 1206. The decoding application 1206 may include a computer program or application stored in the memory 1204 and containing instructions that, when executed, cause the processor 1202 to perform operations, such as those described herein. It should be understood that the decoding application 1206 can be stored on a computer-readable medium such as an optical disk, a flash memory device, a random access memory, a hard drive, etc. When the instructions are executed, the processor 1202 performs the operations and functions specified in the instructions so as to operate as a dedicated processor that implements the described process(es). In some examples, this processor may be referred to as a "processor circuit" or "processor circuit system."

[0276] It should be understood that the decoder and / or encoder according to the present application can be implemented in a number of computing devices (including but not limited to servers, appropriately programmed general-purpose computers, machine vision systems, and mobile devices). The decoder or encoder can be implemented by software containing instructions for configuring one or more processors to perform the functions described herein. The software instructions can be stored in any suitable non-transient computer-readable memory (including CD, RAM, ROM, flash memory, etc.).

[0277] It should be understood that standard computer programming techniques and languages ​​can be used to implement the decoders and / or encoders described herein and to implement the modules, routines, processes, threads or other software components of the methods / processes described for configuring encoders or decoders. The application is not limited to specific processors, computer languages, computer programming specifications, data structures, other such implementation details. Those skilled in the art will recognize that the described processes can be implemented as part of a computer executable code stored in a volatile or non-volatile memory, as part of an application specific integrated chip (ASIC), etc.

[0278] The present application also provides a computer readable signal encoding data generated by applying the encoding process according to the present application.

[0279] Certain adaptations and modifications of the described embodiments may be made.Therefore, the embodiments discussed above are considered to be illustrative rather than restrictive.

Claims

1. A computer-implemented method for encoding a point cloud to generate a bit stream of compressed point cloud data, the point cloud being defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and the plurality of nodes representing the geometry of a volumetric space, the volumetric space being recursively split into sub-volumes and containing points of the point cloud, wherein a bit sequence is used to indicate the occupancy of a sub-volume of a volume, wherein each bit of the bit sequence indicates the occupancy of a corresponding sub-volume of the volume in a predefined scanning order within the volume, such that the corresponding sub-volume is the sub-volume of the volume corresponding to the bit, and wherein the volume has a plurality of neighboring volumes, the method comprising: for each current node of a plurality of current nodes, each current node associated with a current volume of the volume split into sub-volumes, and wherein each sub-volume corresponds to a child node of the current node, determining the bit sequence indicating the occupancy of the sub-volume of the current volume; as well as at least one bit in the bit sequence for the current volume, determining a subvolume neighbor configuration based on occupancy data of a subvolume of at least one neighboring volume of the current volume, the subvolume neighbor configuration being dependent on occupancy patterns of a set of subvolumes of the at least one neighboring volume, the set of subvolumes being neighboring the subvolume of the current volume corresponding to the bit in the bit sequence; selecting a probability for entropy encoding of the bit in the bit sequence, wherein the selecting is based at least in part on the subvolume neighbor configuration; as well as The bits in the bit sequence are entropy encoded based on the selected probabilities using a binary entropy encoder to produce encoded data for the bitstream.

2. A computer-implemented method for decoding a bit stream of compressed point cloud data to produce a reconstructed point cloud, the point cloud being defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and representing the geometry of a volumetric space, the volumetric space being recursively split into sub-volumes and containing points of the point cloud, wherein a bit sequence is used to indicate the occupancy of a sub-volume of a volume, wherein each bit of the bit sequence indicates the occupancy of a corresponding sub-volume of the volume in a predefined scanning order within the volume, such that the corresponding sub-volume is the sub-volume of the volume corresponding to the bit, and wherein the volume has a plurality of neighboring volumes, the method comprising: for each current node of a plurality of current nodes, each current node associated with a current volume of the volume split into sub-volumes, and wherein each sub-volume corresponds to a child node of the current node, and for at least one bit in the bit sequence of the current volume, determining a subvolume neighbor configuration based on occupancy data of a subvolume of at least one neighboring volume of the current volume, the subvolume neighbor configuration being dependent on occupancy patterns of a set of subvolumes of the at least one neighboring volume, the set of subvolumes being neighboring the subvolume of the current volume corresponding to the bit in the bit sequence; selecting a probability for entropy decoding of the bit in the bit sequence, wherein the selecting is based at least in part on the subvolume neighbor configuration; as well as The at least one bit is entropy decoded based on the selected probability using a binary entropy decoder to produce reconstructed bits from the bitstream.

3. The method of claim 1 or 2, wherein determining the subvolume neighbor configuration involves: determining, based on the occupancy data of the subvolumes of the at least one neighboring volume of the current volume, a number of subvolumes of the at least one neighboring volume, the subvolume of the at least one neighboring volume being neighboring to the subvolume of the current volume corresponding to the bit in the bit sequence; and A threshold function is applied to the determined number. 4 . The method according to claim 1 , wherein the subvolume neighbor configuration of a given subvolume in a given volume corresponds to an occupancy pattern of subvolumes neighboring the given subvolume in neighboring volumes of the given volume.

5. The method according to claim 1 or 2, wherein determining the sub-volume neighbour configuration is based on occupancy data of sub-volumes of those neighbouring volumes of the current volume that have already been encoded.

6. A method according to claim 1 or 2, wherein the selection of the probability is also based on a partial sequence of bits of the bit sequence that have been decoded and / or a neighboring configuration of the current volume, wherein the neighboring configuration of the current volume corresponds to an occupancy pattern of the neighboring volumes of the current volume.

7. The method of claim 1 or 2, wherein determining the subvolume neighbor configuration involves: determining, based on the occupancy data of the subvolumes of the at least one neighboring volume of the current volume, all those subvolumes of the at least one neighboring volume that intersect with the subvolume of the current volume corresponding to the bit in the bit sequence; applying respective weighting factors to the determined subvolumes, wherein each weighting factor depends on an intersection of a respective determined subvolume and the subvolume of the current volume corresponding to the bit in the bit sequence; as well as Based on the determined sub-volumes and their corresponding weight factors, a weighting of a sub-volume of the at least one neighboring volume intersecting with the sub-volume of the current volume corresponding to the bit in the bit sequence is determined.

8. The method according to claim 1 or 2, wherein the scanning order within the current volume is determined so that: from one subvolume to the next subvolume in the scanning order, the maximum possible number of neighboring subvolumes in the neighboring volumes of the current volume that have been decoded does not increase.

9. The method according to claim 1 or 2, wherein the occupancy data of the sub-volumes of a given neighboring volume of the current volume comprises an occupancy status of each of the sub-volumes of the given neighboring volume.

10. The method according to claim 1 or 2, wherein the tree structure represents an octree.

11. The method according to claim 2, further comprising: A flag is decoded from the bitstream, the flag indicating that the probability for entropy decoding of at least one bit should be selected based at least in part on the subvolume neighbor configuration.

12. An encoder for encoding a point cloud to generate a bit stream of compressed point cloud data, the point cloud being defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and the plurality of nodes representing a geometry of a volume space, the volume space being recursively split into sub-volumes and containing points of the point cloud, wherein a bit sequence is used to indicate occupancy of a sub-volume of a volume, wherein each bit of the bit sequence indicates occupancy of a corresponding sub-volume within the volume in a scanning order, and wherein the volume has a plurality of neighboring volumes, the encoder comprising: processor; Memory; as well as A coding application comprising instructions executable by the processor, the instructions, when executed, causing the processor to perform the method according to claim 1.

13. A decoder for decoding a bit stream of compressed point cloud data to produce a reconstructed point cloud, the point cloud being defined in a tree structure having a plurality of nodes, the plurality of nodes having a parent-child relationship and the plurality of nodes representing a geometry of a volume space, the volume space being recursively split into sub-volumes and containing points of the point cloud, wherein a bit sequence is used to indicate occupancy of a sub-volume of a volume, wherein each bit of the bit sequence indicates occupancy of a corresponding sub-volume within the volume in a scanning order, and wherein the volume has a plurality of neighboring volumes, the decoder comprising: processor; Memory; as well as A decoding application, the decoding application comprising instructions executable by the processor, the instructions causing the processor to perform the method according to claim 2 when executed.

14. A non-transitory processor-readable medium storing processor-executable instructions, which, when executed by a processor, cause the processor to perform the method according to claim 1 or 2.

15. A computer program product, comprising program instructions, which, when executed by a computer, cause the computer to perform the method according to claim 1 or 2.

Citation Information

Patent Citations

  • Predictive position decoding

    CN104040592A

  • Predictive position decoding

    US10032309B2

  • Encoding method for the compression of a video sequence

    US20020150164A1

  • Methods and devices for data compression using context-based coding order

    US20120014457A1

  • Decoder for a software-implemented end-to-end scalable video delivery system

    US5742892A