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
502 stars 101 forks source link

The file type of image data #37

Closed tgupta14 closed 3 years ago

tgupta14 commented 4 years ago

Hi. I have a quick question. What is the file type (HDR, EXR, PNG, JPG, etc) of the input images for this project? The file type of the images that go into the virtual camera? Correct me if I am wrong, I understand that Virtual Camera creates augmented and LDR images from HDR image. My question is, what is the file type of this HDR image? Is it .HDR or .EXR or .JPG?

Also if you can outline the file types of the image at all the stages of the pipeline will also be very helpful.

gabrieleilertsen commented 3 years ago

I realized that I completely missed this issue. Sorry for that. I guess it is too late now, but it is correct that input is HDR data, for which the virtual camera application generates the LDR training data. The virtual camera requires EXR, but it should be possible to modify to support other HDR formats.

The virtual camera outputs HDR-LDR pairs, where LDR images are stored as JPG. It can also create varying amounts of compression in order for the reconstruction to generalize to those types of image artifacts. If the virtual camera is compiled it is possible to run the training script directly, and this will call the virtual camera if training data has to be generated.