| CPC H04N 19/124 (2014.11) [H04N 19/119 (2014.11); H04N 19/136 (2014.11); H04N 19/50 (2014.11); H04N 19/70 (2014.11)] | 16 Claims |

|
1. A method for encoding a point cloud, comprising:
processing attribute information of a target point in a point cloud to obtain a predicted residual value of the attribute information of the target point;
quantizing the predicted residual value based on a quantization weight of the target point and a quantization step of the target point to obtain a quantized residual value of the attribute information of the target point, the quantization weight of the target point being a weight used for performing weighting on the quantization step of the target point; and
encoding the quantized residual value to obtain a bitstream;
wherein the quantizing the predicted residual value based on a quantization weight of the target point and a quantization step of the target point to obtain a quantized residual value of the attribute information of the target point comprises:
determining an effective quantization weight of the target point based on the quantization weight of the target point; and
quantizing the predicted residual value by using the effective quantization weight of the target point and the quantization step of the target point to obtain the quantized residual value;
wherein the quantizing the predicted residual value by using the effective quantization weight of the target point and the quantization step of the target point to obtain the quantized residual value comprises:
updating the quantization step of the target point by using the following formula:
newQstep=┌Qstep/effectiveQuantWeight┐,
wherein effectiveQuantWeight represents effective quantization weight of the target point, newQstep represents the quantization step of the target point after being updated based on the effective quantization weight of the target point, and Ostep represents the quantization step of the target point before being updated based on the effective quantization weight of the target point; and
quantizing the predicted residual value by using the quantization step after being updated of the target point to obtain the quantized residual value.
|