コンテンツにスキップ

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. Set the 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を使用して、パラメーターを簡単に設定することもできます。