dtcc.PointCloud.statistical_outlier_filter(neighbours, outlier_margin)

Remove statistical outliers from a PointCloud object.

Parameters:
pc : PointCloud

The PointCloud object to remove outliers from.

neighbours : int

The number of neighbours to consider for the outlier detection.

outlier_margin : float

The margin in standard deviations to consider a point an outlier.

Returns:

A new PointCloud object with the outliers removed.

Return type:

PointCloud