コンテンツにスキップ

結果として得られるAcquisition Frame Rate#

The Resulting Acquisition Frame Rate camera feature allows you to determine the estimated frame rate with the current camera settings.

これは、トリガー間の待機時間を確認する場合などに便利です。

フレームレートは、フレーム/秒(fps)で表されます。

機能を使用する#

Why Check the Resulting Acquisition Frame Rate#

フレームレートの最適化#

When the camera is configured for free run image acquisition and continuous acquisition, knowing the resulting acquisition frame rate is useful if you want to optimize the frame rate for your imaging application. You can adjust the camera settings limiting the frame rate until the resulting acquisition frame rate reaches the desired value.

トリガー画像取得の最適化#

When the camera is configured for triggered image acquisition, knowing the resulting acquisition frame rate is useful if you want to trigger the camera as often as possible without overtriggering. You can calculate how long you must wait after each trigger signal by taking the reciprocal of the resulting acquisition frame rate: 1 / Resulting Acquisition Frame Rate.

Example: If the resulting acquisition frame rate is 12.5, you must wait for a minimum of 1/12.5 = 0.08 seconds after each trigger signal. Otherwise, the camera ignores the trigger signal and generates a Frame Start Overtrigger event.

Checking the Resulting Acquisition Frame Rate#

To check the resulting acquisition frame rate, i.e., the estimated frame rate with the current camera settings, get the value of the BslResultingAcquisitionFrameRate parameter. The value is expressed in frames per second (fps).

パラメーター値では、フレームレートを制限する要因すべてが考慮されます。

情報

  • On some camera models, the ResultingFramePeriod parameter is also available. It allows you to determine the resulting frame period, which is the reciprocal of the resulting frame rate (1 / frame rate).
  • Checking the resulting acquisition frame rate works when the camera is idle as well as when the camera is acquiring images.
  • If you want to check the resulting acquisition frame rate of Basler cameras that aren't connected to your computer at the moment, use the online Basler Frame Rate Calculator.

フレームレートを制限する要因#

Baslerカメラのフレームレートを制限する要因はいくつかあります。

  • Acquisition Frame RateAcquisition Frame Rate機能が有効になっている場合、カメラのフレームレートは撮影フレームレートによって制限されます。例えば、Acquisition Frame Rate機能を有効にして、撮影フレームレートを10fpsに設定した場合、カメラのフレームレートは10fpsを超えることはありません。
  • Bandwidth Assigned:特に複数のカメラがコンピューターに接続されている場合、帯域幅の制限によりフレームレートが低下することがあります。低下の程度は、カメラのモデル、コンピューターに接続されているカメラの数、コンピューターのハードウェアによって異なります。
  • Binning:使用可能な場合、センサービニングによりフレームレートが上がることがあります。
  • Camera Operation Mode: If the CameraOperationMode parameter is available and set to LongExposure, the frame rate decreases.
  • Device Link Throughput: If the DeviceLinkThroughputLimitMode parameter is available and set to On, it limits the available bandwidth for data transmission to the DeviceLinkThroughputLimit parameter value. This also limits the frame rate.
  • Exposure Time非常に長い露光時間を使用する場合、取得できる1秒あたりフレーム数は少なくなります。
  • Field Output Mode:使用可能な場合は、Field 0 Output Modeまたは Field 1 Output Modeを使用すると、カメラのフレームレートが上がります。
  • Image ROI大きな画像ROIを使用する場合は、1秒あたりのフレーム取得数を減らすことができます。ほとんどのカメラでは、画像ROIの高さを下げるとフレームレートが上がります。一部のカメラでは、画像ROIのを小さくするとフレームレートも上がります。
  • Parameter Limits:一部のカメラでは、Remove Parameter Limits機能を使用してフレームレートの制限を解除できます。
  • Sensor Bit Depth一部のカメラでは、センサービット深度を小さくしてフレームレートを上げることができます。
  • Sensor Readout Mode一部のカメラでは、高速センサー読み出しモードを有効にして、フレームレートを上げることができます。ただし、これは画質に悪影響を及ぼす可能性があります。
  • Sensor Shutter ModeGlobal Reset Releaseシャッターモードが選択されている場合、オーバーラップ画像取得はできません。これにより、カメラのフレームレートが低下します。
  • Stacked Zone Imaging使用できる場合、Stacked Zone Imaging機能により、フレームレートが上がります。
  • Transfer Bit Depth一部のカメラでは、転送ビット深度を小さくして、フレームレートを上げることができます。

サンプルコード#

ace Classic/U/L GigEカメラ#
// Get the resulting acquisition frame rate
double d = camera.ResultingFrameRateAbs.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Get the resulting acquisition frame rate
double d = CFloatParameter(nodemap, "ResultingFrameRateAbs").GetValue();
// Get the resulting acquisition frame rate
double d = camera.Parameters[PLCamera.ResultingFrameRateAbs].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;
/* Get the resulting acquisition frame rate */
errRes = PylonDeviceGetFloatFeature(hdev, "ResultingFrameRateAbs", &d);
CHECK(errRes);
# Get the resulting acquisition frame rate
d = camera.ResultingFrameRateAbs.Value
ace Classic/U/L USB 3.0, dart Classic, and pulse Cameras#
// Get the resulting acquisition frame rate
double d = camera.ResultingFrameRate.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Get the resulting acquisition frame rate
double d = CFloatParameter(nodemap, "ResultingFrameRate").GetValue();
// Get the resulting acquisition frame rate
double d = camera.Parameters[PLCamera.ResultingFrameRate].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;
/* Get the resulting acquisition frame rate */
errRes = PylonDeviceGetFloatFeature(hdev, "ResultingFrameRate", &d);
CHECK(errRes);
# Get the resulting acquisition frame rate
d = camera.ResultingFrameRate.Value
その他のカメラ#
// Get the resulting acquisition frame rate
double d = camera.BslResultingAcquisitionFrameRate.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Get the resulting acquisition frame rate
double d = CFloatParameter(nodemap, "BslResultingAcquisitionFrameRate").GetValue();
// Get the resulting acquisition frame rate
double d = camera.Parameters[PLCamera.BslResultingAcquisitionFrameRate].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;
/* Get the resulting acquisition frame rate */
errRes = PylonDeviceGetFloatFeature(hdev, "BslResultingAcquisitionFrameRate", &d);
CHECK(errRes);
# Get the resulting acquisition frame rate
d = camera.BslResultingAcquisitionFrameRate.Value

pylon Viewerを使用して、パラメーターを簡単に設定することもできます。