콘텐츠로 바로 가기
스테이징 서버
개발 서버

Backlight Compensation#

Backlight Compensation camera feature는 카메라가 노출이 부족한 이미지 영역을 보정할 수 있도록 해줍니다.

Using the Feature#

작동 방식#

이미지 대상 뒤에 밝은 광원이 있는 경우 대상의 노출이 부족해져 실루엣처럼 보일 수 있습니다. Backlight Compensation 기능을 사용하면 카메라가 이 현상을 보정할 수 있습니다.

이 기능이 활성화되면 이미지에서 가장 밝은 픽셀의 지정된 백분율(즉, 픽셀 값이 가장 높은 픽셀)은 Gain Auto 및 Exposure Auto 자동 기능에 의해 수행되는 target brightness value calculations 시 고려되지 않습니다.

예를 들어 파라미터 값을 0.3으로 설정하면 이미지에서 가장 밝은 픽셀의 30%가 타겟 값 계산 시 고려되지 않음을 의미합니다.

이를 통해 카메라는 이미지의 어두운 영역을 적절하게 노출시킬 수 있습니다.

Backlight Compensation 조정#

Backlight Compensation을 조정하려면:

  1. Exposure Auto 자동 기능, Gain Auto 자동 기능 또는 둘 다를 활성화합니다.
  2. 다음 항목의 값을 입력하세요. AutoBacklightCompensation 파라미터입니다. 파라미터의 값 범위는 0에서 0.5까지입니다.

Sample Code#

// Set the AutoBacklightCompensation parameter to 0.3
camera.AutoBacklightCompensation.SetValue(0.3);
INodeMap& nodemap = camera.GetNodeMap();
// Set the AutoBacklightCompensation parameter to 0.3
CFloatParameter(nodemap, "AutoBacklightCompensation").SetValue(0.3);
// Set the AutoBacklightCompensation parameter to 0.3
camera.Parameters[PLCamera.AutoBacklightCompensation].SetValue(0.3);
/* 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 */
/* Set the AutoBacklightCompensation parameter to 0.3 */
errRes = PylonDeviceSetFloatFeature(hdev, "AutoBacklightCompensation", 0.3);
CHECK(errRes);
# Set the AutoBacklightCompensation parameter to 0.3
camera.AutoBacklightCompensation.Value = 0.3

또한 pylon Viewer를 사용하여 파라미터를 간편하게 설정할 수 있습니다.