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
Input value inObject Point3DGrid Input Point3DGrid
Input value inGoldenObject Point3DGrid Point3DGrid with the golden object
Input value inMaxDistance float 0.0 - Maximal allowed distance between corresponding vertices of the input and the golden object
Input value inVoxelSize float 0.0 - Defines a voxel size used to subsample both grids.
Input value inNeighborCount int 1 - Defines number of neighbors used to compute average distances between vertices during noise removal.
Input value inSampleCount int 1 - 10000 Defines number of samples used by the registration algorithm.
Input value inDeltaCorrection float 0.0 - 12.0 Defines the accuracy of the alignment. With smaller delta the amount of allocated memory increases.
Input value inTransformLimits3D TransformLimits3D | None None Limits the maximum rotation angles and translation along each axis, of the final transform.
Input value inRefineWithICP bool Defines whether the alignment should be refined with ICP.
Input value inMaxTranslationDistance float | None 0.0 - None Limits the length of the translation vector of the final transform.
Input value 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).
Output value outMissing list[Point3D] Points from the golden object not present in the input object.
Output value outExcessive list[Point3D] Points from the input object not present in the golden object.
Output value outAlignment Matrix The transform that aligns best the input object to the golden object.
Diagnostic input diagCleanedGoldenObject Point3DGrid | None None Golden object after subsampling and noise removal.
Diagnostic input diagAlignedObject Point3DGrid | None None Aligned and cleaned input object