You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » 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 | |
---|---|---|---|---|---|
inPointGrid | AvlNet.Point3DGrid | Input Point3DGrid. | |||
inStdDevMultiple | float | <0.0f, INF> | 1.5f | Allows to set a threshold based on standard deviation of average distances between points on input. Default value: 1.5f. | |
inNeighborCount | int | <1, INF> | 10 | Defines number of neighbors used to compute average distances between vertices. Default value: 10. | |
outGrid | AvlNet.Point3DGrid | Cleaned 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
- RemoveOutliersFromPoint3DGrid(Point3DGrid, NullableRef<Region>, Single, Int32, Point3DGrid)
- RemoveOutliersFromPoint3DGrid(Point3DGrid, NullableRef<Region>, Single, Int32, Point3DGrid, Single, Single)