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
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
`EXTRACPPFLAGS' was made for endeavors like this:
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!


You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.

  Enfuse: artifacts - false colored pixels in dark regions

Status in Enblend:

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 

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to