Image Restoration using Nonlocal Regularized Variational Model with Spatially Adapted Regularization Parameter