Towards a DSP implementation of an MRF-based cellular circuit for image segmentation and edge detection