← Back to team overview

hugin-devs team mailing list archive

[Bug 1649122] Re: Enfuse brightness mismatch in deghosted area

 

I stand corrected.  Thanks go to Thomas for poining out
what I ignored!

The documentation was corrected accordingly in
rev f0304648cc0f.  See
    http://hg.code.sf.net/p/enblend/code/rev/f0304648cc0f

The crucial change is the restriction in the sentence
"Enblend and Enfuse simply copy the pixels of this
region to the output image ***if they are away far
enough from the overlap area***."

In particular, my explanation for your Enfuse example was
wrong.  All your images overlap completely and the small
masked out portion is certainly influenced by all other
images through the Gaussian pyramids as explained in the
fixed documentation.

Sorry for the mess.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1649122

Title:
  Enfuse brightness mismatch in deghosted area

Status in Enblend:
  Fix Committed

Bug description:
  Enfuse results in a brightness mismatch of dark deghosted areas when
  exposure-mu is decreased from its default value.

  Program Version:
  - enfuse 4.1.3 (could not compile 4.2)

  Platforms:
  - Debian Jessie
  - OS X 10.11.6 via MacPorts

  
  == Testcase Files ==

  https://www.dropbox.com/sh/8la13xukmfamjk5/AACI6mruatMEsZ27wZgl8ysha?dl=0

  Bracketed exposures:
  161022_tc2_7079.tif - RGBA
  161022_tc2_7081.tif - RGBA
  161022_tc2_7083.tif - RGBA
  161022_tc2_7085.tif - RGBA
  161022_tc2_7086.tif - RGB

  Enfused results:
  161022_mu00.tif - exposure-mu=0.0
  161022_mu02.tif - exposure-mu=0.2
  161022_mu05.tif - exposure-mu=0.5 (default)

  Commands to reproduce:
  $ enfuse --exposure-mu=0.0 -o 161022_mu00.tif 161022_tc2_70??.tif
  $ enfuse --exposure-mu=0.2 -o 161022_mu02.tif 161022_tc2_70??.tif
  $ enfuse --exposure-mu=0.5 -o 161022_mu05.tif 161022_tc2_70??.tif

  
  == Detailed Description ==

  Deghosting;
  All exposures except the lightest one (..7086) share the same alpha channel which masks a dark area in the middle of the image for deghosting of moving leaves. The masking is binary, there are no partially masked pixels.

  When I change the exposure-mu parameter from its default 0.5 to a
  smaller value to darken the image, the deghosted area stays much
  lighter than its surroundings. The problem does not occur when
  deghosting a bright area using pixels from a dark exposure.

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1649122/+subscriptions


References