Claims
- 1. A method of detecting a direction of image data inputted by scanning a document by a scanner, used in a document image filing system including at least a central processing unit, a character recognition dictionary and said scanner, said method comprising the steps of:
- extracting data of one character from the input image data;
- extracting a feature from the extracted data of the one character;
- storing standard patterns in said character recognition dictionary;
- reading one of the standard patterns corresponding to the extracted feature;
- rotating the read standard pattern, corresponding to the extracted feature, stored in said character recognition dictionary to produce a plurality of features, corresponding to the extracted feature, in different directions from one another;
- calculating degrees of similarity between the feature of the data of one character and the plurality of features in different direction from one another;
- detecting a direction of the input image data on the basis of the degrees of similarity; and
- correcting the direction of the image data by rotating an angle of the input image data so as to correct the input image data to a proper direction.
- 2. A method of detecting a direction of image data according to claim 1, wherein the feature as the standard pattern is rotated in amounts of are 90, 180 and 270 degrees.
- 3. A method of detecting a direction of image data according to claim 2, further comprising the step of:
- correcting the direction of an angle of the image data by rotating the input image data by 90, 180, or 270 degrees on the basis of said direction detection step so as to correct the input image data to a proper input direction
- 4. A method of detecting a direction of image data according to claim 1, wherein the degrees of similarity in said direction detection step are accumulated values obtained using the data of a plurality of characters in the document.
- 5. A document image filing system having means for generating digital image data by optically scanning a document, a CPU, an image memory and a filing unit connected to one another through a bus, the system comprising:
- means for extracting data of one character from the digital image data;
- means for extracting a feature from the data of one character which is extracted by said extraction means;
- character recognition dictionary means for storing the feature as a standard pattern;
- means for rotating the standard pattern stored in said character recognition dictionary means to produce a plurality of differently angled standard patterns different in direction from one another;
- means for calculating a plurality of similarity measures between the extracted feature and the plurality of standard patterns different in direction from one another;
- means for detecting a direction of the digital image data on the basis of the plurality of similarity measures wherein the similarity of measures in the comparing of angles of rotation between the extracted feature and the standard patterns; and
- correcting the direction of the digital image data by rotating the angle of the input image data so as to correct the input image data to a proper direction based on the detected direction thereof.
- 6. A document image filing system according to claim 5, further comprising:
- correction means for correcting the digital image data to data having a proper direction, on the basis of the detection result by said detection means.
- 7. A document image filing system according to claim 6, wherein said correction means is constructed by the same feature rotation means as that of said means used to produce a plurality of features as standard patterns.
- 8. A document image filing system according to claim 6, wherein said correction means and said means used to produce a plurality of features as standard patterns are constructed by a program for rotation processing executed by said CPU.
- 9. A document image filing system according to claim 5, further comprising:
- means for indicating regeneration of the digital image data on the basis of the detection result by said detection means.
- 10. A method of detecting a direction of digital document image data inputted by scanning a document by an optical scanner, used in a document image filing system including at least a central processing unit (CPU), a character recognition dictionary and said scanner, said method comprising the steps of:
- extracting data of one character from the input digital document image data;
- extracting feature data from the extracted one character;
- reading out a standard pattern, which comprises feature data corresponding to the extracted feature data of the extracted character from the input digital document image data, from said character recognition dictionary which stores a plurality of feature data corresponding to a plurality of characters;
- generating four direction standard patterns which are obtained by rotating the read out standard pattern at intervals of substantially 90 degrees;
- calculating degrees of similarity between the feature data of the one character of the input digital document image data and the respective four standard patterns;
- executing from said step of extracting data to said step of calculating for respective characters of input data for a predetermined number of times;
- detecting a direction of the input digital document image data on the basis of the degree of similarity which is calculated by accumulating each one of the different directions; and
- correcting the direction of image data by rotating the input digital document image data so as to correct the input image data to a proper direction based on the detected direction thereof.
- 11. A document image filing system comprising:
- a document inputting unit to which is inputted digital document image data obtained in unrestricted directions by optically scanning a document having a directional nature;
- a processing unit which (i) extracts data of one character from the input digital document image data which is transferred from said document inputting unit, (ii) extracts a feature data from the extracted one character, (iii) reads out a standard pattern which comprises feature data corresponding to the extracted feature data of the extracted character, from a character recognition dictionary which stores a plurality of feature data corresponding to respective characters, (iv) generates four direction standard patterns at an interval of substantially 90 degrees, (v) calculates degrees of similarity between the feature data of one character of the input digital document image data and the respective four standard patterns, (vi) executes said steps from said extracting data processing to said calculating processing for respective characters of the input digital document image data for a predetermined number of times, (vii) detects a direction of the input digital document image data on the basis of the degrees of similarity which are calculated by accumulating the degrees of similarity for each one of the directions of the standard patterns, and (viii) corrects the direction of digital document image data by rotating the input image data so as to correct the input digital document image data to a proper direction based on the detected direction
- an image memory which stores said digital document image data being transferred from said document inputting unit and said digital document image data being corrected in the state of proper direction by said processing unit; and
- a display unit which displays said digital document image data being corrected in the state of proper direction read out from said image memory.
- 12. A document image filing system according to claim 11, wherein said processing unit is provided with said character recognition dictionary which stores said reference image data of a character having at least two directions.
- 13. A document image filing system according to claim 11, which further includes a printer which prints out said digital document image data being corrected to the state of proper direction read out from said image memory.
- 14. A document image filing system according to claim 11, wherein said processing unit is provided with a comparing unit which compares gray-scale image data of a predetermined character extracted from said digital document image data with reference gray-scale image data of the character.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2-322782 |
Nov 1990 |
JPX |
|
Parent Case Info
This is continuation of U.S. application Ser. No. 07/796,408, filed Nov. 22, 1991, now abandoned.
US Referenced Citations (10)
Foreign Referenced Citations (1)
Number |
Date |
Country |
2-79184 |
Mar 1990 |
JPX |
Non-Patent Literature Citations (1)
Entry |
H. Fujisawa, et al., "Development of A Kanji OCR", Proceedings on Pattern Recognition, Nov. 7-10, 1987, pp. 816-820. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
796408 |
Nov 1991 |
|