ClassesClasses | | Operators

set_camera_setup_cam_paramT_set_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam (Operator)

Name

set_camera_setup_cam_paramT_set_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam — Define type, parameters, and relative pose of a camera in a camera setup model.

Signature

set_camera_setup_cam_param( : : CameraSetupModelID, CameraIdx, CameraType, CameraParam, CameraPose : )

Herror T_set_camera_setup_cam_param(const Htuple CameraSetupModelID, const Htuple CameraIdx, const Htuple CameraType, const Htuple CameraParam, const Htuple CameraPose)

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 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

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 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_paramSetCameraSetupCamParamSetCameraSetupCamParamSetCameraSetupCamParam defines the internal parameters and the pose of the camera with CameraIdxCameraIdxCameraIdxCameraIdxcameraIdx in the camera setup model CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelID. The parameter CameraIdxCameraIdxCameraIdxCameraIdxcameraIdx must be between 0 and NumCameras-1 (see get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamGetCameraSetupParamGetCameraSetupParam with argument 'num_cameras'"num_cameras""num_cameras""num_cameras""num_cameras"). If a camera with CameraIdxCameraIdxCameraIdxCameraIdxcameraIdx was already defined, its parameters are overwritten by the current ones (the camera is 'substituted').

The number of values in CameraParamCameraParamCameraParamCameraParamcameraParam depends on the camera type. See the description of set_calib_data_cam_paramset_calib_data_cam_paramSetCalibDataCamParamSetCalibDataCamParamSetCalibDataCamParam for a list of values and calibrate_camerascalibrate_camerasCalibrateCamerasCalibrateCamerasCalibrateCameras for details on camera types and camera parameters.

CameraTypeCameraTypeCameraTypeCameraTypecameraType is only provided for backwards compatibility. Its value is ignored since the same information is also contained in the first element of CameraParamCameraParamCameraParamCameraParamcameraParam.

The parameter CameraPoseCameraPoseCameraPoseCameraPosecameraPose specifies the pose of the camera relative to the setup's coordinate system (see set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamSetCameraSetupParamSetCameraSetupParam for further explanations on the setup's coordinate system).

All of the parameters set by set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamSetCameraSetupCamParam can be read back by get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamGetCameraSetupParamGetCameraSetupParam. While the camera type can be changed only with a new call to set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParamSetCameraSetupCamParam, all other camera parameters can be modified by set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamSetCameraSetupParamSetCameraSetupParam. Furthermore, set_camera_setup_paramset_camera_setup_paramSetCameraSetupParamSetCameraSetupParamSetCameraSetupParam can set additional data to a camera: standard deviations or covariances of the internal camera parameters.

Execution Information

Parameters

CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelID (input_control)  camera_setup_model HCameraSetupModel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle to the camera setup model.

CameraIdxCameraIdxCameraIdxCameraIdxcameraIdx (input_control)  number-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Index of the camera in the setup.

Suggested values: 0, 1, 2

CameraTypeCameraTypeCameraTypeCameraTypecameraType (input_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Type of the camera.

Default value: []

List of values: []

CameraParamCameraParamCameraParamCameraParamcameraParam (input_control)  campar HCamPar, HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Internal camera parameters.

CameraPoseCameraPoseCameraPoseCameraPosecameraPose (input_control)  number-array HTupleHTupleHtuple (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


ClassesClasses | | Operators