Giter Site home page Giter Site logo

deeplearning_image_denoise's Introduction

Image denoising using deep learning model.

What is noise ?

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.

Solution :

  1. 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 :

Architecture

Given a noisy image 'y' the model will predict residual image 'R' and clean image 'x' can be obtained by

x=y-R

  1. Using RIDNET model :

Real Image Denoising with Feature Attention.

Architecture of the model:

Architecture_ridnet

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 .

Dataset:

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

Training:

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.

Results :

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.

result_images

Image showing patch wise noisy and denoised images. result_patches

Below plot shows the model performance on different noise levels

results_dncnn

Comparision of the models :

Tabulating the results(PSNR in db) from the models with different noise level

model_comparision

deeplearning_image_denoise's People

Contributors

harshankumarhrk avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.