Flare Removal (dart E)#
機能を使用する#
フレアの除去を有効または無効にするには、BslFlareRemovalAuto
パラメーターを次のいずれかの動作モードに設定します。
Continuous
:画像の取得中に、カメラはレンズフレアのアーティファクトを継続的に除去します。Off
:フレア除去オートファンクションを無効にします。
サンプルコード#
/* 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 */
/* Enable Flare Removal by setting the operating mode to Continuous */
errRes = PylonDeviceFeatureFromString(hdev, "BslFlareRemovalAuto", "Continuous");
CHECK(errRes);
You can also use the pylon Viewer to easily set the parameters.