ClassesClassesClassesClasses | | | | Operators

change_radial_distortion_cam_parT_change_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar (Operator)

Name

change_radial_distortion_cam_parT_change_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar — Determine new camera parameters in accordance to the specified radial distortion.

Signature

change_radial_distortion_cam_par( : : Mode, CamParamIn, DistortionCoeffs : CamParamOut)

Herror T_change_radial_distortion_cam_par(const Htuple Mode, const Htuple CamParamIn, const Htuple DistortionCoeffs, Htuple* CamParamOut)

Herror change_radial_distortion_cam_par(const HTuple& Mode, const HTuple& CamParamIn, const HTuple& DistortionCoeffs, HTuple* CamParamOut)

void ChangeRadialDistortionCamPar(const HTuple& Mode, const HTuple& CamParamIn, const HTuple& DistortionCoeffs, HTuple* CamParamOut)

static HTuple HMisc::ChangeRadialDistortionCamPar(const HString& Mode, const HTuple& CamParamIn, const HTuple& DistortionCoeffs)

static HTuple HMisc::ChangeRadialDistortionCamPar(const HString& Mode, const HTuple& CamParamIn, double DistortionCoeffs)

static HTuple HMisc::ChangeRadialDistortionCamPar(const char* Mode, const HTuple& CamParamIn, double DistortionCoeffs)

void HOperatorSetX.ChangeRadialDistortionCamPar(
[in] VARIANT Mode, [in] VARIANT CamParamIn, [in] VARIANT DistortionCoeffs, [out] VARIANT* CamParamOut)

VARIANT HMiscX.ChangeRadialDistortionCamPar(
[in] BSTR Mode, [in] VARIANT CamParamIn, [in] VARIANT DistortionCoeffs)

static void HOperatorSet.ChangeRadialDistortionCamPar(HTuple mode, HTuple camParamIn, HTuple distortionCoeffs, out HTuple camParamOut)

static HTuple HMisc.ChangeRadialDistortionCamPar(string mode, HTuple camParamIn, HTuple distortionCoeffs)

static HTuple HMisc.ChangeRadialDistortionCamPar(string mode, HTuple camParamIn, double distortionCoeffs)

Description

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar modifies the internal camera parameters in accordance to the specified radial distortion coefficients DistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsdistortionCoeffs. Via ModeModeModeModeModemode one of the following modes can be selected:

In all modes the distortion coefficients in CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut are set to DistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsdistortionCoeffs. The transformation of a pixel in the modified image into the image plane using CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut results in the same point as the transformation of a pixel in the original image via CamParamInCamParamInCamParamInCamParamInCamParamIncamParamIn.

Parallelization

Parameters

ModeModeModeModeModemode (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Mode

Default value: 'adaptive' "adaptive" "adaptive" "adaptive" "adaptive" "adaptive"

Suggested values: 'fullsize'"fullsize""fullsize""fullsize""fullsize""fullsize", 'adaptive'"adaptive""adaptive""adaptive""adaptive""adaptive", 'fixed'"fixed""fixed""fixed""fixed""fixed", 'preserve_resolution'"preserve_resolution""preserve_resolution""preserve_resolution""preserve_resolution""preserve_resolution"

CamParamInCamParamInCamParamInCamParamInCamParamIncamParamIn (input_control)  real-array HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Internal camera parameters (original).

Number of elements: CamParamIn == 8 || CamParamIn == 10 || CamParamIn == 12 || CamParamIn == 14

DistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsdistortionCoeffs (input_control)  real(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Desired radial distortions.

Number of elements: DistortionCoeffs == 1 || DistortionCoeffs == 5

Default value: 0.0

CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut (output_control)  real-array HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Internal camera parameters (modified).

Number of elements: CamParamOut == 8 || CamParamOut == 10 || CamParamOut == 12 || CamParamOut == 14

Result

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar returns 2 (H_MSG_TRUE) if all parameter values are correct. If necessary, an exception is raised.

Possible Predecessors

camera_calibrationcamera_calibrationCameraCalibrationcamera_calibrationCameraCalibrationCameraCalibration, read_cam_parread_cam_parReadCamParread_cam_parReadCamParReadCamPar

Possible Successors

change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImage, change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld, gen_radial_distortion_mapgen_radial_distortion_mapGenRadialDistortionMapgen_radial_distortion_mapGenRadialDistortionMapGenRadialDistortionMap

See also

camera_calibrationcamera_calibrationCameraCalibrationcamera_calibrationCameraCalibrationCameraCalibration, read_cam_parread_cam_parReadCamParread_cam_parReadCamParReadCamPar, change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImage, change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld, change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPoints

Module

Calibration


ClassesClassesClassesClasses | | | | Operators