ksvdJL: code for computation of dictionary dictionary and for getting the projection matrix of a set of patches onto the dictionary