gabrieleilertsen / hdrcnn

HDR image reconstruction from a single exposure using deep CNNs
https://computergraphics.on.liu.se/hdrcnn/
BSD 3-Clause "New" or "Revised" License
508 stars 101 forks source link

How to get jpg images? #2

Closed Jee-King closed 6 years ago

Jee-King commented 6 years ago

I wonder how exchange reconstruction HDR image from .exr to .jpg. Could you share your scripts? Thank you very much!!

Mhaiyang commented 6 years ago

I also have the same problem.

gabrieleilertsen commented 6 years ago

Hi! I'm not sure if I understand correctly, but if you output the reconstructed images to JPG you do not get HDR images (unless you mean JPEG XT). The images will be clipped. There are also PNG images that are written when running the reconstruction. These are LDR images with decreased exposure, that are provided in order to give a fast visual comparison between input and reconstruction.

You can always change the output behavior in the I/O functions in 'img_io.py', if you prefer some other format.