Patent ID: 7643701

Claim:
An imaging apparatus comprising: an area acquisition section which acquires an area from which an image is to be extracted, based on an input image acquired by shooting, a stage and an original placed on the stage, along an oblique direction; a storage section which prestores information indicating a figure of a known shape; an extraction section which extracts from the input image the image corresponding to the area acquired by the area acquisition section; a parameter acquisition section which acquires a parameter for correcting the image extracted by the extraction section to an image of the original as seen from the front; and a correction section which corrects the image extracted by the extraction section to the image of the original as seen from the front using the parameter acquired by the parameter acquisition section, wherein the area acquisition section is configured to: (i) acquire straight lines representing a boundary between an area of the input image occupied by the stage and an image area of the input image occupied by the original, (ii) upon acquisition of the straight lines representing the boundary, acquire an area surrounded by the straight lines or the figure of the known shape to acquire the area from which the image is to be extracted; and (iii) when the straight lines representing the boundary are not acquired, acquire the area from which the image is to be extracted based on the prestored information indicating the figure of the known shape stored in the storage section.