Assembly: Cognex.VisionPro.CalibFix (in Cognex.VisionPro.CalibFix.dll) Version: 65.1.0.0
Parameters
- inputImage
- Type: Cognex.VisionPro ICogImage
The input image from which the transformation is computed.
Return Value
Type: ICogTransform2DThe returned transformation.
| Exception | Condition |
|---|---|
| ArgumentException | The transform between the selected space of inputImage and its pixels differs by more than a whole-pixel shift from the similar transform contained in the calibration image. |
Returns a 2D transformation that maps points from the pixel space of the warped output image produced by running this tool to the pixel space of an input image that you supply.
Keep in mind that when the Checkerboard Calibration tool produces a warped image at run time, the newly warped image does not contain a transformation that maps between the warped and unwarped pixels. This function is the only way of obtaining this transformation.
This function returns Nothing if Calibrated is false or if ComputationMode is Linear.