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
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_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 Calibration / Multi-View for details on camera
types and camera parameters.
The parameter CameraTypeCameraTypeCameraTypeCameraTypecameraType
is only provided for backwards
compatibility.
The information about the camera type is contained in the first element
of CameraParamCameraParamCameraParamCameraParamcameraParam
.
Therefore, CameraTypeCameraTypeCameraTypeCameraTypecameraType
should be set either to its default value
[] (the recommended option) or to the same value as the
first element of CameraParamCameraParamCameraParamCameraParamcameraParam
. In any other case an error is raised.
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelID
(input_control) camera_setup_model →
HCameraSetupModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
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