JPH03669B2 - - Google Patents

Info

Publication number
JPH03669B2
JPH03669B2 JP57168910A JP16891082A JPH03669B2 JP H03669 B2 JPH03669 B2 JP H03669B2 JP 57168910 A JP57168910 A JP 57168910A JP 16891082 A JP16891082 A JP 16891082A JP H03669 B2 JPH03669 B2 JP H03669B2
Authority
JP
Japan
Prior art keywords
segments
image data
recognized
recognition
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP57168910A
Other languages
Japanese (ja)
Other versions
JPS5958589A (en
Inventor
Masahiro Ookawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57168910A priority Critical patent/JPS5958589A/en
Publication of JPS5958589A publication Critical patent/JPS5958589A/en
Publication of JPH03669B2 publication Critical patent/JPH03669B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10—Character recognition
    • G06V30/16—Image preprocessing
    • G06V30/168—Smoothing or thinning of the pattern; Skeletonisation
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10—Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Input (AREA)
  • Image Processing (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 (イ) 分野 本発明は文字認識装置の2値化画像の処理方法
に係り、特に認識の対象となる2値化画像の文字
線ストローク中に線切れがあつて認識不能と判定
せねばならない場合、該画像中のストローク端の
中から線切れらしい部分を選択し該部分を連結し
て修正された2値化画像を作成するための文字切
れ2値化画像のつなぎ処理方式に関する。
[Detailed Description of the Invention] (A) Field The present invention relates to a method for processing a binary image in a character recognition device, and particularly to a method for processing a binary image to be recognized when there is a line break in a character line stroke. If it is necessary to determine that it is impossible, select parts that appear to be line breaks from the stroke ends in the image and connect the parts to create a corrected binary image. Regarding processing method.

(ロ) 従来技術と背景 光学文字読取装置に代表される文字認識装置は
媒体等より読取られた文字の画素によつて量子化
された画像(パターン)を認識対象とし、これを
文字枠で切り出し、一つづつ認識処理して認識解
読された文字を計算機入力用の文字コードとして
フアイルに収容するものであるが、認識処理の途
中で認識出来ない文字(パターン画像)があると
認識処理としては認識不能としてリジエクト処
理:すなわちフアイルのその文字の位置に修正処
理を要する何らかの制御マークを入れ、媒体から
読んでいる場合はその被認識文字の存在する媒体
をリジエクトし、あとでオペレータによる判読修
正を行うか、リジエクトごとに停止してオペレー
タにその都度修正を要請する。
(b) Prior art and background Character recognition devices, typified by optical character reading devices, recognize images (patterns) quantized by pixels of characters read from a medium, etc., and cut this out with character frames. , the characters that are recognized and decoded one by one are stored in a file as character codes for computer input, but if there are characters (pattern images) that cannot be recognized during the recognition process, the recognition process Reject processing as unrecognized: In other words, put some kind of control mark that requires correction processing at the position of the character in the file, and when reading from a medium, reject the medium on which the recognized character exists, and later correct the decipherment by the operator. Either do so, or stop after each redirect and request the operator to correct it each time.

しかし認識処理中にこうした認識不能は通常で
あつてもある比率は発生するのでオペレータの負
荷と介入によるシステムアウトプツトの低下は無
視出来ない。
However, since such inability to recognize normally occurs at a certain rate during the recognition process, the reduction in system output due to the operator's load and intervention cannot be ignored.

(ハ) 目的と特徴 本発明の目的はこうした背景にかんがみ認識不
能となつた時装置内でその認識判定過程で得られ
た当該被認識画像の特徴データをもとに当該被認
識画像を修正し、再び認識処理することによりオ
ペレータの負荷を少くすることにあり、本発明の
特徴は上記目的を達成するため画素パターンとし
て読取られた被認識画像データを切り出し、特徴
判定して文字認識を行う文字認識装置の認識処理
において、認識判定不能文字を修正再判定するた
めのリトライループを有し、該リトライループに
おいて、上記切り出された一文字分の画像データ
のエツジテーブル、配置アドレスデータより上記
画像データをセグメントに領域分けする手順と該
セグメント中から他のセグメントと接続していな
い端を見付ける手順と、該端を有するセグメント
の中から端同志が対向し、かつ所定距離以内であ
る対を選定する手順と該一対のセグメントの対向
する端間をつなぐ手順を有し、認識判定不能等に
リトライループで画像データの修正を行う様制御
することである。
(c) Purpose and Features In view of this background, the purpose of the present invention is to correct the recognized image based on the characteristic data of the recognized image obtained in the recognition determination process within the device when the recognized image becomes unrecognizable. , to reduce the burden on the operator by performing the recognition process again.The feature of the present invention is to cut out the image data to be recognized that has been read as a pixel pattern and perform character recognition by character recognition in order to achieve the above object. In the recognition processing of the recognition device, there is a retry loop for correcting and redetermining characters that cannot be recognized, and in the retry loop, the image data is extracted from the edge table and arrangement address data of the image data for one character cut out. A procedure for dividing into segments, a procedure for finding an end that is not connected to another segment in the segment, and a procedure for selecting a pair of segments whose ends face each other and are within a predetermined distance from among the segments having the end. and a procedure for connecting the opposing ends of the pair of segments, and controls the image data to be corrected in a retry loop when recognition cannot be determined.

(ニ) 実施例 第1図は本発明の一実施例の概念図、図中1は
媒体、2は読出された認識にかけられる画像、3
は被認識文字画像の切り出し部、4は特徴抽出
部、5は判定部、6は辞書、7は編集部、8は認
識され編集された結果をたくわえる答のフアイル
であり、ここまではほぼ従来と同じであ。
(d) Embodiment FIG. 1 is a conceptual diagram of an embodiment of the present invention, in which 1 is a medium, 2 is an image read out and subjected to recognition, and 3 is a conceptual diagram of an embodiment of the present invention.
is the cutout section of the character image to be recognized, 4 is the feature extraction section, 5 is the judgment section, 6 is the dictionary, 7 is the editing section, and 8 is the answer file that stores the recognized and edited results. It's the same.

なお9は線切れ判定部、10はつなぎ修正部で
あり編集部7より分岐したリトライループ分が本
発明に係る部分である。そして本構成において判
定不能分はリトライループの方で処理作業を行う
わけである。
Note that 9 is a line break determination section, 10 is a joint correction section, and the retry loop branched from the editing section 7 is the part according to the present invention. In this configuration, undetermined portions are processed in the retry loop.

また第2図はリトライループの説明図で、21
と22の判定は編集部7で23と24の判定は線
切れ判定部9で、25と26の作業はつなぎ修正
部10で夫々行い再度認識処理のフローにかけら
れるわけである。そしてリトライループで、タイ
ムアウトだつたり対向する端の対応が見つからな
かつたり、見付かつてもその対応する端間の距
離、すなわち展開された座標系の√△2+△2
担当量、あるいは単に△Yあるいは△Xが所定の
あらかじめ設定した量より小さい対応端部が、1
個も存在しない時には修正をやめて従来のリジエ
クトとして処理する。
Also, Figure 2 is an explanatory diagram of the retry loop, 21
and 22 are determined by the editing section 7, 23 and 24 are determined by the line break determination section 9, and operations 25 and 26 are performed by the connection correction section 10, respectively, and the recognition process flow is performed again. Then, in the retry loop, if there is a timeout or the correspondence between the opposite ends cannot be found, or even if it is found, the distance between the corresponding ends, that is, the distance between the corresponding ends, that is, √△ 2 + △ 2 of the expanded coordinate system.
The corresponding end where the responsible amount or simply △Y or △X is smaller than a predetermined preset amount is 1
If there are no such items, the correction is stopped and the process is processed as a conventional reject.

第3図は第1図の紙切れ判定部とつなぎ修正部
の作業フローの見取図、第4図以下はより具体的
な処理作業の説明図で、第4図は切り出された画
像データとエツジテーブルの説明図、第5図は連
結テーブルと領域分けと接続修補選択作業の説明
図、第6図は選択された接続部分の接続作業の説
明図である。なお切り出された文字枠内の画像デ
ータのアドレスは左下を起点として夫々X,Y方
向にアドレス付されているものとする。また作業
例は6の画像のA部の線切れを例にとつている。
Figure 3 is a schematic diagram of the work flow of the paper break determination section and seam correction section in Figure 1. Figure 4 and the following are illustrations of more specific processing operations. Figure 4 shows the cutout image data and the edge table. An explanatory diagram, FIG. 5 is an explanatory diagram of the connection table, area division, and connection repair selection work, and FIG. 6 is an explanatory diagram of the connection work of the selected connection part. It is assumed that the addresses of the image data within the cut out character frame are assigned in the X and Y directions, respectively, with the lower left as the starting point. Further, the work example uses a line break in part A of image 6 as an example.

第4図において、エツジ数をスキヤン中に白黒
反転する数、エツジ位置を反転した直後のアドレ
スとすると、例とした画像の各スキヤン中のエツ
ジ数とエツジ位置は図の右に付記した如くにな
る。そしてこれらの特徴データを線切れ判定部の
作業メモリに取り込んで作業がはじまる。なおこ
の図は水平方向のエツジテーブルの例で、垂直方
向のそれも修正対象となる画像データの文字切れ
部によつては利用されるものとする。
In Figure 4, if the number of edges is the number of black and white inversions during scanning and the address immediately after the edge position is inverted, then the number of edges and edge positions in each scan of the example image are as shown on the right side of the figure. Become. Then, these feature data are taken into the working memory of the line breakage determination section and the work begins. Note that this figure is an example of an edge table in the horizontal direction, and the edge table in the vertical direction may also be used depending on the character cut portion of the image data to be corrected.

まず上記エツジパターンテーブルのデータを用
いて第5図の様に1ストロークの図形である対象
画像の黒部分を走査し、隣接するYアドレス間で
エツジパターン数が変化し、かつエツジ位置アド
レスに共通部分があると云う基準によつて区分け
すると〜の枠に領域分けされる。こうして区
分けされた夫々を以下ストロークのセグメント
〜と称する。
First, using the data in the edge pattern table above, scan the black part of the target image, which is a one-stroke figure as shown in Figure 5, and make sure that the number of edge patterns changes between adjacent Y addresses and is common to the edge position address. When divided based on the criteria of having a part, the area is divided into frames of ~. Each segment thus divided will hereinafter be referred to as a stroke segment.

次いで、Yアドレスの若い方を始端、大きい方
を終端として各セグメントの始端、終端アドレス
と、該始端と終端が閉じて端部を成しているか否
か端部を形成していなければどのセグメントと接
しているかをしらべて第5図下に示す様な連結テ
ーブルを作成する。
Next, the start and end addresses of each segment are determined, with the smaller Y address as the start and the larger Y address as the end, and whether the start and end are closed to form an end, and if not, which segment. Create a connection table as shown in the lower part of Figure 5 by checking if it is in contact with .

このテーブルの内容は例えばセグメントは始
端アドレス1で終端アドレスが2、かつ始端はク
ローズで終端はクローズしてなく終端でセグメン
トととに接続している。以下セグメント以
下についても同様手法で解釈する内容である。
The contents of this table are, for example, that a segment has a starting end address of 1 and a terminal end address of 2, and that the starting end is closed and the ending end is not closed, and the segment is connected to the segment at the ending end. The following segments will be interpreted using the same method.

そして作業部では連結テーブルの情報をもとに
クローズの始端あるいは終端をもつセグメントを
選出し、該選出したセグメントの中から2個を選
択して組合せの数分の検定を行い線切れで生じた
らしいクローズ終端を有するセグメントと上記ク
ローズ終端よりYアドレスが大きいクローズ始端
を有するセグメントの対をさがし、あれば線つな
ぎ候補とする。さらに該対について夫々の対向す
るクローズ端の存在するXアドレスを、前記エツ
ジテーブルのエツジ位置よりしらべてX方向にお
ける一対のクローズ端間のX方向の相対距離を知
り、また終端始端間のYアドレスの差よりY方向
の相対距離を知り、上記X,Y方向相対距離をも
とに距離評価量を作成し、該量をあらかじめさだ
めてあつた決定基準値と比較して基準内であれば
その部分を線つなぎ部としてつなぎ修正部でつな
ぎ処理する。
Then, in the work section, based on the information in the concatenation table, segments with the start or end of a close were selected, two of the selected segments were selected, and verification was performed for the number of combinations, and it seems that the line break occurred. A pair of a segment having a closed end and a segment having a close starting end with a Y address larger than the closed end is searched for, and if any is found, it is taken as a line connection candidate. Furthermore, the relative distance in the X direction between the pair of closed ends in the X direction is determined by checking the X address where each opposing closed end exists for the pair from the edge position of the edge table, and the Y address between the end end and the start end. Find out the relative distance in the Y direction from the difference between The parts are processed as line connections in the connection correction section.

なお、つなぎ処理の作業は、各種のつなぎ方が
考えられるが、例えばYアドレスの小さい方のセ
グメントの終端の画素パターンを一つ上のYアド
レスのところにコピーし、Yアドレスの大きい側
のセグメントの始端の画素パターンをYアドレス
の一つ下のところにコピーし、これを互いに順次
くりかえして接続するまでつづけることで達成さ
れる。
There are various ways to connect the connection process, but for example, copy the pixel pattern at the end of the segment with the smaller Y address to the Y address above, and then copy the pixel pattern at the end of the segment with the larger Y address. This is achieved by copying the pixel pattern at the starting end of the pixel pattern to one location below the Y address, and repeating this process one after another until the connection is made.

なお、補足すると以上のつなぎ部の決定にいた
る手順は水平方向エツジテーブルで検定出来る画
像を例に取つて説明したがもちろん垂直方向の切
れについてもX軸とY軸を入れかえたエツジテー
ブル、セグメント分け、候補対の選出、距離検定
の手順を経て同様手順で修正可能なことは明らか
である。
As a supplementary note, the above procedure for determining joints was explained using an example of an image that can be verified using a horizontal edge table, but of course, for vertical cuts, an edge table with the X and Y axes swapped, and segmentation can also be used. , it is clear that it can be corrected using the same procedure after selecting candidate pairs and performing a distance test.

なお、被認識画像として画像の線切れによつて
ストロークが増加したものについては、ストロー
クが変わつている点だけそのストローク数に属す
る文字群なのか、それとも線切れしたためにスト
ロークが増加したのかを判定出来ないと修正を行
つて良いか悪いかが決定出来ないため、例えば判
定のための距離限界を先の例よりは小さくして切
れ巾で判定する方法もあるがストロークが変化し
ない時よりはやつかいな判定を必要とするし、適
用限界もよりきびしくなるがほぼ同様の手順で線
切れの軽度のものは修正が可能なことは容易に理
解されよう。
In addition, for images to be recognized in which the strokes have increased due to line breaks in the image, it is determined whether the stroke number is a character group that belongs to that number of strokes, or whether the strokes have increased due to line breaks. If it is not possible, it cannot be determined whether it is good or bad to make a correction, so for example, there is a method of making the distance limit for judgment smaller than the previous example and judging by the cutting width, but it is less than when the stroke does not change. It is easy to understand that mild line breaks can be corrected using almost the same procedure, although more difficult judgment is required and the applicable limits are more severe.

(ホ) 効果 以上説明して来た様に本発明によれば認識にか
けられる画像データと、該画像データを認識しよ
うとして得た特徴データを判定資料として、判定
不能の場合には、リトライループで修正を行うこ
とにより、オペレータの介入を要せずに修正認識
が出来るので装置の認識率の向上とシステム効率
の向上による処理速度の向上に寄与するととも
に、オペレータの負担を軽くすると云う効果を有
するものである。
(e) Effects As explained above, according to the present invention, image data to be subjected to recognition and feature data obtained in an attempt to recognize the image data are used as determination materials, and if determination is not possible, a retry loop is performed. By performing corrections, corrections can be recognized without requiring operator intervention, which contributes to improving the recognition rate of the device and improving processing speed by improving system efficiency, and has the effect of lightening the burden on the operator. It is something.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の概念図、第2図は
第1図のリトライループの説明図、第3図はリト
ライループの紙切れ判定部と、つなぎ修正部の作
業フローの見取図、第4図、第5図、第6図はよ
り具体的な処理作業の説明図。 図中2は認識にかけられる画像、3は切り出し
部、4は特徴抽出部、5は判定部、7は編集部、
9は線切れ判定部、10はつなぎ修正部。
FIG. 1 is a conceptual diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram of the retry loop shown in FIG. 4, 5, and 6 are explanatory diagrams of more specific processing operations. In the figure, 2 is an image to be recognized, 3 is a cutting section, 4 is a feature extraction section, 5 is a judgment section, 7 is an editing section,
Reference numeral 9 indicates a line breakage determination unit, and reference numeral 10 indicates a connection correction unit.

Claims (1)

【特許請求の範囲】[Claims] 1 画素パターンとして読み取られた被認識画像
データを切り出し特徴判定して文字認識を行う文
字認識装置の認識処理において、認識判定不能文
字を修正再判定するためのリトライループを有
し、該リトライループは、上記切り出された一文
字分の画像データのエツジテーブル、配置アドレ
スデータより上記画像データをセグメントに領域
分けする手順と該セグメント中から他のセグメン
トと接続していない端を見つける手順と、該端を
有するセグメントの中から端同志が対向し、かつ
所定距離以内である対を選定する手順と該一対の
セグメントの対向する端間をつなぐ手順を有し、
認識判定不能時にリトライループで画像データの
修正を行うことを特徴とする線切れデータのつな
ぎ修正方式。
1. In the recognition processing of a character recognition device that performs character recognition by cutting out image data to be recognized that has been read as a pixel pattern and determining its features, the retry loop has a retry loop for correcting and re-judging characters that cannot be recognized. , a step of dividing the above image data into segments based on the edge table of the image data of one character cut out, and arrangement address data, a step of finding an end that is not connected to other segments from among the segments, and a step of finding the end of the segment that is not connected to other segments. A step of selecting a pair whose ends are opposite to each other and within a predetermined distance from among the segments having the same, and a step of connecting the opposite ends of the pair of segments,
A method for correcting the connection of broken line data, which is characterized by correcting image data in a retry loop when recognition cannot be determined.
JP57168910A 1982-09-28 1982-09-28 Correcting system for connection of line break data Granted JPS5958589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57168910A JPS5958589A (en) 1982-09-28 1982-09-28 Correcting system for connection of line break data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57168910A JPS5958589A (en) 1982-09-28 1982-09-28 Correcting system for connection of line break data

Publications (2)

Publication Number Publication Date
JPS5958589A JPS5958589A (en) 1984-04-04
JPH03669B2 true JPH03669B2 (en) 1991-01-08

Family

ID=15876824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57168910A Granted JPS5958589A (en) 1982-09-28 1982-09-28 Correcting system for connection of line break data

Country Status (1)

Country Link
JP (1) JPS5958589A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2639488B2 (en) * 1991-01-11 1997-08-13 大日本スクリーン製造株式会社 Wire break connection method
JPH0512442A (en) * 1991-07-02 1993-01-22 Hitachi Software Eng Co Ltd Line image tracking method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57211676A (en) * 1981-06-23 1982-12-25 Toshiba Corp Optical character reader

Also Published As

Publication number Publication date
JPS5958589A (en) 1984-04-04

Similar Documents

Publication Publication Date Title
CA1310417C (en) Combining bar code read data
US5191612A (en) Character recognition system
JP3170299B2 (en) Image reading processing device
US5075895A (en) Method and apparatus for recognizing table area formed in binary image of document
JPH08293001A (en) Image processing apparatus, optical character recognition apparatus and methods thereof
US5065439A (en) Pattern recognition apparatus
US6011879A (en) Optical character recognition system and method using special normalization for special characters
JPS5958589A (en) Correcting system for connection of line break data
JP3431267B2 (en) Table processing method and apparatus
JP2513365B2 (en) Contour tracking method
JP4442977B2 (en) Character recognition device, character image interpolation method, and recording medium recording character image interpolation program
JPH0373916B2 (en)
JPH04255080A (en) image input device
JP2954218B2 (en) Image processing method and apparatus
JP3337592B2 (en) Mark position detecting device and mark position detecting method
JPH04276888A (en) Character reader
JPS6222184A (en) Character segmenting method for optical character reader
JP4043692B2 (en) Digital image forming device
JPH0728934A (en) Document image processing device
JPH09114925A (en) Optical character reader
JPH0554187A (en) Character pattern inclination detection method
JPH02271485A (en) Character segmenting device
JPH0793564A (en) Information extraction mask generation method
JPH0266681A (en) Drawing processor
JPS60239884A (en) recognition device