Method to run the corresponder based on the 2D part poses for each part instance in each camera.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 73.0.0.0
Syntax
Parameters
- raw2DFromModel2Ds
- Type: System.Collections.Generic List List CogTransform2DLinear
A doubly indexed list of 2D part poses found in each camera, indexed first by camera, then by part instance. May not be null. Note that the indices of raw2DFromModel2Ds specify the camera indices, and original part instance indices.
Return Value
Type: List Dictionary Int32, Int32The part correspondences among different cameras. Each item is a Dictionary for one 3D part instance, and each KeyValuePair inside the Dictionary corresponds to (cameraIndex, originalPartInstanceIndex). Note that originalPartInstanceIndex is the index of the corresponding item in raw2DFromModel2Ds.
In other words, if raw2DFromModel2Ds[i][j] belongs to one 3D part instance, then the Dictionary for that 3D part instance has KeyValuePair of (i, j).
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If raw2DFromModel2Ds is null. |
| ArgumentException |
|
Remarks
- Run pattern finding tools ( such as trained PatMax) to find the 2D poses of part instances in each camera (This step generates raw2DFromModel2Ds).
- Run this method to compute part correspondences among different cameras.
- Run feature extraction for each corresponded part.
- If there are enough features extracted for one part instance, run pose estimation for the corresponded part.
See Also