Sensor Readout Time#
資訊
此功能僅提供感測器讀取時間的極粗略估算。若您希望針對觸發式影像擷取或重疊式影像擷取來優化相機,請改用「結果Acquisition Frame Rate」或「結果Acquisition Line Rate」功能。
使用功能#
為何要確定Sensor Readout Time#
每個影像擷取過程包含兩個部分:
- 影像感測器像素的曝光,亦即曝光時間。
- 從感測器讀取像素值的過程,亦即感測器的讀出時間。
若您想評估在影像擷取過程中,哪個環節限制了攝影機的幀率,則「Sensor Readout Time 」功能將十分實用。
要做到這一點,請將曝光時間與感光元件讀取時間進行比較:
- 如果感光元件讀出時間比曝光時間長得多,請考慮調整會影響感光元件讀出時間的相機功能,例如: Binning, Decimation,或 Image ROI。
- 如果感測器的讀取時間遠比曝光時間短,請考慮縮短曝光時間。
確定Sensor Readout Time#
要確定在當前設定下的感測器讀取時間,請取得 SensorReadoutTime 參數。感測器的讀取時間以微秒為單位。
此結果僅為近似值,並取決於各種相機設定與功能,例如: Binning, Decimation,或 Image ROI。
範例程式碼#
ace Classic/U/L GigE 相機#
/* 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 */
double d = 0;
/* Determine the sensor readout time at the current settings */
errRes = PylonDeviceGetFloatFeature(hdev, "ReadoutTimeAbs", &d);
CHECK(errRes);
其他相機#
/* 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 */
double d = 0;
/* Determine the sensor readout time at the current settings */
errRes = PylonDeviceGetFloatFeature(hdev, "SensorReadoutTime", &d);
CHECK(errRes);
您也可以 use the pylon Viewer 來輕鬆設定參數。