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

Backlight Compensation#

Backlight Compensation 카메라 기능을 사용하면 카메라가 과소노출된 이미지 영역을 보정할 수 있습니다.

기능 사용#

작동 방식#

촬영 대상 뒤쪽에 밝은 광원이 있는 경우 대상이 과소노출되어 실루엣처럼 보일 수 있습니다. Backlight Compensation 기능을 사용하면 카메라가 이러한 현상을 보정할 수 있습니다.

이 기능이 활성화되면 이미지에서 가장 밝은 픽셀의 지정된 백분율(즉, 픽셀 값이 가장 높은 픽셀)은 Gain Auto 및 Exposure Auto 자동 기능이 수행하는 대상 밝기 값 계산에서 제외됩니다.

예를 들어 파라미터 값을 0.3으로 설정하면 이미지에서 가장 밝은 픽셀의 30%가 대상 값 계산에서 제외된다는 의미입니다.

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

Backlight Compensation 조정#

역광 보정을 조정하려면:

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

샘플 코드#

// 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를 사용하여 파라미터를 손쉽게 설정할 수도 있습니다.