Added image segmentation