segmentation function

Image segmentation by seed-based watershed algorithm