Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0373911B2 - - Google Patents
[go: Go Back, main page]

JPH0373911B2 - - Google Patents

Info

Publication number
JPH0373911B2
JPH0373911B2 JP57028326A JP2832682A JPH0373911B2 JP H0373911 B2 JPH0373911 B2 JP H0373911B2 JP 57028326 A JP57028326 A JP 57028326A JP 2832682 A JP2832682 A JP 2832682A JP H0373911 B2 JPH0373911 B2 JP H0373911B2
Authority
JP
Japan
Prior art keywords
storage unit
tracking
image storage
tracing
point
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
Application number
JP57028326A
Other languages
Japanese (ja)
Other versions
JPS58144983A (en
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 filed Critical
Priority to JP57028326A priority Critical patent/JPS58144983A/en
Publication of JPS58144983A publication Critical patent/JPS58144983A/en
Publication of JPH0373911B2 publication Critical patent/JPH0373911B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は、ブロツク検出装置、特に、図面、例
えば電気回路のブロツク図あるいはコンピユータ
用プログラムのフローチヤートに記録されたブロ
ツクを自動的に検出するためのブロツク検出装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a block detection device, and more particularly to a block detection device for automatically detecting blocks recorded in drawings, such as block diagrams of electrical circuits or flowcharts of computer programs.

一般に、図面は図形とその背景部分より構成さ
れ、図形は本質的に回路要素や機能等を意味する
ブロツクとそれらを関係づける接続線により構成
される。
In general, a drawing consists of a figure and its background, and the figure essentially consists of blocks representing circuit elements, functions, etc., and connecting lines that relate them.

したがつて、こうした図面を読み取つてデイジ
タル的に処理して記憶させるためにはブロツクの
存在とその位置を知ることが重要である。
Therefore, in order to read, digitally process, and store such drawings, it is important to know the existence of blocks and their positions.

このようなブロツクを示す図形としては一般に
縦横の線分の他に任意の傾きを持つた斜めの線分
や円弧等が用いられるが、本発明の扱うブロツク
は縦・横の線分および45゜の傾きを持つた斜めの
線分によつて構成される閉ループ・すなわち閉じ
た図形に限定する。なお、このようなブロツク検
出装置で処理する図面においては、ブロツク以外
の図形も全て、縦・横および45゜の線分で構成さ
れていることを必要とする。
In addition to vertical and horizontal line segments, diagonal line segments and circular arcs with arbitrary inclinations are generally used as figures representing such blocks, but the blocks handled by the present invention are vertical and horizontal line segments and 45° It is limited to closed loops or closed figures composed of diagonal line segments with a slope of . Note that in drawings processed by such a block detection device, all figures other than blocks must be composed of vertical, horizontal, and 45° line segments.

このとき、図面の中に表示されたブロツクは閉
ループであることは必要条件であつて、閉ループ
が必ずしもブロツクであるとは限らず、したがつ
て検出された閉ループがブロツクであるか否かの
判定が必要となる。
At this time, it is a necessary condition that the block displayed in the drawing is a closed loop, but a closed loop is not necessarily a block, so it is difficult to judge whether the detected closed loop is a block or not. Is required.

従来では、このようなブロツク図、フローチヤ
ートなどの図面を入力するためにはデイジタイザ
等の手段によつて完全に人手にたよつて入力する
ことが多く、このような図面を自動入力するため
の実用的かつ有効なブロツク検出装置が提供され
ていなかつた。
Conventionally, in order to input drawings such as block diagrams and flowcharts, it was often necessary to completely rely on manual input using means such as a digitizer. A comprehensive and effective block detection device has not been provided.

本発明の目的は、このような図面の入力処理を
自動化するために必要な、ブロツク検出装置を提
供し、ひいてはそれを具体化した自動入力装置を
提供しようとするものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a block detection device necessary for automating such drawing input processing, and further to provide an automatic input device embodying the block detection device.

本発明のブロツク検出装置は、ブロツク図ある
いはフローチヤート図中の矩形領域内に2次元配
列状に配列された観測点群における濃淡レベルを
光電変換しその信号を2値に量子化した値を保持
する画像記憶部と、前記画像記憶部に保持された
図形情報を細線化する細線化手段と、前記画像記
憶部中の図形情報が同一量子化値で連結している
か否かを記憶する連結記憶部と、前記画像記憶部
中の細線化された図形情報を追跡する追跡手段
と、前記図形情報を追跡する際に検出された分岐
点において追跡を何れの岐路に進めるかを判断す
る判断手段と、その分岐点において図形線の追跡
処理を継続させるか否かを制御する制御手段と、
追跡処理中の点が追跡開始点と一致するか否かを
判定する判定手段とを含んで構成される。
The block detection device of the present invention photoelectrically converts the gray level at a group of observation points arranged in a two-dimensional array within a rectangular area in a block diagram or flowchart diagram, and holds a value obtained by quantizing the signal into binary values. an image storage unit that thins the graphic information held in the image storage unit, a line thinning unit that thins the graphic information held in the image storage unit, and a connection memory that stores whether or not the graphic information in the image storage unit is connected with the same quantization value. a tracing means for tracing the thinned graphic information in the image storage section; and a determining means for determining which fork in the road the tracing should proceed at a branch point detected when tracing the graphic information. , a control means for controlling whether or not to continue tracing the graphic line at the branch point;
and determining means for determining whether or not the point being tracked coincides with the tracking start point.

次に本発明の実施例について、図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示すブロツク図
である。
FIG. 1 is a block diagram showing one embodiment of the present invention.

第2図は第1図に示す実施例で処理される図面
の一例を示す平面図で、模擬的な論理電気回路図
の一部を示している。
FIG. 2 is a plan view showing an example of a drawing processed by the embodiment shown in FIG. 1, and shows a part of a simulated logic electrical circuit diagram.

論理電気回路図の中で最外縁が矩形201で示
される観測点群配列領域の中に、3つのブロツク
202,203,204があり、それぞれがたと
えば、ゲート、インバータ、フリツプフロツプ等
の回路要素を示している。接続線205は回路要
素間の接続関係を表す接続線である。
There are three blocks 202, 203, and 204 in the observation point group array area whose outermost edge is indicated by a rectangle 201 in the logic electrical circuit diagram, and each block represents a circuit element such as a gate, an inverter, a flip-flop, etc. ing. Connection line 205 is a connection line that represents the connection relationship between circuit elements.

ここで、全てのブロツク202,203,20
4は縦・横および45゜の線分による閉ループであ
るが、その他にも閉ループ206,207が存在
する。しかし、これらはブロツクではなく、単な
る接続線205の交差によつて形成された閉ルー
プにすぎない。
Here, all blocks 202, 203, 20
4 is a closed loop formed by vertical, horizontal and 45° line segments, but there are other closed loops 206 and 207 as well. However, these are not blocks, but merely closed loops formed by the intersections of connecting lines 205.

したがつて、ブロツクの存在と位置を検出する
ためには、真のブロツクとそれ以外の単なる閉ル
ープ、すなわち、ブロツク以外の閉ループとを区
別する手段が必要となる。
Therefore, in order to detect the existence and position of a block, a means is required to distinguish between a true block and other mere closed loops, that is, closed loops other than blocks.

第1図によつて本発明の一実施例による処理の
大きな流れを説明する。
The general flow of processing according to an embodiment of the present invention will be explained with reference to FIG.

画像記憶部107の各ビツトには光電変換され
白と黒に2値化された図面上の各観測点群が保持
されている。各観測点は例えば、黒が“1”、白
が“0”のビツトとして記憶され、“1”が図形
情報、つまり、鉛筆等が記された部分を“0”が
図面の背景部分を代表している。
Each bit of the image storage unit 107 stores a group of observation points on the drawing that have been photoelectrically converted and binarized into white and black. Each observation point is stored as a bit, for example, where black is "1" and white is "0", where "1" represents the graphic information, that is, the part where a pencil etc. is marked, and "0" represents the background part of the drawing. are doing.

この段階では、図形を構成する線分は鉛筆やシ
ヤープペンシルの芯の太さ等に起因して不定の幅
を持つているので、細線化回路101によつて画
像記憶部107中の図形情報を1ビツトを超える
幅を持たない図形情報に変換する。細線化回路1
01は一般に知られている何れの方式のものでも
かまわない。
At this stage, the line segments composing the figure have an undefined width due to the thickness of the lead of the pencil or sharp pencil, so the line thinning circuit 101 extracts the figure information in the image storage unit 107. Convert to graphical information with a width of no more than 1 bit. Thinning circuit 1
01 may be of any generally known type.

次に、閉ループ検出回路102により、画像記
憶部107のビツトと1対1に対応するビツトを
持つ連結記憶部106をまず始めに全て“0”に
リセツトし、図面201の最外線に対応する連結
記憶部106のビツトを“1”にし、画像記憶部
107上で“1”となつているビツトを障害物と
して、連結記憶部106上で“1”となつている
ビツトを4近傍(上下左右方向に直に接するビツ
ト)に伝播させる。この結果、画像記憶部107
中で、“1”の立つたビツトによつて形成される
閉ループの外側は連結記憶部106上では全てビ
ツトに“1”が立ち、閉ループの内側は“0”の
まま残る。このことによつて図面201上の閉ル
ープの位置を知ることができる。閉ループ検出回
路102は特許出願番号56−090246(「閉図形検出
方法」)の回路を使用することができる。特許出
願番号56−090246の方法では閉ループの内部に存
在する閉ループを検出することができないので、
閉ループの内側についても同様の処理を行う必要
が有り、連結記憶部106に“1”を立てられな
くなるまで繰り返す。
Next, the closed-loop detection circuit 102 first resets all the connection storage sections 106, which have bits in one-to-one correspondence with the bits of the image storage section 107, to "0", and then resets the connection storage section 106 corresponding to the outermost line in the drawing 201. The bit in the storage unit 106 is set to “1”, and the bit that is “1” on the image storage unit 107 is set as an obstacle. bits directly adjacent to the direction). As a result, the image storage unit 107
Among them, all the bits outside the closed loop formed by the bits set to "1" are set to "1" on the connected storage unit 106, and the bits inside the closed loop remain as "0". This allows the position of the closed loop on the drawing 201 to be known. The closed loop detection circuit 102 can use the circuit of Patent Application No. 56-090246 ("Closed Figure Detection Method"). Since the method of patent application number 56-090246 cannot detect a closed loop that exists inside a closed loop,
It is necessary to perform similar processing for the inside of the closed loop, and it is repeated until "1" can no longer be set in the connected storage unit 106.

本発明では次に検出された各々の閉ループに関
して該閉ループがブロツクであるか否かを判定す
るために、トレース回路104により画像記憶部
107中で、“1”の立つたビツトによつて形成
される閉ループの追跡を行う。この際、追跡する
方向を右廻りあるいは左廻りのいずれかに規定
し、追跡の途中で分岐点に遭遇した場合に右廻り
ならば一番右側に、左廻りならば一番左側に追跡
方向が変化する岐路を選択して追跡を続行するこ
とによつて間違いなく閉ループを最短距離にて追
跡することができる。
In the present invention, in order to determine whether or not each detected closed loop is a block, the trace circuit 104 generates a bit set to "1" in the image storage unit 107. Perform closed-loop tracking. At this time, the tracking direction is specified as either clockwise or counterclockwise, and if a branch point is encountered during tracking, the tracking direction will be set to the far right if the track is clockwise, or to the left if the track is counterclockwise. By selecting a changing crossroad and continuing tracking, it is possible to definitely track a closed loop over the shortest distance.

トレース終点判定回路105はトレース回路1
04の動作を監視して追跡が始点と同じ座標に達
したことを以つて1回の閉ループの追跡が終了し
たと判断するための回路である。特異点検出回路
103はトレース回路104と協調して働き、分
岐点と屈析点を検出し、トレース回路104の動
作を決定する役割を持つ。
Trace end point determination circuit 105 is trace circuit 1
This circuit monitors the operation of 04 and determines that one closed-loop tracking is completed when the tracking reaches the same coordinates as the starting point. The singular point detection circuit 103 works in cooperation with the trace circuit 104 and has the role of detecting branch points and break points and determining the operation of the trace circuit 104.

第3図は、第1図に示す実施例で処理される図
面の他の例を示す平面図で、第2図とは別の模擬
的な論理回路図の一部である。これが、画像記憶
部107に細線化された状態で保持されていると
する。第3図によつてトレース回路104の働き
をさらに説明する。
FIG. 3 is a plan view showing another example of the drawing processed by the embodiment shown in FIG. 1, and is a part of a simulated logic circuit diagram different from that shown in FIG. 2. Assume that this is held in the image storage unit 107 in a thinned state. The function of the trace circuit 104 will be further explained with reference to FIG.

第3図において、閉ループ301は図面300
中のブロツクの1つである。追跡始点302より
時計廻りに追跡を開始すると、追跡始点302に
再度到達して1回の追跡を終了するまでに分岐点
303,304,305および屈折点306〜3
09に遭遇する。分岐点303〜305および屈
折点306〜309は追跡の際の特異点とされ、
特異点検出回路103によつて検出される。
In FIG. 3, the closed loop 301 is
This is one of the blocks inside. When tracking starts clockwise from the tracking start point 302, the branching points 303, 304, 305 and refraction points 306 to 3 are reached by the time the tracking start point 302 is reached again and one tracking is completed.
Encounter 09. The branch points 303 to 305 and the refraction points 306 to 309 are considered as singular points during tracking,
It is detected by the singular point detection circuit 103.

もし、追跡中に4分岐点310に遭遇した場合
には、追跡中の閉ループ311は単なる閉ループ
でありブロツクではないことが判断される。
If a four-branch point 310 is encountered during tracking, it is determined that the closed loop 311 being tracked is just a closed loop and not a block.

閉ループ301の追跡処理においては分岐点3
04,305は3分岐点であり、一番右側に方向
変化する岐路は結果として、それまでの追跡方向
と同じであり追跡方向は変化しない。分岐点30
3も3分岐点であるが、一番右側に方向変化する
岐路を取ると、それまでの追跡方向に対して、
45゜だけ右向きに追跡方向が変化する。
In the closed loop tracking process 301, branch point 3
04 and 305 are three branching points, and the branching point where the direction changes to the rightmost side results in the same tracking direction as the previous tracking direction, and the tracking direction does not change. Branching point 30
3 is also a 3-way junction, but if you take the junction where the direction changes to the far right, the tracking direction up to that point will change.
The tracking direction changes to the right by 45 degrees.

これに対して、ブロツクでない閉ループ312
を追跡する場合の分岐点305,304,313
は3分岐点であるが、一番右側に追跡方向が変化
する岐路を取ると、それまでの追跡方向に対して
90゜右方向に追跡方向が変化する。
On the other hand, the non-block closed loop 312
Branching points 305, 304, 313 when tracing
is a three-way junction, but if you take the fork in which the tracking direction changes to the far right, the tracking direction changes to the far right.
The tracking direction changes 90 degrees to the right.

このように3分岐点において追跡方向が90゜以
上変化する場合も追跡中の閉ループはブロツクで
ないと判定できる。
In this way, even if the tracking direction changes by 90 degrees or more at the three branch points, it can be determined that the closed loop being tracked is not a block.

閉ループ301のように、4分岐点にも90゜以
上追跡方向が変化する3分岐点にも遭わずに追跡
を終了した閉ループはブロツクとして検出するこ
とができる。
A closed loop, such as closed loop 301, in which tracking is completed without encountering any four branch points or three branch points where the tracking direction changes by more than 90 degrees can be detected as a block.

特異点検出回路103は屈折点を検出する部分
と分岐点を検出する部分とから成つている。第4
図は特異点検出回路103に含まれる屈折点検出
部の一例を示すブロツク図で、この回路によつて
屈折点の検出と、屈折点や分岐点における追岐方
向の変化量を知ることができる。
The singular point detection circuit 103 consists of a part for detecting a refraction point and a part for detecting a branch point. Fourth
The figure is a block diagram showing an example of a refraction point detection section included in the singular point detection circuit 103. This circuit can detect refraction points and determine the amount of change in the following direction at refraction points and branch points. .

入力406a,406bには現在の追跡x座標
値とy座標値がデイジタル値で加えられる。引算
器402a,402bの入力には追跡座標値40
6a,406bとシフトレジスタ401a,40
1bによつて遅延させられた何ステツプか前の追
跡座標値407a,407bとが与えられ、その
差408a,408bは追跡の方向をx,yのベ
クトルで表している。
The current tracking x and y coordinate values are applied as digital values to inputs 406a and 406b. The tracking coordinate value 40 is input to the subtracters 402a and 402b.
6a, 406b and shift registers 401a, 40
Tracking coordinate values 407a and 407b several steps earlier delayed by 1b are given, and the difference 408a and 408b represents the direction of tracking as an x, y vector.

シフトレジスタ401a,401bの段数は図
面の記号の大きさや鉛筆やシヤープペンシシルの
芯の太さに応じて決められるが、一般的な図面で
0.5mmのシヤープペンシルによつて書かれたもの
を0.1mm間隔の観測点群によつて読みとる場合に
は、7段程度が適当である。
The number of stages of the shift registers 401a and 401b is determined depending on the size of the symbol on the drawing and the thickness of the lead of the pencil or sharp pencil, but in general drawings
When reading something written with a 0.5 mm sharp pencil using a group of observation points spaced at 0.1 mm intervals, about 7 lines is appropriate.

方向量子化ROM403はx,yのベクトルを
8方向に量子化して数字“0”〜“7”で追跡の
方向を代表させ量子化連結方向409として出力
する。量子化追跡方向409は1段のシフトレジ
スタ404で1ステツプ遅延させられた遅延追跡
方向410とともに“8”を法とする引算器40
5に加えられる。方向が変化しない場合には、追
跡方向変化量411は常に“0”であるが、方向
に変化があれば、追跡方向変化量411にその変
化の方向と大きさが現れ、屈折点の検出と分岐点
や屈折点における追跡方向の変化の向きや変化量
を知ることができる。
The direction quantization ROM 403 quantizes the x and y vectors in eight directions, and outputs the numbers "0" to "7" representing the tracking direction as a quantized concatenation direction 409. The quantization tracking direction 409 is delayed by one step in the one-stage shift register 404 together with the delay tracking direction 410 and the subtracter 40 modulo "8".
Added to 5. When the direction does not change, the amount of change in tracking direction 411 is always “0”, but if there is a change in the direction, the direction and magnitude of the change appear in the amount of change in tracking direction 411, which is used to detect the refraction point. It is possible to know the direction and amount of change in the tracking direction at branching points and bending points.

第4図に示す方向量子化ROM403は入力値
として与えられる追跡方向ベクトル△x,△y
(第4図の408a,408b)の値に応じたア
ドレスに第5図のような“0”〜“7”の値を書
き込んだROM(読出し専用メモリ)である。
The direction quantization ROM 403 shown in FIG. 4 uses tracking direction vectors Δx, Δy given as input values.
This is a ROM (read-only memory) in which values of "0" to "7" as shown in FIG. 5 are written in addresses corresponding to the values (408a, 408b in FIG. 4).

第5図に示した方向量子化ROM403の書き
込み例は説明の簡単化のために−3≦△x≦3、
−3≦△y≦3に限つて書いてあるが、実用上
は、シフトレジスタ401a,401bの段数を
n段とした場合に、−n≦△x≦n、−n△y≦n
のアドレス範囲のROMが必要である。第5図に
おいて、ます目中の数字“0”〜“7”が量子化
方向を第6図の矢印の示す方向に代表し、第4図
に示す量子化追跡方向409として出力される数
値である。第5図中の中心点のXの記号は、実際
にはアドレスされることはないので何が書いてあ
つてもかまわないことを示している。このような
方向量子化の手段をとることによつて、図面の筆
記誤差等による微小なうねりを無視して真の屈折
点を検出することができる。
In the example of writing in the direction quantization ROM 403 shown in FIG. 5, −3≦△x≦3,
Although it is written that -3≦△y≦3, in practice, when the number of stages of the shift registers 401a and 401b is n, -n≦△x≦n, -n△y≦n
ROM with address range is required. In Figure 5, the numbers "0" to "7" in the squares represent the quantization direction in the direction indicated by the arrow in Figure 6, and are the numerical values output as the quantization tracking direction 409 shown in Figure 4. be. The X symbol at the center point in FIG. 5 indicates that it does not matter what is written because it is never actually addressed. By employing such directional quantization means, the true refraction point can be detected while ignoring minute waviness due to writing errors in drawings.

第7図は第1図に示す特異点検出回路に含まれ
る分岐点検出部の一例を示すブロツク図で、第7
図に示すマスク回路701は単なるROMであり
入力としては第8図に示すような、現在の追跡点
の画素aとその周辺の画素b0〜b7が与えられ、第
9図に例を示す4分岐点や第10図に例を示す3
分岐点が入力に与えられた時だけ“1”を出力す
るようにROMの内容を決めておく。
FIG. 7 is a block diagram showing an example of a branch point detection section included in the singular point detection circuit shown in FIG.
The mask circuit 701 shown in the figure is simply a ROM, and as input, the pixel a of the current tracking point and the surrounding pixels b 0 to b 7 as shown in FIG. 8 are given, and an example is shown in FIG. 9. 3. Examples are shown in 4 branching points and Figure 10.
The contents of the ROM are determined so that "1" is output only when a branch point is given to the input.

このことにより第7図において、追跡中の座標
点が、3分岐点、4分岐点の場合だけ出力を励起
する回路が得られる。
As a result, in FIG. 7, a circuit is obtained that excites the output only when the coordinate point being tracked is a 3-branch point or a 4-branch point.

本発明により、従来、実用的な装置が提供され
ていなかつた図面自動読取りのうちの縦・横およ
び45゜の線分よりなる閉ループのブロツクの存在
とその位置を検出するブロツク検出装置を実現す
ることが可能となつた。
The present invention realizes a block detection device that detects the presence and position of closed-loop blocks made up of vertical, horizontal, and 45° line segments in automatic drawing reading, for which no practical device has hitherto been provided. It became possible.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は第1図に示す実施例で処理される図面の
模擬的な論理回路の一例を示す平面図、第3図は
第1図に示す実施例で処理される図面の他の例を
示す平面図、第4図は第1図に示す特異点検出回
路に含まれる屈折点検出部の一例を示すブロツク
図、第5図は第4図に示す方向量子化ROMにお
ける書込状態図、第6図は方向量子化ROMに書
き込まれる量子化された方向の一例を示す方向説
明図、第7図は第1図に示す特異点検出回路に含
まれる分岐点検出部の一例を示すブロツク図、第
8図は第7図に示すマスク回路への入力画素の入
力関係図、第9図は第8図に示すマスク回路にお
ける4分岐点の一例を示す記憶状態図、第10図
は第8図に示すマスク回路における3分岐点の一
例を示す記憶状態図である。 101……細線化回路、102……閉ループ検
出回路、103……特異点検出回路、104……
トレース回路、105……トレース終点判定回
路、106……連結記憶部、107……画像記憶
部、201,300……図面、202,203,
204……ブロツク、205……接続線、20
6,207……閉ループ、301……ブロツク、
302……追跡始点、303,304,305,
310,313……分岐点、306,307,3
08,309……屈折点、311,312……閉
ループ、401a,401b……シフトレジス
タ、402a,402b……引算器、403……
方向量子化ROM、404……1段のシフトレジ
スタ、405……引算器、406a……現在の追
跡座標値x、406b……現在の追跡座標値y、
407a……過去の追跡座標値x、407b……
過去の追跡座標値y、408a……追跡方向ベク
トルのx成分、409b……追跡方向ベクトルの
y成分、409……量子化追跡方向、410……
遅延追跡方向、411……追跡方向変化量、70
1……マスク回路。
FIG. 1 is a block diagram showing one embodiment of the present invention;
2 is a plan view showing an example of a simulated logic circuit of a drawing processed by the embodiment shown in FIG. 1, and FIG. 3 is a plan view showing another example of a drawing processed by the embodiment shown in FIG. 1. 4 is a block diagram showing an example of the refraction point detection section included in the singular point detection circuit shown in FIG. 1; FIG. 5 is a write state diagram in the direction quantization ROM shown in FIG. 4; FIG. 6 is a direction explanatory diagram showing an example of a quantized direction written in the direction quantization ROM, and FIG. 7 is a block diagram showing an example of a branch point detection section included in the singularity detection circuit shown in FIG. 1. , FIG. 8 is an input relationship diagram of input pixels to the mask circuit shown in FIG. 7, FIG. 9 is a memory state diagram showing an example of four branch points in the mask circuit shown in FIG. 8, and FIG. FIG. 3 is a memory state diagram showing an example of three branch points in the mask circuit shown in the figure. 101... Thinning circuit, 102... Closed loop detection circuit, 103... Singularity detection circuit, 104...
Trace circuit, 105... Trace end point determination circuit, 106... Connection storage section, 107... Image storage section, 201, 300... Drawing, 202, 203,
204...Block, 205...Connection line, 20
6,207...Closed loop, 301...Block,
302...Tracking starting point, 303, 304, 305,
310,313... Branching point, 306,307,3
08,309...Inflection point, 311,312...Closed loop, 401a, 401b...Shift register, 402a, 402b...Subtractor, 403...
Direction quantization ROM, 404...1-stage shift register, 405...subtractor, 406a...current tracking coordinate value x, 406b...current tracking coordinate value y,
407a... Past tracking coordinate value x, 407b...
Past tracking coordinate value y, 408a...x component of tracking direction vector, 409b...y component of tracking direction vector, 409...quantized tracking direction, 410...
Delay tracking direction, 411... Tracking direction change amount, 70
1...Mask circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 ブロツク図あるいはフローチヤート図中の矩
形領域内に2次元配列状に配列された観測点群に
おける濃淡レベルを光電変換しその信号を2値に
量子化した値を保持する画像記憶部と、前記画像
記憶部に保持された図形情報を細線化する細線化
手段と、前記画像記憶部中の図形情報が同一量子
化値で連結しているか否かを記憶する連結記憶部
と、前記画像記憶部中の細線化された図形情報を
追跡する追跡手段と、前記図形情報を追跡する際
に検出された分岐点において追跡を何れの岐路に
進めるかを判断する判断手段と、その分岐点にお
いて図形線の追跡処理を継続させるか否かを制御
する制御手段と、追跡処理中の点が追跡開始点と
一致するか否かを判定する判定手段とを含むこと
を特徴とするブロツク検出装置。
1. An image storage unit that photoelectrically converts the gray level at a group of observation points arranged in a two-dimensional array in a rectangular area in a block diagram or a flowchart diagram, and stores a value obtained by quantizing the signal into binary values; A thinning means for thinning the graphic information held in the image storage unit, a linking storage unit for storing whether or not the graphic information in the image storage unit is connected with the same quantization value, and the image storage unit a tracing means for tracing the thinned graphic information in the middle; a determining means for determining which fork in the crossroads the tracing should proceed at a branch point detected when tracing the graphic information; What is claimed is: 1. A block detection device comprising: a control means for controlling whether or not to continue tracking processing; and a determining means for determining whether a point during tracking processing coincides with a tracking start point.
JP57028326A 1982-02-24 1982-02-24 Block detector Granted JPS58144983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57028326A JPS58144983A (en) 1982-02-24 1982-02-24 Block detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57028326A JPS58144983A (en) 1982-02-24 1982-02-24 Block detector

Publications (2)

Publication Number Publication Date
JPS58144983A JPS58144983A (en) 1983-08-29
JPH0373911B2 true JPH0373911B2 (en) 1991-11-25

Family

ID=12245484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57028326A Granted JPS58144983A (en) 1982-02-24 1982-02-24 Block detector

Country Status (1)

Country Link
JP (1) JPS58144983A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61278984A (en) * 1985-06-04 1986-12-09 Toshiba Corp Electric circuit diagram reader

Also Published As

Publication number Publication date
JPS58144983A (en) 1983-08-29

Similar Documents

Publication Publication Date Title
US3999161A (en) Method and device for the recognition of characters, preferably of figures
JPH0558310B2 (en)
JP2828645B2 (en) Mark area judgment device
JPS5839345B2 (en) Arithmetic mask device
JPH0373911B2 (en)
JP3919505B2 (en) Pattern inspection apparatus and method
JPS619776A (en) Picture image processor
JPS58144984A (en) Block detection method
JP2993007B2 (en) Image area identification device
JPH04255080A (en) image input device
JPS603073A (en) Pattern extraction method
JPH0355867B2 (en)
JPH0332723B2 (en)
JPH02268372A (en) Mark detecting method
JPS6252911B2 (en)
JP2651186B2 (en) Notch corner position detection device
JPS6379183A (en) Graphic recognizing device
JPH0535872A (en) Contour tracing system for binary image
JP2967591B2 (en) How to divide compound figures
JPS5876977A (en) Line drawing detecting method
JPH0687264B2 (en) Image binarization method
JPS6113257B2 (en)
JPH0316667B2 (en)
JPH09185718A (en) Automatic pattern defect inspection system
JPS58146977A (en) Device for recognizing pattern