跳转到内容

Distortion Correction#

Distortion Correction 功能会自动校正图像中的光学失真。

失真是光学像差的一种形式,它会导致几何成像误差,即图像中的直线看起来不直。

该功能的使用#

运作原理#

All Basler blaze cameras are calibrated at the Basler factory. The calibration includes the DistortionCorrection parameter. When enabled, this feature automatically removes any distortion effects. The feature uses the distortion coefficients of the Brown-Conrady model that allow correction of both radial and tangential distortion.

通常,应该始终启用校正。如果禁用,则不会执行自动失真校正,并且深度图和强度图像具有失真误差,会对测量精度产生负面影响。

Depending on the camera model, different mapping functions are used for the correction.

The blaze-101 and blaze-102 use the distortion coefficients of the Brown-Conrady model. The radial distortions are corrected using the following two coefficients:

xd = (1 + k1r2 + k2r4) * xu

其中 r is the distance to the principal point

For the blaze-112, the general camera model for wide-angle and fisheye lenses is used. Four coefficients are used here. These are sufficient to map the projection curves with acceptable accuracy.

r(θ) = θ + k1θ3 + k2θ5 + k3θ7 + k4θ9

The distortion coefficients are specific to each camera and can be read out via the Scan3dDistortionCoefficientSelector and Scan3dDistortionCoefficientValue parameters if distortion correction is disabled.

禁用 Distortion Correction#

If you prefer to correct distortion effects yourself, disable the DistortionCorrection parameter.

pylon blaze 补充软件包随附的 Distortion Correction 示例解释了此过程并告诉您如何计算已更正的点云。