Point cloud decoding method, point cloud encoding method, decoder and encoder

The proposed method enhances point cloud coding by modifying bitstream structure and syntax for improved decoding efficiency, addressing deficiencies in existing G-PCC standards by optimizing attribute handling and bitstream organization.

WO2024186552A1PCT designated stage expired Publication Date: 2024-09-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/US2024/017780
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2024-02-29
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing Geometry Point Cloud Coding (G-PCC) specifications have deficiencies that need improvement for efficient compression and decoding of point cloud data, particularly in handling attribute information and bitstream structure.

Method used

Proposed improvements include modifying the bitstream structure, syntax, and mapping for decoding and encoding point clouds, such as parsing specific syntax elements to determine attribute presence, generating headers for attribute information, and optimizing occupancy search ranges and sliding window sizes to enhance decoding efficiency.

Benefits of technology

The method enables efficient encoding and decoding of point cloud data, reducing data size and improving transmission speeds by standardizing bitstream structure and syntax, thus addressing deficiencies in existing G-PCC standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2024017780_12092024_PF_FP_ABST
    Figure US2024017780_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A point cloud decoding method, a point cloud encoding method, a decoder and an encoder are provided. The point cloud decoding method includes the following step: obtaining a bitstream of point cloud; decoding the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud; and in response to the first syntax element is equal to a preset value, decoding the attribute information of the point cloud.
Need to check novelty before this filing date? Find Prior Art

Description

POINT CLOUD DECODING METHOD, POINT CLOUD ENCODING METHOD, DECODER AND ENCODERCROSS-REFERENCE TO RELATED APPLICATIONThis application claims the priority benefits of U.S. provisional application serial no. 63 / 451,180, filed on March 9, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.Technical Field

[0001] A point cloud is a collection of data points in a three-dimensional space. Point clouds are commonly used to represent the shape, appearance, and spatial distribution of objects or scenes in various applications. Point cloud coding, also known as point cloud compression, is essential due to many reasons, such as transmission efficiency, bandwidth constraints and so on. Specifically, point cloud data may be voluminous, especially when capturing detailed 3D scenes or objects. Efficient coding techniques are crucial for minimizing the data size of point cloud data, thus leading to accelerated transmission speeds and diminished storage space requirements.

[0002] Recently, Geometry Point Cloud Coding (G-PCC) is widely used in entertainment applications, e.g., VR / AR, and industrial applications, e.g., LiDAR sweep compression for automotive or robotics and HD map for navigation. MPEG released the first version G-PCC standard, and Audio Video Standard (AVS) is also developing a G-PCC standard. In order to compress the point cloud data efficiently, geometry information of a point cloud is compressed first, and then the corresponding attributes, including color or reflectance, are compressed based upon the geometry information.SUMMARY OF INVENTION[Technical Problem]

[0003] There are still many deficiencies that need to be improved in the existing G-PCC specification.[Solution to Problem]

[0004] This disclosure proposes several improvements for Geometry Point Cloud Coding. The proposed method may be used in future GPCC coding standards, in particular AVS-GPCC and MPEG GPCC. With the implementation of the proposed method, modifications to bitstream structure, syntax, constraints, and mapping for the generation of decoded point cloud are considered for standardizing.

[0005] The point cloud decoding method of the invention includes the following step: obtaining a bitstream of point cloud; decoding the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud; and in response to the first syntax element is equal to a preset value, decoding the attribute information of the point cloud.

[0006] In an embodiment of the invention, the step of in response to the first syntax element is equal to the preset value, decoding the attribute information of the point cloud includes: in response to the first syntax element is equal to the preset value, parsing a plurality of headers related to the attribute information in the bitstream.

[0007] In an embodiment of the invention, the headers related to the attribute information comprises an attribute slice and an attribute slice header.

[0008] In an embodiment of the invention, the step of decoding the bitstream to obtain the first syntax element specifying presence of the attribute information of the point cloud includes: parsing a sequence header in the bitstream to obtain the first syntax element specifying presence of the attribute information of the point cloud.

[0009] In an embodiment of the invention, the point cloud decoding method further includes: in response to the first syntax element is not equal to the preset value, skipping parsing and decoding the attribute information of the point cloud.

[0010] In an embodiment of the invention, the point cloud decoding method further includes:parsing a frame header in the bitstream to obtain a second syntax element specifying the number of slices within a PCC frame.

[0011] In an embodiment of the invention, the point cloud decoding method further includes: decoding the bitstream to obtain a third syntax element specifying an occupancy search range, wherein the occupancy search range is less than a size value determined according to a plurality of fourth syntax elements.

[0012] In an embodiment of the invention, the point cloud decoding method further includes: parsing a geometry slice header in the bitstream to obtain the fourth syntax elements; and determining a size of bounding box of a current slice according to the fourth syntax elements, wherein the size value determined according to the fourth syntax elements comprises the size of bounding box of the current slice.

[0013] In an embodiment of the invention, the step of determining the size of bounding box of the current slice according to the fourth syntax elements includes: determining a log2 size in a direction according to the fourth syntax elements; and determining the size of bounding box of the current slice according to the log2 size in the direction.

[0014] In an embodiment of the invention, the point cloud decoding method further includes: decoding the bitstream to obtain a fifth syntax element specifying a size of sliding window, wherein the size of sliding window is less than or equal to a maximum value determined according to a sixth syntax element.

[0015] In an embodiment of the invention, the point cloud decoding method further includes: parsing an attribute header in the bitstream to obtain the sixth syntax element; and determining a maximum number of search neighbor points of a current point according to the sixth syntax element, wherein the maximum value determined according to the sixth syntax element comprises the maximum number of search neighbor points of the current point.

[0016] The point cloud encoding method of the invention includes the following step: obtaining point cloud data; encoding the point cloud data to generate a bitstream of point cloud; and inresponse to the point cloud data with attribute information, determining a first syntax element in the bitstream is equal to a preset value, wherein the first syntax element specifying presence of attribute information of the point cloud.

[0017] In an embodiment of the invention, the point cloud encoding method further includes: generating a plurality of headers related to the attribute information when the first syntax element is equal to the preset value.

[0018] In an embodiment of the invention, the headers related to the attribute information comprises an attribute slice and an attribute slice header.

[0019] In an embodiment of the invention, the first syntax element is contained in a sequence header in the bitstream.

[0020] In an embodiment of the invention, the point cloud encoding method further includes: in response to the point cloud data without the attribute information, determining the first syntax element in the bitstream is not equal to the preset value.

[0021] In an embodiment of the invention, the point cloud encoding method further includes: generating a second syntax element specifying the number of slices within a PCC frame; and inserting the second syntax element into a frame header in the bitstream.

[0022] In an embodiment of the invention, the point cloud encoding method further includes: generating a third syntax element specifying an occupancy search range; and generating a plurality of fourth syntax elements for indicating a size value, wherein the occupancy search range is less than the size value determined by the fourth syntax element.

[0023] In an embodiment of the invention, the size value indicated by the fourth syntax elements comprises a size of bounding box of a current slice.

[0024] In an embodiment of the invention, the fourth syntax elements specify a log2 size of the bounding box of the current slice in a direction.

[0025] In an embodiment of the invention, the point cloud encoding method further includes: generating a fifth syntax element specifying a size of sliding window; and generating a sixth syntaxelement for indicating a maximum value, wherein the size of sliding window is less than or equal to the maximum value.

[0026] In an embodiment of the invention, the maximum value comprises a maximum number of search neighbor points of a current point.

[0027] The decoder of the invention includes a storage device and a processor. The processor is electrically connected to the storage device, and is configured to: obtain a bitstream of point cloud; decode the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud; and in response to the first syntax element is equal to a preset value, decode the attribute information of the point cloud.

[0028] The encoder of the invention includes a storage device and a processor. The processor is electrically connected to the storage device, and is configured to: obtain point cloud data; encode the point cloud data to generate a bitstream of point cloud; and in response to the point cloud data with attribute information, determine a first syntax element in the bitstream is equal to a preset value, wherein the first syntax element specifying presence of attribute information of the point cloud.

[0029] [Effects of Invention]

[0030] Based on the above, according to the point cloud decoding method, the point cloud encoding method, the decoder and the encoder of the invention, the coded stream can be efficiently decoded, and the data of the point cloud can be efficiently encoded.

[0031] To make the aforementioned more comprehensible, several embodiments accompanied with drawings are described in detail as follows.BRIEF DESCRIPTION OF DRAWINGS

[0032] FIG. 1 is a schematic diagram of a G-PCC encoding process according to an embodiment of the invention.

[0033] FIG. 2A and FIG. 2B illustrate octree structures of G-PCC according to an embodimentof the invention.

[0034] FIG. 2C illustrates corresponding digital representation of the octree structure according to an embodiment of the invention.

[0035] FIG. 3 illustrates structure of the cubes according to an embodiment of the invention.

[0036] FIG. 4 is a schematic diagram of a G-PCC decoding process according to an embodiment of the invention.

[0037] FIG. 5A and 5B are schematic diagrams of a syntax table of color residual coding according to an embodiment of the invention.

[0038] FIG. 6 is a schematic diagram of a syntax table of reflectance coding according to an embodiment of the invention.

[0039] FIG. 7 is a schematic diagram of a syntax table of zero-run length coding according to an embodiment of the invention.

[0040] FIG. 8 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention.

[0041] FIG. 9 is a flowchart of decoding the bitstream according to the first syntax element according to an embodiment of the invention.

[0042] FIG. 10A is a schematic diagram of a syntax table of a bitstream of point cloud according to an embodiment of the invention.

[0043] FIG. 10B is a schematic diagram of a syntax table of an attribute slice according to an embodiment of the invention.

[0044] FIG. 10C are schematic diagrams of a syntax table of a sequence header according to an embodiment of the invention.

[0045] FIG. 11 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention.

[0046] FIG. 12 is a schematic diagram of a syntax table of a frame header according to an embodiment of the invention.

[0047] FIG. 13 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention.

[0048] FIG. 14 is a schematic diagram of a syntax table of a geometry header according to an embodiment of the invention.

[0049] FIG. 15 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention.

[0050] FIG. 16 is a flowchart of a point cloud encoding method applied to an encoder according to an embodiment of the invention.

[0051] FIG. 17 is a schematic block diagram of an codec device provided by an embodiment of the invention.DESCRIPTION OF EMBODIMENTS

[0052] In order to have a more detailed understanding of the characteristics and technical content of the embodiments of the invention, the implementation of the embodiments of the invention will be described in detail below with reference to the accompanying drawings. The attached drawings are for reference and explanation purposes only, and are not used to limit the embodiments of the invention.

[0053] This disclosure proposes a coding method for G-PCC. The proposed method may be used in future G-PCC coding standards, such as AVS-GPCC and MPEG GPCC. With the implementation of the proposed method, modifications to bitstream structure, syntax, constraints, and mapping for the generation of decoded point cloud are considered for standardizing.

[0054] Point cloud refers to a set of discrete points in space with irregular distribution, representing the spatial structure and surface attributes of a three-dimensional object or scene. Each point in the point cloud can include the position information of the point and the attribute information of the point. The position information of a point may be three-dimensional coordinate information of a point. The position information of a point can also be referred to asthe geometric information of a point. On the other hand, the attribute information of a point may be color information and / or reflectivity, or other type of information.

[0055] As an example, the color information of a point can encompass data from various color spaces, such as the RGB color space, YCbCr color space, or YUV color space. That is, the color information may include RGB information. Alternatively, the color information may include luminance information and chromaticity information. Besides, based on the principles of laser measurement, the points in the point cloud can include the three-dimensional coordinate information of the points and the laser reflectance intensity (reflectance). As another example, based on the principles of photogrammetry measurement, the points in the point cloud can include the three-dimensional coordinate information of the points and the color information.

[0056] The processing of massive 3D point cloud data may face challenge of limitations in storage space and transmission bandwidth. G-PCC is one solution to overcome such issue. G- PCC generally includes the compression of geometry information and the compression of attribute information, and the operations of point cloud coding is introduced below.

[0057] FIG. 1 is a schematic diagram of a G-PCC encoding process according to an embodiment of the invention. Referring to FIG. 1, the G-PCC encoding process shown in FIG. 1 may be implemented by a point cloud encoder. For the point cloud data to be encoded, the point cloud data is divided into multiple slices through slice division. In each slice, the positions (i.e., geometric information) of the points and the attributes of the points are coded (i.e., encoded and decoded) separately. From the above, it can be understood that points in a point cloud can have both position information and attribute information. Therefore, the encoding of points may involve position encoding and attribute encoding. In some cases, the position information of points is referred to as geometric information, and the encoding of point position can also be termed as geometric encoding.

[0058] In the geometric encoding process, in step SI 02, a transform to the coordinates of the points is performed to transform the coordinates of the points from an initial domain to a transformdomain. In particular, the positions of the points are coordinated to enclose the point cloud into a bounding box. In step SI 04, the transform coordinates are voxelized. Voxelization of the transform coordinates may include quantization and removing some points of the point cloud. The quantization mainly plays the role of scaling. Due to the quantization rounding, part of the positions of the point cloud is the same, so whether to remove the duplicate points based on the parameters is further determined in step SI 04. The process of quantifying and removing the duplicate points is also called the voxelization process.

[0059] In step SI 06, an octree is generated based on the voxelized transform coordinates. In other words, the bounding box is divided into an octree for octree analysis. In the octree-based geometric information encoding process, the bounding box is divided into eight sub-cubes, and the non-empty (including points in the point cloud) sub-cubes are continued to be divided into eight equal parts until the leaf nodes are obtained. In step SI 08, the points in the leaf nodes of the octree structure are arithmetic coded to generate a binary geometric bitstream, that is, a geometric code stream.

[0060] FIG. 2A and FIG. 2B illustrate octree structures of G-PCC according to an embodiment of the invention, and FIG. 2C illustrates corresponding digital representation of the octree structure according to an embodiment of the invention. Referring to FIG. 2A, a cubical axis-aligned bounding box B is defined by two extreme points (0,0,0) and (2d, 2d, 2d), where d is the maximum size of a given point cloud along x, y or z direction. A point of the point cloud will be noted as “point” below. All points are included in this defined cube B.

[0061] Referring to FIG. 2B, the cube B is divided into eight sub-cubes Bl to B8, which creates an octree structure allowing one parent cube B to have 8 child cubes Bl to B8. The 7 sibling cubes B2 to B8 of a given cube Bl are the same size cubes and share at least one same face / edge / point with this given cube. The volume of each of the cubes Bl to B8 is 1 / 8 volume of its parent cube B. Each of the cubes Bl to B 8 may contain more than one point, and a number of points in a cube is dependent on the size and location of the cube. The size of a smallest cubeis pre-defined for a given point cloud. As one example, a minimum cube can be defined. For a given point, the parent cube of a given point is defined as a minimum size cube which contains this given point. Sibling points of a given point are defined as those points which have the same parent cube with this given point.

[0062] Referring to FIG. 2C, an octree is a recursive data structure that is often used to describe three-dimensional space in which each internal cube has exactly eight children. The space is recursively subdivided into eight octants to the point where the resolution of the child cube is equal to a size of the point - the smallest element that has no further subdivisions. To represent a cube an 8-bit binary code that follows a space-filling curve pattern (Hilbert, Morton) is used, each child is assigned a “1” or “0” value to indicate if the space in the child cube has any points associated with that child cube, or the child cube is empty. Only the occupied child cubes are further subdivided. The process of parent cube subdivision is terminated when the size of the child cube becomes equal to the size of the indivisible element, i.e., spatial resolution of the point cloud, or simply the size of the point.

[0063] FIG. 3 illustrates structure of the cubes according to an embodiment of the invention. Referring to FIG. 3, depending on the location of the current cube, one cube may have up to six same-size cubes to share one face. In addition, the current cube may also have some neighbouring cubes which share lines or points with the current cube.

[0064] Similarly, the parent cube of the current cube also has up to six neighbouring cubes with the same size of the parent cube that share one face with the parent cube. The parent cube of the current cube also has up to twelve neighbouring cubes with the same size of parent cubes that share an edge. The parent cube of the current cube also has up to eight neighbouring cubes with the same size of parent cubes that share a point with the parent cube.

[0065] Referring back to FIG. 1, in step SI 10, the points is analyzed to potentially determine a surface representation of sets of the points. In other words, based on the surface formed by the distribution of the point cloud in each block, twelve pieces of the surface and the block areanalyzed. At most twelve vertexes (intersection points) are generated by the edges, and the arithmetic coding is performed on the vertexes (surface fitting based on the intersection points) in step SI 08 to generate the binary geometric bitstream. In step SI 12, the transform coordinates of points in the point cloud may be reconstructed based on the octree, data indicating the surfaces determined in step S 110 and / or other information. The reconstructed geometric information may be used by attribute coding process.

[0066] In the attribute coding process, after the geometric information is reconstructed, color transformation is performed in step SI 14, in which the color information (that is, the attribute information) is transformed from the RGB color space to the YUV color space, YCbCr color space or other color space. In step S 116, the reconstructed geometric information is used to recolor the point cloud, so that the uncoded attribute information corresponds to the reconstructed geometric information. Because the geometric information changes after the geometric encoding, it is necessary to reassign the attribute value to each point after the geometric encoding.

[0067] In the process of color information coding, there are mainly two transformation methods. The first method is distance-based lifting transformation in step SI 20 that relies on Tevel of Detail (TOD) division in step SI 18. The second method is Region Adaptive Hierarchical Transform (RAHT) transformation in step SI 22, which directly transforms the image. Both of these methods convert color information from the spatial domain to the frequency domain, to obtain high-frequency coefficients and low-frequency coefficients through the transformation. The high-frequency coefficients and low-frequency coefficients may be referred to transform coefficients. Next, in step S 124, these transform coefficients are quantified to generate quantized transform coefficients. In some case, quantizing the transform coefficients for a point may involve dividing the quantized attribute value (i.e., quantized transform coefficients ) by a QP step size for the point, and the QP step size is determined according to a Quantization Parameter (QP). In step S 126, arithmetic encoding may be performed to syntax elements representing the quantized attribute coefficients, to output these syntax elements in an attribute bitstream. Namely, thequantized transform coefficients may be encoded by using arithmetic encoding to generate a binary attribute bitstream, that is, the attribute code stream.

[0068] FIG. 4 is a schematic diagram of a G-PCC decoding process according to an embodiment of the invention. The process in FIG. 4 may be implemented by the point cloud decoder. For the obtained binary code stream, the geometric bitstream and the attribute bitstream in the binary code stream are first decoded in steps S402 and S404, respectively. When decoding the geometric bitstream, through arithmetic decoding in step S402, octree synthesis in step S406, surface fitting in step S408, geometry reconstruction in step S410, and inverse coordinate transformation in step S412, the positions (i.e., geometric information) of the point cloud are obtained.

[0069] When decoding the attribute bitstream, through arithmetic decoding in step S404, inverse Quantization in step S414, LOD-based lifting based inverse transformation in steps S416 and S418, or RAHT based inverse transformation in step S420, and inverse color conversion in step S422, the attributes of the point cloud are obtained. It should be noted that, the quantized attribute values (i.e., quantized transform coefficients ) may be dequantized in step S414.

[0070] The octree-based geometry information may be coded with context-based arithmetic coding. There may also be some corresponding attribute information for point clouds, including color, reflectance, etc., that needs to be compressed. Because the neighbouring points in a point cloud may have a strong correlation, prediction-based coding methods have been developed and used to compose and code point cloud attributes. More specifically, a prediction is formed from neighbouring coded attributes. Then, the difference between the current attribute and the prediction is coded.

[0071] It should be noted that, the steps depicted in FIG. 1 and FIG. 4 may be implemented as a plurality of program codes or circuits, which are not particularly limited in the invention.

[0072] In the disclosure, coding may be assumed to mean encoding and decoding methods and systems.

[0073] [Attribute Coding in the AVS G-PCC]

[0074] AVS is developing a G-PCC standard. After the geometry information is coded, Morton or Hilbert code / order may be used to convert a point cloud cube into a one-dimension array. Each position in the cube will have a corresponding Morton or Hilbert code, but some positions may not have any corresponding point cloud attribute. In other words, some positions may be empty. The attribute coding will follow the pre-defined Morton or Hilbert order. A predictor may be generated from the previous coded points in Morton or Hilbert order. The attribute difference between the current point and its predictor is coded into the bitstream.

[0075] To reduce the memory usage, some pre-defined number has been specified to limit the number of neighboring points that can be used in generating the prediction. For example, only M data points among previous N consecutively coded points may be used for coding the current attribute. In the previous AVS G-PCC software, M and N are set as a fixed number of 3 and 128, respectively.

[0076] If more than 128 points have already been coded before the current point, only 3 out of the 128 previously coded neighbouring points could be used to form the attribute predictor according to a pre-defined order. If there are less than 128 coded points before the current point, all such coded points will be used as candidates to establish the attribute predictor. More specifically, the previous K points, e.g., K = 6, before the current point are selected according to a pre-defined Morton or Hilbert order. Then, new Morton or Hilbert codes for these N points will be re-calculated by adding a fixed shift, e.g., 1, to coordinates (x, y, z) of these N data points. Assuming that the new Morton or Hilbert code for the current position is X, a P-point set before and a Q-point set after the current position according to the new Morton or Hilbert code order will be selected. Among these pre-defined K, P and Q point sets, M points are selected with M closest “distance” between these coded points and the current point. The distance d\ as one example is defined as follows, other distance metrics can also be used.

[0077] dl = |xl — x2| + |y 1 — y2| + |zl — z2\ (1)

[0078] where (xl, yl, zl) and (x2, y2, z2) are coordinates of the current point and preselected point, respectively.

[0079] More recently, a full search method based on Hilbert code has been applied in the AVS GPCC attribute coding. In the current software, the search range is set as 128 and the number of previous points used to form the predictor is set as M. If more than 128 points have already been coded before the current point, only M out of the 128 previously coded neighbouring points can be used to form the attribute predictor according to the Hilbert order.

[0080] If there are fewer than 128 coded points before the current one, all such coded points will be used as candidates to form the attribute predictor. Among the up-to 128 previously coded points, M points are selected with M closest “distance” between these coded points and the current point. The distance dl as one example is defined as follows, other distance metrics can also be used.

[0081] d2 = |xl — x3| + |yl - y3| + |zl - z3\ (2)

[0082] where (xl, yl, zl) and (x3, y3, z3) are the coordinates of the current point and the pre-selected point along Hilbert order, respectively. Once M closest points have been selected, a weighted average of attributes from these M points is formed as the predictor to code the attribute of the current point.

[0083] It is known that the points which share the same face / line / point with the current point are close to the current point. Another technology is to consider these points serving as a predictor.

[0084] The residual is defined as the difference of attribute values between the current point and its predictor. Depending on the application, PCC can be either lossless or lossy. Hence, the residual may or may not be quantized by using the predefined quantization process. In the disclosure, the residual without or with quantization is called level. The level can be a signed integer and will be coded into the bitstream.

[0085] [Color Level Coding]

[0086] There are three color atributes for each point, which come from the three color components. If the levels for all the three color components are zeros, this point is called a zero level point. Otherwise, if there is at least one non-zero level for one color component with the point, this point is called a non-zero level point. In the current AVS-GPCC, the number of consecutive zero level points is called zero-run length. The zero-run length values and levels for non-zero level points are coded into the bitstream.

[0087] More specifically, on the encoding side, before coding the first point, the zero-run length value is set as zero. Starting from the first point along the predefined coding order, the residuals between the three color predictors and their corresponding color attributes for the current point can be obtained. Then, the corresponding levels for the three components of the current point also can be obtained. If the current point is a zero level point, the zero-run length value will be increased by one and the process proceeds to the next point. If the current point is a non-zero level point, the zero-run length value will be coded first and then the three color levels for this non-zero level point will be coded right after. After the level coding of a non-zero level point, the zero-run length value will be reset to zero and the process proceeds to the next point till finishing all points.

[0088] On the decoding side, the zero-run length value is first decoded and the three color levels corresponding to the number of zero-run length points are set as zero. Then, the levels for the non-zero level point are decoded and then the next zero-run length value is decoded. This process continues until all points are decoded.

[0089] For example, referring to FIG. 5A and 5B, which are schematic diagrams of a syntax table 500a and 500b of color residual coding according to an embodiment of the invention. For a non-zero level point, there is at least one non-zero level among the three components. The values of three components are coded in the color_residual_coding( ). Several one-bit flags plus the remainder of the absolute level may be coded to represent levels of three components. The absolute level or absolute level of color residual minus one may be coded in the functioncoded_level_coding( ) and named as coded level in the remaining of this disclosure.

[0090] In one exemplary case, a first flag (e.g., color first comp zero) is coded to indicate if the first component of color is zero or not; if the first component of color is zero, a second flag (e.g., color second comp zero) is coded to indicate if the second component of color is zero or not; if the second component of color is zero, the absolute level minus one and the sign of the third component will be coded according to the following coded level method.

[0091] In another case, a first flag is coded to indicate if the first component of color is zero or not; if the first component of color is zero, a second flag is coded to indicate if the second component of color is zero or not; if the second component of color is not zero, the absolute level minus one and sign of the second component will be coded according to the following coded level method, the absolute level and sign of the third component will be coded according to the following coded level method.

[0092] In another case, a first flag is coded to indicate if the first component of color is zero or not; if the first component of color is not zero, the absolute level minus one and sign of the first component will be coded according to the following coded level method, the absolute levels and signs of the second and third components will be coded according to the following coded level method, respectively.

[0093] The coding method to produce a coded level is designed as follows. The first flag (e.g., coded level equal zero) is coded to indicate if the coded level is zero or not; if the coded level is the absolute level of one component minus one, i.e., when isComponentNoneZero is equal to true, the sign (e.g., coded level sign) of the level of this component will be coded. If the first flag indicates that the coded level is not zero, and if the coded level is the absolute level of one component itself, i.e., when isComponentNoneZero is equal to false, the sign of the level of this component will be coded. The second flag (e.g., coded level gtl) will be coded to indicate if the coded level is greater than one or not; if the coded level is greater than one, the parity of the coded level minus two is coded and the third flag (e.g., coded_level_minus2_div2_gt0) will becoded to indicate if the coded level minus two dividing two is greater than zero or not; if the coded level minus two dividing two is greater than zero, the coded level minus two dividing two minus one will be coded.

[0094] In FIG. 5A, if color first comp zero equal to 0, the absolute coded level for the first component of color is not zero. If color first comp zero equal to 1, the absolute coded level for the first component is zero. If color second comp zero equal to 0, the absolute coded level for the second component of color is not zero. If color second comp zero equal to 1, the absolute coded level for the second component is zero. If coded level equal zero equal to 0, the absolute coded level for this component is not zero.

[0095] In FIG. 5B, if coded level equal zero equal to 1, the absolute coded level for this component is zero. If coded level gtl equal to 0, the coded level for this component is one. If coded level gtl equal to 1, the coded level for this component is greater than one. When coded level gtl equal is not present, it is inferred to be equal to 0. Further, coded_level_minus2_parity specifies the parity of the coded level minus two for the current component. If coded_level_minus2_parity equal to 0, the current coded level minus two is an even number. If coded_level_minus2_parity equal to 1, the current coded level minus two is an odd number. When coded_level_minus2_parity is not present, it is inferred to be equal to 0.

[0096] Besides, if coded_level_ minus2_div2_gt0 equal to 0, the coded level minus two dividing two is zero. If coded_level_ minus2_div2_gt0 equal to 1, the coded level minus two dividing two is greater than zero. When coded_level_ minus2_div2_gt0 is not present, it is inferred to be equal to 0. Further, coded_level_minu2_div2_minusl specifies the value of the coded level minus two dividing two minus one. When coded_level_minu2_div2_minusl is not present, it is inferred to be equal to 0. Moreover, coded level and coded level sign are the return values of function coded level coding(isComponentminusOne) which represent the coded level, i.e. absolute level of color residual or absolute level of color residual minus one, and the sign of nonzero colour residual.

[0097] coded level = (2* coded level sign -1) * (coded level equal zero ? 0 : 1 +(coded_level_gtl+ coded_level_minus2_parity + (coded_level_minus2_div2_gt0 + coded_level_minu2_div2_minus 1 ) « 1 )

[0098] The residual levels of three color components, color_component[idx] where idx is from 0 to 2 are calculated from color_residual_coding( ).

[0099] [Reflectance Level Coding]

[0100] In the current AVS-GPCC specification, the zero-run length of reflectance level and the non-zero reflectance level are coded into bitstream. More specifically, in the encoding side, before coding of the first point, the zero-run length counter is set as zero. Starting from the first point along the predefined coding order, the residuals between the predictors and corresponding original points are obtained. Then the corresponding levels are obtained. If current level is zero, zero-run length will be increased by one and the process proceeds to the next point. If the level is not zero, the zero-run length will be coded first and the non-zero level will be coded after the zerorun length coding. After coding a non-zero level, zero-run length counter will be reset to zero and the process proceeds to next point. In the decoding side, the number of zero-run length is first decoded and the levels corresponding to the number of zero-run length points are set as zero. Then non-zero level is decoded and the next number of zero-run length is decoded. Process continues until all points are decoded.

[0101] For example, referring to FIG. 6, which is schematic diagram of a syntax table 600 of reflectance coding according to an embodiment of the invention. For a non-zero level, if the current point is not a duplicated point, the sign of level is coded with a syntax element residual sign first. Then a syntax element abs_level_minusl_parity which indicates the parity of the absolute level minus one is coded. Another syntax element abs_level_minusl_div2_gt0 is coded to indicate if the value of the absolute level minus one divided by two is greater than zero or not; if abs_level_minusl_div2_gt0 is great than zero, another syntax element abs_level_minusl_div2_gtl is coded to indicate if the value of the absolute level minus onedivided by two is greater than one or not; if abs_level_minusl_div2_gtl is greater than 1, another syntax element abs_level_minul_div2_minus2 is coded to indicate the value of the absolute level minus one divided by two minus two.

[0102] In FIG. 6, abs_level_minusl_parity specifies the parity of absolute reflectance level minus one. If abs_level_minusl_parity equal to 0, the absolute reflectance level minus one is an even number. If abs_level_minusl_parity equal to 1, the absolute reflectance level minus one is an odd number. If abs_level_minusl_div2_gt0 equal to 0, the value of the absolute reflectance level minus one divided by two is zero. If abs_level_minusl_div2_gt0 equal to 1, the value of the absolute reflectance level minus one divided by two is greater than zero. When abs_level_minusl_div2_gt0 is not present, it is inferred to be equal to 0. If abs_level_minusl_div2_gtl equal to 0, the value of the absolute reflectance level minus one divided by two is one. If abs_level_minusl_div2_gtl equal to 1, the value of the absolute reflectance level minus one divided by two is greater than one. When abs_level_minusl_div2_gtl is not present, it is inferred to be equal to 0.

[0103] Further, abs_level_minul_div2_minus2 specifies the value of the absolute reflectance level minus 1 divided by two minus two. When abs_level_minul_div2_minus2 is not present, it is inferred to be equal to 0. If residual sign equal to 0, the sign of reflectance level is negative. If residual sign equal to 1, the sign of reflectance level is positive. When residual sign is not present, it is inferred to be equal to 1. Reflectance is calculated as follows.

[0104] Reflectance = (2* residual sign -1) * (1 + abs_level_minusl_parity+(abs_level_minusl_div2_gt0 + abs_level_minusl_div2_gtl + abs_level_minul_div2_minus2) «1)

[0105] [Zero-run length coding]

[0106] In the current AVS-GPCC specification, the value of the zero-run length is coded into bitstream. For example, referring to FIG. 7, which is a schematic diagram of a syntax table 700 of zero-run length coding according to an embodiment of the invention. More specifically, thefirst syntax zero run length level equal zero is coded to indicate if the zero-run length is eqaul to zero or not; if it is not zero, the second syntax syntax zero run length level equal one is coded to indicate if the zero-run length is eqaul to one or not; if it is not one, the third syntax zero run length level equal two is coded to indicate if the zero-run length is eqaul to two or not; if it is not two, the fourth syntax zero_run_length_level_minus3_parity and the fifth syntax zero_run_length_level_minus3_div2 are coded to indicate the parity of the zero-run length minus three and the value of the zero-run length minus three divided by two, respectively.

[0107] [Aspect 1 : PCC without attribute]

[0108] In some embodiments, there are many applications where PCC only has geometry information and there is not any attribute information. In order to efficiently code such PCC, this disclosure proposes to bypass coding any high level syntax related to attribute and any low level syntax related to attribute.

[0109] FIG. 8 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention. Referring to FIG. 8, each step in the methods may be performed by a decoder using the G-PCC decoding process illustrated as FIG. 4. In step S810, the decoder may obtain a bitstream of point cloud. In step S820, the decoder may decode the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud. In step S830, in response to the first syntax element is equal to a preset value, the decoder may decode the attribute information of the point cloud. That is, the decoder may determine whether to bypass decoding the attribute information of the point cloud according to whether the first syntax element is equal to the preset value. In some embodiments, the preset value may be 1. Namely, when the first syntax element is equal to 1, the decoder may decode the attribute information of the point cloud. Otherwise, when the first syntax element is equal to 0, the decoder may not parse and decode the attribute information of the point cloud.

[0110] In some embodiments, in response to the first syntax element is equal to the preset value, the decoder may parse a plurality of headers related to the attribute information in the bitstream.That is, when the first syntax element is equal to the preset value, which means there is at least one attribute associated with current PCC, the decoder may need to parse the headers related to the attribute information for decoding the attribute information of the current PCC.

[0111] In some embodiments, the headers related to the attribute information may include an attribute slice and an attribute slice header. Specifically, in some embodiments, the bitstream of point cloud may include at least a sequence header, a geometry header, an attribute header, and a frame header, and other headers. The sequence header is disposed outside the geometry header, the attribute header, and the frame header. The geometry header and the attribute header are disposed outside the frame header, and the attribute header is after the geometry header. That is, the headers are disposed in a specific order within the bitstream. Each header may include information (e.g., parameters, identifiers, or flags) for decoding the bitstream of point cloud. In some case, the point cloud data in the bitstream of point cloud may include geometry data and attribute data. In some embodiments, the geometry data may include general geometry data bitstream of one or more slice(s) of a PCC frame. In some embodiments, the attribute data may include the general attribute data bitstream of one or more slice(s) of a PCC frame. For example, the geometry bitstream may be decoded according to the information in the geometry header. The attribute bitstream may be decoded according to the information in the attribute header. However, when the first syntax element specifying whether the attribute data is present is not equal to the preset value (e.g., equal to 0), the attribute header and the attribute data may not be included in the bitstream of point cloud.

[0112] In some embodiments, the headers in the bitstream of point cloud may further include an attribute slice header and a geometry slice header, and the geometry slice header is before the attribute slice header. When the first syntax element included indicates the attribute data is present, the decoder may parse the attribute slice header and the geometry slice header. When the first syntax flag indicates the attribute data is not present, the decoder may parse the geometry slice header without parsing the attribute slice header.

[0113] In some embodiments, in response to the first syntax element is not equal to the preset value, the decoder may skip decoding the attribute information of the point cloud. That is, when the first syntax element is not equal to the preset value, which means there is not any attribute associated with current PCC, the decoder may bypass parsing and decoding any attribute information of the current PCC.

[0114] FIG. 9 is a flowchart of decoding the bitstream according to the first syntax element according to an embodiment of the invention. Referring to FIG. 9, each step in the methods may be performed by a decoder using the G-PCC decoding process illustrated as FIG. 4. In step S901, the decoder may determine whether a first syntax element is equal to a preset value. In response to determine the first syntax element is equal to the preset value (step S901 is determined as Yes), in step S902, the decoder may parse a plurality of headers related to the attribute information in the bitstream. In response to determine the first syntax element is not equal to the preset value (step S901 is determined as No), in step S903, the decoder may skip parsing and decoding the attribute information of the point cloud.

[0115] In an embodiment of the invention, the first syntax element specifying presence of attribute information of the point cloud is contained in a sequence header in the bitstream. That is, the decoder may parse a sequence header in the bitstream to obtain the first syntax element specifying presence of the attribute information of the point cloud.

[0116] FIG. 10A is a schematic diagram of a syntax table 100 of a bitstream of point cloud according to an embodiment of the invention. FIG. 10B is a schematic diagram of a syntax table of an attribute slice according to an embodiment of the invention. FIG. 10C are schematic diagrams of a syntax table of a sequence header according to an embodiment of the invention. As one example, the syntax table 100 employs attribute_present_flag to conditionally parse attribute related information.

[0117] Referring to FIG. 10A, the sequence header is the first parsed structure which includes some sequence related syntax. Referring to FIG. 10C, a first syntax element (i.e.,attribute_present_flag) is included in the sequence header. Therefore, the decoder may determine whether the first syntax element (i.e., attribute_present_flag) is equal to 1 by parsing the sequence header. After the sequence header is parsed, one geometry header may be parsed. Then, if the first syntax element (i.e., attribute_present_flag) specifying whether the attribute is present is equal to 1, one attribute header may be parsed after parsing the geometry header. If a syntax element (i.e., attribute_present_flag) specifying whether the attribute is present is equal to 0, the attribute header may not be parsed after parsing the geometry header. The bitstream starts with the first sequence header and ends with either the first sequence ending code or the first editing code. It should be noted that, FIG. 10A merely takes one sequence header, one geometry header and one attribute header for example, the number of the sequence header, the number of the geometry header and the number of attribute header is not limited in the disclosure.

[0118] In FIG. 10A, after the sequence header, the geometry header and the attribute header, there may be one or multiple coded PCC frames. In the exemplary case of FIG. 10A, there is a PCC frame header. After the PCC frame header is parsed, if the first syntax element (i.e., attribute_present_flag) specifying whether the attribute is present is equal to 1, one or more attribute slice headers may be parsed. If the first syntax element (i.e., attribute_present_flag) specifying whether the attribute is present is equal to 0, no attribute slice header may be parsed.

[0119] [Aspect 2: Conformance bitstream constrains]

[0120] FIG. 11 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention. Referring to FIG. 11, each step in the methods may be performed by a decoder using the G-PCC decoding process illustrated as FIG. 4. In step SI 110, the decoder may obtain a bitstream of point cloud. In step S 1110, the decoder may parse a frame header in the bitstream to obtain a second syntax element specifying the number of slices within a PCC frame. That is, since different frames may have different numbers of slices, second syntax element specifying the number of slices should be parsed in the frame level instead of the sequence level. This disclosure proposes that a syntax element specifying the number of slices within aPCC frame is contained in a frame header.

[0121] FIG. 12 is a schematic diagram of a syntax table 200 of a frame header according to an embodiment of the invention. Referring to FIG. 12, the frame header may include a second syntax element (i.e., gps_num_slice_minus_one) specifying the number of slices within a PCC frame. It should be noted that, the second syntax element (i.e., gps_num_slice_minus_one) is not contained in a geometry header.

[0122] FIG. 13 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention. Referring to FIG. 13, each step in the methods may be performed by a decoder using the G-PCC decoding process illustrated as FIG. 4. In step S1310, the decoder may obtain a bitstream of point cloud. In step SI 320, the decoder may decode the bitstream to obtain a third syntax element specifying an occupancy search range. In a valid bitstream, the occupancy search range is less than a size value determined according to a plurality of fourth syntax elements. Namely, if the occupancy search range specified by the third syntax element is not less than the size value determined according to the fourth syntax elements, the bitstream may be deemed as an invalid bitstream.

[0123] In some embodiments, the third syntax element specifying an occupancy search range is contained in a geometry header. FIG. 14 is a schematic diagram of a syntax table 300 of a geometry header according to an embodiment of the invention. Referring to FIG. 14, the geometry header may include a third syntax element (i.e., gps_occupancy_search_range_side_log2) specifying the occupancy search range. The occupancy search range may be obtained by the follow function. occupancy search range = pow(2, gps_occupancy_search_range_side_log2) wherein the function pow( ) returns the value of 2 raised to the power of gps_occupancy_search_range_side_log2.

[0124] In some embodiments, the size value determined according to the fourth syntax elements may include a size of bounding box of the current slice. In detail, it is impossible to searchoccupancy information beyond the current slice. In order to guarantee the search performed within a valid area, this disclosure proposes a constrain to limit such search range within the current slice.

[0125] In step SI 330, the decoder may parse a geometry slice header in the bitstream to obtain the fourth syntax elements. In step SI 340, the decoder may determine a size of bounding box of the current slice according to the fourth syntax elements. In some embodiments, if the occupancy search range specified by the third syntax element is not less than the size of bounding box of the current slice, the bitstream may be deemed as an invalid bitstream and the decoder may stop decoding the bitstream.

[0126] In some embodiments, the decoder may parse a geometry slice header in the bitstream to obtain the fourth syntax elements. Then, the decoder may determine a size of bounding box of a current slice according to the fourth syntax elements.

[0127] In some embodiments, the decoder may determine a log 2 size in a direction according to the fourth syntax elements, and determine the size of bounding box of the current slice according to the log 2 size in the direction. The direction may include X direction, Y direction, and Z direction.

[0128] For example, the decoder may calculate the log2 size of bounding box of current slice in X direction by using the following function and the fourth syntax elements. gsh_bounding_box_nodeSizeXFog2=(gsh_bounding_box_nodeSizeXLog2_upper)«16+gsh_bounding_box_nodeSizeXLog2_lower wherein gsh_bounding_box_nodeSizeXFog2 is a log 2 size of bounding box of current slice in X direction, the fourth syntax element (i.e., gsh bounding box nodeSizeXLog2 upper) specifies the high 16 bits values of log 2 size of bounding box of current slice in X direction, and the other fourth syntax element (i.e., gsh_bounding_box_nodeSizeXLog2_ lower) specifies the low 16 bits values of log 2 size of bounding box of current slice in X direction. The fourth syntax elements (i.e., gsh_bounding_box_nodeSizeXLog2_upper and gsh_bounding_box_nodeSizeXLog2_lower) may be contained in the geometry slice header.

[0129] Further, the decoder may calculate the size of bounding box of the current slice in X direction by using the following function and the log 2 size of bounding box of current slice in X direction. gsh bounding box X = pow(2, gsh_bounding_box_nodeSizeXLog2) wherein gsh bounding box X is the size of bounding box of the current slice in X direction, and pow( ) returns the value of 2 raised to the power of gsh_bounding_box_nodeSizeXLog2. In this case, the occupancy search range should be not greater than gsh bounding box X.

[0130] Similarly, the decoder may calculate the log2 size of bounding box of current slice in Y direction and Z direction by using the following functions and the fourth syntax elements. gsh_bounding_box_nodeSizeYFog2=(gsh_bounding_box_nodeSizeYLog2_upper)«16+gsh_bounding_box_nodeSizeYLog2_lower gsh_bounding_box_nodeSizeZFog2=(gsh_bounding_box_nodeSizeZLog2_upper)«16 +gsh_bounding_box_nodeSizeZLog2_lower wherein gsh_bounding_box_nodeSizeYLog2 and gsh_bounding_box_nodeSizeZLog2 are log 2 sizes of bounding box of current slice in Y direction and Z direction, the fourth syntax elements (i.e., gsh_bounding_box_nodeSizeYLog2_upper and gsh_bounding_box_nodeSizeZLog2 _upper) specifies the high 16 bits values of log 2 size of bounding box of current slice in Y direction and Z direction, and the other fourth syntax elements (i.e., gsh_bounding_box_nodeSizeYLog2_ lower and gsh_bounding_box_nodeSizeZLog2_ lower) specifies the low 16 bits values of log 2 size of bounding box of current slice in Y direction and Z direction. The fourth syntax elements (i.e., gsh_bounding_box_nodeSizeYLog2_upper, gsh_bounding_box_nodeSizeZLog2 _upper, gsh_bounding_box_nodeSizeYLog2_ lower and gsh_bounding_box_nodeSizeZLog2_ lower) may be contained in the geometry slice header.

[0131] The decoder may calculate the size of bounding box of the current slice in X direction by using the following functions.gsh bounding box Y = pow(2, gsh_bounding_box_nodeSizeYLog2) gsh bounding box Z = pow(2, gsh_bounding_box_nodeSizeZLog2) wherein gsh bounding box Y and gsh bounding box Z are the sizes of bounding box of the current slice in Y direction and Z direction, and pow() returns the value of 2 raised to the power of gsh_bounding_box_nodeSizeYLog2 and gsh_bounding_box_nodeSizeZLog2. In this case, the occupancy search range should be not greater than gsh bounding box Y and gsh bounding box Z. Namely, this disclosure proposes that occupancy search range specified by the third syntax element (i.e., gps_occupancy_search_raiige_side_log2) should be not greater than the minimum among gsh bounding box X, gsh bounding box Y and gsh bounding box Z .

[0132] FIG. 15 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention. Referring to FIG. 15, each step in the methods may be performed by a decoder using the G-PCC decoding process illustrated as FIG. 4. In Step S1510, the decoder may obtain a bitstream of point cloud. In Step SI 520, the decoder may decode the bitstream to obtain a fifth syntax element specifying a size of sliding window. In a valid bitstream, the size of sliding window is less than or equal to a maximum value determined according to a sixth syntax element. Namely, if the size of sliding window determined according to the fifth syntax element is greater than the maximum value determined according to the sixth syntax element, the bitstream may be deemed as an invalid bitstream.

[0133] In some embodiments, the fifth syntax element specifying a size of sliding window is contained in an attribute header. The attribute header may include the fifth syntax element (i.e., Iog2_golomb_group_size) specifying the size of sliding window. The size of sliding window may be obtained by the follow function. golomb sliding window size = pow(2, log2_golomb_group_size) wherein the function pow( ) returns the value of 2 raised to the power of log2_golomb_group_size, and golomb sliding window size is the size of a sliding window.

[0134] In some embodiments, the maximum value determined according to the sixth syntax element may include the maximum number of search neighbor points of a current point. In detail, when coding the level of current point, the previous coded points within this sliding window may be used for updating the Golomb order. However, only limited previous coded points specified by the sixth syntax element are available.

[0135] In Step SI 530, the decoder may parse an attribute header in the bitstream to obtain a sixth syntax element. In Step SI 540, the decoder may determine a maximum number of search neighbor points of the current point according to the sixth syntax element. In some embodiments, if the size of sliding window specified by the fifth syntax element is greater than the maximum number of search neighbor points of the current point, the bitstream may be deemed as an invalid bitstream and the decoder may stop decoding the bitstream.

[0136] In an embodiment of the invention, the decoder may parse an attribute header in the bitstream to obtain the sixth syntax element. The decoder may determine a maximum number of neighbor points of Golomb order according to the sixth syntax element.

[0137] For example, the decoder may calculate the maximum number of neighbor points of Golomb order by using the following function and the sixth syntax element. maxNumOfNeighbour = pow(2, maxNumOfNeighbour_log2_minus7+7) wherein maxNumOfNeighbour is the maximum number of search neighbor points of the current point, the sixth syntax element (i.e., maxNumOfNeighbour_log2_minus7) is used to calculate the maximum number of search neighbor points of the current point, and pow( ) returns the value of 2 raised to the power of maxNumOfNeighbour_log2_minus7 plus 7. The sixth syntax element (i.e., maxNumOfNeighbour _log2_minus7) may be contained in a attribute header. In order to make sure the correct coding behavior, this disclosure proposes that golomb sliding window size has to be smaller than or equal to maxNumOfNeighbour.

[0138] FIG. 16 is a flowchart of a point cloud encoding method applied to an encoder according to an embodiment of the invention. Referring to FIG. 16, each step in the methods may beperformed by a encoder using the G-PCC encoding process illustrated as FIG. 1. In step S1610, the encoder may obtain point cloud data. In step S 1620, the encoder may encode the point cloud data to generate a bitstream of point cloud. In step SI 630, in response to the point cloud data with attribute information, the encoder may determine a first syntax element in the bitstream is equal to a preset value.

[0139] In some embodiments, the encoder may generate a plurality of headers related to the attribute information in the bitstream when the first syntax element is equal to the preset value. In some embodiments, the headers related to the attribute information comprises an attribute slice and an attribute slice header. In some embodiments, the first syntax element is contained in a sequence header in the bitstream.

[0140] In some embodiments, in response to the point cloud data without the attribute information, the encoder may determine the first syntax element in the bitstream is not equal to the preset value.

[0141] In some embodiments, the encoder may generate a second syntax element specifying the number of slices within a PCC frame. The encoder may insert the second syntax element into a frame header in the bitstream.

[0142] In some embodiments, the encoder may generate a third syntax element specifying an occupancy search range, and generate a plurality of fourth syntax elements for indicating a size value. The occupancy search range is less than the size value. In some embodiments, the size value indicated by the fourth syntax elements comprises a size of bounding box of a current slice.

[0143] In some embodiments, the fourth syntax elements specify a log 2 size of the bounding box of the current slice in a direction.

[0144] In some embodiments, the encoder may generate a fifth syntax element specifying a size of sliding window. The encoder may generate a sixth syntax element for indicating a maximum value, wherein the size of sliding window is less than or equal to the maximum value. In some embodiments, the maximum value comprises a maximum number of search neighbor points of thecurrent point.

[0145] The decoder of the invention includes a storage device and a processor. The processor is electrically connected to the storage device, and is configured to: obtain a bitstream of point cloud; decode the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud; and in response to the first syntax element is equal to a preset value, decode the attribute information of the point cloud.

[0146] The encoder of the invention includes a storage device and a processor. The processor is electrically connected to the storage device, and is configured to: obtain point cloud data; encode the point cloud data to generate a bitstream of point cloud; and in response to the point cloud data with attribute information, determine a first syntax element in the bitstream is equal to a preset value, wherein the first syntax element specifying presence of attribute information of the point cloud.

[0147] FIG. 17 is a schematic block diagram of an codec device provided by an embodiment of the invention. Referring to FIG. 17, the codec device 1000 may be the decoder or the encoder described in an embodiment of the invention. The codec device 1000 may comprise a transceiver 1001, a storage device 1002 and a processor 1003.

[0148] The storage device 1002 may stores executable instructions or the computer program. The processor 1003 may execute the executable instructions or the computer program to implement the methods in an embodiment of the invention. For example, the processor 1003 may be used to perform the steps of any one of the above methods in FIG. 8, FIG. 9, FIG. 11, FIG. 13, FIG. 15 and FIG. 16 according to the instructions or the computer program stored in the storage device 1002.

[0149] In some embodiments of the invention, the processor 1003 may include (but is not limited to) a central processing unit (CPU), a graphic processing unit (GPU), general-purpose or special-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices,discrete gate or transistor logic devices, discrete hardware components, etc. In one embodiment of the invention, the codec device 1000 may include more processors to implement the method in an embodiment of the invention.

[0150] In some embodiments of the invention, the storage device 1002 includes(but is not limited to) volatile memory and / or non-volatile memory. Among them, non-volatile memory can be Read-Only Memory (ROM), programmable ROM (PROM), erasable programmable readonly memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. Volatile memory can be Random Access Memory (RAM), which is used as an external cache. By illustrative but not limitless, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synch link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).

[0151] In some embodiments of the invention, the computer program may be divided into one or more units, the one or more units are stored in the storage device 1002, and executed by the processor 1003 to complete the method provided in the invention. The unit or units may be a series of computer program instruction segments capable of completing a particular function.

[0152] The transceiver 1001 may be connected to the processor 1003 or the storage device 1002. The processor 1003 may control the transceiver 1003 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices. For example, the transceiver 1003 is configured to receive or transmit the bitstream of point cloud. The transceiver 1001 may include a transmitter and receiver. The transceiver 1001 may further include antennas, the number of antennas may be one or more.

[0153] It should be understood that the various components in the codec device 1000 are connected by a bus system, wherein the bus system includes a power bus, a control bus and a status signal bus in addition to the data bus.

[0154] The invention also provides a computer storage medium on which a computer programis stored, and the computer program is executed by the computer such that the computer can execute the method embodiment of the above method. In other words, embodiments of the invention also provide a computer program product comprising instructions, the instruction is executed by the computer when the computer executes the method of executing the above method embodiment.

[0155] When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing the computer program instructions on the computer, the process or function in accordance with the invention is produced in whole or in part. The computer may be a general-purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instruction may be stored in a computer- readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction may be transmitted from a website site, computer, server or data center to another website site (e.g., coaxial cable, optical fiber, digital subscriber line (DST )) or wireless (e.g., infrared, wireless, microwave, etc.) to another website site, computer, Server or data center for transmission. The computer-readable storage medium may be any available media that the computer can access, or a data storage device such as a server, data center, etc., that contains one or more available media integration. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs)), or semiconductor media (e.g., solid state disks (SSDs)) and the like.

[0156] The G-PCC system applying the above-mentioned improved decoding method and the above-mentioned improved encoding method may adapt to a wide range of PCC inputs and can be used in many applications.

[0157] It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the disclosure.In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall in the scope of the following claims and their equivalents.Reference Signs List

[0158] 1000 ■ codec device1003 ■ Processor1002 ■ Storage device1001 '■ Transceiver 100, 200, 300, 400a, 400b, 500a, 500b, 600, 700 : syntax tableB1-B8 : CubeS102, S104, S106, S108, SI 10, SI 12, SI 14, SI 16, SI 18, S120, S122, S124, S126, S402,S404, S406, S408, S410, S412, S414, S416, S418, S420, S422, S810, S820, S830, S901, S902,S903, SI 110, SI 120, S1310, S1320, S1330, S1340, S1510, S1520, S1530, S1540, S1610, S1620, S1630 : Step

Claims

WHAT IS CLAIMED IS:

1. A point cloud decoding method, comprising: obtaining a bitstream of point cloud; decoding the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud; and in response to the first syntax element is equal to a preset value, decoding the attribute information of the point cloud.

2. The point cloud decoding method according to claim 1, wherein the step of in response to the first syntax element is equal to the preset value, decoding the attribute information of the point cloud comprises: in response to the first syntax element is equal to the preset value, parsing a plurality of headers related to the attribute information in the bitstream.

3. The point cloud decoding method according to claim 2, wherein the headers related to the attribute information comprises an attribute slice and an attribute slice header.

4. The point cloud decoding method according to claim 1, wherein the step of decoding the bitstream to obtain the first syntax element specifying presence of the attribute information of the point cloud comprises: parsing a sequence header in the bitstream to obtain the first syntax element specifying presence of the attribute information of the point cloud.

5. The point cloud decoding method according to claim 1, further comprising: in response to the first syntax element is not equal to the preset value, skipping parsing and decoding the attribute information of the point cloud.

6. The point cloud decoding method according to claim 1, further comprising: parsing a frame header in the bitstream to obtain a second syntax element specifying the number of slices within a PCC frame.

7. The point cloud decoding method according to claim 1, further comprising: decoding the bitstream to obtain a third syntax element specifying an occupancy search range, wherein the occupancy search range is less than a size value determined according to a plurality of fourth syntax elements.

8. The point cloud decoding method according to claim 7, further comprising: parsing a geometry slice header in the bitstream to obtain the fourth syntax elements; and determining a size of bounding box of a current slice according to the fourth syntax elements, wherein the size value determined according to the fourth syntax elements comprises the size of bounding box of the current slice.

9. The point cloud decoding method according to claim 8, wherein the step of determining the size of bounding box of the current slice according to the fourth syntax elements comprises: determining a log2 size in a direction according to the fourth syntax elements; and determining the size of bounding box of the current slice according to the log2 size in the direction.

10. The point cloud decoding method according to claim 1, further comprising: decoding the bitstream to obtain a fifth syntax element specifying a size of sliding window, wherein the size of sliding window is less than or equal to a maximum value determined according to a sixth syntax element.

11. The point cloud decoding method according to claim 10, further comprising: parsing an attribute header in the bitstream to obtain the sixth syntax element; and determining a maximum number of search neighbor points of a current point according to the sixth syntax element, wherein the maximum value determined according to the sixth syntax element comprises the maximum number of search neighbor points of the current point.

12. A point cloud encoding method, comprising: obtaining point cloud data; encoding the point cloud data to generate a bitstream of point cloud; and in response to the point cloud data with attribute information, determining a first syntax element in the bitstream is equal to a preset value, wherein the first syntax element specifying presence of the attribute information of the point cloud.

13. The point cloud encoding method according to claim 12, further comprises: generating a plurality of headers related to the attribute information when the first syntax element is equal to the preset value.

14. The point cloud encoding method according to claim 13, wherein the headers related to the attribute information comprises an attribute slice and an attribute slice header.

15. The point cloud encoding method according to claim 12, wherein the first syntax element is contained in a sequence header in the bitstream.

16. The point cloud encoding method according to claim 12, further comprises: in response to the point cloud data without the attribute information, determining the firstsyntax element in the bitstream is not equal to the preset value.

17. The point cloud encoding method according to claim 12, further comprises: generating a second syntax element specifying the number of slices within a PCC frame; and inserting the second syntax element into a frame header in the bitstream.

18. The point cloud encoding method according to claim 12, further comprises: generating a third syntax element specifying an occupancy search range; and generating a plurality of fourth syntax elements for indicating a size value, wherein the occupancy search range is less than the size value.

19. The point cloud encoding method according to claim 18, wherein the size value indicated by the fourth syntax elements comprises a size of bounding box of a current slice.

20. The point cloud encoding method according to claim 19, wherein the fourth syntax elements specify a log 2 size of the bounding box of the current slice in a direction.

21. The point cloud encoding method according to claim 12, further comprises: generating a fifth syntax element specifying a size of sliding window; and generating a sixth syntax element for indicating a maximum value, wherein the size of sliding window is less than or equal to the maximum value.

22. The point cloud encoding method according to claim 21, wherein the maximum value comprises a maximum number of search neighbor points of a current point.

23. A decoder, comprising:a storage device; and a processor, electrically connected to the storage device, and configured to: obtain a bitstream of point cloud; decode the bitstream to obtain a first syntax element specifying presence of attribute information of the point cloud; and in response to the first syntax element is equal to a preset value, decode the attribute information of the point cloud.

24. An encoder, comprising: a storage device; and a processor, electrically connected to the storage device, and configured to: obtain point cloud data; encode the point cloud data to generate a bitstream of point cloud; and in response to the point cloud data with attribute information, determine a first syntax element in the bitstream is equal to a preset value, wherein the first syntax element specifying presence of attribute information of the point cloud.

Citation Information

Patent Citations

  • High level syntax for geometry-based point cloud compression

    US20210211734A1

  • Point Cloud Encoding and Decoding Method and Apparatus

    US20210304443A1

  • Point cloud data transmission device, point cloud data transmission method, point cloud data reception device, and point cloud data reception method

    US20220084164A1

  • Encoder, decoder, encoding method, and decoding method

    US20220295106A1