# US 2021/0343047 A1 · Three-dimensional data point encoding and decoding method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0343047 A1
- Document ID: US20210343047A1
- Status: Published application
- Kind: A1
- Application number: 17/376,893
- Filed: 2021-07-15
- Published: 2021-11-04
- Earliest claimed: 2019-01-15
- Assignees: Sz Dji Technology Co., Ltd.
- Applicants: Sz Dji Technology Co., Ltd.
- Inventors: Pu LI; Fu ZHANG; Xiaozhen ZHENG
- Web page: https://patentgrep.com/patent/US20210343047A1

## CPC

- G06T 9/001: {Model-based coding, e.g. wire frame}
- G06T 9/40: Tree coding, e.g. quadtree, octree
- H04N 19/00: Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N 19/124: Quantisation
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N 19/597: specially adapted for multi-view video sequence encoding
- H04N 19/96: Tree coding, e.g. quad-tree coding
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A three-dimensional data point encoding method includes determining maximum values of range values of an initial block of target three-dimensional data points in a radial distance direction, a zenith angle direction, and an azimuth angle direction according to position coordinates of the target three-dimensional data points in a spherical coordinate system, performing partitioning processes on the initial block, and encoding the target three-dimensional data points according to partitioning results of the initial block. Performing the partitioning processes on the initial block includes performing at least one octree partitioning process on the initial block to obtain a plurality of first-type sub-blocks and performing at least one of a quadtree partitioning process or a binary tree partitioning process on at least one of the plurality of first-type sub-blocks.

## Claims

### Claim 1

A three-dimensional data point encoding method comprising:
determining maximum values of range values of an initial block of target three-dimensional data points in a radial distance direction, a zenith angle direction, and an azimuth angle direction according to position coordinates of the target three-dimensional data points in a spherical coordinate system;
performing partitioning processes on the initial block, including:
performing at least one octree partitioning process on the initial block to obtain a plurality of first-type sub-blocks; and
performing at least one of a quadtree partitioning process or a binary tree partitioning process on at least one of the plurality of first-type sub-blocks; and
encoding the target three-dimensional data points according to partitioning results of the initial block.

### Claim 2 (depends on 1)

The method according to claim 1, wherein encoding the target three-dimensional data points includes:
sequentially encoding situations of the partitioning processes according to a partitioning order and point-containing situations of sub-blocks obtained by the partitioning processes.

### Claim 3 (depends on 2)

The method according to claim 2, wherein sequentially encoding the situations of the partitioning processes includes:
for each one partitioning process of the partitioning processes, obtaining a code stream corresponding of the one partitioning process according to the point-containing situations of the sub-blocks obtained by the one partitioning process; and
sequentially encoding the code streams corresponding to the partitioning processes according to the partitioning order.

### Claim 4 (depends on 3)

The method according to claim 3, wherein for each one partitioning process of the partitioning processes, obtaining the code stream corresponding to the one partitioning process includes:
according to the point-containing situations of the sub-blocks obtained by the one partitioning process, obtaining a bitstream corresponding to the sub-blocks, each of the sub-blocks corresponding to one bit, and a bit value corresponding to one of the sub-blocks containing one or more of the target three-dimensional data points is different from a bit value corresponding to another one of the sub-blocks not containing any of the target three-dimensional data points; and
generating the code stream corresponding to the one partitioning process according to the bit values corresponding to the sub-blocks.

### Claim 5 (depends on 4)

The method according to claim 4, wherein:
the code stream corresponding to each of the partitioning processes includes 8 bits; and
generating the code stream corresponding to the one partitioning process includes:
in response to the one partitioning process being octree partitioning, determining bit values of the 8 bits according to point-containing situations of eight sub-blocks obtained by the one partitioning process;
in response to the one partitioning process being quadtree partitioning, determining bit values of 4 bits of the 8 bits according to point-containing situations of four sub-blocks obtained by the one partitioning process, and determining bit values of remaining 4 bits of the 8 bits to be same as a bit value of a sub-block that does not contain any of the target three-dimensional data points; or
in response to the one partitioning process being binary tree partitioning, determining bit values of 2 bits of the 8 bits according to point-containing situations of two sub-blocks obtained by the one partitioning process, and determining bit values of remaining 6 bits of the 8 bits to be same as a bit value of a sub-block that does not contain any of the target three-dimensional data points.

### Claim 6 (depends on 4)

The method according to claim 4, wherein generating the code stream corresponding to the one partitioning process includes:
in response to the one partitioning process being octree partitioning and the code stream corresponding to the one partitioning process including 8 bits, determining bit values of the 8 bits according to point-containing situations of eight sub-blocks obtained by the one partitioning process;
in response to the one partitioning process being quadtree partitioning and the code stream corresponding to the one partitioning process including 4 bits, determining bit values of the 4 bits according to point-containing situations of four sub-blocks obtained by the one partitioning process;
in response to the one partitioning process being binary tree partitioning and the code stream corresponding to the one partitioning process including 2 bits, determining bit values of the 2 bits according to point-containing situations of two sub-blocks obtained by the one partitioning process.

### Claim 7

A three-dimensional data point decoding method, comprising:
obtaining a code stream;
determining, according to the code stream, maximum values of range values of an initial block in three directions including a radial distance direction, a zenith angle direction, and an azimuth angle direction;
constructing the initial block according to the maximum values of the range values;
performing partitioning processes on the initial block, including:
performing at least one octree partitioning process on the initial block to obtain a plurality of first-type sub-blocks; and
performing at least one of a quadtree partitioning process or a binary tree partitioning process on at least one of the plurality of first-type sub-blocks; and
obtaining position coordinates of target three-dimensional data points according to positions of sub-blocks obtained by the partitioning processes.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
decoding a identifierused to indicate a change of a partitioning mode, the partitioning mode including octree partitioning, quadtree partitioning, or binary tree partitioning; and
changing the partitioning mode according to the identifier.

### Claim 9 (depends on 7)

The method according to claim 7, further comprising:
decoding a identifier used to indicate a direction in which the range value has reached a minimum accuracy or a direction in which the range value has not reached the minimum accuracy; and
determining, according to the identifier, the direction in which the range value has reached the minimum accuracy or the direction in which the range value has not reached the minimum accuracy.

### Claim 10 (depends on 7)

The method according to claim 7, further comprising:
decoding a identifierused to indicate an end of partitioning; and
determining that the partitioning has ended according to the identifier.

### Claim 11 (depends on 7)

The method to claim 7, wherein:
the maximum values of the range values of the initial block in the three directions are same; and
performing the at least one of the quadtree partitioning process or the binary tree partitioning process on the at least one of the plurality of first-type sub-blocks includes:
determining whether to perform the quadtree partitioning process or the binary tree partitioning process according to a first identifier and a second identifier; and
determining an end of partitioning according to a third identifier.

### Claim 12 (depends on 7)

The method according to claim 7, wherein determining the maximum values of the range values of the initial block includes:
obtaining, according to the code streams, minimum values after quantization and maximum values after quantization of the position coordinates in the three directions;
obtaining maximum values of range values of the position coordinates in the radial distance direction, in the zenith angle direction, and in the azimuth angle direction according to the minimum values after quantization and the maximum values after quantization of the position coordinates; and
obtaining the maximum values of the range values of the initial block in the radial distance direction, in the zenith angle direction, and in the azimuth angle direction according to the maximum values of the range values of the position coordinates in the radial distance direction, in the zenith angle direction, and in the azimuth angle direction.

### Claim 13 (depends on 12)

The method according to claim 12, wherein obtaining the maximum values of the range values of the initial block in the radial distance direction, in the zenith angle direction, and in the azimuth angle direction according to the maximum values of the range values of the position coordinates in the radial distance direction, in the zenith angle direction, and in the azimuth angle direction includes:
in each direction, determining a value among values that are an integer power of 2 and are greater than or equal to the maximum value of the range value of the position coordinates that is closest to the maximum value of the range value as the maximum value of the range value of initial block in the corresponding direction.

### Claim 14 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions includes:
obtaining minimum values before quantization and maximum values before quantization of the position coordinates in the three directions according to the code stream; and
obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions according to the minimum values before quantization and the maximum values before quantization of the position coordinates and quantization step lengths in the three directions.

### Claim 15 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions includes:
obtaining, according to the code stream, minimum values before quantization and the maximum values after quantization of the position coordinates in the three directions; and
obtaining the minimum values after quantization according to the minimum values before quantization of the position coordinates and quantization step lengths in the three directions.

### Claim 16 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions includes:
obtaining, according to the code stream, the minimum values after quantization and maximum values before quantization of the position coordinates in the three directions; and
obtaining the maximum values after quantization of the position coordinates in the three directions according to the maximum values before quantization of the position coordinates and quantization step lengths in the three directions.

### Claim 17 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions according to the code streams includes:
obtaining, according to the code streams, minimum values before quantization and a maximum value of the maximum values after quantization of the position coordinates in the three directions;
obtaining the minimum values after quantization according to the minimum values before quantization of the position coordinates and quantization step lengths in the three directions; and
determining the maximum value of the maximum values after quantization as the maximum value after quantization in each of the three directions.

### Claim 18 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions includes:
obtaining, according to the code streams, the minimum values before quantization and a minimum value of the maximum values after quantization of the position coordinates in the three directions;
obtaining the minimum values after quantization according to the minimum values before quantization of the position coordinates and quantization step lengths in the three directions; and
determining the minimum value of the maximum values after quantization as the maximum value after quantization in each of the three directions.

### Claim 19 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions includes:
obtaining, according to the code streams, the minimum values after quantization and a maximum value of the maximum values after quantization of the position coordinates in the three directions; and
determining the maximum value of the maximum values after quantization as the maximum value after quantization in each of the three directions.

### Claim 20 (depends on 12)

The method according to claim 12, wherein obtaining the minimum values after quantization and the maximum values after quantization of the position coordinates in the three directions includes:
obtaining, according to the code streams, the minimum values after quantization and a minimum value of the maximum values after quantization of the position coordinates in the three directions; and
determining the minimum value of the maximum values after quantization as the maximum value after quantization in each of the three directions.
