JPS6324473A - Graphic recognizing device - Google Patents

Graphic recognizing device

Info

Publication number
JPS6324473A
JPS6324473A JP61168347A JP16834786A JPS6324473A JP S6324473 A JPS6324473 A JP S6324473A JP 61168347 A JP61168347 A JP 61168347A JP 16834786 A JP16834786 A JP 16834786A JP S6324473 A JPS6324473 A JP S6324473A
Authority
JP
Japan
Prior art keywords
contour
point
contour point
angle
sequence
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.)
Granted
Application number
JP61168347A
Other languages
Japanese (ja)
Other versions
JPH065545B2 (en
Inventor
Hideji Ueda
秀司 植田
Zenichi Okabashi
岡橋 善一
Kazumasa Okumura
一正 奥村
Masamichi Morimoto
正通 森本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61168347A priority Critical patent/JPH065545B2/en
Priority to EP87110311A priority patent/EP0253397B1/en
Priority to US07/074,186 priority patent/US4845764A/en
Priority to DE87110311T priority patent/DE3787587T2/en
Priority to KR1019870007792A priority patent/KR920004956B1/en
Publication of JPS6324473A publication Critical patent/JPS6324473A/en
Publication of JPH065545B2 publication Critical patent/JPH065545B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To detect a corner desired to be detected by separating from a noise component highly accurately to a graphic in which different corners are mixed by obtaining the difference between adjacent contour point angles to an entire contour point angle string and obtaining the sum of contour point angle different strings existing between a zero string and a next zero string of the contour point angle difference strings. CONSTITUTION:By making a point S0 on the contour a start point, an angle theta0 formed by a segment V0 directed to a point E0 separated by (m) in the number of the contour points from the S0 and a horizontal line is obtained by the calculation from the coordinate values of the two points of the S0, and the E0. Then, an angle theta1 formed by a segment V1 directed to an E1 (m) separated in the number of the contour points from an S1 separated by (n) from S0 and the horizontal line is calculated. Thereafter, similarly, the calculation of the contour point angle string thetai is carried out throughout all the contour points. Then, by using the contour point angle string, the difference thetai between the adjacent contour point angles thetai and thetai+1 is calculated on all the contour point angle strings. Finally, by the use of the contour point angle difference string, the average angle difference of an L point in the vicinity of the contour point angle difference thetai is calculated on all the contour point angle difference strings and this contour point angle difference average string is defined to be a contour point angle difference function.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、シルエット画像で写された図形の輪郭形状の
特徴(コーナ部分)を抽出することにより図形の形状認
識を行なう図形認識装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a figure recognition device that recognizes the shape of a figure by extracting contour features (corner parts) of the figure captured in a silhouette image. .

近年、図形認識装置は、FA分野において、検査装置9
部品実装機などに導入されているが、より高精度で高速
処理可能な図形認識装置が要求されている。そのような
要求を満足できるものの1つとして、本発明の図形の輪
郭情報に注目して形状認識を行なうものがある。
In recent years, figure recognition devices have been used as inspection devices in the FA field.
Although it has been introduced into component mounting machines, etc., there is a need for a shape recognition device that can perform higher precision and faster processing. One method that can satisfy such requirements is the present invention, which performs shape recognition by focusing on contour information of a figure.

まず従来のこの認識方式について図を参照しながら簡単
に説明する。
First, this conventional recognition method will be briefly explained with reference to the drawings.

第8図は、図形認識装置を含めた認識システムの構成図
である。図中21はカメラなどの画像信号入力部、22
は21の画像信号入力部から出力された画像信号を処理
して図形を認識する図形認識装置である。さらに図形認
識装置22は、前記の画像信号を適当な閾値で2値化す
る2値化回路23と、前記2値化回路23で作成された
2値画像より図形の輪郭情報を抽出する輪郭抽出部24
と、前記輪郭抽出部24で抽出された輪郭情報より図形
のコーナ情報を検出するコーナ検出部25と、前記のコ
ーナ情報25に基づき図形を認識する認識部26とから
成っている。次に輪郭抽出部24の動作につい才第9図
を参照しながら説明する。通常の輪郭抽出は、第9図の
8点31のように図形の輪郭上1点を検出し、この8点
31を中心に第9図の32に示す3×3のマスク演算を
行ない対象物33の輪郭上の次の輪郭点への方向を示す
連結方向を計算し記憶する。次に前記の連結方向に基づ
き次の輪郭点の位置を計算し、その位置を中心に前記の
3×3マスク演算を行ない連結方向・と次の輪郭点の位
置計算を行なう。以下同様の処理を繰り返し、全輪郭点
の連結方向及び位置を検出する。
FIG. 8 is a block diagram of a recognition system including a figure recognition device. In the figure, 21 is an image signal input unit such as a camera, and 22
is a figure recognition device which processes an image signal outputted from an image signal input section 21 and recognizes a figure. Furthermore, the figure recognition device 22 includes a binarization circuit 23 that binarizes the image signal using an appropriate threshold value, and a contour extraction circuit that extracts outline information of the figure from the binary image created by the binarization circuit 23. Part 24
, a corner detection section 25 that detects corner information of a figure from the contour information extracted by the contour extraction section 24, and a recognition section 26 that recognizes the figure based on the corner information 25. Next, the operation of the contour extraction section 24 will be explained with reference to FIG. 9. Normal contour extraction involves detecting one point on the outline of a figure, such as 8 points 31 in Figure 9, and performing a 3x3 mask operation as shown in 32 in Figure 9, centering on this 8 points 31, to detect the object. A connection direction indicating the direction to the next contour point on the contour of No. 33 is calculated and stored. Next, the position of the next contour point is calculated based on the connection direction, and the 3×3 mask operation described above is performed centering on that position to calculate the connection direction and the position of the next contour point. Thereafter, similar processing is repeated to detect the connecting directions and positions of all contour points.

次にコーナ情報検出部26の動作を説明する。Next, the operation of the corner information detection section 26 will be explained.

輪郭抽出部で検出された各輪郭点の連結方向に基づいて
、隣り合う連結方向(角度)の差を求め、さらに第10
図のごとく、横軸41に輪郭点番号、縦軸42に連結方
向の差を取った角度差関数43が極値を取るような輪郭
点44をコーナを代表する点とする。つまり、連結方向
が大きく変化している個所は輪郭線が直線ではなく曲が
っていることを示しており、その中でも連結方向の差の
太き宮が極値を取るような個所は輪郭線が最も大きく曲
がっていることを示し、一般にコーナの頂点と考えられ
る。
Based on the connection direction of each contour point detected by the contour extraction section, the difference between adjacent connection directions (angles) is calculated, and the tenth
As shown in the figure, a contour point 44 for which an angular difference function 43 in which the horizontal axis 41 is the contour point number and the vertical axis 42 is the difference in connection direction takes an extreme value is taken as a point representing a corner. In other words, points where the connection direction changes significantly indicate that the contour line is not straight but curved, and among these points, where the thick square of the difference in connection direction takes an extreme value, the contour line is the most Indicates a large bend and is generally considered the apex of a corner.

発明が解決しようとする問題点 しかしながら、上記のように、マスク演算で求めた連結
方向より輪郭点の角度差関数を求める方式では、連結方
向が45°きざみでしか変化しないために、角度差関数
に誤差が含まれ、正確なコ〜す位置を検出することが難
しい。また、隣接する輪郭点の連結方向の差を求めてい
るので、非常に小さなコーナを検出するには適している
が、反面、輪郭上のノイズのような小さな凸凹までコー
ナとして検出してしまう。また、このこととは逆に、ゆ
るやかなカーブで大きく曲がるようなコーナに対しては
コーナ検出が難しいなどの問題点がある。
Problems to be Solved by the Invention However, as described above, in the method of calculating the angular difference function of contour points from the connecting direction determined by mask calculation, since the connecting direction changes only in 45° increments, the angular difference function contains errors, making it difficult to detect the exact location. Furthermore, since it calculates the difference in the connection direction of adjacent contour points, it is suitable for detecting very small corners, but on the other hand, even small irregularities such as noise on the contour can be detected as corners. On the other hand, there is a problem in that it is difficult to detect a corner that is a gentle curve with a large bend.

また、大きく曲がるカーブをもつ対象物や小さく曲がる
カーブをもつ対象物等各種の対象物に柔軟に対応するこ
とが困難である。
Furthermore, it is difficult to flexibly deal with various objects such as objects with large curves and objects with small curves.

本発明は上記問題点に鑑み、大きさの異なるコーナが混
在した図形に対して、また多くの対象物品梗に対応して
検出したいコーナをノイズ成分と分離して高精度で検出
する図形認識装置を提供するものである。
In view of the above-mentioned problems, the present invention is a figure recognition device that detects corners to be detected with high accuracy by separating noise components from noise components in a figure having a mixture of corners of different sizes, and corresponding to many target product stems. It provides:

問題点を解決するための手段 上記問題点を解決するために本発明の図形認識装置は、
画像信号を2値化する手段と、前記2値画像の中で注目
する図形の輪郭上の一点を検出す゛ る手段と、前記輪
郭上の一点を開始点として順次輪郭に沿って輪郭点を追
跡し、前記図形の全輪郭点列を求める手段と、前記輪郭
点列を基に輪郭線の曲率関数を求める手段と、前記輪郭
点追跡の開始点から輪郭点数がm離れた輪郭点に向かう
直線の角度θ1を求め、前記輪郭点追跡の開始点から輪
郭点数がnMれた輪郭点よシ輪郭点数がm離れた輪郭点
に向かう直線の角度θ2を求め、以下同様に全輪郭点列
において輪郭点角度列θiを求める手段と、前記輪郭点
角度列θiを用いて隣り合う輪郭点角度の差01′=θ
i+1−θiを全輪郭点角度列に対して求める手段と前
記輪郭点角度差列の中で、θi′が零の列から次の零の
列の間に存在するqi′の総和θj=Σθi′ を求め
る手段とを有する。また、さらに加えて前記θjのコー
ナを構成する輪郭点の個数℃を求める手段とを備えたも
のである。また更に、前記パラメータm 、 nの両方
または一方を自動生成する手段あるいはこれに加え前記
パラメータを対象物の品種毎に記憶する手段を備えたも
のである。
Means for Solving the Problems In order to solve the above problems, the figure recognition device of the present invention includes:
means for binarizing an image signal; means for detecting a point on the contour of a figure of interest in the binary image; and means for sequentially tracking contour points along the contour starting from one point on the contour. and means for determining a complete sequence of contour points of the figure, means for determining a curvature function of a contour line based on the sequence of contour points, and a straight line extending from the starting point of the contour point tracking to a contour point that is m apart from the contour point. Find the angle θ1 of the straight line from the start point of the contour point tracking to the contour point with the number of contour points m apart from the contour point with the number of contour points of nM. A means for determining a point angle sequence θi and a difference between adjacent contour point angles 01'=θ using the contour point angle sequence θi.
A means for determining i+1-θi for all contour point angle sequences, and a total sum θj of qi′ existing between a sequence where θi′ is zero and the next sequence where θi′ is zero in the contour point angle difference sequence, θj=Σθi′ and the means for determining. In addition, the present invention further includes means for determining the number of contour points forming the corner of θj. Furthermore, the present invention is further provided with means for automatically generating both or one of the parameters m and n, or in addition thereto means for storing the parameters for each type of object.

作  用 本発明は上記した構成によって、輪郭上のm点“iれた
輪郭点を結ぶ直線の角度を得ることができるので、輪郭
線の小さな凸凹をスムージングする効果があり、図形の
ノイズのような凸凹は除去することができる。さらに、
前記のスムージングの効果は、前記のmの値を大きくす
る程大きくなる。
Effect of the Invention With the above-described configuration, the present invention can obtain the angle of a straight line connecting the m-points and the i-shaped contour points on the contour, which has the effect of smoothing small irregularities on the contour, and smoothing out small irregularities such as noise in the figure. Unevenness can be removed.Furthermore,
The smoothing effect described above increases as the value of m increases.

このような効果は、前記のnの値を大きくしても同様の
効果を望める。つまシ、前記のm 、 nの値を注目す
べきコーナの形状に適した値に設定することにより、注
目すべきコーナのみを検出し、不必要なコーナ又はノイ
ズを除去することが可能になる。又、検出されたコーナ
情報として、前記輪郭点角度差平均が零から次の零にな
る個所、つまり、直線部と直線部に挾まれた直線でない
部分(コーナ部分)を検出し、さらに、その部分での前
記輪郭点角度差平均の総和、つまりコーナの角度を算出
しているので、この値を参照することにより、コーナの
位置だけでなく、コーナの角度も算出でき、また、コー
ナを構成する輪郭点数を算出する手゛段を持つので、コ
ーナの鋭さといったコーナの形状に関する情報も利用で
きるので、より正確なコーナ抽出ができる。
Similar effects can be obtained even if the value of n is increased. By setting the values of m and n described above to values suitable for the shape of the corner of interest, it becomes possible to detect only the corner of interest and remove unnecessary corners or noise. . Furthermore, as the detected corner information, the point where the average contour point angle difference changes from zero to the next zero, that is, the non-straight portion (corner portion) sandwiched between the straight line portions, is detected, and the Since the sum of the average angle differences of the contour points in the section, that is, the angle of the corner, is calculated, by referring to this value, not only the position of the corner but also the angle of the corner can be calculated. Since the method has a means of calculating the number of contour points to be processed, information regarding the shape of the corner, such as the sharpness of the corner, can also be used, allowing for more accurate corner extraction.

また対象物に応じて適切なパラメータを選び、それを品
種毎に記憶しておくので実際の生産現場等での実用に供
する図形認識装置とすることができる。
In addition, since appropriate parameters are selected according to the object and stored for each product type, the figure recognition device can be used in actual production sites.

実施例 以下本発明の一実施例の図形認識袋#について図面を参
照しながら説明する。
EXAMPLE A figure recognition bag # according to an example of the present invention will be described below with reference to the drawings.

第1図は本発明の第1の実施例における図形認識装置の
全体構成を示すものである。第1図において、11は認
識対象物、12は照明装置、13はカメラ、14は図形
認識装置、15は2値化回路、16は2値画フレームメ
モリー、17はワークメモIJ−118は演算回路、1
9は輪郭点検出テーブルである。第2図はコーナ検出処
理のフロー図である。同図において、61は輪郭点抽出
処理、52は輪郭点角度計算処理、53は輪郭点角度差
計算処理、54は輪郭点角度差平均計算処理、55はコ
ーナ部検出処理、56はコーナ精検索処理である。
FIG. 1 shows the overall configuration of a figure recognition device according to a first embodiment of the present invention. In FIG. 1, 11 is a recognition target, 12 is a lighting device, 13 is a camera, 14 is a figure recognition device, 15 is a binarization circuit, 16 is a binary image frame memory, 17 is a work memo IJ-118 is a calculation circuit, 1
9 is a contour point detection table. FIG. 2 is a flow diagram of corner detection processing. In the figure, 61 is a contour point extraction process, 52 is a contour point angle calculation process, 53 is a contour point angle difference calculation process, 54 is a contour point angle difference average calculation process, 55 is a corner detection process, and 56 is a corner precision search. It is processing.

以上のように構成された図形認識装置について、図を参
照しながらその動作を説明する。
The operation of the figure recognition device configured as described above will be explained with reference to the drawings.

第1図において、認識されるべき対象物11が照明装置
12により照明され、その状態がカメラ13によって映
像信号に変換されている。カメラ13の出力映像信号は
図形認識装置14に入力される。図形認識装置14に入
った映像信号は、2値化回路15で2値化映像信号に変
換された後、フレームメモリ16に記録される。次に、
フレームメモリー16に記録された2値画像データを基
に、演算回路18が、輪郭点検出テーブル19を参照し
つつ図形の輪郭点データを、ワークメモリ17上にテー
ブルの形で記憶する(輪郭点抽出処理51)。次に、ワ
ークメモリ17上の輪郭点データテーブルを基に、演算
回路18は後述する手順によりコーナ抽出処理を行ない
、さらに、抽出されたコーナ情報を基に図形の認識を行
なう。
In FIG. 1, an object 11 to be recognized is illuminated by an illumination device 12, and its state is converted into a video signal by a camera 13. The output video signal of the camera 13 is input to the figure recognition device 14. The video signal input to the graphic recognition device 14 is converted into a binary video signal by the binarization circuit 15 and then recorded in the frame memory 16. next,
Based on the binary image data recorded in the frame memory 16, the arithmetic circuit 18 stores the contour point data of the figure in the form of a table in the work memory 17 while referring to the contour point detection table 19 (contour point detection table 19). Extraction process 51). Next, based on the contour point data table on the work memory 17, the arithmetic circuit 18 performs corner extraction processing according to a procedure described later, and further performs figure recognition based on the extracted corner information.

次にコーナ抽出処理の内容について、詳しく説明する。Next, the contents of the corner extraction process will be explained in detail.

コーナ抽出処理は大別して、輪郭データより輪郭線の曲
がり方を表現する輪郭点角度差関数を求める処理と、輪
郭点角度差関数より、コーナ部分を決定する処理の2つ
にわけられる。まず前者の輪郭点の角度差を求める処理
では、第3図に示すように、輪郭上の1点S。を開始点
として、S。
The corner extraction process can be roughly divided into two parts: a process for determining a contour point angle difference function expressing the curve of the contour line from contour data, and a process for determining a corner portion from the contour point angle difference function. First, in the former process of calculating the angular difference between contour points, as shown in FIG. 3, one point S on the contour is determined. With S as the starting point.

から輪郭点数がm(図ではm=5)離れた点E。Point E whose contour points are m (m=5 in the figure) away from .

に向かう線分V。が水平と成す角度θ。をS。。A line segment V heading toward . is the angle θ that it forms with the horizontal. S. .

Eo2点の座標値より計算により求める。次に、前記の
S。からn(図ではn = 10 )離れた輪郭点S1
 より、Slから輪郭点数がm離れた点E1に向かう線
分v1 と水平との成す角度θ1を計算する。以下同様
にして、全輪郭点にわたって輪郭点角度列θiの計算を
行なう(輪郭点角度計算処理52)。次に輪郭点角度列
を用いて、隣り合う輪郭点角度θ1とθi+1の差(輪
郭点角度差)01′を全ての輪郭点角度列に対して計算
する(輪郭点角度差計算処理53)。最後に本実施例で
は輪郭点角度差列を用いて、輪郭点角度差θ1′の前後
のL点(θi’−L/2.θi’−L/2+1・・・・
・01′+1・・・・・−θi’ +L/2−1’01
′や、/2)の平均角度差θi′を全輪郭点角度差列に
おいて計算しく輪郭点角度差平均計算処理54)、この
輪郭点角度差平均列を輪郭点角度差関数とする。
It is determined by calculation from the coordinate values of the two points Eo. Next, the above S. Contour point S1 located n (n = 10 in the figure) away from
From this, the angle θ1 formed by the horizontal line and the line segment v1 heading toward the point E1, which is m away from Sl by the number of contour points, is calculated. Thereafter, a contour point angle sequence θi is calculated for all contour points in the same manner (contour point angle calculation process 52). Next, using the contour point angle series, the difference (contour point angle difference) 01' between adjacent contour point angles θ1 and θi+1 is calculated for all the contour point angle series (contour point angle difference calculation process 53). Finally, in this embodiment, using the contour point angle difference sequence, L points before and after the contour point angle difference θ1'(θi'-L/2.θi'-L/2+1...
・01'+1...-θi'+L/2-1'01
The average angle difference θi' of ' and /2) is calculated in all contour point angle difference sequences (54), and this contour point angle difference average sequence is used as a contour point angle difference function.

次に前述で計算された輪郭点角度差平均列θi′を用い
て、コーナ抽出を行なう処理についてのべる。第7図は
、対象物に対して輪郭点角度差平均列θi′を求め、輪
郭点の番号PNを横軸にしてグラフ化したものである。
Next, a process for extracting corners using the contour point angle difference average sequence θi' calculated above will be described. FIG. 7 shows a graph of the contour point angle difference average sequence θi' obtained for the object, with the contour point number PN on the horizontal axis.

この関数の名称からもわかるが、輪郭点角度差平均が零
になる所は直線を表わし、零にならない所は輪郭線が曲
がっていること、つまり、角の部分であることを表わし
ている。従って、輪郭点角度差平均列が零から、次の零
までの個所はコーナ部である。また前記輪郭点角度差平
均が零と次の零の間の輪郭点角度差平均θi′を加えた
値Σθ1′は、コーナ部分で輪郭線が何度面がったかを
示しているので、Σθ1′があるしきい値を越える部分
を検出することによりコーナ部を抽出することができる
。また同時K、前記のコーナ部を構成する輪郭点数を計
算することで、この輪郭点数が多い場合は後述する大き
な曲率半径でゆっくり曲がるコーナであると判断できる
など、コーナの鋭さを表現する情報が得られる(コーナ
部検出処理65)。
As can be seen from the name of this function, a place where the average contour point angle difference is zero represents a straight line, and a place where it is not zero represents a curved contour, that is, a corner. Therefore, the area where the contour point angle difference average sequence is from zero to the next zero is a corner portion. In addition, the value Σθ1', which is the sum of the contour point angle difference average θi' between the contour point angle difference average of zero and the next zero, indicates how many times the contour line is beveled at the corner part, so Σθ1 A corner portion can be extracted by detecting a portion where ′ exceeds a certain threshold. At the same time, by calculating the number of contour points that make up the corner, if there are many contour points, it can be determined that the corner curves slowly with a large radius of curvature, which will be described later. (corner detection process 65).

第4図の対象物上のA−Fのコーナは、輪郭点角度差平
均列01′のグラフ上でのa −fに対応している。な
お、本実施例では、コーナ部と直線部を分離しやすくす
るため、前述の輪郭点角度差平均化列を求めるために用
いたパラメータm 、 n 、 Lの3つの値より決ま
る値Pを計算し輪郭点角度差平均化列01′の値の内、
絶対値がPよシ小さいものは零に近似し、ゆるやかなカ
ーブをもつ直線部分か、小さな凸凹をノイズとして除去
している。
Corners A to F on the object in FIG. 4 correspond to a to f on the graph of the contour point angle difference average sequence 01'. In addition, in this example, in order to easily separate the corner portion and the straight portion, a value P determined from the three values of parameters m, n, and L used to obtain the contour point angle difference averaging sequence described above is calculated. Among the values of contour point angle difference averaging column 01',
If the absolute value is smaller than P, it is approximated to zero, and straight lines with gentle curves or small irregularities are removed as noise.

さらに、本実施例では、コーナ抽出の精度を向上させる
ために、2段階のコーナ抽出処理を行なっている。つま
り、前述の輪郭点角度差平均化列を計算するためのパラ
メータm 、 n 、 Lの組を数種類設定し、まず、
標準的なコーナに適したパラメータの組で、求められた
全輪郭に対して前述のコーナ抽出処理を行なう。この処
理においては標準的なコーナ部分は正しく抽出されるが
、2つのコーナ部が接近して存在する部分や、大きな曲
率半径でゆっくり曲がるコーナに対しては、パラメータ
が不適切なため正しく抽出されない。第5図はその例を
示したもので、曲率半径の大きい標準的なコーナA、C
,F、Gは正しく90°コーナとして抽出されるが、曲
率の大きなり、Eコーナは実際の角度より小さく抽出さ
れ、Dコーナは2つのコーナが接近しているため90°
の2つのコーナが、1つの18o0コーナとして抽出さ
れてしまう。
Furthermore, in this embodiment, a two-stage corner extraction process is performed in order to improve the accuracy of corner extraction. In other words, several sets of parameters m, n, and L are set for calculating the above-mentioned contour point angle difference averaging sequence, and first,
The aforementioned corner extraction process is performed on all the obtained contours using a set of parameters suitable for standard corners. In this process, standard corner parts are extracted correctly, but parts where two corners are close together or corners that curve slowly with a large radius of curvature are not extracted correctly because the parameters are inappropriate. . Figure 5 shows an example of this, with standard corners A and C having a large radius of curvature.
, F, and G are correctly extracted as 90° corners, but due to the large curvature, the E corner is extracted smaller than the actual angle, and the D corner is 90° because the two corners are close.
The two corners are extracted as one 18o0 corner.

そこで、B、Eのように大きな曲がりコーナや、Dのよ
うに、2つのコーナが接近している場合は、それぞれ、
別のパラメータを設定し、その部分のみを再びコーナ抽
出処理(コーナ精検索処理56)して正しいコーナ抽出
を行なうようにしている。
Therefore, when there are large curved corners like B and E, or when two corners are close together like D,
Another parameter is set and only that portion is subjected to corner extraction processing (corner detailed search processing 56) again to perform correct corner extraction.

精検索処理を行なう条件としては、第6図において、輪
郭点角度差平均列θi′が零から次の零まで(同図では
STからED)の輪郭点数をCNとすると、1つの条件
は、前述のDのコーナに相当するもので、A u g 
の値が90°〜180°の値である時、2つ目の条件は
、前述のB、Eのコーナに相当するもので、A n g
/ CNが前記パラメータm 、 n 、 Lより決定
される値Pのr倍(rは実験的に求められる値)よりも
小さい時に精検索処理を行なうが、前記2つの場合に使
用するパラメータは対象とするコーナが別の種類である
ので、それぞれ別の組を使用する。また、精検索処理の
対象となる輪郭領域は、前述の5T−EDの間としてい
る。
As a condition for performing the fine search process, in FIG. 6, if the contour point angle difference average sequence θi' is the number of contour points from zero to the next zero (ST to ED in the figure), one condition is as follows. It corresponds to the corner of D mentioned above, and A u g
When the value of is between 90° and 180°, the second condition corresponds to the corners of B and E mentioned above, and A n g
/ Fine search processing is performed when CN is smaller than r times the value P determined from the parameters m, n, and L (r is the value determined experimentally), but the parameters used in the above two cases are Since the corners to be used are of different types, different sets are used for each. Furthermore, the contour area to be subjected to the fine search process is between the above-mentioned 5T-ED.

以上のように本実施例によれば、一連の処理をソフトウ
ェアで実現できる構成とすることで、比較的簡単なハー
ド構成で実現でき、ソフトウェアの柔軟性を利用して、
輪郭点角度差列の平均化処理やノイズ除去処理、精検索
処理などの処理を付加することにより、コーナ抽出精度
の向上が実現できた。
As described above, according to this embodiment, a series of processes can be realized with software, so it can be realized with a relatively simple hardware configuration, and by taking advantage of the flexibility of software,
By adding processing such as averaging processing of the contour point angle difference sequence, noise removal processing, and fine search processing, we were able to improve the corner extraction accuracy.

以下本発明の第2の実施例について図面を参照しながら
説明する。
A second embodiment of the present invention will be described below with reference to the drawings.

第7図は本発明の第2の実施例を示す図形認識装置の全
体構成図である。同図において、11は認識対象物、1
2は照明装置、13はカメラ、14は図形認識装置、1
5は2値化回路、16は2値画フレームメモリー、17
はワークメモIJ−11Bは演算回路、19は輪郭点検
出テーブルで、以上は第1図の構成と同様なものである
。さらに21はパラメータ組保持回路、20は品種テー
ブルである。
FIG. 7 is an overall configuration diagram of a figure recognition device showing a second embodiment of the present invention. In the figure, 11 is the recognition target, 1
2 is a lighting device, 13 is a camera, 14 is a figure recognition device, 1
5 is a binarization circuit, 16 is a binary image frame memory, 17
The work memo IJ-11B is an arithmetic circuit, 19 is a contour point detection table, and the above structure is the same as that shown in FIG. Furthermore, 21 is a parameter set holding circuit, and 20 is a product type table.

上記のように構成された図形認識装置について、以下そ
の動作を説明する。
The operation of the graphic recognition device configured as described above will be described below.

第7図において、認識されるべき対象物11が照明装置
12により照明され、その状態がカメラ13によって映
像信号に変換されている。カメラ13の出力映像信号は
図形認識装置14に入力される。図形認識装置14に入
った映像信号は、2値化回路15で2値化映像信号に変
換された後、フレームメモリ16に記録される。次にフ
レームメモリ16に記録された2値画像データを基に、
演算回路18が、輪郭点検出テーブル19を参照しつつ
図形の輪郭点データを、ワークメモリ17上にテーブル
の形で記憶する。次にワークメモリ17上の輪郭点デー
タテーブルを基に、第1の実施例で詳述した様にコーナ
を求めて図形を認識するのであるが、その時に使用する
パラメータm。
In FIG. 7, an object 11 to be recognized is illuminated by an illumination device 12, and its state is converted into a video signal by a camera 13. The output video signal of the camera 13 is input to the figure recognition device 14. The video signal input to the graphic recognition device 14 is converted into a binary video signal by the binarization circuit 15 and then recorded in the frame memory 16. Next, based on the binary image data recorded in the frame memory 16,
The arithmetic circuit 18 stores the contour point data of the figure in the form of a table on the work memory 17 while referring to the contour point detection table 19. Next, based on the contour point data table on the work memory 17, corners are determined and the figure is recognized as described in detail in the first embodiment, and the parameter m used at that time.

n、Lの値は、認識対象物11に対応した形であらかじ
め品種テーブル20に登録されている値である。
The values of n and L are values registered in advance in the product type table 20 in a form corresponding to the recognition target object 11.

次に品種テーブル20にパラメータm、n、Lを登録す
る方法について説明する。
Next, a method for registering parameters m, n, and L in the product type table 20 will be explained.

第5図のような図形の場合、すでに述べたようにB、E
のコーナとDのコーナとその他のコーナとは、パラメー
タm 、 n 、 Lを変えて検出する必要があるが、
それらのパラメータの組を次の方法により決定し品種テ
ーブル20に登録する。先ず、標準的な第1のパラメー
タm 、 n 、 Lの組でコーナ検出を行ない、Dの
コーナのように輪郭点角度差平均の総和(Ang)が9
0°〜180°のコーナが存在するときは、第2のパラ
メータm 、 n 、 Lの組を該当するコーナの検出
パラメータとして登録する。また、B、Eのコーナのよ
うにA n g/ CN(CNは輪郭点数)があらかじ
め定められた値よりも小さいコーナが存在するときは該
当するコーナの検出パラメータとして第3のパラメータ
m。
In the case of a figure like Figure 5, as already mentioned, B, E
The corner of , the corner of D, and other corners need to be detected by changing the parameters m, n, and L.
A set of these parameters is determined by the following method and registered in the product type table 20. First, corner detection is performed using a standard set of first parameters m, n, and L, and the sum of the average contour point angle differences (Ang) is 9, as in the corner D.
When a corner between 0° and 180° exists, a set of second parameters m, n, and L is registered as the detection parameters of the corresponding corner. Further, when there is a corner such as corners B and E where A n g/CN (CN is the number of contour points) is smaller than a predetermined value, the third parameter m is used as a detection parameter for the corresponding corner.

n、Lの組を登録する。Register the pair n and L.

以上のように、図形に応じて必要なパラメータを自動的
に設定し、品種テーブル20に登録することにより認識
対象物の品種に適したパラメータでコーナ検出ができ認
識率が向上することになる。
As described above, by automatically setting necessary parameters according to the figure and registering them in the product type table 20, corners can be detected using parameters suitable for the product type of the object to be recognized, and the recognition rate can be improved.

発明の効果 以上のように本発明は、画像信号を2値化する手段と、
前記2値画像の中で注目する図形の輪郭上の一点を検出
する手段と、前記輪郭上の一点を開始点として順次輪郭
に沿って輪郭点を追跡し、前記図形の全輪郭点列を求め
る手段と、前記輪郭点列を基に輪郭線の曲率関数を求め
る手段と、前記輪郭点追跡の開始点から輪郭点数がm離
れた輪郭点に向かう直線の角度θ1を求め、前記輪郭点
追跡の開始点から輪郭点数がn離れた輪郭点より輪郭点
数がm@れた輪郭点に向かう直線の角度θ2を求め、以
下同様に全輪郭点列において輪郭点角度列θiを求める
手段と、前記輪郭点角度列θiを用いて隣り合う輪郭点
角度の差θi′−θi+1−θ1を全輪郭点角度列に対
して求める手段と、前記輪郭点角度差列の中で、θi′
が零の列から次の零の列の間に存在するθi′の総和θ
j=Σθi′ を求める手段とを備えているため、この
コーナ情報に基づき、前記パラメータm 、 nがコー
ナ形状に不適切なコーナに対して、コーナ形状に適した
前記・くラメータを再設定し、コーナの周辺部分のみに
対してコーナ抽出処理を行なうことができ大きさの異な
るコーナが混在した図形に対して、検出したいコーナを
ノイズ成分と分離して高精度で検出することができる。
Effects of the Invention As described above, the present invention provides means for binarizing an image signal;
means for detecting a point on the contour of a figure of interest in the binary image; and means for sequentially tracing contour points along the contour using the single point on the contour as a starting point to obtain a sequence of all contour points of the figure. means for determining a curvature function of a contour line based on the contour point sequence; and a means for determining an angle θ1 of a straight line toward a contour point whose number of contour points is m apart from the starting point of the contour point tracing; Means for determining an angle θ2 of a straight line from a contour point that is n contour points away from the starting point toward a contour point having m contour points, and similarly determining a contour point angle sequence θi for all contour point sequences; means for calculating the difference θi'-θi+1-θ1 between adjacent contour point angles for all contour point angle sequences using the point angle sequence θi;
The sum θi′ of θi′ that exists between the sequence of zeros and the next sequence of zeros
j=Σθi′, and based on this corner information, the parameter m and n are re-set to be suitable for the corner shape, for corners where the parameters m and n are inappropriate for the corner shape. , the corner extraction process can be performed only on the peripheral portion of the corner, and the corner to be detected can be separated from the noise component and detected with high precision for a figure in which corners of different sizes coexist.

また、コーナの輪郭点を出力することによって、コーナ
の鋭さを検定することができる。
Furthermore, by outputting the contour points of the corners, the sharpness of the corners can be tested.

また、コーナ検出に必要なノくラメータを自動的に設定
し、対象物毎にそれを登録保持することにより、多くの
種類の対象物に対して柔軟に対応することができ認識率
が向上することができる。
In addition, by automatically setting the parameter required for corner detection and registering and maintaining it for each object, it is possible to flexibly respond to many types of objects and improve the recognition rate. be able to.

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

゛第1図は本発明の第1の実施例における図形認識装置
の全体構成図、第2図は本発明の第1の実施例における
コーナ検出処理のフローチャート、第3図は第1の実施
例における輪郭点角度計算方法の説明図、第4図、第5
図、第6図は第1の実施例におけるコーナ検出方法の説
明図、第7図は本発明の第2の実施例における図形認識
装置の全体構成図、第8図は従来の図形認識システムの
全体構成図、第9図は従来の輪郭点抽出方法の説明図、
第1o図は従来のコーナ検出方法の説明図である。 15・−・・−・2値化回路、16−・−・−2値画フ
レームメモリ、17・・−・・−ワークメモリ、18・
・・演算回路、19・・−輪郭点検出テーブル、2o・
・・品種テーブル、51・・・・・輪郭点抽出処理、5
2・・・・−輪郭点角度計算処理、53・−・・輪郭点
角度差計算、54・・−・輪郭点角度差平均計算、55
・・−・・コーナ検出処理、56・−・−精検索処理。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第2
図 寸                        
 ・・−、0・・alの        IQ) 第 5 図 の6図 −一一一一〇N−一一一一
゛ Fig. 1 is an overall configuration diagram of a figure recognition device according to a first embodiment of the present invention, Fig. 2 is a flowchart of corner detection processing in the first embodiment of the present invention, and Fig. 3 is a diagram of the first embodiment. Explanatory diagrams of the contour point angle calculation method in Figures 4 and 5.
6 is an explanatory diagram of the corner detection method in the first embodiment, FIG. 7 is an overall configuration diagram of the figure recognition device in the second embodiment of the present invention, and FIG. 8 is an illustration of the conventional figure recognition system. Overall configuration diagram, Figure 9 is an explanatory diagram of the conventional contour point extraction method,
FIG. 1o is an explanatory diagram of a conventional corner detection method. 15...--Binarization circuit, 16---Binary image frame memory, 17...--Work memory, 18-
... Arithmetic circuit, 19... - Contour point detection table, 2o.
...Type table, 51...Contour point extraction processing, 5
2...- Contour point angle calculation process, 53... Contour point angle difference calculation, 54... Contour point angle difference average calculation, 55
. . . corner detection processing, 56 . . . - precise search processing. Name of agent: Patent attorney Toshio Nakao and 1 other person 2nd
Dimensions
...-, 0...al's IQ) Figure 5, Figure 6-11110N-1111

Claims (5)

【特許請求の範囲】[Claims] (1)画像信号を2値化する手段と、前記2値画像の中
で注目する図形の輪郭上の一点を検出する手段と、前記
輪郭上の一点を開始点として順次輪郭に沿って輪郭点を
追跡し、前記図形の全輪郭点列を求める手段と、前記輪
郭点列を基に輪郭線の曲率関数を求める手段と、前記曲
率関数に基づき前記図形の輪郭上のコーナ部分を抽出す
る手段と、前記コーナの組合せにより、図形を認識する
手段を備えた図形認識装置において、前記輪郭点追跡の
開始点から輪郭点数がm個(mは整数)離れた輪郭点に
向かう直線の角度θ_1を求め、前記輪郭点追跡の開始
点から輪郭点数がn個(nは整数)離れた輪郭点より輪
郭点数がm個離れた輪郭点に向かう直線の角度θ_2を
求め、以下同様に全輪郭点列において輪郭点角度列θ_
iを求める手段と、前記輪郭点角度列θ_iを用いて隣
り合う輪郭点角度の差θ_i′=θ_i_+_1−θ_
iを全輪郭点角度列に対して求め、前記輪郭点角度差列
を持って前記輪郭点の曲率関数とする曲率関数算出手段
と前記輪郭点角度差別の中で、θ_i′が零の列から次
の零の列の間に存在するθ_i′の総和θ_j=Σθ_
i′を求め前記θ_jをコーナ情報として出力するコー
ナ抽出手段を有する図形認識装置。
(1) means for binarizing an image signal; means for detecting a point on the contour of a figure of interest in the binary image; and means for sequentially detecting contour points along the contour starting from the one point on the contour. means for determining a complete contour point sequence of the figure; means for determining a curvature function of the contour line based on the contour point sequence; and means for extracting a corner portion on the contour of the figure based on the curvature function. In a figure recognition device equipped with figure recognition means, the angle θ_1 of a straight line toward a contour point that is m contour points away from the start point of contour point tracking (m is an integer) is determined by the combination of the corners. Then, calculate the angle θ_2 of a straight line from the contour point that is n contour points (n is an integer) away from the starting point of contour point tracking to the contour point that is m contour points apart, and then calculate the entire contour point sequence in the same way. The contour point angle sequence θ_
i and the difference between adjacent contour point angles θ_i′=θ_i_+_1−θ_ using the contour point angle sequence θ_i
A curvature function calculation means which calculates i for all contour point angle sequences and uses the contour point angle difference sequence as a curvature function of the contour points, and in the contour point angle discrimination, Total sum of θ_i′ existing between the next string of zeros θ_j = Σθ_
A figure recognition device having corner extraction means for determining i' and outputting the θ_j as corner information.
(2)画像信号を2値化する手段と、前記2値画像の中
で注目する図形の輪郭上の一点を検出する手段と、前記
輪郭上の一点を開始点として順次輪郭に沿って輪郭点を
追跡し、前記図形の全輪郭点列を求める手段と、前記輪
郭点列を基に輪郭線の曲率関数を求める手段と、前記曲
率関数に基づき前記図形の輪郭上のコーナ部分を抽出す
る手段と、前記コーナの組合せにより図形を認識する手
段を備えた図形認識装置において、前記輪郭点追跡の開
始点から輪郭点数がm個(mは整数)離れた輪郭点に向
かう直線の角度θ_1を求め、前記輪郭点追跡の開始点
から輪郭点数がn個(nは整数)離れた輪郭点より輪郭
点数がm個離れた輪郭点に向かう直線の角度θ_2を求
め以下同様に全輪郭点列において輪郭点角度列θ_iを
求める手段と前記輪郭点角度列θ_iを用いて隣り合う
輪郭点角度の差θ_i=θ_i_+_1−θ_iを全輪
郭点角度列 に対して求め、前記輪郭点角度差別を持って前記輪郭点
の曲率関数とする曲率関数算出手段と前記輪郭点角度差
別の中で、θ_i′が零の列から次の零の列の間に存在
する輪郭点の個数lを求め、前記lをコーナ情報として
出力するコーナ抽出手段を有する図形認識装置。
(2) means for binarizing an image signal; means for detecting a point on the contour of a figure of interest in the binary image; and means for sequentially detecting contour points along the contour starting from the one point on the contour. means for determining a complete contour point sequence of the figure; means for determining a curvature function of the contour line based on the contour point sequence; and means for extracting a corner portion on the contour of the figure based on the curvature function. and, in a figure recognition device equipped with means for recognizing a figure based on a combination of corners, an angle θ_1 of a straight line toward a contour point that is m contour points away from the start point of contour point tracking (m is an integer) is determined. , calculate the angle θ_2 of a straight line from the contour point that is n contour points (n is an integer) away from the starting point of the contour point tracking to the contour point that is m contour points apart, and then similarly calculate the contour in the entire contour point sequence. Using means for determining a point angle sequence θ_i and the contour point angle sequence θ_i, the difference between adjacent contour point angles θ_i=θ_i_+_1−θ_i is calculated for the entire contour point angle sequence, and the contour Using the curvature function calculation means which is a curvature function of a point and the contour point angle discrimination, the number l of contour points existing between a row where θ_i' is zero and the next row where θ_i' is zero is calculated, and the number l is calculated using the corner information. A figure recognition device having a corner extraction means for outputting as follows.
(3)画像信号を2値化する手段と、前記2値画像の中
で注目する図形の輪郭上の一点を検出する手段と、前記
輪郭上の一点を開始点として順次輪郭に沿って輪郭を追
跡し、前記図形の全輪郭点列を求める手段と、前記輪郭
点列を基に輪郭線の曲率関数を求める手段と、前記曲率
関数に基づき前記図形の輪郭上のコーナ部分を抽出する
手段と、前記コーナの組合せにより、図形を認識する手
段を備えた図形認識装置において、前記輪郭点追跡の開
始から輪郭点数がm個(mは整数)離れた輪郭点に向か
う直線の角度θ_1を求め、前記輪郭点追跡の開始点か
ら輪郭点数がn個(nは整数)離れた輪郭点より輪郭点
数がm個離れた輪郭点に向かう直線の角度θ_2を求め
、以下同様に全輪郭点列において輪郭点角度列θ_iを
求め、次に前記輪郭点角度列θ_iを用いて隣り合う輪
郭点角度の差θ_i′=θ_i_+_1−θ_iを全輪
郭点角度列に対して求め、前記輪郭点角度差別を持って
前記輪郭点の曲率関数とする曲率関数算出手段と、前記
輪郭点角度差別の中で、θ_i′が零の列から次の零の
列の間に存在するθ_i′の総和θ_j=Σθ_i′と
前記θ_jのコーナを構成する輪郭点数2を求め、前記
θ_j、lをコーナ情報として出力するコーナ抽出手段
を有すると共に、前記パラメータm、nを可変とし独立
して設定する手段を有した図形認識装置。
(3) means for binarizing an image signal; means for detecting a point on the outline of a figure of interest in the binary image; means for determining a complete contour point sequence of the figure; means for determining a curvature function of the contour line based on the contour point sequence; and means for extracting a corner portion on the contour of the figure based on the curvature function. , in a figure recognition device equipped with a means for recognizing figures based on the combination of the corners, find an angle θ_1 of a straight line toward a contour point that is m contour points away from the start of the contour point tracking (m is an integer); Obtain the angle θ_2 of a straight line from the contour point that is n contour points (n is an integer) away from the start point of the contour point tracking to the contour point that is m contour points apart, and similarly calculate the contour in the entire contour point sequence. Find the point angle sequence θ_i, then use the contour point angle sequence θ_i to find the difference between adjacent contour point angles θ_i'=θ_i_+_1−θ_i for the entire contour point angle sequence, and use the contour point angle difference a curvature function calculating means for calculating a curvature function of the contour point; A figure recognition device comprising corner extraction means for determining the number of contour points 2 constituting a corner of θ_j and outputting the θ_j, l as corner information, and means for making the parameters m and n variable and independently setting them.
(4)画像信号を2値化する手段と、前記2値画像の中
で注目する図形の輪郭上の一点を検出する手段と、前記
輪郭上の一点を開始点として順次輪郭に沿って輪郭点を
追跡し、前記図形の全輪郭点列を求める手段と、前記輪
郭点列を基に輪郭線の曲率関数を求める手段と、前記曲
率関数に基づき前記図形の輪郭上のコー部分を抽出する
手段と、前記コーナの組合せにより、図形を認識する手
段を備えた図形認識装置において、前記輪郭点追跡の開
始点から輪郭点数がm個(mは整数)離れた輪郭点に向
かう直線の角度θ_1を求め、前記輪郭点追跡の開始点
から輪郭点数がn個(nは整数)離れた輪郭点より輪郭
点数がm個離れた輪郭点に向かう直線の角度θ_2を求
め、以下同様に全輪郭点列において輪郭点角度列θ_i
を求める手段と、前記輪郭点角度列θ_iを用いて隣り
合う輪郭点角度の差θ_i′=θ_i_+_1−θ_i
を全輪郭点角度列に対して求め、前記輪郭点角度差別を
持って前記輪郭点の曲率関数とする曲率関数算出手段と
、前記輪郭点角度差別の中で、θ_i′が零の列から次
の零の列の間に存在するθ_i′の総和θ_j=Σθ_
i′を求め、前記θ_jをコーナ情報として出力するコ
ーナ抽出手段と、前記コーナ抽出手段の出力を判定し、
前記パラメータm、nの設定値を変化させる手段とを有
することを特徴とする図形認識装置。
(4) means for binarizing an image signal; means for detecting a point on the contour of the figure of interest in the binary image; and means for sequentially detecting contour points along the contour starting from the one point on the contour. means for determining a complete contour point sequence of the figure; means for determining a curvature function of the contour line based on the contour point sequence; and means for extracting a curved portion on the contour of the figure based on the curvature function. In a figure recognition device equipped with figure recognition means, the angle θ_1 of a straight line toward a contour point that is m contour points away from the start point of contour point tracking (m is an integer) is determined by the combination of the corners. Then, calculate the angle θ_2 of a straight line from the contour point that is n contour points (n is an integer) away from the starting point of contour point tracking to the contour point that is m contour points apart, and then calculate the entire contour point sequence in the same way. The contour point angle sequence θ_i
and the difference between adjacent contour point angles θ_i'=θ_i_+_1−θ_i using the contour point angle sequence θ_i.
curvature function calculation means that calculates for all contour point angle sequences and uses the contour point angle discrimination as a curvature function of the contour point; The sum of θ_i′ existing between the strings of zeros θ_j=Σθ_
i′ and outputting the θ_j as corner information; and determining the output of the corner extraction means;
A figure recognition device comprising means for changing set values of the parameters m and n.
(5)画像信号を2値化する手段と、前記2値画像の中
で注目する図形の輪郭上の一点を検出する手段と、前記
輪郭上の一点を開始点として順次輪郭に沿って輪郭点を
追跡し、前記図形の全輪郭点列を求める手段と、前記輪
郭点列を基に輪郭線の曲率関数を求める手段と、前記曲
率関数に基づき前記図形の輪郭上のコーナ部分を抽出す
る手段と、前記コーナの組合せにより、図形を認識する
手段を備えた図形認識装置において、前記輪郭点追跡の
開始点から輪郭点数がm個(mは整数)離れた輪郭点に
向かう直線の角度θ_1を求め、前記輪郭点追跡の開始
点から輪郭点数がn個(nは整数)離れた輪郭点より輪
郭点数がm個離れた輪郭点に向かう直線の角度θ_2を
求め、以下同様に全輪郭点列において輪郭点角度列θ_
iを求める手段と、前記輪郭点角度列θ_iを用いて隣
り合う輪郭点角度の差θ_i′=θ_i_+_1−θ_
iを全輪郭点角度列に対して求め、前記輪郭点角度差別
を持って前記輪郭点の曲率関数とする曲率関数算出手段
と、前記輪郭点角度差別の中で、θ_i′が零の列から
次の零の列の間に存在するθ_i′の総和θ_1=Σθ
_i′を求め、前記θ_jをコーナ情報として出力する
コーナ抽出手段と、このコーナ抽出手段の出力を判定し
前記パラメータm、nの設定値を変化させる手段と、前
記設定したパラメータm、nを対象物の品種と共に記憶
する手段とを有することを特徴とする図形認識装置。
(5) means for binarizing an image signal; means for detecting a point on the outline of a figure of interest in the binary image; and means for sequentially detecting outline points along the outline starting from the one point on the outline. means for determining a complete contour point sequence of the figure; means for determining a curvature function of the contour line based on the contour point sequence; and means for extracting a corner portion on the contour of the figure based on the curvature function. In a figure recognition device equipped with figure recognition means, the angle θ_1 of a straight line toward a contour point that is m contour points away from the start point of contour point tracking (m is an integer) is determined by the combination of the corners. Then, calculate the angle θ_2 of a straight line from the contour point that is n contour points (n is an integer) away from the starting point of contour point tracking to the contour point that is m contour points apart, and then calculate the entire contour point sequence in the same way. The contour point angle sequence θ_
i and the difference between adjacent contour point angles θ_i′=θ_i_+_1−θ_ using the contour point angle sequence θ_i
curvature function calculation means that calculates i for all contour point angle sequences and uses the contour point angle discrimination as a curvature function of the contour point; Total sum of θ_i′ existing between the next string of zeros θ_1 = Σθ
corner extraction means for determining _i' and outputting the θ_j as corner information; means for determining the output of the corner extraction means and changing the set values of the parameters m and n; and a means for determining the set parameters m and n. 1. A figure recognition device comprising: means for storing the type of an object together with the type of the object.
JP61168347A 1986-07-17 1986-07-17 Figure recognition device Expired - Lifetime JPH065545B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP61168347A JPH065545B2 (en) 1986-07-17 1986-07-17 Figure recognition device
EP87110311A EP0253397B1 (en) 1986-07-17 1987-07-16 Shape recognition method
US07/074,186 US4845764A (en) 1986-07-17 1987-07-16 Shape recognition apparatus
DE87110311T DE3787587T2 (en) 1986-07-17 1987-07-16 Shape recognition process.
KR1019870007792A KR920004956B1 (en) 1986-07-17 1987-07-18 Drawing figure recognition apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61168347A JPH065545B2 (en) 1986-07-17 1986-07-17 Figure recognition device

Publications (2)

Publication Number Publication Date
JPS6324473A true JPS6324473A (en) 1988-02-01
JPH065545B2 JPH065545B2 (en) 1994-01-19

Family

ID=15866373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61168347A Expired - Lifetime JPH065545B2 (en) 1986-07-17 1986-07-17 Figure recognition device

Country Status (1)

Country Link
JP (1) JPH065545B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115372A (en) * 1990-09-05 1992-04-16 A T R Tsushin Syst Kenkyusho:Kk Device for extracting face feature point
US5407081A (en) * 1991-11-02 1995-04-18 Tohoku Ricoh Co., Ltd. Stacker having a classifying bullet to shift delivered sheet
US5638462A (en) * 1993-12-24 1997-06-10 Nec Corporation Method and apparatus for recognizing graphic forms on the basis of elevation angle data associated with sequence of points constituting the graphic form
JP2002049909A (en) * 2000-08-03 2002-02-15 Namco Ltd Device and method for processing pattern recognition and information storage medium
KR100455267B1 (en) * 1997-01-31 2005-01-15 삼성전자주식회사 Method of contour data extraction and reconstruction
US7534469B2 (en) 2005-03-31 2009-05-19 Asm Japan K.K. Semiconductor-processing apparatus provided with self-cleaning device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115372A (en) * 1990-09-05 1992-04-16 A T R Tsushin Syst Kenkyusho:Kk Device for extracting face feature point
US5407081A (en) * 1991-11-02 1995-04-18 Tohoku Ricoh Co., Ltd. Stacker having a classifying bullet to shift delivered sheet
US5638462A (en) * 1993-12-24 1997-06-10 Nec Corporation Method and apparatus for recognizing graphic forms on the basis of elevation angle data associated with sequence of points constituting the graphic form
KR100455267B1 (en) * 1997-01-31 2005-01-15 삼성전자주식회사 Method of contour data extraction and reconstruction
JP2002049909A (en) * 2000-08-03 2002-02-15 Namco Ltd Device and method for processing pattern recognition and information storage medium
US7534469B2 (en) 2005-03-31 2009-05-19 Asm Japan K.K. Semiconductor-processing apparatus provided with self-cleaning device

Also Published As

Publication number Publication date
JPH065545B2 (en) 1994-01-19

Similar Documents

Publication Publication Date Title
KR920004956B1 (en) Drawing figure recognition apparatus
JPH03294976A (en) Reference mark pattern detecting device
JPH01111281A (en) Parts recognizing method
JPS6324473A (en) Graphic recognizing device
JPH02306386A (en) Character recognizing device
JPH07325880A (en) Watthour meter character recognition device
JPH0953915A (en) Method for recognizing overlapping state
JPS6073408A (en) Pattern recognizing device
JPS62282379A (en) Graphic recognition device
JPH10162139A (en) Image processor, and medium where image processing program is recorded
JP3447751B2 (en) Pattern recognition method
JPH10332333A (en) Method for detecting angle of rotation and position of object
JP2506673B2 (en) Electronic component lead recognition device
JPS63170789A (en) Pattern resemblance degree detection circuit
JPH0410074A (en) Picture pattern inclination detecting method
JPH07104931B2 (en) Line figure polygonalization method
JPH0415506B2 (en)
JPH09288068A (en) Appearance inspecting instrument
JPH0143351B2 (en)
JPH0624026B2 (en) Image shape recognition method
JPH04365045A (en) Reticle pattern inspecting device
JPS59142664A (en) Corner position detector
JPH07213491A (en) Cornea endothelial cell density measuring device
JPS6186879A (en) Label attachment device to hole
JPS5917477B2 (en) Similar character discrimination method for character recognition

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term