ashkan-abbasi66 / K-SVD-for-inpainting-OCT-images

A simple example to show inpainting missing columns or rows of a down-sampled OCT image through K-SVD dictionary learning and sparse representation methods.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

K-SVD for inpainting OCT images

This is an OLD code that implements inpainting missed columns of an OCT image. I am not sure that everything is correct. However, I tested it last time at 10/08/2021 on a 64 bit Windows 10 with MATLAB 2020.

The main file is ksvdinpaint_global_oct_1.m. At first, it loads a pretrained dictionary (global dictionary) or learns an adaptive dictionary using the well-known K-SVD method with this package. Then, it performs inpainting missing columns.

In ksvdinpaint_global_oct_2.m, a non-local mean based denoising method is just performed prior to inpainting to reduce noise in the given OCT image.

All credit goes to the original authors of the mentioned papers in the code. Please cite them properly if you are using this code. My contribution which was closely related to this repository is NWSR.

About

A simple example to show inpainting missing columns or rows of a down-sampled OCT image through K-SVD dictionary learning and sparse representation methods.


Languages

Language:MATLAB 74.6%Language:C 25.4%