Dilation parameter update in segmentation.py.