Some algorithms to downsample or filter point cloud.
Cloud files are stored in folder assets
. You can get more clouds as example from here.
This is base class for all sample_filter class.
farthest_point_sampling
is a greedy algorithm that samples from a point cloud data iteratively. It starts from a random single sample of point. In each iteration, it samples from the rest points that is the farthest from the set of sampled points.
Less points are reserved where normal changes slowly, more where faster.
Only points that have enough neighbors will be reserved.
statistical_outlier_removal
removes points that are further away from their neighbors compared to the average for the point cloud.