Flare Removal (dart E)#
该功能的使用#
若要启用或禁用 Flare Removal,请将 BslFlareRemovalAuto 参数设置为以下工作模式之一:
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 轻松设置参数。