You are here: Start » FIL.NET » Invoke.GoldenTemplate3D
Compares points on the input with the golden object. Any significant differences are considered defects.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void GoldenTemplate3D ( Fil.Point3DGrid inObject, Fil.Point3DGrid inGoldenObject, float inMaxDistance, float inVoxelSize, int inNeighborCount, int inSampleCount, float inDeltaCorrection, Optional<Fil.TransformLimits3D> inTransformLimits3D, bool inRefineWithICP, Optional<float> inMaxTranslationDistance, float inOverlap, List<Fil.Point3D> outMissing, List<Fil.Point3D> outExcessive, Fil.Matrix outAlignment, Diagnostic<Fil.Point3DGrid> diagCleanedGoldenObject, Diagnostic<Fil.Point3DGrid> diagAlignedObject )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inObject | Fil.Point3DGrid | Input Point3DGrid. | ||
![]() | inGoldenObject | Fil.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.0f | Defines a voxel size used to subsample both grids. Default value: 0.0f. |
![]() | inNeighborCount | int | <1, INF> | 15 | Defines number of neighbors used to compute average distances between vertices during noise removal. Default value: 15. |
![]() | inSampleCount | int | <1, INF> | 10000 | Defines number of samples used by the registration algorithm. Default value: 10000. |
![]() | inDeltaCorrection | float | <0.0f, INF> | 12.0f | Defines the accuracy of the alignment. With smaller delta the amount of allocated memory increases. Default value: 12.0f. |
![]() | inTransformLimits3D | Ftl.Optional<Fil.TransformLimits3D> | Limits the maximum rotation angles and translation along each axis, of the final transform. Default value: ftl::NIL. | ||
![]() | inRefineWithICP | bool | False | Defines whether the alignment should be refined with ICP. Default value: False. | |
![]() | inMaxTranslationDistance | Ftl.Optional<float> | <0.0f, INF> | Limits the length of the translation vector of the final transform. Default value: ftl::NIL. | |
![]() | inOverlap | float | <0.0f, 1.0f> | 0.95f | Defines the estimated overlap between two input grids (0 = no overlap, 1.0 = every point in inObject is also in inGoldenObject). Default value: 0.95f. |
![]() | outMissing | System.Collections.Generic.List<Fil.Point3D> | Points from the golden object not present in the input object. | ||
![]() | outExcessive | System.Collections.Generic.List<Fil.Point3D> | Points from the input object not present in the golden object. | ||
![]() | outAlignment | Fil.Matrix | The transform that aligns best the input object to the golden object. | ||
![]() | diagCleanedGoldenObject | Fil.Diagnostic<Fil.Point3DGrid> | Golden object after subsampling and noise removal. | ||
![]() | diagAlignedObject | Fil.Diagnostic<Fil.Point3DGrid> | Aligned and cleaned input object. |