Patent ID: 8243114

Claim:
An image forming apparatus, comprising: a scanning portion that deflects a light irradiated in accordance with output pixel data of interest in a main scanning direction to form an image on a photosensitive member; a read out portion that reads out a plurality of pixel data whose sub scanning positions are different each other, based on a curve characteristic corresponding to a main scanning position of the output pixel data of interest so as to correct shift of a scanning line by the light, the curve characteristic corresponding to the amount of shift of the scanning line in a sub scanning direction; an interpolation processing portion that interpolates the plurality of pixel data to generate the output pixel data of interest; a calculation portion that determines a first coefficient based on the curve characteristic; a pattern recognition portion that performs pattern recognition on the plurality of pixel data to output a pattern recognition rate; and a correction coefficient output portion that outputs a second coefficient in accordance with the pattern recognition rate, wherein the interpolation processing portion interpolates the plurality of pixel data based on the first and the second coefficients to generate the output pixel data of interest.