JPS6292085A - Recognizing system for symmetrical characteristics of graphic form - Google Patents

Recognizing system for symmetrical characteristics of graphic form

Info

Publication number
JPS6292085A
JPS6292085A JP60232422A JP23242285A JPS6292085A JP S6292085 A JPS6292085 A JP S6292085A JP 60232422 A JP60232422 A JP 60232422A JP 23242285 A JP23242285 A JP 23242285A JP S6292085 A JPS6292085 A JP S6292085A
Authority
JP
Japan
Prior art keywords
symmetrical
image data
graphic form
symmetry
input image
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
JP60232422A
Other languages
Japanese (ja)
Inventor
Yasukazu Ito
伊藤 能一
Masashige Yamamoto
山本 正成
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60232422A priority Critical patent/JPS6292085A/en
Publication of JPS6292085A publication Critical patent/JPS6292085A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To recognize accurately the contents of the symmetrical characteristics of a graphic form even though this symmetrical graphic form has some distortions, by using the detailed contents of the pattern symmetrical characteristics as the feature parameter of the graphic form. CONSTITUTION:A symmetrical picture data producing means 110 produces the symmetrical picture data on the symmetrical graphic form obtained by giving a symmetrical shift to the relevant graphic form based on the input picture data. A symmetrical characteristics recognizing part 120 recognizes the symmetrical characteristics of the graphic form to be recognized based on the input character data or the picture data obtained by processing said input picture data and the symmetrical picture data supplied from the means 110. Thus the symmetrical characteristics of the graphic form can be recognized in detail from the input picture data even though the graphic form to be recognized has some distortions. This detailed symmetrical characteristics is used as a feature parameter for graphic recognition. As a result, the recognizing errors of the graphic form can be decreased.

Description

【発明の詳細な説明】 〔概 要〕 図形の入力画像データからその図形の対称図形に関する
対称画像データを生成し、入力画像データ又はそれを加
工処理(例えば太め処理)した画像データと対称画像デ
ータに基づいて(例えば両者の一致度から)図形の対称
特性を認識する。これにより、図形に多少の歪があって
も、その対称特性を詳細に認識することが出来る。
[Detailed Description of the Invention] [Summary] Symmetrical image data regarding a symmetrical figure of the figure is generated from input image data of the figure, and the input image data or image data obtained by processing it (for example, thickening process) and the symmetrical image data are generated. (for example, based on the degree of agreement between the two). As a result, even if the figure has some distortion, its symmetrical characteristics can be recognized in detail.

〔産業上の利用分野〕[Industrial application field]

本発明は、シンボルや文字等の図形を読み取って得られ
る入力画像データから、その図形の対称特性、例えばそ
の図形が軸対称形あるいは回転対称形であるか等を認識
する図形の対称特性認識方式に関する。
The present invention is a figure symmetry characteristic recognition method that recognizes the symmetry characteristics of a figure, for example, whether the figure is axially symmetrical or rotationally symmetrical, from input image data obtained by reading figures such as symbols and characters. Regarding.

〔従来の技術〕[Conventional technology]

シンボルや文字等の図形を読み取って得られる入力画像
データから元の図形を認識する図形認識方式として、従
来は、入力画像データから抽出された各種の特徴パラメ
タに基づいて認識する方式%式% 第9図は、抽出された特徴パラメタに基づ〈従来の図形
認識方式をブロック図で示したものである。
Conventionally, as a figure recognition method that recognizes the original figure from input image data obtained by reading figures such as symbols and characters, there is a method that recognizes the original figure based on various characteristic parameters extracted from the input image data. FIG. 9 is a block diagram showing a conventional figure recognition method based on extracted feature parameters.

観測部210は図面に書かれた図形を読み取り、得られ
た入力画像データを前処理部220に送る。
The observation unit 210 reads the figures drawn on the drawing and sends the obtained input image data to the preprocessing unit 220.

前処理部220は、入力画像データに対して雑音除去や
正規化処理を行って、特徴抽出部230に送る。この前
処理を行うことにより、認識率が向上する。
The preprocessing unit 220 performs noise removal and normalization processing on the input image data and sends the data to the feature extraction unit 230 . By performing this preprocessing, the recognition rate improves.

特徴抽出部230は、入力画像データに基づいて、その
図形に関する各種の特徴パラメタを抽出する。抽出され
る特徴には、例えば、直線性、端点、分岐点、交差点、
凹、凸、ループ等及びそれらの位置関係がある。
The feature extraction unit 230 extracts various feature parameters regarding the figure based on the input image data. Extracted features include, for example, straightness, end points, branch points, intersections,
There are concavities, convexities, loops, etc., and their positional relationships.

認識辞書240には、各図形カテゴリに属する図形が持
つべき特徴パラメタのデータが格納されている。
The recognition dictionary 240 stores data on characteristic parameters that figures belonging to each figure category should have.

認識部250は、特徴抽出部230から入力された特徴
パラメタを認識辞書240から読み出された各図形カテ
ゴリの特徴パラメタと対比し、入力画像データから抽出
された特徴パラメタと一致する図形カテゴリを検出して
、入力画像データの図形を認識を行う。
The recognition unit 250 compares the feature parameters input from the feature extraction unit 230 with the feature parameters of each figure category read from the recognition dictionary 240, and detects a figure category that matches the feature parameters extracted from the input image data. Then, the shape of the input image data is recognized.

〔発明が解決しようとする問題点3 図面に書かれる図形中には、軸対称図形や回転対称図形
等、対称性を持った図形が多く、特に図面に書かれる設
計情報としての図形に対称性の図形が多い。
[Problem to be solved by the invention 3 There are many figures drawn in drawings that have symmetry, such as axially symmetric figures and rotationally symmetric figures, and especially figures written as design information in drawings have symmetry. There are many shapes.

この様な対称性の図形を手書きで記入すると、正しい対
称性の図形を書くことが困難の為、実際に記入される対
称性の図形は、正しい対称性の図形から多少ずれたもの
となる。
If such a symmetrical figure is drawn by hand, it is difficult to draw the correct symmetrical figure, so the symmetrical figure actually drawn will be slightly deviated from the correct symmetrical figure.

然しなから、従来の図形認識方式において抽出される特
徴パラメタは、前述の様に直線性、端点、分岐点、凹、
凸、ループ、交差点等及びそれ等の位置関係であり、図
形の対称特性の詳細な内容は抽出される特徴パラメタと
なっていなかった。この為、従来の図形認識方式では、
対称図形として記入した図形に多少の歪がある場合、そ
れが対称性の無い他の図形と誤って認識されることが多
いという問題があった。
However, as mentioned above, the feature parameters extracted in conventional figure recognition methods include linearity, end points, branch points, concavity,
These are convexities, loops, intersections, etc., and their positional relationships, and the detailed contents of the symmetry characteristics of the figure are not extracted feature parameters. For this reason, in conventional figure recognition methods,
When a figure entered as a symmetrical figure has some distortion, there is a problem in that it is often mistakenly recognized as another figure without symmetry.

本発明は、図形の対称特性の詳細な内容を図形の特徴パ
ラメタとすることにより、図面に対称図形として記入さ
れた図形に多少の歪があっても図形の認識が正しく行わ
れる様になることに鑑み、図形の特徴抽出処理の一環と
して図面に記入された対称図形に多少の歪があっても、
その対称特性の内容を確実に認識出来る図形の対称特性
認識方式を提供することを目的とする。
The present invention makes it possible to recognize the figure correctly even if there is some distortion in the figure drawn as a symmetric figure in a drawing by using the detailed content of the symmetry characteristic of the figure as the feature parameter of the figure. Considering this, even if there is some distortion in the symmetrical figure drawn in the drawing as part of the figure feature extraction process,
The object of the present invention is to provide a method for recognizing symmetry properties of figures that can reliably recognize the contents of the symmetry properties.

〔問題点を解決するための手段〕[Means for solving problems]

従来の図形認識方式における前述の問題点を解決する為
に本発明が講じた手段を、第1図を参照して説明する。
The means taken by the present invention to solve the above-mentioned problems in the conventional figure recognition system will be explained with reference to FIG.

第1図は、本発明の構成をブロック図で示したものであ
る。
FIG. 1 is a block diagram showing the configuration of the present invention.

第1図において、110は対称画像データ生成手段で、
認識される図形から得られる入力画像データに基づいて
その図形を対称移動した対称図形に関する対称画像デー
タを生成する。
In FIG. 1, 110 is symmetrical image data generation means;
Based on input image data obtained from the recognized figure, symmetrical image data regarding a symmetrical figure obtained by symmetrically moving the figure is generated.

120は対称特性認識手段で、入力画像データ又はそれ
を加工処理した画像データと対称画像データに基づいて
図形の対称特性を認識する。
Symmetry characteristic recognition means 120 recognizes the symmetry characteristic of a figure based on input image data or image data obtained by processing the input image data and symmetric image data.

〔作 用〕[For production]

認識対称である図形から得られる入力画像データ又はそ
れを加工処理した画像データが、対称画像データ生成手
段110及び対称特性認識手段120に加えられる。
Input image data obtained from a figure that is a recognition symmetry or image data obtained by processing the same is applied to a symmetric image data generation means 110 and a symmetric characteristic recognition means 120.

対称画像データ生成手段110は、入力画像データに基
づいて、その図形を対称移動した対称図形に関する対称
画像データを生成する。図形の対称移動処理には、図面
をX軸やY軸を含む所定の軸に対して対称な位置に反転
する反転移動処理、原点に対して図形を所定角度回転す
る回転移動処理がある。
The symmetrical image data generating means 110 generates symmetrical image data regarding a symmetrical figure obtained by symmetrically moving the figure based on the input image data. Symmetrical movement processing of a figure includes a reversal movement process in which the drawing is reversed to a symmetrical position with respect to a predetermined axis including the X-axis and the Y-axis, and a rotational movement process in which the figure is rotated by a predetermined angle with respect to the origin.

対称特性認識手段120は、入力画像データ又はそれを
加工処理した画像データと対称画像データ生成手段11
0より入力された対称画像データに基づいて、認識対称
となっている図形の対称特性、例えばどの軸に対して対
称であるか、何度の回転角度に対して対称であるか等を
認識する。
The symmetrical characteristic recognition means 120 uses input image data or image data obtained by processing the input image data and the symmetrical image data generation means 11.
Based on the symmetrical image data input from 0, recognize the symmetrical characteristics of the figure that is symmetrical, such as which axis it is symmetrical about, how many rotation angles it is symmetrical about, etc. .

1つの図形から得られる対称特性の数は1個に限らず、
例えば正方形の様に複数になる場合がある。
The number of symmetrical properties obtained from one figure is not limited to one,
For example, there may be a plurality of squares.

以上の様にして、認識される図形に多少の歪があって、
人力画像データからその図形の対称特性を詳細に認識す
ることが出来る。そして、この詳細な対称特性を図形認
識時の特徴パラメタとすることにより、図形の認識誤差
を低減させることが出来る。
As described above, there is some distortion in the recognized figure,
The symmetrical characteristics of a figure can be recognized in detail from human image data. By using this detailed symmetry characteristic as a feature parameter during figure recognition, it is possible to reduce figure recognition errors.

〔実施例〕〔Example〕

本発明の一実施例を、第2図〜第8図を参照し7て説明
する。
An embodiment of the present invention will be described with reference to FIGS. 2 to 8.

第2図は本発明の一実施例の構成のブロック説明図、第
3図は同実施例における被認識図形の説明図、第4図は
同実施例に用いられる平滑フィルタパターンの説明図、
第5図は同実施例に用いられる太めの処理パターン及び
太め処理の説明図、第6図は同実施例における図形中心
選出処理の説明図、第7図は同実施例における対称画像
データ生成処理の説明図、第8図は同実施例における対
−作詩性認識処理の説明図である。
2 is an explanatory block diagram of the configuration of an embodiment of the present invention, FIG. 3 is an explanatory diagram of a figure to be recognized in the embodiment, and FIG. 4 is an explanatory diagram of a smoothing filter pattern used in the embodiment.
FIG. 5 is an explanatory diagram of the thick processing pattern and thick processing used in the same embodiment, FIG. 6 is an explanatory diagram of the figure center selection process in the same embodiment, and FIG. 7 is a symmetrical image data generation process in the same embodiment. FIG. 8 is an explanatory diagram of the lyricism recognition process in the same embodiment.

(構成の説明) 第2図において、対称画像データ生成手段110及び対
称特性認識手段120については、第1図で示した通り
である。
(Description of Configuration) In FIG. 2, the symmetric image data generation means 110 and the symmetric characteristic recognition means 120 are the same as shown in FIG.

対称画像データ生成手段110において、111は図形
中心選出部で、認識される図形の中心位置を選出する。
In the symmetrical image data generation means 110, a figure center selection section 111 selects the center position of the figure to be recognized.

112は対称画像データ生成部で、入力画像データから
認識される図形の各種対称画イY−データを生成する。
Reference numeral 112 denotes a symmetrical image data generation unit that generates various symmetrical image Y-data of figures to be recognized from input image data.

130は平滑化処理部で、人力画像データを平滑化する
処理を行う。
130 is a smoothing processing unit that performs processing for smoothing human image data.

140は太め処理部で、入力画像データに対する加工処
理として、平滑化処理された入力画像データに太め処理
を施す。
Reference numeral 140 denotes a thickening processing unit that performs thickening processing on smoothed input image data as a processing process for the input image data.

(動作説明) 第2図の動作を、第3図〜第8図を参照し、各構成部分
の動作に分けて説明する。
(Description of Operation) The operation shown in FIG. 2 will be explained by dividing the operation of each component with reference to FIGS. 3 to 8.

(A)平滑部130の動作説明 平滑部130の動作を、第3図及び第4図を参照して説
明する。
(A) Description of operation of smoothing section 130 The operation of the smoothing section 130 will be explained with reference to FIGS. 3 and 4.

第3図において、白ドツトは台形状のシンボルからなる
図形PS、を示し、黒ドツトは図形PS、より1画素飛
出した雑音PN (PN、〜PNS)を表わす。なお、
PSoとPNは同じレベル(例えばH)であるが、両者
をわかりやすく区別する為に白ドツト及び黒ドツトで示
したものである。
In FIG. 3, the white dots represent a figure PS consisting of a trapezoidal symbol, and the black dots represent noise PN (PN, .about.PNS) that is one pixel beyond the figure PS. In addition,
Although PSo and PN are at the same level (for example, H), they are shown with white dots and black dots in order to easily distinguish between them.

図形ps、の近傍に存在する孤立点からなる雑音や、図
形psから1画素以上飛出したひげ状の雑音は公知の各
種の平滑処理によって容易に除去されるが、第4図に示
した様な1画素飛出した雑音PNは、消去されず残存す
ることが多い。
Noise consisting of isolated points existing in the vicinity of the figure ps, and whisker-like noise that protrudes by one or more pixels from the figure ps can be easily removed by various known smoothing processes, but as shown in FIG. The noise PN that jumps out by one pixel is often not erased and remains.

この様な雑音PNが残存すると、図形PSの中心が正し
く求まらず、又、図形PS、と対称移動処理した対称図
形との一致度が不正確になるので(この点については、
後述の(E)対称特性認識手段の動作説明参照)、平滑
化処理部130は、孤立点やひげ状の雑音と共に、この
様な雑音PNを除去する処理を行う。以下、雑音PNの
除去処理について説明する。
If such noise PN remains, the center of the figure PS will not be found correctly, and the degree of coincidence between the figure PS and the symmetric figure subjected to the symmetric movement process will be inaccurate (about this point,
(Refer to (E) Operation description of symmetrical characteristic recognition means described later), the smoothing processing unit 130 performs processing to remove such noise PN as well as isolated point and whisker-like noise. The noise PN removal process will be described below.

第4図には、3×3ドツト形弐の平滑フィルタパターン
(PATH)が20種類(PATs+〜PARsz。)
示されている。白丸は図形の画素、黒丸は黒画素を示す
。なお、両者は同じレベル(例えばH)であるが、両者
の区別を解りやすくする為、白丸及び黒丸で示したもの
である。
In Figure 4, there are 20 types of 3x3 dot-shaped smoothing filter patterns (PATH) (PATs+ to PARsz).
It is shown. White circles indicate pixels of the figure, and black circles indicate black pixels. Note that although both are at the same level (for example, H), in order to make the distinction between the two easier to understand, they are shown as white circles and black circles.

平滑化処理部130は、入力画像データ中に第5図に示
す20種類のパターンのいずれがか検出されたときは、
中央の黒画素(Hレベル)を白画素(Lレベル)に書き
変える処理を行う。
When the smoothing processing unit 130 detects any of the 20 types of patterns shown in FIG. 5 in the input image data,
Processing is performed to rewrite the central black pixel (H level) to a white pixel (L level).

これにより、図形ps、に残存する雑音PNを全て除去
することが出来る。例えば、PN、はパターンPAT、
、により、PN、はパターンPA T s lzにより
、PN、はパターンPATs+aにより、PN4はパタ
ーンFATS+6により、PN5はパターンPATS2
゜により、それぞれ除去される。
This makes it possible to remove all the noise PN remaining in the figure ps. For example, PN is pattern PAT,
, PN is based on the pattern PA T s lz, PN is based on the pattern PATs+a, PN4 is based on the pattern FATS+6, and PN5 is based on the pattern PATS2.
Each is removed by ゜.

(B)太め処理部146の動作説明 太め処理部140の動作を、第5図を参照して説明する
(B) Description of operation of thick processing section 146 The operation of thick processing section 140 will be explained with reference to FIG.

図面に記入される図形が手書きの場合、図形を構成する
線には小さな凹凸や湾曲等の歪が多い。この様な図形周
辺の歪は、周辺の平滑処理により除去することが可能で
あるが、その処理は複雑である。
When figures drawn on a drawing are drawn by hand, the lines that make up the figures often have distortions such as small irregularities and curvatures. Such distortion around the figure can be removed by smoothing the periphery, but this process is complicated.

然しなから、図形に太めの処理を施すことにより前述の
図形歪みを容易に除去し、且つ図形の対称特性を良好に
認識することが出来る。本発明は、この新規な知見に基
づいて、久方画像データに太め処理を行う様にしたもの
である。
However, by processing the figure to make it thicker, the above-mentioned figure distortion can be easily removed and the symmetrical characteristics of the figure can be better recognized. The present invention is based on this new knowledge to perform thickening processing on the Kugata image data.

第5図(B)は、太め処理パターン(PAT、)を示し
たものである。太め処理パターンFAT。
FIG. 5(B) shows a thick processing pattern (PAT). Thick processing pattern FAT.

は3×3ドツト形弐のパターンで、中央に黒画素(Hレ
ベル)が検出されたときは、8近傍で隣接する白画素子
(1〜8、Lレベル)は全て黒画素に変更される。
is a 3x3 dot pattern 2, and when a black pixel (H level) is detected in the center, all adjacent white pixels (1 to 8, L level) in the 8 neighborhood are changed to black pixels. .

第5図(A)は、図形Psoに太め処理パターンPAT
、による太め処理を1回旋した場合に得られ拡張図形P
Seを示したものである。
FIG. 5(A) shows a thick processing pattern PAT on the figure Pso.
The extended figure P obtained by performing one round of thick processing by ,
This shows Se.

白ドツトが元の図形PSoを示し、黒ドツトが太め処理
によって拡張された図形部分を示す。
The white dots indicate the original figure PSo, and the black dots indicate the figure parts expanded by the thickening process.

なお、両者が実際は同じレベルであることは、既に説明
した通りである。
Note that, as already explained, the two are actually at the same level.

太め処理は、1回又は複数回行われるが、その回数は、
図形PSoに存在する歪量に対応して適宜選定される。
The thickening process is performed once or multiple times, and the number of times is as follows:
It is appropriately selected depending on the amount of distortion existing in the figure PSo.

歪量の多い程、太め処理の回数は多くなる。もし、図形
PSoが正確に記入された場合は、この太め処理は特に
必要でない。
The greater the amount of distortion, the greater the number of thickening processes. If the figure PSo is filled in accurately, this thickening process is not particularly necessary.

(C)図形中心選出部111の動作説明図形中心選出部
111の動作を、第6図を参照して説明する。
(C) Description of Operation of Graphic Center Selection Unit 111 The operation of the graphic center selection unit 111 will be explained with reference to FIG.

図形の中心は、第6図に示す様に、平滑化処理部130
によって平滑化処理された図形ps。
The center of the figure is located at the smoothing processing unit 130, as shown in FIG.
The figure ps is smoothed by ps.

を囲む最小の矩形RECTを求め、この矩形RECTの
中心Cpを図形の中心とする。 求められた図形中心C
pの座標データは、対称画像データ生成部112及び太
め処理部140に加えられる。
The minimum rectangle RECT surrounding the figure is determined, and the center Cp of this rectangle RECT is set as the center of the figure. Obtained figure center C
The coordinate data of p is applied to the symmetric image data generation section 112 and the thick processing section 140.

(D)対称画像データ生成部112の動作説明対称画像
データ生成部112の動作を、第7図を参照して説明す
る。
(D) Description of Operation of Symmetrical Image Data Generation Unit 112 The operation of the symmetrical image data generation unit 112 will be explained with reference to FIG.

対称画像データ生成部112は、第7図に示す様に、元
の図形p s−oのX軸対称図形PSK、Y軸対称図形
PS7.90″回転図形ps、。、180°回転図形P
S+a。、2706回転図形PSZ?Oに対する各対称
画像データを生成する。
As shown in FIG. 7, the symmetrical image data generation unit 112 generates an X-axis symmetrical figure PSK, a Y-axis symmetrical figure PS7.90'' rotated figure ps, ., a 180° rotated figure P of the original figure ps-o.
S+a. , 2706 rotating figure PSZ? Each symmetrical image data for O is generated.

いま、対称移動処理前の図形ps、の座標を(x 、 
y)とし、対称移動処理後の各対称図形の対応する座標
を(X 、 Y)とすると、各対称図形の対称画像デー
タは、次の各計算によって求めることが出来る。
Now, the coordinates of the figure ps before the symmetrical movement process are (x,
y) and the corresponding coordinates of each symmetrical figure after the symmetrical movement process are (X, Y), then the symmetrical image data of each symmetrical figure can be obtained by the following calculations.

(aJ  X軸対称図形psXの対称画像データX=x
  t  Y=−y (b)  Y軸対称図形PSvの対称画像データX=−
x、Y=y (C190°回転図形PS、。の対称画像データ’)C
=−y  、  Y=x (dl180°回転図形PS+aoの対称画像データX
=−x、Y=−y (e1270°回転図形PS、、。の対称画像データX
=y、Y=−x なお、図形中心Cpの座標は、この様な各座標変換によ
っては変化しない。
(aJ Symmetrical image data of X-axis symmetrical figure psX
t Y=-y (b) Symmetrical image data X=- of Y-axis symmetrical figure PSv
x, Y=y (symmetrical image data of C190° rotated figure PS,.) C
=-y, Y=x (symmetrical image data X of dl180° rotated figure PS+ao
=-x, Y=-y (e1270° rotated figure PS,... Symmetrical image data X
=y, Y=-x Note that the coordinates of the figure center Cp do not change due to each of these coordinate transformations.

(Eン対作詩性認識手段120の動作説明対称特性認識
手段120の動作を、第8図を参照して説明する。
(Explanation of operation of symmetric characteristic recognition means 120) The operation of the symmetry characteristic recognition means 120 will be explained with reference to FIG.

太め処理して得られた拡張図形ps、と対称図形(例え
ば1800回転図形PS+ao)を、第9図に示す様に
両者の図形中心Cpを一致させて重ね合わせ、両者の重
なりの一致度を測る。
The enlarged figure ps obtained by the thickening process and the symmetrical figure (for example, 1800 rotation figure PS+ao) are overlapped with their figure centers Cp aligned as shown in Fig. 9, and the degree of coincidence of the overlap between the two is measured. .

−成度は、対称図形の全画素数(これは元の図形PSo
の全画素数と一致する)と、対称図形が拡張図形PS、
と重なり合わない部分の画素数の比率でもって定義され
る。
- The degree is the total number of pixels of the symmetric figure (this is the original figure PSo
), and the symmetrical figure is an extended figure PS,
It is defined as the ratio of the number of pixels in the area that does not overlap with the .

第8図において、180’回転図形Psis。In FIG. 8, the 180' rotation figure Psis.

の全画素数は67 (これは元の図形PS、の画素数に
等しい)であり、拡張図形PS、と重なり合った部分の
画素数(■で示される)は45個であり、重なり合わな
い部分の画素数(黒丸で示される)は22個である。従
って、その−成度は22/67である。同様にして、他
の対称図形についてそれらの一致度を測ると、次の結果
が得られる。
The total number of pixels is 67 (this is equal to the number of pixels in the original figure PS), and the number of pixels in the part that overlaps with the extended figure PS (indicated by ■) is 45, and in the part that does not overlap The number of pixels (indicated by black circles) is 22. Therefore, its -significance is 22/67. Similarly, if we measure the degree of matching for other symmetric figures, we get the following results.

(a)  X軸対称図形PSX :0/67=O%Cb
l  Y軸対称図形psV :23/67=34%(C
190’回転図形PS9゜:14/67=21%(d1
180°回転図形P S+ao  : 22/ 67=
33% te1270°回転図形P 5zvo  : l 2/
 67=18% この結果から明らかな様に、−成度が大きい場合には、
その図形は対称でなく、−成度が小さい場合にはその図
形は対称であると判定され、且つその一致度に対応する
対称図形から、元の図形ps、の対称特性を認識するこ
とが出来る。
(a) X-axis symmetric figure PSX: 0/67=O%Cb
l Y-axis symmetric figure psV: 23/67=34% (C
190' rotated figure PS9°: 14/67=21% (d1
180° rotated figure P S+ao: 22/ 67=
33% te1270° rotated figure P 5zvo: l 2/
67=18% As is clear from this result, when the -growth is large,
If the figure is not symmetrical and the - degree is small, the figure is determined to be symmetrical, and the symmetrical characteristic of the original figure ps can be recognized from the symmetrical figure corresponding to the degree of coincidence. .

−成度が何%以下の場合には対称図形であると判定する
基準%値は、多くの図形について実際に対称特性の認識
処理を行ったデータに基づいて統計的に選定されるが、
この実施例では10%を基準値とし、それ以下の値の場
合に対称であると判定する。
- The standard percentage value below which a figure is judged to be symmetrical is statistically selected based on data obtained by actually performing recognition processing for symmetry characteristics on many figures.
In this embodiment, 10% is used as a reference value, and if the value is less than 10%, it is determined that it is symmetrical.

基準値を10%とすると、前述の図形PSOは、X軸に
ついてのみ対称であると認識される。
If the reference value is 10%, the above-mentioned figure PSO is recognized to be symmetrical only about the X axis.

対称特性認識手段120は、太め処理部I40から人力
された拡張図形の画像データと対称画像データ生成部1
12から入力された各対称画像データに基づいて、各対
称画像データの一致度を求め、その対称特性を認識する
The symmetrical characteristic recognition means 120 uses the image data of the expanded figure manually generated from the thick processing section I40 and the symmetrical image data generation section 1.
Based on each piece of symmetrical image data input from 12, the degree of coincidence of each piece of symmetrical image data is determined, and its symmetrical characteristics are recognized.

これにより、図形ps、がX軸対称、Y軸対称、90’
回転対称、180°回転対称、270″回転対称である
かどうかを認識することが出来る。
As a result, the figure ps has X-axis symmetry, Y-axis symmetry, and 90'
It is possible to recognize rotational symmetry, 180° rotational symmetry, and 270″ rotational symmetry.

以上、本発明の一実施例について説明したが、本発明の
各構成は、前記実施例の構成のものに限定されるもので
はない。
Although one embodiment of the present invention has been described above, each structure of the present invention is not limited to the structure of the above embodiment.

例えば、対称軸はX軸及びY軸の他、所望する任意の角
度の軸を対称軸として採用することが出来る。回転角度
も9(16,180’、270’以外の任意の角度を選
定することが出来る。
For example, in addition to the X-axis and the Y-axis, any desired angular axis may be employed as the symmetry axis. The rotation angle can also be selected to be any angle other than 9 (16, 180', 270').

対称性の有無を判定する一致度として、重なり合った画
素数と全体の画素数との比率値を採用するようにしても
よい。
A ratio value between the number of overlapping pixels and the total number of pixels may be used as the degree of matching for determining the presence or absence of symmetry.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、認識される図形に
多少の歪があっても、入力画像データからその図形の対
称特性を詳細に認識することが出来る。そして、この詳
細な対称特性を図形認識時の特徴パラメタとすることに
より、図形の誤認誤差を低減させることが出来る。
As described above, according to the present invention, even if the figure to be recognized has some distortion, the symmetrical characteristics of the figure can be recognized in detail from the input image data. Then, by using this detailed symmetry characteristic as a feature parameter during figure recognition, it is possible to reduce misrecognition errors of figures.

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

第1図・・・本発明の詳細な説明図、 第2図・・・本発明の一実施例の構成の説明図、第3図
・・・同実施例における被認識図形の説明図、第4図・
・・同実施例に用いられる平滑フィルタパターン(PA
Ts)の説明図、 第5図・・・同実施例に用いられる太め処理パターン(
PAT、)及び太め処理の説明図。 第6図・・・同実施例における図形中心選出処理の説明
図、 第7図・・・同実施例における対称画像データ生成処理
の説明図、 第8図・・・同実施例における対称特性認識処理の説明
図、 第9図・・・従来の図形認識方式の説明図。 第1図、第2図において、 110・・・対称画像データ生成手段、120・・・対
称特性認識手段、130・・・平滑化処理部、140・
・・太め処理部。
Fig. 1: A detailed explanatory diagram of the present invention; Fig. 2: an explanatory diagram of the configuration of an embodiment of the present invention; Fig. 3: an explanatory diagram of a figure to be recognized in the embodiment; Figure 4・
...Smoothing filter pattern (PA
Explanatory diagram of Ts), Fig. 5... Thick processing pattern used in the same example (
PAT, ) and thickening processing. Figure 6: An explanatory diagram of the figure center selection process in the same embodiment. Figure 7: An explanatory diagram of the symmetrical image data generation process in the same embodiment. Figure 8: Symmetry characteristic recognition in the same embodiment. Explanatory diagram of processing, FIG. 9: An explanatory diagram of a conventional figure recognition method. In FIG. 1 and FIG. 2, 110... Symmetrical image data generation means, 120... Symmetrical characteristic recognition means, 130... Smoothing processing unit, 140...
・Thick processing part.

Claims (4)

【特許請求の範囲】[Claims] (1)認識される図形より得られる入力画像データから
その図形の対称特性を認識する図形の対称特性認識方式
であって、 (a)入力画像データに基づいてその図形を対称移動し
た対称図形に関する対称画像データを生成する対称画像
データ生成手段(110)と、 (b)入力画像データ又はそれを加工処理した画像デー
タと対称画像データに基づいて図形の対称特性を認識す
る対称特性認識手段(120)、 を備えたことを特徴とする図形の対称特性認識方式。
(1) A figure symmetry characteristic recognition method that recognizes the symmetry characteristic of a figure from input image data obtained from the figure to be recognized, which (a) relates to a symmetric figure in which the figure is symmetrically moved based on the input image data; (b) symmetrical image data generation means (110) for generating symmetrical image data; (b) symmetrical characteristic recognition means (120) for recognizing symmetrical characteristics of a figure based on the input image data or the processed image data and the symmetrical image data; ), a method for recognizing symmetry characteristics of shapes.
(2)対称特性認識手段(120)は、入力画像データ
又はそれを加工した画像データと対称画像データの一致
度に基づいて図形の対称特性を認識するものであること
を特徴とする特許請求の範囲第1項記載の図形の対称特
性認識方式。
(2) The symmetrical characteristic recognition means (120) recognizes the symmetrical characteristic of the figure based on the degree of coincidence between the input image data or the image data processed therefrom and the symmetrical image data. A method for recognizing symmetry characteristics of figures as described in scope 1.
(3)入力画像データに対する加工処理が、太め処理で
あることを特徴とする特許請求の範囲第1項記載の図形
の対称特性認識方式。
(3) The graphic symmetry characteristic recognition method according to claim 1, wherein the processing for the input image data is a thickening process.
(4)入力画像データが平滑化処理を施されているもの
であることを特徴とする特許請求の範囲第1項記載の図
形の対称特性認識方式。
(4) A graphic symmetry characteristic recognition method according to claim 1, wherein the input image data has been subjected to smoothing processing.
JP60232422A 1985-10-18 1985-10-18 Recognizing system for symmetrical characteristics of graphic form Pending JPS6292085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60232422A JPS6292085A (en) 1985-10-18 1985-10-18 Recognizing system for symmetrical characteristics of graphic form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60232422A JPS6292085A (en) 1985-10-18 1985-10-18 Recognizing system for symmetrical characteristics of graphic form

Publications (1)

Publication Number Publication Date
JPS6292085A true JPS6292085A (en) 1987-04-27

Family

ID=16939011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60232422A Pending JPS6292085A (en) 1985-10-18 1985-10-18 Recognizing system for symmetrical characteristics of graphic form

Country Status (1)

Country Link
JP (1) JPS6292085A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011112527A (en) * 2009-11-27 2011-06-09 Ckd Corp Tablet inspection device and ptp packaging machine
US8977380B2 (en) 2013-06-28 2015-03-10 Brother Kogyo Kabushiki Kaisha Sewing machine, computer-readable medium storing sewing program, and sewing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6069783A (en) * 1983-09-26 1985-04-20 Hitachi Ltd Picture collation system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6069783A (en) * 1983-09-26 1985-04-20 Hitachi Ltd Picture collation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011112527A (en) * 2009-11-27 2011-06-09 Ckd Corp Tablet inspection device and ptp packaging machine
US8977380B2 (en) 2013-06-28 2015-03-10 Brother Kogyo Kabushiki Kaisha Sewing machine, computer-readable medium storing sewing program, and sewing method

Similar Documents

Publication Publication Date Title
JPS63145577A (en) Pattern data generating method
CN107192716A (en) A kind of workpiece, defect quick determination method based on contour feature
US20020051574A1 (en) Character recognition method, program and recording medium
US20030174907A1 (en) Document image processing apparatus for processing line portions manually input to document image, method therefor, and computer readable recording medium recorded with document image processing program therefor
JPS6292085A (en) Recognizing system for symmetrical characteristics of graphic form
JP2002373334A (en) Device and method for extracting fingerprint characteristic and fingerprint extraction program
CN111027521B (en) Text processing method and system, data processing device and storage medium
JPH065545B2 (en) Figure recognition device
CN115409690B (en) Real-time fundus image mapping method and device
JPS62159292A (en) Recognizing method for position of machine screw hole
JP2882056B2 (en) How to identify specific patterns
JPH096909A (en) Character reader
JPS6019285A (en) Stroke extracting method
CN112733621A (en) Map high-precision information identification method
JPS61163472A (en) Character recognizing device
JP3048718B2 (en) Vertex detector
JP2021149136A (en) Server, method, and program for extracting character string such as serial number
CN115775313A (en) Universal pointer reading identification method based on template matching
JPH02266478A (en) Method for recognizing drawing
JPH10312460A (en) Image processing method and high precision image processor
JPH04156694A (en) Character recognition system
JPH05128309A (en) Edge detecting method for character recognition
JPH07104931B2 (en) Line figure polygonalization method
JPH0434668A (en) Image processor
JPS5943486A (en) Processing system for extracting circle