dilation and erosion example; in-progress region of interest example