JPS61239384A - Method for improving recognition rate in graphic recognition - Google Patents
Method for improving recognition rate in graphic recognitionInfo
- Publication number
- JPS61239384A JPS61239384A JP60072256A JP7225685A JPS61239384A JP S61239384 A JPS61239384 A JP S61239384A JP 60072256 A JP60072256 A JP 60072256A JP 7225685 A JP7225685 A JP 7225685A JP S61239384 A JPS61239384 A JP S61239384A
- Authority
- JP
- Japan
- Prior art keywords
- recognition
- recognized
- mask
- graphic
- data
- 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
Links
Landscapes
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
[概 要]
手書き図面を自動的に読取り、認識処理する図形入力処
理装置において、格子を中心として切り出した小領域の
画像データに対して、認識対象図形と近似のマスクをか
けた後、認識を行うように構成し、これによって、認識
対象図形以外の画像がノイズとなり認識率を低下させて
いたのを防止する。[Detailed Description of the Invention] [Summary] In a figure input processing device that automatically reads and recognizes handwritten drawings, a mask of a figure to be recognized and an approximation is created for image data of a small area cut out around a grid. After multiplication, recognition is performed, thereby preventing images other than the figure to be recognized from becoming noise and lowering the recognition rate.
[産業上の利用分野]
本発明は、図形入力処理装置における図形の認識に関す
る。[Industrial Field of Application] The present invention relates to graphic recognition in a graphic input processing device.
情報処理技術の長足な進歩とともに、自動設計、自動製
作(CAD、CAM)が次第に普及しつつある。この自
動設計、自動製作の体系の中で、手書き図面を自動的に
読取り、認識して、後のCADデータの作製等のために
処理する技術は、重要な地位を占める技術のひとつであ
る。With the rapid progress of information processing technology, automatic design and automatic manufacturing (CAD, CAM) is becoming increasingly popular. In this system of automatic design and automatic production, technology that automatically reads and recognizes handwritten drawings and processes them for later production of CAD data is one of the technologies that occupies an important position.
本発明は、このような処理を行う図形入力処理装置にお
いて、図面中の種々のシンボルの認識の認識率を向上す
る方法に関するものである。The present invention relates to a method for improving the recognition rate of various symbols in drawings in a graphic input processing device that performs such processing.
[従来の技術]
図形入力処理装置において読取り処理を行う原図面には
種々のものがあるが、第3図に示すような、手書きのプ
リント板パターン図の自動読取り処理を行う場合を例に
とり説明する。[Prior Art] There are various types of original drawings that can be read by a graphic input processing device, but the explanation will be given by taking as an example the case of automatically reading a handwritten printed board pattern diagram as shown in FIG. do.
手書きのプリント板パターン図の図形認識を行う場合に
は、図面スキャナの読取った画像データを画像メモリに
格納し、画像メモリにある図面全体を格子分割し、その
格子単位に矩形状に画像データを切り出し、認識を行っ
ていた。When performing figure recognition of a handwritten printed board pattern diagram, the image data read by the drawing scanner is stored in the image memory, the entire drawing in the image memory is divided into grids, and the image data is divided into rectangular shapes in units of the grid. I was cutting it out and recognizing it.
認識は、切り出した図形内のシンボルを認識し、線分を
認識し、線幅を計測して、各格子ごとの認識データを合
成することによって行われる。ここに、シンボルとは、
プリント板パターン図におけるランド・パターン等の図
形のことである。Recognition is performed by recognizing symbols within the cut out figure, recognizing line segments, measuring line widths, and synthesizing recognition data for each grid. Here, the symbol is
This refers to figures such as land patterns in printed board pattern diagrams.
[発明が解決しようとする問題点コ
上記に説明した図形の切出しは、シンボルの大きさ、お
よび位置のずれを見込んで、第4図に示すように、シン
ボルの大きさより大きな矩形として切り出すのが通常で
ある。[Problems to be Solved by the Invention] When cutting out the figure explained above, taking into account the size and positional deviation of the symbol, it is best to cut out the figure as a rectangle larger than the size of the symbol, as shown in Fig. 4. Normal.
そのため、認識対象のシンボル以外の線分や、このシン
ボルから出ていく線分等がノイズとなり、認識率が上が
らない原因になっているという問題点があった。Therefore, there is a problem in that line segments other than the symbol to be recognized, line segments emanating from this symbol, etc. become noise, which prevents the recognition rate from increasing.
本発明は、これらの問題点を解消して認識率を向上する
方法を提供しようとすくものである。The present invention aims to provide a method for solving these problems and improving the recognition rate.
[問題点を解決するための手段]
第1図は本発明の図形認識における認識率向上方法の原
理ブロック図を示す。[Means for Solving the Problems] FIG. 1 shows a block diagram of the principle of a method for improving recognition rate in figure recognition according to the present invention.
第1図において、1は画像メモリ5から格子中心に切り
出した画像データであり、2は認識対象図形と近位のマ
スクのデータを格納しているROMであり、3はAND
ゲートである。In FIG. 1, 1 is image data cut out from the image memory 5 at the center of the grid, 2 is a ROM that stores data of the figure to be recognized and proximal masks, and 3 is an AND
It is a gate.
切り出された画像データ1と、マスク・データ2とは、
ANDゲート3に入れられて、論理積をとられ、結果デ
ータ4について認識処理を行う。The extracted image data 1 and mask data 2 are
The data is inputted to an AND gate 3 and subjected to a logical product, and the resultant data 4 is subjected to recognition processing.
[作用]
第1図は、マスク処理を概念的に示したものであるが、
実際には、切り出された画像データ1上をマスク走査し
、各座標値ごとに、マスク上の同一座標値のデータとの
論理積をとって、結果データ4が組み立てられる。[Operation] Figure 1 conceptually shows the masking process.
Actually, the cut out image data 1 is scanned with a mask, and for each coordinate value, the logical product with the data of the same coordinate value on the mask is taken, and the result data 4 is assembled.
結果データ4においては、認識対象図形の外側にあり、
認識処理の際ノイズとなる周辺の画像が、殆ど除去され
ている。In result data 4, it is outside the recognition target figure,
Most of the surrounding images that become noise during recognition processing are removed.
マスクは、手書きの際のずれ、用紙の伸縮、基準点決定
の誤差等にるずれを考慮して、認識対象図形よりやや大
きなものとし、認識対象図形の外形の種類だけ準備する
。The mask is made slightly larger than the figure to be recognized, taking into account deviations caused by handwriting, expansion and contraction of paper, errors in determining reference points, etc., and only the types of external shapes of the figure to be recognized are prepared.
[実施例]
以下第2図に示す実施例により、本発明の要旨をさらに
具体的に説明する。[Example] The gist of the present invention will be explained in more detail below with reference to an example shown in FIG.
本実施例では、第3図に示すような、手書きのプリント
板パターン図において、シンボルをtWtfiliする
場合について説明する。In this embodiment, a case will be described in which symbols are tWtfiled in a handwritten printed board pattern diagram as shown in FIG.
このようなプリント板パターン図においては、認識しよ
うとするシンボルは、ランド・パターンであって、例え
ば、外形としては、3.5mmφΦ大円、2゜0III
Ilφの小円の2種類であるとする。In such a printed board pattern diagram, the symbol to be recognized is a land pattern, and the outer shape is, for example, a 3.5mmφΦ great circle, 2°0III
It is assumed that there are two types of small circles of Ilφ.
同一の外径を有するシンボルの中にも、それぞれ第3図
に示すように、完全に塗りつぶされたもの、半分塗りつ
ぶされたもの、二重丸のもの、−重丸のもの、丸に斜線
の入ったもの、丸にX印の入ったもの等、10種類以上
のシンボルがあ北。Among symbols with the same outer diameter, as shown in Figure 3, there are symbols that are completely filled in, half filled in, double circles, double circles, and circles with diagonal lines. There are more than 10 types of symbols, such as those with a box inside, and those with an X in a circle.
シンボル認識は、認識対象図形が、これらのシンボルの
うちのどれであるかを認識するものである。Symbol recognition involves recognizing which of these symbols a figure to be recognized is.
シンボル認識のための処理は、例えば、つぎのような手
順で行う。Processing for symbol recognition is performed, for example, in the following procedure.
■まず前処理として、切り出された画像データの中心に
シンボルが有るか、無いかを検出し、有ればそれが大円
系か小円系かを検出する。■First, as preprocessing, it is detected whether a symbol exists or not in the center of the cut out image data, and if there is, it is detected whether it is a large circle or a small circle.
■大円系シンボルを検出すれば、大円用マスク、小円系
シンボルを検出すれば、小円用マスクによってマスク処
理を行い、結果の画像データを作成する。■If a large circle symbol is detected, mask processing is performed using a large circle mask, and if a small circle symbol is detected, mask processing is performed using a small circle mask, and the resulting image data is created.
■マスク処理を行った結果の画像データについて、各シ
ンボル・データを格納した辞書と逐次比較を行って認識
する。■The image data resulting from the mask processing is recognized by performing successive comparisons with a dictionary that stores each symbol data.
第2図は、第4図に示したような、2つの大円系シンボ
ルを含んだ切出し画像データ(a)と、2つの小円系シ
ンボルを含んだ切出し画像データ(blに対して、それ
ぞれ大円用および小円用マスクをかけて処理した結果の
画像データを示したものである。Figure 2 shows cutout image data (a) containing two great circle symbols and cutout image data (for bl) containing two small circle symbols, as shown in Figure 4. This shows image data as a result of processing with large circle and small circle masks.
図に示すように、各マスクはずれを見込んで、シンボル
外径よりやや大きくなっているので、ごく少量の不要像
を残すが、大部分の不要像は除去されている。As shown in the figure, each mask is made slightly larger than the outer diameter of the symbol to allow for misalignment, so a very small amount of unnecessary images remain, but most of the unnecessary images have been removed.
[発明の効果コ
以上説明のように本発明によれば、認識対象図形の周辺
のノイズを除去して図形認識の認識率を向上することが
でき、情報処理技術における実用上の効果はきわめて大
なるものがある。[Effects of the Invention] As explained above, according to the present invention, the recognition rate of figure recognition can be improved by removing noise around the figure to be recognized, and the practical effects in information processing technology are extremely large. There is something.
第1図は本発明の原理ブロック図、
第2図は本発明の実施例のマスク処理結果を示す図、
第3図は認識対象図面の一例のプリント板パターン図、
第4図は切出し画像データを示す図である。
図面において、
1は切出し画像データ、
2はマスク・データ、
3はANDゲート、
4はマスク処理結果画像データ、
5は画像メモリ、
!−1!(rl”I /l 原ff 7°a−ye事l
酊
1麿」nd笑應例のマ又の叉L1ひ6釆り禾丁聞寮2r
E1
アリ〉ト1反 IXa7−二目′
峯3図
ゴブ1コニしjLねイ自キアーバ月i1[弔4fIFigure 1 is a block diagram of the principle of the present invention. Figure 2 is a diagram showing the mask processing results of an embodiment of the present invention. Figure 3 is a printed board pattern diagram of an example of the drawing to be recognized. Figure 4 is cutout image data. FIG. In the drawings, 1 is cropped image data, 2 is mask data, 3 is AND gate, 4 is mask processing result image data, 5 is image memory, ! -1! (rl”I /l 原ff 7°a-ye thingl
Intoxication 1 Maro'nd lol Example of Mamata's fork L1 Hi 6 Kaden Hechomonryo 2r
E1 ant〉to1 anti IXa7-second eye' Mine 3 figure gob 1 conish jL hey own chiaba month i1 [condolence 4fI
Claims (1)
れた手書き図面を自動的に読取り、認識処理する図形入
力処理装置において、 シンボル図形認識のため、画像メモリ(5)から、前記
各格子を中心として切り出した小領域の画像データ(1
)に対して、 認識対象図形の外形と近似のマスク・データ(2)と、 マスク演算を実行する手段(3)とを備え、該手段(3
)の結果データ(4)に対して認識処理を行うよう構成
したことを特徴とする図形認識における認識率向上方法
。[Scope of Claims] In a figure input processing device that automatically reads and recognizes handwritten drawings written on the basis of grids provided at equal intervals in an orthogonal coordinate system, image memory (5 ), the image data (1
), comprising mask data (2) approximating the outer shape of the figure to be recognized, and means (3) for performing a mask operation;
) A recognition rate improvement method in figure recognition, characterized in that a recognition process is performed on the result data (4).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60072256A JPS61239384A (en) | 1985-04-05 | 1985-04-05 | Method for improving recognition rate in graphic recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60072256A JPS61239384A (en) | 1985-04-05 | 1985-04-05 | Method for improving recognition rate in graphic recognition |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61239384A true JPS61239384A (en) | 1986-10-24 |
Family
ID=13484030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60072256A Pending JPS61239384A (en) | 1985-04-05 | 1985-04-05 | Method for improving recognition rate in graphic recognition |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61239384A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63170789A (en) * | 1987-01-09 | 1988-07-14 | Agency Of Ind Science & Technol | Pattern resemblance degree detection circuit |
JPS6458067A (en) * | 1987-08-28 | 1989-03-06 | Daikin Ind Ltd | Paint-out processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5688568A (en) * | 1979-12-21 | 1981-07-18 | Fujitsu Ltd | Pattern separation system |
JPS5781686A (en) * | 1980-11-07 | 1982-05-21 | Fujitsu Ltd | Automatic reader of pattern graphic form |
JPS58121483A (en) * | 1982-01-11 | 1983-07-19 | Sanyo Electric Co Ltd | Picture processing method |
-
1985
- 1985-04-05 JP JP60072256A patent/JPS61239384A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5688568A (en) * | 1979-12-21 | 1981-07-18 | Fujitsu Ltd | Pattern separation system |
JPS5781686A (en) * | 1980-11-07 | 1982-05-21 | Fujitsu Ltd | Automatic reader of pattern graphic form |
JPS58121483A (en) * | 1982-01-11 | 1983-07-19 | Sanyo Electric Co Ltd | Picture processing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63170789A (en) * | 1987-01-09 | 1988-07-14 | Agency Of Ind Science & Technol | Pattern resemblance degree detection circuit |
JPS6458067A (en) * | 1987-08-28 | 1989-03-06 | Daikin Ind Ltd | Paint-out processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116597466A (en) | Engineering drawing text detection and recognition method and system based on improved YOLOv5s | |
JPS61239384A (en) | Method for improving recognition rate in graphic recognition | |
CN114694147B (en) | Method and device for dividing surrounding characters in elliptical pattern | |
US7468734B2 (en) | Apparatus for and method of graphic processing and computer-readable program | |
JP2003016385A (en) | Image processor, method, program and storage medium | |
JPS61165180A (en) | Vector extracting system | |
JPS61165188A (en) | Symbol recognizing system | |
JPS6047637B2 (en) | Shape recognition processing device | |
JPH0535872A (en) | Contour tracing system for binary image | |
JPS5814709B2 (en) | Shape recognition method for closed shapes | |
JPH04311283A (en) | Line direction discriminating device | |
JP2987877B2 (en) | Character recognition method | |
JPS6039978A (en) | Character pattern reducing system | |
JPS6336380A (en) | Recognizing device for drilling position | |
JPS633374A (en) | Graphic recognizing device | |
JPS6292085A (en) | Recognizing system for symmetrical characteristics of graphic form | |
JPS63128490A (en) | Character image extraction possessing system | |
JPH05258108A (en) | Outline normalization system for character pattern | |
JPH0398185A (en) | Character segmenting method for character reader | |
JPH01213769A (en) | Character reader | |
JP2002189984A (en) | Document reader | |
JPH03103987A (en) | Image input device | |
JPH09259269A (en) | Rimming device for character graphic and thickening method for character graphic | |
JPH02267680A (en) | Image area dividing system | |
JPS61165184A (en) | Automatic detecting system of reference point |