You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » AVL.RemoveOutliersFromPoint3DGrid

AVL.RemoveOutliersFromPoint3DGrid

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RemoveOutliersFromPoint3DGrid
(
	AvlNet.Point3DGrid inPointGrid,
	float inStdDevMultiple,
	int inNeighborCount,
	AvlNet.Point3DGrid outGrid
)

Parameters

Name Type Range Default Description
inPointGridAvlNet.Point3DGridInput Point3DGrid.
inStdDevMultiplefloat<0.0f, INF>1.5fAllows to set a threshold based on standard deviation of average distances between points on input. Default value: 1.5f.
inNeighborCountint<1, INF>10Defines number of neighbors used to compute average distances between vertices. Default value: 10.
outGridAvlNet.Point3DGridCleaned input.

Errors

List of possible exceptions:

Error type Description
DomainError inNeighborCount is larger than the number of valid points in RemoveOutliersFromPoint3DGrid.
DomainError Input grid has no valid points in RemoveOutliersFromPoint3DGrid.
DomainError Input grid is empty in RemoveOutliersFromPoint3DGrid.

Function Overrides

See also