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);
You can also use the pylon Viewer to easily set the parameters.