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.
|
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. | |
::change_radial_distortion_cam_par, ::gen_contours_skeleton_xld, ::edges_sub_pix, ::smooth_contours_xld
::gen_polygons_xld, ::smooth_contours_xld
::change_radial_distortion_cam_par, ::camera_calibration, ::read_cam_par, ::change_radial_distortion_image
Camera calibration