Patent ID: 8270044

Claim:
A scanning apparatus comprising: a stage glass on which a document is positioned; a scanning head that scans an image of the document while translating below the stage glass; an image processing part that processes image data produced by the scanning head; a boundary line detecting part that detects a boundary line of the image; and a controller that, if a skew line in the boundary line is detected by the boundary line detecting part, compares the skew line with a predetermined reference line indicated by a straight line in the boundary line, and controls the image processing part to correct the skew line and the image data inside of the boundary line based on a ratio of a distance between a predetermined axis and points on a first boundary line including the skew line to a distance between the predetermined axis and the reference line using a result of the comparison, where the predetermined axis is orthogonal to a folding line which is a line in a region of the image that is defocused and is furthest from the stage glass, wherein the controller corrects the skew line occurring in an image of the boundary line when the scanning head scans a book.