跳至內容
測試伺服器
開發伺服器

Blooming Reduction#

Blooming Reduction 相機功能可讓您減少因強光暈眩 (blooming) 所造成的影像假影。

使用功能#

啟用 Blooming Reduction#

若要啟用 Blooming Reduction:

  1. 請確保相機處於閒置狀態,也就是未擷取影像。
  2. 將相機中的 BslBloomingReductionEnable 參數設為 true.

資訊

當啟用 Blooming Reduction 功能時,相機可能會將 Gain 參數設為較高的值,以避免產生不想要的影像效果。

範例程式碼#

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

您也可以 use the pylon Viewer 來輕鬆設定參數。