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
parameter to one of the following values:
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 轻松设置参数。