Patent Document ID: 8848240
Application ID: 13164986
Patent Status: 1

Claim One:
1. An image processing apparatus performing a cropping process on a document image containing a text or a graphic, comprising: an extraction section extracting an object area containing the text or the graphic from the document image; an instruction reception section receiving an instruction whether a size of the document image is one of pre-stored standard sheet sizes or not; a first determination section determining a cropping area surrounding the object area with given margins on the basis of the object area extracted by the extraction section and the standard sheet sizes when the instruction reception section receives an instruction that the size of the document image is one of the standard sheet sizes; a setting reception section receiving setting of the margins; a second determination section determining the cropping area on the basis of the object area extracted by the extraction section and the setting of the margins received by the setting reception section when the instruction reception section receives an instruction that the size of the document image is a non-standard sheet size which is not one of the standard sheet sizes; a cropping section cropping the cropping area determined by the first determination section or the second determination section from the document image; a coordinate calculation section calculating coordinates identifying the cropping area; and a judgment section judging whether the cropping area is completely contained within given coordinate ranges or not, on the basis of the calculation result obtained by the coordinate calculation section, wherein when the judgment section judges that the cropping area is not completely contained within the coordinate ranges, the first determination section or the second determination section changes the cropping area such as to be completely contained within the coordinate ranges.