Markov Random Field Edge-Centric Image/Video Processing