Am 06.04.2017 um 16:54 schrieb T. Modes:
Thank you for the prompt reply!
> Hi Kay,
>
> Am Donnerstag, 6. April 2017 10:43:02 UTC+2 schrieb kfj:
>
> But the output wasn't as before; I noticed ugly banding where there
> were smooth transitions in the sky before.
>
> <snip>
>
> hugin/src/hugin_base/vigra_ext/HDRUtils.h, lines 70ff,
>
>
> But this file was last touched in 2007. So "before" is earlier than 2007?
This is odd indeed. Maybe I did something different when I last stitched
to openEXR, honestly I can't tell anymore.
>
> 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.
>
>
> So please provide a test case: images and pto file which shows the
> problem (one stack, when possible with downscaled images would be
> sufficient).
I uploaded the data producing the problem here, one stack but sorry no
downscaling. PTO included. Images are 16bit TIFF made with dcraw from CR2s:
https://www.magentacloud.de/lnk/RriBhGE3
> So I can have a look on my one before doing the change.
Please have a look. In the zip folder there is output from the unpatched
version: banding_problem_stack_hdr_0000.exr
and also from the patched version, using the gaussian weights:
banding_problem_stack_hdr_0000_with_gaussian_weight.exr
> PS: Which viewer do you use to look at the EXR images?
Here, I use some homebrew unreleased software, but you can see the
problem for example when looking at the exr images with darktable.
Kay