摘要 |
An image processing apparatus includes a line information reception unit, a line extraction unit, an inversion unit and a determination unit. The line information reception unit receives a set of information indicating (i) information on an image having a possibly of being a line and (ii) line elements being a rectangular pixel lump which constitutes a line. The line extraction unit extracts a line by tracing from a first start point to an end point of the line, based on the received information indicating the line elements and a tracing direction of the line. The inversion unit inverts the tracing direction of the line, sets the extracted end point of the line as a second start point and sends the second start point and the inverted tracing direction to the line extraction unit. The determination unit determines whether or not to cause the inversion unit to perform a process. |