Circuital Markov Random Fields for analog edge detection