Accelerated Sparse Coding with Overcomplete Dictionaries for Image Processing Applications