Improve the image filter