消除眩光 (dart E)#
使用功能#
若要啟用或停用眩光消除功能,請設定 BslFlareRemovalAuto 參數設為下列其中一個 Operating Mode:
Continuous: 相機在拍攝過程中會持續消除鏡頭眩光造成的雜訊。Off: 停用「去除眩光」的自動功能。
範例程式碼#
/* 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 輕鬆設定參數。