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

Line Noise Reduction#

Line Noise Reduction 카메라 기능을 사용하면 이미지의 수평 스트라이프를 줄일 수 있습니다.

기능 사용#

작동 방식#

이미지를 확인할 때 "라인 노이즈"라고도 하는 원치 않는 수평 스트라이프가 나타날 수 있습니다.

일반적으로 Line Noise Reduction 기능을 활성화하면 이 현상이 크게 줄어듭니다:

Line noise reduction 비활성화됨Line noise reduction 활성화됨

Line Noise Reduction 활성화#

Line noise reduction을 활성화하려면:

  1. 파라미터를 원하는 BslLineNoiseReductionEnable 파라메터 true.
  2. 파라미터를 원하는 BslLineNoiseReduction 파라미터를 0.0에서 1.0 사이의 값으로 설정합니다.
    적용할 Line noise reduction의 양을 조정합니다. 값이 높을수록 이미지에 보이는 라인 노이즈(수평 스트라이프)가 줄어듭니다. 단, 지나치게 높은 값은 이미지 정보 손실을 초래할 수 있습니다.

샘플 코드#

// Enable line noise reduction
camera.BslLineNoiseReductionEnable.SetValue(true);
// Adjust the amount of line noise reduction
camera.BslLineNoiseReduction.SetValue(0.5);
INodeMap& nodemap = camera.GetNodeMap();
// Enable line noise reduction
CBooleanParameter(nodemap, "BslLineNoiseReductionEnable").SetValue(true);
// Adjust the amount of line noise reduction
CFloatParameter(nodemap, "BslLineNoiseReduction").SetValue(0.5);
// Enable line noise reduction
camera.Parameters[PLCamera.BslLineNoiseReductionEnable].SetValue(true);
// Adjust the amount of line noise reduction
camera.Parameters[PLCamera.BslLineNoiseReduction].SetValue(0.5);
/* 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 line noise reduction */
errRes = PylonDeviceSetBooleanFeature(hdev, "BslLineNoiseReductionEnable", 1);
CHECK(errRes);
/* Adjust the amount of line noise reduction */
errRes = PylonDeviceSetFloatFeature(hdev, "BslLineNoiseReduction", 0.5);
CHECK(errRes);
# Enable line noise reduction
camera.BslLineNoiseReductionEnable.Value = True
# Adjust the amount of line noise reduction
camera.BslLineNoiseReduction.Value = 0.5

pylon Viewer를 사용하여 파라미터를 손쉽게 설정할 수도 있습니다.