JPS6186879A - Label attachment device to hole - Google Patents
Label attachment device to holeInfo
- Publication number
- JPS6186879A JPS6186879A JP59208654A JP20865484A JPS6186879A JP S6186879 A JPS6186879 A JP S6186879A JP 59208654 A JP59208654 A JP 59208654A JP 20865484 A JP20865484 A JP 20865484A JP S6186879 A JPS6186879 A JP S6186879A
- Authority
- JP
- Japan
- Prior art keywords
- hole
- center
- gravity
- calculation means
- determined
- 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
Links
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の属する技術分野〕
本発明は、例えば視覚センサーを用いて、被判定部品と
しての複数の穴をもった平面状の部品(平面部品と呼ぶ
)の欠陥検査あるいは部品識別を行なう場合に、平面部
品自体及び、各穴の特徴量(面積1周囲長9重心1位置
、姿勢など)の抽出と判定処理を行なうための、各穴に
ラベル付け(番号付け)を行う装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention pertains] The present invention relates to defect inspection of a planar part (referred to as a planar part) having a plurality of holes as a part to be judged, using a visual sensor, for example. When identifying parts, each hole is labeled (numbered) in order to extract and judge the planar part itself and the feature values of each hole (area, perimeter, center of gravity, position, etc.). Regarding the equipment for performing.
以下各図において同一の符号は同−又は相当部分を示す
。In the following figures, the same reference numerals indicate the same or corresponding parts.
従来、平面部品内の複数個の穴にラベル付けを行う方法
としては、第4図、′第5図に示すような装置および方
法があった。すなわち第4図において、あらかじめ整列
され、複数個の穴のあいた被判定部品100は、部品搬
送手段(ベルトコンベアなど)101によって、2次元
撮像装置102の下に搬送され、撮像されて該撮像装置
102から被判定部品100のアナログの画像信号10
2aが出力される。部品検査判定装置103はその画像
信号102aをデジタル化(2値化)シ、背景と被判定
部品100の領域とをセグメンテーション(パターン分
離)シ、その後まず部品100それ自体の特徴量(面積
1周囲長1重心9位置。Conventionally, as a method for labeling a plurality of holes in a planar component, there has been an apparatus and method as shown in FIGS. 4 and 5. That is, in FIG. 4, parts to be determined 100 that have been aligned in advance and have a plurality of holes are transported by a parts transport means (such as a belt conveyor) 101 under a two-dimensional imaging device 102, and are imaged by the imaging device. 102 to analog image signal 10 of the part to be determined 100
2a is output. The component inspection/judgment device 103 digitizes (binarizes) the image signal 102a, performs segmentation (pattern separation) between the background and the region of the component 100 to be determined, and then first calculates the feature amount (area 1 circumference) of the component 100 itself. Length 1 center of gravity 9 position.
姿勢など)を抽出する。次にその内部にある複数の穴の
各穴についてラベル付けを行い、各穴の特徴量(面積2
周囲長2重心2位置、姿勢など)を抽出し、最後に総合
判定を行なって、被判定部品100の欠隔検査あるいは
部品の識別をする。posture, etc.). Next, each of the multiple holes inside the hole is labeled, and the feature value (area 2
(perimeter, center of gravity, two positions, posture, etc.) are extracted, and finally a comprehensive judgment is performed to perform gap inspection or identification of the part to be judged 100.
この場合の各穴のラベル付けの方法は、あらかじめ部品
100を所定の姿勢となるように整列させておいて、判
定装置103に付された表示装置104に示されるよう
に部品工00の2値化画像の走査線105の走査の順に
穴の番号または名前がつけられていく。例えば第4図の
表示装置104の中に映っている三角形の平面部品の三
つの穴のう゛ベル付け(番号付け)は、一番上の穴H1
が番号■、その下の右側の穴H2が番号■、左側の穴H
3が番号■となる。このような判定装置および方法では
、まず被判定部品100をあらかじめ人間あるいは何ら
かの方法を介して整列させなければならないという欠点
がある。In this case, the method of labeling each hole is to align the parts 100 in advance so that they have a predetermined posture, and then display the binary value of part machining 00 as shown on the display device 104 attached to the judgment device 103. Hole numbers or names are assigned in the order in which the scanning lines 105 of the converted image are scanned. For example, the labeling (numbering) of the three holes of the triangular planar component shown in the display device 104 in FIG. 4 is the top hole H1.
is the number ■, the hole H2 on the right below it is the number ■, and the hole H on the left
3 becomes the number ■. Such a determination apparatus and method has a drawback in that the parts 100 to be determined must be aligned in advance by a person or by some other method.
すなわち第5図(5)は、整列された部品100Aのラ
ベル付けを示している。この図(5)は第4図における
判定処理内容の表示装置104に映っているものと同じ
である。他方第5図(B)は整列されない部品100B
のラベル付けを示している。図(8)の番号■と■のラ
ベル付けが図(B)では入れ換った形となっている。こ
のように従来のラベル付け方法では被判定部品100を
整列させないと一義的なラベル付けを行うことができな
い。しかしながら被判定部品は整列するという工程を経
ずに、加工されて出てきたままの姿勢で検査、識別でき
ることが強く望まれている。That is, FIG. 5(5) shows labeling of the aligned parts 100A. This figure (5) is the same as what is displayed on the display device 104 of the determination processing contents in FIG. On the other hand, FIG. 5(B) shows parts 100B that are not aligned.
labeling. The labels of numbers ■ and ■ in Figure (8) have been switched in Figure (B). As described above, in the conventional labeling method, unique labeling cannot be performed unless the parts to be determined 100 are aligned. However, it is strongly desired that the parts to be determined can be inspected and identified in the same posture as they are processed, without going through the process of aligning them.
この発明は前記の欠点を除き、複数の穴のあいた平面部
品の各穴の検査識別の際に、平面部品の姿勢にかかわら
ず、各穴に対して一義的にラベル付けを行なうことので
きる装置を提供することを目的とする。This invention eliminates the above-mentioned drawbacks and provides an apparatus that can uniquely label each hole regardless of the orientation of the flat part when inspecting and identifying each hole in a flat part with a plurality of holes. The purpose is to provide
本発明の要点は、複数個の穴をもった被判定部品を2次
元撮像手段によって画像としてとらえ、所定の関値で二
値化して背景と部品を分離し、穴部を含む部品画像全体
の重心(部品重心と呼ぶ)の座標と、各穴の面積8周囲
長及び重心(穴重心と呼ぶ)の座標と、前記部品重心か
ら各穴重心に至る各線分の長さと、隣接する前記線分の
なす角度の各々とをそれぞれ求め、それらの値から(1
)最大面積の穴、もしくは(2)最大周囲長の穴、もし
くは(3) i&大長の前記線分となる穴、または(4
)前記の角度が最大となる角度を作る2つの線分のうち
いずれか所定の一方の線分の方の穴に、第1番目のラベ
ル付けを行い、それを基点として、部品重心を中心とし
て一定方向(時計方向または反時計方向)に順にラベル
付けをしてゆく点にある。The gist of the present invention is to capture an image of a part to be determined that has a plurality of holes using a two-dimensional imaging means, binarize it using a predetermined function value, and separate the background from the part. The coordinates of the center of gravity (referred to as the center of gravity of the part), the area and circumference of each hole, the coordinates of the center of gravity (referred to as the center of gravity of the hole), the length of each line segment from the part gravity to the center of gravity of each hole, and the adjacent line segments. Find each of the angles formed by , and from those values (1
) a hole with the maximum area, or (2) a hole with the maximum circumference, or (3) a hole that is the line segment of i & large length, or (4
) Label the first hole in one of the two line segments that makes the angle where the above angle is the maximum, and use that as the base point to label the hole with the center of gravity of the part as the center. The point is to sequentially label in a certain direction (clockwise or counterclockwise).
この場合前記(1)〜(4)の4種類の特徴量(面積。In this case, the four types of feature amounts (area) described above (1) to (4) are used.
周囲長、線分長(距離)、角度)に対してどのような優
先順位をつけることも可能であり、ある特徴量の最大の
穴が複数個存在した場合、またはある特徴量の最大の穴
とこれに次ぐその特徴量の穴との各特徴量の大きさがほ
ぼ等しい(前記大きさの差が所定値以下の)場合には、
1つ低い優先順位の特徴量を用いて、ラベル付けの基点
となる穴を決める。ここでさらに、この1つ低い優先順
位の特徴量を用いた場合にも、上記のようなこと(最大
の特徴量が複数個あるか、次の大きさのものとほぼ等し
いこと)が生じた場合には順次同様な決定方法を繰返す
ものである。It is possible to give any priority to the perimeter, line segment length (distance), angle), and if there are multiple largest holes of a certain feature, or the largest hole of a certain feature If the size of each feature quantity between the hole and the next feature quantity hole is almost equal (the difference in size is less than or equal to a predetermined value),
The hole that will be the base point for labeling is determined using the feature with the next lower priority. Furthermore, even when using the feature with the next lower priority, the same thing as above (the largest feature is more than one, or is almost equal to the next largest feature) occurs. In such cases, the same determination method is repeated one after another.
換言すれば本発明の要点は、2次元の面内の形状で特定
され、核面に垂直な方向の複数の穴を持つ被判定物(被
判定部品など)の前記2次元の2値化画像に基づいて、
前記の各穴に番号付を行う:Ai夕において、
前記被判定物の2値化画像の重心(部品重心など、以下
本体重心という)を求める本体重心算出手段(部品重心
算出回路など)と、前記の各穴の。In other words, the gist of the present invention is that the two-dimensional binarized image of an object to be judged (such as a part to be judged) is specified by a two-dimensional in-plane shape and has a plurality of holes in a direction perpendicular to the nuclear surface. On the basis of the,
Numbering each of the holes: A body center calculation means (such as a component gravity center calculation circuit) for calculating the gravity center of the binarized image of the object to be determined (such as a component gravity center, hereinafter referred to as the body gravity center); of each hole mentioned above.
2(亘化1而像の重心(以下穴重心という)を求める穴
重心算出手段(穴型心算出回路など)と、前記各穴の形
状又は各穴重心及び本体重心間の相対配置から定まる各
穴の特徴量を算出する穴特徴量算出手段と、各穴の前記
特徴量を比較し基点となる穴重心を決定する基点決定手
段(位置・回転正規化回路など)と、本体重心を中心と
し前記基点から所定の回転方向(時計方向又は反時計方
向)に順欠各穴重心をたどりつつ各穴に番号付を行う穴
ラベル付け手段(穴ラベル付け回路など)とを備えるよ
うにした点又はさらに前記穴特徴量算出手段は、各穴の
面積を算出する穴面積算出手段(穴部検出回路など)、
もしくは各穴の周囲長を算出する穴周囲長算出手段(穴
周囲長算出回路など)、もしくは各穴重心と本体重心と
の距離(以下重心に対応する線分と、該線分に隣接する
同様な線分のうち何れか所定の前記回転方向の側にある
ものとのなす角度を、各穴に対応する角度として算出す
る角度算出回路(角度算出回路など)、を備えたものと
した点にある。2 (Hole center of gravity calculation means (hole type center calculation circuit, etc.) for determining the center of gravity of the Wakaka 1 virtual image (hereinafter referred to as the hole center of gravity), and each hole gravity center calculation means (such as a hole type center calculation circuit) that determines the center of gravity of the object (hereinafter referred to as the hole center of gravity), and each hole shape determined from the shape of each hole or the relative arrangement between the center of gravity of each hole and the center of gravity of the body. A hole feature calculation means for calculating the feature of the hole, a base point determining means (such as a position/rotation normalization circuit) for comparing the feature of each hole and determining the center of gravity of the hole as a base point, and a A hole labeling means (hole labeling circuit, etc.) for numbering each hole while sequentially tracing the center of gravity of each hole in a predetermined rotation direction (clockwise or counterclockwise) from the base point, or Furthermore, the hole feature calculation means includes a hole area calculation means (hole detection circuit, etc.) that calculates the area of each hole;
Or a hole perimeter calculation means (hole perimeter calculation circuit, etc.) that calculates the perimeter of each hole, or the distance between the center of gravity of each hole and the center of gravity of the main body (hereinafter referred to as a line segment corresponding to the center of gravity and a similar distance adjacent to the line segment). An angle calculation circuit (such as an angle calculation circuit) that calculates the angle formed by any of the line segments on the side of the predetermined rotation direction as the angle corresponding to each hole. be.
以下第1図〜第3図に基づいて本発明の詳細な説明する
。第1図は本発明の実施例の構成を示すブロック図、第
2図は3つの穴を持つ平面部品の穴のラベル付けのため
の特徴量の例を示す図、第3図はラベル付けの際の基点
の穴重心を決定するための第1図の動作手順例を示すフ
ローチャートである。The present invention will be described in detail below based on FIGS. 1 to 3. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing an example of feature values for labeling holes in a flat part with three holes, and FIG. 2 is a flowchart showing an example of the operation procedure of FIG. 1 for determining the center of gravity of the hole at the base point;
第1図、第2図においてまず複数個の穴H(H11〜H
13)をもち整列されていない被判定牛部品100を2
次元撮像装置102によって撮像し、所定の閣値によっ
て二値化回路302によって二値化することによって部
品を背景から分離した2値化画像(部品画像という)を
得る。次に部品重心算出回路313によって穴H1l〜
H13を含む部品100の重心(部品重心)GOの座標
を、他li!i++象特徴計数器314によって部品画
像の他の特徴量を求める。また同時に穴部検出回路30
3によって部品画像の中に存在する六H11〜H13)
を検出し、この検出データから大面積算出回路304に
よって各穴H1l〜H13の面積S1〜S3の算出を、
同じく穴周囲長算出回路305によって各穴の周囲長1
1〜13を、同じく穴型心算出回路306によって各穴
の重心01〜G3の座標を算出する。次に該穴型心算出
回路306と前記部品重心算出回路313との各演算結
果を入力する重心間距離算出回路307により部品重心
Goと各穴の重心01〜G3を結ぶ線分の長さく重心間
距離という)Ll〜L3を算出する。同じく同時に前記
演算結果を入力する角度算出回路308によって隣接す
る前記線分間の角度01〜θ3を求める。ただしθ1.
θ2.θ3はそれぞれ線分Gl 、 Goと02.Go
、市7[有]と03 GO1G3 、 GOとGIGO
とのなす角度を意味している。位置・回転正規化回路3
09は前述の特徴量(大面積、穴周囲長1重心間距離、
角度)をもとにして部品100がどのように回転又は位
置ずれしていても同じ穴に同じラベル付けがされるよう
にする。In Figs. 1 and 2, first, a plurality of holes H (H11 to H
13) The unaligned cow parts 100 with 2
An image is captured by the dimensional imaging device 102 and binarized by the binarization circuit 302 according to a predetermined value, thereby obtaining a binarized image (referred to as a component image) in which the component is separated from the background. Next, the component gravity center calculation circuit 313 calculates the hole H1l~
The coordinates of the center of gravity (part center of gravity) GO of the part 100 including H13, etc. Other feature quantities of the part image are determined by the i++ elephant feature counter 314. At the same time, the hole detection circuit 30
6 H11 to H13 that exist in the part image by 3)
is detected, and based on this detection data, the large area calculation circuit 304 calculates the areas S1 to S3 of each hole H1l to H13.
Similarly, the hole circumference calculation circuit 305 calculates the circumference 1 of each hole.
1 to 13, the coordinates of the center of gravity 01 to G3 of each hole are calculated by the hole type center calculation circuit 306. Next, the center-to-gravity distance calculation circuit 307 inputting the calculation results of the hole type center calculation circuit 306 and the component gravity center calculation circuit 313 calculates the center of gravity by the length of the line segment connecting the component gravity center Go and the gravity centers 01 to G3 of each hole. L1 to L3 (referred to as distance between each other) are calculated. At the same time, angles 01 to θ3 between the adjacent line segments are determined by an angle calculation circuit 308 to which the calculation results are input. However, θ1.
θ2. θ3 is the line segment Gl, Go and 02. Go
, City 7 [Yes] and 03 GO1G3, GO and GIGO
It means the angle formed by Position/rotation normalization circuit 3
09 is the above-mentioned feature quantity (large area, hole circumference, distance between centroids,
The same hole is labeled the same no matter how the part 100 is rotated or misaligned based on the angle.
そのために前もって大面1is(81〜S3)、穴周囲
長1(11〜13)、重心間距離L(1,1〜L3)、
角度θ(θ1〜θ3)に優先順位をつける。例えばこの
場合、面積1周囲長2重心間距離。For this purpose, in advance, the large surface 1is (81 to S3), the hole circumference 1 (11 to 13), the distance between the centers of gravity L (1,1 to L3),
Prioritize the angles θ (θ1 to θ3). For example, in this case, area 1 perimeter 2 distance between centroids.
角度の順に優先順位をつけるものとする。Priority shall be given in order of angle.
次に第3図の手順によって基点となる穴を決定する。す
なわち同図において、ステップ501では大面積Sが最
大の穴が複数個あるか否か、あるいは最大の大面積と、
これに次ぐ大面積との差が所定値以下であるか否かを判
別する。否(N)の場合は、最大面積として有意な穴が
1つしかないので、ステップ502で最大面積の穴を基
点とする。Next, the hole that will serve as the base point is determined by the procedure shown in FIG. That is, in the same figure, in step 501, it is determined whether or not there are a plurality of holes with the largest large area S, or the largest large area.
It is determined whether the difference from the next largest area is less than or equal to a predetermined value. If not (N), there is only one hole that has a significant maximum area, so in step 502, the hole with the maximum area is set as the base point.
ステップ501でg(Y)の場合は、ステップ503で
次の優先順位の特徴量としての穴周囲長lの値を用いて
ステップ501と同様な判別(すなわち周囲長lが最大
の穴が複数個あるか否か、あるいは最大の穴周囲長と、
これに次ぐ穴周囲長との差が所定値以下であるか否かの
判別)を行う。In the case of g(Y) in step 501, in step 503, the value of the hole circumference l as the next priority feature is used to perform the same determination as in step 501 (i.e., if there are multiple holes with the maximum circumference l) Whether or not there is, or the maximum hole circumference,
Next, a determination is made as to whether the difference with the next hole circumference is less than or equal to a predetermined value.
否(N)の場合はステップ504で最大周囲長の穴を基
点とし、諾(Y)の場合はステップ505で次の優先順
位の特徴量としての重心間距離の値を用いて前記ステッ
プ501,503と同様な判別を行い、否(N’)の場
合はステップ506で最大の重心間距離の穴を基点とし
、諾(Y)の場合は更にステップ507に移り、次の優
先順位の特徴量としての角度θの最大のものに対応する
穴(例えば第2図の例では当該の角度θを形成する2つ
の重心間線分のうち、部品重心GOを中心として当該の
角度θを含む領域でその角度θを測るとき時計方向側に
位する線分上に重心を持つ穴)Hを基点とする。If no (N), the hole with the maximum circumference is used as the base point in step 504, and if yes (Y), the value of the distance between centroids as the next priority feature is used in step 501, The same judgment as in step 503 is made, and if no (N'), the hole with the maximum distance between the centers of gravity is used as the base point in step 506, and if yes (Y), the process moves to step 507 and the feature value of the next priority is determined. The hole corresponding to the maximum angle θ (for example, in the example in Fig. 2, the area containing the angle θ centered around the component gravity center GO among the two line segments between the centroids forming the angle θ) When measuring the angle θ, the hole (H) whose center of gravity is on a line segment located on the clockwise side is used as the base point.
このようにして第2図の例において、各特徴量の値が仮
に大面積S1:S2>83.穴周囲長11=12=63
.重心間距離Ll>L2>L3という関係にあるとした
場合には、第3図の手順によって最大の重心間距離L1
を持つ穴H1lが基点として決定される。In this way, in the example of FIG. 2, if the value of each feature amount is large area S1:S2>83. Hole circumference 11=12=63
.. When the relationship between the centers of gravity Ll>L2>L3 is established, the maximum distance between the centers of gravity L1 is determined by the procedure shown in FIG.
The hole H1l having the shape is determined as the base point.
再び第1図に戻り、穴ラベル付け回路310は部品重心
Goを中心に前記の基点となる穴重心から所定方向(第
2図の例では反時計方向)に他の穴爪心をたどり順次ラ
ベル付けを行う。従って穴)111.HI3.HI3の
順に大番号■、■、■とラベル付けされることになる。Returning to FIG. 1 again, the hole labeling circuit 310 follows other hole nail centers in a predetermined direction (counterclockwise in the example of FIG. 2) from the center of gravity of the component center Go in a predetermined direction (counterclockwise in the example of FIG. 2) and sequentially labels them. Attach. Therefore, the hole) 111. HI3. The large numbers ■, ■, ■ will be labeled in the order of HI3.
以上の説明から明らかなように、本発明によれば複数の
穴を持つ平面部品において、穴の形状。As is clear from the above description, according to the present invention, in a flat part having a plurality of holes, the shapes of the holes can be changed.
配置から定る各穴の特徴量すなわち、大面積、穴周囲長
2重心間距離(部品重心と当該穴の重心との距離)、角
度(前記距離に対応する線分が隣接するものとなす角度
)等の値を相互に比較して基点となる穴を決定したのち
、部品重心を中心として基点となる穴重心から所定の時
計又は反時計方向に各穴重心をたどり各穴にラベル付け
を行うこととしたので、平面部品の位置1回路にかかわ
りなく、その上の各穴に一義的に定まるラベル付けを行
うことができる。Characteristics of each hole determined from the arrangement: large area, hole circumference, distance between two centers of gravity (distance between the center of gravity of the part and the center of gravity of the hole), and angle (the angle between adjacent line segments corresponding to the above distance) ), etc. to determine the hole that will serve as the base point, then trace the center of gravity of each hole in a predetermined clockwise or counterclockwise direction from the center of gravity of the hole that will be the base point, centering on the center of gravity of the part, and label each hole. As a result, each hole on the planar component can be uniquely labeled regardless of the position of one circuit on the planar component.
第1図は本発明の実施例の構成を示すブロック図、第2
図は被判定部品の部品画像上の各穴の特徴量の例を示す
図、第3図はラベル付けのための基点となる穴重心を決
定する手順例を示すフローチャート、第4図は従来のラ
ベル付け装置の構成を示すブロック図、第5図は第4図
のラベル付け動作を説明するための部品画像を示す図で
ある。
100・・・被判定部品、工02・・・2次元撮像装置
、302・・2値化回路、303・・・穴部検出回路、
304・・・大面積算出回路、305・・・穴周囲長算
出回路、306・・・穴型心算出回路、307・・重心
間距離算出回路、308・・・角度算出回路、309・
・・位置・回転正規化回路、310・・・穴ラベル付け
回路、311・・・メモIJ、312・・・総合判定回
路、313・・・部品重心算出回路、314・・・参他
画像特徴計数第2図
第3図FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG.
The figure is a diagram showing an example of the feature amount of each hole on the part image of the part to be determined, Figure 3 is a flowchart showing an example of the procedure for determining the center of gravity of the hole, which is the base point for labeling, and Figure 4 is the conventional FIG. 5 is a block diagram showing the configuration of the labeling device. FIG. 5 is a diagram showing component images for explaining the labeling operation of FIG. 4. 100... Part to be determined, Work 02... Two-dimensional imaging device, 302... Binarization circuit, 303... Hole detection circuit,
304... Large area calculation circuit, 305... Hole perimeter calculation circuit, 306... Hole center calculation circuit, 307... Center of gravity distance calculation circuit, 308... Angle calculation circuit, 309.
... Position/rotation normalization circuit, 310 ... Hole labeling circuit, 311 ... Memo IJ, 312 ... Comprehensive judgment circuit, 313 ... Part gravity center calculation circuit, 314 ... Other image features Counting Figure 2 Figure 3
Claims (1)
の複数の穴を持つ被判定物の前記2次元の2値化画像に
基づいて、前記の各穴に番号付を行う装置において、 前記被判定物の2値化画像の重心(以下本体重心という
)を求める本体重心算出手段と、前記の各穴の2値化画
像の重心(以下穴重心という)を求める穴重心算出手段
と、前記各穴の形状又は各穴重心及び本体重心間の相対
配置から定まる各穴の特徴量を算出する穴特徴量算出手
段と、各穴の前記特徴量を比較し基点となる穴重心を決
定する基点決定手段と、本体重心を中心とし前記基点か
ら所定の回転方向に順次各穴重心をたどりつつ各穴に番
号付を行う穴ラベル付け手段とを備えたことを特徴とす
る穴ラベル付け装置。 2)特許請求の範囲第1項に記載の装置において、前記
穴特徴量算出手段は、各穴の面積を算出する穴面積算出
手段、もしくは各穴の周囲長を算出する穴周囲長算出手
段、もしくは各穴重心と本体重心との距離(以下重心間
距離という)を算出する重心間距離算出手段、又は当該
穴の重心間距離に対応する線分と、該線分に隣接する同
様な線分のうち何れか所定の前記回転方向の側にあるも
のとのなす角度を、各穴に対応する角度として算出する
角度算出手段、を備えたものであることを特徴とする穴
ラベル付け装置。[Scope of Claims] 1) Based on the two-dimensional binarized image of the object to be determined, which is specified by a shape in a two-dimensional plane and has a plurality of holes in a direction perpendicular to the plane, each of the above-mentioned The apparatus for numbering holes includes a main body center of gravity calculation means for calculating the center of gravity of the binarized image of the object to be determined (hereinafter referred to as the body center of gravity), and a center of gravity of the binarized image of each hole (hereinafter referred to as the hole gravity center). ), and a hole feature calculation means that calculates the feature amount of each hole determined from the shape of each hole or the relative arrangement between the center of gravity of each hole and the center of gravity of the main body, and the feature amount of each hole is compared. and a hole labeling means for sequentially tracing the center of gravity of each hole in a predetermined rotation direction from the base point with the center of gravity of the main body as the center and numbering each hole. A hole labeling device featuring: 2) In the apparatus according to claim 1, the hole feature calculation means includes hole area calculation means for calculating the area of each hole, or hole perimeter calculation means for calculating the perimeter of each hole; Or a center-of-gravity distance calculation means that calculates the distance between the center of gravity of each hole and the center of gravity of the main body (hereinafter referred to as the center-of-gravity distance), or a line segment corresponding to the distance between the center of gravity of the hole and a similar line segment adjacent to the line segment. A hole labeling device comprising an angle calculation means for calculating an angle formed with one of the holes on the side in the predetermined rotation direction as an angle corresponding to each hole.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59208654A JPS6186879A (en) | 1984-10-04 | 1984-10-04 | Label attachment device to hole |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59208654A JPS6186879A (en) | 1984-10-04 | 1984-10-04 | Label attachment device to hole |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6186879A true JPS6186879A (en) | 1986-05-02 |
| JPH0350311B2 JPH0350311B2 (en) | 1991-08-01 |
Family
ID=16559827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59208654A Granted JPS6186879A (en) | 1984-10-04 | 1984-10-04 | Label attachment device to hole |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6186879A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09185718A (en) * | 1996-12-02 | 1997-07-15 | Hitachi Ltd | Automatic pattern defect inspection system |
| CN110451045A (en) * | 2018-05-08 | 2019-11-15 | 拓卡奔马机电科技有限公司 | Label position control method, control system, storage medium and labelling machine |
-
1984
- 1984-10-04 JP JP59208654A patent/JPS6186879A/en active Granted
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09185718A (en) * | 1996-12-02 | 1997-07-15 | Hitachi Ltd | Automatic pattern defect inspection system |
| CN110451045A (en) * | 2018-05-08 | 2019-11-15 | 拓卡奔马机电科技有限公司 | Label position control method, control system, storage medium and labelling machine |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0350311B2 (en) | 1991-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6289117B1 (en) | Analysis of an image of a pattern of discrete objects | |
| JPS6261390A (en) | Method and apparatus for inspecting printed board | |
| JPH077446B2 (en) | Part recognition method | |
| US5206917A (en) | Method for collating independent figure elements between images | |
| JPH08240411A (en) | Position shift amount detection device and method, image measurement device, and model registration device | |
| JPS6186879A (en) | Label attachment device to hole | |
| US6526165B1 (en) | Methods and apparatuses for refining a geometric description of an object having a plurality of extensions | |
| KR100241088B1 (en) | Identification tags that can be captured electro-optically and signal processing methods for capturing the same | |
| JPH0612249B2 (en) | Pattern inspection device | |
| JPS6146568A (en) | Arrangement judging device | |
| JP3158351B2 (en) | Position detection method for minute workpiece | |
| JPS61153507A (en) | Three-dimensional shape recognizing device | |
| JP3473114B2 (en) | Image processing method | |
| JP2708621B2 (en) | Substrate position detection method and component mounting device on substrate | |
| JPH0341577A (en) | Discriminating method for circular body | |
| JP2897612B2 (en) | Work detection method | |
| Rosenfeld | Machine vision for industry: tasks, tools and techniques | |
| JP3235392B2 (en) | Rotation angle detection method for target pattern | |
| JP3480642B2 (en) | Pattern inspection method | |
| JP2836580B2 (en) | Projection inspection device for semiconductor integrated circuit device | |
| JP2964594B2 (en) | Mark inspection method | |
| JPH0352015B2 (en) | ||
| JPS6391779A (en) | parts recognition device | |
| JPH05113315A (en) | Center position detection method for circular image data | |
| JPH0798763A (en) | Image processing method and apparatus thereof |