A simple grayscale image filter