Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
POINT CLOUD DECODING METHOD, POINT CLOUD ENCODING METHOD, DECODER AND ENCODER
Document Type and Number:
WIPO Patent Application WO/2024/064043
Kind Code:
A1
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: decoding a bitstream of point cloud to obtain a plurality of quantized transform coefficients associated with a plurality of points in a range; determining a quantization parameter based on whether one of the points in the range belongs to an irregular point; and performing dequantization operation by using the quantization parameter to at least one of the quantized transform coefficients.

Inventors:
YU YUE (US)
YU HAOPING (US)
Application Number:
PCT/US2023/032972
Publication Date:
March 28, 2024
Filing Date:
September 18, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INNOPEAK TECH INC (US)
International Classes:
G06T9/00; H04N19/10; H04N19/124; H04N19/20; G06T17/00; H04N19/70
Foreign References:
US20210289211A12021-09-16
US20200020132A12020-01-16
US20200314435A12020-10-01
US20210112281A12021-04-15
Attorney, Agent or Firm:
LEE, Belinda (US)
Download PDF:
Claims:
137381wof WHAT IS CLAIMED IS: 1. A point cloud decoding method, comprising: decoding a bitstream of point cloud to obtain a plurality of quantized transform coefficients associated with a plurality of points in a range; determining a quantization parameter based on whether one of the points in the range belongs to an irregular point; and performing dequantization operation by using the quantization parameter to at least one of the quantized transform coefficients. 2. The point cloud decoding method according to claim 1, wherein the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter according to an original quantization parameter and a delta value when the one of the points in the range belongs to the irregular point. 3. The point cloud decoding method according to claim 2, wherein the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter as the original quantization parameter when the one of the points in the range does not belong to the irregular point. 4. The point cloud decoding method according to claim 2, wherein the quantization parameter is a sum of the original quantization parameter and the delta value. 5. The point cloud decoding method according to claim 4, wherein the delta value is a default value. 137381wof 6. The point cloud decoding method according to claim 4, wherein the delta value is specified in the bitstream. 7. The point cloud decoding method according to claim 1, wherein the quantization parameter comprises a plurality of first quantization parameters respectively corresponding to a plurality of attribute components of each point, and each of the first quantization parameters is determined according to an original quantization parameter and a delta value. 8. The point cloud decoding method according to claim 7, wherein the attribute components of each point comprise a luma component, a Cb component and a Cr component. 9. The point cloud decoding method according to claim 7, wherein the delta values respectively corresponding to the first quantization parameters are different from each other. 10. The point cloud decoding method according to claim 7, wherein the delta values respectively corresponding to the first quantization parameters are identical with each other. 11. The point cloud decoding method according to claim 1, wherein the at least one of the quantized transform coefficients comprises a direct component (DC) coefficient. 12. The point cloud decoding method according to claim 1, wherein the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter according to whether the range belongs to an irregular range. 137381wof 13. The point cloud decoding method according to claim 12, wherein the range belongs to the irregular range when a last point in the range belongs to the irregular point. 14. The point cloud decoding method according to claim 1, wherein a plurality of reconstructed points is used to predict the points in the range, and whether the one of the points in the range belongs to the irregular point is determined according to a distance between the one of the points in the range and at least one of the reconstructed points. 15. The point cloud decoding method according to claim 14, wherein the one of the points in the range belongs to the irregular point when the distance between the one of the points in the range and at least one of the reconstructed points is greater than a threshold. 16. A point cloud encoding method, comprising: generating a plurality of transform coefficients associated with a plurality of points in a range; determining a quantization parameter based on whether one of the points in the range belongs to an irregular point; performing quantization operation by using the quantization parameter to at least one of transform coefficients to generate at least one quantized transform coefficient; and encoding the quantized transform coefficient to generate a bitstream of point cloud. 17. The point cloud encoding method according to claim 16, wherein the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter according to an original quantization parameter and a delta value when the one of the points in the range belongs to the irregular point. 137381wof 18. The point cloud encoding method according to claim 17, wherein the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter as the original quantization parameter when the one of the points in the range among the points does not belong to the irregular point. 19. The point cloud encoding method according to claim 17, wherein the quantization parameter is a sum of the original quantization parameter and the delta value. 20. The point cloud encoding method according to claim 19, wherein the delta value is a default value. 21. The point cloud encoding method according to claim 19, wherein the delta value is specified in the bitstream. 22. The point cloud encoding method according to claim 16, wherein the quantization parameter comprises a plurality of first quantization parameters respectively corresponding to a plurality of attribute components of each point, and each of the first quantization parameters is determined according to an original quantization parameter and a delta value. 23. The point cloud encoding method according to claim 22, wherein the attribute components of each point comprise a luma component, a Cb component and a Cr component. 24. The point cloud encoding method according to claim 22, wherein the delta values respectively corresponding to the first quantization parameters are different from each other. 137381wof 25. The point cloud encoding method according to claim 22, wherein the delta values respectively corresponding to the first quantization parameters are identical with each other. 26. The point cloud encoding method according to claim 16, wherein the at least one of the transform coefficients comprises a direct component (DC) coefficient. 27. The point cloud encoding method according to claim 15, wherein the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter according to whether the range belongs to an irregular range. 28. The point cloud encoding method according to claim 27, wherein the range belongs to the irregular range when a last point in the range belongs to the irregular point. 29. The point cloud encoding method according to claim 16, wherein a plurality of reconstructed points is used to predict the points in the range, and whether the one of the points in the range belongs to the irregular point is determined according to a distance between the one of the points in the range and at least one of the reconstructed points. 30. The point cloud encoding method according to claim 29, wherein the one of the points in the range belongs to the irregular point when the distance between the one of the points in the range and at least one of the reconstructed points is greater than a threshold. 31. A decoder, comprising: 137381wof a storage device; and a processor, electrically connected to the storage device, and configured to: decode a bitstream of point cloud to obtain a plurality of quantized transform coefficients associated with a plurality of points in a range; determine a quantization parameter based on whether one of the points in the range belongs to an irregular point; and perform dequantization operation by using the quantization parameter to at least one of the quantized transform coefficients. 32. An encoder, comprising: a storage device; and a processor, electrically connected to the storage device, and configured to: generate a plurality of transform coefficients associated with a plurality of points in a range; determine a quantization parameter based on whether one of the points in the range belongs to an irregular point; perform quantization operation by using the quantization parameter to at least one of transform coefficients to generate at least one quantized transform coefficient; and encode the quantized transform coefficient to generate a bitstream of point cloud. 33. A computer storage medium, recording computer programs to be loaded into a processor of a decoder to execute steps of the method according to any one of claims 1 to 15. 34. A computer storage medium, recording computer programs to be loaded into a processor of an encoder to execute steps of the method according to any one of claims 16 to 30.
Description:
137381wof POINT CLOUD DECODING METHOD, POINT CLOUD ENCODING METHOD, DECODER AND ENCODER CROSS-REFERENCE TO RELATED APPLICATION This application claims the priority benefits of U.S. provisional application serial no. 63/376,258, filed on September 19, 2022. 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. However, there are still many deficiencies that need to be improved in the existing G-PCC specification. 137381wof SUMMARY OF INVENTION [Technical Problem] [0003] In G-PCC, the distance between a current point and the prediction points employed for predicting the current point may be quite far. Therefore, the prediction accuracy for such points will be very poor, resulting in poor coding performance. [Solution to Problem] [0004] This disclosure proposes a method of adjusting quantization parameter for G-PCC. [0005] The point cloud decoding method of the invention includes the following step: decoding a bitstream of point cloud to obtain a plurality of quantized transform coefficients associated with a plurality of points in a range; determining a quantization parameter based on whether one of the points in the range belongs to an irregular point; and performing dequantization operation by using the quantization parameter to at least one of the quantized transform coefficients. [0006] In an embodiment of the invention, the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter according to an original quantization parameter and a delta value when the one of the points in the range belongs to the irregular point. [0007] In an embodiment of the invention, the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point comprises: determining the quantization parameter as the original quantization parameter when the one of the points in the range does not belong to the irregular point. [0008] In an embodiment of the invention, the quantization parameter is a sum of the original quantization parameter and the delta value. [0009] In an embodiment of the invention, the delta value is a default value. [0010] In an embodiment of the invention, the delta value is specified in the bitstream. [0011] In an embodiment of the invention, the quantization parameter includes a plurality of first quantization parameters respectively corresponding to a plurality of attribute components of 137381wof each point, and each of the first quantization parameters is determined according to an original quantization parameter and a delta value. [0012] In an embodiment of the invention, the attribute components of each point comprise a luma component, a Cb component and a Cr component. [0013] In an embodiment of the invention, the delta values respectively corresponding to the first quantization parameters are different from each other. [0014] In an embodiment of the invention, the delta values respectively corresponding to the first quantization parameters are identical with each other [0015] In an embodiment of the invention, the at least one of the quantized transform coefficients includes a direct component (DC) coefficient. [0016] In an embodiment of the invention, the step of determining the quantization parameter based on whether the one of the points in the range belongs to the irregular point includes: determining the quantization parameter according to whether the range belongs to an irregular range. [0017] In an embodiment of the invention, the range belongs to the irregular range when a last point in the range belongs to the irregular point. [0018] In an embodiment of the invention, a plurality of reconstructed points is used to predict the points in the range, and whether the one of the points in the range belongs to the irregular point is determined according to a distance between the one of the points in the range and at least one of the reconstructed points. [0019] In an embodiment of the invention, the one of the points in the range belongs to the irregular point when the distance between the one of the points in the range and at least one of the reconstructed points is greater than a threshold. [0020] The point cloud encoding method of the invention includes the following step: generating a plurality of transform coefficients associated with a plurality of points in a range; determining a quantization parameter based on whether one of the points in the range belongs to 137381wof an irregular point; performing quantization operation by using the quantization parameter to at least one of transform coefficients to generate at least one quantized transform coefficient; and encoding the quantized transform coefficient to generate a bitstream of point cloud. [0021] 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: decode a bitstream of point cloud to obtain a plurality of quantized transform coefficients associated with a plurality of points in a range; determine a quantization parameter based on whether one of the points in the range belongs to an irregular point; and perform dequantization operation by using the quantization parameter to at least one of the quantized transform coefficients. [0022] 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: generate a plurality of transform coefficients associated with a plurality of points in a range; determine a quantization parameter based on whether one of the points in the range belongs to an irregular point; perform quantization operation by using the quantization parameter to at least one of transform coefficients to generate at least one quantized transform coefficient; and encode the quantized transform coefficient to generate a bitstream of point cloud. [Effects of Invention] [0023] Based on the above, according to the point cloud decoding method, the point cloud encoding method, the decoder and the encoder of the invention, coding performance of G-PCC can be improved, due to the quantization parameter is determined based on considering prediction reliability of the points. [0024] To make the aforementioned more comprehensible, several embodiments accompanied with drawings are described in detail as follows. BRIEF DESCRIPTION OF DRAWINGS [0025] FIG.1 is a schematic diagram of a G-PCC encoding process according to an embodiment 137381wof of the invention. [0026] FIG. 2A and FIG. 2B illustrate octree structures of G-PCC according to an embodiment of the invention. [0027] FIG.2C illustrates corresponding digital representation of the octree structure according to an embodiment of the invention. [0028] FIG. 3 illustrates structure of the cubes according to an embodiment of the invention. [0029] FIG.4 is a schematic diagram of a G-PCC decoding process according to an embodiment of the invention. [0030] FIG. 5A and 5B are schematic diagrams of a syntax table of color residual coding according to an embodiment of the invention. [0031] FIG. 6 is a schematic diagram of a syntax table of reflectance coding according to an embodiment of the invention. [0032] FIG. 7 is a schematic diagram of a syntax table of zero-run length coding according to an embodiment of the invention. [0033] FIG. 8 is a flowchart of a point cloud decoding method applied to a decoder according to an embodiment of the invention. [0034] FIG. 9 is a flowchart of determining a quantization parameter according to an embodiment of the invention. [0035] FIG. 10 is a flowchart of determining a quantization parameter according to an embodiment of the invention. [0036] FIG.11 is a flowchart of a point cloud encoding method applied to an encoder according to an embodiment of the invention. [0037] FIG.12 is a schematic block diagram of an codec device provided by an embodiment of the invention. 137381wof DESCRIPTION OF EMBODIMENTS [0038] 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. [0039] This disclosure proposes an adjustment of quantization method for G-PCC. The proposed method may be used in future G-PCC coding standards, such as AVS-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. [0040] 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 as the geometric information of a point. On the other hand, the attribute information of a point may be color information and/or reflectivity. [0041] 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. [0042] Point cloud data may be acquired through various methods, which include but are not 137381wof restricted to, at least one of the following: (1) computer equipment generation, wherein computer equipment can generate point cloud data based on virtual 3D objects and virtual 3D scenes; (2) 3D laser scanning acquisition, wherein through 3D laser scanning, point cloud data of static real- world three-dimensional objects or three-dimensional scenes can be obtained, and millions of point cloud data can be obtained every second; (3) 3D photogrammetry acquisition, wherein the point cloud data of the real-world visual scene can be obtained by 3D photography equipment (that is, a group of cameras or camera equipment with multiple lenses and sensors) to obtain the point cloud data of the real-world visual scene, and the point cloud data of dynamic real-world three-dimensional objects or three-dimensional scenes can be obtained through 3D photography; and (4) Obtain point cloud data of biological tissues and organs through medical equipment. In the medical field, point cloud data of biological tissues and organs can be obtained through medical equipment such as magnetic resonance imaging (MRI), computed tomography (CT), and electromagnetic positioning information. [0043] These technologies have reduced the cost and time cycle of point cloud data acquisition meanwhile enhancing data accuracy. However, 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. [0044] 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 137381wof 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. [0045] In the geometric encoding process, in step S102, a transform to the coordinates of the points is performed to transform the coordinates of the points from an initial domain to a transform domain. In particular, the positions of the points are coordinated to enclose the point cloud into a bounding box (bounding box). In step S104, 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 S104. The process of quantifying and removing the duplicate points is also called the voxelization process. [0046] In step S106, 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 S108, 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. [0047] 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 ^2 ^ , 2 ^ , 2 ^ ^ 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. [0048] Referring to FIG.2B, the cube B is divided into eight sub-cubes B1 to B8, which creates 137381wof an octree structure allowing one parent cube B to have 8 child cubes B1 to B8. The 7 sibling cubes B2 to B8 of a given cube B1 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 B1 to B8 is 1/8 volume of its parent cube B. Each of the cubes B1 to B8 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 cube is pre-defined for a given point cloud. 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. [0049] 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. [0050] 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. [0051] 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 137381wof the same size of parent cubes that share a point with the parent cube. [0052] Referring back to FIG. 1, in step S110, 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 are analyzed. 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 S108 to generate the binary geometric bitstream. In step S112, the transform coordinates of points in the point cloud may be reconstructed based on the octree, data indicating the surfaces determined in step S110 and/or other information. The reconstructed geometric information may be used by attribute coding process. [0053] In the attribute coding process, after the geometric information is reconstructed, color transformation is performed in step S114, 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 S116, 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. [0054] In the process of color information coding, there are mainly two transformation methods. The first method is distance-based lifting transformation in step S120 that relies on Level of Detail (LOD) division in step S118. The second method is Region Adaptive Hierarchical Transform (RAHT) transformation in step S122, 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 S124, these transform coefficients are quantified to generate quantized transform coefficients. In some case, quantizing the transform coefficients for a point may 137381wof 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 S126, arithmetic encoding may be performed to syntax elements representing the quantized attribute coefficients, to output these syntax elements in an attribute bitstream. Namely, the quantized transform coefficients may be encoded by using arithmetic encoding to generate a binary attribute bitstream, that is, the attribute code stream. [0055] 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. [0056] 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. In some case, dequantizing a quantized attribute value for a point may involve multiplying the quantized attribute value by a QP step size for the point, and the QP step size is determined according to a Quantization Parameter (QP). [0057] 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 137381wof 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. [0058] 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. [0059] In the invention, coding may be assumed to mean encoding and decoding methods and systems. [0060] [Attribute Coding in the AVS G-PCC] [0061] 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. [0062] 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. [0063] 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 137381wof 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 d1 as one example is defined as follows, other distance metrics can also be used. [0064] ^1 = | ^1 − ^2 | + | ^1 − ^2 | + |^1 − ^2| (1) [0065] where (^1, ^1, ^1) and (^2, ^2, ^2) are coordinates of the current point and pre- selected point, respectively. [0066] 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. [0067] 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 d2 as one example is defined as follows, other distance metrics can also be used. [0068] ^2 = | ^1 − ^3 | + | ^1 − ^3 | + |^1 − ^3| (2) [0069] where (^1, ^1, ^1) and (^3, ^3, ^3) 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. [0070] 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 137381wof predictor. [0071] 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. [0072] [Color Level Coding] [0073] There are three color attributes 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. [0074] 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. [0075] 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 137381wof process continues until all points are decoded. [0076] 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 function coded_level_coding( ) and named as coded level in the remaining of this disclosure. [0077] In one 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. [0078] 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. [0079] 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. [0080] 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 137381wof 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_gt1) 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 be coded 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. [0081] [Reflectance Level Coding] [0082] 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 zero- run 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. [0083] 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 137381wof residual_sign first. Then a syntax element abs_level_minus1_parity which indicates the parity of the absolute level minus one is coded. Another syntax element abs_level_minus1_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_minus1_div2_gt0 is great than zero, another syntax element abs_level_minus1_div2_gt1 is coded to indicate if the value of the absolute level minus one divided by two is greater than one or not; if abs_level_minus1_div2_gt1 is greater than 1, another syntax element abs_level_minu1_div2_minus2 is coded to indicate the value of the absolute level minus one divided by two minus two. [0084] [Zero-run length coding] [0085] 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, the first syntax element 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 element 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 element 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 element zero_run_length_level_minus3_parity and the fifth syntax element 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. [0086] 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 decode a bitstream of point cloud to obtain a plurality of quantized transform coefficients associated with a plurality of points in a range. It should be noted that, a transform (e.g., RAHT transform or lifting transform) may be used to further improve coding performance. 137381wof Once a transform is applied, every point group including N points (e.g., 8 points), where N is equal to the size/length of the transform, will be considered as a range. A range will be coded instead of point by point individually. In an embodiment, the quantized transform coefficients of one range may include quantized AC coefficients and a quantized DC coefficient. [0087] More specifically, for every point within a range, the prediction value of every point is obtained by searching the three closest points in the previous coded points within a search range. The corresponding N residuals between N prediction values and N original points are further obtained. For example, 8 residuals will be transformed, so that 8 transform coefficients including one DC coefficient and seven AC coefficients are obtained. Then, these N transform coefficients are quantized by using one or more quantization parameter(s) (e.g., QP=30), and the quantized transform coefficients will be further entropy coded. In an embodiment of the invention, the DC coefficient may be quantized by an adjusted quantization parameter which is determined according to whether one of the points in the range belongs to an irregular point, and the AC coefficients may be quantized by an original quantization parameter. Correspondingly, the decoder may obtain the quantized transform coefficients associated with the points in a range by decoding a bitstream of point cloud which is an attribute bitstream. [0088] In step S820, the decoder may determine a quantization parameter based on whether one of the points in the range belongs to an irregular point. In an embodiment of the invention, the decoder may determine the quantization parameter based on whether the last point in the range belongs to an irregular point. [0089] In an embodiment of the invention, a plurality of reconstructed points is used to predict the points in the range, and whether the one of the points in the range belongs to the irregular point is determined according to a distance between the one of the points in the range and at least one of the reconstructed points. The reconstructed points may be some neighbouring points from a search range. [0090] In an embodiment of the invention, the one of the points in the range belongs to the 137381wof irregular point when the distance between the one of the points in the range and at least one of the reconstructed points is greater than a threshold. On the other hand, the one of the points in the range does not belongs to the irregular point when the distance between the one of the points in the range and at least one of the reconstructed points is not greater than a threshold. [0091] For example, for every point within a range, the prediction value of every point is obtained by searching the three closest points in the previous coded points within a search range. In detail, the points within a point cloud may be coded point by point according to a predefined order, e.g., Hilbert order. Starting from the (M+1) th point in a point cloud, M reconstructed points (e.g., M=3 reconstructed points) with the closest Manhattan distance from the current point in a search range are selected as the prediction points for the current point. Suppose that the distances between the M reconstructed points in the search range and the current point are D_1 to D_M. Whether the current point in the range belongs to the irregular point is determined according to at least one of the distances D_1 to D_M between the current point and at least one of the reconstructed points. For example, if any one of distances D_1 to D_M is larger than a predefined threshold T, such current point may be referred to an irregular point. Alternatively, in other case, if all of distances D_1 to D_M are larger than a predefined threshold T, such current point may be referred to an irregular point. [0092] In an embodiment of the invention, if the one of the points (e.g., the last point in the range) in the range is a irregular point, the quantization parameter may be determined as a first value. Otherwise, if the one of the points (e.g., the last point in the range) is not a irregular point, the quantization parameter may be determined as a second value which is different from the first value. Next, the first value or the second valaue may be used to dequantize the quantized transform coefficients associated with the range including the irregular point. [0093] In step S830, the decoder may perform dequantization operation by using the quantization parameter to at least one of the quantized transform coefficients. The decoder may dequantize a quantized transform coefficient for a point by multiplying the quantized transform 137381wof coefficient by a QP step size for the point, and the QP step size is determined according to the quantization parameter. More specifically, attribute coding in G-PCC involves a quantization/inverse-quantization process that enables the codec to trade between the reconstructed quality of the attributes of the point cloud and the bits required to represent them. The quantization parameter is used to control this trade-off by determining the particular scaling operations to be performed on the attributes. The QP and the parameters for determined the QP may be signaled in the bitstream. [0094] In an embodiment of the invention, the at least one of the quantized transform coefficients, which is dequantized by the quantization parameter determined based on whether one of the points (e.g., the last point in the range) is an irregular point, may include a direct component (DC) coefficient. Specifically, in an embodiment of the invention, the DC coefficient may be dequantized by an QP which is determined based on whether one of the points is an irregular point, and the AC coefficients may be dequantized by another QP which is not adjusted determined based on whether one of the points is an irregular point. In an embodiment of the invention, the at least one of the quantized transform coefficients, which is dequantized by the quantization parameter determined based on whether the one of the points (e.g., the last point in the range) is an irregular point, may include a DC coefficient and AC coefficients. Specifically, in an embodiment of the invention, the DC coefficient and the AC coefficients may be dequantized by an QP which is determined based on whether one of the points is an irregular point. [0095] FIG. 9 is a flowchart of determining a quantization parameter according to an embodiment of the invention. Referring to FIG. 9, in step S821a, the decoder may determine whether the one of the points in the range belongs to the irregular point. If the step S821a is determined as yes, in step S822, the decoder may determine the quantization parameter according to an original quantization parameter and a delta value when the one of the points in the range belongs to the irregular point. Namely, when the prediction accuracy of a range is deemed to be unreliable, the original quantization parameter may be adjusted by the delta value to determine the 137381wof adjusted quantization parameter, and the quantization operation/dequantization operation may be performed to such range by using the adjusted quantization parameter. [0096] In an embodiment of the invention, the quantization parameter may be a sum of the original quantization parameter and the delta value when the one of the points in the range belongs to the irregular point. The delta value may be positive or negative. [0097] In an embodiment of the invention, the delta value may be a default value. [0098] In an embodiment of the invention, the delta value may be specified in the bitstream. Besides, the original quantization parameter may be also specified in the bitstream. [0099] In an embodiment of the invention, when the one of the points in the range belongs to the irregular point, the DC coefficient may be dequantized by an QP which is a sum of the original quantization parameter and the delta value, and the AC coefficients may be dequantized by another QP which is the original quantization parameter. In an embodiment of the invention, when the range belongs to an irregular range, the DC coefficient and the AC coefficients may be dequantized by an QP which is a sum of the original quantization parameter and the delta value. [00100] On the other hand, if the step S821a is determined as no, in step S822, the decoder may determine the quantization parameter as the original quantization parameter when the one of the points in the range does not belong to the irregular point. Namely, when the prediction accuracy of a range is deemed to be reliable, the original quantization parameter may be not adjusted by the delta value, and the quantization operation/dequantization operation may be performed to such range by using the original quantization parameter. [00101] FIG. 10 is a flowchart of determining a quantization parameter according to an embodiment of the invention. Referring to FIG. 10, in step S821b, the decoder may determine the quantization parameter according to whether the range belongs to an irregular range. [00102] In an embodiment of the invention, the range belongs to the irregular range when a last point in the range belongs to the irregular point. In detail, a plurality of reconstructed points is used to predict all points in the range, and whether the last point in the range belongs to the 137381wof irregular point is determined according to a distance between the last point and at least one of the reconstructed points. In an embodiment of the invention, the last point in the range belongs to the irregular point when the distance between the last point and at least one of the reconstructed points is greater than a threshold. [00103] If the step S821b is determined as yes, in step S822, the decoder may determine the quantization parameter according to an original quantization parameter and a delta value when the range belongs to an irregular range. On the other hand, if the step S821b is determined as no, in step S822, the decoder may determine the quantization parameter as the original quantization parameter when the range does not belong to an irregular range. Step S822 and step S823 depicted in FIG. 10 are described in detail as above so that related description thereof is omitted hereinafter. [00104] In an embodiment of the invention, the quantization parameter includes a plurality of first quantization parameters respectively corresponding to a plurality of attribute components of each point, and each of the first quantization parameters may be determined according to an original quantization parameter and a delta value when the one of the points in the range belongs to an irregular point. [00105] In an embodiment of the invention, when the range belongs to the irregular range, the DC coefficient may be dequantized by an QP which is a sum of the original quantization parameter and the delta value, and the AC coefficients may be dequantized by another QP which is the original quantization parameter. In an embodiment of the invention, when the range belongs to an irregular range, the DC coefficient and the AC coefficients may be dequantized by an QP which is a sum of the original quantization parameter and the delta value. [00106] In an embodiment of the invention, the attribute components of each point may include a luma component, a Cb component and a Cr component. That is, the number of the first quantization parameters is 3, and the three first quantization parameters may respectively correspond to the luma component, the Cb component, and the Cb component. Alternatively, in 137381wof an embodiment of the invention, the attribute components of each point may include a Y (luma) component, a U component and a V component, and the three first quantization parameters may respectively correspond to the Y component, the U component, and the V component. [00107] In an embodiment of the invention, the delta values respectively corresponding to the first quantization parameters may be different from each other. In an embodiment of the invention, the delta values respectively corresponding to the first quantization parameters may be identical with each other. That is, when the one of the points in the range belongs to an irregular point, the first quantization parameters respectively corresponding to the different attribute components may be determined according to the same delta value or the different delta values. [00108] For example, an original quantization parameter for coding the luma component, denoted as luma_QP, may be specified for a given point cloud frame. The quantization offsets for the Cb component and Cr component, respectively denoted as offset_cb_QP and offset_cr_QP, may be also specified for a given point cloud frame. For the Cb component and Cr component, the original quantization parameters for coding the Cb component and Cr component, respectively denoted as cb_QP and cr_QP, are set as following formula (1) and formula (2). cb_QP = luma_QP + offset_cb_QP formula (1) cr_QP = luma_QP + offset_cr_QP formula (2) [00109] In an embodiment, this disclosure proposes that the original quantization parameter for DC components may be further adjusted for coding an irregular range including an irregular point. More specifically, a delta value, denoted as delta_QP, may be used to adjust the original quantization parameter and may be used to to code an irregular range, where delta_QP can be either a positive or a negative number. [00110] In an embodiment, the same delta_QP may be used to code luma/Cb/Cr DC components. In other words, the quantization parameters may be determined as luma_QP+delta_QP, luma_QP+ offset_cb_QP + delat_QP, and luma_QP+ offset_cr_QP + delat_QP when the range is an irregular range or the one of the points in the range is an irregular point. The adjusted quantization 137381wof parameters, which are luma_QP+delta_QP, luma_QP+ offset_cb_QP + delat_QP, and luma_QP+ offset_cr_QP + delat_QP, may be used to code luma/ Cb/Cr DC components, respectively. In some case, the delta_QP may be specified in the bitstream or use a default value, e.g., 8. [00111] In an embodiment, the different delta values may be respectively used to code luma/Cb/Cr DC components. For example, the quantization parameter of the luma component may be determined as luma_QP+ delta_QP_luma when the range is an irregular range or the one of the points in the range is an irregular point. The quantization parameter of the Cb component may be determined as luma_QP+ offset_cb_QP + delat_QP_cb when the range is an irregular range or the one of the points in the range is an irregular point. The quantization parameter of the Cr component may be determined as luma_QP+ offset_cr_QP + delat_QP_cr when the range is an irregular range or the one of the points in the range is an irregular point. The adjusted quantization parameters, which are luma_QP+ delta_QP_luma, luma_QP+ offset_cb_QP + delat_QP_cb, and luma_QP+ offset_cr_QP + delat_QP_cr, may be used to code luma/ Cb/Cr DC components, respectively. In some case, the delta_QP_luma, delta_QP_cb, delta_QP_cr may be specified in the bitstream or use a default value, e.g., 8. [00112] FIG.11 is a flowchart of a point cloud encoding method applied to an encoder according to an embodiment of the invention. Referring to FIG. 11, each step in the methods may be performed by a encoder using the G-PCC encoding process illustrated as FIG.1. In step S1110, the encoder may generate a plurality of transform coefficients associated with a plurality of points in a range. In step S1120, the encoder may determine a quantization parameter based on whether one of the points in the range belongs to an irregular point. [00113] In an embodiment of the invention, the encoder may determine the quantization parameter according to an original quantization parameter and a delta value when the one of the points in the range belongs to the irregular point. Otherwise, the encoder may determine the quantization parameter as the original quantization parameter when the one of the points in the range does not belong to the irregular point. It should be noted that, the encoder and the decoder 137381wof may determine the quantization parameter based on the similar operations and steps, which have been described in detail as above so that related description thereof is omitted hereinafter. [00114] In step S1130, the encoder may perform quantization operation by using the quantization parameter to at least one of transform coefficients to generate at least one quantized transform coefficient. In step S1140, the encoder may encode the quantized transform coefficient to generate a bitstream of point cloud. [00115] In an embodiment of the invention, this disclosure proposes a point cloud coding method by which a new prediction value may be used for coding an irregular range. First, whether the range is an irregular range is determined. When the range is the irregular range which last point is an irregular point, instead of derived the prediction value by using the reconstructed point, the prediction values of all points within the irregular may be determined by a fixed value or a coded value in the bitstream. [00116] In an embodiment of the invention, when the range is the irregular range which last point is an irregular point, a fixed value (e.g., 1<<(bitDepth-1)) may be used as a prediction value for coding all points within an irregular range. Namely, the prediction values of all points within an irregular range may be set as the fixed value. [00117] In an embodiment of the invention, when the range is the irregular range which last point is an irregular point, a coded value in the bitstream may be used as a prediction value for coding all points within an irregular range. The coded value may be an integrated average value of input points or a medium value of input points. Namely, the prediction values of all points within an irregular range may be set as the coded value. [00118] FIG.12 is a schematic block diagram of an codec device provided by an embodiment of the invention. Referring to FIG. 12, 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. [00119] The storage device 1002 may stores executable instructions or the computer program. 137381wof 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 the above method in FIG. 8 to FIG. 11 according to the instructions or the computer program stored in the storage device 1002. [00120] 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. [00121] 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 read- only 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). [00122] 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. [00123] 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, 137381wof 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. [00124] 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. [00125] The invention also provides a computer storage medium on which a computer program is 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. [00126] 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 (DSL)) 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 137381wof 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. [00127] In an embodiment of the invention, a non-transitory computer readable recording medium is further provided. The non-transitory computer-readable medium stores a plurality of program code segments, and the program code segments are configured to accomplish the steps in the foregoing method after being loaded to and executed by the processor 1003 of the codec device 1000. [00128] In summary, according to the point cloud decoding method, the point cloud encoding method, the decoder and the encoder of the invention, coding performance of G-PCC can be improved, due to the quantization parameter is determined based on considering prediction reliability of the points. More specifically, this disclosure may improve processes for quantizing and inverse quantizing attribute values of points in point clouds, such that the disclosure may reduce consumption of computational resources, may provide increased compression, or may provide other benefits. [00129] 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 within the scope of the following claims and their equivalents. Reference Signs List [00130] 1000:codec device 1003:Processor 1002:Storage device 137381wof 1001:Transceiver 500a, 500b, 600, 700:syntax table B1~B8:Cube S102、S104、S106、S108、S110、S112、S114、S116、S118 、S120、S122、S124、 S126、S402、S404、S406、S408、S410、S412、S414、S416 、S418、S420、S422、S810、 S820、S830、S821a、S821b、S822、S823、S1110、S1120、 S1130:Step