JPH04262660A - Picture recognition output device - Google Patents

Picture recognition output device

Info

Publication number
JPH04262660A
JPH04262660A JP3042458A JP4245891A JPH04262660A JP H04262660 A JPH04262660 A JP H04262660A JP 3042458 A JP3042458 A JP 3042458A JP 4245891 A JP4245891 A JP 4245891A JP H04262660 A JPH04262660 A JP H04262660A
Authority
JP
Japan
Prior art keywords
image
picture
data
recognition
line
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.)
Pending
Application number
JP3042458A
Other languages
Japanese (ja)
Inventor
Junichi Ota
太田 準一
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3042458A priority Critical patent/JPH04262660A/en
Publication of JPH04262660A publication Critical patent/JPH04262660A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To realize a picture recognition device with a high graph recognition rate, the picture recognition output device outputting a graph picture in an accurate graph shape, for example, and a digital copying machine provided with the picture recognition output device. CONSTITUTION:A picture recognition device is provided with a character connection line segmentation circuit 2 reading a picture data stored in a picture memory and segmenting a prescribed area in the picture, a character recognition circuit 3 comparing a graphic picture in the area with a data of a graph picture registered in advance so as to recognize the graphic picture and a connection recognition circuit 4 detecting, e.g. a branch or swell of a line picture end ridge, recognizing an arrow, recognizing a line picture connecting areas and converting the result into a line picture data. The picture output device is provided with an output picture generating circuit 5 generating a synthesis picture of the graphic shape recognized by the picture recognition device with the line picture and outputs the picture data of the synthesis picture to, e.g. a digital copying machine, in which the data is printed out on a recording sheet.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は印刷や手書き作業等によ
り作成された図形、若しくは図形データを含む原稿画像
を光学的に読み取ってその画像を認識する画像認識装置
、その認識された図形画像を例えば正確な図形形状で出
力する画像認識出力装置、およびその画像認識出力装置
を備えたデジタル複写機に関する。
[Industrial Application Field] The present invention relates to an image recognition device that optically reads a figure created by printing or handwriting, or a manuscript image containing figure data, and recognizes the image. For example, the present invention relates to an image recognition output device that outputs images in accurate graphic shapes, and a digital copying machine equipped with the image recognition output device.

【0002】0002

【従来の技術】従来、清書図面を得る方法としては製図
能力を有する専門家(トレーサー)に依頼して下書き図
面を清書図面に書き直してもらう方法が一般的であった
。しかし専門家の数が限られており、ものによっては長
時間の図面作成時間を要し、従ってその対価も高価にな
る場合が少なくなかった。こうした事情に基づいて手書
き図面を清書する清書装置として、あるいは図面の読取
装置、CAD(自動描画装置)の入力装置として図形認
識装置が開発されてきた。図20はその1例の概略構成
を示すブロック図である。図において、91は原稿画像
を読み取って画像信号に変換する入力装置、92は画像
信号をベクトルデータに変換するベクトル化装置、93
はそのベクトルデータと内蔵された図形データを比較し
て原稿画像の認識処理を行う計算機(ホストコンピュー
タ)、94は図形認識された画像の図形データを、例え
ばプリンタに出力する出力装置である。
2. Description of the Related Art Conventionally, a common method for obtaining a fair drawing has been to request an expert (tracer) with drafting ability to redraw the draft drawing into a fair drawing. However, the number of experts is limited, and some require a long time to create drawings, which often results in high costs. Based on these circumstances, figure recognition devices have been developed as copying devices for copying handwritten drawings, drawing reading devices, and input devices for CAD (automatic drawing devices). FIG. 20 is a block diagram showing a schematic configuration of one example. In the figure, 91 is an input device that reads a document image and converts it into an image signal, 92 is a vectorization device that converts the image signal into vector data, and 93
94 is a computer (host computer) that performs document image recognition processing by comparing the vector data with built-in graphic data, and 94 is an output device that outputs the graphic data of the image that has undergone graphic recognition to, for example, a printer.

【0003】0003

【発明が解決しようとする課題】図のように図形認識装
置はホストコンピュータと専用の画像処理ハードウエア
で構成されているため、かなり高価なものとなる。また
、その操作にはある程度のコンピュータの専門知識と複
雑な操作フローの理解を必要とした。しかも図形認識装
置による図形認識率があまり高くなく、従って誤認識さ
れた図形データを修正するにはホストコンピュータによ
る対話形式の修正処理に頼らざるを得ず、図形認識装置
の利便性を低下させていた。本発明は上記従来技術の問
題点を解消すべく成されたものであり、図形認識率の高
い画像認識装置、その認識された図形画像を例えば正確
な図形形状で出力する画像認識出力装置、およびその画
像認識出力装置を備えたデジタル複写機を安価に提供す
ることを目的とする。
As shown in the figure, the figure recognition device is composed of a host computer and dedicated image processing hardware, so it is quite expensive. Moreover, its operation required a certain degree of computer expertise and an understanding of a complex operational flow. Moreover, the figure recognition rate of the figure recognition device is not very high, and therefore, in order to correct erroneously recognized figure data, it is necessary to rely on interactive correction processing by the host computer, reducing the usability of the figure recognition device. Ta. The present invention has been made to solve the problems of the prior art described above, and provides an image recognition device with a high figure recognition rate, an image recognition output device that outputs the recognized figure image in, for example, an accurate figure shape, and It is an object of the present invention to provide a digital copying machine equipped with the image recognition output device at a low cost.

【0004】0004

【課題を解決するための手段】本発明は上記課題を解決
するために、画像メモリに格納された画像データを読み
出して画像処理を施し、画像の形状を認識する画像認識
装置として、画像中の所定の領域を切り出す画像切り出
し手段と、その切り出した領域内の図形画像と予め登録
された図形画像のデータを比較して図形画像認識を行う
図形画像認識手段と、例えば、線画像端縁の分岐または
脹らみを検知して矢印を認識するように、切り出した領
域間を連絡する線画像を認識して線画像データに変換す
る線画像認識手段を有するようしたものである。また、
画像出力装置としては、上記画像認識装置の図形画像認
識手段が認識した図形画像に対応する、予め登録された
図形形状と、線画像認識手段が認識した線画像のデータ
に基づいて作画した線画像を合成した合成画像を作成す
る画像合成手段を有し、該画像合成手段で合成された合
成画像の画像データを出力するようしたものである。さ
らに、デジタル複写機としては、原稿画像を光学的に読
み取り、電気信号に変換する原稿読み取り手段を有し、
文字記入枠をドロップカラーで印刷した帳票原稿を前記
原稿読み取り手段が読み取った画像データを上記画像出
力装置に入力させ、該画像出力装置から出力された画像
データに基づいて記録シートに画像記録を行うようした
ものである。また、デジタル複写機は上記手段に加えて
、操作部にデータ入力手段を有し、該データ入力手段を
介して図形画像認識手段が認識した図形画像のデータを
修正可能ならしめたものであっても良い。
[Means for Solving the Problems] In order to solve the above problems, the present invention is an image recognition device that reads image data stored in an image memory, performs image processing, and recognizes the shape of an image. An image cutting means for cutting out a predetermined area; a figure image recognition means for performing figure image recognition by comparing a figure image in the cut out area with data of a figure image registered in advance; Alternatively, the apparatus includes line image recognition means that recognizes line images connecting cut out areas and converts them into line image data, in the same manner as detecting bulges and recognizing arrows. Also,
The image output device is a line image drawn based on a pre-registered figure shape corresponding to the figure image recognized by the figure image recognition means of the image recognition device and the data of the line image recognized by the line image recognition means. The image composing means has an image composing means for creating a composite image by composing the images, and outputs image data of the composite image composed by the image composing means. Furthermore, the digital copying machine has a document reading means that optically reads the document image and converts it into an electrical signal.
Image data read by the document reading means from a form manuscript with a character entry frame printed in drop color is inputted to the image output device, and an image is recorded on a recording sheet based on the image data output from the image output device. This is what it is. In addition to the above-mentioned means, the digital copying machine has a data input means in the operation section, and the data of the graphic image recognized by the graphic image recognition means can be modified through the data input means. Also good.

【0005】[0005]

【作用】画像切り出し手段は、例えばドロップカラーで
印刷した帳票の文字記入枠で囲まれたような、画像中の
所定の領域を切り出す。図形画像認識手段はその領域内
の図形画像と予め登録された図形画像のデータを比較し
て文字等の図形画像の認識を行う。線画像認識手段は前
記領域間を連絡する線画像を認識して線画像データ、例
えば線画像端縁の分岐または脹らみを検知して矢印を認
識した矢印データに変換する。画像合成手段は図形画像
認識手段が認識した図形画像に対応する、予め登録され
た図形形状と、線画像認識手段が認識した線画像のデー
タに基づいて作画した線画像を合成した合成画像を作成
する。
[Operation] The image cutting means cuts out a predetermined area in the image, such as the area surrounded by the character entry frame of a form printed in drop color. The graphic image recognition means recognizes graphic images such as characters by comparing the graphic image in the area with the data of the graphic image registered in advance. The line image recognition means recognizes a line image connecting the areas and converts it into line image data, for example, arrow data in which an arrow is recognized by detecting a branch or bulge at the edge of the line image. The image synthesis means creates a composite image by combining a pre-registered figure shape corresponding to the figure image recognized by the figure image recognition means and a line image drawn based on the data of the line image recognized by the line image recognition means. do.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面を参照して詳
細に説明する。図1ないし図19は本発明の一実施例に
係る図面であって、図1は本発明の一実施例のデジタル
複写機の画像処理装置の概略構成を示すブロック図、図
2は同じく画像の入出力を示す概略概念図、図3は帳票
のフォーマットおよび帳票の記入例を示した図、図4な
いし図6はデジタル複写機の画像処理装置の処理過程で
の処理形態を説明した図、図7ないし図9は同じく文字
認識処理を説明した図、図10ないし図13は同じく接
続認識処理を説明した図、図14は同じく出力画像を示
した図、図15ないし図19は同じく認識データ修正処
理を説明した図である。図2の概略概念図に示すように
、本実施例は決められた帳票に手書きで図形形状番号や
接続線を記入した原稿をセットしコピー釦を押すことに
より、自動的に図形形状番号や接続線を読み取って、そ
れを清書されたコピーとして出力するデジタル複写機の
例である。図3に示すように帳票は上辺および左辺に沿
って黒色正方形状の読み取り基準マーク10が等間隔に
印刷されており、その読み取り基準マーク10の中心を
通る縦横の直線の各々の交点を中心にコピーされないド
ロップアウトカラーの、図形形状番号を記入するための
長方形の数字記入枠11が縦横に印刷されている。図形
形状番号は必ずこの数字記入枠11内に枠に接触しない
ように記入するようにする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. 1 to 19 are drawings according to an embodiment of the present invention, in which FIG. 1 is a block diagram showing a schematic configuration of an image processing device of a digital copying machine according to an embodiment of the present invention, and FIG. A schematic conceptual diagram showing input/output; FIG. 3 is a diagram showing the format of a form and an example of entry in the form; FIGS. 7 to 9 are diagrams similarly explaining character recognition processing, FIGS. 10 to 13 are diagrams similarly explaining connection recognition processing, FIG. 14 are diagrams similarly showing output images, and FIGS. 15 to 19 are diagrams similarly explaining recognition data correction. It is a figure explaining processing. As shown in the schematic conceptual diagram of FIG. 2, in this embodiment, by setting a document with handwritten figure shape numbers and connection lines on a predetermined form and pressing the copy button, the figure shape numbers and connection lines are automatically set. This is an example of a digital copier that reads lines and outputs them as a clean copy. As shown in FIG. 3, black square-shaped reading reference marks 10 are printed at equal intervals along the top and left sides of the form, and the center is located at the intersection of each of the vertical and horizontal straight lines passing through the center of the reading reference marks 10. Rectangular number entry frames 11 for writing figure shape numbers in dropout colors that are not copied are printed vertically and horizontally. The figure shape number must be written in this number entry frame 11 so as not to touch the frame.

【0007】図1のブロック図および図4ないし図6の
処理形態の説明図を参照してデジタル複写機の画像処理
装置の処理動作を説明する。例えば図3の記入例に示す
ように帳票の指定された位置に図形形状番号と接続線が
記入された原稿を原稿台の上に置きコピー釦を押すと、
原稿読み取りユニット1のスキャナーが原稿面を副走査
方向に走査して光信号を電気信号に変換することにより
、原稿画像が読み取られる。前述のように数字記入枠1
1はコピーされないドロップアウトカラーで印刷されて
いるため原稿読み取りユニット1で読み取られた原稿画
像は図4に示す画像と同じになる。画像信号はアナログ
/デジタル変換によってデジタルデータに変換されて文
字切り出し回路2に送られる。文字接続線切り出し回路
2では、まず読み取られた原稿画像中の読み取り基準マ
ーク10の位置を認識する。即ち、図7に示すように読
み取った帳票画像の周辺部分の黒画素ヒストグラムを主
走査方向および副走査方向に計算し、そのヒストグラム
のピーク位置を認識する。そのピーク位置が読み取り基
準マーク10の中心位置になる。次に図8に示すように
読み取り基準マーク10の中心位置を通って主走査方向
および副走査方向に延びる直線の各交点Oijの位置を
求め、その交点Oijから上下、左右方向に数字記入枠
11の大きさに相当する領域の画像データをそれぞれ取
り出すことにより、図5に示すように図形形状番号の文
字画像データを切り出すことができる。切り出された文
字画像データは文字認識回路3に送られる。文字認識回
路3では切り出された文字画像データの画像のヒストグ
ラムを再び主走査方向および副走査方向に計算し、その
ヒストグラムの中心位置を認識する。図9は図3に示す
帳票の記入例の交点O12を中心とする文字画像データ
の文字認識処理の様子を示した図であり、(a) に示
すように文字画像データの主走査方向および副走査方向
のヒストグラムの計算結果に基づいて、(b) に示す
ように、さらに文字画像のみの領域を切り出す。次にそ
の文字画像と予めメモリに登録されている文字辞書のデ
ータを比較するために、(c) に示すようにその文字
辞書のデータと同じ大きさになるように文字画像の拡大
または縮小処理を行う。その後、文字画像と文字辞書の
データが比較され、類似度の最も高い文字が対応する文
字として認識されその文字データが出力される。なお、
文字辞書のデータ内容としては標準文字画像自体、ある
いは標準文字画像の輪郭ベクトルの方向、ホールの数等
のデータがある。
The processing operation of the image processing apparatus of the digital copying machine will be described with reference to the block diagram of FIG. 1 and the explanatory diagrams of processing modes shown in FIGS. 4 to 6. For example, as shown in the entry example in Figure 3, if you place a document with a shape number and connection line written in the specified position on the document table on the document table and press the copy button,
The scanner of the document reading unit 1 scans the surface of the document in the sub-scanning direction and converts optical signals into electrical signals, thereby reading the document image. As mentioned above, fill in the number box 1.
1 is printed in a dropout color that is not copied, so the original image read by the original reading unit 1 is the same as the image shown in FIG. The image signal is converted into digital data by analog/digital conversion and sent to the character cutting circuit 2. The character connection line extraction circuit 2 first recognizes the position of the reading reference mark 10 in the read original image. That is, as shown in FIG. 7, a black pixel histogram of the peripheral portion of the read form image is calculated in the main scanning direction and the sub-scanning direction, and the peak position of the histogram is recognized. The peak position becomes the center position of the reading reference mark 10. Next, as shown in FIG. 8, the positions of the intersections Oij of straight lines passing through the center position of the reading reference mark 10 and extending in the main scanning direction and the sub-scanning direction are determined, and the number entry frame 11 is drawn vertically and horizontally from the intersection Oij. By extracting the image data of the area corresponding to the size of , it is possible to cut out the character image data of the graphic shape number as shown in FIG. The extracted character image data is sent to the character recognition circuit 3. The character recognition circuit 3 calculates the histogram of the extracted character image data again in the main scanning direction and the sub-scanning direction, and recognizes the center position of the histogram. FIG. 9 is a diagram showing character recognition processing of character image data centered on the intersection O12 of the entry example of the form shown in FIG. Based on the calculation result of the histogram in the scanning direction, an area containing only the character image is further cut out as shown in (b). Next, in order to compare the character image with data in a character dictionary registered in memory in advance, the character image is enlarged or reduced to the same size as the data in the character dictionary, as shown in (c). I do. Thereafter, the character image and the data in the character dictionary are compared, and the character with the highest degree of similarity is recognized as the corresponding character, and its character data is output. In addition,
The data contents of the character dictionary include data such as the standard character image itself, the direction of the contour vector of the standard character image, and the number of holes.

【0008】接続認識回路4で行われる数字記入枠11
を繋ぐ接続線を認識する接続認識処理を説明する。まず
図6に示すように数字記入枠11間の接続線の画像を文
字画像の場合と同様に長方形の分割領域12に分割し、
各分割領域12毎に接続線画像を分割領域12の接続線
画像データとして切り出す。切り出した接続線画像を許
容最小線幅より小さいブロックB単位(例えば8画素×
8画素)に分割し、各ブロックB単位毎にラスター走査
してブロックB単位内の黒画素の数を計数する。そして
ブロックB単位内の全画素数に対する黒画素数の比が設
定閾値(本実施例では50%)以上の時、そのブロック
を黒ブロックBB、設定閾値未満の時、白ブロックWB
と判定するブロック色判定処理を行う。図10はある接
続線画像をブロック単位B毎に接続線追跡する様子を示
した図、図11はブロック色判定処理におけるブロック
の追跡方向を示した図、図12は上記ブロック色判定処
理を行った結果と、その結果に基づいて抽出した接続線
を示した図である。これらの図を参照してブロック色判
定処理を説明する。本実施例では黒ブロックBBの繋が
りに基づいて接続線を抽出するため、黒ブロックBBに
繋がる黒ブロックBBを捜して追跡する処理を行う。ま
ず図10に示すように最初のラインの主走査方向に各ブ
ロックBの色判定処理を行ってゆき、黒ブロックBBが
見つかると図11の4の方向から始まって反時計回り方
向に周囲のブロックBの色判定処理を行って黒ブロック
BBを捜す。次に(現在の追跡方向−2)の方向から始
まって再び反時計回り方向に黒ブロックBBを捜す。以
上の追跡処理を繰り返して切り出した接続線画像の端縁
まで到達したら追跡処理を終了し、追跡を開始したブロ
ックに戻って再び主走査方向に各ブロックBの色判定処
理を行ってゆき、色判定処理が行われないブロックが無
くなるまで順次ブロックBの色判定処理を繰り返す。こ
うして全てのブロックBの色判定処理が終了したら図1
2に示すように黒ブロックBBを繋げる直線を抽出して
接続線と判定する。なお、切り出した接続線画像中に1
つの線分しかない場合は、黒ブロックBBが見つかった
端縁から黒ブロックBBの追跡処理を行って他の端縁ま
で到達したらブロック色判定処理を終了することにより
、処理時間の短縮を図ることができる。なお、接続線が
数字記入枠11以外の所に接続している時は接続線が数
字記入枠11内に延長しているものとして、数字記入枠
11内に繋がる画像も接続線の画像として切り出して接
続認識処理を行う。次に接続線画像中に矢印がある場合
にその矢印を認識する矢印認識処理について説明する。 図13は矢印認識処理の説明図である。ブロック色判定
処理で黒ブロックBBの追跡処理を行い接続線の抽出を
行った結果、接続線の分岐または黒ブロックBBの脹ら
みが生じている時は、接続線端縁の中心を基準に矢印の
許容長さの最大値に相当する矢印認識枠13を設定し、
接続線端縁に繋がる黒ブロックBBの繋がりが全て矢印
認識枠13内に入り、かつ矢印認識枠13内の黒ブロッ
クBB数の矢印認識枠13内の総ブロックB数に対する
比が予め設定した閾値以上かどうかを判定し、閾値以上
ならば接続線端縁に矢印があると判定する。こうして判
定された矢印情報は抽出された接続線の情報と共に一括
して接続線情報としてメモリに保存される。
Number entry frame 11 performed by connection recognition circuit 4
A connection recognition process that recognizes connection lines connecting . First, as shown in FIG. 6, the image of the connecting line between the number entry frames 11 is divided into rectangular divided areas 12 in the same way as the character image.
A connecting line image is cut out for each divided area 12 as connecting line image data of the divided area 12. The cut out connection line image is divided into block B units smaller than the minimum allowable line width (e.g. 8 pixels x
8 pixels), and raster scanning is performed for each block B unit to count the number of black pixels within the block B unit. When the ratio of the number of black pixels to the total number of pixels in a block B unit is equal to or higher than a set threshold (50% in this example), the block is designated as a black block BB, and when it is less than the set threshold, the block is designated as a white block WB.
Block color determination processing is performed to determine that. FIG. 10 is a diagram showing how a connection line image is traced for each block unit B, FIG. 11 is a diagram showing the block tracing direction in block color determination processing, and FIG. 12 is a diagram showing the block color determination processing described above. FIG. 2 is a diagram showing the results and connection lines extracted based on the results. Block color determination processing will be explained with reference to these figures. In this embodiment, in order to extract connection lines based on the connections between black blocks BB, a process of searching and tracing black blocks BB connected to black blocks BB is performed. First, as shown in FIG. 10, color determination processing is performed for each block B in the main scanning direction of the first line, and when a black block BB is found, the surrounding blocks starting from direction 4 in FIG. A color determination process for B is performed to search for a black block BB. Next, starting from the direction (current tracking direction - 2), the black block BB is searched again in the counterclockwise direction. When the above tracking process is repeated until the edge of the cut out connection line image is reached, the tracking process is terminated, and the process returns to the block where tracking started and performs the color determination process for each block B again in the main scanning direction. The color determination process for block B is sequentially repeated until there are no more blocks that are not subjected to the determination process. When the color determination process for all blocks B is completed in this way, Figure 1
2, a straight line connecting the black blocks BB is extracted and determined to be a connecting line. Note that 1 is included in the cut out connection line image.
If there are only two line segments, the processing time can be shortened by tracking the black block BB from the edge where the black block BB is found and terminating the block color determination process when the other edge is reached. Can be done. In addition, when the connection line is connected to a place other than the number entry frame 11, it is assumed that the connection line extends into the number entry frame 11, and the image connected to the number entry frame 11 is also cut out as an image of the connection line. connection recognition processing. Next, an arrow recognition process for recognizing an arrow when the connecting line image includes the arrow will be described. FIG. 13 is an explanatory diagram of arrow recognition processing. As a result of tracing the black block BB and extracting the connection line in the block color determination process, if the connection line branches or the black block BB swells, use the center of the connection line edge as a reference. Setting an arrow recognition frame 13 corresponding to the maximum allowable length of the arrow,
All the connections of black blocks BB connected to the edge of the connection line fall within the arrow recognition frame 13, and the ratio of the number of black blocks BB within the arrow recognition frame 13 to the total number of blocks B within the arrow recognition frame 13 is a preset threshold. It is determined whether or not it is equal to or greater than the threshold value, and if it is equal to or greater than the threshold value, it is determined that there is an arrow on the edge of the connection line. The arrow information determined in this way is stored together with the extracted connection line information in the memory as connection line information.

【0009】出力画像作成回路5では文字認識回路3で
認識された文字(数字)画像の認識データに対応する予
め登録された図形形状の画像データと、接続認識回路4
で認識された接続線情報の画像データが合成されて出力
画像データとして出力画像メモリに格納される。出力画
像メモリから読み出された出力画像データは複写機のプ
リンタに送られ、出力画像が周知の静電写真プロセスに
従って転写紙に印刷される。図14は図3の帳票の記入
例に従った出力画像を示したものである。なお、本実施
例では図3に示す帳票の記入例のように、例えば長方形
には1、菱形には4というように図形形状と数字を対応
させて画像データをメモリに予め登録してある。本実施
例においては文字認識回路3で認識された文字画像の認
識データに誤りがあった場合、操作部の入力キーの操作
により、正しい文字画像データに修正することができる
。以下、この認識データ修正処理を説明する。図15な
いし図17は認識データ修正処理モードを選択した時の
操作表示部のガイダンス表示とテンキーによる入力形態
を、図18および図19はそれぞれ誤認識された出力画
像の例および修正された正しい出力画像を示したもので
ある。図18において六角形の図形形状は長方形の図形
形状に対応する文字(数字)画像を誤認識して出力され
たものである。また図15ないし図17において14は
操作方法を案内するガイダンス表示、15はテンキー、
16はテンキー入力表示である。まず図示しない操作部
のモード選択キーの押下により認識データ修正処理モー
ドを選択すると、図15に示すように誤認識した図形の
位置を表す行番号を尋ねる案内メツセージがガイダンス
表示14に表示されるので、操作者はテンキー15を操
作して誤認識した図形の行番号を入力する。次に図16
に示すように誤認識した図形の位置を表す列番号を尋ね
る案内メツセージがガイダンス表示14に表示されるの
で、操作者はテンキー15を操作して誤認識した図形の
列番号を入力する。次に図17に示すように正しい図形
の番号を尋ねる案内メツセージがガイダンス表示14に
表示されるので、同様に操作者はテンキー15を操作し
て正しい図形の番号を入力する。こうして文字認識回路
3で誤認識された文字画像の認識データはテンキー15
から入力された正しい図形の番号と置き換えられる。な
お、図形の位置を表す行番号と列番号は帳票に印刷され
た数字記入枠11をそれぞれ上から下、および左から右
に順に数えて付した番号である。
The output image creation circuit 5 uses pre-registered graphic shape image data corresponding to the recognition data of the character (number) image recognized by the character recognition circuit 3 and the connection recognition circuit 4.
The image data of the connection line information recognized in is combined and stored in the output image memory as output image data. The output image data read from the output image memory is sent to the copier's printer, and the output image is printed on transfer paper according to well-known electrostatographic processes. FIG. 14 shows an output image according to the entry example of the form shown in FIG. In this embodiment, as shown in the entry example of the form shown in FIG. 3, image data is registered in advance in the memory by associating figure shapes with numbers, such as 1 for a rectangle and 4 for a diamond. In this embodiment, if there is an error in the recognition data of the character image recognized by the character recognition circuit 3, the character image data can be corrected to the correct character image data by operating the input keys on the operation section. This recognition data correction process will be explained below. Figures 15 to 17 show the guidance display on the operation display section and the input format using the numeric keypad when the recognition data correction processing mode is selected, and Figures 18 and 19 respectively show examples of output images that have been misrecognized and corrected correct output. An image is shown. In FIG. 18, the hexagonal graphic shape is output by misrecognizing a character (number) image corresponding to a rectangular graphic shape. In addition, in FIGS. 15 to 17, 14 is a guidance display that guides the operation method, 15 is a numeric keypad,
16 is a numeric keypad input display. First, when the recognition data correction processing mode is selected by pressing the mode selection key on the operation unit (not shown), a guidance message asking for the line number representing the position of the erroneously recognized figure is displayed on the guidance display 14, as shown in FIG. , the operator operates the numeric keypad 15 to input the line number of the erroneously recognized figure. Next, Figure 16
As shown in , a guidance message asking for the column number representing the position of the erroneously recognized figure is displayed on the guidance display 14, so the operator operates the numeric keypad 15 to input the column number of the erroneously recognized figure. Next, as shown in FIG. 17, a guidance message asking for the correct figure number is displayed on the guidance display 14, and the operator similarly operates the numeric keypad 15 to input the correct figure number. In this way, the recognition data of the character image erroneously recognized by the character recognition circuit 3 is transferred to the numeric keypad 15.
will be replaced with the correct shape number entered from . Note that the row number and column number representing the position of the figure are the numbers assigned by counting the number entry frames 11 printed on the form from top to bottom and from left to right, respectively.

【00010】00010]

【発明の効果】以上説明したように本発明によれば、請
求項1の記載の発明では画像中の所定の領域を切り出し
た画像と、予め登録された図形画像のデータを比較して
図形画像認識を行う図形画像認識手段と、前記領域間を
連絡する線画像を認識して線画像データに変換する線画
像認識手段を有するから、所定の図形画像と線画像で構
成された画像の認識処理を容易、かつ速やかに行うこと
ができる。請求項2の記載の発明では線画像中に矢印を
含む画像の認識処理が容易になる。請求項3の記載の発
明では、図形画像認識手段が認識した図形画像に対応す
る、予め登録された図形形状と、線画像認識手段が認識
した線画像のデータに基づいて作画した線画像を合成し
た合成画像の画像データが出力されるから、例えば所望
の規格に合った図形画像および線画像で構成された画像
の画像データを得ることができる。請求項4の記載の発
明では、例えば手書きでドロップカラーで印刷した文字
記入枠内に予め登録された図形形状に対応する数字を記
入し、前記文字記入枠間を連絡する線画を書き込んだ帳
票原稿を読み取って清書された画像が記録された記録シ
ートを得ることができる。請求項5の記載の発明ではデ
ータ入力手段を介して図形画像認識手段が認識した図形
形状のデータを修正できるから、図形画像認識手段が原
稿の図形画像を誤認識した場合でも、簡単な操作で誤認
識された図形画像のデータを修正できる。
As described above, according to the present invention, the invention as claimed in claim 1 compares an image cut out from a predetermined area in an image with data of a graphic image registered in advance to generate a graphic image. Since it has a figure image recognition means for performing recognition and a line image recognition means for recognizing a line image connecting the areas and converting it into line image data, it is possible to recognize an image composed of a predetermined figure image and a line image. can be done easily and quickly. According to the second aspect of the invention, recognition processing of an image including an arrow in a line image becomes easy. In the invention described in claim 3, a pre-registered figure shape corresponding to the figure image recognized by the figure image recognition means and a line image drawn based on the data of the line image recognized by the line image recognition means are combined. Since the image data of the synthesized image is output, for example, image data of an image composed of a graphic image and a line image that conform to a desired standard can be obtained. The invention as claimed in claim 4 provides a document document in which numbers corresponding to pre-registered figures are written in character entry frames printed by hand in drop color, and line drawings connecting the character entry frames are written. By reading the image, you can obtain a recording sheet on which a clean-cut image is recorded. In the invention as claimed in claim 5, the data of the figure shape recognized by the figure image recognition means can be corrected through the data input means, so even if the figure image recognition means erroneously recognizes the figure image of the document, it can be corrected with a simple operation. You can correct the data of erroneously recognized graphic images.

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

【図1】本発明の一実施例のデジタル複写機の画像処理
装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image processing device for a digital copying machine according to an embodiment of the present invention.

【図2】同じく画像の入出力を示す概略概念図である。FIG. 2 is a schematic conceptual diagram showing input and output of images.

【図3】帳票のフォーマットおよび帳票の記入例を示し
た図である。
FIG. 3 is a diagram showing a format of a form and an example of filling in the form.

【図4】デジタル複写機で読み取られた原稿画像を示し
た図である。
FIG. 4 is a diagram showing a document image read by a digital copying machine.

【図5】デジタル複写機の文字切り出し処理の説明図で
ある。
FIG. 5 is an explanatory diagram of character extraction processing of the digital copying machine.

【図6】デジタル複写機の接続認識処理の説明図である
FIG. 6 is an explanatory diagram of connection recognition processing of the digital copying machine.

【図7】デジタル複写機の帳票画像の周辺部分の黒画素
ヒストグラム認識動作の説明図である。
FIG. 7 is an explanatory diagram of a black pixel histogram recognition operation of a peripheral portion of a form image of a digital copying machine.

【図8】デジタル複写機の文字画像切り出し位置算出動
作の説明図である。
FIG. 8 is an explanatory diagram of the character image cutting position calculation operation of the digital copying machine.

【図9】デジタル複写機の文字画像データの文字認識処
理の説明図である。
FIG. 9 is an explanatory diagram of character recognition processing of character image data of the digital copying machine.

【図10】デジタル複写機の接続線画像をブロック単位
毎に接続線追跡する様子を示した説明図である。
FIG. 10 is an explanatory diagram showing how a connection line image of a digital copying machine is traced block by block;

【図11】デジタル複写機のブロック色判定処理におけ
るブロックの追跡方向を示した説明図である。
FIG. 11 is an explanatory diagram showing a block tracking direction in block color determination processing of a digital copying machine.

【図12】デジタル複写機のブロック色判定処理を行っ
た結果と抽出した接続線を示した説明図である。
FIG. 12 is an explanatory diagram showing the results of block color determination processing of the digital copying machine and extracted connection lines.

【図13】デジタル複写機の矢印認識処理の説明図であ
る。
FIG. 13 is an explanatory diagram of arrow recognition processing of the digital copying machine.

【図14】デジタル複写機の出力画像の例を示した説明
図である。
FIG. 14 is an explanatory diagram showing an example of an output image of a digital copying machine.

【図15】デジタル複写機の操作表示部の誤認識した図
形の行番号を尋ねるガイダンス表示とテンキーによる入
力形態を示した説明図である。
FIG. 15 is an explanatory diagram showing a guidance display asking for the line number of a erroneously recognized figure on the operation display section of the digital copying machine and an input form using a numeric keypad.

【図16】デジタル複写機の操作表示部の誤認識した図
形の列番号を尋ねるガイダンス表示とテンキーによる入
力形態を示した説明図である。
FIG. 16 is an explanatory diagram showing a guidance display asking for the column number of a erroneously recognized figure on the operation display section of the digital copying machine and an input form using a numeric keypad.

【図17】デジタル複写機の操作表示部の正しい図形の
番号を尋ねるガイダンス表示とテンキーによる入力形態
を示した説明図である。
FIG. 17 is an explanatory diagram showing a guidance display asking for the correct figure number on the operation display section of the digital copying machine and an input form using a numeric keypad.

【図18】デジタル複写機が誤認識した出力画像の例を
示した説明図である。
FIG. 18 is an explanatory diagram showing an example of an output image erroneously recognized by the digital copying machine.

【図19】デジタル複写機の認識データ修正処理により
修正した出力画像を示した説明図である。
FIG. 19 is an explanatory diagram showing an output image corrected by recognition data correction processing of the digital copying machine.

【図20】従来例に係る図形認識装置の概略構成を示す
ブロック図である。
FIG. 20 is a block diagram showing a schematic configuration of a conventional figure recognition device.

【符号の説明】[Explanation of symbols]

1  原稿読み取りユニット 2  文字接続線切り出し回路 3  文字認識回路 4  接続認識回路 5  出力画像作成回路 6  出力回路 1 Original reading unit 2 Character connection line cutting circuit 3 Character recognition circuit 4 Connection recognition circuit 5 Output image creation circuit 6 Output circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  画像メモリを備えて、デジタルデータ
に変換され、前記画像メモリに格納された画像データを
読み出して画像処理を施し、画像の形状を認識する画像
認識装置において、画像中の所定の領域を切り出す画像
切り出し手段と、前記領域内の図形画像と予め登録され
た図形画像のデータを比較して図形画像認識を行う図形
画像認識手段と、前記領域間を連絡する線画像を認識し
て線画像データに変換する線画像認識手段を有すること
を特徴とする画像認識装置。
Claim 1. An image recognition device that includes an image memory, reads image data that has been converted into digital data and is stored in the image memory, performs image processing, and recognizes the shape of the image. an image cutting means for cutting out a region; a graphic image recognition means for performing graphic image recognition by comparing a graphic image in the region with data of a graphic image registered in advance; and a graphic image recognition means for recognizing a line image connecting the regions. An image recognition device characterized by having a line image recognition means for converting into line image data.
【請求項2】  請求項1の記載において、線画像認識
手段は線画像端縁の分岐または脹らみを検知して矢印を
認識することを特徴とする画像認識装置。
2. The image recognition device according to claim 1, wherein the line image recognition means recognizes an arrow by detecting a branch or swell of an edge of the line image.
【請求項3】  請求項1または請求項2記載の画像認
識装置の図形画像認識手段が認識した図形画像に対応す
る、予め登録された図形形状と、線画像認識手段が認識
した線画像のデータに基づいて作画した線画像を合成し
た合成画像を作成する画像合成手段を有し、該画像合成
手段で合成された合成画像の画像データを出力する画像
出力装置。
3. A pre-registered figure shape corresponding to the figure image recognized by the figure image recognition means of the image recognition apparatus according to claim 1 or 2, and data of a line image recognized by the line image recognition means. An image output device includes an image compositing means for creating a composite image by combining line images drawn based on the image compositing means, and outputs image data of the composite image synthesized by the image compositing means.
【請求項4】  原稿画像を光学的に読み取り、電気信
号に変換する原稿読み取り手段を有し、画像データは前
記原稿読み取り手段が、文字記入枠をドロップカラーで
印刷した帳票原稿を読み取った画像データである請求項
3記載の画像出力装置から出力された画像データに基づ
いて記録シートに画像記録を行うデジタル複写機。
4. A document reading unit that optically reads a document image and converts it into an electrical signal, and the image data is image data obtained by reading a form document in which a character entry frame is printed in a drop color. A digital copying machine that records an image on a recording sheet based on image data output from the image output device according to claim 3.
【請求項5】  請求項4の記載において、操作部にデ
ータ入力手段を有し、該データ入力手段を介して図形画
像認識手段が認識した図形画像のデータを修正可能なら
しめたことを特徴とするデジタル複写機。
5. The image forming apparatus according to claim 4, wherein the operating section has a data input means, and the data of the graphic image recognized by the graphic image recognition means can be modified through the data input means. A digital copy machine.
JP3042458A 1991-02-16 1991-02-16 Picture recognition output device Pending JPH04262660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3042458A JPH04262660A (en) 1991-02-16 1991-02-16 Picture recognition output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3042458A JPH04262660A (en) 1991-02-16 1991-02-16 Picture recognition output device

Publications (1)

Publication Number Publication Date
JPH04262660A true JPH04262660A (en) 1992-09-18

Family

ID=12636630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3042458A Pending JPH04262660A (en) 1991-02-16 1991-02-16 Picture recognition output device

Country Status (1)

Country Link
JP (1) JPH04262660A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996034320A1 (en) * 1995-04-26 1996-10-31 Hitachi, Ltd. Electrophotographic recording device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996034320A1 (en) * 1995-04-26 1996-10-31 Hitachi, Ltd. Electrophotographic recording device

Similar Documents

Publication Publication Date Title
JP2930612B2 (en) Image forming device
EP0736999B1 (en) Method and apparatus for scanning a document
JPS58103266A (en) Character image processor
US6983077B2 (en) Image processor
JPH04262660A (en) Picture recognition output device
JPS6141029B2 (en)
JPH05292294A (en) Digital copying machine
JPH0554072A (en) Digital translation device
JP2848926B2 (en) Image generation device
JPS63304387A (en) Document reader
JP2931041B2 (en) Character recognition method in table
JP3196603B2 (en) Barcode recognition method and system
JP2980955B2 (en) Image generation device
JPH0473192B2 (en)
JPH0661112B2 (en) Pattern recognition method
JP3503562B2 (en) Facsimile machine
JP2000050055A (en) Facsimile equipment and transmission method
JPH04157876A (en) Area designation system
JPH03230288A (en) Information processor
JPS6327751B2 (en)
JPH064244A (en) Print format generating device
JPH0459668B2 (en)
JPH08202824A (en) Document picture recognition device
JPH04303277A (en) Method for recognizing table
JPH02297687A (en) Character recognizing device