The invention relates to a
point cloud downsampling method with any sampling size, which belongs to the field of
point cloud data, and comprises the following steps: S1, inputting original
point cloud data, and determining a target sampling size range; s2, in the training process, each Epoch dynamically selects the sampling size; s3, generating offset through a point cloud
feature extraction module, and generating a final sampling point cloud in combination with an original sampling point obtained by farthest
distance sampling FPS; s4, calculating a point-to-point distance value between the sampling point cloud and the original point cloud, and taking the point-to-point distance value as similarity loss; s5, inputting the sampling point cloud into a downstream
task network, and calculating task related loss; and S6, repeating the steps S1 to S5 until the model converges. Through one-time training, point clouds of any size can be sampled, limitation of fixed sampling size is avoided, and multi-scale
feature learning of the point clouds is realized through different-dimension learning of point cloud features.