← Back to team overview

hugin-devs team mailing list archive

[Bug 1153546] Re: black artifacts after blending

 

Thanks for the _really_ minimal example.  ;)

I tried the following spell:
    $ enblend --fine-mask --no-optimize --primary-seam-generator=nft img_7306-731700*.tif
with the tip of the development branch and got the following warning
    enblend: images do not overlap - they will be combined without blending
    enblend: use the "-l" flag to force blending with a certain number of levels
However, the output does not show holes or black areas.  Pacifying Enblend
with `--levels=2' helps to get rid of the warning that you recieved, too.
    $ enblend --fine-mask --no-optimize --primary-seam-generator=nft --levels=2 img_7306-731700*.tif
    enblend: info: loading next image: img_7306-73170000.tif 1/1
    enblend: info: loading next image: img_7306-73170010.tif 1/1
    enblend: info: loading next image: img_7306-73170011.tif 1/1
    enblend: info: writing final output
    + checkpoint: input range:  (0, 255)
    + checkpoint: output range: (0, 255)
    + checkpoint: leaving channel width alone
    + cleanup_output

I'm confused, why this works _at_all_, because the images really do not overlap
with respect to their masks.  So, I expect Enblend to fail, but it in fact succeeds.
See attachment "a.tif".

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

Title:
  black artifacts after blending

Status in Enblend:
  New

Bug description:
  I'm frequently getting black artifacts on some blended photos (none or
  one in small projects, easily 5 to 10 artifacts in projects of more
  than 100 photos).

  The occurrence of artifacts does not depend on the output resolution.
  The shape, however, is dependent on the resolution.

  Appended are three photos.  On my machine blending yields the following output: 
  $ enblend -v -o foo.tif img_7306-73170000.tif img_7306-73170010.tif img_7306-73170011.tif --fine-mask
  enblend: info: loading next image: img_7306-73170000.tif 1/1
  enblend: info: loading next image: img_7306-73170010.tif 1/1
  enblend: images do not overlap - they will be combined without blending
  enblend: use the "-l" flag to force blending with a certain number of levels
  enblend: info: loading next image: img_7306-73170011.tif 1/1
  enblend: info: creating fine blend mask: 1/3 2/3 3/3
  enblend: info: optimizing 2 distinct seams
  enblend: info: Annealing Optimizer, s0: 1/4 2/4 3/4 4/4
  enblend: info: Annealing Optimizer, s1: 1/4 2/4 3/4 4/4
  enblend: info: Dijkstra Optimizer: s0 s1
  enblend: info: using 5 blending level(s)
  enblend: info: generating Gaussian pyramid:  g0 g1 g2 g3 g4
  enblend: info: generating Gaussian pyramid:  g0 g1 g2 g3 g4
  enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4
  enblend: info: generating Gaussian pyramid:  g0 g1 g2 g3 g4
  enblend: info: generating Laplacian pyramid: l0 l1 l2 l3 l4
  enblend: info: blending layers:              l0 l1 l2 l3 l4
  enblend: info: collapsing Laplacian pyramid: l4 l3 l2 l1 l0
  enblend: info: writing final output


  The version is
  $ enblend -V
  enblend 4.1-700e60bc31b5

  Copyright (C) 2004-2012 Andrew Mihal.
  License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

  Written by Andrew Mihal and others.

  Please tell me if any additional output would be helpful.

  cheers, lukas

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


References