set_camera_setup_cam_paramT_set_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamset_camera_setup_cam_param (Operator)
Name
set_camera_setup_cam_paramT_set_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamset_camera_setup_cam_param
— Define type, parameters, and relative pose of a camera in a camera setup
model.
Signature
void SetCameraSetupCamParam(const HTuple& CameraSetupModelID, const HTuple& CameraIdx, const HTuple& CameraType, const HTuple& CameraParam, const HTuple& CameraPose)
void HCameraSetupModel::SetCameraSetupCamParam(const HTuple& CameraIdx, const HTuple& CameraType, const HCamPar& CameraParam, const HTuple& CameraPose) const
void HCameraSetupModel::SetCameraSetupCamParam(const HTuple& CameraIdx, const HString& CameraType, const HCamPar& CameraParam, const HTuple& CameraPose) const
void HCameraSetupModel::SetCameraSetupCamParam(const HTuple& CameraIdx, const char* CameraType, const HCamPar& CameraParam, const HTuple& CameraPose) const
void HCameraSetupModel::SetCameraSetupCamParam(const HTuple& CameraIdx, const wchar_t* CameraType, const HCamPar& CameraParam, const HTuple& CameraPose) const
(Windows only)
void HCamPar::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const HTuple& CameraType, const HTuple& CameraPose) const
void HCamPar::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const HString& CameraType, const HTuple& CameraPose) const
void HCamPar::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const char* CameraType, const HTuple& CameraPose) const
void HCamPar::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const wchar_t* CameraType, const HTuple& CameraPose) const
(Windows only)
static void HPose::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const HTuple& CameraType, const HCamPar& CameraParam, const HTuple& CameraPose)
static void HPose::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const HString& CameraType, const HCamPar& CameraParam, const HTuple& CameraPose)
static void HPose::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const char* CameraType, const HCamPar& CameraParam, const HTuple& CameraPose)
static void HPose::SetCameraSetupCamParam(const HCameraSetupModel& CameraSetupModelID, const HTuple& CameraIdx, const wchar_t* CameraType, const HCamPar& CameraParam, const HTuple& CameraPose)
(Windows only)
static void HOperatorSet.SetCameraSetupCamParam(HTuple cameraSetupModelID, HTuple cameraIdx, HTuple cameraType, HTuple cameraParam, HTuple cameraPose)
void HCameraSetupModel.SetCameraSetupCamParam(HTuple cameraIdx, HTuple cameraType, HCamPar cameraParam, HTuple cameraPose)
void HCameraSetupModel.SetCameraSetupCamParam(HTuple cameraIdx, string cameraType, HCamPar cameraParam, HTuple cameraPose)
void HCamPar.SetCameraSetupCamParam(HCameraSetupModel cameraSetupModelID, HTuple cameraIdx, HTuple cameraType, HTuple cameraPose)
void HCamPar.SetCameraSetupCamParam(HCameraSetupModel cameraSetupModelID, HTuple cameraIdx, string cameraType, HTuple cameraPose)
static void HPose.SetCameraSetupCamParam(HCameraSetupModel cameraSetupModelID, HTuple cameraIdx, HTuple cameraType, HCamPar cameraParam, HTuple cameraPose)
static void HPose.SetCameraSetupCamParam(HCameraSetupModel cameraSetupModelID, HTuple cameraIdx, string cameraType, HCamPar cameraParam, HTuple cameraPose)
Description
The operator set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamSetCameraSetupCamParamset_camera_setup_cam_param
defines the internal
parameters and the pose of the camera with CameraIdxCameraIdxCameraIdxCameraIdxcameraIdxcamera_idx
in
the camera setup model CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelIDcamera_setup_model_id
. The parameter
CameraIdxCameraIdxCameraIdxCameraIdxcameraIdxcamera_idx
must be between 0 and NumCameras
-1 (see
get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamGetCameraSetupParamGetCameraSetupParamget_camera_setup_param
with argument
'num_cameras'"num_cameras""num_cameras""num_cameras""num_cameras""num_cameras"). If a camera with CameraIdxCameraIdxCameraIdxCameraIdxcameraIdxcamera_idx
was
already defined, its parameters are overwritten by the current ones
(the camera is 'substituted').
The number of values in CameraParamCameraParamCameraParamCameraParamcameraParamcamera_param
depends on the camera
type. See the description of set_calib_data_cam_paramset_calib_data_cam_paramSetCalibDataCamParamSetCalibDataCamParamSetCalibDataCamParamset_calib_data_cam_param
for a
list of values and Calibration for details on camera
types and camera parameters.
The parameter CameraTypeCameraTypeCameraTypeCameraTypecameraTypecamera_type
is only provided for backwards
compatibility.
The information about the camera type is contained in the first element
of CameraParamCameraParamCameraParamCameraParamcameraParamcamera_param
.
Therefore, CameraTypeCameraTypeCameraTypeCameraTypecameraTypecamera_type
should be set either to its default value
[] (the recommended option) or to the same value as the
first element of CameraParamCameraParamCameraParamCameraParamcameraParamcamera_param
. In any other case an error is raised.
The parameter CameraPoseCameraPoseCameraPoseCameraPosecameraPosecamera_pose
specifies the pose of the camera
relative to the setup's coordinate system (see
set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamSetCameraSetupParamSetCameraSetupParamset_camera_setup_param
for further explanations on the
setup's coordinate system).
All of the parameters set by set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamSetCameraSetupCamParamset_camera_setup_cam_param
can
be read back by get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamGetCameraSetupParamGetCameraSetupParamget_camera_setup_param
. While the camera
type can be changed only with a new call to
set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamSetCameraSetupCamParamset_camera_setup_cam_param
, all other camera parameters can
be modified by set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamSetCameraSetupParamSetCameraSetupParamset_camera_setup_param
. Furthermore,
set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamSetCameraSetupParamSetCameraSetupParamset_camera_setup_param
can set additional data to a camera:
standard deviations or covariances of the internal camera
parameters.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelIDcamera_setup_model_id
(input_control) camera_setup_model →
HCameraSetupModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle to the camera setup model.
CameraIdxCameraIdxCameraIdxCameraIdxcameraIdxcamera_idx
(input_control) number-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Index of the camera in the setup.
Suggested values: 0, 1, 2
CameraTypeCameraTypeCameraTypeCameraTypecameraTypecamera_type
(input_control) string(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Type of the camera.
Default value: []
List of values: []
CameraParamCameraParamCameraParamCameraParamcameraParamcamera_param
(input_control) campar →
HCamPar, HTupleSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Internal camera parameters.
CameraPoseCameraPoseCameraPoseCameraPosecameraPosecamera_pose
(input_control) number-array →
HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Pose of the camera relative to the setup's coordinate
system.
Number of elements: 7
Module
Calibration