GoldenTemplate3D
Compares points on the input with the golden object. Any significant differences are considered defects.
Syntax
C++
C#
Python
def GoldenTemplate3D( inObject: Point3DGrid, inGoldenObject: Point3DGrid, inMaxDistance: float, inVoxelSize: float, inNeighborCount: int, inRefineWithICP: bool, outAlignment: Matrix, /, *, inSampleCount: int = 10000, inDeltaCorrection: float = 12.0, inTransformLimits3D: TransformLimits3D | None = None, inMaxTranslationDistance: float | None = None, inOverlap: float = 0.95, diagCleanedGoldenObject: Point3DGrid | None = None, diagAlignedObject: Point3DGrid | None = None ) -> ( outMissing: list[Point3D], outExcessive: list[Point3D] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inObject | Point3DGrid | Input Point3DGrid | ||
![]() |
inGoldenObject | Point3DGrid | Point3DGrid with the golden object | ||
![]() |
inMaxDistance | float | 0.0 - ![]() |
Maximal allowed distance between corresponding vertices of the input and the golden object | |
![]() |
inVoxelSize | float | 0.0 - ![]() |
Defines a voxel size used to subsample both grids. | |
![]() |
inNeighborCount | int | 1 - ![]() |
Defines number of neighbors used to compute average distances between vertices during noise removal. | |
![]() |
inSampleCount | int | 1 - ![]() |
10000 | Defines number of samples used by the registration algorithm. |
![]() |
inDeltaCorrection | float | 0.0 - ![]() |
12.0 | Defines the accuracy of the alignment. With smaller delta the amount of allocated memory increases. |
![]() |
inTransformLimits3D | TransformLimits3D | None | None | Limits the maximum rotation angles and translation along each axis, of the final transform. | |
![]() |
inRefineWithICP | bool | Defines whether the alignment should be refined with ICP. | ||
![]() |
inMaxTranslationDistance | float | None | 0.0 - ![]() |
None | Limits the length of the translation vector of the final transform. |
![]() |
inOverlap | float | 0.0 - 1.0 | 0.95 | Defines the estimated overlap between two input grids (0 = no overlap, 1.0 = every point in inObject is also in inGoldenObject). |
![]() |
outMissing | list[Point3D] | Points from the golden object not present in the input object. | ||
![]() |
outExcessive | list[Point3D] | Points from the input object not present in the golden object. | ||
![]() |
outAlignment | Matrix | The transform that aligns best the input object to the golden object. | ||
![]() |
diagCleanedGoldenObject | Point3DGrid | None | None | Golden object after subsampling and noise removal. | |
![]() |
diagAlignedObject | Point3DGrid | None | None | Aligned and cleaned input object |




