跳转到内容
STAGING SERVER
DEVELOPMENT SERVER

Sensor Readout Time#

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

信息

此功能仅提供关于 Sensor Readout Time 的一个非常粗略的估计。如果您希望针对触发图像采集或重叠图像采集优化相机,请改用 Resulting Acquisition Frame Rate 或 Resulting Acquisition Line Rate 功能。

该功能的使用#

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

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

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

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

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

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

确定传感器读出时间#

若要确定当前设置下的 Sensor Readout Time,请获取以下参数的值: SensorReadoutTime 参数。Sensor Readout Time 的单位为微秒。

结果仅为近似值,取决于各种相机设置和功能,例如 Binning、Decimation 或者 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 轻松设置参数。