JPS5846476A - Detecting circuit for black area peak - Google Patents

Detecting circuit for black area peak

Info

Publication number
JPS5846476A
JPS5846476A JP56143265A JP14326581A JPS5846476A JP S5846476 A JPS5846476 A JP S5846476A JP 56143265 A JP56143265 A JP 56143265A JP 14326581 A JP14326581 A JP 14326581A JP S5846476 A JPS5846476 A JP S5846476A
Authority
JP
Japan
Prior art keywords
circuit
black area
line
scanning
signal 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
JP56143265A
Other languages
Japanese (ja)
Inventor
Tomoki Shiyudo
首藤 友喜
Hirokatsu Terajima
寺嶋 広克
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56143265A priority Critical patent/JPS5846476A/en
Publication of JPS5846476A publication Critical patent/JPS5846476A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To prevent an unncessary part from being detected as a peak according to unnevenness by eliminating the trouble that plural peaks are detected as to one horizontal segment when detecting the black area peak from a binary pattern. CONSTITUTION:A drum scanner 2 is controlled by an information processor 1 through a signal line 100 to scan drawing to be read which is stuck to a drum, thereby sending multilevel data on its thickness value to a preprocessing circuit 3 through a signal line 200. The preprocessing circuit 3 is controlled by the information processor 1 through the signal line 100 as well to code said multilevel data into a binary signal by using a threshold value supplied previously from the information processor 1 and stores the binary signal in a binary pattern storage circuit 4 through a signal line 300; after one drawing is stored, a detection start signal is sent to a black area peak detecting circuit 5 through a signal line 400.

Description

【発明の詳細な説明】 この発明は、図形や記号等が記載された図面の認識装置
に曲し、特にスキャナなどで図面を走査して得た2値パ
ターン中から図形や記号を分離認識するための黒領域頂
点検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION This invention is a device for recognizing drawings in which figures, symbols, etc. are described, and in particular, separates and recognizes figures and symbols from a binary pattern obtained by scanning a drawing with a scanner or the like. The present invention relates to a black area vertex detection circuit for use in black area apex detection circuits.

図形や記号を#[算機に入力する方法としては、コンピ
ュータグラフィックスを応用した会話型グラフィックス
システムなどにおいてタブレット。
Figures and symbols can be entered into a calculator using a tablet in conversational graphics systems that apply computer graphics.

ディジタイザなどの座標入力装置を利用して図形の外形
などを点列で入力していく方式が一般的である・この方
法は、会話型に作業を進める事ができるため、容易に入
力図形の作成・編集ができる。
A common method is to input the outline of a figure as a sequence of points using a coordinate input device such as a digitizer. - This method allows you to proceed with the work in an interactive manner, making it easy to create input figures.・Able to edit.

自由に考えながら図形を入力することができるなどの利
点がある反面、地図1回路図表どの複雑な図面の入力、
大量の図面の入力には効率上適してbない。
Although there are advantages such as being able to input shapes while thinking freely, it is difficult to input complex drawings such as map 1 circuit diagrams.
It is not efficient for inputting a large number of drawings.

とのた″め、このような用途に対しては、最近のスキャ
ナ技術9画鐵処理技術、認識処理技術の進歩に伴なって
図面をスキャナ等で走査して得た多値パターンや2値パ
ターンから所望の図形や記号を認識する方法の研究開発
が進められ実用化されはじめてbる。
Therefore, for such applications, with the recent advances in scanner technology, image processing technology, and recognition processing technology, multivalued patterns and binary patterns obtained by scanning drawings with scanners, etc. Research and development into methods for recognizing desired figures and symbols from patterns has progressed and is now being put into practical use.

一般に利用される図面にお−ては、例えば地図や回路図
などのように1図形、記号8文字などの如く物理的な寸
法のみならず認識方法が異彦るものが混在しておシ以下
の認識処理を効率よく行うためにも認識処理の前にこれ
らの異質のものを分離しておく必要がある。
Generally used drawings, such as maps and circuit diagrams, contain a mixture of figures that differ not only in physical dimensions but also in different recognition methods, such as one figure and eight characters. In order to perform the recognition process efficiently, it is necessary to separate these different things before the recognition process.

従来、このように図形や記号が混在する場合には、列え
ば、図形の右側に記号を書くといったように図形と記号
の相対関係を規定したり1図形は自由に書けるが記号は
決められた位[にしか書けないなどの制限をつけること
により図形と記号の分離を容易に行えるように図面作成
の仕様において配慮されていた。
Traditionally, when figures and symbols were mixed like this, the relative relationship between figures and symbols was defined, such as arranging them and writing the symbol on the right side of the figure, or one figure could be written freely, but the symbol was fixed. The specifications for creating drawings were designed to make it easier to separate figures and symbols by imposing restrictions such as only being able to write in digits.

このような制限を設けることは図面を作成する立場から
見ると融通性がなく、従って実用的には限定された利用
法しかできなりとbう問題があるため、これに対処する
ために制限なく自由ic書;6bれた図形や記号の分離
が試みられて匹る・制限なく自由VC書かれた図面の2
値)くターンから適当な図形に対応する黒領域を分離す
るために2値パターン上を走査し黒領域を検出すること
が必要となるか、従来はlラインずつラスタ走査を行う
ことにより黒領域頂点を判定していたため、的えば、水
平線分の如くラスク方向に長い線分については2値パタ
ーンでの凹凸がその1ま黒領域頂点として判定され、従
っていくつもの頂点が検出される。全画面を1ナインず
つ順次ラスク走食しなければならないため走査時I川が
かかる、などの欠点があった。
Setting such restrictions is inflexible from the perspective of drawing creators, and therefore can only be used in a limited number of practical ways. Free IC book; 2 of drawings written in free VC without any restrictions, where attempts are made to separate 6b figures and symbols.
In order to separate black areas corresponding to appropriate figures from multiple turns, it is necessary to scan the binary pattern and detect the black areas. Since vertices are being determined, for example, for line segments that are long in the rask direction, such as horizontal line segments, unevenness in a binary pattern is determined as the apex of the completely black area, and therefore, a number of vertices are detected. Since the entire screen must be sequentially scanned one nine at a time, there is a drawback that an I river is required during scanning.

この発明は前記事情を考慮してなされたものでこの発明
の目的は、図面を走査して得た2値ノ(ターンから黒領
域頂点を検出する際、1つの水平線分についていくつも
の頂点が検出されるという不都合を除去する黒領域頂点
検出回路を提供することにある。
This invention was made in consideration of the above-mentioned circumstances, and the purpose of this invention is to detect a number of vertices for one horizontal line segment when detecting the vertices of a black area from a binary value obtained by scanning a drawing. An object of the present invention is to provide a black area apex detection circuit that eliminates the inconvenience of black area apex detection.

この発明の他の目的は、前記2値パターンの走査をよシ
高速に行う黒領域頂点検出回路を提供することにある。
Another object of the present invention is to provide a black area apex detection circuit that scans the binary pattern at a higher speed.

本発明によれば、図面などを走査して得た2値パターン
から図形や記号を分離するため[2値パターン中での該
図形や記号に対応する黒領域頂点を検出する回路におい
て、前記2値パタ一ン全体に渡りて連続するNライン単
位で後記ライン取出情報を元に該2値パターンを走査し
取出さす走査回路と、前記取出されたNラインの2値パ
ターンを一時記憶するN個のラインメモリと、前記N個
のラインメモリのラスク方向の各点におけるN個の値を
もって構成されるタイプパターンを順次発生するタイプ
発生回路と、前記タイプ発生回路で発生されるライン中
でのタイプパターンの発生系列を調べることによ〕、該
Nライン内圧前記黒領域頂点が存在するか否かを判定し
存在すれば頂点検出信号を発生し、かつ前記タイプパタ
ーン系列から次にどのNラインを前記ラインメモリに取
出し記憶せしめるかを判定しライン取出情報を発生する
判定回路とを具備することによシ、2値パターン中に存
在する水平線分に対しても、凹凸の有無に影響されず不
要な黒領域頂点の検出を避けることができる黒領域頂点
検出回路が得られる。
According to the present invention, in order to separate figures and symbols from a binary pattern obtained by scanning a drawing, etc. a scanning circuit that scans and extracts the binary pattern in consecutive N line units over the entire value pattern based on the line extraction information described later; and N circuits that temporarily store the extracted binary pattern of the N lines. a line memory, a type generation circuit that sequentially generates a type pattern consisting of N values at each point in the rask direction of the N line memories, and a type in the line generated by the type generation circuit. [by examining the generation sequence of the pattern], it is determined whether or not the black area apex exists in the N line internal pressure, and if it exists, a vertex detection signal is generated, and it is determined which N line should be selected next from the type pattern series. By including a determination circuit that determines whether to retrieve and store the line in the line memory and generates line retrieval information, horizontal line segments existing in a binary pattern are not affected by the presence or absence of unevenness and are unnecessary. A black area vertex detection circuit that can avoid detecting black area vertices is obtained.

この発明の黒領域頂点検出回路は、凹凸を有する水平線
分に対しても不要な頂点の検出を避けることができるた
め向えば図形分離処理などの以下の処理にお込て不要な
処理を避けることができ従って処理の晶速化が実現され
る。
The black area apex detection circuit of the present invention can avoid detecting unnecessary vertices even for horizontal line segments with unevenness, so it is possible to avoid unnecessary processing by including it in the following processing such as figure separation processing. Therefore, the crystal processing speed can be increased.

この発明の黒領域検出回路は、また、連続するNライン
の状態により次VC矩査するNラインを決めるように@
成されるため不要なライン走査を避けることかで1a1
従って処理の高速化が実現される− 以下本発明を図面を参照して詳細に説明する。
The black area detection circuit of the present invention also determines the next N lines to be scanned based on the states of consecutive N lines.
1a1 to avoid unnecessary line scanning
Therefore, processing speed can be increased.The present invention will be described in detail below with reference to the drawings.

第1図は地図の1部分の2値パターンの例を示す図であ
シ、図中釦は等高線や学校、山頂等大小の図形が混在し
ている。
FIG. 1 is a diagram showing an example of a binary pattern for a portion of a map, and the buttons in the diagram include a mixture of large and small figures such as contour lines, schools, and mountain peaks.

第2図は黒領域頂点を検出するための一般的表方法を示
す図である0図において黒丸−e−tlドツトの黒点を
示している。簡単のため説明に盛装なものは記したが、
それ以外の黒点、白点は図面上への記載を省略して^る
。黒領依頂点の検出は図にお込で点線で示す如く2値パ
タ一ン全体をラスク走査することによりすべでの頂点を
得る方法が一般的である。i番目のライン(以下L(+
)と略記する)上での頂点の検出にはb L(i−1)
とL(i)の2つのラインを射熱する。まずL(+−1
)をラスク走奔し、白→黒への変化点および黒→白への
変化点をナベて記憶しておく・第2図の例の場合。
FIG. 2 is a diagram illustrating a general table method for detecting black area vertices. In FIG. 2, a black circle-e-tl dot is shown. For the sake of simplicity, I have listed the fancy items in the explanation, but
Other black points and white points are omitted from the drawing. The general method for detecting black-dependent vertices is to obtain all vertices by scanning the entire binary pattern as shown by the dotted lines in the figure. i-th line (hereinafter L(+
) to detect vertices on ), b L(i-1)
and L(i). First, L(+-1
) and memorize the points of change from white to black and the points of change from black to white. - In the case of the example in Figure 2.

L(i−1)Kついては、a点とb点の)in Kは黒
点は存在してbない・同様にしてL(i)を走査したど
き、a点で白→黒の変化があシ、b点で黒→白の変化が
あることがわかる・次にL(i−1)の走査においてa
点とb点の間で黒点が存在したか否かを調べる。この回
ではL(i−1)上ではa点とb点の間に黒点が存在し
ないので、従ってL(i)の点aと点50間の黒点は頂
点として判定されるーしかし、 L(i−1)の点aと
点すの間に1つでも黒点が存在すれば、L(i)の点a
と点すの黒点はL(i−1)から連続する黒領域の1部
であることを意味し、頂点とはならなり。
For L(i-1)K, there is a black point in K of point a and point b, but there is no black point.When L(i) is scanned in the same way, there is a change from white to black at point a. , it can be seen that there is a change from black to white at point b.Next, in the scan of L(i-1), a
Check whether a black point exists between point and point b. In this time, there is no black point between points a and b on L(i-1), so the black point between point a and point 50 on L(i) is determined as a vertex - however, L(i -1) If there is even one black point between point a and point A, then point a of L(i)
The black dots shown in the dots indicate that they are part of a continuous black area from L(i-1), and are different from the vertices.

次に1本発明にかかる黒領域頂点の検出方法について説
明する。
Next, a method for detecting black area vertices according to the present invention will be explained.

第3図は、−同として連続する3ライン中に現われるタ
イプパターンを示す図である。以下の説明におりては連
続する3ライン(すなわちN=3)を例にして説明して
囚〈、連続する3ラインを各ラインの黒、白の組合わせ
で第3図に示す8造りのタイプパターン(’l’Q〜T
7)が存在する。TQは黒点が存在しないことを示すパ
ターン、 TI、T3は黒領域の存在の可能性を示すパ
ターン、T4゜′v6は黒領域の下端点の存在の可能性
を示すパターンである・T7は黒領域が該3フインに渡
って縦方向に連結するパターンを示している。タイプパ
ターン1゛0〜T7は連続する3ラインL(i−1)。
FIG. 3 is a diagram illustrating type patterns appearing in three consecutive lines. In the following explanation, three consecutive lines (that is, N = 3) will be used as an example. Type pattern ('l'Q~T
7) exists. TQ is a pattern that indicates the absence of a black point, TI and T3 are patterns that indicate the possibility of the existence of a black area, and T4゜'v6 is a pattern that indicates the possibility of the existence of the lower end point of the black area.・T7 is a pattern that indicates the existence of a black point. A pattern in which the regions are connected in the vertical direction across the three fins is shown. Type pattern 1'0 to T7 are three consecutive lines L(i-1).

L(i)、L(i+1)の左からの位置jでの値をそれ
ぞれV(ゑ−”ej)sv(tsJLv(t+x、j)
とすると、(式l)で定義される。
The values at position j from the left of L(i) and L(i+1) are respectively V(ゑ−”ej)sv(tsJLv(t+x,j)
Then, it is defined by (Formula 1).

T(i、j)=v(i−Lj)×4+v(i−DX2+
v(i+IW)(式1) 但し、Vの値は黒点の時!、白点の時0(式l)が第3
図に示す8通りのタイプパターンTO〜T7と対応して
−ることは明らかである。
T(i,j)=v(i-Lj)×4+v(i-DX2+
v(i+IW) (Formula 1) However, the value of V is at the time of a sunspot! , when the white point is 0 (formula l) is the third
It is clear that these correspond to the eight type patterns TO to T7 shown in the figure.

第4図(a)、(b)は(式l)を用いて発生されるタ
イプパターン系列から、黒領域頂点を検出する方法およ
び次の走査ラインを決定する方法を説明するための図で
ある。第4図(a)は黒領域頂点が1箇所しか存在しな
り場合の例、第4図(b)は黒領域頂点が2箇所存在す
る場合の例である。
FIGS. 4(a) and 4(b) are diagrams for explaining a method for detecting a black area vertex and a method for determining the next scanning line from a type pattern series generated using (Equation 1). . FIG. 4(a) shows an example where there is only one black area apex, and FIG. 4(b) shows an example where there are two black area vertices.

第3図の説明で述べた如く黒領域頂点の存在の可能性を
示すタイプパターンはT1とT3であるが連続する3ラ
インを単位として走査する場合はrlは次の走査でT3
として現われることを考慮すれば黒領域頂点の存在の判
定ViT3の有無が必須になると考えてよい。
As mentioned in the explanation of FIG. 3, the type patterns that indicate the possibility of the existence of black area vertices are T1 and T3, but when scanning three consecutive lines as a unit, rl will be T3 in the next scan.
Considering that it appears as follows, it can be considered that the presence or absence of the determination ViT3 of the existence of the black area vertex becomes essential.

以上のことから黒領域頂点であるためのタイプパターン
系列は(式2)のように定義できる。
From the above, the type pattern series for the black area vertices can be defined as shown in (Equation 2).

TO・〔1゛1・T2・(T3 ) )・To    
 (式2)(式2)におりで〔〕はタタイプくターンT
I、T2゜T3が任意の順序・長さで連続してよいこと
を意味し、!た( )はT3が必須であることを意味す
る。従って’I’l、T2は存在してもしなくてもより
・以下編4図を用いて説明する。
TO・[1゛1・T2・(T3 ) )・To
(Formula 2) (Formula 2)
It means that I, T2゜T3 can be consecutive in any order and length, ! The parentheses mean T3 is required. Therefore, 'I'l, T2 may or may not exist.The explanation will be given below using Figure 4.

第4図(a) においてL(2)〜L(4) CD走査
ラインの場合タイプパターン系列はTO・’r□、’r
□・+1゛0・T1・・1゛3・T3・T3・TO・T
Oとムリ、(式2)の条件がTO・1“1−T3・T3
・T3・TOの部分で満たされておハ従ってL(3)の
j・・6〜8の間に黒領域頂点が存在することが検出さ
れる・第4図(b)においでL(2)〜L(4)の走置
ラインの場合タイプパターン系列は’I’Q、TQ−’
l’3・T3・Tl−Tl・T3・T3・T1・T1・
TOとなシ、(式2)%式% T1・TOの部分で満たされておシ、従って1.(3)
のj=3〜80間に黒領域頂点が存在することが4寅出
される。第・1図(1))からも明らかなように仁の場
合第2図で説明した従来の方法ではj=3〜4jj=q
〜8の2箇所に黒領域頂点が見つかるとbう不都合があ
ったが、ここで述べた方法によりこの欠点が改善された
ことがわかる。
In the case of L(2) to L(4) CD scanning lines in FIG. 4(a), the type pattern series is TO・'r□,'r
□・+1゛0・T1・・1゛3・T3・T3・TO・T
O and unreasonable, the condition of (formula 2) is TO・1"1-T3・T3
・It is detected that there is a black area vertex between 6 and 8 of J of L(3), which is filled with T3・TO. ・In FIG. 4(b), L(2 ) to L(4), the type pattern series is 'I'Q, TQ-'
l'3・T3・Tl-Tl・T3・T3・T1・T1・
TO, (Formula 2) % Formula % is filled with the part T1・TO, so 1. (3)
It is found that there are four black area vertices between j=3 and 80. As is clear from Figure 1 (1)), in the case of Jin, in the conventional method explained in Figure 2, j = 3 ~ 4jj = q
Although there was a problem when the black area vertices were found at two locations .about.8, it can be seen that this problem was improved by the method described here.

次に本方法による走査における走査の高速化につbて説
明する。第3図のタイプパターンで説明した如く、TO
は黒領域がなりことを示し、’i’7は縄領域が連続す
ることを示す・このことは言込かえれば、TOのタイプ
パターンが1ラインスキツプした走査ラインで現われる
タイプパターンはTI、T2.T2C,かあシえなりこ
とおよびTIのタイプパターンが1ラインスキツプした
走査ラインで現われるタイプパターンはT4Cかありえ
ないことを示してhる・この特徴を次に走査する走査ラ
インの決定する規則として利用し、走査の高速化を計る
ことができる。すなわち、現走査ラインのタイプパター
ン系列がすべてTOである場合、またはTO以外のタイ
プパターンを含むグループが必ずTIを含む場合は次の
走査ラインをスキップすることができる。すなわち現在
L(i−1)。
Next, an explanation will be given of speeding up the scanning by this method. As explained in the type pattern in Figure 3, TO
indicates that the black area is continuous, and 'i'7 indicates that the rope area is continuous.In other words, the type pattern that appears in the scanning line where the TO type pattern is skipped by one line is TI, T2, . This shows that a type pattern of T2C, Kaashienariko, and TI that appears in a scan line skipped by one line cannot be T4C.Using this characteristic as a rule for determining the scan line to be scanned next, Scanning speed can be increased. That is, if the type pattern series of the current scan line are all TO, or if a group including type patterns other than TO always includes TI, the next scan line can be skipped. That is, currently L(i-1).

L(s)eL(t+t)を走査していたとすると本来な
(11) らばL(i) a L(s + 1 ) a ” (i
 + 2 )を走査し々ければならなりが、この走査を
スキップしてL(i+1)L(i+2) 、L(i+3
)の走査に進むことができる・第5図は本発明である黒
領域頂点検出回路を図面自tth読取装置に利用した場
合のブロック図である0図において、参照番号lは情報
処理装置、2はドラムスキャナ、3は前処理回路、4は
2値パターン記憶回路、5は本発明である黒領域頂点検
出回路、6は図形分離回路、7は図形認識回路である。
If L(s)eL(t+t) is scanned, the original (11) is L(i) a L(s + 1) a ” (i
+ 2), but this scanning is skipped and L(i+1)L(i+2), L(i+3
) Figure 5 is a block diagram when the black area apex detection circuit according to the present invention is used in a reading device. 3 is a drum scanner, 3 is a preprocessing circuit, 4 is a binary pattern storage circuit, 5 is a black area apex detection circuit according to the present invention, 6 is a graphic separation circuit, and 7 is a graphic recognition circuit.

ドラムスキャナ2は、情報処理装置1より信号線100
を通して制御され、ドラムに張9つけられてhる読取対
象図面を走査しその一度値すなわち多値データを信号線
200を通して前処理回路3VC送る・前処理回路3は
情報処理装置1よす信号線100を通して制御され、ド
ラムスキャナよシ送られる前記多値データを予かしめ情
報処理装置lにより与えられてbる閾値で2値化し、更
にノイズ処理等を施こした後信号m300e通して2値
パターン記憶回路4に記憶させしめ、1図面02) の記憶が終了すると信号線400を通して検出開始信号
を黒領域頂点検出回路5に送る。2値パターン記憶回路
3は、前処理回路3から送られる2値パターンを記憶す
るとともに、その内容を信号線700を通して黒領域頂
点検出回路51図形分離回路61図形認識回路7から読
出すことができるように構成されてbる。黒領域頂点検
出回路5は、前処理回路3よシ検出開始を受けると信号
線700を通して3ライン単位で2値パタ一ン全体を走
査しながら該21直パターン中に存在するナベての黒領
域頂点を順次検出する。1つの頂点が検出される毎に黒
領域頂点情報を信号線500を通して図形分離回路6に
送シ検出楯作t−1停止する。
The drum scanner 2 is connected to the signal line 100 from the information processing device 1.
The drawing to be read, which is attached to a drum, is scanned and the once-valued, ie, multivalued data is sent to the preprocessing circuit 3VC through the signal line 200.The preprocessing circuit 3 is connected to the information processing device 1 through the signal line. The multi-valued data sent to the drum scanner is pre-warmed and binarized using a threshold value given by the information processing device l, and after noise processing etc. 1 drawing 02) is completed, a detection start signal is sent to the black area vertex detection circuit 5 through the signal line 400. The binary pattern storage circuit 3 stores the binary pattern sent from the preprocessing circuit 3, and can read the contents from the black area vertex detection circuit 51, figure separation circuit 61, and figure recognition circuit 7 through the signal line 700. It is configured as follows. When the black area apex detection circuit 5 receives the start of detection from the preprocessing circuit 3, it scans the entire binary pattern in units of 3 lines through the signal line 700 and detects the black areas in all directions present in the 21 straight patterns. Detect vertices sequentially. Every time one vertex is detected, black area vertex information is sent to the graphic separation circuit 6 through the signal line 500, and the detection cycle is stopped at t-1.

図形分離回路6は、順次送られる黒領域頂点情報を元に
、例えば予かじめ情報処理装置lによシ与えられている
寸法以内の黒領域の魯を分離するように構成されておシ
、第1図における学校や山頂等の記号を地図中から分離
する。現在の黒領域頂点情報に対して分離が正常に行わ
れた場合は図形分離情報を信号線600を通して図形認
識回路7t■ に送る。一方分離できなかった場合には信号線100を
通して黒領域検出回路5Vc黒領域頂点検出動作の続行
を指示する0図形認識回路7は、図形分離情報を受ける
と信号線700を通して2値パターン記憶回路4の対応
する2値パターンを参照しながら、しuえばパターンマ
ツチング等の方法によシ該図形の認識を行す、認識結果
を信号線100を通して情報処理装置IVc渡すととも
に、黒領域頂点検出回路5に黒領域頂点検出動作の続行
を指示する。
The figure separation circuit 6 is configured to separate, for example, black areas within dimensions given in advance to the information processing device 1, based on the black area vertex information sent sequentially. Separate symbols such as schools and mountain peaks in Figure 1 from the map. If the separation is successfully performed on the current black area vertex information, the figure separation information is sent to the figure recognition circuit 7t-2 through the signal line 600. On the other hand, if the separation is not possible, the black area detection circuit 5Vc sends an instruction to continue the black area apex detection operation through the signal line 100.When the figure recognition circuit 7 receives the figure separation information, the binary pattern storage circuit 4 passes through the signal line 700. While referring to the corresponding binary pattern, the figure is recognized by a method such as pattern matching, and the recognition result is passed through the signal line 100 to the information processing device IVc, and the black area vertex detection circuit 5 to continue the black area vertex detection operation.

第6図は1本発明である黒領域頂点検出回路5の主要部
のブロック図である0図におして、参照番号50は走査
回路、51はラインメモリ、52はタイプ発生回路、5
3は判定回路、54は頂点検出回路、55は走査ライン
決定回路である・走査回路50は、信号線400を通し
て前処理回路3より検出開始信号を受けると頂点検出動
作を開始する。すなわち、走査回路5oは2値パターン
記憶回路4に記憶されてbる2値パタ一ン全体に渡って
講述の走査ライン決定回路55が発生04) し信号線401を通して送ってくるライン取出情報を元
に、信号線700全通して前記2値パターン記憶回路4
から連続する3ラインを読出しラインメモリ51に記憶
させる。また伏述の頂点検出回路54が発生する検出信
号および黒領域頂点情報を信号線401i通して受はる
と、信号線500を通して前記黒領域頂点情報を図形分
離回路6に送る。
6 is a block diagram of the main parts of the black area apex detection circuit 5 according to the present invention. In FIG. 6, reference number 50 is a scanning circuit, 51 is a line memory, 52 is a type generation circuit,
3 is a determination circuit, 54 is a vertex detection circuit, and 55 is a scanning line determination circuit. When the scanning circuit 50 receives a detection start signal from the preprocessing circuit 3 through the signal line 400, it starts the vertex detection operation. That is, the scanning circuit 5o generates the scanning line determining circuit 55 over the entire binary pattern stored in the binary pattern storage circuit 4 and receives the line extraction information sent through the signal line 401. Originally, the signal line 700 is completely passed through the binary pattern storage circuit 4.
Three consecutive lines are read out and stored in the line memory 51. Further, when the detection signal and black area vertex information generated by the vertex detection circuit 54 described below is received through the signal line 401i, the black area vertex information is sent to the figure separation circuit 6 through the signal line 500.

ラインメモリ51は3個のラインメモリで構成されてお
り、その内容は信号線・102全通してタイプ発生回路
52に送られている。/1′タイプ晃生発生″:452
は、前記ラインメモリ51の内容を元にラインの左から
順に走査しながら(式1)で定義した方法で第3図で説
明したタイプパターン系列を発生するように構成されて
:ひり、発生されたタイプパターン系列は順次信号線4
03を通して判定回路53内の頂点検出回路54と走査
ライン決定回路55に、送られる・ 判定回路53は、頂点検出回路54゛と走査ライン決定
回路55から構成されてお郵、前記タイプα5)・ パターン系列を元に頂点検出および次に走査するライン
の決定を行う。
The line memory 51 is composed of three line memories, and the contents thereof are sent to the type generation circuit 52 through the entire signal line 102. /1'Type Akiosei Occurrence'': 452
is configured to generate the type pattern series explained in FIG. 3 by the method defined by (Equation 1) while sequentially scanning the line from the left based on the contents of the line memory 51. The type pattern series is sequentially connected to signal line 4.
The determination circuit 53 is composed of a vertex detection circuit 54' and a scanning line determination circuit 55. The vertex is detected and the next line to be scanned is determined based on the pattern series.

頂点検出回路54は、第4図で説明した方法でタイプパ
ターン系列を元に黒領域頂点の存在の有無の判定を行う
ように構成されており、頂点が存在する場合は検出情報
と黒領域頂点の位置や巾などを含む黒領域頂点情報とを
信号線401全通して走査回路50に送る。
The vertex detection circuit 54 is configured to determine the presence or absence of a black area vertex based on the type pattern series using the method described in FIG. The black area vertex information including the position and width of the black area is sent to the scanning circuit 50 through the entire signal line 401.

走査ライン決定回路55は、第4図で説明した方法によ
シ現在のタイプパターン系列から次に走査すべきライン
群を決定するよう構成されておシ次に走査すべきジイン
取出情報を信号線401を通して走査回路50に送シ、
次の走査ラインに対する走査を開始させる・ 以上図面を用いて説明した如く1本発明によシ図血等を
スキャナで走査して得た2値パターン中に存在する黒領
域の各頂点を検出する際に1従来の方法では水平線分に
対してその凹凸Vこ16じて不要な部分が頂点として検
出されCいたという欠点が、本発明により改善され、加
えて紺青時間も短(紛 縮されることがわかる。
The scanning line determining circuit 55 is configured to determine the line group to be scanned next from the current type pattern series according to the method explained in FIG. 401 to the scanning circuit 50;
Start scanning for the next scanning line. As explained above using the drawings, according to the present invention, each vertex of the black area present in the binary pattern obtained by scanning blood, etc. with a scanner is detected. In particular, the present invention improves the drawback that in the conventional method, an unnecessary part of unevenness of a horizontal line segment is detected as a vertex, and in addition, the dark blue time is shortened. I understand that.

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

第1図は大きざの異なる図形が混在する図面の2値パタ
ーンの例を示す図、第2図は従来の方法による黒領域頂
点検出の方法を説明する図、第3図は本発明にかかる黒
領域頂点検出の際に利用されるタイプパターンを示す図
、第4図は本発明である黒領域頂点検出の方法を説明す
るための図、第5図は氷見ゆjである黒領域頂点検出回
路を自動読取装置に利用した実施例のブロック図を示す
起、第6図は本発明である黒領域頂点検出回路を具体的
に示す主侠ブロック図である。 図において、1・・・情報処理装置、2・・・ドラムス
キャナ、3・・・前処理回路、4・・・2値パターン記
憶回路、5・・・黒領域頂点検出回路、6・・・図形分
離回路、7・−・図形認識回路、50−・・走査回路、
51・・・ラインメモリ、52・・・タイプ発生回路、
53−・・判定回路、54・・・頂点検出回路、55・
・・走査ライン決定回路、を示す― 一1η 第1図 第 2 図 !−,う ち ジ 丁I  T) 第 (α) 3図 ■3 丁4 7s  Ta  77 4図 j+  z345s7s91ot+ (b) 第5図 第6図 (n 5j  ′−一一−−−’
FIG. 1 is a diagram showing an example of a binary pattern in a drawing in which figures of different sizes coexist, FIG. 2 is a diagram illustrating a conventional method for detecting black area vertices, and FIG. 3 is a diagram according to the present invention. A diagram showing a type pattern used in detecting a vertex of a black region, FIG. 4 is a diagram for explaining the method of detecting a vertex of a black region according to the present invention, and FIG. FIG. 6 is a block diagram showing a block diagram of an embodiment in which the circuit is utilized in an automatic reading device, and FIG. 6 is a main block diagram specifically showing the black area apex detection circuit of the present invention. In the figure, 1... information processing device, 2... drum scanner, 3... preprocessing circuit, 4... binary pattern storage circuit, 5... black area apex detection circuit, 6... Figure separation circuit, 7--Graphic recognition circuit, 50--Scanning circuit,
51... Line memory, 52... Type generation circuit,
53--Judgment circuit, 54-Vertex detection circuit, 55-
...Scanning line determination circuit is shown--1η Figure 1 Figure 2! -, Uchiji Ding I T) No. (α) 3 Fig. ■ 3 D4 7s Ta 77 4 Fig. j+ z345s7s91ot+ (b) Fig. 5 Fig. 6 (n 5j '-11--'

Claims (1)

【特許請求の範囲】[Claims] 図面などを走査して得た2値パターンから1図形に対応
する黒領域を分離し認識する回路において、与えられた
ライン取出情報に従って前記2値パタ一ン全体に渡って
連結するNライン単位で該2値パターンから前記連続す
る1〜ライン分の2値パターンを取出す走査回路と、前
記取出されたNラインの2値パターンを一時記憶するN
個のラインメモリと、前記N個のラインメモリのラスク
方向の各点におけるN個の値をもって構成されるタイプ
パターンをライン中の各点VC対して順次発生するタイ
プ発生回路と、前記タイプ発生回路で発生されるライン
中でのタイプパターンの発生系列を調べ、該ヘライン内
に前記黒領域頂点が存在するか否かを判定し存在すれば
頂点検出信号を発生し、かつ前記タイプパターン発生系
列から次にどのNラインを前記ラインメモリに取出し記
憶せしめるかを決定しライン取出情報を発生し前記走査
回路へ与える判定回路とを具備してなる黒領域頂点検出
回路。
In a circuit that separates and recognizes a black area corresponding to one figure from a binary pattern obtained by scanning a drawing, etc., the circuit separates and recognizes a black area corresponding to one figure from a binary pattern obtained by scanning a drawing. a scanning circuit for extracting the binary pattern for one to consecutive lines from the binary pattern; and a scanning circuit for temporarily storing the extracted binary pattern for N lines.
a type generation circuit that sequentially generates a type pattern constituted by N values at each point in the rask direction of the N line memories for each point VC in the line; and the type generation circuit examines the occurrence series of the type pattern in the line generated by the line, determines whether or not the black area vertex exists in the line, and if so, generates a vertex detection signal; A black area apex detection circuit comprising: a determination circuit that determines which N lines are to be extracted and stored in the line memory, generates line extraction information, and supplies the line extraction information to the scanning circuit.
JP56143265A 1981-09-11 1981-09-11 Detecting circuit for black area peak Pending JPS5846476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56143265A JPS5846476A (en) 1981-09-11 1981-09-11 Detecting circuit for black area peak

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56143265A JPS5846476A (en) 1981-09-11 1981-09-11 Detecting circuit for black area peak

Publications (1)

Publication Number Publication Date
JPS5846476A true JPS5846476A (en) 1983-03-17

Family

ID=15334717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56143265A Pending JPS5846476A (en) 1981-09-11 1981-09-11 Detecting circuit for black area peak

Country Status (1)

Country Link
JP (1) JPS5846476A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61111978A (en) * 1984-11-01 1986-05-30 工業技術院長 Ceramic bonding method for metal pipe inside wall

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61111978A (en) * 1984-11-01 1986-05-30 工業技術院長 Ceramic bonding method for metal pipe inside wall

Similar Documents

Publication Publication Date Title
US5201011A (en) Method and apparatus for image hand markup detection using morphological techniques
JP2940936B2 (en) Tablespace identification method
US5748809A (en) Active area identification on a machine readable form using form landmarks
US6947596B2 (en) Character recognition method, program and recording medium
JPS62254282A (en) Method and apparatus for separating overlapped pattern
JPH0424781A (en) Document processor
JPS5846476A (en) Detecting circuit for black area peak
Ye et al. Document image matching and annotation lifting
JP2846486B2 (en) Image input device
JP2868392B2 (en) Handwritten symbol recognition device
JP3406942B2 (en) Image processing apparatus and method
JP3455649B2 (en) Character recognition device
JP4878057B2 (en) Character recognition method, program, and recording medium
JP3666903B2 (en) Image processing method and apparatus
JPS59163678A (en) Detecting circuit of feature point
JPS58214970A (en) Feature point detecting circuit
JPH09114925A (en) Optical character reader
JP2838556B2 (en) Image processing device
JPH0271379A (en) Picture processor
JPH08171609A (en) High-speed character string extracting device
JPH0217588A (en) System for eliminating unnecessary data at the time of generating character outline
JPH08263591A (en) Device and method for character recognition
JPH05242297A (en) Character segmenting method
JPH0458383A (en) Multi font character recognizing device
JPS61286984A (en) Line graphic recognizing device