Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the format of the output? #47

Open
HamidTohidypour opened this issue Feb 28, 2021 · 1 comment
Open

Question about the format of the output? #47

HamidTohidypour opened this issue Feb 28, 2021 · 1 comment

Comments

@HamidTohidypour
Copy link

HamidTohidypour commented Feb 28, 2021

Thanks for sharing your great work.
Is the format of the generated HDR in the light domain or perceptual domain? is it in BT 2020?
I used the network to get the HDR image in .exr format. The output values are very small for example the maximum value that I got was 38 for one of my images. Also, I tested the ground truth images provided on the hdrcnn's github page and the maximum value was 26 for one of the exr images and simialry for the other ground truth exr images the values were less than 100. Could you please let me know if the output of this network is an absolute HDR value and can be display as it is? If not and it is a normalized version of the actual values, how can I convert it to the absolute HDR value in the light domain or perceptual domain so that I can show it on an HDR display?

@gabrieleilertsen
Copy link
Owner

gabrieleilertsen commented Mar 5, 2021

The HDR images are supposed to be linear, but not calibrated in absolute values. That is, to have an absolute calibration you would need to scale the images individually. For HDR display, I'm not sure what the best pre-processing would be, but you could for example scale an image to have a certain percentile scaled to the peak luminance of the display. So if 1 is mapped to the peak luminance, you could do I/percentile(I,95) to have the 5% brightest pixels clipped at the peak luminance. For the study we did in the paper, we fixed the luminance of the 90th percentile pixel value to 180 cd/m2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants