Conversion Gain Mode#
To adjust the gain manually, use the Gain feature. To adjust the gain automatically, use the Gain Auto feature.
機能を使用する#
To enable the conversion gain mode, set the BslConversionGainMode パラメーターを次のいずれかの値に設定します。
High: Enables the High Conversion Gain (HCG) mode.
HCG helps to improve image quality in low light conditions. The sensitivity is increased and the readout noise reduced, which results in an improved signal-to-noise ratio, but a lower dynamic range.Low: Enables the Low Conversion Gain (LCG) mode.
LCG is recommended for normal to bright light conditions. The saturation capacity is increased and the dynamic range is higher.
サンプルコード#
/* 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 */
/* Set the conversion gain mode to High */
errRes = PylonDeviceFeatureFromString(hdev, "BslConversionGainMode", "High");
CHECK(errRes);
pylon Viewerを使用して、パラメーターを簡単に設定することもできます。