Uncertainty guided segmentation