Method to create unified crsp2D3Ds based on the original (non-unified) crsp2D3Ds and the part correspondences.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax
Parameters
- crsp2D3Ds
- Type: System.Collections.Generic List Cog3DCrsp2D3D
The List of the original crsp2D3Ds with associated camera index and original part instance index. May not be null.Note that crsp2D3Ds[i].PartInstanceIndex should be the same index of the corresponding item in raw2DFromModel2Ds[crsp2D3Ds[i].CameraIndex] where raw2DFromModel2Ds is the input parameter used in Execute method. In other words, crsps corresponding to raw2DFromModel2Ds[i][j] must have CameraIndex of i, and PartInstanceIndex of j.
- partCorrespondences
- Type: System.Collections.Generic List Dictionary Int32, Int32
The part correspondences computed using method Execute. May not be null.
Return Value
Type: List Cog3DCrsp2D3DA list of crsp2D3Ds where the PartInstanceIndex is modified so that each PartInstanceIndex refers to the same 3D part instance for all cameras.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If any input argument is null, or any item inside each input argument is null. |
| ArgumentException |
|
See Also