change_radial_distortion_contours_xld T_change_radial_distortion_contours_xld ChangeRadialDistortionContoursXld ChangeRadialDistortionContoursXld change_radial_distortion_contours_xld (Operator)
change_radial_distortion_contours_xld T_change_radial_distortion_contours_xld ChangeRadialDistortionContoursXld ChangeRadialDistortionContoursXld change_radial_distortion_contours_xld
— Change the radial distortion of contours.
Signature
def change_radial_distortion_contours_xld (contours : HObject, cam_param_in : Sequence[Union[int, float, str]], cam_param_out : Sequence[Union[int, float, str]]) -> HObject
Description
change_radial_distortion_contours_xld change_radial_distortion_contours_xld ChangeRadialDistortionContoursXld ChangeRadialDistortionContoursXld change_radial_distortion_contours_xld
changes the radial
distortion of the input contours Contours Contours Contours contours contours
in accordance to the
internal camera parameters CamParamIn CamParamIn CamParamIn camParamIn cam_param_in
and CamParamOut CamParamOut CamParamOut camParamOut cam_param_out
.
Each subpixel of an input contour is transformed into the image plane
using CamParamIn CamParamIn CamParamIn camParamIn cam_param_in
and subsequently projected into a subpixel
of the corresponding contour in ContoursRectified ContoursRectified ContoursRectified contoursRectified contours_rectified
using
CamParamOut CamParamOut CamParamOut camParamOut cam_param_out
.
If CamParamOut CamParamOut CamParamOut camParamOut cam_param_out
was computed via
change_radial_distortion_cam_par change_radial_distortion_cam_par ChangeRadialDistortionCamPar ChangeRadialDistortionCamPar change_radial_distortion_cam_par
, the contours
ContoursRectified ContoursRectified ContoursRectified contoursRectified contours_rectified
are equivalent to Contours Contours Contours contours contours
obtained with a lens with a modified
radial distortion
. If
the contours
are rectified. A subsequent pose estimation (determination of the
external camera parameters) is not affected by this operation.
Please note that change_radial_distortion_contours_xld change_radial_distortion_contours_xld ChangeRadialDistortionContoursXld ChangeRadialDistortionContoursXld change_radial_distortion_contours_xld
does
not work for line scan cameras with perspective lenses.
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
Contours Contours Contours contours contours
(input_object) xld_cont(-array) →
object HXLDCont HObject HObject Hobject
Original contours.
ContoursRectified ContoursRectified ContoursRectified contoursRectified contours_rectified
(output_object) xld_cont(-array) →
object HXLDCont HObject HObject Hobject *
Resulting contours with modified radial distortion.
CamParamIn CamParamIn CamParamIn camParamIn cam_param_in
(input_control) campar →
HCamPar , HTuple Sequence[Union[int, float, str]] HTuple Htuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Internal camera parameter for Contours Contours Contours contours contours
.
Possible Predecessors
change_radial_distortion_cam_par change_radial_distortion_cam_par ChangeRadialDistortionCamPar ChangeRadialDistortionCamPar change_radial_distortion_cam_par
,
gen_contours_skeleton_xld gen_contours_skeleton_xld GenContoursSkeletonXld GenContoursSkeletonXld gen_contours_skeleton_xld
,
edges_sub_pix edges_sub_pix EdgesSubPix EdgesSubPix edges_sub_pix
,
smooth_contours_xld smooth_contours_xld SmoothContoursXld SmoothContoursXld smooth_contours_xld
Possible Successors
gen_polygons_xld gen_polygons_xld GenPolygonsXld GenPolygonsXld gen_polygons_xld
,
smooth_contours_xld smooth_contours_xld SmoothContoursXld SmoothContoursXld smooth_contours_xld
See also
change_radial_distortion_cam_par change_radial_distortion_cam_par ChangeRadialDistortionCamPar ChangeRadialDistortionCamPar change_radial_distortion_cam_par
,
camera_calibration camera_calibration CameraCalibration CameraCalibration camera_calibration
,
read_cam_par read_cam_par ReadCamPar ReadCamPar read_cam_par
,
change_radial_distortion_image change_radial_distortion_image ChangeRadialDistortionImage ChangeRadialDistortionImage change_radial_distortion_image
,
change_radial_distortion_points change_radial_distortion_points ChangeRadialDistortionPoints ChangeRadialDistortionPoints change_radial_distortion_points
Module
Calibration