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

Sensor Acquisition Mode#

Sensor Acquisition Mode camera feature를 사용하면 이미지 취득에 사용할 센서 라인 수를 결정할 수 있습니다.

이 기능은 Basler racer 2 L 및 racer 2 XL 카메라에서만 사용할 수 있습니다.

카메라에 싱글, 듀얼, 쿼드 라인 또는 TDI 센서가 장착되어 있는지 확인하려면 카메라 모델 항목을 참조하세요. 카메라 항목은 Area and Line Scan Cameras 섹션에서 찾을 수 있습니다.

정보

racer 2 L mono cameras의 경우 black level, exposure time 또는 gain을 구성할 때 Sensor Acquisition Mode를 통해 설정을 단일 센서 라인에 적용할지, 아니면 여러 센서 라인에 대해 서로 다른 설정을 지정할지 결정할 수 있습니다.

기능 사용법#

Sensor Acquisition Mode를 사용하면 싱글 또는 듀얼 라인 이미지 취득 등 다양한 취득 모드 중에서 선택할 수 있습니다.

"클래식" 라인 스캔 카메라이며 racer 2 L mono camera를 사용하는지, 아니면 TDI 라인 스캔 카메라이며 racer 2 XL camera를 사용하는지에 따라 사용할 수 있는 Sensor Acquisition Mode가 다릅니다.

racer 2 L 흑백 카메라#

racer 2 L mono camera에서 Sensor Acquisition Mode를 설정하려면 다음을 설정하세요. BslSensorAcquisitionMode 매개변수를 다음 값 중 하나로 설정합니다:

  • SingleLine: Single Line sensor acquisition mode를 활성화합니다. 이 모드에서 카메라는 취득된 각 이미지에 하나의 센서 라인을 사용합니다. 이는 기본 설정입니다.
  • DualLine, QuadLine: Dual 또는 Quad Line sensor acquisition mode를 활성화합니다. 이 모드에서 카메나라 취득된 각 이미지에 두 개 또는 네 개의 센서 라인을 사용합니다. 이 모드를 사용하면 예를 들어 개별 센서 라인에 대해 서로 다른 exposure time이나 밝기 설정을 사용할 수 있습니다.

정보

Single Line과 Dual Line sensor acquisition mode 간에 전환하려면 이미지 취득이 중지되어 있어야 합니다.

racer 2 XL 카메라#

racer 2 XL camera에서 Sensor Acquisition Mode를 설정하려면 다음을 설정하세요. BslSensorAcquisitionMode 매개변수를 다음 값 중 하나로 설정합니다:

  • Area: Area sensor acquisition mode를 활성화합니다. 이 모드에서 TDI 카메라는 센서의 픽셀 어레이를 사용하여 영역 스캔 카메라로 작동합니다. 이 모드는 렌즈 초점을 조정하는 캘리브레이션 중에 사용됩니다.
    Area sensor acquisition mode에서 카메라는 프리런 모드로 실행됩니다. 프리런 모드인 동안 필요에 따라 exposure time을 조정할 수 있습니다.
  • TDISingleLine: TDI Single Line sensor acquisition mode를 활성화합니다. 이 모드에서 TDI 카메라는 하나의 리드아웃 라인이 있는 픽셀 어레이를 하나 사용합니다.

샘플 코드#

// Set the dual line sensor acquisition mode on the camera
camera.BslSensorAcquisitionMode.SetValue(BslSensorAcquisitionMode_DualLine);
INodeMap& nodemap = camera.GetNodeMap();
// Set the dual line sensor acquisition mode on the camera
CEnumParameter(nodemap, "BslSensorAcquisitionMode").SetValue("DualLine");
// Set the dual line sensor acquisition mode on the camera
camera.Parameters[PLCamera.BslSensorAcquisitionMode].SetValue(PLCamera.BslSensorAcquisitionMode.DualLine);
/* 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 dual line sensor acquisition mode on the camera */
errRes = PylonDeviceFeatureFromString(hdev, "BslSensorAcquisitionMode", "DualLine");
CHECK(errRes);
# Set the dual line sensor acquisition mode on the camera
camera.BslSensorAcquisitionMode.Value = "DualLine"

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