Image Segmentation using Graphical Models: A Survey