Name
set_camera_setup_cam_paramT_set_camera_setup_cam_paramSetCameraSetupCamParamset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam — Define type, parameters, and relative pose of a camera in a camera setup
model.
The operator set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam defines the type, the
internal parameters, and the pose of the camera with CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx
in the camera setup model CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelID.
The parameter CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx must be between 0 and NumCameras-1
(see get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamget_camera_setup_paramGetCameraSetupParamGetCameraSetupParam with argument 'num_cameras'"num_cameras""num_cameras""num_cameras""num_cameras""num_cameras").
If a camera with CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx was already defined, its
parameters are overwritten by the current ones (the camera is
'substituted').
The parameters CameraTypeCameraTypeCameraTypeCameraTypeCameraTypecameraType and CameraParamCameraParamCameraParamCameraParamCameraParamcameraParam need to be
specified in compliance with each other and with respect to the kind of
camera, which has to be specified. See the description of
set_calib_data_cam_paramset_calib_data_cam_paramSetCalibDataCamParamset_calib_data_cam_paramSetCalibDataCamParamSetCalibDataCamParam for lists of values.
For further details on the single camera parameters in CameraParamCameraParamCameraParamCameraParamCameraParamcameraParam,
see write_cam_parwrite_cam_parWriteCamParwrite_cam_parWriteCamParWriteCamPar. If the value in CameraTypeCameraTypeCameraTypeCameraTypeCameraTypecameraType
and the number of parameters CameraParamCameraParamCameraParamCameraParamCameraParamcameraParam do not correspond to
the same camera type, the operator returns an error.
The parameter CameraPoseCameraPoseCameraPoseCameraPoseCameraPosecameraPose specifies the pose of the camera
relative to the setup's coordinate system (see set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamset_camera_setup_paramSetCameraSetupParamSetCameraSetupParam
for further explanations on the setup's coordinate system).
All of the parameters set by set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam can
be read back by get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamget_camera_setup_paramGetCameraSetupParamGetCameraSetupParam.
While the camera type can be changed only with a new call to
set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam, all other camera parameters can
be modified by set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamset_camera_setup_paramSetCameraSetupParamSetCameraSetupParam. Futhermore,
set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamset_camera_setup_paramSetCameraSetupParamSetCameraSetupParam can set additional data to a camera:
standard deviations or covariances of the internal camera parameters.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
Handle to the camera setup model.
Index of the camera in the setup.
Suggested values: 0, 1, 2
Type of the camera.
List of values: 'area_scan_division'"area_scan_division""area_scan_division""area_scan_division""area_scan_division""area_scan_division", 'area_scan_polynomial'"area_scan_polynomial""area_scan_polynomial""area_scan_polynomial""area_scan_polynomial""area_scan_polynomial", 'area_scan_telecentric_division'"area_scan_telecentric_division""area_scan_telecentric_division""area_scan_telecentric_division""area_scan_telecentric_division""area_scan_telecentric_division", 'area_scan_telecentric_polynomial'"area_scan_telecentric_polynomial""area_scan_telecentric_polynomial""area_scan_telecentric_polynomial""area_scan_telecentric_polynomial""area_scan_telecentric_polynomial", 'line_scan'"line_scan""line_scan""line_scan""line_scan""line_scan"
Internal camera parameters.
Number of elements: CameraParam == 8 || CameraParam == 11 || CameraParam == 12
Pose of the camera relative to the setup's coordinate
system.
Number of elements: 7
Calibration