摘要 |
An image processing apparatus including a candidate pixel detector for detecting candidate pixels of boundary lines of sides of a document region, a classifier for classifying coordinates of the candidate pixels into coordinate groups, an approximate line calculator for calculating approximate lines for the boundary line based on each of the coordinate groups, a provisional line determination unit for determining a provisional line of the boundary line based on the approximate lines that is selected based on the number of candidate pixels that are within a distance from the approximate line, a shadow detector for detecting a shadow image of an edge of the document within a predetermined distance from the provisional line, and a boundary line determination unit for determining whether the boundary line is within the predetermined distance from the provisional line based on the shadow image. |