Text this: A Comparative Study of Some Markov Random Fields and Different Criteria Optimization in Image Restoration