Patent ID: 7961930

Claim:
A system comprising: a computer system for cleaning a black white image by performing a method comprising: applying a filter to an entirety of the black white image, wherein the black white image includes only black and white pixels, and wherein the filter examines a set of neighboring pixels of each black pixel in the black white image and determines if a black pixel being examined should be converted to a white pixel, the applying including, for each black pixel: generating a look-up value by concatenating pixel values corresponding to a color of each neighboring pixel into a single value; accessing an entry corresponding to the look-up value in a look-up table for the filter, each entry in the look-up table indicating one of: black or white; and converting the black pixel to a white pixel and incrementing a count of the number of black pixels converted to white pixels when the accessed entry indicates white; and repeating the applying to the black white image until a determination is made that the black white image is sufficiently cleaned, wherein the determination is based on the count.