A characterization of a spatial process in which the value observed at a location depends only on the values at the immediately neighbouring locations. The form of the dependence is the same for all locations. The probability distributions for which a Markov random field can exist are specified by the Hammersley–Clifford theorem. A Markov random field is an undirected graphical model.