Adaptive Tone Mapping (dart E)#
機能を使用する#
To configure adaptive tone mapping, set the BslAdaptiveToneMappingMode
パラメーターを次のいずれかの値に設定します。
Auto
: Enables automatic adaptive tone mapping.Off
: Disables adaptive tone mapping. This can be useful, e.g., if the camera's automatic adjustments produce images that are too bright or too dark.
サンプルコード#
/* 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 */
/* Disable adaptive tone mapping */
errRes = PylonDeviceFeatureFromString(hdev, "BslAdaptiveToneMappingMode", "Off");
CHECK(errRes);
/* 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 */
/* Disable adaptive tone mapping */
errRes = PylonDeviceFeatureFromString(hdev, "BslAdaptiveToneMappingMode", "Off");
CHECK(errRes);