JPH048832B2 - - Google Patents
Info
- Publication number
- JPH048832B2 JPH048832B2 JP56212936A JP21293681A JPH048832B2 JP H048832 B2 JPH048832 B2 JP H048832B2 JP 56212936 A JP56212936 A JP 56212936A JP 21293681 A JP21293681 A JP 21293681A JP H048832 B2 JPH048832 B2 JP H048832B2
- Authority
- JP
- Japan
- Prior art keywords
- window
- circular
- directions
- vertical
- memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
本発明は、論理回路図などの幾何学的形状図形
と文字が存在する図面における円形状抽出処理方
式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a circular shape extraction processing method for drawings such as logical circuit diagrams in which geometric shapes and characters exist.
論理回路図はアンド、ナンド、オア、ノア、フ
リツプフロツプなどの各シンボルとそれらを結ぶ
線および説明用の文字又は短い文章などからなる
が、予め定められた格子軸上に沿つて描かれた
(方眼紙に手書きされた)かかる論理回路図をフ
アクシミリなどの自動読取装置で読取り、その出
力ビデオ信号を分析して図形認識および文字認識
コンピユータなどの処理装置へ入力し、自動回路
設計などをさせることが考えられている。本発明
はその一部の円図形認識、即ちロジツクシンボル
には第1図a,bの如き円図形があるがこれを抽
出し、何のマークかを認識しようとするものであ
る。 Logic circuit diagrams consist of symbols such as and, nand, or, noah, flip-flop, lines connecting them, explanatory characters or short sentences, etc., and are drawn along predetermined grid axes (grid Such logic circuit diagrams (handwritten on paper) can be read by an automatic reading device such as a facsimile, and the output video signal is analyzed and input to a processing device such as a figure recognition and character recognition computer for automatic circuit design. It is considered. The present invention attempts to recognize some circular figures, that is, to extract circular figures such as those shown in FIG.
論理回路図における円図形は第1図aの如き反
転を意味するもの、及び同図bの如き頁結合子
(この先はどこへ飛ぶかを示すマーク)を意味す
るものからなる。第1図aの場合は円図形Mがな
ければアンドゲート、あればナンドゲートである
から、図形Mはそれが円であること、およびどの
ような周囲図形と結合しているかが重要である。
本発明では円図形Mの周囲図形N、第1図aで言
えばアンドシンボルは別途他の手段で認識される
としており、図形Mは円なのか、その近傍にはど
のような線分があるかを認識し、該円図形の意味
を知ろうとするものである。 The circular shapes in the logic circuit diagram include those that mean reversal as shown in FIG. In the case of FIG. 1a, if the circle figure M does not exist, it is an AND gate, and if it does, it is a NAND gate, so it is important that the figure M is a circle and what kind of surrounding figures it is connected to.
In the present invention, the surrounding figure N of the circular figure M, or the AND symbol in FIG. The objective is to recognize the meaning of the circular shape and to understand the meaning of the circular shape.
円形状の抽出には、一般の文字、図形認識で採
用されるn×nビツト通常は3×3ビツトの窓を
使用する(例えば公知例として、特開昭52−
117527号公報に記載がある)。第2図aは該窓W
を示す。この窓Wは、図形認識に当つてはフアク
シミリ装置などの光電変換装置で図面を読取つて
メモリに格納し、該メモリより認識対象図形部分
を切出して認識を行うが、その認識対象図形があ
るメモリ部分のアドレス領域を示すもので、この
窓を左右方向及び上下方向に移動させる(該窓の
物理アドレスをそのように変える)ことにより該
図形メモリ全域の走査を行なう。図形メモリには
第3図aの如き円図形(環状体として示している
が、これは円の輪郭線の幅をも示したもの)が記
憶されているとすると、窓Wで該メモリを水平、
垂直走査するとき該窓Wが図形上になければW内
記憶データは全て0(0は非図形部分、本例では
白地とする)である。窓Wがbに示す位置にあれ
ばW内記憶データは第3図bの如くなる。ここで
1は図形部分、本例では黒部分を示す。同様にし
て窓Wが第3図aのc,d,e位置にあればW内
記憶データは同図c,d,eの如くなる。 To extract circular shapes, an n x n bit (usually 3 x 3 bit) window, which is used in general character and figure recognition, is used (for example, as a known example,
(Described in Publication No. 117527). Figure 2a shows the window W.
shows. During figure recognition, a photoelectric conversion device such as a facsimile machine reads a drawing, stores it in a memory, cuts out a figure to be recognized from the memory, and performs recognition. It shows the address area of a portion, and by moving this window horizontally and vertically (changing the physical address of the window in that way), the entire area of the graphic memory is scanned. Assuming that the figure memory stores a circular figure (shown as an annular body, which also indicates the width of the outline of the circle) as shown in Figure 3a, the memory can be horizontally ,
During vertical scanning, if the window W is not on a graphic, all stored data in W is 0 (0 is a non-graphic part, in this example, it is a white background). When the window W is at the position shown in b, the data stored in the window W becomes as shown in FIG. 3b. Here, 1 indicates a graphic part, in this example a black part. Similarly, if the window W is at positions c, d, and e in FIG. 3a, the data stored in W will be as shown in c, d, and e in the same figure.
かかる窓W内白、黒2値データの分布により、
図形輪郭の方向を知ることができる。例えば第3
図b又はeの2値データ分布なら図形の窓対向部
の輪郭線の方向は上下方向であり、c,dなら斜
め方向、詳しくはCはXY座標軸の正X軸に対し
て45゜方向、dは同135゜方向である。このように
して窓Wにより第2図bに示すように上下V、左
右H、斜めDの8方向を判断することができる。
図形輪郭線の各部分の方向が分ると、これは図形
認識に対する有力な情報を与える。 Due to the distribution of the white and black binary data within the window W,
You can know the direction of the figure outline. For example, the third
In the case of the binary data distribution in figure b or e, the direction of the outline of the window-opposing part of the figure is the vertical direction, and in the case of c and d, it is in the diagonal direction, more specifically, C is in the 45° direction with respect to the positive X axis of the XY coordinate axes, d is the same 135° direction. In this way, eight directions, ie, up and down V, left and right H, and diagonal D, can be determined using the window W as shown in FIG. 2b.
Once the orientation of each part of a figure contour is known, this provides useful information for figure recognition.
例えば円図形は上下、左右、斜め各方向を均等
に備えているのに対し、第1図gに示す如き矩形
(正方形もこれに含める)は上下、左右方向しか
持たない(方眼紙に書くから)。従つて斜め方向
成分があるか否かで円と矩形の区別ができる。 For example, a circular figure has equal vertical, horizontal, and diagonal directions, whereas a rectangle (including squares) as shown in Figure 1g has only vertical and horizontal directions (because it is written on graph paper, ). Therefore, a circle and a rectangle can be distinguished depending on whether or not there is a diagonal component.
しかし論理回路図では第1図c.dのような三角
形もよく現われる。この三角形は斜め方向を持つ
て手書き三角形では円と誤認されるものが生じ
る。誤認の原因は次の如くであると考えられる。
即ち第1図cの三角形は上下方向と、水平方向に
対し30゜の斜辺とを持つており、第1図dの三角
形は水平方向と、垂直方向に対して30゜の斜辺を
持つている。つまり斜辺は30゜成分である。論理
回路図には第1図e,fの如きシンボルもあり、
この場合も点線で囲つた如き各区分に同様な三角
形が現われる。ところで窓Wによる方向判断では
前述のように水平、垂直、およびこれらに45゜の
斜め方向の8種としており、これらには30゜斜め
成分は入つていない。従つて8方向判断では30゜
成分は、45゜成分または水平、垂直成分のいずれ
かに、いわば量子化され、その際量子化誤差が出
る。円も、水平、垂直、45゜斜め成分より、これ
ら各成分を均等にもつものとして認識されるか
ら、若し上記三角形における30゜斜めが、手書き
による乱れのために45゜斜めのおよび、垂直また
は水平へ配分されると該三角形はいずれの方向成
分も持つことになつて円との区別がつかなくな
る。 However, in logic circuit diagrams, triangles like cd in Figure 1 often appear. This triangle has a diagonal orientation, so a handwritten triangle may be mistaken for a circle. The causes of the misidentification are thought to be as follows.
That is, the triangle in Figure 1c has a vertical direction and a hypotenuse of 30° to the horizontal direction, and the triangle in Figure 1d has a horizontal direction and a hypotenuse of 30° to the vertical direction. . In other words, the hypotenuse is a 30° component. The logic circuit diagram also has symbols such as e and f in Figure 1,
In this case, similar triangles appear in each section as surrounded by dotted lines. By the way, in the direction judgment using the window W, as mentioned above, there are eight kinds of directions: horizontal, vertical, and diagonal directions of 45 degrees, and these do not include the 30 degree diagonal component. Therefore, in 8-direction judgment, the 30° component is quantized into either the 45° component or the horizontal or vertical components, and a quantization error occurs at this time. A circle is also recognized as having horizontal, vertical, and 45° diagonal components equally, so if the 30° diagonal in the triangle above becomes 45° diagonal and vertical due to handwriting Alternatively, if distributed horizontally, the triangle will have components in any direction and will be indistinguishable from a circle.
本発明はかかる点を改善しようとするもので、
手書き論理回路図中に存在する円形を有するシン
ボルを、三角形などの他のシンボルと確実に分離
して円形認識を行い、更に、近傍のシンボル輪郭
との位置関係から円形シンボルの意味を判定可能
としようとするものである。 The present invention aims to improve this point,
It is possible to perform circular recognition by reliably separating symbols with a circular shape that exist in a handwritten logic circuit diagram from other symbols such as triangles, and furthermore, it is possible to determine the meaning of the circular symbol from the positional relationship with the contours of neighboring symbols. This is what I am trying to do.
本発明は格子軸に沿つて描かれた幾何学的形状
図形と文字が存在する図面を変換装置により自動
的に読取つてメモリに格納し、その読出し出力か
ら円形状を有する線図形を抽出し、該図形の近傍
の線図形との関連から該円図形の性格を認識する
円形状抽出処理方式において、中央のビツトは重
みを0とされ、残りの周囲の8ビツトにはそれぞ
れ異なる重み(≠0)が付与される3×3ビツト
の窓であつて、当該窓に現れるデータパターンに
もとづいて得られる重み付き加算結果が、水平、
垂直、30゜及び45゜斜め方向を含む16種の方向F1,
F2,……F16別にそれぞれ異なる固有値となるよ
うな窓を用意し、該3×3ビツトの窓を用いて該
メモリを走査し、該窓に現われるデータパターン
から水平、垂直、30゜および45゜斜め方向を含む16
種の方向別に当該図形輪郭の方向を求め、該方向
の分布状態から円図形を抽出し、更に該円図形と
格子点およびその情報との関係を求めて該円図形
の性格を認識することを特徴とするものである。
以下実施例を参照しながらこれを説明する。 The present invention automatically reads a drawing in which geometric figures and characters drawn along a lattice axis are present using a conversion device, stores it in a memory, extracts a line figure having a circular shape from the read output, In a circular shape extraction processing method that recognizes the characteristics of a circular shape from the relationship with line shapes in the vicinity of the shape, the central bit is given a weight of 0, and the remaining 8 bits around it are given different weights (≠0). ), and the weighted addition result obtained based on the data pattern appearing in the window is horizontal,
16 types of directions F 1 including vertical, 30° and 45° diagonal directions,
Prepare windows with different eigenvalues for each of F 2 ,...F 16 , scan the memory using the 3 x 3 bit window, and calculate horizontal, vertical, 30° and 16 including 45° diagonal direction
The direction of the contour of the figure is determined for each direction of the species, the circle figure is extracted from the distribution state in the direction, and the relationship between the circle figure and the grid points and its information is determined to recognize the character of the circle figure. This is a characteristic feature.
This will be explained below with reference to Examples.
第4図は本発明による16方向識別要領を示す。
窓W内の2値データ分布が第4図1,2,……1
6の如くなつたとき、図形輪郭はF1,F2,……
F16の方向を持つとする。この16種の方向は360゜
を16分割するものではあるが、均等分割ではな
く、第5図に示すように30゜成分と45゜成分を持つ
不均一分割なものである。8方向方式の場合も、
窓Wに現われる2値データビツトの分布状況は第
4図1〜16の如き種々のケースがあるが、8方
向方式ではあいまい性を与えることにより、具体
的には一部のビツトを無視する(Don´t Careにす
る)ことにより8方向のいずれかに纏めている。
本発明ではそれを原図形輪郭に一層忠実に16方向
に纏めるものである。 FIG. 4 shows a procedure for identifying 16 directions according to the present invention.
The binary data distribution within the window W is shown in Figure 4 as 1, 2,...1
6, the shape contours are F 1 , F 2 ,...
Suppose it has a direction of F 16 . Although these 16 directions divide 360° into 16 parts, they are not evenly divided, but are unevenly divided, with a 30° component and a 45° component, as shown in Figure 5. Even in the case of the 8-way method,
There are various cases in which the binary data bits appearing in the window W are distributed as shown in Fig. 4 1 to 16, but in the 8-way method, by giving ambiguity, some bits are specifically ignored ( (Don't Care), it is summarized in one of eight directions.
In the present invention, these are arranged in 16 directions more faithfully to the original figure contour.
窓Wは1ドツトずつずらしながら領域を走査
し、各走査位置ごとに窓内のデータビツトの分布
が第4図の16種の方向のいずれと一致するかを調
べ、一致するパターンを検出する。いずれの方向
とも一致しない場合には無視して、窓Wを次の走
査位置へずらみ、同様な処理を行う。 The window W scans the area while shifting one dot at a time, and it is checked at each scanning position which of the 16 directions shown in FIG. 4 the distribution of data bits within the window matches, and a matching pattern is detected. If it does not match with either direction, it is ignored, the window W is shifted to the next scanning position, and the same process is performed.
3×3ビツトの窓Wの各ビツトには第4図17
に示すようにそれぞれ異なる重み1,2,4,
8,16,32,64,128を付ける。中央のビツトは
ウエイト0とする。第4図1〜16においても×
印のビツト又はセルはドントケアとする。このよ
うな重みを付けて各ビツトのデータ1,0と掛算
し、総和を求めると第4図1,2,3,……に付
記したようにそれぞれ異なる総和214,146(150),
147(151),……が得られ(括弧内数値は×印部も
計算した場合)、このような総和が得られたとき
当該図形輪郭の方向はF1,F2,F3,……各方向
であると判断する。 Each bit of the 3 x 3 bit window W is shown in Fig. 417.
As shown in the figure, different weights 1, 2, 4,
Add 8, 16, 32, 64, 128. The center bit has a weight of 0. Also in Figure 4 1-16 ×
The marked bits or cells are don't care. When weighted like this and multiplied by the data 1 and 0 of each bit to calculate the total sum, the total sums are 214, 146 (150), respectively, as shown in Figure 4, 1, 2, 3, etc.
147 (151), ... are obtained (the numbers in parentheses are when the parts marked with an x are also calculated), and when such a sum is obtained, the direction of the figure outline is F 1 , F 2 , F 3 , ... It is determined that each direction.
図形輪郭が方向F1〜F16以外にあれば、窓W内
に現われるデータパターンは第4図1〜16以外
のものとなり、重み付き加算結果も該図付記とは
異なるものになる。また円形図形も手書きの場合
は真円ではなく、従つて全方向を均等に持つこと
にはならない。そこで方向F1,F2,……F16の出
現頻度にマージンを設けて、それらがある範囲内
に収まつておれば円図形とする。数式的な表現を
すると、方向F1,F2,……の出現頻度をHIST
F1,同F2,……とし、各頻度の上、下限値をH1
〜H16,L1〜L16とし(これらの上、下限値は図
形の大きさや該図形を2値信号に変換する装置の
解像度などから決定する。つまり図面を読取るイ
メージスキヤナやフアクシミリなどの光電変換装
置の解像度が線分を検出するのに十分であれば、
16種の方向の出現頻度は高くなり、逆に解像度が
悪ければ出現頻度は低くなるので、解像度に合わ
せて、出現頻度に対し設定する上限値、下限値を
変更する)
L1HIST F1H1
L2HIST F2H2
〓
L16HIST F16H16
なら当該図形は円であるとする。勿論この条件を
満たさないものは、円でない、である。三角形の
場合はもしそれが第1図cの三角形なら方向F1,
F4,F6,F9,F12,F14の出現頻度は高くなり、
上記条件の上限値を超える可能性が高い。また、
その他の方向に関する出現頻度は低くなり、上記
条件の下限値に達しない可能性が高い。一般に、
論理回路図で円形シンボルは主として他のシンボ
ルに付帯して意味を持つ。即ち、例えば第1図a
の円形シンボルMは、アンドゲートNに付帯して
ナンドゲートというシンボルを形成する。この場
合、円形シンボルMは信号の反転を意味する。従
つて円形の意味の把握には、近傍にあるシンボル
のチエツクが不可欠である。本発明では論理回路
図は格子軸上に画かれ、円形図形の位置にも制約
がある。即ちナンドゲートの場合は第6図M1の
ように格子点+は円形図形M1の左右にあり、あ
るいはM2のように格子点+は円形図形M1の上下
にある。各格子点には、その上下、左右の格子点
との接続情報等についてのデータ格納用メモリ領
域(本例では32ビツトのメモリ領域)が確保され
ており、第6図の例では半円形10の解析(これ
は点線で示すように上下、左右に投影して行う)
で格子点12には上下に腕(上方向に伸びる線分
と下方向に伸びる線分)があることが分かつてい
るので、該格子点12の情報格納メモリ領域の円
形存在可能性の欄に“1”(有り)を書込む。こ
の「円形存在可能性の欄」というのは「逆ロジツ
クシンボルの有無の欄」を意味している。これが
あれば当該図形はナンドゲートである確率が高く
なり、格子点14,16の左方に線分ありなどの
情報があれば、それらと共に当該図形はナンドゲ
ートであると判定する。ナンドゲートが垂直方向
を向いている場合は図形M2が検出され、その上
部格子点17または下部格子点18に、左右に腕
(左方向に伸びる線分と右方向に伸びる線分)あ
りのものがあれば、上記と同様にして、その格子
点の情報格納用メモリ領域の円形存在可能性の欄
(逆ロジツクシンボルの有無の欄)に“1”(有
り)を書込む。頁結合子の場合は格子点を囲むよ
うに円が画かれ、円周上には格子点がない。この
場合は円の中心の格子点の情報欄に円図形の存在
を示す情報を付与する。 If the figure contour is in a direction other than the directions F 1 -F 16 , the data pattern appearing within the window W will be other than those shown in FIGS. Furthermore, when a circular figure is drawn by hand, it is not a perfect circle, and therefore does not have equal dimensions in all directions. Therefore, a margin is provided for the frequency of appearance of the directions F 1 , F 2 , . Expressed mathematically, the frequency of appearance of directions F 1 , F 2 , ... is expressed as HIST
F 1 , F 2 , ..., and the upper and lower limits of each frequency are H 1
~H 16 , L 1 ~L 16 (These upper and lower limits are determined based on the size of the figure and the resolution of the device that converts the figure into a binary signal. In other words, the image scanner, facsimile, etc. that reads the drawing If the resolution of the photoelectric conversion device is sufficient to detect line segments,
The appearance frequency of the 16 species will be high, and conversely, if the resolution is poor, the appearance frequency will be low, so change the upper and lower limits set for the appearance frequency according to the resolution) L 1 HIST F 1 H 1 L 2 HIST F 2 H 2 〓 L 16 HIST F 16 H 16 , then the figure is a circle. Of course, anything that does not satisfy this condition is not a circle. In the case of a triangle, if it is the triangle in Figure 1 c, the direction F 1 ,
F 4 , F 6 , F 9 , F 12 , F 14 appear more frequently,
There is a high possibility that the upper limit of the above conditions will be exceeded. Also,
The frequency of appearance in other directions is low, and there is a high possibility that the lower limit of the above conditions will not be reached. in general,
In logic circuit diagrams, circular symbols mainly have meaning attached to other symbols. That is, for example, FIG.
The circular symbol M is attached to the AND gate N to form a symbol called NAND gate. In this case, the circular symbol M means the inversion of the signal. Therefore, to understand the meaning of a circle, it is essential to check nearby symbols. In the present invention, the logic circuit diagram is drawn on the grid axis, and there are restrictions on the position of the circular figure. That is, in the case of a NAND gate, the lattice points + are located on the left and right sides of the circular figure M1 as shown in FIG. 6 M1 , or the lattice points + are located above and below the circular figure M1 as shown in M2. For each grid point, a memory area (32-bit memory area in this example) for storing data such as connection information with the upper, lower, left, and right grid points is secured, and in the example shown in Fig. 6, a semicircular 10 analysis (this is done by projecting vertically and horizontally as shown by the dotted line)
Since we know that grid point 12 has arms above and below (a line segment extending upward and a line segment extending downward), we write Write “1” (present). This "column for circular existence possibility" means "column for presence/absence of reverse logic symbols." If this exists, the probability that the figure is a NAND gate increases, and if there is information such as a line segment to the left of the lattice points 14 and 16, it is determined that the figure is a NAND gate. If the NAND gate is oriented vertically, a shape M2 is detected, and the shape M2 has arms on the left and right (a line segment extending to the left and a line segment extending to the right) at its upper grid point 17 or lower grid point 18. If so, "1" (presence) is written in the circular existence possibility column (inverse logic symbol presence/absence column) in the information storage memory area of that lattice point in the same manner as above. In the case of a page connector, a circle is drawn to surround the grid points, and there are no grid points on the circumference. In this case, information indicating the existence of a circular figure is added to the information column of the grid point at the center of the circle.
第7図は上述の円図形抽出認識処理の要領を示
すフローチヤートである。この図の画像入力装置
とは例えばフアクシミリであり、正方形領域とは
認識対象が円図形ならその円図形を含む走査領域
をいう。方向性テーブルとは、円形、三角形、四
角形などにつき16方向F1〜F16がどのように現わ
れるのかの一覧表をいう。4方向コードテーブル
とは各格子点の上下、左右4方向連結状況の一覧
表をいう。全体の処理要領は上述の通りである。 FIG. 7 is a flowchart showing the outline of the above-mentioned circular figure extraction and recognition process. The image input device in this figure is, for example, a facsimile, and if the object to be recognized is a circular figure, the square area is a scanning area that includes the circular figure. The directional table is a list of how the 16 directions F 1 to F 16 appear for circles, triangles, squares, etc. The 4-way code table is a list of the connection statuses of each grid point in four directions, vertically, horizontally, and horizontally. The overall processing procedure is as described above.
本発明によれば論理回路図の円図形を三角形な
どと混同せずに正しく認識でき、アンドゲートと
ナンドゲートなどの区別を確実に行うことができ
る。 According to the present invention, it is possible to correctly recognize a circular figure in a logic circuit diagram without confusing it with a triangle, etc., and it is possible to reliably distinguish between an AND gate and a NAND gate.
また本発明ではヒストグラムの個々の値HIST
F1,同F2,……を独立に利用して形状抽出する
ため、ヒストグラムの相対的な分布状態(ピーク
とバレー、あるいはその差など)を利用する方式
に比べて、単純な処理で形状抽出を実現できる。 In addition, in the present invention, each value HIST of the histogram
Because shapes are extracted using F 1 , F 2 , ... independently, shapes can be extracted with simpler processing compared to methods that use the relative distribution state of the histogram (such as peaks and valleys, or the difference between them). Extraction can be achieved.
第1図は幾何学的図形の例を示す説明図、第2
図は走査用窓と認識される方向の説明図、第3図
は走査状況の説明図、第4図は16方向割出し要領
の説明図、第5図は16方向の説明図、第6図は図
形と格子点との関係の説明図、第7図は円図形抽
出、認識処理のフローチヤートである。
図面でMは円図形、Wは窓、F1〜F16は16方向、
+印は格子点を示す。
Figure 1 is an explanatory diagram showing examples of geometric figures, Figure 2 is an explanatory diagram showing examples of geometric figures.
The figure is an explanatory diagram of the direction recognized as the scanning window, Fig. 3 is an explanatory diagram of the scanning situation, Fig. 4 is an explanatory diagram of the 16-direction indexing procedure, Fig. 5 is an explanatory diagram of the 16-direction, and Fig. 6 is an explanatory diagram of the direction recognized as the scanning window. is an explanatory diagram of the relationship between figures and grid points, and FIG. 7 is a flowchart of circle figure extraction and recognition processing. In the drawing, M is a circular shape, W is a window, F 1 to F 16 are 16 directions,
+ marks indicate grid points.
Claims (1)
文字が存在する図面を変換装置により自動的に読
取つてメモリに格納し、その読出し出力から円形
状を有する線図形を抽出する円形状抽出処理方式
において、 中央のビツトは重みを0とされ、残りの周囲の
8ビツトにはそれぞれ異なる重み(≠0)が付与
される3×3ビツトの窓であつて、当該窓に現れ
るデータパターンにもとづいて得られる重み付き
加算結果が、水平、垂直、30゜及び45゜斜め方向を
含む16種の方向F1,F2,……F16別にそれぞれ異
なる固有値となるような窓を用意し、該3×3ビ
ツトの窓を用いて該メモリを走査し、該窓に現わ
れるデータパターンから水平、垂直、30゜及び45゜
斜め方向を含む16種の方向F1,F2,……F16別に
当該図形輪郭の方向を求め、該方向F1,F2,…
…F16の各出現頻度が各々所定範囲内に属してい
る条件のもとで円図形を抽出することを特徴とし
た円形状抽出処理方式。[Claims] 1. A drawing in which geometric figures and characters drawn along the lattice axis are automatically read by a converter and stored in a memory, and a line figure having a circular shape is obtained from the readout output. In the circular extraction processing method that extracts The weighted addition results obtained based on the data patterns appearing in the window are made to have different eigenvalues for each of the 16 directions F 1 , F 2 , ...F 16 including horizontal, vertical, 30° and 45° diagonal directions. A window of 3×3 bits is used to scan the memory, and 16 directions F 1 , F including horizontal, vertical, 30° and 45° diagonal directions are determined from the data pattern appearing in the window. 2 ,... F 16 The direction of the figure outline is determined separately, and the direction F 1 , F 2 ,...
...A circular shape extraction processing method characterized by extracting circular shapes under the condition that each frequency of appearance of F16 is within a predetermined range.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56212936A JPS58114180A (en) | 1981-12-26 | 1981-12-26 | Circular shape extracting and recognizing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56212936A JPS58114180A (en) | 1981-12-26 | 1981-12-26 | Circular shape extracting and recognizing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58114180A JPS58114180A (en) | 1983-07-07 |
| JPH048832B2 true JPH048832B2 (en) | 1992-02-18 |
Family
ID=16630741
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56212936A Granted JPS58114180A (en) | 1981-12-26 | 1981-12-26 | Circular shape extracting and recognizing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58114180A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6290770A (en) * | 1985-10-16 | 1987-04-25 | Fujitsu Ltd | Logical inversion symbol extracting method |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5814709B2 (en) * | 1978-06-14 | 1983-03-22 | 富士通株式会社 | Shape recognition method for closed shapes |
| JPS6047637B2 (en) * | 1979-12-04 | 1985-10-22 | 富士通株式会社 | Shape recognition processing device |
-
1981
- 1981-12-26 JP JP56212936A patent/JPS58114180A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58114180A (en) | 1983-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1456811B1 (en) | Reconstruction of virtual raster | |
| US9158986B2 (en) | Character segmentation device and character segmentation method | |
| EP0483343A1 (en) | A polygon-based method for automatic extraction of selected text in a digitized document | |
| US7123768B2 (en) | Apparatus and method for detecting a pattern | |
| JP2002133426A (en) | Ruled line extraction device for extracting ruled lines from multi-valued images | |
| CN118133858A (en) | A DM code positioning and recognition method based on deep learning and pixel-level detection | |
| JPH048832B2 (en) | ||
| JPH0548510B2 (en) | ||
| JPS5814709B2 (en) | Shape recognition method for closed shapes | |
| JPS58165178A (en) | Character reader | |
| JP2789622B2 (en) | Character / graphic area determination device | |
| JP2976426B2 (en) | Character recognition device | |
| JP3835098B2 (en) | Specific pattern detection apparatus and method | |
| JP3191870B2 (en) | Parenthesis detection method and postal code detection method | |
| JPS5850078A (en) | Character recognizing device | |
| JPS62134767A (en) | Automatic extracting device for symbol name and segment name | |
| JPH0310986B2 (en) | ||
| CN118941621A (en) | A method, system, device and medium for identifying perforated cardboard | |
| JP2571826B2 (en) | String pattern extraction device | |
| JP2507949B2 (en) | Character / graphic area determination device | |
| JPH07109612B2 (en) | Image processing method | |
| JPH0324709B2 (en) | ||
| JP2022124803A (en) | Information processing device and information processing program | |
| JPS6322350B2 (en) | ||
| JPS6120036B2 (en) |