Flare Removal (dart E)#
该功能的使用#
To enable or disable flare removal, set the BslFlareRemovalAuto
参数设置为以下工作模式之一:
Continuous
: The camera removes lens flare artifacts continuously while images are being acquired.Off
: Disables the Flare Removal auto function.
示例代码#
/* 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);
You can also use the pylon Viewer to easily set the parameters.