JPH0122666B2 - - Google Patents
Info
- Publication number
- JPH0122666B2 JPH0122666B2 JP57073334A JP7333482A JPH0122666B2 JP H0122666 B2 JPH0122666 B2 JP H0122666B2 JP 57073334 A JP57073334 A JP 57073334A JP 7333482 A JP7333482 A JP 7333482A JP H0122666 B2 JPH0122666 B2 JP H0122666B2
- Authority
- JP
- Japan
- Prior art keywords
- point
- pattern
- coordinate
- interest
- center
- 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
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/20—Image preprocessing
- G06V10/24—Aligning, centring, orientation detection or correction of the image
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Collating Specific Patterns (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
(技術分野)
本発明は図形認識装置、特に孤立図形の中心点
座標の検出に関するものである。本発明は印鑑の
自動照合における印影の中心点座標の検出に応用
することが出来る。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a figure recognition device, and particularly to detection of center point coordinates of an isolated figure. The present invention can be applied to detecting the coordinates of the center point of a seal imprint in automatic seal stamp verification.
(背景技術)
従来、図形の中心点座標の検出は、第1図Aに
示した如く2値化図形パターンをX軸方向を主走
査方向、Y軸方向を副走査方向とするラスタース
キヤンを行ない各主走査線上に存在する2値化図
形パターンの黒点(論理「1」の点)のうちX座
標値が最小である黒点のX座標値XS1〜XSoと、
最大である黒点のX座標値XE1〜XEoを検出して
ゆき、図形パターン全域の副走査が完了した後、
X座標値XS1〜XSoの最小値をXSとし、X座標値
XE1〜XEoの最大値をXEとする。次いで第1図B
に示した如く、Y軸方向を主走査方向、X軸方向
を副走査方向とするラスタースキヤンを行なつ
て、前記と同様な操作により最小Y座標値YSと
最大Y座標値YEとを得る。(Background Art) Conventionally, the coordinates of the center point of a figure are detected by raster scanning a binarized figure pattern with the X-axis direction as the main scanning direction and the Y-axis direction as the sub-scanning direction, as shown in FIG. 1A. Among the black points (logical "1" points) of the binarized figure pattern existing on each main scanning line, the X coordinate value of the black point with the minimum X coordinate value X S1 ~ X So ,
After detecting the maximum X coordinate value X E1 ~ X Eo of the black point and completing the sub-scanning of the entire figure pattern,
Let the minimum value of X coordinate value X S1 ~ X So be X S , and
Let the maximum value of X E1 to X Eo be X E. Then Figure 1B
As shown in Figure 2, by performing raster scanning with the Y-axis direction as the main scanning direction and the X-axis direction as the sub-scanning direction, the minimum Y coordinate value Y S and the maximum Y coordinate value Y E are determined by the same operation as above. obtain.
次いでX0=(XS+XE)/2、Y0=(YS+
YE)/2を計算することにより、中心点座標C
(X0、Y0)を得ていた。この中心点座標の検出方
法は、図形パターンにカスレや輪郭線外部のノイ
ズ点がない場合には、簡略な処理にて正確な中心
点座標を検出しうるのであるが、第1図Cや第1
図Dの如く、図形パターンにカスレや輪郭線外部
のノイズ点(いわゆるヨゴレ)があると、その影
響が顕著に中心点座標の検出誤差として反映され
てしまうという欠点があつた〔以後この方法を枠
中心法と略称する〕。 Then, X 0 = (X S + X E )/2, Y 0 = (Y S +
By calculating Y E )/2, the center point coordinate C
(X 0 , Y 0 ) was obtained. This method of detecting center point coordinates can detect accurate center point coordinates with simple processing if there are no blurs or noise points outside the contour line in the figure pattern, but 1
As shown in Figure D, if there is a blur or a noise point outside the contour line (so-called dirt) in the figure pattern, the disadvantage is that the influence is clearly reflected in the detection error of the center point coordinates. It is abbreviated as the frame-centered method].
また他の従来例として、図形パターンの全黒点
の重心を中心点座標とする方法がある。すなわ
ち、第2図Aに示す如くX座標がi、Y座標がj
(但しi、jは整数)なる点をPijとし、Pijが黒点
のとき|Pij|=1と定義し、Pijが白点(論理
「0」の点)のとき|Pij|=0と定義すると、中
心点G(X0、Y0)は
にて算出することができる。なお、ここでmおよ
びnはそれぞれX軸およびY軸の図形パターンの
存在を許容する領域の最外殻座標である。この中
心点座標の検出方法は、第1図Dの如く、図形パ
ターンに輪郭線外部のノイズ点があつても、その
影響は非常に薄められるため、枠中心法よりも検
出精度が高いが、第2図Bの如く、印影パターン
の場合など内部文字の画数などの複雑さが均等で
ないと、検出中心点座標C(X0、Y0)が真の中心
点よりも複雑な文字の方へ変位してしまい検出精
度が低下する。また、例えばテンプレート書き図
形の場合でも、第2図Cの如く、線の太さにムラ
があると、検出中心点座標C(X0、Y0)は真の中
心点よりも太線の方に変位してしまい検出精度が
低下するという欠点があつた〔以後この方法を重
心法と略称する〕。 Another conventional example is a method in which the center of gravity of all black points of a graphic pattern is set to the coordinates of the center point. That is, as shown in Figure 2A, the X coordinate is i and the Y coordinate is j.
(where i and j are integers) is defined as P ij , and when P ij is a black point, |P ij |=1, and when P ij is a white point (logical "0" point), |P ij | = 0, the center point G (X 0 , Y 0 ) is It can be calculated by Note that m and n are the outermost shell coordinates of the region that allows the existence of graphic patterns on the X and Y axes, respectively. This center point coordinate detection method has higher detection accuracy than the frame center method because even if there is a noise point outside the contour line in the figure pattern, the influence of it is greatly weakened, as shown in Fig. 1D. As shown in Figure 2B, if the complexity of the internal characters, such as the number of strokes, is not equal, such as in the case of a seal impression pattern, the detected center point coordinates C (X 0 , Y 0 ) will move toward the more complex character than the true center point. The detection accuracy will be degraded due to displacement. For example, even in the case of a template-drawn figure, if the thickness of the line is uneven as shown in Figure 2 C, the detected center point coordinates C (X 0 , Y 0 ) will be closer to the thick line than the true center point. The disadvantage was that the detection accuracy decreased due to displacement (hereinafter, this method will be abbreviated as the centroid method).
ところで、孤立図形パターンの中心点座標を正
確に検出することは、例えば登録印影パターンと
被照合印影パターンとの位置整合を行なつた後、
両印影パターンの一致照合を調べる印鑑照合用図
形認識装置など、多くの図形認識装置において不
可欠な事項である。 By the way, to accurately detect the coordinates of the center point of an isolated figure pattern, for example, after performing position matching between the registered seal imprint pattern and the to-be-verified seal imprint pattern,
This is an essential item in many figure recognition devices, such as a figure recognition device for seal stamp matching that checks whether two seal imprint patterns match.
(発明の課題)
本発明の目的はこれらの欠点を除去するため、
外部ノイズによる悪影響を低減するために重心法
の考え方をとるが、内部文字などの内部パターン
の影響を受けないようにするため、重みづけによ
る塗りつぶしを施した図形パターンの重心を中心
点とするようにしたものであり、その特徴は、図
形パターンを電気信号により読取る読取部と、読
取部により読取られた図形の内部を塗りつぶす塗
りつぶしパターン作成部と、塗りつぶされたパタ
ーンの重みづけされた各点の重心座標を当該図形
パターンの中心点座標とする中心点座標検出部と
を有し、前記塗りつぶしパターン作成部は;
(条件1);Y座標が着目点と等しいYjであ
り、X座標がXi以下の値を有する図形パターンの
黒点が存在し、かつY座標が着目点と等しいYj
であり、X座標がXi以上の値を有する図形パター
ンの黒点が存在すること;
(条件2);X座標が着目点と等しいXiであり、
Y座標がYj以下の値を有する図形パターンの黒
点が存在し、かつ、X座標が着目点と等しいXiで
ありY座標がYj以上の値を有する図形パターン
の黒点が存在すること;
の2条件に従つて、図形パターンが存在すること
を許容する領域内の各着目点(Xi、Yj)を周囲
の図形パターン状況に応じて;
(1) 条件1を満足しかつ条件2を満足する着目
点;
(2) 条件1あるいは条件2のいずれかを満足する
着目点;
(3) 条件1を満足せずかつ条件2を満足しない着
目点;
の3種類に分類し、前記中心点座標検出部におけ
る重みづけが分類された着目点の種類毎に行なわ
れるごとき図形認識装置にある。(Problem to be solved by the invention) The purpose of the present invention is to eliminate these drawbacks.
The center of gravity method is used to reduce the negative effects of external noise, but in order to avoid being affected by internal patterns such as internal characters, the center of gravity of a graphic pattern that has been filled with weights is set at the center point. Its features include a reading section that reads the figure pattern using electrical signals, a fill pattern creation section that fills in the inside of the figure read by the reading section, and a weighted point creation section that and a center point coordinate detection unit that determines the barycenter coordinates as the center point coordinates of the graphic pattern, and the filling pattern creation unit has: (Condition 1); the Y coordinate is Y j equal to the point of interest, and the X coordinate is There is a black point of a graphic pattern with a value less than or equal to i , and the Y coordinate is equal to the point of interest Y j
, and there is a black point of the graphic pattern whose X coordinate is greater than or equal to X i ; (Condition 2);
There is a black point of a graphic pattern whose Y coordinate has a value of Y j or less, and a black point of a graphic pattern whose X coordinate is X i, which is equal to the point of interest, and whose Y coordinate is a value of Y j or more; According to the following two conditions, each point of interest (X i , Y j ) in the area where the existence of a graphic pattern is allowed is determined according to the surrounding graphic pattern situation; (1) Condition 1 is satisfied and Condition 2 is satisfied; (2) Points of interest that satisfy either Condition 1 or Condition 2; (3) Points of interest that do not satisfy Condition 1 and Condition 2; This figure recognition apparatus is such that weighting in a point coordinate detection section is performed for each type of classified point of interest.
(発明の構成および作用)
第3図は本発明の第1の実施例であつて、読取
部10にて読み取り2値化した図形パターン20
を塗りつぶしパターン作成部30において外枠内
部の塗りつぶしを施した後、中心点座標検出部4
0で塗りつぶしパターンの重心を算出することに
より中心点座標を検出するものである。(Structure and operation of the invention) FIG. 3 shows a first embodiment of the invention, in which a graphic pattern 20 read and binarized by the reading unit 10 is shown.
After filling the inside of the outer frame in the filling pattern creation section 30, the center point coordinate detection section 4
The center point coordinates are detected by calculating the center of gravity of the filled pattern with 0.
第4図を用いて、塗りつぶしパターン作成部3
0につき説明する。 Using Fig. 4, fill pattern creation section 3
Let's explain about 0.
第4図Aに図示した如く、X座標がXiでY座標
がYjである点をP(Xi、Yj)とし、点P(Xi、Yj)
の値をV=|P(Xi、Yj)|と定義する。なお第
4図は、説明の便宜上本来黒点で埋めつくされて
いるはずの図形パターンを輪郭線のみで表示した
り、また主走査間隔や副走査間隔を実際よりも極
端に荒く表示したりしている。 As shown in FIG. 4A, the point whose X coordinate is X i and Y coordinate is Y j is defined as P (X i , Y j ), and the point P (X i , Y j )
The value of is defined as V=|P(X i , Y j )|. For convenience of explanation, Figure 4 shows graphic patterns that should originally be filled with black dots only as outlines, and also shows main scanning intervals and sub-scanning intervals that are much rougher than they actually are. There is.
黒点の値が1、白点の値が0なる2値化図形パ
ターン20を、第4図Bに図示した如く、X軸方
向を主走査方向、Y軸方向を副走査方向とするラ
スタースキヤンを行ない、各主走査毎に、該主走
査線上に存在する黒点のうちX座標が最小である
黒点のX座標値XSと、最大である黒点のX座標
値XEを検出し、該主走査線上のXS〜XE間の全点
の値に例えば2を加える操作を行なう。例えば主
走査線lの場合、|P(XS、Yl)|+2→|P(XS、
Yl)|〜|P(XE、Yl)|+2→|P(XE、Yl)|を
行なうから、各点の値を図に示すと第4図Bの如
くなる。このような処理を、副走査方向の全域す
なわちl=1〜nまで行なつてX軸方向の塗りつ
ぶしを終了する。 The binarized figure pattern 20 in which the black point value is 1 and the white point value is 0 is raster scanned with the X-axis direction as the main scanning direction and the Y-axis direction as the sub-scanning direction, as shown in FIG. 4B. For each main scan, detect the X coordinate value X S of the black point with the smallest X coordinate among the black points existing on the main scanning line, and the X coordinate value X E of the black point with the largest X coordinate, and For example, 2 is added to the values of all points between X S and X E on the line. For example, in the case of main scanning line l, |P(X S , Y l ) |+2→|P(X S ,
Since Y l )|~P(X E , Y l )|+2→|P(X E , Y l )| is performed, the values at each point are shown in a diagram as shown in FIG. 4B. Such processing is performed over the entire area in the sub-scanning direction, that is, from l=1 to n, and the filling in the X-axis direction is completed.
次いで、X軸方向の塗りつぶしを終えた図形パ
ターンを、第4図Cに図示した如く、Y軸方向を
主走査方向、X軸方向を副走査方向とするラスタ
ースキヤンを行ない、各主走査毎に、該主走査線
上に存在する値が3である点(2値化図形パター
ンにおける黒点は、値が必らず3に書きかえられ
ており、2値化図形パターンにおいては白点だつ
たのに、X軸方向の塗りつぶしによつて新規に黒
点になつた点は値が必らず2である)のうちY座
標が最小である点のY座標値YSと、最大である
点のY座標値YEを検出し、該主走査線上のYS〜
YE間の全点の値に例えば4を加える操作を行な
う。例えば、主走査線kの場合、|P(Xk、YS)|
+4→|P(Xk、YS)|〜|P(Xk、YE)|+4→
|P(Xk、YE)|を行なうから各点の値を図に示
すと、第4図Cの如くなる。このような処理を、
副走査方向の全域すなわちk=1〜mまで行なつ
てX・Y両軸方向の塗りつぶしを完了する。 Next, the graphic pattern that has been filled in the X-axis direction is raster scanned with the Y-axis direction as the main scanning direction and the X-axis direction as the sub-scanning direction, as shown in FIG. , a point on the main scanning line whose value is 3 (the value of a black point in a binarized figure pattern is always rewritten to 3, and even though it was a white point in the binarized figure pattern, A point that becomes a new black point by filling in the X-axis direction always has a value of 2), the Y coordinate value Y S of the point with the minimum Y coordinate, and the Y coordinate value of the point with the maximum Y coordinate. Detect Y E and Y S ~ on the main scanning line
For example, add 4 to the values of all points between Y and E. For example, in the case of main scanning line k, |P(X k , Y S )|
+4 → | P (X k , Y S ) | ~ | P (X k , Y E ) | +4 →
Since |P(X k , Y E )| is performed, the values at each point are shown in a diagram as shown in Figure 4C. This kind of processing
Filling is performed over the entire area in the sub-scanning direction, that is, from k=1 to m, to complete filling in both the X and Y axis directions.
こうして得られた塗りつぶしパターンの一例
を、第4図Dに図示する。なお第4図Dにおいて
“+”のように描かれている点(例えばQやR)
はX・Y両軸方向とも塗りつぶされた点であり、
その値は7あるいは6であり、2値化図形パター
ンにおいて黒点だつた点が7(例えばQ)で、2
値化図形パターンにおいて白点だつた点が6(例
えばR)となつている。“−”のように描かれて
いる点(第4図Dにおいては該当点なし)はX軸
方向のみ塗りつぶされた点であり、その値は2と
なつている。“1”のように描かれている点(例
えばT)は、Y軸方向のみ塗りつぶされた点であ
り、その値は4となつている。 An example of the fill pattern obtained in this way is illustrated in FIG. 4D. In addition, points drawn like "+" in Figure 4D (for example, Q and R)
is a point filled in both the X and Y axis directions,
Its value is 7 or 6, and the black dot in the binarized figure pattern is 7 (for example, Q), and 2
In the digitized figure pattern, the white dot is 6 (for example, R). Points drawn like "-" (there are no corresponding points in FIG. 4D) are points that are filled only in the X-axis direction, and their value is 2. A point drawn as "1" (for example, T) is a point filled only in the Y-axis direction, and its value is 4.
こうして得られた塗りつぶしパターンの重心を
中心点座標検出部40において算出し、それを中
心点座標とするわけである。重心の算出は、従来
例の重心法と同様に塗りつぶしパターンの黒点
(塗りつぶし後の値が1以上の点)のすべてにつ
き、その点の値を一律に「1」とみなして単純に
重心を算出してもよいが、図形パターンにカスレ
や輪郭線外部のノイズ点がある場合にもその影響
をなるべく薄めることが出来るようにするため、
実験的に次のような重みをつける方が望ましいこ
とが確認された。すなわち点P(Xi、Yj)がX・
Y両軸方向に塗りつぶされた点すなわち、|P
(Xi、Yj)|=7あるいは6である点は|P(Xi、
Yj)|=2とし、点P(Xi、Yj)がX軸方向のみ
あるいはY軸方向のみ塗りつぶされた点、すなわ
ち|P(Xi、Yj)|=4あるいは2である点は|
P(Xi、Yj)|=1とし、点P(Xi、Yj)がX・Y
両軸方向とも塗りつぶされていない点、すなわち
|P(Xi、Yj)|=0である点は、そのまま|P
(Xi、Yj)|=0にしておくという重み付けをし
た上で、塗りつぶしパターンの重心すなわち中心
点Cp(X0、Y0)を
によつて算出する方法である。 The center point coordinate detection unit 40 calculates the center of gravity of the fill pattern obtained in this way, and uses it as the center point coordinate. The center of gravity is calculated by simply calculating the center of gravity by uniformly assuming that the value of all black points (points whose value after filling is 1 or more) in the filled pattern is "1", as in the conventional center of gravity method. However, in order to reduce the effect as much as possible even if there are blurs or noise points outside the contour line in the figure pattern,
It has been experimentally confirmed that it is preferable to assign the following weights. In other words, point P (X i , Y j ) is
Points filled in both Y-axis directions, that is, |P
The point where (X i , Y j )|=7 or 6 is |P(X i ,
Y j ) |=2, and the point P (X i , Y j ) is filled only in the X-axis direction or in the Y-axis direction, that is, the point where |P (X i , Y j )|=4 or 2 Ha|
P(X i , Y j ) |=1, and point P(X i , Y j ) is X・Y
Points that are not filled in both axis directions, that is, points where |P (X i , Y j ) | = 0, remain as |P
After weighting (X i , Y j ) | = 0, the center of gravity of the fill pattern, that is, the center point C p (X 0 , Y 0 ) This is a method of calculating by
以上説明したように、第1の実施例では、重心
算出という考え方で中心点座標を検出するため、
第1図Cあるいは第1図Dの如く、図形パターン
にカスレや輪郭線外部のノイズ点があつても、枠
中心法のようにその影響が中心点検出誤差にいき
なり反映することはなく(枠中心法の場合は、座
標値の誤差がΔdであれば、中心点の検出誤差は
一般にΔd/2である)、多数の黒点のうち一部分
の黒点という反映の仕方しかしない。その上、従
来の重心法よりも、重心点算出のための対象とな
る黒点数が塗りつぶしにより増加しているから一
般にその影響の度合がより低下する方向にあり、
枠中心法よりも優れていることは勿論、重心法よ
りも精度の高い中心点検出を行なうことができ
る。 As explained above, in the first embodiment, the center point coordinates are detected based on the idea of calculating the center of gravity.
As shown in Figure 1C or Figure 1D, even if there is a blur or a noise point outside the contour line in the figure pattern, the effect will not suddenly be reflected in the center point detection error as in the frame center method (frame center method). In the case of the center method, if the error in the coordinate values is Δd, the detection error of the center point is generally Δd/2), and only a portion of the black spots among the many black spots are reflected. Furthermore, since the number of black points to be used for calculating the center of gravity is increased by filling in compared to the conventional center of gravity method, the degree of its influence is generally reduced.
Not only is this method superior to the frame center method, but it can also detect the center point with higher precision than the center of gravity method.
また、従来の重心法の欠点であつた、第2図B
あるいは第2図Cの如く印影パターンの内部文字
の複雑さにムラがあつたり、テンプレート書き図
形の線の太さにムラがあつたりする図形パターン
の場合でも、内部を塗りつぶしてしまうことによ
り、内部パターンの状況が中心点検出に対して及
ぼす影響を極端に薄めてしまうためほとんど影響
を受けることなく、精度の高い中心点検出を行な
うことができる。 In addition, Fig. 2B, which was a drawback of the conventional center of gravity method,
Alternatively, even in the case of a figure pattern such as the one shown in Figure 2 C, where the complexity of the internal characters of the stamp pattern is uneven, or the line thickness of the template drawn figure is uneven, it is possible to Since the influence of the pattern situation on center point detection is extremely reduced, highly accurate center point detection can be performed with almost no influence.
第1の実施例は、図形パターン20として2値
化した図形パターンを用いて説明したが、図形パ
ターン20としては多値パターンを用い、塗りつ
ぶしを行なう直前に2値化することも可能である
し、また多値パターンのままで塗りつぶしや中心
点座標検出を行なうことも可能である。すなわち
多値パターンがN値である場合、例えばX軸方向
の塗りつぶしの際に点の値として加算する一定値
を第1の実施例では2としていたが、N+1以上
の値としておけば元々の多値情報は保存したまま
で塗りつぶしを行なえるわけであるから、このよ
うな配慮を施しつつX・Y両軸方向の塗りつぶし
パターンを作成し、多値情報を利用した重みつけ
した重心を算出し、該重心を中心点座標とするこ
ともできる。 The first embodiment has been described using a binary graphic pattern as the graphic pattern 20, but it is also possible to use a multivalued pattern as the graphic pattern 20 and to binarize it immediately before filling. It is also possible to perform filling and central point coordinate detection using the multivalued pattern as it is. In other words, when the multi-value pattern has N values, for example, the constant value added as a point value when filling in the X-axis direction was set to 2 in the first embodiment, but if it is set to a value of N+1 or more, the original multi-value pattern is Since it is possible to fill in while the value information is saved, we created a fill pattern in both the X and Y axes directions while taking these considerations into account, and calculated the weighted center of gravity using the multi-value information. The center of gravity can also be set as the center point coordinates.
(発明の効果)
本発明は図形パターンを塗りつぶした後に重心
を求めることにより、図形パターンの中心点を検
出するから印影パターンや図形パターンのカス
レ・ヨゴレおよび内部パターンのムラなどに起因
する検出誤差が極めて低減するため、精度の高い
中心点座標の検出が可能であり、図形認識装置特
に照合時の位置整合に高精度を要求する印鑑照合
用図形認識装置などに利用することができる。(Effects of the Invention) The present invention detects the center point of the graphic pattern by determining the center of gravity after filling the graphic pattern, thereby eliminating detection errors caused by fading or staining of the seal imprint pattern or the graphic pattern, and unevenness of the internal pattern. Since the amount is extremely reduced, it is possible to detect the center point coordinates with high precision, and it can be used in figure recognition devices, particularly figure recognition devices for seal stamp comparison that require high precision in position alignment during comparison.
第1図A〜Dは従来の図形認識装置である枠中
心法の説明図、第2図A〜Cは従来の図形認識装
置である重心法の説明図、第3図は本発明の一実
施例のブロツク図、第4図A〜Dは本発明の一実
施例における塗りつぶしパターン作成部の説明図
である。
10……読取部、20……図形パターン、30
……塗りつぶしパターン作成部、40……中心点
座標検出部。
1A to 1D are explanatory diagrams of the frame center method, which is a conventional figure recognition device; FIGS. 2A to C are illustrations of the center of gravity method, which is a conventional figure recognition device; and FIG. The example block diagram, FIGS. 4A to 4D, are explanatory diagrams of a fill pattern creating section in one embodiment of the present invention. 10...Reading section, 20...Graphic pattern, 30
. . . Filling pattern creation section, 40 . . . Center point coordinate detection section.
Claims (1)
と、読取部により読取られた図形の内部を塗りつ
ぶす塗りつぶしパターン作成部と、塗りつぶされ
たパターンの重み付けされた各点の重心座標を当
該図形パターンの中心点座標とする中心点座標検
出部とを有し、前記塗りつぶしパターン作成部
は; (条件1);Y座標が着目点と等しいYjであ
り、X座標がXi以下の値を有する図形パターン
の黒点が存在し、かつY座標が着目点と等しい
Yjであり、X座標がXi以上の値を有する図形パ
ターン黒点が存在すること; (条件2);X座標が着目点と等しいXiであ
り、Y座標がYj以下の値を有する図形パターン
の黒点が存在し、かつ、X座標が着目点と等しい
XiでありY座標がYj以上の値を有する図形パタ
ーンの黒点が存在すること; の2条件に従つて、図形パターンが存在すること
を許容する領域内の各着目点(Xi、Yj)を周囲
の図形パターン状況に応じて; (1) 条件1を満足しかつ条件2を満足する着目
点; (2) 条件1あるいは条件2のいずれかを満足する
着目点; (3) 条件1を満足せずかつ条件2を満足しない着
目点; の3種類に分類し、前記中心点座標検出部におけ
る重みづけが分類された着目点の種類毎に行なわ
れることを特徴とする図形認識装置。[Scope of Claims] 1. A reading unit that reads a graphic pattern using an electrical signal, a filling pattern creation unit that fills in the inside of the graphic read by the reading unit, and a filling pattern creation unit that calculates the barycentric coordinates of each weighted point of the filled pattern. and a center point coordinate detection unit that determines the center point coordinates of the figure pattern, and the filling pattern creation unit has: (Condition 1); the Y coordinate is Yj, which is equal to the point of interest, and the X coordinate has a value less than or equal to Xi. A black point of the graphic pattern exists and the Y coordinate is equal to the point of interest
Yj, and there exists a graphic pattern black point whose X coordinate is greater than or equal to Xi; (Condition 2); The X coordinate is Xi, which is equal to the point of interest, and the Y coordinate is less than or equal to Yj. exists and the X coordinate is equal to the point of interest
There is a black point of a graphic pattern that is (1) A point of interest that satisfies condition 1 and condition 2; (2) A point of interest that satisfies either condition 1 or condition 2; (3) A point of interest that satisfies condition 1. A figure recognition device characterized in that points of interest are classified into three types: points of interest that do not satisfy condition 2;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57073334A JPS58191084A (en) | 1982-05-04 | 1982-05-04 | Graphic recognizer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57073334A JPS58191084A (en) | 1982-05-04 | 1982-05-04 | Graphic recognizer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58191084A JPS58191084A (en) | 1983-11-08 |
| JPH0122666B2 true JPH0122666B2 (en) | 1989-04-27 |
Family
ID=13515162
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57073334A Granted JPS58191084A (en) | 1982-05-04 | 1982-05-04 | Graphic recognizer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58191084A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6120179A (en) * | 1984-07-05 | 1986-01-28 | Omron Tateisi Electronics Co | Two-dimensional visual recognition device |
| JPH0644292B2 (en) * | 1984-07-09 | 1994-06-08 | オムロン株式会社 | Two-dimensional visual recognition device |
-
1982
- 1982-05-04 JP JP57073334A patent/JPS58191084A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58191084A (en) | 1983-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2739130B2 (en) | Image processing method | |
| US6917720B1 (en) | Reference mark, method for recognizing reference marks and method for object measuring | |
| JPH0122666B2 (en) | ||
| JP3460356B2 (en) | Method and apparatus for detecting circle or ellipse | |
| JP2871601B2 (en) | Character string detecting apparatus and method | |
| JP2002133424A (en) | Detecting method of inclination angle and boundary of document | |
| US7139429B2 (en) | Image recognition scheme | |
| JPS6214277A (en) | Image processing method | |
| JP2785747B2 (en) | Character reader | |
| JP2647456B2 (en) | Halftone dot area separation device | |
| JPS6360322B2 (en) | ||
| JP2941322B2 (en) | Drawing processing equipment | |
| JP2002236925A (en) | Image inspection equipment | |
| JPH0545992B2 (en) | ||
| JPH0130183B2 (en) | ||
| JP2647455B2 (en) | Halftone dot area separation device | |
| KR940011699B1 (en) | Contour Extraction Method of Binary Image | |
| JP2882056B2 (en) | How to identify specific patterns | |
| JPH0721822B2 (en) | Fingerprint image center point detection method | |
| JPH0632080B2 (en) | Character recognition method | |
| JPH0120789B2 (en) | ||
| JPH08115381A (en) | Form input method and device | |
| JPS5951026B2 (en) | Image matching device | |
| JPH11232463A (en) | Picture recognizing device and method therefor | |
| JPS6019285A (en) | Stroke extracting method |