콘텐츠로 바로 가기
STAGING SERVER
DEVELOPMENT SERVER

Flare Removal (dart E)#

카메라를 강한 광원을 향하게 하면 촬영된 이미지에 렌즈 플레어 아티팩트가 발생할 수 있습니다. Flare Removal 자동 기능을 사용하면 이러한 아티팩트를 제거할 수 있습니다.

기능 사용#

플레어 제거 기능을 활성화 또는 비활성화하려면 BslFlareRemovalAuto 파라미터를 다음 Operating Mode 중 하나로 설정하십시오.

  • Continuous: 카메라가 이미지를 획득하는 동안 렌즈 플레어 아티팩트를 지속적으로 제거합니다.
  • Off: Flare Removal 자동 기능을 비활성화합니다.

샘플 코드#

// Enable Flare Removal by setting the operating mode to Continuous
camera.BslFlareRemovalAuto.SetValue(BslFlareRemovalAuto_Continuous);
INodeMap& nodemap = camera.GetNodeMap();
// Enable Flare Removal by setting the operating mode to Continuous
CEnumParameter(nodemap, "BslFlareRemovalAuto").SetValue("Continuous");
// Enable Flare Removal by setting the operating mode to Continuous
camera.Parameters[PLCamera.BslFlareRemovalAuto].SetValue(PLCamera.BslFlareRemovalAuto.Continuous);
/* 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);
# Enable Flare Removal by setting the operating mode to Continuous
camera.BslFlareRemovalAuto.Value = "Continuous"

pylon Viewer를 사용하여 매개변수를 간편하게 설정할 수도 있습니다.