<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.1//EN" "ep-patent-document-v1-1.dtd">
<ep-patent-document id="EP96300642B1" file="EP96300642NWB1.xml" lang="en" country="EP" doc-number="0725359" kind="B1" date-publ="20000913" status="n" dtd-version="ep-patent-document-v1-1">
<SDOBI lang="en"><B000><eptags><B001EP>......DE....FRGB..................................</B001EP><B005EP>J</B005EP><B007EP>DIM360   - Ver 2.9 (30 Jun 1998)
 2100000/1 2100000/2</B007EP></eptags></B000><B100><B110>0725359</B110><B120><B121>EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B1</B130><B140><date>20000913</date></B140><B190>EP</B190></B100><B200><B210>96300642.4</B210><B220><date>19960130</date></B220><B240><B241><date>19961219</date></B241><B242><date>19970211</date></B242></B240><B250>en</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>3607995</B310><B320><date>19950201</date></B320><B330><ctry>JP</ctry></B330></B300><B400><B405><date>20000913</date><bnum>200037</bnum></B405><B430><date>19960807</date><bnum>199632</bnum></B430><B450><date>20000913</date><bnum>200037</bnum></B450><B451EP><date>19991104</date></B451EP></B400><B500><B510><B516>7</B516><B511> 7G 06K   9/32   A</B511></B510><B540><B541>de</B541><B542>Verfahren und Gerät zur Bildverarbeitung</B542><B541>en</B541><B542>Image processing method and apparatus</B542><B541>fr</B541><B542>Méthode et appareil de traitement d'images</B542></B540><B560><B561><text>EP-A- 0 400 881</text></B561><B561><text>US-A- 5 077 811</text></B561><B561><text>US-A- 5 235 651</text></B561><B562><text>PATENT ABSTRACTS OF JAPAN vol. 018, no. 379 (P-1771), 15 July 1994 &amp; JP-A-06 103410 (MINOLTA CAMERA CO LTD), 15 April 1994,</text></B562></B560><B590><B598>5C</B598></B590></B500><B700><B720><B721><snm>Takaoka, Makoto</snm><adr><str>c/o Canon K.K.,
30-2, 3-chome,
Shimomaruko</str><city>Ohta-ku,
Tokyo</city><ctry>JP</ctry></adr></B721></B720><B730><B731><snm>CANON KABUSHIKI KAISHA</snm><iid>00542361</iid><irf>JJG/2422030</irf><adr><str>30-2, 3-chome, Shimomaruko,
Ohta-ku</str><city>Tokyo</city><ctry>JP</ctry></adr></B731></B730><B740><B741><snm>Beresford, Keith Denis Lewis</snm><sfx>et al</sfx><iid>00028273</iid><adr><str>BERESFORD &amp; Co.
High Holborn
2-5 Warwick Court</str><city>London WC1R 5DJ</city><ctry>GB</ctry></adr></B741></B740></B700><B800><B840><ctry>DE</ctry><ctry>FR</ctry><ctry>GB</ctry></B840></B800></SDOBI><!-- EPO <DP n="1"> -->
<description id="desc" lang="en">
<p id="p0001" num="0001">The invention relates to image processing method and apparatus for automatically discriminating the direction of a document of an image read by a photoelectric converting device such as a CCD or the like.</p>
<p id="p0002" num="0002">Hitherto, in an information processing apparatus, characters are generally recognized from original information (image data) read by an optical reader such as a scanner or the like. However, the character recognition is performed on the assumption that the characters were certainly inputted so as to face the proper direction (namely, the characters are arranged in the proper direction for the scanner), so that the character recognition result exactly differs from the input original.</p>
<p id="p0003" num="0003">For example, in case of characters 1001 shown in Figs. 10A to 10D, when an image is inputted so that the character faces the proper direction as shown in Fig. 10A, a recognition result as a character 1011 is correctly obtained. However, in the case where an image is rotated by 270° and is inputted as shown in Fig. 10B, it is erroneously recognized as a character<!-- EPO <DP n="2"> --> 1012. In the case where image data is rotated by 180° and the image is inputted as shown in Fig. 10C, it is erroneously recognized as a character 1013. In the case where image data is rotated by 90° and the image is inputted as shown in Fig. 10D, it cannot be recognized. Those recognition results are shown for convenience of explanation and the actual results don't always become the results as mentioned above.</p>
<p id="p0004" num="0004">In order to avoid the problem such that when the input image is character recognized as it is as mentioned above, so long as the direction of a document is not the proper direction, the correct result cannot be obtained, there is also the following method. Namely, the image inputted by the scanner is displayed and the user judges whether the image has been inputted in the proper direction or not. When the inputting direction is not the proper direction, the rotation of the image in an image memory is instructed so as to manually rotate the direction of the image by 90°, 180°, and 270° by the user, thereby rotating the image, or the setting direction of the original to the scanner is changed to the proper direction and the image is again inputted or the like, thereby correcting the image to the proper direction, and after that, the start of the character recognition is instructed.</p>
<p id="p0005" num="0005">However, owing to the improvement of a processing speed of the scanner, an automatic document feeding<!-- EPO <DP n="3"> --> function called an auto feeder is annexed to the apparatus and a plurality of originals can be automatically read and inputted. The number of originals as targets to be processed can be set to a large quantity of papers nowadays. In such a situation, it is very difficult to perform operations for manually judging the proper direction one by one for a plurality of originals and for correcting the direction of the original image.</p>
<p id="p0006" num="0006">The contents of the document of the original is expressed by various patterns such as vertical writing, lateral writing, and the like. That is, for example, there are various kinds of patterns such as document of the A4 size which is vertically placed and is written in the lateral direction (see Fig. llA: for example, this pattern is often used in a lateral writing Japanese document, English document, or the like), document of the A4 size which is laterally placed and is written in the lateral direction (see Fig. 11B: for example, such a pattern is frequently used in a document having a long sentence, a document for the OHP, a document in case of reducing and copying a document of the A3 size, B4 size, or the like which is laterally placed, or the like), a document of the A4 size which is laterally placed and is laterally written and in which the column setting is switched at the center (see Fig. 11C: for example, such a pattern is<!-- EPO <DP n="4"> --> often used in case of continuously reducing and copying two sheets of documents of the A4 size), a document of the A4 size which is vertically placed and is vertically written (see Fig. 11D), and the like.</p>
<p id="p0007" num="0007">On the other hand, the direction of an image which is displayed on a display screen is determined by the scanning direction (image reading direction) of the scanner when inputting the image. Therefore, in case of reading the original at a position such that the scanning direction of the scanner coincides with the direction of a character train of the document, the document is displayed at the inherent position.</p>
<p id="p0008" num="0008">However, in case of the scanner of the A4 size, since the direction of the original is unconditionally determined, the original cannot be read at the position such that the scanning direction of the scanner is made coincide with the direction of the character train of the document and, for example, as shown in Fig. 12B, the document is displayed in a state in which it is rotated by 90° from the inherent position, so that there is a case where it is very difficult to read the image.</p>
<p id="p0009" num="0009">Hitherto, there is a method of automatically discriminating the direction of the inputted original so as to reduce the operation to correct the direction of the original by the operator as mentioned above. Namely, as shown in Fig. 13A, there is a method whereby<!-- EPO <DP n="5"> --> lines of a table, a separator (a), and the like are extracted from an inputted original image and it is judged that the direction of the lines is the lateral direction. As shown in Fig. 13B, there is a method whereby projections (histograms) in the vertical and lateral directions of a document are detected and the direction is judged by checking a degree of delimiter, or the like. According to the above methods, the direction is fairly arbitrarily decided. According to such methods, it is impossible to cope with documents of many kinds of formats as shown in Figs. 11A to 11D. For example, a condition such that the separator in the lateral direction exists in the document, the document is laterally written, or the like is needed. As for the document which doesn't satisfy such conditions, the direction of the original cannot be automatically discriminated.</p>
<p id="p0010" num="0010">It is known from US-A-5077811 to determine the orientation of character images by comparing each one of a set of character images with each one of a set of reference characters and accumulating matching data as the result of these comparisons. This process is repeated for each of four document directions and a determination as to the correct direction made on the basis of the accumulating matching data.</p>
<p id="p0011" num="0011">It is also known from JP-A-6103410 to provide detection of character direction by executing character<!-- EPO <DP n="6"> --> recognition in four different character directions and comparing the number of characters recognised for each direction.</p>
<p id="p0012" num="0012">It is also known from US-A-5235651 to provide trial optical character recognition and to determine incorrect orientation if thirty percent of characters are unrecognisable.</p>
<p id="p0013" num="0013">According to the present invention there is disclosed, an image processing apparatus and method as defined in the independent claims.<!-- EPO <DP n="7"> --></p>
<p id="p0014" num="0014">By using such a method, the direction of the document can be automatically discriminated at a high precision irrespective of the format of the document.</p>
<p id="p0015" num="0015">An advantage of the invention is that, in the case where the document is not placed in the proper direction, by correcting the direction of the document by rotating the image information in accordance with the information in the proper direction which was automatically judged, a burden of the operation of the operator is eliminated and the image inputting operations up to at least the character recognition can be automated.</p>
<p id="p0016" num="0016">A further advantage is that, by automatically judging the direction of the original and performing the character recognition in the proper direction, a high recognition ratio can be obtained.</p>
<heading id="h0001"><u>BRIEF DESCRIPTION OF THE DRAWINGS</u></heading>
<p id="p0017" num="0017">
<ul id="ul0001" list-style="none" compact="compact">
<li>Fig. 1 is a system constructional diagram of a<!-- EPO <DP n="8"> --> data processing system to which a document direction automatic discriminating apparatus and a document direction automatic correcting apparatus according to an embodiment of the invention are applied;</li>
<li>Fig. 2 is a flowchart showing processes for automatic discrimination and correction of a document direction and character recognition according to the embodiment of the invention;</li>
<li>Figs. 3A to 3D are diagrams showing area separation states;</li>
<li>Figs. 4A to 4D are explanatory diagrams for explaining processing steps of the character recognizing process;</li>
<li>Figs. 5A to 5C are explanatory diagrams for explaining the document (character) direction discriminating process;</li>
<li>Figs. 6A to 6C are diagrams showing data formats of area separation and character recognition information;</li>
<li>Fig. 7 is an explanatory diagram for explaining another embodiment;</li>
<li>Fig. 8 is an explanatory diagram for explaining another embodiment different from Fig. 7;</li>
<li>Fig. 9 is a flowchart showing processes for automatic discrimination and correction of a document direction and character recognition according to another embodiment of Fig. 8;<!-- EPO <DP n="9"> --></li>
<li>Figs. 10A to 10D are diagrams showing an example of a character recognition result in each direction for the same character;</li>
<li>Figs. 11A to 11D are diagrams showing examples of formats such as a character direction and the like of various kinds of documents;</li>
<li>Figs. 12A and 12B are explanatory diagrams for explaining a problem in case of displaying a document on a monitor;</li>
<li>Figs. 13A and 13B are explanatory diagrams for explaining conventional document direction discriminating methods;</li>
<li>Figs. 14A and 14B are diagrams for explaining a character extraction of an English document; and</li>
<li>Figs. 15A to 15C are diagrams showing results in the case where a character "T" is recognized in four directions.</li>
</ul></p>
<heading id="h0002"><u>DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS</u></heading>
<p id="p0018" num="0018">Embodiments of the present invention will now be described in detail hereinbelow with reference to the drawings.</p>
<p id="p0019" num="0019">Fig. 1 is a system constructional diagram of a data processing system to which a document direction automatic discriminating apparatus and a document direction automatic correcting apparatus according to the embodiment of the invention are applied. The<!-- EPO <DP n="10"> --> system has an image input unit and an image processing unit and is realized using either one of a scanner, a copying apparatus, an intelligent input device and a sole input device which is connected to a computer through an interface to be made intelligent.</p>
<p id="p0020" num="0020">A scanner 1 is means for optically reading a document original and photoelectrically converting and inputting as digital image data. By attaching an auto feeder to the scanner 1, a plurality of originals can be continuously inputted. A CPU/memory 2 is provided for executing various kinds of controls and temporarily storing image data.</p>
<p id="p0021" num="0021">By paying attention to a point that a factor which most accurately expresses the direction of a document is a character, a character recognizer/direction discriminator 3 performs a character recognition to several kinds of character areas in the document from the directions of 0°, 90°, 180°, and 270° and sets the direction in which the precision is highest among the precisions of the character recognition in the respective directions (reliabilities of the character recognition: distances for a feature distribution of a character) to the document direction.</p>
<p id="p0022" num="0022">An area separator 4 is a block to execute processes for separating a character area, a figure area, a natural image area, a table area, and the like into rectangular areas from the document image data and<!-- EPO <DP n="11"> --> adding an attribute (character area or the like) of each area as a pre-process for performing the character recognizing and direction discriminating processes by the character recognizer/direction discriminator 3.</p>
<p id="p0023" num="0023">A storage 5 is constructed by, for example, a hard disk, a magnetooptic disk, or the like and is used to preserve various processing results (image data, area separation result, character recognition result, etc.). An interface (I/F) 6 is constructed by an SCSI, an RS232C, or the like and is provided to transmit data to the outside. A computer 7 obtains and uses information through the I/F 6 or data from a movable storage such as a magnetooptic disk or the like. For the image data inputted from the scanner 1, a printer 8 prints and outputs image data or the like which was subjected to various kinds of processes on the basis of area separation information and character recognition information.</p>
<p id="p0024" num="0024">An outline of the processes for the document direction automatic discrimination and correction and the character recognition in the embodiment will now be described in accordance with a flowchart of Fig. 2.</p>
<p id="p0025" num="0025">The image data (binary image or multi-level image) which was inputted by the scanner 1 and stored in the memory 2 is first separated into rectangular areas by the area separator 4 for every attribute such as character area, figure area, natural image area, table<!-- EPO <DP n="12"> --> area, etc. (steps S1, S2). In this instance, area information surrounded by a rectangle is actually formed. The area information is stored into the memory 2 by making coordinate data indicative of the area and attribute (character, figure, natural image, table, etc.) information of the area correspond to each other.</p>
<p id="p0026" num="0026">Subsequently, the area information in which the attribute information indicative of the character area among the attributes is made correspond is extracted from the memory 2 (step S3). The character area relates to a sentence area, a title area, a character in a table, a caption area of a diagram, or the like and is an image area including at least one character pattern. For example, in case of documents shown in Figs. 3A and 3C, rectangle information of character areas as shown in Figs. 3B and 3D is discriminated in step S2 and is extracted in step S3. The document direction is judged by using a few blocks in those rectangle information (step S4). Thus, when the document direction is the proper direction, the character recognizing process is also subsequently executed to the other character areas in the images stored in the memory 2 (step S7).</p>
<p id="p0027" num="0027">On the other hand, when the document direction is the improper direction, a correction to rotate the image data in the correct direction is executed (step S5). The area separating process similar to step S2 is<!-- EPO <DP n="13"> --> executed to the rotated image and a process such that the area separation information which was extracted from the image before the direction is corrected and which has already been stored in the memory 2 is corrected to the area separation information extracted from the image whose direction was corrected is executed (step S6). In this process, a difference between the area separation information in association with the image rotation is corrected. As such a correcting method, there is a method of again executing the area separating process to the rotated image data obtained in step S5. There is also another method of performing an address conversion to the area separation information obtained in step S2 and stored in the memory 2. Since the area separating process generally assumes that an image as a target to be processed is placed in the proper direction, in many cases, the result of the area separating process which was performed at the initial stage and the result of the area separating process which was executed for the rotated image data are different. It is, accordingly, desirable to use the former method.</p>
<p id="p0028" num="0028">The processing routine advances to step S7 and a character area block in the rotated image data is subjected to the character recognition by the character recognition processing system. Thus, the area separation information and character recognition<!-- EPO <DP n="14"> --> information are finally obtained with respect to both cases where there is no rotation and where there is a rotation (step S8).</p>
<p id="p0029" num="0029">The processing result is transmitted to the computer 7 through the I/F 6. A text of the character recognition result is displayed by a display unit of the computer and is used for an application software or the like of the filing on the computer 7. In the system to transfer the processing result to the storage 5, the result is used for a method which is used like a batch processing such that the image information is continuously inputted and the information is subsequently read out in a lump. Further, in the system to transfer the processing result to the printer 8, so long as the printer 8 has a function to interpret a page describing language, the processing result is used when a document is reconstructed or a fair copy is made by an inverse PDL (method of forming a page describing language by the image data) by the character recognizing process and area separating process.</p>
<p id="p0030" num="0030">In the case where a plurality of images are inputted in a lump, the document direction is discriminated with respect to each document, the document direction is stored into the memory 2 in correspondence to the page ID information of the image, and the image of each document can be also subjected to the character recognition in accordance with the page<!-- EPO <DP n="15"> --> ID information in step S8.</p>
<p id="p0031" num="0031">A method of discriminating the document direction by using the character recognizing process will now be described.</p>
<heading id="h0003">[Area separating process]</heading>
<p id="p0032" num="0032">The area separating process which is executed by the area separator 4 in step S2 will now be described.</p>
<p id="p0033" num="0033">Black pixels of the document image data stored in the memory 2 are detected, the area in which the black pixels exist is extracted by an outline tracing or labelling method, and area information as a group of images is formed. Subsequently, a black pixel density in the rectangular area, the presence or absence of the adjacent rectangular block, a ratio between the vertical and lateral dimensions of the rectangle, or the like is used as a judgment reference, thereby discriminating the attribute of the image such as character area (title, body, caption, etc.), figure area, natural image area, table area, or the like with respect to each image area.</p>
<heading id="h0004">[Character recognizing process]</heading>
<p id="p0034" num="0034">The character recognizing process which is executed by the character recognizer 3 for the document direction discriminating process (S4) and the conversion of the image into the text (S7) will now be described.</p>
<p id="p0035" num="0035">As a method for the character recognizing process,<!-- EPO <DP n="16"> --> there is a feature vector extracting and comparing method. For example, as shown in Fig. 4A, it is now assumed that a character area 41 including a character 40 was discriminated by the area separating process and was specified as a target of the character recognizing process. As a first stage, a character extracting process is executed with respect to the character area 41 (refer to Fig. 4B). The character extracting process is a process to extract a rectangle of one character and the rectangle is obtained by detecting a state of continuity of the black pixels or by getting a histogram. According to the process at the first stage, total six character patterns of characters 42 to 47 are extracted from the character area 41. As a second stage, one character is divided into (m × n) [for example, 64 × 64] pixel blocks and those blocks are extracted (refer to Fig. 4C). The distribution direction of the black pixels is extracted (direction vector information: refer to Fig. 4D) by using a window of (3 × 3) pixels among them.</p>
<p id="p0036" num="0036">Fig. 4D shows an example of a part of the direction vector information. By shifting the window of (3 × 3) pixels, tens of direction vector information are obtained. The feature vector information becomes a feature of the input character. Vector information similar to it has been also stored as standard data in a character recognition dictionary. The feature vector<!-- EPO <DP n="17"> --> extracted from the input character and the contents of the character recognition dictionary which has previously been stored are compared. Candidate characters are sequentially extracted from the dictionary in accordance with the order from the character whose feature is closest to the feature vector extracted from the input character. In this case, the first candidate, second candidate, third candidate, ... are extracted in accordance with the order from the characters whose features are close to the feature vector. A similarity indicative of a closeness of the feature to the feature vector, namely, closeness of the distance to the character becomes a numerical value called a reliability (precision) of the result of the character recognition.</p>
<heading id="h0005">[Character direction discriminating process]</heading>
<p id="p0037" num="0037">In this way, the reliability of the result of each character recognition is obtained. Each character direction discriminating process based on the reliability will now be described with respect to an example in case of performing the character direction discriminating process as for the character area 41 shown in Fig. 5A.</p>
<p id="p0038" num="0038">First, explanation will now be made with respect to processes such that the character 40 as a first character in the character area 41 is recognized in four directions and the direction of the character<!-- EPO <DP n="18"> --> pattern 40 of the first character is discriminated from the reliability of the character recognition result derived in each direction.</p>
<p id="p0039" num="0039">Fig. 5A shows a sentence in the proper direction. Fig. 5B shows a sentence rotated by 270°. Attention is now paid to the character pattern 40 of the first character which is first extracted from the character area. In case of discriminating the character direction, as shown in Fig. 5C, the character recognition is executed with respect to one character 40 from four directions of 0°, 90°, 180°, and 270°, respectively. It is sufficient to set each rotational angle by changing a reading method of the image of the character rectangle from the memory 2 when the character recognition is performed. There is no need to particularly rotate the original.</p>
<p id="p0040" num="0040">As shown in Fig. 5C, the character recognition results at the respective rotational angles are different from each other. The temporary character recognition results and reliabilities for explanation are shown in Fig. 5C and the actual results and reliabilities do not always coincide them.</p>
<p id="p0041" num="0041">In Fig. 5C, when the character recognition is executed from 0°, the image is correctly recognized as a character 50 and the reliability is also equal to a high value of 0.90. In case of performing the character recognition from the direction rotated by<!-- EPO <DP n="19"> --> 90°, the image is erroneously recognized as a character 51 and the reliability also decreases to 0.40. The reason why the erroneous recognition occurs and the reliability also deteriorates is because the character recognition is performed on the basis of the feature vector in case of seeing from the rotated direction. Similarly, when the character recognition is executed from the rotated directions of 180° and 270° as well, the erroneous recognition occurs and the reliability deteriorates. As the character is complicated, the difference between the reliabilities for the directions of the character recognition typically appears.</p>
<p id="p0042" num="0042">As for the result of Fig. 5C, since the reliability of 0° is the highest, it is judged that a possibility such that the document faces in the proper direction is high. To further improve the precision of the discrimination about the character direction, the character recognition is similarly executed from four directions with respect to a plurality of characters in the same block. For example, in case of the character area 41 shown in Fig. 4A, the character recognition is performed from four directions with respect to each character of not only the character 42 but also the characters 43 to 47. Further, in the case where the character direction is judged in only one block, since there is a possibility such that the character direction is erroneously judged with respect to a<!-- EPO <DP n="20"> --> special character train, a similar character recognition can be also executed with respect to a plurality of blocks.</p>
<p id="p0043" num="0043">It is also possible to construct in a manner such that with regard to each block, the average values of the reliabilities for every four directions of each of the recognition target characters in the relevant block are obtained, the direction in which the highest average value among them is derived is judged as a character direction of the block, and such a direction is decided as a document direction of the input image. Further, the character pattern of the character direction discrimination is selected from a plurality of character areas, the mean values for the average values of the reliabilities for every four directions in each block is obtained, and the direction in which the mean value is the highest among them is recognized as a character direction (document direction).</p>
<p id="p0044" num="0044">As mentioned above, by recognizing the character direction on the basis of a plurality of characters in the same block and, further, on the basis of the reliabilities of a plurality of characters in the same block without recognizing the character direction by the reliability of only one character, the character (document) direction can be discriminated at a high precision. It will be obviously understood that even if the character direction is discriminated by the<!-- EPO <DP n="21"> --> reliability of only one character or is judged by the reliabilities of a plurality of characters in the same block, the character direction can be discriminated at a higher precision than the conventional one.</p>
<p id="p0045" num="0045">When the discrimination result of the character direction (document direction) indicates the direction other than the proper direction, the original image stored in the memory 2 is rotated so that the character direction is set to the proper direction. The rotation can be easily executed by the well-known technique by using the CPU/memory 2 in Fig. 1 and its description is omitted here.</p>
<p id="p0046" num="0046">By the processes as mentioned above, original image data shown in Fig. 6A, area separation data shown in Fig. 6B, and character recognition information shown in Fig. 6C can be obtained. Those information is used by an application such as electronic filing, document modification, DTP, or the like as mentioned above.</p>
<p id="p0047" num="0047">A format of the area separation data which is obtained by the area process in step S2 and is stored in the memory 2 is constructed by "header" indicative of the area separation data and identifiers "rectl" to "rect4" of the separated areas as shown in Fig. 6B. Information of each area (block) classified by those identifiers is constructed by: a number "order" of the block; an attribute (character area, figure area, etc.) "att" of the block; coordinate values "x1" and "y1" at<!-- EPO <DP n="22"> --> the left upper position of the block; a width "w" of the block; a height "h" of the block; "direction" indicating that the document is written in the vertical or lateral direction; "SelfID" as an ID of the relevant block; "upperID" as an ID of a master block including the relevant block; an attribute "upperAtt" of the master block; and a reserved area "reserve".</p>
<p id="p0048" num="0048">As shown in Fig. 6C, the character recognition information has "header" indicative of the character recognition information and is constructed by combination information of character recognition information "OCR1" or the like regarding a single character such as "character 40" or the like and "blk header" corresponding to the above identifier "rect1" or the like indicative of the block including the relevant character.</p>
<p id="p0049" num="0049">Each character recognition information such as "OCR1" or the like is constructed by: "type" indicative of a character or a blank; first to fifth candidate characters "characterl" to "character5" according to the reliability of the character recognition mentioned above; extracting positions "x1" and "y1" of the character; a width "w" of the character; a height "h" of the character; and a reserved area "reserve".</p>
<p id="p0050" num="0050">According to the embodiment, in the case where the document doesn't face the proper direction as a result of the discrimination of the document direction and the<!-- EPO <DP n="23"> --> image has to be rotated, the whole original image data is rotated and the character recognition is executed. However, the character recognition can be also performed without rotating the original image data.</p>
<p id="p0051" num="0051">In this case, when the rectangle information of the character area is obtained, as shown in Fig. 7, it is sufficient that only the character rectangle data is rotated and copied into another memory and the character recognition is executed for the rectangle image data.</p>
<p id="p0052" num="0052">As shown in Fig. 8, it is also possible that a character extraction is executed for the character rectangular area without rotating the image data and when each character is read out, it is read out in a state in which the reading direction is rotated, and the character recognition is performed (refer to step S9 in Fig. 9). Since the other steps in a flowchart of Fig. 9 are almost similar to those mentioned in Fig. 1, they are designated by the same step numbers and their descriptions are omitted here.</p>
<p id="p0053" num="0053">In the flowchart of Fig. 2, all of the processes from the input of the image to the process to form the text of the image data by the character recognition have been described as a series of processes. However, the image data in which it is judged that the document direction is the proper direction as a result of the discrimination of the document direction in S4 and the<!-- EPO <DP n="24"> --> image data as a result in which the image was rotated (S5) and corrected to the proper direction are outputted by display means (not shown) or the printer 8. Thus, the user can automatically obtain the image data in the proper direction and the subsequent working efficiency can be raised.</p>
<p id="p0054" num="0054">The invention is not limited to each of the above embodiments but can be also applied to, for example, documents written by other languages instead of limiting to only Japanese. Particularly, in case of the document written in English or the like, since there is no document written vertically, the document direction can be discriminated at a higher precision.</p>
<p id="p0055" num="0055">The document direction discriminating process in the case where the original as a target of the judgment about the document direction is written in English will now be described with reference to Figs. 14A, 14B, and 15A to 15C.</p>
<p id="p0056" num="0056">An image 1400 inputted in S1 is stored into the memory 2 and four image areas 1401 to 1404 are extracted by the area separator 4 (S2). It is judged that three areas 1401 to 1403 among the extracted image areas are character areas and one area 1404 is a figure area from the feature of the image.</p>
<p id="p0057" num="0057">In the detection of the character area in S3, the area information of the three image areas 1401 to 1403 which were judged as character areas in S2 is read out<!-- EPO <DP n="25"> --> from the memory 2 and the process to discriminate the document direction from the image data of each area is executed (S3).</p>
<p id="p0058" num="0058">For example, when the character patterns are extracted from the image data in the character area 1401, five characters 1411 to 1415 are extracted as shown in Fig. 14B. Among them, the results obtained by recognizing the first character "T" from four directions are as shown in Fig. 15C. Correctly, when the character 1411 of "T" is recognized from 0°, the result such that the recognized character (first candidate character) is "T" and the reliability is equal to 0.95 is obtained. When the character 1411 is recognized from 90°, the result such that the recognized character is "→" and the reliability is equal to 0.40 is obtained. Similarly, in case of 180°, the recognized character is "1" and the reliability is equal to 0.50. In case of 270°, the recognized character is "←" and the reliability is equal to 0.40.</p>
<p id="p0059" num="0059">From the above results, the recognized character "T" with the highest reliability corresponds to the correct recognition result of the character 1411. The rotational angle 0° at which the correct recognition result is obtained is judged to be the direction of the character 1411.</p>
<p id="p0060" num="0060">It is also possible to discriminate that the direction judged here is set to the document direction<!-- EPO <DP n="26"> --> of the image 1400.</p>
<p id="p0061" num="0061">Or, in order to discriminate the document direction at a higher precision, it is also possible to construct in a manner such that the character recognition is performed with respect to all of the characters 1411 to 1415 included in the character area 1401 selected from all of the character areas (1401 to 1403) extracted in step S2 and the average value of the reliabilities is obtained in each direction and the direction in which the average value is the highest among them is judged as a direction of the document. It is also possible to selectively perform the character recognition to, for example, only the first and fifth characters in accordance with a predetermined order instead of executing the character recognition with regard to all of the characters 1411 to 1415. In this case, the characters "T" and "E" are recognized.</p>
<p id="p0062" num="0062">Or, in order to discriminate the document direction at a further high precision, it is also possible to select and recognize the characters from all of the character areas extracted in S2 and to discriminate the document direction by using the recognition results. In this case, there is used a method whereby the average value of the reliabilities of all of the recognition results is obtained for each direction and the direction in which the average value is the largest among them is discriminated as a<!-- EPO <DP n="27"> --> document direction. Or, there is used a method whereby the average value of the reliabilities for each direction is obtained every area and the mean value obtained of the average values of each area is obtained with respect to all of the areas and the direction in which the mean value is the highest among them is discriminated as a document direction.</p>
<p id="p0063" num="0063">The characters to be recognized can be selected at random or can be sequentially selected in accordance with a predetermined order as mentioned above. For example, now assuming that the first and fifth characters are selected in a manner similar to the above, "T" and "E" are selected from the character area 1401, "I" and "T" are selected from the character area 1402, and "D" and "M" are selected from the character area 1403. The document direction of the image 1400 is discriminated in accordance with the results df the character recognition of those six characters.</p>
<p id="p0064" num="0064">In case of English, since only the documents written in the lateral direction exist, the direction in which the image in the character area extracted by the area separating process is placed laterally assumes 0° in accordance with the shape of the extracted character area. Since the documents of 90° and 270° cannot exist, the character recognizing process is omitted. The character recognition is performed with respect to only 0° and 180° and the document direction<!-- EPO <DP n="28"> --> can be judged by checking which reliability is higher.</p>
<p id="p0065" num="0065">Since the character recognizing process can be reduced by the above processing procedure, the processing time for document discrimination can be reduced.</p>
</description><!-- EPO <DP n="29"> -->
<claims id="claims01" lang="en">
<claim id="c-en-01-0001" num="0001">
<claim-text>An image processing apparatus comprising:
<claim-text>image input means (1, S1) operable to photoelectrically convert a document image into image data and to input the image data;</claim-text>
<claim-text>a character recognition dictionary (3) operable to store features of characters;</claim-text>
<claim-text>character recognition means (3, S4, Fig. 5C) operable to perform a character recognition from a plurality of directions with respect to character data included in the image data with reference to said character recognition dictionary; and</claim-text>
<claim-text>discrimination means (2, S4) operable to discriminate a document direction on the basis of a comparison of the results obtained for each of the respective plurality of directions by said character recognition means;</claim-text>    characterised in that;
<claim-text>the character recognition means is operable in respect of a character pattern (40) contained in said character data to select from the dictionary, on the basis of closeness of feature vectors, a respective candidate character (50, 51, 52, 53) in respect of each of the plurality of directions, and to determine for each candidate character a numerical reliability value representative of the precision of character recognition of the candidate character and indicative of closeness of feature vectors;<!-- EPO <DP n="30"> --></claim-text>
<claim-text>and in that the discriminating means is operable to compare the reliability values of the character pattern and to discriminate the document direction on the basis of a result of said comparison.</claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>An apparatus according to claim 1, wherein said discriminating means is operable to discriminate the document direction according to the direction in which the character recognition means determines a highest reliability value.</claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>An apparatus according to claim 1, wherein said character recognition means is operable to extract character data including a plurality of character patterns from said inputted image data and to perform the character recognition from a plurality of directions with respect to each of the plurality of character patterns, whereby the discriminating means is operable to compare the reliability values obtained from the plurality of character patterns and to discriminate the document direction on the basis of a result of the comparison of reliability values.</claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>An apparatus according to claim 3, wherein said character recognition means is operable to determine for each of the plurality of directions an average value of the reliability values and wherein said discriminating<!-- EPO <DP n="31"> --> means is operable to compare the average values to obtain the result of comparison of reliability values and to discriminate the document direction as being the direction in which the average value of reliability values is largest.</claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>An apparatus according to claim 4, wherein said character recognition means is operable to extract character patterns from a plurality of character areas from said inputted image data, to further obtain average values of reliability values for each direction of a plurality of characters with respect to each character area, and to obtain a mean value of the average values for each of said directions in each of the character areas, whereby said discriminating means is operable to discriminate a direction in which the mean value of said average value is largest as a document direction.</claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>An apparatus according to any preceding claim, wherein said character recognition means is further operable to effect character recognition of the image information in accordance with the document direction discriminated by said discriminating means.</claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>An apparatus according to any preceding claim, wherein said image input means is a scanner (1).<!-- EPO <DP n="32"> --></claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>An apparatus according to any preceding claim, wherein said image input means is operable to input a plurality of document images, and<br/>
   said discriminating means is operable to discriminate a respective document direction with respect to each of said plurality of document images.</claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>An apparatus according to any preceding claim, further having correcting means (S6) operable to correct the image data so that said character data is set to a proper direction on the basis of the results discriminated by said discriminating means.</claim-text></claim>
<claim id="c-en-01-0010" num="0010">
<claim-text>An apparatus according to claim 9, wherein said character recognition means is operable to effect character recognition upon said image data corrected by said correcting means.</claim-text></claim>
<claim id="c-en-01-0011" num="0011">
<claim-text>An apparatus according to claim 9, further comprising display means operable to display said image data corrected by said correcting means.</claim-text></claim>
<claim id="c-en-01-0012" num="0012">
<claim-text>An apparatus according to claim 9, further comprising printing means (8) operable to print said image data corrected by said correcting means.</claim-text></claim>
<claim id="c-en-01-0013" num="0013">
<claim-text>An apparatus according to claim 6, comprising<!-- EPO <DP n="33"> --> display means operable to display the results of character recognition effected by said character recognition means.</claim-text></claim>
<claim id="c-en-01-0014" num="0014">
<claim-text>An apparatus according to any of claims 6 and 13, comprising printing means (8) operable to display the results of character recognition effected by said character recognition means.</claim-text></claim>
<claim id="c-en-01-0015" num="0015">
<claim-text>An image processing method comprising the steps of:
<claim-text>photoelectrically converting a document image into image data and inputting the image data;</claim-text>
<claim-text>storing features of characters in a character recognition dictionary (3);</claim-text>
<claim-text>performing a character recognition from a plurality of directions with respect to character data included in the image data with reference to said character recognition dictionary; and</claim-text>
<claim-text>discriminating a document direction on the basis of a comparison of the results obtained for each of the respective plurality of directions by said character recognition step;</claim-text>    characterised in that;<br/>
   the character recognition step is performed in respect of a character pattern (40) contained in said character data to select from the dictionary on the basis of closeness of feature vectors a respective<!-- EPO <DP n="34"> --> candidate character (50, 51, 52, 53) in respect of each of the plurality of directions, and to determine for each candidate character a numerical reliability value representative of the precision of character recognition of the candidate character and indicative of closeness of feature vectors; and in that the discriminating step comprises a comparison of the reliability values for the character pattern and discriminates the document direction on the basis of a result of said comparison.</claim-text></claim>
<claim id="c-en-01-0016" num="0016">
<claim-text>A method as claimed in claim 15, wherein said discriminating step discriminates the document direction, according to the direction in which character recognition provides a highest reliability value.</claim-text></claim>
<claim id="c-en-01-0017" num="0017">
<claim-text>A method as claimed in claim 15, wherein said character recognition step extracts character data including a plurality of character patterns from said inputted image data and performs the character recognition from a plurality of directions with respect to each of the plurality of character patterns, whereby the discriminating means compares the reliability values obtained from the plurality of character patterns and discriminates the document direction on the basis of the result of comparison of reliability values.</claim-text></claim>
<claim id="c-en-01-0018" num="0018">
<claim-text>A method as claimed in claim 17, including the step of determining for each of the plurality of directions an<!-- EPO <DP n="35"> --> average value of the reliability values and wherein said discriminating step compares the average values to obtain the result of comparison of reliability values and discriminates the document direction as being the direction in which the average value of reliability values is largest.</claim-text></claim>
<claim id="c-en-01-0019" num="0019">
<claim-text>A method as claimed in claim 18, wherein said character recognition step extracts character patterns from a plurality of character areas from said inputted image data, further obtains average values of reliability values for each direction of a plurality of characters with respect to each character area, and obtains a mean value of the average values for each of said directions in each of the character areas, whereby said discriminating step discriminates a direction in which the mean value of said average value is largest as a document direction.</claim-text></claim>
<claim id="c-en-01-0020" num="0020">
<claim-text>A method as claimed in any of claims 15 to 19, wherein said character recognition step further effects character recognition of the image information in accordance with the document direction discriminated by said discriminating step.</claim-text></claim>
<claim id="c-en-01-0021" num="0021">
<claim-text>A method as claimed in any of claims 15 to 20, wherein said image input means is a scanner (1).<!-- EPO <DP n="36"> --></claim-text></claim>
<claim id="c-en-01-0022" num="0022">
<claim-text>A method as claimed in any of claims 15 to 21, wherein said image input means inputs a plurality of document images, and<br/>
   said discriminating step discriminates a respective document direction with respect to each of said plurality of document images.</claim-text></claim>
<claim id="c-en-01-0023" num="0023">
<claim-text>A method as claimed in any of claims 15 to 22, further including a correcting step (S6) of correcting the image data so that said character data is set to a proper direction on the basis of the results, discriminated by said discriminating step.</claim-text></claim>
<claim id="c-en-01-0024" num="0024">
<claim-text>A method as claimed in claim 23, wherein said character recognition step effects character recognition upon said image data corrected in said correcting step.</claim-text></claim>
<claim id="c-en-01-0025" num="0025">
<claim-text>A method as claimed in claim 23, further comprising a step of displaying said image data corrected by said correcting step.</claim-text></claim>
<claim id="c-en-01-0026" num="0026">
<claim-text>A method as claimed in claim 23, further comprising a printing step of printing said image data corrected by said correcting step.</claim-text></claim>
<claim id="c-en-01-0027" num="0027">
<claim-text>A method as claimed in claim 20, including displaying the results of character recognition effected<!-- EPO <DP n="37"> --> by said character recognition step.</claim-text></claim>
<claim id="c-en-01-0028" num="0028">
<claim-text>A method as claimed in any of claims 20 and 27, comprising printing the results of character recognition effected by said character recognition step.</claim-text></claim>
</claims><!-- EPO <DP n="38"> -->
<claims id="claims02" lang="de">
<claim id="c-de-01-0001" num="0001">
<claim-text>Bildverarbeitungseinrichtung, mit:
<claim-text>einer Bildeingabeeinrichtung (1, S1) zum photoelektrischen Umwandeln eines Dokumentenbildes in Bilddaten und zum Eingeben der Bilddaten;</claim-text>
<claim-text>einem Zeichenerkennungswörterbuch (3) zum Speichern von Merkmalen von Zeichen;</claim-text>
<claim-text>einer Zeichenerkennungseinrichtung (3, S4, Figur 5C) zum Ausführen einer Zeichenerkennung aus einer Vielzahl von Richtungen hinsichtlich von Zeichendaten, die bei den Bilddaten enthalten sind, unter Bezugnahme auf das Zeichenerkennungswörterbuch; und mit</claim-text>
<claim-text>einer Unterscheidungseinrichtung (2, S4) zum Unterscheiden einer Dokumentenrichtung auf der Grundlage eines Vergleichs der Ergebnisse, die für jede aus der jeweiligen Vielzahl von Richtungen durch die Zeichenerkennungseinrichtung erhalten werden;</claim-text> <b>dadurch gekennzeichnet, daß</b>
<claim-text>die Zeichenerkennungseinrichtung hinsichtlich eines Zeichenmusters (40) betrieben wird, das bei den Zeichendaten enthalten ist, um auf der Grundlage einer Nähe von Merkmalsvektoren aus dem Wörterbuch ein jeweiliges Kandidatenzeichen (50, 51, 52, 53) in Bezug auf jede aus der Vielzahl von Richtungen auszuwählen, und um für jedes Kandidatenzeichen einen numerischen Zuverlässigkeitswert, der die Genauigkeit einer Zeichenerkennung des Kandidatenzeichens darstellt und eine Nähe von Merkmalsvektoren anzeigt, zu bestimmen;</claim-text>
<claim-text>und daß die Unterscheidungseinrichtung zum Vergleichen der Zuverlässigkeitswerte des Zeichenmusters und zum Unterscheiden der Dokumentenrichtung auf der Grundlage eines Ergebnisses des Vergleichs dient.</claim-text></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>Einrichtung nach Anspruch 1,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
<!-- EPO <DP n="39"> -->die Unterscheidungseinrichtung zum Unterscheiden der Dokumentenrichtung gemäß der Richtung, in der die Zeichenerkennungseinrichtung einen höchsten Zuverlässigkeitswert bestimmt, dient.</claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>Einrichtung nach Anspruch 1,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Zeichenerkennungseinrichtung zum Herausziehen von Zeichendaten einschließlich einer Vielzahl von Zeichenmustern aus den eingegebenen Bilddaten und zum Ausführen der Zeichenerkennung aus einer Vielzahl von Richtungen in Bezug auf jedes aus der Vielzahl von Zeichenmustern dient, wobei die Unterscheidungseinrichtung zum Vergleichen der Zuverlässigkeitswerte, die aus der Vielzahl von Zeichenmustern erhalten werden, und zum Unterscheiden der Dokumentenrichtung auf der Grundlage eines Ergebnisses des Vergleichs von Zuverlässigkeitswerten dient.</claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>Einrichtung nach Anspruch 3,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Zeichenerkennungseinrichtung dazu dient, um für jede aus der Vielzahl von Richtungen einen Durchschnittswert der Zuverlässigkeitswerte zu bestimmen und daß die Unterscheidungseinrichtung zum Vergleichen der Durchschnittswerte dient, um das Vergleichsergebnis von Zuverlässigkeitswerten zu erhalten und um die Dokumentenrichtung als die Richtung, in der der Durchschnittswert von Zuverlässigkeitswerten am größten ist, zu unterscheiden.</claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>Einrichtung nach Anspruch 4,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Zeichenerkennungseinrichtung zum Herausziehen von Zeichenmustern aus einer Vielzahl von Zeichenbereichen aus den eingegebenen Bilddaten dient, um weiter Durchschnittswerte von Zuverlässigkeitswerten für jede Richtung aus einer Vielzahl von Zeichen mit Bezug auf jeden Zeichenbereich zu erhalten, und um einen mittleren Wert der Durchschnittswerte für jede der Richtungen bei jedem der Zeichenbereiche zu erhalten, wobei die Unterscheidungseinrichtung zum Unterscheiden einer Richtung, in der der<!-- EPO <DP n="40"> --> mittlere Wert der Durchschnittswerte am größten ist, als eine Dokumentenrichtung dient.</claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>Einrichtung nach einem vorangehenden Anspruch,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Zeichenerkennungseinrichtung weiter dazu dient, um eine Zeichenerkennung der Bildinformation gemäß der Dokumentenrichtung, die durch die Unterscheidungseinrichtung unterschieden wird, durchzuführen.</claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>Einrichtung nach einem vorangehenden Anspruch,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Bildeingabeeinrichtung ein Abtaster (1) ist.</claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>Einrichtung nach einem vorangehenden Anspruch,<br/>
<b>dadurch gekennzeichnet, daß</b>
<claim-text>die Bildeingabeeinrichtung zum Eingeben einer Vielzahl von Dokumentenbildern dient, und daß</claim-text>
<claim-text>die Unterscheidungseinrichtung zum Unterscheiden einer jeweiligen Dokumentenrichtung in Bezug auf jedes aus der Vielzahl von Dokumentenbildern dient.</claim-text></claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>Einrichtung nach einem vorangehenden Anspruch,<br/>
<b>gekennzeichnet durch</b><br/>
eine Korrektureinrichtung (S6) zum Korrigieren der Bilddaten, sodaß die Zeichendaten auf der Grundlage der durch die Unterscheidungseinrichtung unterschiedenen Ergebnisse auf eine richtige Richtung gebracht werden.</claim-text></claim>
<claim id="c-de-01-0010" num="0010">
<claim-text>Einrichtung nach Anspruch 9,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Zeichenerkennungseinrichtung zum Ausführen einer Zeichenerkennung bei den durch die Korrektureinrichtung korrigierten Bilddaten dient.</claim-text></claim>
<claim id="c-de-01-0011" num="0011">
<claim-text>Einrichtung nach Anspruch 9,<br/>
<b>gekennzeichnet durch</b><br/>
<!-- EPO <DP n="41"> -->eine Anzeigeeinrichtung zum Anzeigen der durch die Korrektureinrichtung korrigierten Bilddaten.</claim-text></claim>
<claim id="c-de-01-0012" num="0012">
<claim-text>Einrichtung nach Anspruch 9,<br/>
<b>gekennzeichnet durch</b><br/>
eine Druckeinrichtung (8) zum Drucken der durch die Korrektureinrichtung korrigierten Bilddaten.</claim-text></claim>
<claim id="c-de-01-0013" num="0013">
<claim-text>Einrichtung nach Anspruch 6,<br/>
<b>gekennzeichnet durch</b><br/>
eine Anzeigeeinrichtung zum Anzeigen der Ergebnisse einer Zeichenerkennung, die durch die Zeichenerkennungseinrichtung ausgeführt wird.</claim-text></claim>
<claim id="c-de-01-0014" num="0014">
<claim-text>Einrichtung nach einem der Ansprüche 6 und 13,<br/>
<b>gekennzeichnet durch</b><br/>
eine Druckeinrichtung (8) zum Anzeigen der Ergebnisse einer Zeichenerkennung, die durch die Zeichenerkennungseinrichtung ausgeführt wird.</claim-text></claim>
<claim id="c-de-01-0015" num="0015">
<claim-text>Bildverarbeitungsverfahren, mit den Schritten:
<claim-text>photoelektrisches Umwandeln eines Dokumentenbildes in Bilddaten und Eingeben der Bilddaten;</claim-text>
<claim-text>Speichern von Merkmalen von Zeichen in einem Zeichenerkennungswörterbuch (3);</claim-text>
<claim-text>Ausführen einer Zeichenerkennung aus einer Vielzahl von Richtungen in Bezug auf Zeichendaten, die bei den Bilddaten enthalten sind, unter Bezugnahme auf das Zeichenerkennungswörterbuch; und mit</claim-text>
<claim-text>Unterscheiden einer Dokumentenrichtung auf der Grundlage eines Vergleichs der Ergebnisse, die für jede aus der jeweiligen Vielzahl von Richtungen durch den Zeichenerkennungsschritt erhalten werden;</claim-text> <b>dadurch gekennzeichnet, daß</b>
<claim-text>der Zeichenerkennungsschritt in Bezug auf ein Zeichenmuster (40) ausgeführt wird, das bei den Zeichendaten enthalten ist, um auf der Grundlage einer Nähe von Merkmalsvektoren aus dem Wörterbuch<!-- EPO <DP n="42"> --> ein jeweiliges Kandidatenzeichen (50, 51, 52, 53) hinsichtlich von jeder aus der Vielzahl von Richtungen auszuwählen, und um für jedes Kandidatenzeichen einen numerischen Zuverlässigkeitswert, der die Genauigkeit einer Zeichenerkennung des Kandidatenzeichens darstellt und eine Nähe von Merkmalsvektoren anzeigt, zu bestimmen; und daß</claim-text>
<claim-text>der Unterscheidungsschritt einen Vergleich der Zuverlässigkeitswerte für das Zeichenmuster umfaßt und die Dokumentenrichtung auf der Grundlage eines Ergebnisses des Vergleichs unterscheidet.</claim-text></claim-text></claim>
<claim id="c-de-01-0016" num="0016">
<claim-text>Verfahren nach Anspruch 15,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
der Unterscheidungsschritt die Dokumentenrichtung gemäß der Richtung, in der eine Zeichenerkennung einen höchsten Zuverlässigkeitswert erzeugt, unterscheidet.</claim-text></claim>
<claim id="c-de-01-0017" num="0017">
<claim-text>Verfahren nach Anspruch 15,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
der Zeichenerkennungsschritt Zeichendaten einschließlich einer Vielzahl von Zeichenmustern aus den eingegebenen Bilddaten herauszieht und die Zeichenerkennung aus einer Vielzahl von Richtungen hinsichtlich von jedem aus der Vielzahl von Zeichenmustern ausführt, wobei die Unterscheidungseinrichtung die aus der Vielzahl von Zeichenmustern erhaltenen Zuverlässigkeitswerte vergleicht und die Dokumentenrichtung auf der Grundlage des Ergebnisses eines Vergleichs von Zuverlässigkeitswerten unterscheidet.</claim-text></claim>
<claim id="c-de-01-0018" num="0018">
<claim-text>Verfahren nach Anspruch 17,<br/>
<b>gekennzeichnet durch</b><br/>
den Schritt zum Bestimmen eines Durchschnittswertes der Zuverlässigkeitswerte für jede aus der Vielzahl von Richtungen und wobei der Unterscheidungsschritt die Durchschnittswerte vergleicht, um das Ergebnis eines Vergleichs von Zuverlässigkeitswerten zu erhalten, und die Dokumentenrichtung als die Richtung,<!-- EPO <DP n="43"> --> in der der Durchschnittswert von Zuverläsigkeitswerten am größten ist, unterscheidet.</claim-text></claim>
<claim id="c-de-01-0019" num="0019">
<claim-text>Verfahren nach Anspruch 18,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
der Zeichenerkennungsschritt Zeichenmuster aus einer Vielzahl von Zeichenbereichen aus den eingegebenen Bilddaten herauszieht, weiter Durchschnittswerte von Zuverlässigkeitswerten für jede Richtung aus einer Vielzahl von Zeichen in Bezug auf jeden Zeichenbereich erhält und einen mittleren Wert der Durchschnittswerte für jede der Richtungen bei jedem der Zeichenbereiche erhält, wobei der Unterscheidungsschritt eine Richtung, in der der mittlere Wert der Durchschnittswerte am größten ist, als eine Dokumentenrichtung unterscheidet.</claim-text></claim>
<claim id="c-de-01-0020" num="0020">
<claim-text>Verfahren nach einem der Ansprüche 15 bis 19,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
der Zeichenerkennungsschritt weiter eine Zeichenerkennung der Bildinformation gemäß der durch den Unterscheidungsschritt unterschiedenen Dokumentenrichtung ausführt.</claim-text></claim>
<claim id="c-de-01-0021" num="0021">
<claim-text>Verfahren nach einem der Ansprüche 15 bis 20,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
die Bildeingabeeinrichtung ein Abtaster (1) ist.</claim-text></claim>
<claim id="c-de-01-0022" num="0022">
<claim-text>Verfahren nach einem der Ansprüche 15 bis 21,<br/>
<b>dadurch gekennzeichnet, daß</b>
<claim-text>die Bildeingabeeinrichtung eine Vielzahl von Dokumentenbildern eingibt, und daß</claim-text>
<claim-text>der Unterscheidungsschritt eine jeweilige Dokumentenrichtung in Bezug auf jedes aus der Vielzahl von Dokumentenbildern unterscheidet.</claim-text></claim-text></claim>
<claim id="c-de-01-0023" num="0023">
<claim-text>Verfahren nach einem der Ansprüche 15 bis 22,<br/>
<b>gekennzeichnet durch</b><br/>
einen Korrekturschritt (S6) zum Korrigieren der Bilddaten, sodaß die Zeichendaten auf der Grundlage der durch den Unterscheidungsschritt<!-- EPO <DP n="44"> --> unterschiedenen Ergebnisse in eine richtige Richtung gebracht werden.</claim-text></claim>
<claim id="c-de-01-0024" num="0024">
<claim-text>Verfahren nach Anspruch 23,<br/>
<b>dadurch gekennzeichnet, daß</b><br/>
der Zeichenerkennungsschritt eine Zeichenerkennung bei den Bilddaten, die bei dem Korrekturschritt korrigiert werden, ausführt.</claim-text></claim>
<claim id="c-de-01-0025" num="0025">
<claim-text>Verfahren nach Anspruch 23,<br/>
<b>gekennzeichnet durch</b><br/>
einen Schritt zum Anzeigen der durch den Korrekturschritt korrigierten Bilddaten.</claim-text></claim>
<claim id="c-de-01-0026" num="0026">
<claim-text>Verfahren nach Anspruch 23,<br/>
<b>gekennzeichnet durch</b><br/>
einen Druckschritt zum Drucken der durch den Korrekturschritt korrigierten Bilddaten.</claim-text></claim>
<claim id="c-de-01-0027" num="0027">
<claim-text>Verfahren nach Anspruch 20,<br/>
<b>gekennzeichnet durch</b><br/>
ein Anzeigen der Ergebnisse einer Zeichenerkennung, die durch den Zeichenerkennungsschritt ausgeführt wird.</claim-text></claim>
<claim id="c-de-01-0028" num="0028">
<claim-text>Verfahren nach einem der Ansprüche 20 und 27,<br/>
<b>gekennzeichnet durch</b><br/>
ein Drucken der Ergebnisse einer Zeichenerkennung, die durch den Zeichenerkennungsschritt ausgeführt wird.</claim-text></claim>
</claims><!-- EPO <DP n="45"> -->
<claims id="claims03" lang="fr">
<claim id="c-fr-01-0001" num="0001">
<claim-text>Appareil de traitement d'image, comprenant :
<claim-text>un moyen (1, S1) d'introduction d'image pouvant fonctionner pour convertir de manière photoélectrique une image de document en données d'image et pour introduire les données d'image ;</claim-text>
<claim-text>un dictionnaire (3) de reconnaissance de caractère pouvant fonctionner pour stocker des caractéristiques de caractères ;</claim-text>
<claim-text>un moyen (3, S4, figure 5C) de reconnaissance de caractère pouvant fonctionner pour effectuer une reconnaissance de caractère à partir d'une pluralité de directions par rapport à des données de caractère incluses dans les données d'image en se référant audit dictionnaire de reconnaissance de caractère ; et</claim-text>
<claim-text>un moyen (2, S4) de discrimination pouvant fonctionner pour discriminer une direction de document sur la base d'une comparaison des résultats obtenus pour chacune de la pluralité respective de directions par ledit moyen de reconnaissance de caractère ;</claim-text>    caractérisé en ce que :
<claim-text>le moyen de reconnaissance de caractère peut fonctionner par rapport à une configuration (40) de caractère contenue dans lesdites données de caractère pour sélectionner à partir du dictionnaire, sur la base de la proximité de vecteurs caractéristiques, un caractère candidat respectif (50, 51, 52, 53) par rapport à chacune de la pluralité de directions, et pour déterminer pour chaque caractère candidat une valeur de fiabilité numérique représentative de la précision de reconnaissance de caractère du caractère candidat et indicatrice de la proximité de vecteurs caractéristiques ;</claim-text>
<claim-text>et en ce que le moyen de discrimination peut fonctionner pour comparer les valeurs de fiabilité de la configuration de caractère et pour discriminer la direction de document sur la base du résultat de ladite comparaison.</claim-text><!-- EPO <DP n="46"> --></claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Appareil selon la revendication 1, dans lequel ledit moyen de discrimination peut fonctionner pour discriminer la direction de document en fonction de la direction dans laquelle le moyen de reconnaissance de caractère détermine la valeur de fiabilité la plus élevée.</claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Appareil selon la revendication 1, dans lequel ledit moyen de reconnaissance de caractère peut fonctionner pour extraire des données de caractère incluant une pluralité de configurations de caractère desdites données d'image introduites et pour effectuer la reconnaissance de caractère à partir d'une pluralité de directions par rapport à chacune de la pluralité de configurations de caractère, à la suite de quoi le moyen de discrimination peut fonctionner pour comparer les valeurs de fiabilité obtenues à partir de la pluralité de configurations de caractère et pour discriminer la direction de document sur la base d'un résultat de la comparaison des valeurs de fiabilité.</claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Appareil selon la revendication 3, dans lequel ledit moyen de reconnaissance de caractère peut fonctionner pour déterminer pour chacune de la pluralité de directions une valeur moyenne des valeurs de fiabilité et dans lequel ledit moyen de discrimination peut fonctionner pour comparer les valeurs moyennes pour obtenir le résultat de comparaison des valeurs de fiabilité et pour discriminer la direction de document comme étant la direction dans laquelle la valeur moyenne des valeurs de fiabilité est la plus grande.</claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Appareil selon la revendication 4, dans lequel ledit moyen de reconnaissance de caractère peut fonctionner pour extraire des configurations de caractère d'une pluralité de zones de caractère à partir desdites données d'image introduites, pour obtenir en outre des valeurs moyennes de valeurs de fiabilité pour chaque direction d'une pluralité de caractères par rapport à chaque zone de caractère, et pour obtenir une moyenne des valeurs moyennes<!-- EPO <DP n="47"> --> pour chacune desdites directions dans chacune des zones de caractère, à la suite de quoi ledit moyen de discrimination peut fonctionner pour discriminer une direction dans laquelle la moyenne de ladite valeur moyenne est la plus grande en tant que direction de document.</claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Appareil sleon l'une quelconque des revendications précédentes, dans lequel ledit moyen de reconnaissance de caractère peut en outre fonctionner pour effectuer une reconnaissance de caractère de l'information d'image en fonction de la direction de document discriminée par ledit moyen de discrimination.</claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Appareil selon l'une quelconque des revendications précédentes, dans lequel ledit moyen d'introduction d'image est un dispositif de balayage (1).</claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Appareil selon l'une quelconque des revendications précédentes, dans lequel ledit moyen d'introduction d'image peut fonctionner pour introduire une pluralité d'images de document, et<br/>
   ledit moyen de discrimination peut fonctionner pour discriminer une direction respective de document par rapport à chacune de ladite pluralité d'images de document.</claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Appareil selon l'une quelconque des revendications précédentes, comportant en outre un moyen (S6) de correction pouvant fonctionner pour corriger les données d'image de telle sorte que lesdites données de caractère sont établies à une direction appropriée sur la base des résultats discriminés par ledit moyen de discrimination.</claim-text></claim>
<claim id="c-fr-01-0010" num="0010">
<claim-text>Appareil selon la revendication 9, dans lequel ledit moyen de reconnaissance de caractère peut fonctionner pour effectuer une reconnaissance de caractère lorsque lesdites données d'image sont corrigées par ledit moyen de correction.</claim-text></claim>
<claim id="c-fr-01-0011" num="0011">
<claim-text>Appareil selon la revendication 9, comprenant en outre un moyen d'affichage pouvant fonctionner pour afficher lesdites données d'image corrigées par ledit moyen de correction.<!-- EPO <DP n="48"> --></claim-text></claim>
<claim id="c-fr-01-0012" num="0012">
<claim-text>Appareil selon la revendication 9, comprenant en outre un moyen (8) d'impression pouvant fonctionner pour imprimer lesdites données d'image corrigées par ledit moyen de correction.</claim-text></claim>
<claim id="c-fr-01-0013" num="0013">
<claim-text>Appareil selon la revendication 6, comprenant un moyen d'affichage pouvant fonctionner pour afficher les résultats d'une reconnaissance de caractère effectuée par ledit moyen de reconnaissance de caractère.</claim-text></claim>
<claim id="c-fr-01-0014" num="0014">
<claim-text>Appareil selon l'une quelconque des revendications 6 et 13, comprenant un moyen (8) d'impression pouvant fonctionner pour afficher les résultats d'une reconnaissance de caractère effectuée par ledit moyen de reconnaissance de caractère.</claim-text></claim>
<claim id="c-fr-01-0015" num="0015">
<claim-text>Procédé de traitement d'image comprenant les étapes de :
<claim-text>conversion photoélectrique d'une image de document en données d'image et introduction des données d'image ;</claim-text>
<claim-text>stockage de caractéristiques de caractères dans un dictionnaire (3) de reconnaissance de caractère ;</claim-text>
<claim-text>exécution d'une reconnaissance de caractère à partir d'une pluralité de directions par rapport à des données de caractère incluses dans les données d'image en se référant audit dictionnaire de reconnaissance de caractère ; et</claim-text>
<claim-text>discrimination d'une direction de document sur la base d'une comparaison des résultats obtenus pour chacune de la pluralité respective de directions par ladite étape de reconnaissance de caractère ;</claim-text>    caractérisé en ce que :<br/>
   l'étape de reconnaissance de caractère est exécutée par rapport à une configuration (40) de caractère contenue dans lesdites données de caractère pour sélectionner à partir du dictionnaire sur la base de la proximité de vecteurs caractéristiques un caractère candidat respectif (50, 51, 52, 53) par rapport à chacune de la pluralité de directions, et pour déterminer pour chaque caractère candidat une valeur de fiabilité numérique représentative<!-- EPO <DP n="49"> --> de la précision de reconnaissance du caractère candidat et indicatrice de la proximité de vecteurs caractéristiques ; et en ce que l'étape de discrimination comprend une comparaison des valeurs de fiabilité pour la configuration de caractère et discrimine la direction de document sur la base du résultat de ladite comparaison.</claim-text></claim>
<claim id="c-fr-01-0016" num="0016">
<claim-text>Procédé selon la revendication 15, dans lequel ladite étape de discrimination discrimine la direction de document en fonction de la direction dans laquelle une reconnaissance de caractère fournit la valeur de fiabilité la plus élevée.</claim-text></claim>
<claim id="c-fr-01-0017" num="0017">
<claim-text>Procédé selon la revendication 15, dans lequel ladite étape de reconnaissance de caractère extrait des données de caractère incluant une pluralité de configurations de caractère desdites données d'image introduites et effectue la reconnaissance de caractère à partir d'une pluralité de directions par rapport à chacune de la pluralité de configurations de caractère, à la suite de quoi le moyen de discrimination compare les valeurs de fiabilité obtenues à partir de la pluralité de configurations de caractère et discrimine la direction de document sur la base du résultat de comparaison des valeurs de fiabilité.</claim-text></claim>
<claim id="c-fr-01-0018" num="0018">
<claim-text>Procédé selon la revendication 17, comportant l'étape de détermination pour chacune de la pluralité de directions d'une moyenne des valeurs de fiabilité et dans lequel ladite étape de discrimination compare les valeurs moyennes pour obtenir le résultat de comparaison des valeurs de fiabilité et discrimine la direction de document comme étant la direction dans laquelle la moyenne des valeurs de fiabilité est la plus grande.</claim-text></claim>
<claim id="c-fr-01-0019" num="0019">
<claim-text>Procédé selon la revendication 18, dans lequel ladite étape de reconnaissance de caractère extrait des configurations de caractère d'une pluralité de zones de caractère à partir desdites données d'image introduites, et obtient en outre des valeurs moyennes de valeurs de<!-- EPO <DP n="50"> --> fiabilité pour chaque direction d'une pluralité de caractères par rapport à chaque zone de caractère, et obtient une moyenne des valeurs moyennes pour chacune desdites directions dans chacune des zones de caractère, à la suite de quoi ladite étape de discrimination discrimine une direction dans laquelle la moyenne de ladite valeur moyenne est la plus grande en tant que direction de document.</claim-text></claim>
<claim id="c-fr-01-0020" num="0020">
<claim-text>Procédé selon l'une quelconque des revendications 15 à 19, dans lequel ladite étape de reconnaissance de caractère effectue en outre une reconnaissance de caractère de l'information d'image en fonction de la direction de document discriminée par ladite étape de discrimination.</claim-text></claim>
<claim id="c-fr-01-0021" num="0021">
<claim-text>Procédé selon l'une quelconque des revendications 15 à 20, dans lequel ledit moyen d'introduction d'image est un dispositif de balayage (1).</claim-text></claim>
<claim id="c-fr-01-0022" num="0022">
<claim-text>Procédé selon l'une quelconque des revendications 15 à 21, dans lequel ledit moyen d'introduction d'image introduit une pluralité d'images de document, et<br/>
   ladite étape de discrimination discrimine une direction respective de document par rapport à chacune de ladite pluralité d'images de document.</claim-text></claim>
<claim id="c-fr-01-0023" num="0023">
<claim-text>Procédé selon l'une quelconque des revendications 15 à 22, comportant en outre une étape (S6) de correction des données d'image de telle sorte que lesdites données de caractère sont établies à une direction appropriée sur la base des résultats discriminés par ledit moyen de discrimination.</claim-text></claim>
<claim id="c-fr-01-0024" num="0024">
<claim-text>Procédé selon la revendication 23, dans lequel ladite étape de reconnaissance de caractère effectue une reconnaissance de caractère lorsque lesdites données d'image sont corrigées au cours de ladite étape de correction.</claim-text></claim>
<claim id="c-fr-01-0025" num="0025">
<claim-text>Procédé selon la revendication 23, comprenant en outre une étape d'affichage desdites données d'image corrigées par ladite étape de correction.<!-- EPO <DP n="51"> --></claim-text></claim>
<claim id="c-fr-01-0026" num="0026">
<claim-text>Procédé selon la revendication 23, comprenant en outre une étape d'impression desdites données d'image corrigées par ladite étape de correction.</claim-text></claim>
<claim id="c-fr-01-0027" num="0027">
<claim-text>Procédé selon la revendication 20, comprenant l'affichage des résultats d'une reconnaissance de caractère effectuée par ladite étape de reconnaissance de caractère.</claim-text></claim>
<claim id="c-fr-01-0028" num="0028">
<claim-text>Procédé selon l'une quelconque des revendications 20 et 27, comprenant l'impression des résultats d'une reconnaissance de caractère effectuée par ladite étape de reconnaissance de caractère.</claim-text></claim>
</claims><!-- EPO <DP n="52"> -->
<drawings id="draw" lang="en">
<figure id="f0001" num=""><img id="if0001" file="imgf0001.tif" wi="125" he="208" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="53"> -->
<figure id="f0002" num=""><img id="if0002" file="imgf0002.tif" wi="142" he="222" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="54"> -->
<figure id="f0003" num=""><img id="if0003" file="imgf0003.tif" wi="169" he="248" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="55"> -->
<figure id="f0004" num=""><img id="if0004" file="imgf0004.tif" wi="153" he="228" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="56"> -->
<figure id="f0005" num=""><img id="if0005" file="imgf0005.tif" wi="151" he="181" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="57"> -->
<figure id="f0006" num=""><img id="if0006" file="imgf0006.tif" wi="159" he="242" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="58"> -->
<figure id="f0007" num=""><img id="if0007" file="imgf0007.tif" wi="167" he="216" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="59"> -->
<figure id="f0008" num=""><img id="if0008" file="imgf0008.tif" wi="153" he="195" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="60"> -->
<figure id="f0009" num=""><img id="if0009" file="imgf0009.tif" wi="107" he="235" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="61"> -->
<figure id="f0010" num=""><img id="if0010" file="imgf0010.tif" wi="179" he="228" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="62"> -->
<figure id="f0011" num=""><img id="if0011" file="imgf0011.tif" wi="159" he="231" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="63"> -->
<figure id="f0012" num=""><img id="if0012" file="imgf0012.tif" wi="144" he="207" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="64"> -->
<figure id="f0013" num=""><img id="if0013" file="imgf0013.tif" wi="165" he="233" img-content="drawing" img-format="tif"/></figure>
</drawings>
</ep-patent-document>
