Herror ::change_radial_distortion_contours_xld (
    Hobject Contours,
    Hobject *ContoursRectified,
    const HTuple &CamParIn,
    const HTuple &CamParOut
)
HXLDCont HXLDCont::ChangeRadialDistortionContoursXld (
    const HTuple &CamParIn,
    const HTuple &CamParOut
) const
HXLDContArray HXLDContArray::ChangeRadialDistortionContoursXld (
    const HTuple &CamParIn,
    const HTuple &CamParOut
) const

Change the radial distortion of contours.

::change_radial_distortion_contours_xld changes the radial distortion of the input contours Contours in accordance to the internal camera parameters CamParIn and CamParOut. Each subpixel of an input contour is transformed into the image plane using CamParIn and subsequently projected into a subpixel of the corresponding contour in ContoursRectified using CamParOut.

If CamParOut was computed via ::change_radial_distortion_cam_par, the contours ContoursRectified are equivalent to Contours obtained with a lense 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.


Parameters

Contours (input_object)
xld_cont(-array) -> Hobject: HXLDCont(Array)
Original contours.

ContoursRectified (output_object)
xld_cont(-array) -> Hobject * : HXLDCont(Array)
Resulting contours with modified radial distortion.

CamParIn (input_control)
real-array -> HTuple.double
Internal camera parameter for Contours.

CamParOut (input_control)
real-array -> HTuple.double
Internal camera parameter for ContoursRectified.


Possible Predecessors

::change_radial_distortion_cam_par, ::gen_contours_skeleton_xld, ::edges_sub_pix, ::smooth_contours_xld


Possible Successors

::gen_polygons_xld, ::smooth_contours_xld


See also

::change_radial_distortion_cam_par, ::camera_calibration, ::read_cam_par, ::change_radial_distortion_image


Module

Camera calibration



Copyright © 1996-2002 MVTec Software GmbH