콘텐츠로 건너뛰기
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"

You can also use the pylon Viewer to easily set the parameters.