Improving Clustering Algorithms for Image Segmentation using Contour and Region Information