Sensor Readout Time#
資訊
此功能僅提供 Sensor Readout Time 的非常粗略估計。如果您想針對 triggered image acquisition 或 overlapping image acquisition 最佳化相機,請改用 Resulting Acquisition Frame Rate 或 Resulting Acquisition Line Rate 功能。
使用此功能#
為什麼要確定 Sensor Readout Time#
每個影像擷取程序包含兩個部分:
- 影像感光元件像素的 Exposure,亦即 Exposure Time。
- 從感光元件讀取像素值的 Readout,亦即 Sensor Readout Time。
如果您想評估影像擷取程序的哪一部分限制了相機的 frame rate,Sensor Readout Time 功能將非常有用。
若要這樣做,請比較 Exposure Time 與 Sensor Readout Time:
- 如果 Sensor Readout Time 顯著長於 Exposure Time,請考慮調整會影響 Sensor Readout Time 的相機功能,例如 Binning、Decimation 或 Image ROI。
- 如果 Sensor Readout Time 顯著短於 Exposure Time,請考慮縮短 Exposure Time。
確定 Sensor Readout Time#
若要確定目前設定下的 Sensor Readout Time,請取得下列項目的值: SensorReadoutTime 參數。Sensor Readout Time 以微秒為單位進行測量。
結果僅為近似值,並取決於各種相機設定和功能,例如 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);
您也可以使用 pylon Viewer 來輕鬆設定參數。