Image processing apparatus and computer readable medium storing image processing program
AssigneeFuji Xerox Co., Ltd.
InventorsYoichi Matsuda, Hideo Kakizawa
Life of this patent
Estimating the term…
Abstract
An image processing apparatus includes an image data input unit, a density variation detection unit and a position/size detection unit. The image data input unit inputs image data containing original image data obtained by reading an original. The density variation detection unit detects density variation from the image data input through the image data input unit. The position/size detection unit detects a position or a size of the original image data in the image data based on the density variation detected by the density variation detection unit.
Claims9
An image processing apparatus comprising:
- an image data input unit that scans an original document in a main scanning direction and generates image data of the original document based on the scanned original document, the original document having a leading edge, a trailing edge, and a side edge disposed between the leading edge and the trailing edge;
- a density variation detection unit that detects density variation at the leading edge, the trailing edge, and the side edge of the original document in the image data generated by the image data input unit in a sub-scanning direction of the image data that is substantially perpendicular to the main scanning direction;
- and
- a position/size detection unit that detects a first position of a leading edge side end pixel at an outermost position of the side edge in a leading end portion of the image data that includes data scanned before the leading edge of the original document and a second position of a trailing edge side end pixel at an outermost position of the side edge in a trailing end portion of the image data that includes data scanned after the trailing edge of the original document based on the density variation detected by the density variation detection unit;
- and
- an image processing unit that calculates an inclination of the original document from the first position and the second position detected by the position/size detection unit and corrects the inclination.
An image reading apparatus comprising:
- a reading unit comprising a plurality of pixels arranged along a main scanning direction, the pixels that read an original to acquire image data containing original image data;
- a density variation detection unit that detects density variation of each pixel group in a sub-scanning direction based on the acquired image data, wherein each pixel group includes at least one pixel and the main scanning direction is substantially perpendicular to the sub-scanning direction;
- a first position detection unit that detects a pair of positions of both ends, in the main scanning direction, of the original image data in the image data based on the density variation detected by the density variation detection unit;
- an output unit that outputs the detected pair of positions to an external device;
- a second position detection unit that detects a pair of positions of both ends of the original image data in the sub-scanning direction;
- and
- an image processing unit that calculates a skew amount of the original image data with respect to the image data based on (i) the at least two pairs of positions of the both ends of the original image data in the main scanning direction and (ii) the pair of positions of the both ends in the sub-scanning direction, and corrects the original image data based on the calculated skew amount, wherein:
- the first position detection unit detects at least two pairs of positions of both ends, in the main scanning direction, of the original image data based on the detected density variation,
- one of the pairs of positions is in a vicinity of a leading end of the original image data in the main-scanning direction,
- another of the pairs of positions is in a vicinity of a trailing end of the original image data in the main-scanning direction,
- the output units outputs the detected pairs of the positions, and
- the output unit outputs the corrected original image data to the external device.
Dependencies are inferred from the claim text.