Add ui for segmentation setting

Lack of "Get mean of contour" function(TO BE DONE)