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

Gain(dart E)#

Gain 카메라 기능을 사용하면 카메라에서 출력되는 이미지의 밝기를 높일 수 있습니다.

Gain을 높이면 이미지의 모든 픽셀 값이 증가합니다.

Gain 값을 자동으로 조정하려면 Gain Auto 기능을 사용하십시오.

기능 사용#

Gain 설정 구성#

  1. 파라미터를 원하는 GainAuto 파라메터 Off.
  2. 파라미터를 원하는 Gain parameter를 필요한 값으로 설정합니다.
    최소 및 최대 parameter 값은 카메라 모델에 따라 다릅니다., 선택한 Pixel Format 및 Binning 설정.

세부 정보#

아날로그 및 디지털 Gain#

아날로그 Gain은 카메라 센서의 신호가 디지털 값으로 변환되기 전에 적용됩니다. 디지털 Gain은 변환 후에 적용되며, 즉 기본적으로 디지털화된 값의 곱셈입니다.

Gain 값#

Camera Model 최소 Gain 설정 Vertical Binning이 활성화된 상태에서의 최소 Gain 설정 최대 Gain 설정(8-bit Pixel Format) 최대 Gain 설정(10-bit Pixel Format) 최대 Gain 설정(12-bit Pixel Format)
daA2500-60mc 0 - 26.85 - -
daA2500-60mci 0 지원되지 않음 33.98 - -
daA3840-30mc 0 - 15.56 - -
daA4200-30mci 0 지원되지 않음 33.06 - -

샘플 코드#

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

pylon Viewer를 사용하여 매개변수를 간편하게 설정할 수도 있습니다.