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

How to run a simple png -> png with this code? #2

Open
GeneralShan opened this issue Mar 30, 2024 · 3 comments
Open

How to run a simple png -> png with this code? #2

GeneralShan opened this issue Mar 30, 2024 · 3 comments

Comments

@GeneralShan
Copy link

How can I use this code to run a simple PNG to PNG image test?
I see your example code but it does not show how you have made the very impressive video example?
I would like to learn how to do this.

@GeneralShan
Copy link
Author

I see there are some codes to run the HDR -> SDR. But I want to know how I can input SDR image and output a HDR image using this project.

@mdyao
Copy link
Owner

mdyao commented Apr 2, 2024

Hi @GeneralShan , you can simply change the dataloader to suit the PNG input/output. I would like to add the corresponding codes later. If there are any obstacles, feel free to contact me.

I use the ffmepg tool to make a video example.

You can adjust the rev=True/False parameter in self.netG(x=y_, rev=True) to convert between HDR and SDR, as needed.

@mdyao
Copy link
Owner

mdyao commented Apr 2, 2024

@GeneralShan I will refactor the code later to meet all you mentioned requirements, no later than the end of this month.

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