Adaptive Regularization for Inverse Problems in Imaging