Blend fails with mask entirely black.

Bug #720556 reported by rew
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Enblend
Triaged
Undecided
Unassigned
Hugin
Triaged
Medium
Unassigned

Bug Description

I get the

enblend: warning: failed to detect any seam
enblend: mask is entirely black, but white image was not identified as redundant
enblend: info: remove invalid output image "t2.tif"

again.

The issue here is that I cannot just remove the offending image, because I have some interesting features in this image that need to be included in the final photo. The pano I'm building is a sequence of photos of a moving object, and indeed the fourth frame of the sequence mostly overlaps the third, but important image-data is included on the fourth frame that I have marked with a "include this mask" in the masks tab....

Revision history for this message
rew (r-e-wolff) wrote :

Here is the full logfile.

Revision history for this message
rew (r-e-wolff) wrote :

here is the pto file.

Revision history for this message
rew (r-e-wolff) wrote :

After removing one image, it still crashes, but now it crashes earlier!

Revision history for this message
Yuv (yuv) wrote :

this is due to excessive overlap. Have you tried using "exclude masks" to reduce the overlap regions? and else, have you tried Enblend 3.x?

Revision history for this message
rew (r-e-wolff) wrote :

Yeah. I started the stitch in my older-version environment. Besides blending out all of the interesting stuff on several images, it blended fine.

Yes, I've started to use the workaround of marking big parts of the later images as exclude so that a big seam is seen by enblend. Apparenlty marking the small airplanes with an include mask is not sufficient. Things are becoming complex with all those masks and the pictures being too small to see on the preview. And some images having to be made immobile relative to each other because I had to manually align them. etc etc.

Revision history for this message
Yuv (yuv) wrote :

My guess is that you have a single object (airplane?) moving across the scene and that you photographed it multiple times, so you have a lot of overlap.

My suggestion would be to let Hugin align the images and let nona warp them. Select only a few to generate / blend the background, then load that background plus the warped individual images into Gimp or Photoshop and overlay the multiple shots of the moving object, masking the alpha channel. A feather in the alpha channel should be enough "blending".

Other than that (and than recommending trying with Enblend 3.x and alpha masks as well) I don't know of anything that could be done with the report other than say, sorry, won't fix...

Changed in enblend:
status: New → Triaged
Changed in hugin:
status: New → Triaged
Revision history for this message
vaifrax (vaifrax) wrote :

I just tried to stitch a 360 pano with 28 photos and got the same error with enblend:

...
enblend: info: loading next image: SDC10640-SDC106670026.tif 1/1
enblend: info: loading next image: SDC10640-SDC106670027.tif 1/1
enblend: warning: failed to detect any seam
enblend: mask is entirely black, but white image was not identified as redundant
enblend: info: remove invalid output image "SDC10640-SDC10667.tif"
make: *** [SDC10640-SDC10667.tif] Error 1

I don't even see which of the images could be the problem here.

I downloaded the latest stable 64 bit installer of hugin (today).

Revision history for this message
vaifrax (vaifrax) wrote :

I followed the hint and manually removed two images that overlapped a lot with other ones and it works now.
Still, in that case enblend could ignore an offending image completely (but throw a warning). Instead, no result image is written and the error message does not really help.

suggestion 1: include a more informative error message (offending image pairs, hint to remove one of the images)

suggestion 2: enblend could ignore all offending images (e.g. use the first one of a largely overlapping pair)

Revision history for this message
makc (makc-the-great) wrote :

"load that background plus the warped individual images into Gimp or Photoshop... sorry, won't fix" lol, well thanks alot for making this automated system into manual :) now where's that enblend v3.

p.s. funny thing is that after checking all the tiffs from hugin that are passed to enblend I dont even see this overlap that you're talking about. clearly this algo of yours has a problem.

Revision history for this message
makc (makc-the-great) wrote :

the other bug mentioned enfuse so I took a blind shot and runned enfuse with the same arguments as enblend. It worked (pano stitched) but there's a lot of ghosting in there, which never happened with hugin default procedure (no console do-not-really-know-what-a-hell-am-I-doing magic)... I know I'm not helping with these comments, but can't help myself. you have to see that we (dumb end users) are not supposed to go through this, sigh.

Revision history for this message
Arne Hofmann (arnv) wrote :

Hugin asked me to send the Logfile from its last run. So I did. I hope it helps. If needed, I can supplie the used pictures.

Best regards

Arne

Revision history for this message
darkonc (samuel-bcgreen) wrote :

I get a similar message:
  enblend: info: loading next image: DSC_2270 - DSC_2297jun09b_exposure_layers_0046.tif 1/1
  enblend: warning: failed to detect any seam
  enblend: mask is entirely black, but white image was not identified as redundant
  enblend: info: remove invalid output image "DSC_2270 - DSC_2297jun09b_exposure_0002.tif"
Is there any way to associate 0002.tif with an input image?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.