Patent ID: 8503024

Claim:
An image processing apparatus in which an area sensor formed by arranging sensor components for a pixel in a two-dimensional array is attached in an inclined manner with respect to a reference installation position, the image processing apparatus comprising: a sensor unit configured to read, from the sensor components for a pixel which are determined based on an inclination angle indicating an inclination of the area sensor from the reference installation position and have been arranged within the area sensor, image data in which the inclination has been corrected, wherein the area sensor has an effective reading region which is determined based on the inclination angle indicating the inclination of the area sensor from the reference installation position and the number of the sensor components for a pixel configuring a long side and a short side of the area sensor, and wherein the effective reading region is a rectangular region existing within the area sensor installed in an inclined manner with respect to the reference installation position; an image obtaining unit configured to obtain a plurality of frames of image data having a shift of less than one pixel, by scanning an original document image once by the sensor unit; a high resolution conversion unit configured to obtain image data with a resolution higher than resolutions of the sensor components for a pixel by using the image data obtained by the image obtaining unit to perform interpolation processing; an output resolution designation unit configured to receive, from a user, designation of a resolution of an output image when the original document image is output; a comparison unit configured to compare the number of the frames of the image data required for obtaining the output image with the resolution designated at the output resolution designation unit, with the number of the frames of the image data which can be obtained by the image obtaining unit; and an image data addition unit configured to obtain the image data in which the inclination has been corrected, from the sensor components for a pixel arranged within the effective reading region and the sensor components for a pixel arranged out of the effective reading region, if the comparison unit determines that the number of the frames of the required image data is larger.