Conversion Gain Mode#
若要手動調整增益,請使用「增益」功能。若要自動調整增益,請使用 Gain Auto 功能。
使用功能#
若要啟用轉換增益模式,請將 BslConversionGainMode 參數設定為以下值之一:
High: 啟用高轉換增益(HCG)模式。
HCG有助於在低光照條件下提升影像品質。其靈敏度得以提高,讀出雜訊也隨之降低,從而提升了信噪比,但動態範圍則相對較低。Low: 啟用低轉換增益 (LCG) 模式。
LCG 建議用於正常至明亮的光線條件下。其飽和度能力有所提升,且動態範圍更廣。
範例程式碼#
/* 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);
您也可以 use the pylon Viewer 來輕鬆設定參數。