change_radial_distortion_cam_parT_change_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par — Determine new camera parameters in accordance to the specified
radial distortion.
change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par modifies the internal
camera parameters in accordance to the specified radial distortion
coefficients DistortionCoeffsDistortionCoeffsDistortionCoeffsDistortionCoeffsdistortionCoeffsdistortion_coeffs. The operator can only be
used for area scan cameras (with any lens type) and for line scan
cameras with telecentric lenses. Line scan cameras with perspective
lenses are not supported.
Only the distortion coefficients are modified, the other
internal camera parameters remain unchanged. In general, this leads
to a change of the visible part of the scene.
For area scan cameras, the scale factors
and and the image center point
are modified in order to preserve
the visible part of the scene. For line scan cameras with
telecentric lenses, the scale factor , the
image center point , and
the component of the motion vector are
changed to achieve the this effect. Thus, all points
visible in the original image are also visible in the
modified (rectified) image. In general, this leads to
undefined pixels in the modified image.
A trade-off between the other modes: The visible part of the
scene is slightly reduced to prevent undefined pixels in the
modified image. The same parameters as for
'fullsize'"fullsize""fullsize""fullsize""fullsize""fullsize" are modified.
As in the mode 'fullsize'"fullsize""fullsize""fullsize""fullsize""fullsize", all points visible in
the original image are also visible in the modified
(rectified) image. For area scan cameras, the scale factors
and and the image center
point are modified. For
line scan cameras with telecentric lenses, the scale factor
, the image center point
, and potentially the
component of the motion vector are changed
to achieve the this effect. In general, this leads to
undefined pixels in the modified image. In contrast to the
mode 'fullsize'"fullsize""fullsize""fullsize""fullsize""fullsize", additionally the size of the
modified image is increased such that the image resolution
does not decrease in any part of the image.
change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par returns 2 (H_MSG_TRUE) if all
parameter values are correct. If necessary, an exception is
raised.