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

some question about the input image type #11

Open
TLcode001 opened this issue Sep 27, 2022 · 2 comments
Open

some question about the input image type #11

TLcode001 opened this issue Sep 27, 2022 · 2 comments

Comments

@TLcode001
Copy link

hello,I am very interested in your C5 work. But I have some doubts on the format of the input image.
When I use my own dataset, should its data be 16-bit?,Is it ok if I directly enter a .hdr format?
When the output is generated, what operations should be performed to get the feeling that accords with the human eye, such as CCM, AE and other operations?
Greatful thanks

@mahmoudnafifi
Copy link
Owner

Hi,

  • Should its data be 16-bit?
    Though it is recommended to use 16-bit raw images, 8-bit raw images should be handled as well in the im2double function.
  • Is it ok if I directly enter a .hdr format?
    You should first extract raw image data.
  • What operations should be performed to get the feeling that accords with the human eye?
    This codebase does not include CCM/post-processing operations. It applies wb gains followed by a global gamma operator. If you have the 3x3 CCM values, then you should apply it before this line.

Hope you find this useful.

@TLcode001
Copy link
Author

Hi, first of all, thanks for your answer, it's very helpful to me.
Missed some questions last time

  1. Our hdr data is 20bit, and the input data in your paper should be 16bit. Will this have any effect? Do we need to perform an automatic exposure operation on the hdr data first?

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