A MRF Model for Biomedical Image Segmentation