Post-processing segmentation results

[ ]: