I am a little not sure where to insert the filtering stage. Early filtering makes the human user more difficult to recognize the object, but late filtering makes the program more difficult to recognize the object.
Window size 6 pixels overlap 2 pixels.
Window size 8 pixels overlap 3 pixels.
compare to the original image:
UCSD CSE190a Haili Wang