RemoveOutliersFromPoint3DGrid


Removes noise from a given Point3DGrid. All points that are too far from their neighbors are removed.

Syntax

C++
C#
Python
 
def RemoveOutliersFromPoint3DGrid(
	inPointGrid: Point3DGrid,
	inStdDevMultiple: float,
	inNeighborCount: int,
	outGrid: Point3DGrid,
	/,
	*,
	inRoi: Region | None = None
)
-> (
	diagThreshold: float,
	diagAverageDistance: float
)

Parameters

Name Type Range Default Description
Input value inPointGrid Point3DGrid Input Point3DGrid
Input value inRoi Region | None None Region of interest
Input value inStdDevMultiple float 0.0 - Allows to set a threshold based on standard deviation of average distances between points on input.
Input value inNeighborCount int 1 - Defines number of neighbors used to compute average distances between vertices.
Output value outGrid Point3DGrid Cleaned input
Diagnostic input diagThreshold float Threshold used by the algorithm.
Diagnostic input diagAverageDistance float Average distance between input points and their neighborhood