The K-SVD algorithm proposed by Elad and his co-workers. This is a python version of K-SVD algorithm.
python version of K-SVD algorithm