Hi group!

When going through some old panoramas I had rendered as HDR in openEXR, I 
tried to recreate these images. But the output wasn't as before; I noticed 
ugly banding where there were smooth transitions in the sky before. So I 
went to investigate. Looking at the intermediate stages I noticed the 
single merged HDR stack images already had the flaw, so I concluded that 
hugin_hdrmerge might cause the problem. In the relevant bit of code which 
hugin_hdrmerge uses, namely

hugin/src/hugin_base/vigra_ext/HDRUtils.h, lines 70ff,

the function to HDR-merge pixels (ReduceToHDRFunctor) had the gaussian 
weight function commented out and instead, after a comment reading

'simple triangular function should also work ok'

there was other code instead. I activated the use of the gaussian weighting 
function and this removed the problem, now my output is corrrect again. I'd 
recommend using the gaussian weighting in favour of the other code.

Since it's just a matter of commenting out a line and uncommenting another, 
I refrain from filing a bug, sending a patch etc., but I wonder why noone 
has stumbled upon this before. Maybe openEXR output isn't used much... and 
of course there is the possibility that my system has peculiarities 
producing a bug where other environments don't, so I'd like to hear if 
anyone else has had problems with hugin_hdrmerge.

with regards

Kay

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/6fbfcf41-3745-43bc-a056-945e353dd987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [hugin-ptx] ba... 'kfj' via hugin and other free panoramic software
    • [hugin-pt... T. Modes
      • Re: [... 'Kay F. Jahnke' via hugin and other free panoramic software
        • R... T. Modes
          • ... 'Kay F. Jahnke' via hugin and other free panoramic software

Reply via email to