get_camera_setup_param — Get generic camera setup model parameters.
The operator get_camera_setup_param can be used to inspect diverse generic parameters of the camera setup model CameraSetupModelID. Two types of parameters can be queried with this operator:
By setting CameraIdx to 'general' and ParamName to one of the following values, general camera setup parameters are returned in ParamValue:
Number of cameras described in the model.
The number of cameras is fixed with the creation of the camera setup model and cannot be changed after that (see create_camera_setup_model).
By setting CameraIdx to a valid setup camera index (a value between 0 and NumCameras-1) and ParamName to one of the following values, camera-specific parameters are returned in ParamValue:
Camera type (see set_camera_setup_cam_param).
A tuple with internal camera parameters. The length of the tuple depends on the camera type.
A tuple representing the standard deviations of the internal camera parameters. The length of the tuple depends on the camera type.
A tuple representing the covariance matrix if the internal camera parameters. The length of the tuple depends on the camera type.
Camera pose relative to the setup's coordinate system (see create_camera_setup_model for more details).
Note that the camera needs to be set first by set_camera_setup_cam_param, before any of its parameters can be inspected by get_camera_setup_param. If CameraIdx is an index of an undefined camera, the operator returns an error.
Handle to the camera setup model.
Index of the camera in the setup.
Default value: 0
Suggested values: 0, 1, 2, 'general'
Names of the generic parameters to be queried.
List of values: 'coord_transf_pose', 'num_cameras', 'params', 'params_covariances', 'params_deviations', 'pose', 'reference_camera', 'type'
Values of the generic parameters to be queried.