Skip to contents

Removes points whose mean distance to k nearest neighbors exceeds the global threshold (mean + std_ratio * std).

Usage

px_filter_statistical(cloud, k = 20L, std_ratio = 2)

Arguments

cloud

A px_cloud.

k

Integer — number of nearest neighbors.

std_ratio

Numeric — standard deviation multiplier.

Value

A px_cloud — filtered (outliers removed).