Triangulate a collection of 3D features from their corresponding 2D image points from different cameras.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax
Parameters
- raw2DFromPhys3Ds
- Type: System.Collections.Generic List Cog3DCameraCalibration
A list of Cog3DCameraCalibration, indexed by camera. One calibration per camera. The size of this list defines the number of cameras. Must be greater than or equal to two.
- pointsRaw2D
- Type: System.Collections.Generic List Cog3DVect2Collection
A List of 2D point collections, indexed by camera. Each 2D point collection contains all 2D feature points from a specific camera. The size of the List must be equal to the number of cameras. The size of each 2D point collection must be the same and defines the number of 3D features to be triangulated.
- isPointValid
- Type: System.Collections.Generic List List Boolean
A List of valid flags Lists, indexed by camera. The outer List may be null to indicate all points are valid. If not null, the size of the outer List must be equal to the number of cameras, and each item in the outer List must be either null (to indicate all points from the corresponding camera are valid), or have the same size as the number of 3D features to be triangulated.
- is3DPointValid
- Type: System.Collections.Generic List Boolean
This output parameter is a list of valid flags for the returned 3D features. If a 3D feature could not be triangulated, its corresponding flag will be false; true otherwise. The passed list will be re-initialized by this function.
Return Value
Type: Cog3DVect3CollectionA collection of the triangulated 3D feature coordinates and updates is3DPointValid.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException |
|
| ArgumentException |
|
See Also