Filtering images using low-pass filters