Carl, The weird, bright pixels in dark areas are artifacts of the LCMS color-conversions in so called open color spaces. Experience has shown that it is hard to catch all of them. However, Enblend/Enfuse have a lot of (undocumented) command-line parameters that control the hedging of those outliers. Please take a look at source file "fixmath.h" in the "src" directory and check out for example `class OptimizableLuminanceSpace'. You can control _everything_ coded as `parameter::as_*("foo-bar", ...)' from the command line, for example the code reads parameter::as_boolean("mark-freaky-color-conversions", false) so, you could say --parameter=mark-freaky-color-conversions=true at the command line.
For a better understanding of what is going on in the color-space conversion steps you will probably want to compile your Enblend and Enfuse with `LOG_COLORSPACE_CONVERSION' or even `LOG_COLORSPACE_CONVERSION_DETAIL'. The make(1) variable `EXTRACPPFLAGS' was made for endeavors like this: EXTRACPPFLAGS='-DLOG_COLORSPACE_CONVERSION -DLOG_COLORSPACE_CONVERSION_DETAIL' Otherwise it will be enfusing-by-night. On the technical side: all operations in "fixmath.h" only consider a single, isolated pixel. We could think of a median filter or a Kuwahara filter that operates on a N-times-N region of pixels at a later processing step that mops up the outliers without impacting the "good" pixels too much. Please send me your patches, if this idea works out! /cls -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Enblend. https://bugs.launchpad.net/bugs/1709473 Title: Enfuse: artifacts - false colored pixels in dark regions Status in Enblend: New Bug description: enfuse sometimes produces false colored pixels around dark regions using the default options. When using the option "--blend-colorspace=identity" the artefacts don't show (at least with the attached example images). Tested with version 4.2 and 4.3-e93b798a0c5f. The artefacts show with both versions, although there are differences. Attached are sample images and the result images after using the included script. There is also a self-compiled binary of the enfuse version 4.3-e93b798a0c5f and a text file ("Info.txt") containing info about versions, operating system and hardware. The result images "default.tif" and "default_dev.tif" are the images made with default options, the images "identity.tif" and "identity_dev.tif" are made with the option "--blend-colorspace=identity". The images "default_dev.tif"and "identity_dev.tif" are made with the development version 4.3-e93b798a0c5f To manage notifications about this bug go to: https://bugs.launchpad.net/enblend/+bug/1709473/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp