This website is being translated through machine translation by a third-party service. Basler does not warrant the accuracy, reliability or timeliness of any information translated by this system and will not accept liability for loss or damage incurred as a result. Content that has not yet been translated appears in English. Switch to English version
When a camera is pointed at a strong light source, the resulting photograph may contain lens flare artifacts. The Flare Removal auto function allows you to remove these artifacts.
// Enable Flare Removal by setting the operating mode to Continuouscamera.BslFlareRemovalAuto.SetValue(BslFlareRemovalAuto_Continuous);
INodeMap&nodemap=camera.GetNodeMap();// Enable Flare Removal by setting the operating mode to ContinuousCEnumParameter(nodemap,"BslFlareRemovalAuto").SetValue("Continuous");
// Enable Flare Removal by setting the operating mode to Continuouscamera.Parameters[PLCamera.BslFlareRemovalAuto].SetValue(PLCamera.BslFlareRemovalAuto.Continuous);
/* Macro to check for errors */#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)GENAPIC_RESULTerrRes=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);
# Enable Flare Removal by setting the operating mode to Continuouscamera.BslFlareRemovalAuto.Value="Continuous"
You can also use the pylon Viewer to easily set the parameters.