change_radial_distortion_pointsT_change_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points (Operator)

Name

change_radial_distortion_pointsT_change_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points — 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)

def change_radial_distortion_points(row: Sequence[float], col: Sequence[float], cam_param_in: Sequence[Union[int, float, str]], cam_param_out: Sequence[Union[int, float, str]]) -> Tuple[Sequence[float], Sequence[float]]

Description

change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points changes the radial distortion of input image coordinates (RowRowRowRowrowrow, ColColColColcolcol) in accordance to the internal camera parameters CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in and CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out. Each input pixel (RowRowRowRowrowrow, ColColColColcolcol) is transformed into the image plane using CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in and projected into another image using CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out.

Please note that change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points does not work for line scan cameras with perspective lenses.

Execution Information

Parameters

RowRowRowRowrowrow (input_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Original row component of pixel coordinates.

ColColColColcolcol (input_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Original column component of pixel coordinates.

CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in (input_control)  campar HCamPar, HTupleSequence[Union[int, float, str]]HTupleHtuple (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.

CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out (input_control)  campar HCamPar, HTupleSequence[Union[int, float, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

The inner camera parameters of a camera.

RowChangedRowChangedRowChangedRowChangedrowChangedrow_changed (output_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Row component of pixel coordinates after changing the radial distortion.

ColChangedColChangedColChangedColChangedcolChangedcol_changed (output_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Column component of pixel coordinates after changing the radial distortion.

Result

change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points returns TRUE if all parameter values are correct.

See also

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par, camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationCameraCalibrationcamera_calibration, read_cam_parread_cam_parReadCamParReadCamParReadCamParread_cam_par, change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld, change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImageChangeRadialDistortionImagechange_radial_distortion_image

Module

Calibration