Patent ID: 8804209

Claim:
An image processing apparatus comprising: an input unit for inputting image data including a document region; a storage for storing a brightness of each pixel on a first main scan line outside the document region; a corrector for correcting the brightness of each pixel on the first main scan line stored in the storage, in accordance with the brightness of pixels in a first part and the brightness of pixels in a second part on a second main scan line following the first main scan line; and an edge point detector for detecting an edge point of the document region situated on the second main scan line, in accordance with a difference between the brightness of each pixel on the first main scan line corrected by the corrector and the brightness of each pixel on the second main scan line, respectively corresponding to each pixel on the first main scan line, wherein at least one of the first part and the second part on the second main scan line is outside of the document region.