change_radial_distortion_contours_xldT_change_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld (Operator)

Name

change_radial_distortion_contours_xldT_change_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld — Change the radial distortion of contours.

Signature

change_radial_distortion_contours_xld(Contours : ContoursRectified : CamParamIn, CamParamOut : )

Herror T_change_radial_distortion_contours_xld(const Hobject Contours, Hobject* ContoursRectified, const Htuple CamParamIn, const Htuple CamParamOut)

void ChangeRadialDistortionContoursXld(const HObject& Contours, HObject* ContoursRectified, const HTuple& CamParamIn, const HTuple& CamParamOut)

HXLDCont HXLDCont::ChangeRadialDistortionContoursXld(const HCamPar& CamParamIn, const HCamPar& CamParamOut) const

HXLDCont HCamPar::ChangeRadialDistortionContoursXld(const HXLDCont& Contours, const HCamPar& CamParamOut) const

static void HOperatorSet.ChangeRadialDistortionContoursXld(HObject contours, out HObject contoursRectified, HTuple camParamIn, HTuple camParamOut)

HXLDCont HXLDCont.ChangeRadialDistortionContoursXld(HCamPar camParamIn, HCamPar camParamOut)

HXLDCont HCamPar.ChangeRadialDistortionContoursXld(HXLDCont contours, HCamPar camParamOut)

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_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld changes the radial distortion of the input contours ContoursContoursContoursContourscontourscontours in accordance to the internal camera parameters CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in and CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out. Each subpixel of an input contour is transformed into the image plane using CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in and subsequently projected into a subpixel of the corresponding contour in ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectifiedcontours_rectified using CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out.

If CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out was computed via change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par, the contours ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectifiedcontours_rectified are equivalent to ContoursContoursContoursContourscontourscontours 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_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld does not work for line scan cameras with perspective lenses.

Execution Information

Parameters

ContoursContoursContoursContourscontourscontours (input_object)  xld_cont(-array) objectHXLDContHObjectHXLDContHobject

Original contours.

ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectifiedcontours_rectified (output_object)  xld_cont(-array) objectHXLDContHObjectHXLDContHobject *

Resulting contours with modified radial distortion.

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*)

Internal camera parameter for ContoursContoursContoursContourscontourscontours.

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*)

Internal camera parameter for ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectifiedcontours_rectified.

Possible Predecessors

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par, gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPixedges_sub_pix, smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXldsmooth_contours_xld

Possible Successors

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld, smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXldsmooth_contours_xld

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_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImageChangeRadialDistortionImagechange_radial_distortion_image, change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points

Module

Calibration