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

您好,作者,有疑问想请教一下 #16

Closed
thissbb opened this issue Nov 15, 2024 · 1 comment
Closed

您好,作者,有疑问想请教一下 #16

thissbb opened this issue Nov 15, 2024 · 1 comment

Comments

@thissbb
Copy link

thissbb commented Nov 15, 2024

81ce93834fa4ae8fbadf1c7098cfed6
请问为什么要与gt做这个,有什么好处吗?这样做有理论依据吗?
mean_restored =cv2.cvtColor(restored.astype(np.float32),cV2.COLOR BGR2GRAY).mean()
mean target = cv2.cvtColor(target.astype(np.float32),cV2.COLOR BGR2GRAY).mean()
restored =np.clip(restored*(mean target/meanrestored),0,1)
期待您的回复!感谢!

@movingforward100
Copy link
Member

We are just following Kind and LLFlow, please refer to https://github.com/wyf0912/LLFlow/blob/main/code/test.py . If you find this repo useful, please give it a star ⭐ and consider citing our paper in your research. Thank you.

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