Skip to content

Blooming Reduction#

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

Using the Feature#

Enabling Blooming Reduction#

To enable blooming reduction:

  1. Make sure the camera is idle, i.e., not capturing images.
  2. Set the BslBloomingReductionEnable parameter to true.

Info

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

Sample Code#

// 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

You can also use the pylon Viewer to easily set the parameters.