Camera Operation Mode#
Camera Operation Mode를 선택하면 특정 작동 환경에서 최상의 결과를 얻을 수 있도록 특정 카메라 설정이 자동으로 구성됩니다.
기능 사용법#
Camera Operation Mode 지정#
획득 모드를 지정하려면 다음을 설정하십시오. CameraOperationMode 매개변수를 다음 값 중 하나로 설정합니다:
Standard: Standard Camera Operation Mode를 활성화합니다.LongExposure: Long Exposure Camera Operation Mode를 활성화합니다.
사용 가능한 Camera Operation Mode#
Standard#
기본 Camera Operation Mode입니다. 대부분의 작동 조건, 즉 파라미터가 극단적인 값으로 설정되지 않은 경우에 적합합니다.
Long Exposure#
Long Exposure 모드는 긴 Exposure Time을 사용하고 이미지 Quality를 최적화하려는 경우에 유용합니다.
이 기능의 효과를 극대화하려면 방열 조치를 취하고 Exposure Time을 늘리며 프레임 속도를 최대한 낮추십시오. 애플리케이션에서 허용하는 경우 단일 샷 모드에서 카메라를 작동하고 필요한 이미지만 획득하십시오.
Long Exposure 모드는 Exposure Start Delay를 증가시킵니다.
다음을 설정하면 CameraOperationMode 매개변수: LongExposure, 프레임 속도가 감소합니다. 미치는 영향을 확인하려면 BslResultingAcquisitionFrameRate 파라미터를 확인하십시오.
정보
Camera Operation Mode를 변경한 후 카메라 온도가 안정될 때까지 최소 10분 동안 기다리십시오. 이를 통해 일정한 이미지 Quality를 보장할 수 있습니다.
샘플 코드#
/* 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 the Standard camera operation mode */
errRes = PylonDeviceFeatureFromString(hdev, "CameraOperationMode", "Standard");
CHECK(errRes);
/* Enable the Long Exposure camera operation mode */
errRes = PylonDeviceFeatureFromString(hdev, "CameraOperationMode", "LongExposure");
CHECK(errRes);
또한 pylon Viewer를 사용하여 파라미터를 손쉽게 설정할 수 있습니다.