Regularized Dictionary Learning