/K-SVD-simple-implementation

A simple implementation of the KSVD algorithe from the paper "K-svd: An algorithm for designing overcomplete dictionaries for sparse representation"

Primary LanguagePython

K-SVD-simple-implementation

A simple implementation of the KSVD algorithe from the paper "K-svd: An algorithm for designing overcomplete dictionaries for sparse representation"

k_svd.py contains the main k-svd algorithm implentation. including the orthonogal pursuit match algoriuthm. denoising.py is the script using the ksvd tool to denoising the image.

Requirement package for python3: numpy; scipy; opencv.

usage: python denosing.py