For segmenting an image, a segmentation mode is selected by a user. If the segmentation
mode is the automatic segmentation mode, the user is allowed to input a new value
for automatic segmentation parameters. Thus, the image is segmented using the automatic
segmentation parameter values, including any new automatic segmentation parameter values.