콘텐츠로 건너뛰기
STAGING SERVER
DEVELOPMENT SERVER

Line Noise Reduction#

Line Noise Reduction camera feature를 사용하면 이미지의 가로 줄무늬를 줄일 수 있습니다.

기능 사용법#

작동 원리#

이미지를 확인할 때 "라인 노이즈"라고도 하는 원치 않는 가로 줄무늬가 나타날 수 있습니다.

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

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

Line Noise Reduction 활성화#

Line noise reduction을 활성화하려면:

  1. 다음 값 중 하나로 BslLineNoiseReductionEnable 매개변수: true.
  2. 다음 값 중 하나로 BslLineNoiseReduction parameter를 0.0에서 1.0 사이의 값으로 설정합니다.
    적용할 line noise reduction의 양을 조절합니다. 값이 높을수록 이미지에 나타나는 line noise(가로 줄무늬)가 줄어듭니다. 단, 지나치게 높은 값을 설정하면 이미지 정보가 손실될 수 있습니다.

샘플 코드#

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