Giter VIP home page Giter VIP logo

nwsr's Introduction

Description:

This repository contains the code associated with the following paper:

Ashkan Abbasi, Amirhassan Monadjemi, Leyuan Fang, Hossein Rabbani, "Optical coherence tomography retinal image reconstruction via nonlocal weighted sparse representation," J. Biomed. Opt. 23(3), 036011 (2018), doi:10.1117/1.JBO.23.3.036011.

We introduce a method for OCT retinal image denoising and interpolation. If you find it useful, kindly cite the above paper.

Requirements:

Before running the code, you need to do the following steps:

  1. Download datasets for training and testing from http://people.duke.edu/~sf59/Fang_TMI_2013.htm

  2. Create a "datasets" folder and copy the followings two folders in it:

    For synthetic experiments

    Images for Dictionaries and Mapping leraning

  3. Install SPAMS from http://spams-devel.gforge.inria.fr/downloads.html we called "mexOMP" function from SPAMS toolbox in the "sparse_inp_momp.m"

    Note: it is also possible to use "omp" function which is in the "OMPBox v10" toolbox. however, it needs small modifications in our "sparse_inp_momp.m". The "OMPBox v10" can be downloaded from: http://www.cs.technion.ac.il/~ronrubin/software.html

  4. If you want to train a dictionary, you need to install "KSVDBox v13" which can be downloaded from http://www.cs.technion.ac.il/~ronrubin/software.html

Important m files:

demo_NWSR_1xInterp.m: Denoising experiment

demo_NWSR_2xInterp.m: Interpolation experiment

load_train_images.m: training High-SNR High-resolution (HH) images

noise_level_in_HH_training_images.m: estimate noise standard deviation in the training set

demo_train_dictionary.m: learn a dictionary from training HH images or show the atoms of a saved dictionary.

Note: the file "dictionary_8x8_20it_rand_g165.mat" contains the dictionary that we have trained with this function, as we explained in the paper.

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.