← Back to team overview

hugin-devs team mailing list archive

[Bug 721136] Re: enblend creates an unexplainable black area.

 

I fixed this "hole" thing by using command 
enblend --pre-assemble --fine-mask --primary-seam-generator=nearest-feature-transform -o result.jpg *.tif

"Preassemble" is for avoiding the warning "no overlapping area between inputs"
"Fine mask" is for a better mask detection 
"Nearest feature transform" is for using "fine mask", otherwise the default seam generator "graph cut" will cause error for fine mask (the difference between "graph cut" and "Nearest feature transform" is that the first one will just cut the graphs(faster) and the second one will try to avoid features when cutting graphs(slower))

I think you can also use something like 
enblend --pre-assemble --coarse-mask=12 -o result.jpg *.tif
instead of "fine mask",
because by default, enblend use coarse-mask=8, which in my case some times cause black holes. And when I tried to increase the coarse mask value, I got the result with no holes (and a less accurate seam between each adjacent images)(I guess the holes are caused by wrong seam calculation. When I ask enblend for a less accurate seam, as there is less calculation needed, the result is less possible to be wrong, so no holes anymore.). 


You could change the value after coarse-mask to see the difference if you increase(less accurate )/decrease(more accurate) it by setting --level=1.(by doing that, you could normally see the seams between images.)
enblend --pre-assemble --level=1 --coarse-mask=12 -o result12.jpg *.tif

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

Title:
  enblend creates an unexplainable black area.

Status in Enblend:
  Confirmed

Bug description:
  enblending       http://prive.bitwizard.nl/t80001.tif
  and                  http://prive.bitwizard.nl/t80003.tif
  results in          http://prive.bitwizard.nl/t8a.tif

  I cannot say I expected that black triangle in the output. My enblend
  was pulled from hg this morning (no changes) and built without
  imagecache or openMP. (imagecache causes corruption of the output
  similar but different to this. )

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


References