A non-transitory computer-readable storage medium, storing executable instructions, the executable instructions, when executed by a processor, causes the processor to at least:
- acquire initial point cloud data in a point cloud data processing environment;
- determine a space grid structure corresponding to the initial point cloud data;
- determine a filling order of different point cloud points in the initial point cloud data in the space grid structure;
- determine, based on the filling order, residual information matched with the initial point cloud data;
- and
- encode, according to the residual information, the initial point cloud data to obtain target point cloud data,
- wherein the determining the filling order comprises;
- determining an order of a space-filling curve based on a number of division child nodes;
- determining a filling mode based on the order of the space-filling curve;
- and
- determining a first filling order matched with the filling mode,
- wherein the order of the space-filling curve is m-order, wherein m is an integer greater than or equal to 1,
- wherein the determining the first filling order comprises:
- respectively processing corresponding division child nodes with at least two types of space-filling curves, based on the filling mode being processing with the at least two types of space-filling curves, and determining positions, corresponding to the different point cloud points, in a corresponding space-filling curve;
- and
- sorting the positions, corresponding to the different point cloud points, in the corresponding space-filling curve, and determining a second filling order, matched with the filling mode, of the different point cloud points,
- wherein the method further comprises, prior to the determining the filling order:
- determining a filling starting point in the space grid structure based on an origin of a space coordinate system corresponding to the space grid structure, or
- determining the filling starting point based on a coordinate point corresponding to a lower left corner coordinate of a starting bounding box corresponding to the initial point cloud data, and
- wherein the filling starting point is a first filling point corresponding to the filling order.