Part 1 (image smoothing) is done and tested.