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

如果想要 noise generator 来合成低光的图像,这里的ratio 和 scale 如何设置呢 #26

Open
lingyzhu0101 opened this issue Jan 30, 2024 · 1 comment

Comments

@lingyzhu0101
Copy link

No description provided.

@Srameo
Copy link
Owner

Srameo commented Jan 31, 2024

您好!

scale是通过相机meta data中的白电平white_level和黑电平black_level,即scale=white_level-black_level。这一部分主要负责相机量化噪声的合成部分,在我们以及ELD的噪声模型中,量化噪声被建模为 $U(-\frac{1}{2q}, \frac{1}{2q})$,其中 $q$ 为量化步长,即 scale

如果您想合成低光图像,您只需修改ratio为您需要的范围。由于LED主要面向的任务是极暗场景的去噪任务,因此ratio范围较大,在合成的图像“很黑”,可能不符合您的预期,您可以适当的降低ratio范围。

btw, 如果LED对您的项目有帮助的话,希望您可以帮我们点个star🌟,这将是对我们进一步科研的莫大鼓励!感谢!

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