An additional unnecessary pixel values are added to a image causing the loss of information.The noise can be originated by many ways such as while capturing images in low-light situations, damage of electric circuits due to heat, sensor illumination levels of a digital camera or due to the faulty memory locations in hardware or bit errors in transmission of data over long distances. It is essential to remove the noise and recover the original image from the degraded images where getting the original image is important for robust performance or in cases where filling the missing information is very useful like the astronomical images that are taken from very distant objects.
- Using DNCNN model :
Therea are many deep learning model that can be used for completing this task of image denoising. Now we will use Deep Convulutional Neural Network model (DnCNN)
Architecture of the model :
Given a noisy image 'y' the model will predict residual image 'R' and clean image 'x' can be obtained by
x=y-R
Research paper : https://arxiv.org/pdf/1608.03981v1.pdf
- Using RIDNET model :
Real Image Denoising with Feature Attention.
Architecture of the model:
Thsi model is composed of three main modules i.e. feature extraction, feature learning residual on the residual module, and reconstruction, as shown in Figure .
Research paper : https://arxiv.org/pdf/1904.07396.pdf
We will be using publicly avaliable image and modify it according to our requirement
dataset : https://github.com/BIDS/BSDS500
This Dataset is provided by Berkeley University of California which contains 500 natural images.
Now we create 85600 patches of size 40 x 40 that was created from 400 train images and 21400 patches of size 40 x 40 that was created from 100 test images
Model has been train for 30 epochs with Adam optimizer of learning rate=0.001 and with learning rate decay of 5% per epoch .Mean Squared Error is used as loss function for DNCNN model and Mean Absolute Error for RIDNET.
This results are from DNCNN model.
For an noisy image with psnr of 20.530 obtained denoised image which has psnr of 31.193
Image showing the comparision of ground truth, noisy image and denoised image.
Image showing patch wise noisy and denoised images.
Below plot shows the model performance on different noise levels
Tabulating the results(PSNR in db) from the models with different noise level