Patent ID: 7630572

Claim:
An image processing apparatus into which image data is to be recovered having a loss part, the image processing apparatus for generating restoration data with the loss part corrected, the image processing apparatus comprising: a thinning processing unit that executes thinning processing with respect to the image data to be recovered having the loss part; an end-point extraction unit that executes finding end points of thinned lines of the image data generated by the thinning processing unit; a pair-of-connection-end-point extraction unit that extracts a pair of connection end points to be connected from the end points extracted by the end-point extraction unit; and a connection unit that connects the pair of connection end points extracted by the pair-of-connection-end-point extraction unit; and a rounding processing unit that executes rounding processing with respect to the image data to be recovered prior to the thinning processing of the thinning processing unit, wherein the image data to be recovered subjected to the rounding processing executed by the rounding processing unit is input into the thinning processing unit.