ClassesClassesClassesClasses | | | | Operators

change_radial_distortion_contours_xldT_change_radial_distortion_contours_xldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld (Operator)

Name

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

Herror change_radial_distortion_contours_xld(Hobject Contours, Hobject* ContoursRectified, const HTuple& CamParamIn, const HTuple& CamParamOut)

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

HXLDContArray HXLDContArray::ChangeRadialDistortionContoursXld(const HTuple& CamParamIn, const HTuple& CamParamOut) const

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

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

void HOperatorSetX.ChangeRadialDistortionContoursXld(
[in] IHUntypedObjectX* Contours, [out] IHUntypedObjectX*ContoursRectified, [in] VARIANT CamParamIn, [in] VARIANT CamParamOut)

IHXLDContX* HXLDContX.ChangeRadialDistortionContoursXld(
[in] VARIANT CamParamIn, [in] VARIANT CamParamOut)

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

HXLDCont HXLDCont.ChangeRadialDistortionContoursXld(HTuple camParamIn, HTuple camParamOut)

Description

change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld changes the radial distortion of the input contours ContoursContoursContoursContoursContourscontours in accordance to the internal camera parameters CamParamInCamParamInCamParamInCamParamInCamParamIncamParamIn and CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut. Each subpixel of an input contour is transformed into the image plane using CamParamInCamParamInCamParamInCamParamInCamParamIncamParamIn and subsequently projected into a subpixel of the corresponding contour in ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified using CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut.

If CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut was computed via change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar, the contours ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified are equivalent to ContoursContoursContoursContoursContourscontours obtained with a lens with a modified radial distortion. If Kappa is 0 the contours are rectified. A subsequent pose estimation (determination of the external camera parameters) is not affected by this operation.

Parallelization

Parameters

ContoursContoursContoursContoursContourscontours (input_object)  xld_cont(-array) objectHXLDContHXLDContHXLDContHXLDContXHobject

Original contours.

ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified (output_object)  xld_cont(-array) objectHXLDContHXLDContHXLDContHXLDContXHobject *

Resulting contours with modified radial distortion.

CamParamInCamParamInCamParamInCamParamInCamParamIncamParamIn (input_control)  real-array HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Internal camera parameter for ContoursContoursContoursContoursContourscontours.

Number of elements: CamParamIn == 8 || CamParamIn == 12

CamParamOutCamParamOutCamParamOutCamParamOutCamParamOutcamParamOut (input_control)  real-array HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Internal camera parameter for ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified.

Number of elements: CamParamOut == 8 || CamParamOut == 12

Possible Predecessors

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar, gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXld, edges_sub_pixedges_sub_pixEdgesSubPixedges_sub_pixEdgesSubPixEdgesSubPix, smooth_contours_xldsmooth_contours_xldSmoothContoursXldsmooth_contours_xldSmoothContoursXldSmoothContoursXld

Possible Successors

gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld, smooth_contours_xldsmooth_contours_xldSmoothContoursXldsmooth_contours_xldSmoothContoursXldSmoothContoursXld

See also

change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar, camera_calibrationcamera_calibrationCameraCalibrationcamera_calibrationCameraCalibrationCameraCalibration, read_cam_parread_cam_parReadCamParread_cam_parReadCamParReadCamPar, change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImage, change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPoints

Module

Calibration


ClassesClassesClassesClasses | | | | Operators