Patent ID: 8792723

Claim:
An image processing apparatus comprising: a noise position information obtaining unit that obtains noise position information regarding positions of noise in an image read by a reading unit that optically reads a surface of a medium, an image generating unit that generates a noise eliminated image that is obtained by eliminating a noise from the image, a pattern information obtaining unit that obtains pattern information indicating a pattern appearing on the surface of the medium from the noise eliminated image, a pattern information registering unit that registers the pattern information obtained from areas set on the basis of the noise position information in the noise eliminated image; a pattern position information obtaining unit that obtains pattern position information serving as a position information of the pattern information, wherein the pattern information registering unit registers the pattern information and the pattern position information; and a judging unit that judges whether the noise position information is different from the pattern position information after the noise is eliminated from the image, wherein in a case that the judging unit judges that the noise position information is different from the pattern position information, the pattern information registering unit registers the pattern information and the pattern position information.