You are here: Start » FIL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » FIL.RemoveOutliersFromPoint3DGrid
Removes noise from a given Point3DGrid. All points that are too far from their neighbors are removed.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RemoveOutliersFromPoint3DGrid ( FilNet.Point3DGrid inPointGrid, NullableRef<FilNet.Region> inRoi, float inStdDevMultiple, int inNeighborCount, FilNet.Point3DGrid outGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPointGrid | FilNet.Point3DGrid | Input Point3DGrid. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | 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 | FilNet.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, Single, Int32, Point3DGrid)
- RemoveOutliersFromPoint3DGrid(Point3DGrid, NullableRef<Region>, Single, Int32, Point3DGrid, Single, Single)