# US 2022/0286677 A1 · Point cloud processing method, encoder, decoder and storage medium

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

- Number: US 2022/0286677 A1
- Document ID: US20220286677A1
- Status: Published application
- Kind: A1
- Application number: 17/825,953
- Filed: 2022-05-26
- Published: 2022-09-08
- Earliest claimed: 2019-12-02
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Fuzheng YANG; Shuai WAN; Junyan Huo; Yanzhuo MA; Lihui YANG; Zexing SUN
- Web page: https://patentgrep.com/patent/US20220286677A1

## CPC

- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/597: specially adapted for multi-view video sequence encoding
- G06T 9/001: {Model-based coding, e.g. wire frame}
- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/124: Quantisation
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/60: using transform coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Provided are a point cloud processing method, an encoder and a decoder. The method comprises: performing geometric coordinate conversion and quantization on original coding points in a point cloud to be coded to obtain coding points; acquiring three-dimensional Morton codes of the coding points and a preset number of slice partitions; shifting the three-dimensional Morton codes rightwards by N bits to obtain M types of Morton codes of parent blocks corresponding to the coding points respectively; determining M first ranges of coding point indexes corresponding to the M types of Morton codes respectively; partitioning a space where coding points within each of the first ranges of coding point indexes are located into an initial slice, and shifting each initial slice leftwards according to a respective corresponding first three-dimensional translation coordinate to obtain M slices; and writing the first range of coding point indexes and the first three-dimensional translation coordinates corresponding to each of the M slices into a bitstream.

## Claims

### Claim 1

A method for point cloud processing, applied to an encoder and comprising:
performing geometric coordinate transformation and quantization on original coding points in a point cloud to be coded to obtain coding points;
acquiring three-dimensional Morton codes of the coding points and a preset number of slice partitions;
shifting the three-dimensional Morton codes rightwards by N bits to obtain M types of Morton codes of parent blocks corresponding to the coding points respectively, the M types of Morton codes corresponding to M types of first parent blocks, M being less than or equal to the preset number of slice partitions, and N being a positive integer more than or equal to 1;
determining M first ranges of coding point indexes corresponding to the M types of Morton codes respectively;
partitioning a space where coding points within each of the first ranges of coding point indexes are located into an initial slice, and shifting each initial slice leftwards according to a respective corresponding first three-dimensional translation coordinate to obtain M slices; and
writing the first range of coding point indexes and the first three-dimensional translation coordinate corresponding to each of the M slices into a bitstream.

### Claim 2 (depends on 1)

The method of claim 1, wherein after acquiring the three-dimensional Morton codes of the coding points and the preset number of slice partitions and before shifting the three-dimensional Morton codes rightwards by N bits to obtain M types of Morton codes of the parent blocks corresponding to the coding points respectively, the method further comprises:
determining a difference between a maximum value and a minimum value in the three-dimensional Morton codes;
shifting the difference rightwards by three bits sequentially until a difference obtained after right shift by 3K bits is less than or equal to the preset number of slice partitions, K being an integer more than or equal to 0; and
determining a value of N to be 3K.

### Claim 3 (depends on 1)

The method of claim 1, wherein after acquiring the three-dimensional Morton codes of the coding points and the preset number of slice partitions and before shifting the three-dimensional Morton codes rightwards by N bits to obtain M types of Morton codes of the parent blocks corresponding to the coding points respectively, the method further comprises:
determining a difference between a maximum value and a minimum value in the three-dimensional Morton codes;
shifting the difference rightwards sequentially until a difference obtained after right shift by L bits is less than or equal to the preset number of slice partitions, L being an integer more than or equal to 0; and
determining a value of N to be L.

### Claim 4 (depends on 1)

The method of claim 1, wherein after acquiring the three-dimensional Morton codes of the coding points and the preset number of slice partitions and before shifting the three-dimensional Morton codes rightwards by N bits to obtain M types of Morton codes of the parent blocks corresponding to the coding points respectively, the method further comprises:
determining a number of parent blocks based on the preset number of slice partitions, the number of parent blocks being less than or equal to the preset number of slice partitions and being F times 8, and the number of parent blocks being written into the bitstream;
determining a maximum value in the three-dimensional Morton codes;
shifting the maximum value rightwards by H bits until 3F bits of the maximum value remain, H being a positive integer more than or equal to 1; and
determining a value of N to be H.

### Claim 5 (depends on 1)

The method of claim 1, wherein after determining the M first ranges of coding point indexes corresponding to the M types of Morton codes respectively, the method further comprises:
determining a point number of the coding points corresponding to each of M first parent blocks based on the M first ranges of coding point indexes;
continuing to partition the M first parent blocks based on the point number and a preset point number threshold to obtain J second ranges of coding point indexes corresponding to J second parent blocks, J being a positive integer more than or equal to 1;
partitioning a space where coding points within each of the second ranges of coding point indexes are located into an initial slice, and shifting each initial slice leftwards according to a respective corresponding second three-dimensional translation coordinate to obtain J slices; and
writing the second range of coding point indexes and second three-dimensional translation coordinate corresponding to each of the J slices into the bitstream.

### Claim 6 (depends on 5)

The method of claim 5, wherein the preset point number threshold comprises a preset point number upper limit and a preset point number lower limit; and continuing to partition the M first parent blocks based on the point number and the preset point number threshold to obtain J second ranges of coding point indexes corresponding to J second parent blocks comprises:
performing, in response to determining that the point number is greater than the preset point number upper limit, secondary partition on the current first parent block corresponding to the point number to obtain at least two second parent blocks,
merging, in response to determining that the point number is less than the preset point number lower limit, the current first parent block corresponding to the point number and a previous parent block to obtain a second parent block,
obtaining the J second parent blocks corresponding to the coding points when all point numbers are between the preset lower limit and the preset upper limit, and
determining the J second ranges of coding point indexes corresponding to the J second parent blocks.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the M first ranges of coding point indexes corresponding to the M types of Morton codes respectively comprises:
traversing the coding points within a preset range based on the M types of Morton codes to determine the M first ranges of coding point indexes; or,
determining the M first ranges of coding point indexes corresponding to the M types of Morton codes respectively through a Standard Template Library (STL) algorithm.

### Claim 8 (depends on 1)

The method of claim 1, wherein after partitioning the space where coding points within each of the first ranges of coding point indexes are located into the initial slice and before shifting each initial slice leftwards according to a respective corresponding first three-dimensional translation coordinate to obtain the M slices, the method further comprises:
determining, based on N and the M types of Morton codes, the first three-dimensional translation coordinate corresponding to each initial slice, the M Morton codes being in one-to-one correspondence with the M initial slices.

### Claim 9

A method for point cloud processing, applied to a decoder and comprising:
parsing a bitstream to obtain a first range of coding point indexes and a first three-dimensional translation coordinate corresponding to each of M slices, a geometric bitstream, and an attribute bitstream;
determining geometric information of a point cloud to be decoded of each slice based on the first range of coding point indexes and the first three-dimensional translation coordinate corresponding to each slice, and the geometric bitstream;
determining attribute information of the point cloud to be decoded of each slice based on the attribute bitstream; and
obtaining a restored value of the point cloud to be decoded based on the geometric information of the point cloud to be decoded of each slice and the attribute information of the point cloud to be decoded of each slice.

### Claim 10

A decoder, comprising:
a memory, configured to store an executable instruction; and
a processor, configured to execute the executable instruction stored in the first memory to implement a method, comprising:
parsing a bitstream to obtain a first range of coding point indexes and a first three-dimensional translation coordinate corresponding to each of M slices, a geometric bitstream, and an attribute bitstream; and
determining geometric information of a point cloud to be decoded of each slice based on the first range of coding point indexes and the first three-dimensional translation coordinate corresponding to each slice, and the geometric bitstream;
determining attribute information of the point cloud to be decoded of each slice based on the attribute bitstream; and
obtaining a restored value of the point cloud to be decoded based on the geometric information of the point cloud to be decoded of each slice and the attribute information of the point cloud to be decoded of each slice.
