摘要 |
Provided are an image processing apparatus, an image processing method, a computer-readable medium storing a computer program and an image processing system improving precision of the calculation of boundary based on candidate pixels constituting the boundary of a side of the document region. The image processing apparatus includes a candidate pixel detector for detecting candidate pixels constituting boundary of sides of the document region, a classifier for classifying coordinates of the candidate pixels respectively detected in plural portions of the boundary into a plurality of groups, an approximate line calculator for calculating a plurality of approximate lines for the boundary based on the coordinates belonging to each of the plurality of groups, and a provisional line determination unit for determining a provisional line for the boundary of the side based on the approximate line having the largest number of candidate pixels within a prescribed distance from the approximate line. |