HALCON Reference Manual 10.0.2
Table of Contents / Calibration / Rectification ClassesClassesClasses | | | Operators

change_radial_distortion_contours_xldT_change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld (Operator)

Name

change_radial_distortion_contours_xldT_change_radial_distortion_contours_xldchange_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 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_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXld 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_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar, the contours ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified are equivalent to ContoursContoursContoursContourscontours 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

ContoursContoursContoursContourscontours (input_object)  xld_cont(-array) objectHXLDContHXLDContHXLDContXHobject

Original contours.

ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified (output_object)  xld_cont(-array) objectHXLDContHXLDContHXLDContXHobject *

Resulting contours with modified radial distortion.

CamParamInCamParamInCamParamInCamParamIncamParamIn (input_control)  real-array HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Internal camera parameter for ContoursContoursContoursContourscontours.

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

CamParamOutCamParamOutCamParamOutCamParamOutcamParamOut (input_control)  real-array HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Internal camera parameter for ContoursRectifiedContoursRectifiedContoursRectifiedContoursRectifiedcontoursRectified.

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

Possible Predecessors

change_radial_distortion_cam_parchange_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar, gen_contours_skeleton_xldgen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXld, edges_sub_pixedges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPix, smooth_contours_xldsmooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXld

Possible Successors

gen_polygons_xldgen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXld, smooth_contours_xldsmooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXld

See also

change_radial_distortion_cam_parchange_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamPar, camera_calibrationcamera_calibrationcamera_calibrationCameraCalibrationCameraCalibration, read_cam_parread_cam_parread_cam_parReadCamParReadCamPar, change_radial_distortion_imagechange_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImage, change_radial_distortion_pointschange_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPoints

Module

Calibration


Table of Contents / Calibration / Rectification ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH