Watershed Based Segmentation Algorithm