ClassesClasses | | Operators

change_radial_distortion_pointsT_change_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPoints (Operator)

Name

change_radial_distortion_pointsT_change_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPoints — Change the radial distortion of pixel coordinates.

Signature

change_radial_distortion_points( : : Row, Col, CamParamIn, CamParamOut : RowChanged, ColChanged)

Herror T_change_radial_distortion_points(const Htuple Row, const Htuple Col, const Htuple CamParamIn, const Htuple CamParamOut, Htuple* RowChanged, Htuple* ColChanged)

void ChangeRadialDistortionPoints(const HTuple& Row, const HTuple& Col, const HTuple& CamParamIn, const HTuple& CamParamOut, HTuple* RowChanged, HTuple* ColChanged)

void HCamPar::ChangeRadialDistortionPoints(const HTuple& Row, const HTuple& Col, const HCamPar& CamParamOut, HTuple* RowChanged, HTuple* ColChanged) const

static void HOperatorSet.ChangeRadialDistortionPoints(HTuple row, HTuple col, HTuple camParamIn, HTuple camParamOut, out HTuple rowChanged, out HTuple colChanged)

void HCamPar.ChangeRadialDistortionPoints(HTuple row, HTuple col, HCamPar camParamOut, out HTuple rowChanged, out HTuple colChanged)

Description

change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPoints changes the radial distortion of input image coordinates (RowRowRowRowrow, ColColColColcol) in accordance to the internal camera parameters CamParamInCamParamInCamParamInCamParamIncamParamIn and CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut. Each input pixel (RowRowRowRowrow, ColColColColcol) is transformed into the image plane using CamParamInCamParamInCamParamInCamParamIncamParamIn and projected into another image using CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut.

Please note that change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPoints does not work for line scan cameras.

Execution Information

Parameters

RowRowRowRowrow (input_control)  real-array HTupleHTupleHtuple (real) (double) (double) (double)

Original row component of pixel coordinates.

ColColColColcol (input_control)  real-array HTupleHTupleHtuple (real) (double) (double) (double)

Original column component of pixel coordinates.

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

The inner camera parameters of the camera used to create the input pixel coordinates.

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

The inner camera parameters of a camera.

RowChangedRowChangedRowChangedRowChangedrowChanged (output_control)  real-array HTupleHTupleHtuple (real) (double) (double) (double)

Row component of pixel coordinates after changing the radial distortion.

ColChangedColChangedColChangedColChangedcolChanged (output_control)  real-array HTupleHTupleHtuple (real) (double) (double) (double)

Column component of pixel coordinates after changing the radial distortion.

Result

change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPoints returns 2 (H_MSG_TRUE) if all parameter values are correct.

See also

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamPar, camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationCameraCalibration, read_cam_parread_cam_parReadCamParReadCamParReadCamPar, change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld, change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImageChangeRadialDistortionImage

Module

Calibration


ClassesClasses | | Operators