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

run_benchmark.py KSigma Transform #3

Open
touchwolf opened this issue Feb 23, 2021 · 3 comments
Open

run_benchmark.py KSigma Transform #3

touchwolf opened this issue Feb 23, 2021 · 3 comments

Comments

@touchwolf
Copy link

What do anchor and V mean in class KSigma?

@bigeagle
Copy link
Contributor

V means value range. For a typical 10bit sensor with black_level 64, V = 1023-64 = 959. Some sensors can be set in different bitwidth output, this param is useful in this case.

anchor is an extension to the original k-sigma transfor. For a random ISO Gx and an anchor ISO Ga, the process is

img_norm = inv_ksigma(ksigma(img, Gx), Ga)

In this way, the input images are "normalized" to noise characteristics at ISO-level at Ga. Compared with the orignal k-sigma transform, this extension can keep the value range to the network in a stable range.

@dcrmg
Copy link

dcrmg commented Feb 24, 2021

@

V means value range. For a typical 10bit sensor with black_level 64, V = 1023-64 = 959. Some sensors can be set in different bitwidth output, this param is useful in this case.

anchor is an extension to the original k-sigma transfor. For a random ISO Gx and an anchor ISO Ga, the process is

img_norm = inv_ksigma(ksigma(img, Gx), Ga)

In this way, the input images are "normalized" to noise characteristics at ISO-level at Ga. Compared with the orignal k-sigma transform, this extension can keep the value range to the network in a stable range.

What's the use of parameter "inp_scale"(The default value is 256), Is it to increase the range of value to a certain range such as 0~256?

@bigeagle
Copy link
Contributor

inp_scale is simply the network input range. The released model is trained at [0, 256].

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

3 participants