update Segmentation.h/.cc