跳转到内容

Blooming Reduction#

The Blooming Reduction camera feature allows you to reduce image artifacts caused by blooming.

该功能的使用#

Enabling Blooming Reduction#

To enable blooming reduction:

  1. 确保相机空闲,即未在捕获图像。
  2. 设置 BslBloomingReductionEnable parameter to true.

信息

When the Blooming Reduction feature is enabled, the camera may set the Gain parameter to a higher value to avoid unwanted image effects.

示例代码#

// Enable blooming reduction
camera.BslBloomingReductionEnable.SetValue(true);
INodeMap& nodemap = camera.GetNodeMap();
// Enable blooming reduction
CBooleanParameter(nodemap, "BslBloomingReductionEnable").SetValue(true);
// Enable blooming reduction
camera.Parameters[PLCamera.BslBloomingReductionEnable].SetValue(true);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Enable blooming reduction */
errRes = PylonDeviceSetBooleanFeature(hdev, "BslBloomingReductionEnable", 1);
CHECK(errRes);
# Enable blooming reduction
camera.BslBloomingReductionEnable.Value = True

您也可以使用 pylon Viewer 轻松设置参数。