Gravar-mail: Brain MRI Tissue Classification Based on Local Markov Random Fields