minor cleanup of grabcut_segmentation