ClassesClassesClassesClasses | | | | Operators

get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamget_camera_setup_paramGetCameraSetupParamGetCameraSetupParam (Operator)

Name

get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamget_camera_setup_paramGetCameraSetupParamGetCameraSetupParam — Get generic camera setup model parameters.

Signature

get_camera_setup_param( : : CameraSetupModelID, CameraIdx, ParamName : ParamValue)

Herror get_camera_setup_param(const Hlong CameraSetupModelID, const Hlong CameraIdx, const char* ParamName, double* ParamValue)

Herror T_get_camera_setup_param(const Htuple CameraSetupModelID, const Htuple CameraIdx, const Htuple ParamName, Htuple* ParamValue)

Herror get_camera_setup_param(const HTuple& CameraSetupModelID, const HTuple& CameraIdx, const HTuple& ParamName, double* ParamValue)

double HCameraSetupModel::GetCameraSetupParam(const HTuple& CameraIdx, const HTuple& ParamName) const

void GetCameraSetupParam(const HTuple& CameraSetupModelID, const HTuple& CameraIdx, const HTuple& ParamName, HTuple* ParamValue)

HTuple HCameraSetupModel::GetCameraSetupParam(const HTuple& CameraIdx, const HString& ParamName) const

HTuple HCameraSetupModel::GetCameraSetupParam(Hlong CameraIdx, const HString& ParamName) const

HTuple HCameraSetupModel::GetCameraSetupParam(Hlong CameraIdx, const char* ParamName) const

void HOperatorSetX.GetCameraSetupParam(
[in] VARIANT CameraSetupModelID, [in] VARIANT CameraIdx, [in] VARIANT ParamName, [out] VARIANT* ParamValue)

VARIANT HCameraSetupModelX.GetCameraSetupParam(
[in] VARIANT CameraIdx, [in] BSTR ParamName)

static void HOperatorSet.GetCameraSetupParam(HTuple cameraSetupModelID, HTuple cameraIdx, HTuple paramName, out HTuple paramValue)

HTuple HCameraSetupModel.GetCameraSetupParam(HTuple cameraIdx, string paramName)

HTuple HCameraSetupModel.GetCameraSetupParam(int cameraIdx, string paramName)

Description

The operator get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamget_camera_setup_paramGetCameraSetupParamGetCameraSetupParam can be used to inspect diverse generic parameters of the camera setup model CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelID. Two types of parameters can be queried with this operator:

General parameters:

By setting CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx to 'general'"general""general""general""general""general" and ParamNameParamNameParamNameParamNameParamNameparamName to one of the following values, general camera setup parameters are returned in ParamValueParamValueParamValueParamValueParamValueparamValue:

'num_cameras'"num_cameras""num_cameras""num_cameras""num_cameras""num_cameras":

Number of cameras described in the model.

'camera_calib_error'"camera_calib_error""camera_calib_error""camera_calib_error""camera_calib_error""camera_calib_error":

The root mean square error (RMSE) of the back projection of the optimization of the camera system. This error is identical with the error returned by calibrate_camerascalibrate_camerasCalibrateCamerascalibrate_camerasCalibrateCamerasCalibrateCameras.

The number of cameras is fixed with the creation of the camera setup model and cannot be changed after that (see create_camera_setup_modelcreate_camera_setup_modelCreateCameraSetupModelcreate_camera_setup_modelCreateCameraSetupModelCreateCameraSetupModel).

Camera parameters:

By setting CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx to a valid setup camera index (a value between 0 and NumCameras-1) and ParamNameParamNameParamNameParamNameParamNameparamName to one of the following values, camera-specific parameters are returned in ParamValueParamValueParamValueParamValueParamValueparamValue:

'type'"type""type""type""type""type":

Camera type (see set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam).

'params'"params""params""params""params""params":

A tuple with internal camera parameters. The length of the tuple depends on the camera type.

'params_deviations'"params_deviations""params_deviations""params_deviations""params_deviations""params_deviations":

A tuple representing the standard deviations of the internal camera parameters. The length of the tuple depends on the camera type.

'params_covariances'"params_covariances""params_covariances""params_covariances""params_covariances""params_covariances":

A tuple representing the covariance matrix if the internal camera parameters. The length of the tuple depends on the camera type.

'pose'"pose""pose""pose""pose""pose":

Camera pose relative to the setup's coordinate system (see create_camera_setup_modelcreate_camera_setup_modelCreateCameraSetupModelcreate_camera_setup_modelCreateCameraSetupModelCreateCameraSetupModel for more details).

Note that the camera needs to be set first by set_camera_setup_cam_paramset_camera_setup_cam_paramSetCameraSetupCamParamset_camera_setup_cam_paramSetCameraSetupCamParamSetCameraSetupCamParam, before any of its parameters can be inspected by get_camera_setup_paramget_camera_setup_paramGetCameraSetupParamget_camera_setup_paramGetCameraSetupParamGetCameraSetupParam. If CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx is an index of an undefined camera, the operator returns an error.

Parallelization

Parameters

CameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDCameraSetupModelIDcameraSetupModelID (input_control)  camera_setup_model HCameraSetupModel, HTupleHTupleHCameraSetupModel, HTupleHCameraSetupModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle to the camera setup model.

CameraIdxCameraIdxCameraIdxCameraIdxCameraIdxcameraIdx (input_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer / string) (int / long / string) (Hlong / HString) (Hlong / char*) (Hlong / BSTR) (Hlong / char*)

Index of the camera in the setup.

Default value: 0

Suggested values: 0, 1, 2, 'general'"general""general""general""general""general"

ParamNameParamNameParamNameParamNameParamNameparamName (input_control)  attribute.name HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Names of the generic parameters to be queried.

List of values: 'camera_calib_error'"camera_calib_error""camera_calib_error""camera_calib_error""camera_calib_error""camera_calib_error", 'coord_transf_pose'"coord_transf_pose""coord_transf_pose""coord_transf_pose""coord_transf_pose""coord_transf_pose", 'num_cameras'"num_cameras""num_cameras""num_cameras""num_cameras""num_cameras", 'params'"params""params""params""params""params", 'params_covariances'"params_covariances""params_covariances""params_covariances""params_covariances""params_covariances", 'params_deviations'"params_deviations""params_deviations""params_deviations""params_deviations""params_deviations", 'pose'"pose""pose""pose""pose""pose", 'reference_camera'"reference_camera""reference_camera""reference_camera""reference_camera""reference_camera", 'type'"type""type""type""type""type"

ParamValueParamValueParamValueParamValueParamValueparamValue (output_control)  attribute.value HTupleHTupleHTupleVARIANTHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*) (double / Hlong / BSTR) (double / Hlong / char*)

Values of the generic parameters to be queried.

Module

Calibration


ClassesClassesClassesClasses | | | | Operators