You are here: Start » FIL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » FIL.GoldenTemplate3D
Compares points on the input with the golden object. Any significant differences are considered defects.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void GoldenTemplate3D ( FilNet.Point3DGrid inObject, FilNet.Point3DGrid inGoldenObject, float inMaxDistance, float inVoxelSize, float inStdDevMultiple, int inNeighborCount, int inSampleCount, float inDeltaCorrection, float inOverlap, IList<FilNet.Point3D> outMissing, IList<FilNet.Point3D> outExcessive, FilNet.Matrix outAlignment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inObject | FilNet.Point3DGrid | Input Point3DGrid. | ||
![]() | inGoldenObject | FilNet.Point3DGrid | Point3DGrid with the golden object. | ||
![]() | inMaxDistance | float | <0.0f, INF> | Maximal allowed distance between corresponding vertices of the input and the golden object. | |
![]() | inVoxelSize | float | <0.0f, INF> | 0.1f | Defines a voxel size used to subsample both grids. Default value: 0.1f. |
![]() | inStdDevMultiple | float | <0.0f, INF> | 1.5f | Allows to set a threshold based on standard deviation of average distances between points on input during noise removal. Default value: 1.5f. |
![]() | inNeighborCount | int | <1, INF> | 10 | Defines number of neighbors used to compute average distances between vertices during noise removal. Default value: 10. |
![]() | inSampleCount | int | <1, INF> | 600 | Defines number of samples used by the registration algorithm. Default value: 600. |
![]() | inDeltaCorrection | float | <0.0f, INF> | 9.3f | Defines the accuracy of the alignment. With smaller delta the amount of allocated memory increases. Default value: 9.3f. |
![]() | inOverlap | float | <0.0f, 1.0f> | 0.8f | Defines the estimated overlap between two input grids (0 = no overlap, 1.0 = every point in inObject is also in inGoldenObject). Default value: 0.8f. |
![]() | outMissing | System.Collections.Generic.IList<FilNet.Point3D> | Points from the golden object not present in the input object. | ||
![]() | outExcessive | System.Collections.Generic.IList<FilNet.Point3D> | Points from the input object not present in the golden object. | ||
![]() | outAlignment | FilNet.Matrix | The transform that aligns best the input object to the golden object. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Grids are empty after noise removal in GoldenTemplate3D. |
DomainError | inNeighborCount is larger than the number of valid points in GoldenTemplate3D. |
DomainError | Input grid has no valid points in GoldenTemplate3D. |
DomainError | Input grid is empty in GoldenTemplate3D. |
DomainError | Parameter inDeltaCorrection in GoldenTemplate3D has to be greater than 0.0 |
DomainError | Parameter inVoxelSize in GoldenTemplate3D has to be greater than 0.0 |
Function Overrides
- GoldenTemplate3D(Point3DGrid, Point3DGrid, Single, Single, Single, Int32, Int32, Single, Nullable<Single>, Nullable<Single>, Single, IList<Point3D>, IList<Point3D>, Matrix)
- GoldenTemplate3D(Point3DGrid, Point3DGrid, Single, Single, Single, Int32, Int32, Single, Nullable<Single>, Nullable<Single>, Single, IList<Point3D>, IList<Point3D>, Matrix, Point3DGrid, Point3DGrid)