Microwave imaging based on a Markov random field model