JPH02176982A - Graphic feature extracting method - Google Patents

Graphic feature extracting method

Info

Publication number
JPH02176982A
JPH02176982A JP63331677A JP33167788A JPH02176982A JP H02176982 A JPH02176982 A JP H02176982A JP 63331677 A JP63331677 A JP 63331677A JP 33167788 A JP33167788 A JP 33167788A JP H02176982 A JPH02176982 A JP H02176982A
Authority
JP
Japan
Prior art keywords
coordinate
data
candidate feature
coordinates
feature 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.)
Pending
Application number
JP63331677A
Other languages
Japanese (ja)
Inventor
Yukio Koga
古賀 由紀夫
Katsumi Hosokawa
勝美 細川
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP63331677A priority Critical patent/JPH02176982A/en
Publication of JPH02176982A publication Critical patent/JPH02176982A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To obtain a feature part without being affected by the small unevenness of a graphic outline by executing computation from the data of three points having data intervals in order to obtain the data of a part which express the feature of a graphic. CONSTITUTION:The coordinates d- and d+, which are separated from a coordinate do forward and backward only by the number of S, are obtained. When a length l of a perpendicular drawn down from a point, which are expressed by the do, to a straight line passing through two points being expressed by the d- and d+, is larger than a reference length lst of the perpendicular set in advance, this coordinate do is defined as the candidate feature point of the graphic. When an angle theta made by a vector direction from the d- toward do and a vector directed from the do to the d+ is larger than a reference angle thetas set in advance, this coordinate do is defined as the candidate feature point of the graphic. Then, the central candidate feature point in a series of the candidate feature points, which have successive adjacent relationship along the sequence of the coordinates, and the candidate feature point not to have the adjacent candidate feature points along the sequence of the coordinates are defined as the regular feature point. Thus, the data of the part to express the feature of the graphic can be efficiently extracted.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、画像処理技術および簡単な数値演算を用い
て図形の特徴を抽出し、かつデータ量を圧縮するための
図形特徴抽出方法に関する。 なお以下各図において同一の符号は同一もしくは相当部
分を示す。
The present invention relates to a graphic feature extraction method for extracting graphic features and compressing the amount of data using image processing techniques and simple numerical operations. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.

【従来の技術】[Conventional technology]

従来、図形の輪郭線のデータを利用して図形の特徴を表
わす部分を抽出し、データ量を圧縮するための方法とし
ては、フリーマンのチェーンコードを用いて輪郭線の追
跡を行い、直線に近似してベクトル化を行う方法がある
.第5図(a)〜(d)はこの方法の概略を説明する図
であり、第6図はこの方法によってベクトル化された輪
郭線の具体例を示す。 第5図(a)は図形の輪郭線の座標列データ、即ち図形
の輪郭線を示す各画素の座標が輪郭線に沿って順番に並
んで格納されている場合のデータ列を示す。同図におい
てa1〜an+1は順次それぞれ閉ループ(輪郭線)a
を表わす一連の画素の座標を示す。但しこの画素の総数
はn個とし、従ってan+1−atである。 同様にbl、b2は閉ループbを表わす一連の画素の座
標の一部を示す。 同図(b)は輪郭線に沿って画素座標を追跡する際の方
向コード(チェーンコードともいう)を示す図で、この
図は対象画素(の座標)を中心とする8個の画素領域に
ついて0〜7の方向コードが割当てられていることを示
す。 そして対象画素に隣接する輪郭線上の追跡方向の画素の
座標がこの方向コードO〜7の何れに該当する位置を占
めるかによって、この対象画素から隣接画素へ向う追跡
方向のコードが定まる。 同図(C)はこのようにして求められたチェーンコード
列を示し、ループaについての輪郭追跡の出発点の座標
a1に次ぐaclは座標a1から隣接座標a2に向う方
向コードを示し、同様にac2は座標a2から隣接座標
a3へ向う方向コードを示す。 以下ac3〜acnはこのように順次、座標a3〜an
について求められた方向コードである。 ループbについても、blは輪郭追跡の出発点の座標、
bcl〜b c3−はループaと同様に求められた方向
コードである。 このように、輪郭線追跡の出発点の位置(座標)alと
n個の方向のコード列で図形のループaの輪郭線を表わ
すことができる。この場合座標列で表わされた第5図(
a)のデータに比べ、チェーンコードで表わされた同図
(C)のデータの方がデータ量が少なくてすむ、しかし
、このままではデータの個数は少なくならないため、さ
らにこれを減らすために、チェーンコードデータ列の隣
合った方向コードの変化を調べ、同図の(d)のように
同図(C)の方向コードの列の部分を、方向コードと、
該コードと同じ値の方向コードの連続する個数(つまり
方向ベクトルの長さ)との組からなるベクトルのデータ
列に置換える。
Conventionally, the method of extracting the parts that represent the features of a figure using contour line data and compressing the amount of data is to trace the contour line using Freeman's chain code and approximate it to a straight line. There is a way to vectorize it. 5(a) to 5(d) are diagrams for explaining the outline of this method, and FIG. 6 shows a specific example of a contour line vectorized by this method. FIG. 5(a) shows coordinate string data of the outline of a figure, that is, a data string in which the coordinates of each pixel indicating the outline of the figure are stored in order along the outline. In the same figure, a1 to an+1 are sequentially closed loops (contour lines) a
The coordinates of a series of pixels representing . However, the total number of pixels is n, and therefore an+1-at. Similarly, bl and b2 indicate part of the coordinates of a series of pixels representing the closed loop b. Figure (b) shows the direction code (also called chain code) used when tracing pixel coordinates along the contour line. Indicates that a direction code of 0 to 7 is assigned. The code of the tracking direction from the target pixel to the adjacent pixel is determined depending on which of the direction codes O to 7 the coordinates of the pixel in the tracking direction on the contour line adjacent to the target pixel corresponds to. Figure (C) shows the chain code string obtained in this way, and acl, which follows the coordinate a1 of the starting point of contour tracing for loop a, indicates the direction code from coordinate a1 to adjacent coordinate a2, and similarly ac2 indicates a direction code from coordinate a2 to adjacent coordinate a3. Below, ac3 to acn are sequentially changed to coordinates a3 to an
This is the direction code obtained for . Also for loop b, bl is the coordinate of the starting point of contour tracing,
bcl~bc3- are direction codes obtained in the same way as loop a. In this way, the contour of the loop a of the figure can be expressed by the position (coordinates) al of the starting point of contour tracing and the code strings in n directions. In this case, Fig. 5 (
Compared to the data in a), the data in the same figure (C) represented by the chain code requires less data.However, as it is, the number of data will not decrease, so in order to further reduce it, Examine changes in adjacent direction codes in the chain code data string, and as shown in (d) in the same figure, change the part of the direction code column in (C) to the direction code,
It is replaced with a vector data string consisting of a set of the code and the number of consecutive direction codes having the same value (that is, the length of the direction vector).

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら以上のような従来の方法では、次のような
問題がある。 例えば図形の手書きの輪郭線のように僅かながらも凹凸
がある場合には、そこで必ずベクトルが分割されるので
、大局的に見て対象とする輪郭部が直線であり1本のベ
クトルとみなしたいような場合においても、このような
ほぼ直線状の輪郭部が複数のベクトルに分かれてしまい
、効率のよいデータ圧縮が行えない場合がある。 そこでこの発明の課題は、従来の技術がもつ以上の問題
を解決し、図形の輪郭線座標列データからその図形の特
徴を表す部分のデータを効率よく抽出できる図形特徴抽
出方法を提供することにある。
However, the conventional methods described above have the following problems. For example, if there is a slight unevenness, such as a hand-drawn outline of a figure, the vector will always be divided at that point. Even in such a case, such a substantially linear contour may be divided into a plurality of vectors, and efficient data compression may not be possible. Therefore, it is an object of the present invention to provide a figure feature extraction method that solves the problems of the conventional techniques and can efficiently extract data representing the features of a figure from outline coordinate string data of the figure. be.

【課題を解決するための手段】[Means to solve the problem]

前記の課題を解決するために、この発明の方法は、r対
象図形の2値化画像内の輪郭線に含まれる特徴点を抽出
する方法であって、 前記輪郭線を表わす画素列についての座標列のデータを
求めたのち、 この座標列上において、対象とする座標(d。 なと、以下第1の座標という)より、その前後に所定個
数の座標(データ間隔Sなど)を距てた計2つの座標(
d+、d−など、以下それぞれ第2゜第3の座標という
)を求め、 前記第2および第3の座標を結ぶ直線へ、前記第1の座
標から下した垂線の長さ(pなど)が、所定長(41!
stなど)より長いか、または前記第3の座標から前記
第1の座標へ向うベクトルと、前記第1の座標から前記
第2の座標へ向うベクトルとのなす角(θなど)が所定
角(θstなど)より大きいときは当該の第1の座標を
候補特徴点とするようにして、前記座標列の角座標を順
次前記第1の座標に選びながら全ての前記候補特徴点を
求め、 前記候補特徴点のうち、前記座標列に沿って順次隣接す
る関係にある一連の候補特徴点中の中央の候補特徴点、
および 前記座標列に沿う隣接の候補特徴点を持たぬ候補特徴点
を、 正規の特徴点(ベクトルデータなど)とするように1す
るものとする。
In order to solve the above-mentioned problems, the method of the present invention is a method of extracting feature points included in a contour line in a binarized image of an r-target figure, the method comprising: After obtaining the data for the column, on this coordinate column, distance a predetermined number of coordinates (data interval S, etc.) before and after the target coordinate (d., hereinafter referred to as the first coordinate). A total of two coordinates (
d+, d-, etc., hereinafter referred to as the second and third coordinates), and calculate the length of the perpendicular line (p, etc.) drawn from the first coordinate to the straight line connecting the second and third coordinates. , predetermined length (41!
st, etc.), or the angle (such as θ) between the vector from the third coordinate to the first coordinate and the vector from the first coordinate to the second coordinate is a predetermined angle ( θst, etc.), the first coordinates are set as candidate feature points, and all the candidate feature points are determined while sequentially selecting the angular coordinates of the coordinate string as the first coordinates; Among the feature points, a central candidate feature point among a series of candidate feature points that are sequentially adjacent to each other along the coordinate string;
And candidate feature points that do not have an adjacent candidate feature point along the coordinate string are set to 1 so that they are regular feature points (vector data, etc.).

【作 用】[For use]

図形の輪郭線座標列データ中の対象とする成る座標デー
タdoに対し、doから前後に設定データ数Sだけ離れ
た2つの座標データd−d+を考えたとき、 1)d+、d−で表わされる2点を・通る直線にd。 で表わされる点からおろした垂線の長さ2が、あらかじ
め設定された垂線の基準長さfstより大きいときはこ
の座標データdoを図形の特徴を表す部分のデータとし
て抽出したうえ、ベクトルデータを作成する。 2)d−からdoに向うベクトルと、doからd+に向
うベクトルとのなす角度θがあらかじめ設定された基準
角度θstより大きいときはこの座標データdoを図形
の特徴を表す部分のデータとして抽出したうえ、ベクト
ルデータ列を作成する。
When considering two coordinate data d-d+ that are separated by the set number of data S before and after do with respect to target coordinate data do in the outline coordinate string data of a figure, 1) Expressed as d+, d- A straight line passing through the two points d. When the length 2 of the perpendicular line drawn from the point represented by is larger than the preset reference length fst of the perpendicular line, this coordinate data do is extracted as data representing the feature of the figure, and vector data is created. do. 2) When the angle θ between the vector from d- to do and the vector from do to d+ is larger than a preset reference angle θst, this coordinate data do is extracted as data representing the feature of the figure. Well, create a vector data sequence.

【実施例】【Example】

以下第1図ないし第4図に基づいて本発明の詳細な説明
する。 第1図は輪郭線に本発明を適用する原理図、第2図は輪
郭線から抽出された特徴部分の例を示す図、第3図は輪
郭線座標列データの形式の例を示す図、第4図は本発明
の手順を示すフローチャートである。 第3図のように輪郭線座標列のデータには始めに閉ルー
プの番号を示す記号31が置かれ、次に座標列データが
X、y座標の組ごとに順番に並び、最後にその閉ループ
の最後の輪郭線座標データが入っているものとし、これ
が閉ループの数Nだけ一次元に並べられているものとす
る。但しこの場合の座標系は本実施例では直角座標系と
したが本発明は直角座標系に限定されるものではない。 第1図はこのような輪郭線の1部を示す。本発明はこの
輪郭線上において対象座標doの前方に所定のデータ間
隔S(この例では座標個数11個)だけ距った座標d+
と、同じく対象座標doの後方に同じくデータ間隔Sだ
け距った座標d−とを求め、この座標d+、d−を結ぶ
直線に座標d。 から下した垂線の長さlが予め設定された長さ1stよ
り長いときは座標点doを特徴点の候補(候補特徴点と
いう)とする。 また垂線長さ2の代りに、座標d−からdoに向うベク
トルと、座標doからd+に向うベクトルとのなす角θ
が所定のθstより大きいとき、座標doを候補特徴点
とする方法を用いてもよい。 次に第1図、第3図を参照しつつ、第4図を説明する。 まず第4図(a)においてステップS1では第3図のよ
うに輪郭線座標列データを作成する。 次にステップS2で第1図のデータ間隔Sと基準型線長
lstとを設定する0次のステップ32Aではループ番
号を指定するパラメータiを1に初期設定し、またステ
ップ32Bではループ番号iの輪郭線座標列データ内に
おいて対象とする座標データdoの番号(順番)jを1
に初期設定する。 そしてステップS3でループ番号iの輪郭線座標列デー
タ中の3番目の座標データdoに対し、ステップS2で
設定されたデータ間隔Sだけ前後にそれぞれ離れた2点
の座標データd+、d−を通る直線の方程式を計算によ
り求める。 次にステップ3で求めた直線に点doからおろした垂線
の長さlを計算により求める(ステップ4)。この垂線
長lをステップS2で設定しておいた基準型線長1is
tと比較し、!が1st以上であれば点doは候補特徴
点として、その座標データはそのまま残し、lが1st
未満であればdoの座標データを“0”°として、新し
いデータ列を作成していく(ステップ35)。このとき
の基準型線長1stの設定方法としては、例えば輪郭線
座標デー−タ列から輪郭線が直角にまがる部分のデータ
を抽出しようとするときは、 l s t # S /J”r+数(%)程度の値を設
定すればよいことになる。 前記のステップ33〜S5の処理を座標データdoの番
号jを順次インクリメントしながら(ステップ55A)
、j=nNに至るまで、つまり当8亥ループ内の全画素
について行い(ステップ35B)、さらにこの処理をル
ープ番号iをインクリメントしながら(35G) 、i
 =Nに至るまで、つまり全てのループについて行い、
候補特徴点の座標データと0°゛の座標データとからな
る輪郭線の座標データ例を求める。 次は第4図0))の処理によって候補特徴点のデータ群
を圧縮して正規の特徴点を求める。即ちステップS6に
おいて前記のステップ5により、抽出したい候補特徴点
の座標データはそのままに残し、他は“0”′にしたが
、さらにデータ量を減らしてベクトルデータ列を作成す
るために、O”にならなかったデータ列の中から、前後
を“0”で挟まれた座標データ列中の中央の点の座標デ
ータ(ベクトルデータという)のみを残し、その他のデ
ータは除くものとする。そうすれば図形の直角部分の代
表の特徴点の座標としてのベクトルデータを得ることが
できる。このステップS6の処理を第4図(a)と同様
にパラメータj−1〜nN、i−1〜Nについて、つま
りループ内画素、全ループについて行う。 第2図の斜線入りの画戸はこのようにして候補特徴点と
して残された画素を示し、空白の画素は央の画素、つま
りこの特徴部を代表する座標(ベクトルデータ)を示す
。 以上では輪郭線の直角部分を抽出する場合について述べ
たが、データ間隔S、基準垂直線fstを変えることに
より任意の角度の頂点部分を抽出することが可能である
。 次に図形の特徴を表す部分を抽出する別の方法として、
前記のステップ33,34.35では垂線長2を用いた
のみ対し、ベクトルd−,doとベクトル石π7オとの
なす角度θがあらかじめ設定された基準角度θst以上
であるか否かに応じて点doの座標データを残すか“0
”とするかとする方法もある。
The present invention will be explained in detail below based on FIGS. 1 to 4. FIG. 1 is a diagram showing the principle of applying the present invention to contour lines, FIG. 2 is a diagram showing an example of feature parts extracted from the contour line, and FIG. 3 is a diagram showing an example of the format of contour line coordinate string data. FIG. 4 is a flowchart showing the procedure of the present invention. As shown in Fig. 3, the symbol 31 indicating the number of the closed loop is placed first in the data of the contour coordinate string, then the coordinate string data is arranged in order for each pair of X, y coordinates, and finally, the symbol 31 indicating the closed loop number is placed. It is assumed that the last contour line coordinate data is included, and that this data is arranged one-dimensionally by the number N of closed loops. However, although the coordinate system in this case is a rectangular coordinate system in this embodiment, the present invention is not limited to a rectangular coordinate system. FIG. 1 shows part of such a contour. The present invention is based on the coordinate d+, which is located a predetermined data interval S (in this example, the number of coordinates is 11) in front of the target coordinate do on this contour line.
, and the coordinate d-, which is also located behind the target coordinate do by the same data interval S, and the coordinate d is placed on a straight line connecting the coordinates d+ and d-. When the length l of the perpendicular line drawn from is longer than the preset length 1st, the coordinate point do is set as a candidate for a feature point (referred to as a candidate feature point). Also, instead of the perpendicular length 2, the angle θ between the vector from the coordinate d- to do and the vector from the coordinate do to d+
is larger than a predetermined value θst, a method may be used in which the coordinate do is used as a candidate feature point. Next, FIG. 4 will be explained with reference to FIGS. 1 and 3. First, in step S1 in FIG. 4(a), outline coordinate string data is created as shown in FIG. Next, in step S2, the data interval S and standard line length lst in FIG. Set the number (order) j of the target coordinate data do in the contour line coordinate string data to 1.
Initialize to . Then, in step S3, the third coordinate data do in the contour coordinate string data of loop number i passes through the coordinate data d+ and d- of two points separated from each other by the data interval S set in step S2. Find the equation of a straight line by calculation. Next, the length l of a perpendicular line drawn from point do to the straight line obtained in step 3 is calculated (step 4). This perpendicular length l is the standard line length 1is set in step S2.
Compare with t! If is greater than or equal to 1st, point do is considered a candidate feature point, its coordinate data is left as is, and l is 1st.
If it is less than 0, the coordinate data of do is set to "0" and a new data string is created (step 35). The method for setting the standard line length 1st at this time is, for example, when trying to extract data of a part where the contour curves at a right angle from the contour line coordinate data string, l s t # S /J"r + number It is sufficient to set a value of about
, i
=N, that is, for all loops,
An example of coordinate data of a contour line consisting of coordinate data of a candidate feature point and coordinate data of 0° is obtained. Next, the data group of candidate feature points is compressed by the process shown in FIG. 4 0)) to obtain regular feature points. That is, in step S6, in step 5, the coordinate data of the candidate feature point to be extracted is left as is, and the others are set to "0"', but in order to further reduce the amount of data and create a vector data sequence, From among the data strings that did not become , only the coordinate data of the center point in the coordinate data string (referred to as vector data) sandwiched between "0" before and after will be retained, and the other data will be removed. For example, it is possible to obtain vector data as the coordinates of the representative feature point of the right-angled part of the figure.The process in step S6 is performed in the same way as in FIG. 4(a) for the parameters j-1 to nN and i-1 to N. , that is, the pixels within the loop, and all loops. The diagonal lines in Figure 2 indicate the pixels left as candidate feature points in this way, and the blank pixels represent the center pixel, that is, the representative of this feature. The coordinates (vector data) to Next, another method to extract the parts that represent the features of a shape is to
In contrast to steps 33, 34, and 35 described above, which only used the perpendicular length 2, the angle θ between the vectors d−, do and the vector stone π7o is greater than or equal to the preset reference angle θst. Whether to leave the coordinate data of point do “0”
”There is also a way to do that.

【発明の効果】【Effect of the invention】

本発明によれば輪郭線を表わす画素列についての座標列
のデータを求めたのち、 この座標列上において、対象とする座標doより、その
前後に所定のデータ間隔Sを距てた計2つの座標d+、
d−を求め、 前記d十およびd−の座標を結ぶ直線へ、前記の座標d
oから下した垂線の長さ2が所定長!Stより長いか、
または 前記座標d−から前記座標doへ向うベクトルと、前記
座標doから前記座標d+へ向うベクトルとのなす角θ
が所定角θstより大きいときは当該の座標doを候補
特徴点とするようにして、前記座標列の各座標を順次前
記座標doに選びながら全ての前記候補特徴点を求め、 前記候補特徴点のうち、前記座標列に沿って順次隣接す
る関係にある一連の候補特徴点中の中央の候補特徴点、
および 前記座標列に沿う隣接の候補特徴点を持たぬ候補特徴点
を、 正規の特徴点(ベクトルデータ)とするようにしたので
、 図形の特徴を表わす部分のデータを得るために、データ
間隔の有る3点のデータから計算を行うことから、図形
輪郭線の小さな凹凸に影響されることなく特徴部分を得
ることができ、また特徴部分のみを残すことによりデー
タを圧縮することができる。さらに2値化画像を直接追
跡しながらベクトル化を行うのではなく、輪郭線座標列
データを用いることからプログラムを判断の少ない、処
理時間の短いものにすることができる。
According to the present invention, after obtaining the coordinate string data for the pixel string representing the contour line, on this coordinate string, a total of two data points are set at a predetermined data interval S before and after the target coordinate do. coordinate d+,
Find d-, and connect the coordinates d- and d- to the straight line.
The length 2 of the perpendicular line drawn from o is the predetermined length! Is it longer than St?
Or an angle θ formed by a vector from the coordinate d- to the coordinate do and a vector from the coordinate do to the coordinate d+.
is larger than a predetermined angle θst, the corresponding coordinate do is set as a candidate feature point, and all the candidate feature points are determined while sequentially selecting each coordinate in the coordinate string as the coordinate do, and the candidate feature points are Among them, a central candidate feature point among a series of candidate feature points that are sequentially adjacent to each other along the coordinate string;
Since the candidate feature points that do not have any adjacent candidate feature points along the coordinate sequence are treated as regular feature points (vector data), in order to obtain the data of the part representing the feature of the figure, we need to change the data interval. Since the calculation is performed from the data of three existing points, it is possible to obtain the characteristic portion without being affected by small irregularities in the contour of the figure, and it is possible to compress the data by leaving only the characteristic portion. Furthermore, since vectorization is not performed while directly tracking the binarized image, but by using contour coordinate string data, the program can be made with fewer decisions and processing time can be shortened.

【図面の簡単な説明】 第1図は本発明の一実施例としての原理説明図、第2図
は同じく輪郭線から抽出された特徴部分を示す図、第3
図は同じく輪郭線座標列データの形式を示す図、第4図
は同じく本発明の詳細な説明するフローチャート、第5
図、第6図は従来の輪郭線追跡方法の説明図である。 do、d汁、d−:座標、S:データ間隔、2:垂線長
、θ:周角度i、st:基準型線長、θst:基準角度
。 第 因 ヂーグl1ilF#+ 第 図 第2図 第4図 (b) 第5図 オ6図
[BRIEF DESCRIPTION OF THE DRAWINGS] Fig. 1 is a diagram explaining the principle of an embodiment of the present invention, Fig. 2 is a diagram showing characteristic parts extracted from the contour line, and Fig. 3
Similarly, FIG. 4 is a flowchart explaining the present invention in detail, and FIG.
6 are explanatory diagrams of a conventional contour tracing method. do, d juice, d-: coordinate, S: data interval, 2: perpendicular length, θ: circumferential angle i, st: standard type line length, θst: standard angle. Figure 2 Figure 4 (b) Figure 5 O Figure 6

Claims (1)

【特許請求の範囲】 1)対象図形の2値化画像内の輪郭線に含まれる特徴点
を抽出する方法であって、 前記輪郭線を表わす画素列についての座標列のデータを
求めたのち、 この座標列上において、対象とする座標(以下第1の座
標という)より、その前後に所定個数の座標を距てた計
2つの座標(以下それぞれ第2、第3の座標という)を
求め、 前記第2および第3の座標を結ぶ直線へ、前記第1の座
標から下した垂線の長さが所定長より長いか、または 前記第3の座標から前記第1の座標へ向うベクトルと、
前記第1の座標から前記第2の座標へ向うベクトルとの
なす角が所定角より大きいときは当該の第1の座標を候
補特徴点とするようにして、前記座標列の各座標を順次
前記第1の座標に選びながら全ての前記候補特徴点を求
め、 前記候補特徴点のうち、前記座標列に沿って順次隣接す
る関係にある一連の候補特徴点中の中央の候補特徴点、
および 前記座標列に沿う隣接の候補特徴点を持たぬ候補特徴点
を、 正規の特徴点とするようにしたことを特徴とする図形特
徴抽出方法。
[Claims] 1) A method for extracting feature points included in a contour line in a binarized image of a target figure, the method comprising: obtaining coordinate string data for a pixel string representing the contour line; On this coordinate string, find a total of two coordinates (hereinafter referred to as second and third coordinates, respectively) with a predetermined number of coordinates before and after the target coordinate (hereinafter referred to as first coordinate), A perpendicular line drawn from the first coordinate to a straight line connecting the second and third coordinates is longer than a predetermined length, or a vector is directed from the third coordinate to the first coordinate;
When the angle formed by the vector from the first coordinate to the second coordinate is larger than a predetermined angle, the first coordinate is set as a candidate feature point, and each coordinate in the coordinate string is sequentially Find all the candidate feature points while selecting the first coordinates, and among the candidate feature points, a central candidate feature point among a series of candidate feature points that are sequentially adjacent to each other along the coordinate string;
and a graphic feature extraction method characterized in that a candidate feature point that does not have an adjacent candidate feature point along the coordinate string is set as a regular feature point.
JP63331677A 1988-12-28 1988-12-28 Graphic feature extracting method Pending JPH02176982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63331677A JPH02176982A (en) 1988-12-28 1988-12-28 Graphic feature extracting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63331677A JPH02176982A (en) 1988-12-28 1988-12-28 Graphic feature extracting method

Publications (1)

Publication Number Publication Date
JPH02176982A true JPH02176982A (en) 1990-07-10

Family

ID=18246349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63331677A Pending JPH02176982A (en) 1988-12-28 1988-12-28 Graphic feature extracting method

Country Status (1)

Country Link
JP (1) JPH02176982A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002222421A (en) * 2001-01-29 2002-08-09 Namco Ltd Device and method for pattern recognition processing and information storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002222421A (en) * 2001-01-29 2002-08-09 Namco Ltd Device and method for pattern recognition processing and information storage medium

Similar Documents

Publication Publication Date Title
CN112287865B (en) Human body posture recognition method and device
CN112115910A (en) Face library updating method and device
JPH02176982A (en) Graphic feature extracting method
RU2640331C2 (en) Method of identifying extended objects of earth surface
CN114386011A (en) Verification code picture generation method and device, electronic equipment and storage medium
JPH0520794B2 (en)
CN111753689B (en) Image texture feature extraction method and image recognition method
JPS5995680A (en) Extracting device for ridge line and contour line
JPH08110945A (en) Method for inputting fingerprint
JP3344791B2 (en) Line segment extraction method
JPH02138677A (en) Detecting device for picture feature point
JPS62282379A (en) Graphic recognition device
JPH09259279A (en) Line segment extraction method and line segment extraction device
JPH02244390A (en) Stroke extracting device
JPS62271190A (en) Segment numeral recognizing system
JPS63298575A (en) Polygonal line approximation processing system for graphic data
CN115546820A (en) Classification and combination based engineering drawing line segment vectorization method and system
JP2935331B2 (en) Figure recognition device
JPS60237582A (en) Graphic analyzer
CN117132779A (en) Parallel tracking grid line vectorization method and system based on skeleton refinement
JPH01263883A (en) Device for changing line graphic into vector
JPS6373381A (en) Vector formation system
JPH03135679A (en) Chart shaping method
JPH01281576A (en) Method for linealizing image data
JPH0434653A (en) Drawing processor