Flare Removal (dart E)#
使用功能#
若要啟用或停用眩光移除,請將 BslFlareRemovalAuto 參數設為下列其中一個 Operating Mode:
Continuous:相機在擷取影像時會持續移除鏡頭眩光偽影。Off:停用 Flare Removal 自動功能。
範例程式碼#
/* 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 Flare Removal by setting the operating mode to Continuous */
errRes = PylonDeviceFeatureFromString(hdev, "BslFlareRemovalAuto", "Continuous");
CHECK(errRes);
您也可以使用 pylon Viewer 輕鬆設定參數。