Patent ID: 8139273

Claim:
Apparatus for detecting a stain on a paper-sheet comprising: an irradiating unit that irradiates a paper sheet being transported with light; an image obtaining unit that: receives reflected light or transmitted light from the paper sheet by a light receiving sensor included in the image obtaining unit, and obtains a read image from an output signal for each of a plurality of pixels of the light receiving sensor; an identification unit that identifies a type and a transportation direction of the paper sheet; an area information storage unit that stores therein information on whether each of a plurality of extraction target areas of the read image corresponds to a white portion or a patterned portion of the paper sheet; an image compressing unit that: extracts a pixel having a lowest pixel value from a plurality of pixels constituting an extraction target area when the extraction target area in the read image of the paper sheet, whose type and transportation direction are identified by the identification unit, corresponds to the white portion, and compresses the read image into pixel values of the lowest extracted pixels as representative values, from the extraction target areas; and a stain determining unit that determines a stain on the paper sheet using the compressed image compressed by the image compressing unit.