A Lagrange method based L-curve for image restoration