跳转到内容

PGI Feature Set (CXP Interface Cards)#

PGI 功能集可让您优化图像质量。

PGI 功能集的主要目的是优化图像以满足人类视觉需求。它结合了多达四个图像优化流程。

该功能的使用#

运作原理#

Depending on your applet, a selection of the following image optimizations will be performed:

去噪功能#

降噪(也称为“去噪”)可减少图像中亮度或颜色信息的随机变化。

锐化增强功能#

此优化可提高图像的锐度。锐度越高,图像对象的轮廓就越清晰。这在相机必须正确识别数字或字母的应用中特别有用。

5×5 去马赛克功能#

5×5 拜尔解码(也称为“去马赛克”)在传感器上 5×5 像素的区域上进行颜色插值,因此比相机通过其他方式使用的“简单”2×2 拜尔解码更为精细。

彩色抗锯齿功能#

颜色误差(特别是在尖锐边缘和具有高空间频率的图像部分)是去马赛克算法的常见副作用。甚至无色结构也可能突然看起来有颜色。彩色抗锯齿功能能够优化分析并校正变色。

有关 PGI 图像优化的更多信息,请参见“通过 Basler PGI 提高图像质量”白皮书。

启用 PGI Feature Set#

The implementation of this feature may varies depending on the applet and frame grabber / interface card:

Enhanced Applets on the CXP-12 Frame Grabber/ Interface cards#

To enable the PGI image optimizations on Basler a frame grabber:

  • Make sure your camera is in Bayer mode and debayering is done on the frame grabber as described in Performing Debayering on the Interface Card/Frame Grabber

  • PGI image optimizations are enabled automatically when any of the following parameters isn't set to its default value and your frame grabber is used to debayer the image:

    • NoiseReduction
    • SharpnessEnhancement

设置 PGI 图像优化#

启用 PGI 功能集之后,您可以配置各图像优化流程。

Which image optimizations are available and can be configured depends on your applet and frame grabber / interface card.

配置去噪功能#

If this optimization is configurable for your camera, set the NoiseReduction parameter to specify the desired noise reduction. The higher the parameter value, the more noise reduction is applied.

If this optimization isn't configurable, noise reduction is applied automatically.

去噪最好与锐化增强功能一起使用。如果参数值设置得太高,图像中的精细结构可能变得模糊甚至消失。

配置锐化增强功能#

If this optimization is configurable for your camera, set the SharpnessEnhancement parameter to specify the desired level of sharpness. The higher the parameter value, the more sharpening is applied.

如果此优化不可配置,则会自动应用锐化增强。

在大多数情况下,在较低的参数值设置下以及同时使用去噪功能时可获得最佳结果。

配置 5×5 去马赛克功能#

5×5 debayering is performed automatically whenever the PGI feature set is enabled. You can't configure this optimization.

配置彩色抗锯齿功能#

Color anti-aliasing is performed automatically whenever the PGI feature set is enabled. You can't configure this optimization.