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_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points changes the radial distortion of input image coordinates (RowRowRowrowrow, ColColColcolcol) in accordance to the internal camera parameters CamParamInCamParamInCamParamIncamParamIncam_param_in and CamParamOutCamParamOutCamParamOutcamParamOutcam_param_out. Each input pixel (RowRowRowrowrow, ColColColcolcol) is transformed into the image plane using CamParamInCamParamInCamParamIncamParamIncam_param_in and projected into another image using CamParamOutCamParamOutCamParamOutcamParamOutcam_param_out.

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

Execution Information

Parameters

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

Original row component of pixel coordinates.

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

Original column component of pixel coordinates.

CamParamInCamParamInCamParamIncamParamIncam_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.

CamParamOutCamParamOutCamParamOutcamParamOutcam_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.

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

Row component of pixel coordinates after changing the radial distortion.

ColChangedColChangedColChangedcolChangedcol_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_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points returns 2 ( H_MSG_TRUE) if all parameter values are correct.

See also

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par, camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationcamera_calibration, read_cam_parread_cam_parReadCamParReadCamParread_cam_par, change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld, change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImagechange_radial_distortion_image

Module

Calibration