Closed MaShaoming closed 4 years ago
Hi, can you let me know some details?
def gaussian_noise(sigma,image):
gaussian = np.random.normal(0,sigma,image.shape)
noisy_image = np.zeros(image.shape, np.float32)
noisy_image = image + gaussian
noisy_image = np.clip(noisy_image,0,255)
noisy_image = noisy_image.astype(np.uint8)
return noisy_image
If you define in a different way (e.g. without clipping) the results will be worse. You can try to fine tune the existing checkpoint or retrain from scratch if you want to try a different AWGN implementation.
Cheers
hi clausmichele,
the root cause is the image's format is JPEG and I just searched gaussian noise image from google. it works well after adding noise with your method.
really appreciate for your reply, best wishes !
hi~
in you paper ,you said "this architecture can achieve state-of-art results for Gaussian denoising" in 3.1. Spatial Denoising CNN. But I received weak denoising effect while only try three frames of same images with Gaussian noise.
Could you explain this situation, thanks very much!