跳转到内容

Sensor Readout Time#

相机的 Sensor Readout Time 功能可让您确定从传感器读出图像数据所需的时间。

信息

This feature only provides a very rough estimate of the sensor readout time. If you want to optimize the camera for triggered image acquisition or for overlapping image acquisition, use the Resulting Acquisition Frame Rate or Resulting Acquisition Line Rate feature instead.

该功能的使用#

为什么要确定传感器读出时间#

每个图像采集过程包括两个部分:

  1. 成像传感器像素的曝光,即曝光时间
  2. 来自传感器的像素值的读出,即传感器读出时间。

如果您想估计图像采集过程的哪一部分限制了相机的帧速率,Sensor Readout Time 功能很有用。

为此,应将曝光时间与传感器读出时间进行比较:

  • 如果传感器的读出时间比曝光时间得多,请考虑调整影响传感器读出时间的相机功能,例如,BinningDecimation 或者 Image ROI
  • 如果传感器的读出时间比曝光时间得多,请考虑缩短曝光时间

确定传感器读出时间#

要确定当前设置下的传感器读出时间,请获取 SensorReadoutTime 参数的值。传感器读出时间以微秒为单位。

结果仅为近似值,取决于各种相机设置和功能,例如 BinningDecimation 或者 Image ROI

示例代码#

ace Classic/U/L GigE 相机#
// Determine the sensor readout time at the current settings
double d = camera.ReadoutTimeAbs.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Determine the sensor readout time at the current settings
double d = CFloatParameter(nodemap, "ReadoutTimeAbs").GetValue();
// Determine the sensor readout time at the current settings
double d = camera.Parameters[PLCamera.ReadoutTimeAbs].GetValue();
/* 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);
# Determine the sensor readout time at the current settings
d = camera.ReadoutTimeAbs.Value
其他相机#
// Determine the sensor readout time at the current settings
double d = camera.SensorReadoutTime.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Determine the sensor readout time at the current settings
double d = CFloatParameter(nodemap, "SensorReadoutTime").GetValue();
// Determine the sensor readout time at the current settings
double d = camera.Parameters[PLCamera.SensorReadoutTime].GetValue();
/* 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);
# Determine the sensor readout time at the current settings
d = camera.SensorReadoutTime.Value

您也可以使用 pylon Viewer 轻松设置参数。