HDR and EXR files in PTO yields different results

Bug #1649883 reported by Alex Fliker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

Hugin: "Version: 2016.2.0"

Here are the EXR files (they were obtained with luminance-hdr):

http://www.mediafire.com/file/nhc2alxnza35tvo/1.exr
http://www.mediafire.com/file/8jj6n6763xbdecz/2.exr
http://www.mediafire.com/file/t9iuvwtev4lgvd9/3.exr
http://www.mediafire.com/file/w8m8e7egatbb4ts/4.exr

Here are the HDR files (they were obtained by converting EXR files, with the help of pfstools):

http://www.mediafire.com/file/0v60kaygnb1wdtv/1.hdr
http://www.mediafire.com/file/lk95b85gz3qd37s/2.hdr
http://www.mediafire.com/file/qgtj18dgnd9ih6c/3.hdr
http://www.mediafire.com/file/b5v9afass4c39re/4.hdr

Here is the project file with EXR files:

http://www.mediafire.com/file/u9u0waxwz7q6fgf/project_exr.pto

Here is the project file with HDR files:

http://www.mediafire.com/file/bex6eyrw16bxxfs/project_hdr.pto

A note here - optimizations were made using the project with EXR files.

Then I do:

nona -m EXR_m -o panorama project_exr.pto
nona -m EXR_m -o panorama project_hdr.pto

The results:

http://www.mediafire.com/file/08ngxjgl7dxrz8p/panorama0002_exr.exr
http://www.mediafire.com/file/3wpy2ye2w2sazg4/panorama0002_hdr.exr

Look at the window - in the case with EXR files project it is just "burned out". Looks like a bug. If any more info is required just ask!

Alex Fliker (fliker09)
description: updated
Revision history for this message
tmodes (tmodes) wrote :

Fixed in repository.

Please, try to provide only a small test test set, which can reproduce the issue.
There should no need to download above 500 MB from a hoster with a lot of ads and redirections to other sites.
The 2 pto files with only one small EXR or HDR would be fully sufficient. Otherwise I will close further such big tickets.

Changed in hugin:
milestone: none → 2017.0beta1
status: New → Fix Committed
Revision history for this message
Alex Fliker (fliker09) wrote :

I don't know how to resize the HDR/EXR files correctly. What I mean is that ImageMagick can do it, but it doesn't preserve the data in its original state (more specifically it shifts everything). If you can help me with resizing - I will be very thankful! Beside that there is the other thing - size does matter (for example it has huge impact on verdandi)...
Sorry for MediaFire, had no other better option at the moment!

Revision history for this message
tmodes (tmodes) wrote :

Luminance HDR can resize hdr images. And in the pfstools package there is pfssize for resizing images.

tmodes (tmodes)
Changed in hugin:
status: Fix Committed → Fix Released
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.