CogHandEyeCalibratorRemoteCameras Execute Method (CogHandEyeCalibrationResults, CogFeatureCrspsMCameras,  Rectangle , CogFeatureCrspsMCameras)Cognex VisionPro 9.7
Compute the CogHandEyeCalibrationRemoteCamerasResults for the remote cameras based on the supplied hand-eye calibration results of the primary cameras, the corresponded point pairs (from the same calibration plate) for the primary cameras and the remote cameras, pelrects of the remote cameras, using the current parameter settings.

Namespace: Cognex.VisionPro.CalibFix
Assembly: Cognex.VisionPro.CalibFixPlus (in Cognex.VisionPro.CalibFixPlus.dll) Version: 73.0.0.0
Syntax

public CogHandEyeCalibrationRemoteCameraResults Execute(
	CogHandEyeCalibrationResults primaryCamerasCalibResults,
	CogFeatureCrspsMCameras primaryCamerasCrsps,
	Rectangle[] remoteCamerasPelRects,
	CogFeatureCrspsMCameras remoteCamerasCrsps
)

Parameters

primaryCamerasCalibResults
Type: Cognex.VisionPro.CalibFix CogHandEyeCalibrationResults
The primary station hand-eye calibration results.
primaryCamerasCrsps
Type: Cognex.VisionPro CogFeatureCrspsMCameras
The corresponded point pairs for primary cameras.
remoteCamerasPelRects
Type:  System.Drawing Rectangle 
The pelrects of the remote cameras, used to extract the corresponded point pairs. There should be one pelrect for each camera. There is no relationship between the pelrects of two separate cameras. It is used to define the camera coordinate system (i.e. Camera2D) to be at the center of the pelrect.
remoteCamerasCrsps
Type: Cognex.VisionPro CogFeatureCrspsMCameras
The corresponded point pairs for the remote cameras.

Return Value

Type: CogHandEyeCalibrationRemoteCameraResults
A CogHandEyeCalibrationRemoteCameraResults containing the results of the calibration, i.e. a CogHandEyeCalibrationRemoteCameraResult object for each remote camera.
Exceptions

ExceptionCondition
ArgumentNullException If the primaryCamerasCalibResults argument is null.
ArgumentNullException If the primaryCamerasCrsps argument is null.
ArgumentNullException If the remoteCamerasPelRects argument is null.
ArgumentNullException If the remoteCamerasCrsps argument is null.
CogTimeoutExpiredException If TimeoutEnabled is true and this method does not complete within Timeout milliseconds.
ArgumentException If any of the following is true:
  • Any of the input arguments is empty.
  • The number of cameras described by primaryCamerasCrsps is different from the number of items in primaryCamerasCalibResults.
  • The number of cameras described by remoteCamerasPelRects is different from the number of items in remoteCamerasCrsps.
ArgumentException If any Raw2D feature position in the remoteCamerasCrsps argument falls outside its corresponding pelrect.
ArgumentException If the input data is degenerate.
See Also