Image forming apparatus capable of recognizing top and bottom of document image
First Claim
1. An image processing apparatus for processing pixel image data of a text image having a plurality of letters arranged in a plurality of letter lines, said image processing apparatus comprising:
- a first histogram forming means for forming a first histogram indicating a distribution state of the pixel image data in a first direction;
a second histogram forming means for forming a second histogram indicating a distribution state of the pixel image data in a second direction perpendicular to the first direction;
an identifying means for identifying whether the plurality of letters of the text image are arranged in the plurality of letter lines in the first direction or in the second direction based on the first histogram and the second histogram;
a region dividing means for dividing each of the plurality of letter lines into three regions using a histogram identified by the identifying means as being perpendicular to the direction of the plurality of letter lines, the three regions including a first region having a predetermined width, a second region placed on an external side of the first region, and a third region placed on an external side of the first region and opposed to the second region;
a comparing means for comparing a distribution of the pixel image data of the second region with a distribution of the pixel image data of the third region thereof for each of the plurality of letter lines and for determining a top and a bottom of each of the plurality of letter lines; and
a recognizing means for recognizing a top and a bottom of the text image as a whole in accordance with a result of determination of the comparing means.
1 Assignment
0 Petitions
Accused Products
Abstract
An image forming apparatus automatically identifying top and bottom of document image based on characteristics with regard to shapes or positions of data, etc. recorded on document. Distribution states of pixel cumulative values in main scanning direction and sub scanning direction of image signals provided by scanning the document, are analyzed and top and bottom of the document image is identified from the result of analysis. Further, it is possible to identify the top and bottom of the document image by analyzing the distribution states the pixel cumulative values in the main scanning direction and the sub scanning direction of the image signals and identifying letter series regions and line segment regions displaced therefrom. In addition thereto, it is possible to automatically identify the top and bottom of the document image based on distribution states in the main scanning direction and the sub scanning direction of specific signs included in the image signals provided by scanning the document or distribution states of pixel cumulative values of specific image regions including the specific signs.
114 Citations
14 Claims
-
1. An image processing apparatus for processing pixel image data of a text image having a plurality of letters arranged in a plurality of letter lines, said image processing apparatus comprising:
-
a first histogram forming means for forming a first histogram indicating a distribution state of the pixel image data in a first direction; a second histogram forming means for forming a second histogram indicating a distribution state of the pixel image data in a second direction perpendicular to the first direction; an identifying means for identifying whether the plurality of letters of the text image are arranged in the plurality of letter lines in the first direction or in the second direction based on the first histogram and the second histogram; a region dividing means for dividing each of the plurality of letter lines into three regions using a histogram identified by the identifying means as being perpendicular to the direction of the plurality of letter lines, the three regions including a first region having a predetermined width, a second region placed on an external side of the first region, and a third region placed on an external side of the first region and opposed to the second region; a comparing means for comparing a distribution of the pixel image data of the second region with a distribution of the pixel image data of the third region thereof for each of the plurality of letter lines and for determining a top and a bottom of each of the plurality of letter lines; and a recognizing means for recognizing a top and a bottom of the text image as a whole in accordance with a result of determination of the comparing means. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An image processing method for recognizing top and bottom of a text image having letters arranged in a plurality of lines in a first direction or in a second direction perpendicular to the first direction, said image processing method comprising steps of:
-
forming a first histogram indicating a distribution state of the pixel image data in the first direction; forming means for forming a second histogram indicating a distribution state of the pixel image data in the second direction; identifying whether the letters of the text image are arranged in the lines in the first direction or in the second direction based on the first histogram and the second histogram; dividing in three a letter line area, based on one of the first and second histograms perpendicular to the direction of the letter lines identified by the identifying means, into a first region having a predetermined width in a letter line, a second region placed on an external side of the first region, and a third region placed on an external side of the first region and opposed to the second region; comparing a distribution of the pixel image data of the second region with a distribution of the pixel image data of the third region thereof to determine top and bottom of the letter line; repeating said dividing and comparing steps for a plurality of letter lines; and recognizing top and bottom of the text image as a whole in accordance with a result of said repeating step. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification