Adjusted some parameters and visualization for segmentation.