Skip to content

change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_pointsT_change_radial_distortion_points🔗

Short description🔗

change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_pointsT_change_radial_distortion_points — Change the radial distortion of pixel coordinates.

Signature🔗

change_radial_distortion_points( real Row, real Col, campar CamParamIn, campar CamParamOut, out real RowChanged, out real ColChanged )change_radial_distortion_points( : : Row, Col, CamParamIn, CamParamOut : RowChanged, ColChanged )void ChangeRadialDistortionPoints( const HTuple& Row, const HTuple& Col, const HTuple& CamParamIn, const HTuple& CamParamOut, HTuple* RowChanged, HTuple* ColChanged )static void HOperatorSet.ChangeRadialDistortionPoints( HTuple row, HTuple col, HTuple camParamIn, HTuple 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]]

Herror T_change_radial_distortion_points( 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

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

Description🔗

change_radial_distortion_pointsChangeRadialDistortionPoints changes the radial distortion of input image coordinates (Rowrowrow, Colcolcol) in accordance to the internal camera parameters CamParamIncamParamIncam_param_in and CamParamOutcamParamOutcam_param_out. Each input pixel (Rowrowrow, Colcolcol) is transformed into the image plane using CamParamIncamParamIncam_param_in and projected into another image using CamParamOutcamParamOutcam_param_out.

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

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Rowrowrow (input_control) real-array → (real)(real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Original row component of pixel coordinates.

Colcolcol (input_control) real-array → (real)(real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Original column component of pixel coordinates.

CamParamIncamParamIncam_param_in (input_control) campar → (real / integer / string)(real / integer / string)HTuple (double / Hlong / HString)HCamPar, HTuple (double / int / long / string)Sequence[Union[int, float, str]]Htuple (double / Hlong / char*)

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

CamParamOutcamParamOutcam_param_out (input_control) campar → (real / integer / string)(real / integer / string)HTuple (double / Hlong / HString)HCamPar, HTuple (double / int / long / string)Sequence[Union[int, float, str]]Htuple (double / Hlong / char*)

The inner camera parameters of a camera.

RowChangedrowChangedrow_changed (output_control) real-array → (real)(real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Row component of pixel coordinates after changing the radial distortion.

ColChangedcolChangedcol_changed (output_control) real-array → (real)(real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Column component of pixel coordinates after changing the radial distortion.

Result🔗

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

Combinations with other operators🔗

Combinations

See also

change_radial_distortion_cam_parChangeRadialDistortionCamPar, camera_calibrationCameraCalibration, read_cam_parReadCamPar, change_radial_distortion_contours_xldChangeRadialDistortionContoursXld, change_radial_distortion_imageChangeRadialDistortionImage

Module🔗

Calibration