fengzhang427/LRD

Reimplement Problem of GAN

Opened this issue · 13 comments

  1. When the noise image output from the generator is added with the shot noise, should the value of the noise be 0~1,my guess is to use bl with wb in the camera parameters for deflation, as written in the noise_proile file ?
  2. Is it necessary to use Sigmoid or ReLU layer in the output layer of the generator and discriminator?
  1. The generator does not output a noise image but rather a noise map similar to a dark frame with more accurate noise distribution. We add this to the shot noise and then clip it to the range [0, 1].
  2. Unnecessary. The final layer of generator is a conv layer. The final layer of discriminator is a linear layer to output confidence score.

I found that the range of shot noise is more than 0~1, is it possible to use the following method to realize the zoom for noise image?
image

I believe it is necessary to perform clipping after adding the noise. Shot noise indeed can exceed the [0, 1] range during Poisson sampling, and similar phenomena occur during CMOS noise generation. Moreover, in the process of analog-to-digital signal conversion, clipping also occurs. Therefore, clipping the noise after addition is a reasonable approach.

You can simple clip it to [0,1].

When I reproduce the dataset, I found that if I directly clip the read noise and shot noise to 01, it will break the overall distribution of the noise, can you please specify the method of generating the noise? My current process is to scale the clean image to the same magnitude as the noise image, get the shot noise, then generate the read noise between clip 01 according to the camera profile, pass it through the generator, add it with the shot noise, and normalize it into the discriminator and denoising network.

You only need to apply clipping after summing shot noise and read noise; normalization is not necessary.

I can not find any image, maybe it is not attached

This code is used to synthesize a noisy image using noise parameters, not the process of calibrating noise parameters, which is a more specialized process.

I understand, but what I want to ask is the synthesis of noisy data during SID training is implemented in the above way?

Yes, we utilize the above code to synthesis the shot noise (Poisson distribution), for the read noise, we utilize our generator to synthesis.