added color picking functionality to segmentation