ClassesClasses | | Operators

change_radial_distortion_contours_xldT_change_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld (Operator)

Name

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

Description

change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld changes the radial distortion of the input contours ContoursContoursContoursContourscontours in accordance to the internal camera parameters CamParamInCamParamInCamParamInCamParamIncamParamIn and CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut. Each subpixel of an input contour is transformed into the image plane using CamParamInCamParamInCamParamInCamParamIncamParamIn and subsequently projected into a subpixel of the corresponding contour in ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified using CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut.

If CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut was computed via change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamPar, the contours ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified are equivalent to ContoursContoursContoursContourscontours 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_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld does not work for line scan cameras.

Execution Information

Parameters

ContoursContoursContoursContourscontours (input_object)  xld_cont(-array) objectHXLDContHXLDContHobject

Original contours.

ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified (output_object)  xld_cont(-array) objectHXLDContHXLDContHobject *

Resulting contours with modified radial distortion.

CamParamInCamParamInCamParamInCamParamIncamParamIn (input_control)  campar HCamPar, HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Internal camera parameter for ContoursContoursContoursContourscontours.

CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut (input_control)  campar HCamPar, HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Internal camera parameter for ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified.

Possible Predecessors

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamPar, gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXld, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPix, smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXld

Possible Successors

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXld, smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXld

See also

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamPar, camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationCameraCalibration, read_cam_parread_cam_parReadCamParReadCamParReadCamPar, change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImageChangeRadialDistortionImage, change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPoints

Module

Calibration


ClassesClasses | | Operators