Skip to content

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.

Notifications You must be signed in to change notification settings

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

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published