Patent ID: 9451118
Filing Date: 2016-09-20
CPC Classification: G06K,H04N

Claim Text:
1. An image processing apparatus, comprising: a scanned image obtaining unit configured to use an image scanning device and thereby obtain a scanned image of an original document in which a handwritten object has been written; an original image obtaining unit configured to obtain original image printing data that was used for printing the original document; a zooming ratio calculating unit configured to calculate a zooming ratio for the scanned image on the basis of the scanned image and an original image obtained from the original image printing data; a zoom processing unit configured to perform zooming of the scanned image by the zooming ratio calculated by the zooming ratio calculating unit; and a handwritten image extracting unit configured to extract an image of the handwritten object from the scanned image zoomed by the zoom processing unit on the basis of the scanned image zoomed by the zoom processing unit and the original image; wherein the zooming ratio calculating unit (a) generates projection images of a black object in the original image in a primary scanning direction and a secondary scanning direction, (b) generates projection images of a black object in the scanned image in the primary scanning direction and the secondary scanning direction, (c) in the primary scanning direction, identifies a smallest value and a largest value of pixel positions in the projection image of the original image, identifies a smallest value and a largest value of pixel positions in the projection image of the scanned image corresponding to the smallest value and the largest value of the original image, and calculates a zooming ratio in the primary scanning direction on the basis of a distance between the smallest value and the largest value of the original image and a distance between the smallest value and the largest value of the scanned image, and (d) in the secondary scanning direction, identifies a smallest value and a largest value of pixel positions in the projection image of the original image, identifies a smallest value and a largest value of pixel positions in the projection image of the scanned image corresponding to the smallest value and the largest value of the original image, and calculates a zooming ratio in the secondary scanning direction on the basis of a distance between the smallest value and the largest value of the original image and a distance between the smallest value and the largest value of the scanned image.