Segmentation tool