1. A method comprising: selecting, using a scanner, a first pixel to be filtered from a first scan line of a plurality of scan lines from image data; selecting, using the scanner, one or more pixels from one or more scan lines adjacent to the first scan line; determining, using the scanner, an absolute value of a difference between the first pixel and the selected one or more pixels; establishing, using the scanner, a mapping table including a plurality of binary values, wherein the plurality of binary values are established based, at least in part, on the absolute value of the difference; and replacing, using the scanner, the first pixel according to one or more of the binary values of the mapping table.