Patent ID: 8320016

Claim:
An image processing method, comprising: an image acquiring step of acquiring a first two-dimensional parallelogram image constituted by a plurality of pixels; an image creating step of creating a second two-dimensional parallelogram image by dividing the first image into two figures by a line parallel to a predetermined scanning direction and joining together respective sides of the two figures that correspond to an upper base and a lower base of the first image; a calculating step of calculating values w and h, the value w representing a numerical number of pixels constituting one of an upper base and a lower base of the second image, the value h representing a numerical number of pixels aligned in a height direction of the second image; a memory space securing step of securing a w×h two-dimensional memory space; a writing step of writing pixel values on each scanning line of the second image, sequentially in a scanning order, onto a corresponding scanning line of the two-dimensional memory space; and a storing step of storing supplementary information of the second image in association with the two-dimensional memory space, the supplementary information including the values w and h, a gradient value Δd of the second image, and next line information t representing a positional deviation between a scanning line and a next scanning line to be scanned subsequently to the scanning line.