HDRUNet
HDRUNet copied to clipboard
get the HDR image in .hdr or .exr format
Thanks for your impressive work!
I have read your code and generate some results using the test.py file. It seems that the reconstructed hdr image is saved as uint16 png format, and in the tonemapped_visualization.py, the hdr image is tone mapped to LDR image for visualization. Am I right? And I also try to directly save the sr_img to .hdr or .exr format using the following code: cv2.imwrite('hdr_img_path.hdr', sr_img) The result seems good. Can I do so to get the HDR image in .hdr or .exr format instead of uint16 png format?
Thank you~
@Yliu724 It's OK to do so, but it is better to perform gamma inversion to obtain linear image before saving in a .hdr or .exr format.
Get it. Thanks for your reply.
发件人: XyChen @.> 发送时间: 2021年8月22日 22:45 收件人: chxy95/HDRUNet @.> 抄送: LIU Yue @.>; Mention @.> 主题: Re: [chxy95/HDRUNet] get the HDR image in .hdr or .exr format (#14)
This email originated from outside of City University of Hong Kong. Do not respond, click links, or open attachments unless you recognize the sender and know that the content is safe.
@Yliu724https://github.com/Yliu724 It's OK to do so, but it is better to perform gamma inversion to obtain linear image before saving in a .hdr or .exr format.
― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/chxy95/HDRUNet/issues/14#issuecomment-903279748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOKIDSTJAMLIGOTWNOESRODT6EEP5ANCNFSM5CS437EQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.
@chxy95 please, what operation gamma inversion is? thanks.
@sunyclj you can refer to this page for an approximate inversion of gamma correction. https://forum.image.sc/t/how-to-reverse-gamma-correction-from-a-image/9430