We are considering the problem of estimating the parameters of a binary Mar
kov random field from a given realization. We are proposing a consistent es
timator of the clique potentials that can be implemented by means of morpho
logical erosions. Experimental results demonstrate the effectiveness of the
proposed approach.