enfuse produces black output with certain TIFFs

Bug #678723 reported by Erik Krause
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Enblend
Expired
Undecided
Unassigned

Bug Description

enfuse produces black output if --wContrast=1 with certain TIFF files, especially files created by align_image_stack.

Reproduce: use align_image_stack on some (slightly) misaligned JPGs. enfuse the resulting TIFFs using the --wContrast=1 command line switch (tested only together with --wExposure=1 --wSaturation=1)

Shall I upload a test case here (app. 5MB)?

Revision history for this message
Erik Krause (erik-krause) wrote :

Logged In: YES
user_id=1737000
Originator: YES

In fact any value but 0 for --wContrast causes black output.

Revision history for this message
nobody (nobody-users) wrote :

Logged In: NO

I do not get black enfused image but dark one with unnatural colors.

Revision history for this message
Erik Krause (erik-krause) wrote :

Logged In: YES
user_id=1737000
Originator: YES

nobody wrote:

> I do not get black enfused image but dark one with unnatural colors.

Interesting. My results are almost entirely black turning in a very dark grey at the upper edge if I use 8 bit images as input. With 16 bit images the result is like the output of a high pass filter (edges white, uniform areas black).

Revision history for this message
Erik Krause (erik-krause) wrote :

Logged In: YES
user_id=1737000
Originator: YES

The test case can be found here: http://www.erik-krause.de/enfuse_align_test.zip
run align_image_tack on the images and enfuse the result with -wContrast=1

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

I have downloaded the testcase and run through the following steps with hugin 2010.0.0 and enblend/enfuse 4.0:

align_image_stack -p foo.pto *JPG

Open foo.pto in hugin, switch to Stitcher tab, select both "Fused and blended panorama" and "Blended and fused panorama", set enfuse options to --exposure-weight=1, (+ set Compression to packpits to speed things up.) Save and exit.

Run "make -f foo.pto.mk foo_blended_fused.tif foo_fused.tif"

Neither of the resulting images shows the behavior you described, could you retest with the new versions of hugin/enblend?

Yuv (yuv)
affects: hugin → enblend
Changed in enblend:
status: New → Incomplete
Revision history for this message
rew (r-e-wolff) wrote :

I've downloaded the test images. I have followed Andreas' suggestion, up to "align_image_stack".

I then opened foo.pto in hugin, and started on clicking on intermediate files that I'd wanted to keep, but then I saw "exposure corrected low dynamic range", which is what I think I want. I then hit stitch now, and got an almost completely white image.

I then loaded the images into a fresh hugin. With default settings, enblend complains about overlapping images, but with "exposure fused from stacks" I get reasonable results.

I then asked hugin to genrate a HDR tiff file. (I don't know how to view exr files today), and got an all-transparent image.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Enblend because there has been no activity for 60 days.]

Changed in enblend:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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