Added example of dilate filter in a loop