Image Coding Using Generalized Predictors Based on Sparsity and Geometric Transformations