onwn/C2N

Issue about the mismatch between generated noisy images and original noisy images

Closed this issue · 1 comments

Hi,

I am interested in your paper which used GAN to model real camera noise. When I tried to generate noisy images based on the provided pre-trained generator (C2N-SIDD_to_SIDD.ckpt), I observed that the generated noisy images from the clean ones generally cannot match the original noisy ones, e.g., either noiser or more clear than the original noisy images (I simply run the test_generate.py and didn't modify other codes). Could you please have a look about this issue?

The followings are some samples:

1: random crops from 0101_005_S6_00100_00050_4400_L of SIDD_Medium_Srgb.
clean image:
101_1 101_10

noisy image:
101_1 101_10

generated noisy image:
101_1_generated 101_10_generated

2: random crops from 0104_005_S6_03200_01600_4400_L of SIDD_Medium_Srgb.
clean image:
104_1 104_10

noisy image:
104_1 104_10

generated noisy image:
104_1_generated 104_10_generated

onwn commented

Sorry for my late reply - The G generates noise maps with random intensity(noise level) that is sampled form certain distribution, where we train it to resemble that of the whole training set(namely, SIDD here).
Hence, the generated noisy images may differ in its noise level with specific noisy pair. What we intend is the set of these generated samples be containing realistic noise distribution and be available for training the following model(a denoiser for this denoising task).