Triangulate a 3D point from 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 Cog3DCameraCalibrations, indexed by camera. One calibration per camera.
- pointsRaw2D
- Type: Cognex.VisionPro3D Cog3DVect2Collection
A collection of 2D points, indexed by camera, representing the same object feature detected from different cameras.
- isPointValid
- Type: System.Collections.Generic List Boolean
A collection of valid flags for each 2D point. This argument may be null, indicating that all points are valid. If it is not null, its size must be the same as the size of pointsRaw2D.
- residualsRaw2D
- Type: Cognex.VisionPro3D Cog3DResiduals
2D residual error information will be returned via this Out argument.
- residualsPhys3D
- Type: Cognex.VisionPro3D Cog3DResiduals
3D residual error information will be returned via this Out argument.
Return Value
Type: Cog3DVect3The triangulated 3D point coordinate.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If any of the arguments (except isPointValid) is null, or any item of raw2DFromPhys3Ds is null. |
| ArgumentException | If the sizes of raw2DFromPhys3Ds and pointsRaw2D are different or are less than two; or isPointValid is not null and does not have the same length as pointsRaw2D. |
See Also