JPH07237094A - Detecting method for center position of target mark by image processing - Google Patents

Detecting method for center position of target mark by image processing

Info

Publication number
JPH07237094A
JPH07237094A JP6255508A JP25550894A JPH07237094A JP H07237094 A JPH07237094 A JP H07237094A JP 6255508 A JP6255508 A JP 6255508A JP 25550894 A JP25550894 A JP 25550894A JP H07237094 A JPH07237094 A JP H07237094A
Authority
JP
Japan
Prior art keywords
center
target mark
circle
points
gradation
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
JP6255508A
Other languages
Japanese (ja)
Other versions
JP2609823B2 (en
Inventor
Takashi Suzuki
隆 鈴木
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.)
U H T KK
Original Assignee
U H T KK
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 U H T KK filed Critical U H T KK
Priority to JP6255508A priority Critical patent/JP2609823B2/en
Priority to US08/362,981 priority patent/US5655030A/en
Publication of JPH07237094A publication Critical patent/JPH07237094A/en
Application granted granted Critical
Publication of JP2609823B2 publication Critical patent/JP2609823B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve the detecting accuracy of a center by, when a cursor center is not in the center circle of the binary image of a target mark displayed on a monitor, investigating the gradation of the binary image in fixed process in the directions of X, Y axes to severally obtain the starting' point of the gradation in the directions of X, Y axes, and comparing the distance of a starting point with diametral reference value and fitting it to the above value. CONSTITUTION:In the case where a cursor center 13 is not in the center circle of the binary image of a target mark (b) displayed on a monitor 3, an image is radially investigated within an investigation reference point set up on the monitor 3 in fixed order at each fixed angle to obtain a starting point W being the same in gradation as the center circle (b1). The inside of a gradation part is investigated from the starting point W in the direction of X axis to obtain starting points X1, X2 being different in the gradation from the center circle (b1). Investigation in the direction of Y axis is carried out about the midpoint coordinate positions of the starting points X1, X2 to similarly decide starting points Y1, Y2 in the direction of Y axis. Starting points X'1, X'2 are similarly decided about the midpoint coordinate positions of the starting points Y1, T2. intersection point O of both the starting points is recognized as the target mark (b).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ターゲットマークの中
心位置を画像処理で検出する方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting the center position of a target mark by image processing.

【0002】[0002]

【従来の技術】プリント基板等のワークでは基準孔を穿
孔するため、ターゲットマークが4隅に付設され、該プ
リント基板を、各ターゲットマークが撮像部直下に位置
するように定量送り装置で移送させると共に、そのター
ゲットマークの中心を所定の手段で検出し、その検出さ
れた中心との誤差量だけドリルをX、Y軸送り機構を介
して補正動させてそのドリルの中心とターゲットマーク
との中心とを一致させ、その位置からZ方向にドリルを
上昇させてターゲットマークの中心に基準孔を穿孔して
いる。上記所定の手段とは、ターゲットマークを撮像部
で受像してその画像信号を画像処理部で2値化し、その
2値化画像をモニタに拡大して表示し、ダイナミックウ
インドー方式による重心計測でターゲットマークの中心
を検出する方法(下記では前者と称する)と、2値化画
像をモニタ画面に拡大して表示し、そのターゲットマー
クをカーソル中心からX、Y方向に探査して階調が異な
るX、Y各2点間の垂直な2等分線の交点を探求して、
その交点をターゲットマークの中心とする方法(下記で
は後者と称する)である。
2. Description of the Related Art Since a reference hole is punched in a work such as a printed circuit board, target marks are provided at four corners, and the printed circuit board is moved by a constant quantity feeding device so that each target mark is located immediately below an image pickup section. At the same time, the center of the target mark is detected by a predetermined means, and the drill is corrected and moved by an amount of error from the detected center through the X and Y axis feed mechanism to center the center of the drill and the target mark. Then, the reference hole is drilled at the center of the target mark by raising the drill in the Z direction from that position. The predetermined means means that the target mark is received by the image pickup unit, the image signal is binarized by the image processing unit, the binarized image is enlarged and displayed on the monitor, and the center of gravity is measured by the dynamic window method. A method of detecting the center of the target mark (hereinafter referred to as the former) and a binarized image are enlarged and displayed on the monitor screen, and the target mark is searched in the X and Y directions from the center of the cursor to obtain different gradations. Search for the intersection of the perpendicular bisectors between each of the two X and Y points,
This is a method in which the intersection is the center of the target mark (hereinafter referred to as the latter).

【0003】[0003]

【発明が解決しようとする課題】ところで、ターゲット
マークは、中心円内と同じ階調の同心円を中心円内とは
異なる階調の外輪を介して交互に複数輪設けた平面視形
状が一般的である。しかし、前者ではターゲットマーク
以外のパターンが2値化によって白黒変換(ネガ・ホジ
変換)されると、その変換座標系に大きく影響を及ぼ
し、ターゲットマークの中心が正確に検出できない問題
が生じる。また、後者ではモニタ画面のカーソル中心が
ターゲットマークに位置する時でないとターゲットマー
クの中心を検出できないし、X、Y方向の直径のみを探
索して各2点間の2等分線の交点をターゲットマークの
中心として検出する方法であるから、モニタ画面上にタ
ーゲットマークと同じ条件のパターンが生じている場合
にそのパターンの中心をターゲットマークの中心と誤認
して検出してしまう問題が生じる。
By the way, a target mark generally has a plan view shape in which a plurality of concentric circles having the same gradation as that in the central circle are alternately provided through outer rings having gradations different from those in the central circle. Is. However, in the former case, when a pattern other than the target mark is converted into black and white by binarization (negative / hosi conversion), the conversion coordinate system is greatly affected, and the center of the target mark cannot be accurately detected. In the latter case, the center of the target mark cannot be detected unless the cursor center on the monitor screen is located at the target mark, and only the diameters in the X and Y directions are searched to find the intersection point of the bisectors between the two points. Since this is a method of detecting as the center of the target mark, when a pattern having the same condition as the target mark is generated on the monitor screen, the center of the pattern is erroneously recognized as the center of the target mark and detected.

【0004】本発明は、従来事情に鑑みてなされたもの
で、その目的とする処は、モニタ画面(2値化画像を表
示)のカーソル中心にターゲットマーク中心円の一つ外
側の外輪が位置するような送り誤差をもってワークが送
られてきてもターゲットマークの中心を正確に検出する
ことができる方法を提供することにある。他の目的とす
る処は、ワークの送り誤差が大きくても小さくてもター
ゲットマークの中心位置を正確に検出することができる
方法を提供することにある。
The present invention has been made in view of the conventional circumstances, and its object is to locate an outer ring outside the center circle of the target mark at the center of the cursor on the monitor screen (displaying a binarized image). It is an object of the present invention to provide a method capable of accurately detecting the center of a target mark even when a work is fed with such a feeding error. Another object of the present invention is to provide a method capable of accurately detecting the center position of the target mark regardless of whether the work feed error is large or small.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に講じた技術的手段は、請求項1は、ターゲットマーク
を撮像部で受像し、該画像信号を画像処理部で2値化し
て、その2値化画像を画像処理部に連係するモニタ画面
に表示し、2値化されたターゲットマークの中心円内に
モニタ画面のカーソル中心が位置しない時、カーソル中
心から2値化画像を所定角度毎に放射状に探査して上記
中心円と同じ階調となる開始点Wを探求し、該開始点W
からその階調部分内をXまたはY方向に更に探査して上
記中心円と異なる階調の開始点X1、X2を探求し、次
にその階調の開始点X1、X2間の中点座標位置上を他
方の軸方向に探査して中心円と異なる階調の開始点Y
1、Y2を探求し、そして、その開始点Y1、Y2間の
中点座標位置上を開始点X1、X2方向と平行する方向
に探査して中心円と異なる階調の開始点X1’、X2’
を探求し、記憶部に記憶されたX、Y方向の直径基準値
と前記開始点Y1、Y2間距離及び開始点X1’、X
2’間距離とを照合し、その直径基準値に適合して前記
開始点Y1、Y2、開始点X1’、X2’各2点の十字
状の交点をターゲットマークの中心として認定すること
を要旨とする。請求項2は、ターゲットマークを撮像部
で受像し、該画像信号を画像処理部で2値化して、その
2値化画像を画像処理部に連係するモニタ画面に表示
し、モニタ画面上に画像処理部が縦横間隔をおいて多数
個の探査基準点を設定すると共に、同画像処理部によっ
て2値化画像を所定の順番をもって探査基準点から所定
角度毎に放射状に探査して上記中心円と同じ階調となる
開始点Wを探求し、該開始点Wからその階調部分内をX
またはY方向に更に探査して上記中心円と異なる階調の
開始点X1、X2を探求し、次にその階調の開始点X
1、X2間の中点座標位置上を他方の軸方向に探査して
中心円と異なる階調の開始点Y1、Y2を探求し、そし
て、その開始点Y1、Y2間の中点座標位置上を開始点
X1、X2方向と平行する方向に探査して中心円と異な
る階調の開始点X1’、X2’を探求し、記憶部に記憶
されたX、Y方向の直径基準値と前記開始点Y1、Y2
間距離及び開始点X1’、X2’間距離とを照合し、そ
の直径基準値に適合して前記開始点Y1、Y2、開始点
X1’、X2’各2点の十字状の交点をターゲットマー
クの中心として認定すること要旨とする。また、請求項
3では請求項1または2においてターゲットマークの中
心円の中心を検出した後、中心円内を、上記検出中心を
交差する所望傾斜角度をもってX状や放射状に探査して
上記中心円とは異なる階調となる開始点Z1、Z2を探
求し、該開始点Z1、Z2間距離が前記記憶部にティー
チングされた中心円のX、Y方向の直径基準値に適合し
て上記検出中心をターゲットマークの中心に認定するこ
とを要旨とする。
According to a first aspect of the present invention, there is provided a technical means for achieving the above object. According to claim 1, an image pickup section receives a target mark, and the image processing section binarizes the image signal. The binarized image is displayed on the monitor screen linked to the image processing unit, and when the cursor center of the monitor screen is not located within the center circle of the binarized target mark, the binarized image is displayed at a predetermined angle from the cursor center. Radial exploration is performed every time to find a starting point W having the same gradation as the central circle, and the starting point W
To search for the starting points X1 and X2 of the gradation different from that of the central circle by further searching the inside of the gradation part in the X or Y direction, and then the midpoint coordinate position between the starting points X1 and X2 of the gradation. Searching the upper part in the other axial direction, the starting point Y of the gradation different from that of the central circle
1 and Y2 are searched for, and the midpoint coordinate position between the starting points Y1 and Y2 is searched in the direction parallel to the starting points X1 and X2 directions, and the starting points X1 ′ and X2 of the gradation different from the central circle are searched. '
For the diameter reference values in the X and Y directions stored in the storage unit, the distance between the start points Y1 and Y2, and the start points X1 ′ and X.
The point is to check the distance between 2'and match the diameter reference value and recognize the cross-shaped intersection of each of the starting points Y1, Y2, starting points X1 ', X2' as the center of the target mark. And According to a second aspect of the present invention, the target mark is received by the imaging unit, the image signal is binarized by the image processing unit, the binarized image is displayed on the monitor screen linked to the image processing unit, and the image is displayed on the monitor screen. The processing unit sets a large number of search reference points at vertical and horizontal intervals, and the image processing unit radially searches the binarized image at predetermined angles from the search reference point in a predetermined order to form the central circle. A starting point W having the same gradation is sought, and X is extracted from the starting point W within the gradation part.
Alternatively, by further exploring in the Y direction, the starting points X1 and X2 of the gradation different from the central circle are searched, and then the starting point X of the gradation is obtained.
The center point coordinate position between 1 and X2 is searched in the other axis direction to search for the start points Y1 and Y2 of the gradation different from that of the central circle, and the center point coordinate position between the start points Y1 and Y2 is searched. Is searched in a direction parallel to the starting points X1 and X2 to search for starting points X1 ′ and X2 ′ having gradations different from the center circle, and the diameter reference values in the X and Y directions stored in the storage unit and the start. Points Y1 and Y2
The distance between the starting points Y1 and Y2 and the starting points X1 'and X2' are matched with the distance reference and the distances between the starting points X1 'and X2' and the target mark Accreditation as the center of Further, in claim 3, after detecting the center of the center circle of the target mark in claim 1 or 2, the inside of the center circle is searched in an X shape or a radial shape with a desired inclination angle intersecting the detection center, and the center circle is searched. The starting points Z1 and Z2 having different gradations are searched for, and the distance between the starting points Z1 and Z2 is adapted to the diameter reference values in the X and Y directions of the center circle taught in the storage unit, and the detection center is detected. The main point is to certify as the center of the target mark.

【0006】[0006]

【作用】上記技術的手段によれば、下記の作用を奏す
る。 (請求項1)撮像部で受像されたターゲットマークの画
像信号を画像処理部で2値化し且つその2値化画像をモ
ニタに表示する。そしてターゲットマークの2値化画像
の中心円内にカーソル中心が位置しない時に、2値化画
像をカーソル中心から所定角度毎に放射状に探査して、
中心円と同じ階調の開始点Wをまず探求する。次に、そ
の開始点Wからその階調部分内を例えばX方向に探査し
て中心円と異なる階調の開始点X1、X2を探求し、中
点座標位置を算出する。そして、その中点座標位置を基
準点としてY方向に探査して中心円と異なる階調の開始
点Y1、Y2を求める。この開始点Y1、Y2間距離が
中心円と仮定して探査したある箇所のY軸方向の直径と
なる。そして、その中点座標位置上を今度はX軸方向に
探査して中心円と異なる階調の開始点X1’、X2’を
求める。この開始点X1’、X2’間距離が中心円と仮
定して探査したある箇所のX軸方向の直径となる。最後
に記憶部に記憶されたターゲットマークのX軸、Y軸方
向の直径基準値と前記開始点Y1、Y2間距離及び開始
点X1’、X2’間距離を照合し、その直径基準値に適
合して初めて正規の面積のターゲットマークの中心円で
あることを認定し、前記開始点Y1、Y2、開始点X
1’、X2’各2点の十字状の交点を実際の中心として
決定する。故に、ターゲットマークの中心円一つ外側の
外輪にモニタ画面のカーソル中心が位置する程度の送り
誤差(プリント基板等のワークの送り誤差)がある場合
でもターゲットマークの中心のみを検出できる。尚、タ
ーゲットマークの2値化画像の中心円内にカーソル中心
が位置する時には、所定角度毎に1画素ピッチ宛放射状
に探査することなく、カーソル中心を開始点Wとしてそ
の階調部分を探査し、ターゲットマークの中心を確実に
検出する。 (請求項2)ターゲットマークの中心円一つ外側の外輪
にモニタ画面のカーソル中心が位置する以上に大きな送
り誤差(プリント基板等のワークの送り誤差)がある時
には、請求項1では中心円の中心検出は行えない。その
ためにモニタ画面上にカーソル中心を含んで縦横間隔を
おいて多数個の探査基準点を設定し、所定の順番ごとに
探査基準点から前記請求項1と同様に探査していくよう
にしている。これによってどれかの探査基準点からの探
査によって中心円の中心を検出することが可能となる。
探査は、ターゲットマーク中心円の中心が検出されるま
で決められた所定の探査基準点順に行い、中心が検出さ
れた時にはそこで終了して残りの探査基準点からの探査
は行わない。 (請求項3)請求項1、2のティーチングされたX、Y
方向の基準直径と仮に符合する条件を中心円以外の部分
が備えていても真円以外は中心円とは認定しないから、
確実に中心円の中心を検出できる。
According to the above technical means, the following actions are achieved. (Claim 1) The image signal of the target mark received by the image pickup unit is binarized by the image processing unit, and the binarized image is displayed on the monitor. Then, when the cursor center is not located within the center circle of the binarized image of the target mark, the binarized image is radially searched at predetermined angles from the cursor center,
First, the starting point W having the same gradation as that of the central circle is searched. Next, from the starting point W, the inside of the gradation portion is searched in, for example, the X direction to search for the starting points X1 and X2 of the gradation different from the central circle, and the midpoint coordinate position is calculated. Then, the center point coordinate position is used as a reference point to search in the Y direction, and start points Y1 and Y2 of gradations different from the central circle are obtained. The distance between the starting points Y1 and Y2 is the diameter in the Y-axis direction of a certain location that is searched assuming the center circle. Then, the center point coordinate position is searched in the X-axis direction this time, and start points X1 ′ and X2 ′ of gradations different from the central circle are obtained. The distance between the starting points X1 ′ and X2 ′ is the diameter in the X-axis direction of a certain portion that is searched assuming the center circle. Lastly, the diameter reference values in the X-axis and Y-axis directions of the target mark stored in the storage unit are collated with the distance between the starting points Y1 and Y2 and the distance between the starting points X1 ′ and X2 ′, and the diameter is matched with the diameter reference value. Only after that, it is confirmed that the circle is the center circle of the target mark of the regular area, and the starting points Y1, Y2, and the starting point X
The cross-shaped intersection of 2 points each of 1'and X2 'is determined as the actual center. Therefore, even if there is a feed error (feed error of a work such as a printed circuit board) such that the cursor center of the monitor screen is located on the outer ring outside the center circle of the target mark, only the center of the target mark can be detected. When the center of the cursor is located within the center circle of the binarized image of the target mark, the gradation center is searched with the cursor center as the starting point W without radially searching for one pixel pitch at every predetermined angle. , The center of the target mark is surely detected. (Claim 2) When there is a feeding error (feeding error of a work such as a printed circuit board) larger than the cursor center of the monitor screen is located on the outer ring outside the center circle of the target mark, the center circle of the claim 1 The center cannot be detected. Therefore, a large number of search reference points are set on the monitor screen at vertical and horizontal intervals including the cursor center, and search is performed from the search reference points in a predetermined order in the same manner as in claim 1. . This makes it possible to detect the center of the central circle by searching from any of the search reference points.
The search is performed in a predetermined predetermined search reference point order until the center of the center circle of the target mark is detected. When the center is detected, the search ends and the search from the remaining search reference points is not performed. (Claim 3) The taught X and Y according to claims 1 and 2.
Even if the portion other than the central circle has a condition that matches the reference diameter in the direction, the portion other than the true circle is not recognized as the central circle.
The center of the center circle can be reliably detected.

【0007】本発明は以上のように構成したから、下記
の利点がある。 (請求項1)画像処理部による2値化画像を表示するモ
ニタ画面のカーソル中心がターゲットマークの中心円一
つ外側の外輪に位置するようにプリント基板等のワーク
が送り誤差されてもターゲットマークの中心位置を確実
に検出することができる。 (請求項2)モニタ画面上に縦横間隔をおいて多数個の
探査基準点を設定し、その設定基準点を所定の順番で所
定角度毎に放射状に探査して中心円と同じ階調の部分を
求め、そこから請求項1と同様に探査していく方法であ
るから、モニタ画面内にターゲットマークの中心が位置
するものであればワークの送り誤差が大きくても小さく
てもどれかの探査基準点からの探査によってターゲット
マークの中心位置を確実に検出することができる。 (請求項3)請求項1、2によって検出された中心円の
X、Y方向の直径と同じ条件が中心円をとりまく外輪等
に仮に生じてもその部分を更に探査して真円状以外のも
のは中心円ではないものと判断するから、ターゲットマ
ークの中心円の中心以外を誤検出する心配が全くない。
Since the present invention is configured as described above, it has the following advantages. (Claim 1) Even if a work such as a printed circuit board is misaligned so that the center of the cursor on the monitor screen for displaying a binarized image by the image processing unit is located outside the center circle of the target mark, the target mark It is possible to reliably detect the center position of the. (Claim 2) A large number of search reference points are set on the monitor screen at vertical and horizontal intervals, and the set reference points are searched radially at a predetermined angle in a predetermined order and have the same gradation as the central circle. This is a method of searching for the same as in claim 1, and if the center of the target mark is located within the monitor screen, whether the work feed error is large or small The center position of the target mark can be reliably detected by the search from the point. (Claim 3) Even if the same conditions as the diameters of the central circle in the X and Y directions detected by the first and second cases occur in the outer ring surrounding the central circle, etc. Since it is determined that the object is not the central circle, there is no fear of erroneously detecting anything other than the center of the central circle of the target mark.

【0008】[0008]

【実施例】次に、本発明の実施例を図面に基づいて説明
する。図1乃至図5は本考案画像処理によるターゲット
マークの中心位置検出方法の第1実施例を示し、図6乃
至図8は同第2実施例を示している。まず、第1実施例
について説明する。
Embodiments of the present invention will now be described with reference to the drawings. 1 to 5 show a first embodiment of a target mark center position detecting method according to the image processing of the present invention, and FIGS. 6 to 8 show a second embodiment thereof. First, the first embodiment will be described.

【0009】穿孔装置Aは、プリント基板等のワークB
を下方から照明することによって得られる透過像または
上方からの照明によって得られる反射像を受像する撮像
部1と、その撮像部1で受像された画像信号を画像処理
して2値化する画像処理部2と、その2値化画像を表示
するモニタ3と、上記撮像部1に対向して設けられた穿
孔用のドリル4と、そのドリル4のX、Y軸送り機構
5、Z軸送り機構6等から構成されている。
The punching device A is a work B such as a printed circuit board.
An image pickup unit 1 for receiving a transmission image obtained by illuminating the image from below or a reflected image obtained by illumination from above, and image processing for image-processing the image signal received by the image pickup unit 1 and binarizing the image signal. Section 2, a monitor 3 for displaying a binarized image thereof, a drill 4 provided to face the image pickup section 1, an X, Y axis feed mechanism 5 and a Z axis feed mechanism of the drill 4. It is composed of 6 etc.

【0010】画像処理部2は、撮像部1で受像された画
像信号を2値化等の演算処理する画像処理装置12と、そ
の2値化データを記憶する画像メモリ22と、所定のプロ
グラムを実行する中央処理装置32と、中央処理装置32へ
の必要なデータを記憶するRAM(記憶部)42、ROM
(記憶部)52等を備えており、4隅にターゲットマーク
bが付設されたプリント基板等のワークBのそのターゲ
ットマークb中心が、モニタ3画面のカーソル13中心に
一致するように送り装置(図示せず)で自動的に移送さ
れる度にターゲットマークbを撮像部1で受像して、そ
の画像信号を画像処理装置12で画像処理で2値化し、該
2値化データを画像メモリ22に記憶すると共に、その2
値化画像をモニタ3表示し、該2値化画像をモニタ3の
カーソル13中心から探査して、ターゲットマークbの中
心を検出して、カーソル13中心とその検出したターゲッ
トマークbの中心との誤差量を検出する構成にしてあ
る。
The image processing unit 2 includes an image processing device 12 for performing arithmetic processing such as binarization on the image signal received by the image pickup unit 1, an image memory 22 for storing the binarized data, and a predetermined program. Central processing unit 32 to be executed, RAM (storage unit) 42 for storing necessary data to the central processing unit 32, ROM
(Storing unit) 52, etc., and a feeding device (so that the center of the target mark b of the work B such as a printed circuit board having the target marks b attached to the four corners thereof may coincide with the center of the cursor 13 on the monitor 3 screen ( The target mark b is received by the image pickup unit 1 every time it is automatically transferred (not shown), the image signal thereof is binarized by image processing in the image processing device 12, and the binarized data is stored in the image memory 22. And remember it in part 2
The binarized image is displayed on the monitor 3, the binarized image is searched from the center of the cursor 13 on the monitor 3, the center of the target mark b is detected, and the center of the cursor 13 and the center of the detected target mark b are detected. The configuration is such that the amount of error is detected.

【0011】この穿孔装置Aの中央処理装置32は、ワー
クBのターゲットマークbの中心がカーソル13中心と一
致するように定量送り装置(図示せず)で移送される度
にターゲットマークbの中心を検出する制御プログラム
を実行するようになっている。画像処理装置12では、白
黒判別のためにしきい値が設定され、そのしきい値より
も高いレベルを白または黒、逆に低いレベルを黒または
白と判断するようになっている。また、前記制御プログ
ラムは、ターゲットマーク(中心円内と同じ状態に階調
が変化する同心輪を中心円とは異なる状態に階調が変化
する外輪を介して交互に複数輪設けた平面視形状)bを
有するワークBの定量送り装置(図示せず)による送り
誤差が比較的大きく、モニタ3画面のカーソル13中心に
ターゲットマークbの中心円b1外側の外輪b2が位置
するような場合でも、ターゲットマークbの中心検出を
行なうもので、ROM52に組み込まれている。
The central processing unit 32 of the punching device A is arranged so that the center of the target mark b of the work B is moved by a constant amount feeding device (not shown) so that the center of the target mark b coincides with the center of the cursor 13. It is designed to execute a control program for detecting. In the image processing device 12, a threshold value is set for black and white discrimination, and a level higher than the threshold value is judged to be white or black, and conversely, a lower level is judged to be black or white. Further, the control program is a plan view shape in which a plurality of target marks (concentric rings whose gradation changes in the same state as in the central circle are alternately provided through an outer ring whose gradation changes in a state different from the central circle). ) B, the feed error of the constant amount feeding device (not shown) for the work B is relatively large, and the outer ring b2 outside the center circle b1 of the target mark b is located at the center of the cursor 13 on the monitor 3 screen. The center of the target mark b is detected and is incorporated in the ROM 52.

【0012】次に、その制御プログラムを、図2乃至図
4の画像処理部で画像処理された2値化画像を探査して
いる状態を示すモニタ画面の拡大図、図5の穿孔装置の
中央処理装置で制御されるプログラムのフローチャート
に基づいて説明する。ターゲットマークBを撮像部1で
受像し、その画像信号を画像処理装置12で画像処理して
2値化し、それをモニタ3画面に拡大して表示する。ま
ず、ターゲットマークBの中心円b1にカーソル13中心
が位置するかどうか判断する(ステップ1)。そして、
カーソル13中心がターゲットマークBの中心円b1に位
置する場合には、図3に示すようにカーソル13中心を開
始点Wとしてその位置からX方向に1画素ピッチ宛探査
して中心円b1と異なる階調の開始点X1点、X2点を
探求し、そのX1点、X2点の中点座標位置(ポイン
ト)を算出してこのポイントをいったん前記RAM42に
記憶する(ステップ2、3、4)。そして、今度は上記
中点座標位置(ポイント)上を、Y方向に1画素ピッチ
宛探査して中心円b1と異なる階調の開始点Y1点、Y
2点を探求し、Y1点、Y2点の中点座標位置(ポイン
ト)を算出してこのポイントを前記RAM42に記憶する
(ステップ5、6、7)。そして、この中間座標位置
(ポイント)上を今度はX方向に1画素ピッチ宛探査し
て中心円b1と異なる階調の開始点X1’点、X2’点
を探求する(ステップ8、9)。更に、Y1点、Y2点
間、X1’点、X2’点間距離をROM52に記憶されて
いるティーチングされたターゲットマークBの中心円b
1の直径基準値と照合し、適合すると直径として認識す
ると共にY1、Y2、X1’、X2’各2点の十字状の
交点O(仮想中心)を求め、RAM42に記憶する(ステ
ップ10、11)。そして、上記X、Y方向の直径がR
OM52にティーチングされた直径基準値と適合するもの
であっても、更に前記交点O(仮想中心)を交差する所
望傾斜角度をもってX状や放射状に探査して中心円b1
と異なる階調の開始点Z1、Z2を探求し、該探求点間
距離がティーチングされた直径基準値に適合する場合に
初めて真円と認識し、上記交点Oである仮想中心を初め
てターゲットマークbの中心円b1の中心として認定す
る(ステップ12、13)。
Next, an enlarged view of a monitor screen showing a state in which the control program is searching for a binarized image image-processed by the image processing unit of FIGS. 2 to 4, the center of the punching device of FIG. Description will be given based on a flowchart of a program controlled by the processing device. The image of the target mark B is received by the image pickup unit 1, the image signal thereof is subjected to image processing by the image processing device 12 to be binarized, and the image is enlarged and displayed on the monitor 3 screen. First, it is determined whether or not the center of the cursor 13 is located on the center circle b1 of the target mark B (step 1). And
When the center of the cursor 13 is located on the center circle b1 of the target mark B, as shown in FIG. 3, the cursor 13 center is set as the starting point W, and a search is performed for one pixel pitch in the X direction from that position, which is different from the center circle b1. The starting points X1 and X2 of the gradation are searched, the midpoint coordinate position (point) of the points X1 and X2 is calculated, and this point is temporarily stored in the RAM 42 (steps 2, 3, 4). Then, this time, the middle point coordinate position (point) is searched for one pixel pitch in the Y direction, and the start points Y1 and Y of the gradation different from the central circle b1 are obtained.
Two points are searched for, the midpoint coordinate position (point) of the Y1 point and the Y2 point is calculated, and this point is stored in the RAM 42 (steps 5, 6, 7). Then, this intermediate coordinate position (point) is searched in the X direction for one pixel pitch this time, and the starting points X1 'and X2' of the gradation different from the central circle b1 are searched (steps 8 and 9). Further, the center circle b of the taught target mark B in which the distances between the Y1 point and the Y2 point and between the X1 ′ point and the X2 ′ point are stored in the ROM 52.
It is recognized as a diameter when matched with the diameter reference value of 1, and a cross-shaped intersection O (virtual center) of two Y1, Y2, X1 ′, and X2 ′ points is obtained and stored in the RAM 42 (steps 10 and 11). ). The diameter in the X and Y directions is R
Even if it matches the diameter reference value taught to the OM52, the central circle b1 is further searched in an X shape or a radial shape with a desired inclination angle intersecting the intersection point O (virtual center).
The starting points Z1 and Z2 of different gradations are searched for, and when the distance between the searching points meets the taught diameter reference value, the circle is recognized as a true circle, and the virtual center that is the intersection O is the target mark b for the first time. It is recognized as the center of the center circle b1 of (steps 12 and 13).

【0013】また、図2に示すようにカーソル13中心が
ターゲットマーク中心円b1の外輪b2に位置する場合
には、そのカーソル13中心から1画素ピッチ宛例えば2
mmの範囲を30度毎に探査して中心円b1と同じ階調
のX方向の開始点Wを探求し(ステップ14、15、1
6、17)、その開始点Wから、前記ステップ2から1
3を夫々実行する。これによって最後の探査線上でもタ
ーゲットマークの中心円及びその中心が検出されない場
合には、エラー処理する(ステップ18)。
When the center of the cursor 13 is located on the outer ring b2 of the target mark center circle b1 as shown in FIG.
The mm range is searched every 30 degrees to find the starting point W in the X direction having the same gradation as the central circle b1 (steps 14, 15, 1).
6 and 17), from the starting point W, the steps 2 to 1
Execute 3 respectively. As a result, if the center circle of the target mark and its center are not detected even on the last search line, error processing is performed (step 18).

【0014】従って、ターゲットマークbの中心円b1
がカーソル中心が位置するような送り誤差やターゲット
マークbの中心円b1一つ外側の外輪b2にカーソル13
中心が位置するような送り誤差をもってワークBが送ら
れてきてもターゲットマーク中心円b1の中心を確実且
つ高速に検出できる。
Therefore, the center circle b1 of the target mark b
Indicates a feed error such that the center of the cursor is positioned or the cursor 13 on the outer ring b2 outside the center circle b1 of the target mark b.
Even if the work B is fed with a feed error such that the center is located, the center of the target mark center circle b1 can be detected reliably and at high speed.

【0015】尚、符号7はI/Oポートであり、そのI
/Oポート7に連絡するX、Y軸ドライバ回路8で前記
するX、Y軸送り機構5は制御され、またZ軸送り機構
6は、ソレノイド6aとエアーシリンダ6bとから構成され
ている。
Reference numeral 7 is an I / O port, and its I
The X and Y axis feed mechanism 5 is controlled by the X and Y axis driver circuit 8 connected to the / O port 7, and the Z axis feed mechanism 6 is composed of a solenoid 6a and an air cylinder 6b.

【0016】次に第2実施例を説明すると、この実施例
は、モニタ画面内にターゲットマークの中心が位置する
ものであれば送り誤差(プリント基板等の送り誤差)が
大きくても小さくてもターゲットマークの中心位置を検
出することができる方法である。
The second embodiment will be described. In this embodiment, if the center of the target mark is located within the monitor screen, the feeding error (feeding error of the printed circuit board or the like) may be large or small. This is a method capable of detecting the center position of the target mark.

【0017】この実施例では、画像処理装置12が2値化
画像を表示するモニタ3画面上にカーソル13中心を含む
縦横間隔をおいて多数個の探査基準点C…を設定し、こ
の探査基準点C…から所定の順序で探査する制御プログ
ラムを中央処理装置32で実行するようになっていること
以外、前記実施例と同様な構成を備えている。ところ
で、コンピュータ制御は、その機能上ターゲットマーク
Bの中心円b1内と同じ階調箇所を2値化画像の探査中
に見つけるとそれ以上先には探査を進行せず、その箇所
内での探査だけで探査を終了してしまい、中心を検出で
きない。前記のようにモニタ3画面(2値化画像を表
示)のカーソル13中心にターゲットマークBの中心円b
1が位置する場合やカーソル13中心にターゲットマーク
Bの中心円b1の一つ外側の外輪b2が位置するような
場合には一か所(カーソル13中心)からの探査で中心検
出は可能であるが、それ以上に送り誤差が大きい場合に
は、第1実施例の方法ではターゲットマークの中心円の
検出が不可能である。これを防止するために探査基準点
C…をモニタ3画面上にカーソル13中心を含む縦横間隔
をおいて多数個を設定している。この探査基準点Cは、
この実施例では図面上9点であるが、それ以上でも勿論
任意であり、探査基準点Cが多くなればなるほどターゲ
ットマークの形状が複雑化する場合に有効である。
In this embodiment, the image processing apparatus 12 sets a large number of search reference points C ... On the screen of the monitor 3 displaying the binarized image at vertical and horizontal intervals including the center of the cursor 13, and the search reference points C ... The configuration is the same as that of the above-described embodiment except that the central processing unit 32 executes a control program for searching in a predetermined order from the points C. By the way, if the computer control finds the same gradation position as in the central circle b1 of the target mark B during the search of the binarized image due to its function, the search does not proceed any further and the search in that position is not performed. The search ends just by itself, and the center cannot be detected. As described above, the center circle b of the target mark B is located at the center of the cursor 13 on the monitor 3 screen (displaying a binarized image).
When 1 is located or when the outer ring b2 outside the center circle b1 of the target mark B is located at the center of the cursor 13, the center can be detected by exploring from one location (center of the cursor 13). However, if the feed error is larger than that, the central circle of the target mark cannot be detected by the method of the first embodiment. In order to prevent this, a large number of search reference points C ... Are set on the screen of the monitor 3 at vertical and horizontal intervals including the center of the cursor 13. This exploration reference point C is
In this embodiment, there are nine points on the drawing, but more points are of course arbitrary, and it is effective when the shape of the target mark becomes more complicated as the number of search reference points C increases.

【0018】その制御プログラムを、図6の画像処理装
置12で画像処理された2値化画像を探査している状態を
示すモニタ画面の拡大図、図7、図8の穿孔装置の中央
処理装置で制御されるプログラムのフローチャートに基
づいて説明する。この制御プログラムは、前記第1実施
例の制御プログラムを、ターゲットマークの中心円の中
心を検出するまで探査基準点順に連続して探査を続行す
るようにしたものである。各ステップは第1実施例のス
テップNOを付けて説明する。まず、ターゲットマーク
Bを撮像部1で受像し、その画像信号を画像処理装置12
で画像処理して2値化し、それをモニタ3画面に拡大し
て表示する。探査基準点C1からの探査がスタートし、
その探査基準点C1がターゲットマークBの中心円b1
と同じ階調にその探査基準点C1が位置するかどうかを
判断する(ステップ1)。図6では、探査基準点C1
は、ターゲットマークBの中心円b1と同じ階調に位置
しているため、探査基準点C1から前記ステップ2から
10を夫々実行する。しかし、X、Y間距離がROM52
に記憶されているティーチングされたターゲットマーク
Bの中心円b1の直径基準値と適合しないため、中心円
ではないものと判断される。そして、探査基準点C2か
らの探査がスタートする。この探査基準点C2から探査
基準点C9は各々、図7のステップ1から17を同じく
備えている。この探査基準点C2は、ターゲットマーク
Bの中心円b1とは異なる階調の一番外側の外輪b3に
位置しているため、その探査基準点C2から1画素ピッ
チ宛例えば2mmの範囲を30度毎に探査して中心円b
1と同じ階調の開始点W(図示せず)を探求し(ステッ
プ14、15、16、17)、その開始点W(図示せ
ず)から、前記ステップ2乃至10を各々実行する。タ
ーゲットマークBの中心円b1と同じ階調箇所を探査中
に見つけるとそれ以上先には探査を進行しない制御性故
に、一番外側の外輪b3とその内側の外輪b4との間の
同心輪b5で前記ステップ2乃至10を実行することに
なり、結果として中心円ではないものと判断される。そ
して、探査基準点C3からの探査がスタートする。この
探査基準点C3は、ターゲットマークBの中心円b1と
同じ階調の上記同心輪b5に位置するため、そのまま前
記ステップ2乃至10を実行し、探査基準点C1からの
探査と同様に中心円ではないものと判断される。探査基
準点C4からの探査は、探査基準点C1からの探査と同
じ結果となる。また、探査基準点C5からの探査は、タ
ーゲットマークBの中心円b1とは異にする階調の前記
外輪b4に位置しているため、探査基準点C2からの探
査と同様に1画素ピッチ宛例えば2mmの範囲を30度
毎に探査して中心円b1と同じ階調の開始点W(図示せ
ず)を探求し(ステップ14、15、16、17)、そ
の開始点W(図示せず)から、前記ステップ2乃至10
を夫々実行するものの、中心円ではないものと判断され
る。そして、探査基準点C6からの探査がスタートす
る。この探査基準点C6は、中心円b1の一つ外側の階
調を異にする外輪b2に位置しており、その探査基準点
C6から1画素ピッチ宛例えば2mmの範囲を30度毎
に探査して中心円b1と同じ階調の開始点Wを探求し
(ステップ14、15、16、17)、その開始点Wか
ら、ステップ2乃至13を夫々実行し、初めて中心円b
1の中心を検出する。仮に探査基準点C6からの探査で
は中心円b1の中心が検出されない場合には、以降の探
査基準点C7、C8、C9からの探査を続行し、検出さ
れない場合には送り誤差(プリント基板等の送り誤差)
が大き過ぎるものとして最後にエラー処理する(ステッ
プ18)。これはモニタ3に表示したり、警告を発する
ものとする。
An enlarged view of a monitor screen showing a state in which the control program is searching for a binarized image image-processed by the image processing device 12 of FIG. 6, and the central processing unit of the punching device of FIGS. 7 and 8. A description will be given based on the flowchart of the program controlled by. This control program is the same as the control program of the first embodiment, but continues the search in the order of the search reference points until the center of the center circle of the target mark is detected. Each step will be described by adding the step NO of the first embodiment. First, the target mark B is received by the image pickup unit 1, and its image signal is received by the image processing device 12.
Image processing is carried out with to binarize, and it is enlarged and displayed on the monitor 3 screen. Exploration from the exploration reference point C1 has started,
The search reference point C1 is the center circle b1 of the target mark B.
It is determined whether or not the search reference point C1 is located at the same gradation as (step 1). In FIG. 6, the exploration reference point C1
Is located at the same gradation as the center circle b1 of the target mark B, the steps 2 to 10 are executed from the search reference point C1. However, the distance between X and Y is ROM52
Since it does not match the diameter reference value of the center circle b1 of the taught target mark B stored in, it is determined that it is not the center circle. Then, the search from the search reference point C2 starts. Each of the search reference points C2 to C9 also includes steps 1 to 17 in FIG. Since the search reference point C2 is located on the outermost outer ring b3 having a gradation different from that of the center circle b1 of the target mark B, a range of, for example, 2 mm is 30 degrees from the search reference point C2 to one pixel pitch. Central circle b searched for each
The starting point W (not shown) having the same gradation as that of 1 is searched (steps 14, 15, 16, 17), and the steps 2 to 10 are executed from the starting point W (not shown). If the same gradation position as that of the center circle b1 of the target mark B is found during the search, the search will not proceed any further, because of the controllability, the concentric ring b5 between the outermost outer ring b3 and the inner outer ring b4. Then, steps 2 to 10 are executed, and as a result, it is determined that the circle is not the central circle. Then, the search from the search reference point C3 starts. Since the search reference point C3 is located on the concentric ring b5 having the same gradation as that of the center circle b1 of the target mark B, the steps 2 to 10 are executed as they are, and the center circle is the same as the search from the search reference point C1. Is judged not to be. The search from the search reference point C4 has the same result as the search from the search reference point C1. Further, since the search from the search reference point C5 is located on the outer ring b4 having a gradation different from that of the center circle b1 of the target mark B, as in the search from the search reference point C2, it is addressed to one pixel pitch. For example, a range of 2 mm is searched every 30 degrees to search for a starting point W (not shown) having the same gradation as that of the central circle b1 (steps 14, 15, 16, 17), and the starting point W (not shown). ), The steps 2 to 10
However, it is judged that it is not the central circle. Then, the search from the search reference point C6 starts. The search reference point C6 is located on the outer ring b2 having a different gradation on the outer side of the center circle b1, and the search reference point C6 is searched for a 1-pixel pitch, for example, a range of 2 mm every 30 degrees. The starting point W of the same gradation as that of the central circle b1 (steps 14, 15, 16 and 17), and from the starting point W, steps 2 to 13 are executed respectively, and the central circle b
Detect the center of 1. If the center of the central circle b1 is not detected in the search from the search reference point C6, the subsequent search from the search reference points C7, C8, and C9 is continued. (Feed error)
Is processed as an error (step 18). This is displayed on the monitor 3 or gives a warning.

【0019】このように第2実施例では、探査基準点C
1、C2、C3、C4、C5、C6、C7、C8、C9
をモニタ3画面上にカーソル13中心を含む縦横間隔をお
いて多数個を設定し、各探査基準点C1、C2、C3、
C4、C5、C6、C7、C8、C9から順に所定角度
毎に放射状に探査していく方法であるから、モニタ画面
3にターゲットマークBの中心が位置するものであれ
ば、どれかの探査基準点からの探査で中心を検出するこ
とが可能となる。また、上記探査基準点C1、C2、C
3、C4、C5、C6、C7、C8、C9は図示するよ
うに縦横に一定間隔にするものに限定されるものではな
い。
As described above, in the second embodiment, the search reference point C
1, C2, C3, C4, C5, C6, C7, C8, C9
On the monitor 3 screen, a large number are set at vertical and horizontal intervals including the center of the cursor 13, and the respective search reference points C1, C2, C3,
Since it is a method of radially searching at predetermined angles in order from C4, C5, C6, C7, C8, C9, if the center of the target mark B is located on the monitor screen 3, any of the searching criteria It becomes possible to detect the center by exploring from the point. In addition, the search reference points C1, C2, C
3, C4, C5, C6, C7, C8, and C9 are not limited to those having constant intervals in the vertical and horizontal directions as illustrated.

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

【図1】第1実施例によるターゲットマークの中心位置
検出方法を実施する穿孔装置の概略図。
FIG. 1 is a schematic view of a punching device for carrying out a target mark center position detecting method according to a first embodiment.

【図2】ターゲットマークの2値化画像の中心円一つ外
側の外輪にカーソル中心が位置している時の探査状態を
示すモニタ画面の拡大図。
FIG. 2 is an enlarged view of a monitor screen showing an exploration state when a cursor center is located on an outer ring outside one center circle of a binarized image of a target mark.

【図3】ターゲットマークの中心円にカーソル中心が位
置している時の探査状態を示すモニタ画面の拡大図。
FIG. 3 is an enlarged view of a monitor screen showing an exploration state when a cursor center is located on a center circle of a target mark.

【図4】仮想中心(交点O)を交差する方向にターゲッ
トマークの中心円を探査している状態を示すモニタ画面
の拡大図。
FIG. 4 is an enlarged view of a monitor screen showing a state where a center circle of a target mark is searched in a direction intersecting a virtual center (intersection point O).

【図5】穿孔装置の中央処理装置で制御されるプログラ
ムのフローチャート。
FIG. 5 is a flowchart of a program controlled by the central processing unit of the punching device.

【図6】第2実施例においてターゲットマークの中心円
の中心を検出している状態を探査している状態を示すモ
ニタ画面の拡大図。
FIG. 6 is an enlarged view of a monitor screen showing a state in which a state in which the center of the center circle of the target mark is detected in the second embodiment is being searched.

【図7】穿孔装置の中央処理装置で制御されるプログラ
ムのフローチャートで探査基準点C1から探査時を示
す。
FIG. 7 is a flowchart of a program controlled by the central processing unit of the punching device, showing the time of exploration from the exploration reference point C1.

【図8】同フローチャートで、探査基準点C2乃至C9
からの探査時を示す。
FIG. 8 is a flowchart showing the search reference points C2 to C9.
Indicates the time of exploration from.

【符号の説明】[Explanation of symbols]

A:穿孔装置 2:画像処理部 3:モニタ 13:カーソル 42、52:記憶部 b:ターゲットマー
ク B:ワーク b1:中心円 b2:中心円の外輪 C、C1、C2、C3、C4、C5、C6、C7、C
8、C9:探査基準点
A: Punching device 2: Image processing unit 3: Monitor 13: Cursors 42, 52: Storage unit b: Target mark B: Work b1: Central circle b2: Outer ring of central circle C, C1, C2, C3, C4, C5, C6, C7, C
8, C9: Exploration reference point

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G01B 11/00 C G06T 7/60 // B23B 49/00 A ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G01B 11/00 C G06T 7/60 // B23B 49/00 A

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ターゲットマークを撮像部で受像し、該
画像信号を画像処理部で2値化して、その2値化画像を
画像処理部に連係するモニタ画面に表示し、2値化され
たターゲットマークの中心円内にモニタ画面のカーソル
中心が位置しない時、カーソル中心から2値化画像を所
定角度毎に放射状に探査して上記中心円と同じ階調とな
る開始点Wを探求し、該開始点Wからその階調部分内を
XまたはY方向に更に探査して上記中心円と異なる階調
の開始点X1、X2を探求し、次にその階調の開始点X
1、X2間の中点座標位置上を他方の軸方向に探査して
中心円と異なる階調の開始点Y1、Y2を探求し、そし
て、その開始点Y1、Y2間の中点座標位置上を開始点
X1、X2方向と平行する方向に探査して中心円と異な
る階調の開始点X1’、X2’を探求し、記憶部に記憶
されたX、Y方向の直径基準値と前記開始点Y1、Y2
間距離及び開始点X1’、X2’間距離とを照合し、そ
の直径基準値に適合して前記開始点Y1、Y2、開始点
X1’、X2’各2点の十字状の交点をターゲットマー
クの中心として認定することを特徴とする画像処理によ
るターゲットマークの中心位置検出方法。
1. A target mark is received by an image pickup unit, the image signal is binarized by an image processing unit, and the binarized image is displayed on a monitor screen linked to the image processing unit and binarized. When the cursor center of the monitor screen is not located within the center circle of the target mark, the binarized image is radially searched from the cursor center at every predetermined angle to search for the starting point W having the same gradation as the center circle. From the starting point W, the inside of the gradation part is further searched in the X or Y direction to find the starting points X1 and X2 of the gradation different from the central circle, and then the starting point X of the gradation.
The center point coordinate position between 1 and X2 is searched in the other axis direction to search for the start points Y1 and Y2 of the gradation different from that of the central circle, and the center point coordinate position between the start points Y1 and Y2 is searched. Is searched in a direction parallel to the starting points X1 and X2 to search for starting points X1 ′ and X2 ′ having gradations different from the center circle, and the diameter reference values in the X and Y directions stored in the storage unit and the start. Points Y1 and Y2
The distance between the starting points Y1 and Y2 and the starting points X1 'and X2' are matched with the distance reference and the distances between the starting points X1 'and X2' and the target mark A method for detecting the center position of a target mark by image processing, which is characterized by recognizing the center of the target mark.
【請求項2】 ターゲットマークを撮像部で受像し、該
画像信号を画像処理部で2値化して、その2値化画像を
画像処理部に連係するモニタ画面に表示し、モニタ画面
上に画像処理部が縦横間隔をおいて多数個の探査基準点
を設定すると共に、同画像処理部によって2値化画像を
所定の順番をもって探査基準点から所定角度毎に放射状
に探査して上記中心円と同じ階調となる開始点Wを探求
し、該開始点Wからその階調部分内をXまたはY方向に
更に探査して上記中心円と異なる階調の開始点X1、X
2を探求し、次にその階調の開始点X1、X2間の中点
座標位置上を他方の軸方向に探査して中心円と異なる階
調の開始点Y1、Y2を探求し、そして、その開始点Y
1、Y2間の中点座標位置上を開始点X1、X2方向と
平行する方向に探査して中心円と異なる階調の開始点X
1’、X2’を探求し、記憶部に記憶されたX、Y方向
の直径基準値と前記開始点Y1、Y2間距離及び開始点
X1’、X2’間距離とを照合し、その直径基準値に適
合して前記開始点Y1、Y2、開始点X1’、X2’各
2点の十字状の交点をターゲットマークの中心として認
定することを特徴とする画像処理によるターゲットマー
クの中心位置検出方法。
2. A target mark is received by an image pickup section, the image signal is binarized by an image processing section, the binarized image is displayed on a monitor screen linked to the image processing section, and an image is displayed on the monitor screen. The processing unit sets a large number of search reference points at vertical and horizontal intervals, and the image processing unit radially searches the binarized image at predetermined angles from the search reference point in a predetermined order to form the central circle. A starting point W having the same gradation is sought, and the gradation part is further searched in the X or Y direction from the starting point W to start points X1 and X of gradations different from the central circle.
2 is searched for in the other axial direction on the midpoint coordinate position between the starting points X1 and X2 of the gradation, and the starting points Y1 and Y2 of the gradation different from the central circle are searched, and Its starting point Y
The midpoint coordinate position between 1 and Y2 is searched in the direction parallel to the starting points X1 and X2, and the starting point X of a gradation different from that of the center circle is searched.
1 ′, X2 ′ is searched, and the diameter reference values in the X and Y directions stored in the storage unit are compared with the distance between the start points Y1 and Y2 and the distance between the start points X1 ′ and X2 ′, and the diameter reference A method for detecting the center position of a target mark by image processing, characterized in that a cross-shaped intersection of each of the starting points Y1 and Y2 and the starting points X1 ′ and X2 ′ corresponding to the value is recognized as the center of the target mark. .
【請求項3】 上記ターゲットマークの中心円の中心を
検出した後、中心円内を、上記検出中心を交差する所望
傾斜角度をもってX状や放射状に探査して上記中心円と
は異なる階調となる開始点Z1、Z2を探求し、該開始
点Z1、Z2間距離が前記記憶部にティーチングされた
中心円のX、Y方向の直径基準値に適合して上記検出中
心をターゲットマークの中心に認定することを特徴とす
る請求項1または2記載の画像処理によるターゲットマ
ークの中心位置検出方法。
3. After detecting the center of the center circle of the target mark, the inside of the center circle is searched in an X shape or a radial direction with a desired inclination angle intersecting the detection center, and a gradation different from that of the center circle is obtained. To find the starting points Z1 and Z2, and the distance between the starting points Z1 and Z2 conforms to the diameter reference values in the X and Y directions of the center circle taught in the storage unit, and the detection center is set to the center of the target mark. 3. The method for detecting the center position of a target mark by image processing according to claim 1, wherein the center position is detected.
JP6255508A 1993-12-27 1994-10-20 Target mark center position detection method by image processing Expired - Lifetime JP2609823B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6255508A JP2609823B2 (en) 1993-12-27 1994-10-20 Target mark center position detection method by image processing
US08/362,981 US5655030A (en) 1993-12-27 1994-12-23 Method for detecting the center of target marks by image processing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP33185693 1993-12-27
JP5-331856 1993-12-27
JP6255508A JP2609823B2 (en) 1993-12-27 1994-10-20 Target mark center position detection method by image processing

Publications (2)

Publication Number Publication Date
JPH07237094A true JPH07237094A (en) 1995-09-12
JP2609823B2 JP2609823B2 (en) 1997-05-14

Family

ID=26542245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6255508A Expired - Lifetime JP2609823B2 (en) 1993-12-27 1994-10-20 Target mark center position detection method by image processing

Country Status (1)

Country Link
JP (1) JP2609823B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647843B1 (en) 1997-03-27 2003-11-18 Mitsuboshi Belting Ltd. Method and apparatus for cutting belts from a belt sleeve material
JP2004338084A (en) * 2003-05-16 2004-12-02 Traub Drehmaschinen Gmbh Machine tool
JP2012071645A (en) * 2010-09-28 2012-04-12 Topcon Corp Automatic taking-off and landing system
CN110928235A (en) * 2019-11-18 2020-03-27 广东利元亨智能装备股份有限公司 Workpiece bonding method and device, electronic equipment and workpiece bonding system
CN113478459A (en) * 2021-05-27 2021-10-08 成都飞机工业(集团)有限责任公司 Calibration, cutter testing and detection integrated device for robot and use method
CN115143883A (en) * 2022-06-30 2022-10-04 北京市测绘设计研究院 Measuring method and measuring system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647843B1 (en) 1997-03-27 2003-11-18 Mitsuboshi Belting Ltd. Method and apparatus for cutting belts from a belt sleeve material
JP2004338084A (en) * 2003-05-16 2004-12-02 Traub Drehmaschinen Gmbh Machine tool
JP2012071645A (en) * 2010-09-28 2012-04-12 Topcon Corp Automatic taking-off and landing system
CN110928235A (en) * 2019-11-18 2020-03-27 广东利元亨智能装备股份有限公司 Workpiece bonding method and device, electronic equipment and workpiece bonding system
CN110928235B (en) * 2019-11-18 2021-04-06 广东利元亨智能装备股份有限公司 Workpiece bonding method and device, electronic equipment and workpiece bonding system
CN113478459A (en) * 2021-05-27 2021-10-08 成都飞机工业(集团)有限责任公司 Calibration, cutter testing and detection integrated device for robot and use method
CN115143883A (en) * 2022-06-30 2022-10-04 北京市测绘设计研究院 Measuring method and measuring system

Also Published As

Publication number Publication date
JP2609823B2 (en) 1997-05-14

Similar Documents

Publication Publication Date Title
CN106383131B (en) Visual detection method, device and system for printed matter
US7406191B2 (en) Inspection data producing method and board inspection apparatus using the method
US5655030A (en) Method for detecting the center of target marks by image processing
JPH09185477A (en) Method and device for identifying text field and check box in digital image
JPH07237094A (en) Detecting method for center position of target mark by image processing
JPH08287252A (en) Screw hole position recognizing method
JP3266429B2 (en) Pattern detection method
JP2609808B2 (en) How to check holes in printed circuit boards
JP3133058B2 (en) Method and apparatus for detecting an object in an assembly line
CN1228733C (en) Finding objects in image
KR19990062392A (en) Stop position error amount detection device of moving object
JP2995127B2 (en) How to recognize circular holes
US20030156748A1 (en) Adaptive threshold determination for ball grid array component modeling
JP2502933B2 (en) A method for detecting the center position of a drill by image processing
JPH0830731A (en) Method and device for character string confirmation
JP4872930B2 (en) Character recognition device, fuel pump module assembling device equipped with such device, and character recognition method
JP2021096116A (en) Label inspection method and label inspection system
JP3864524B2 (en) Circle detection method and detection apparatus
JP3158351B2 (en) Position detection method for minute workpiece
JPH08263655A (en) Pattern recognition method
JPH06258046A (en) Lane sectioning line recognition system
JPH06281411A (en) Measuring method for hole position
JPH05118821A (en) Method and apparatus for recognizing position
JPH09282453A (en) Position recognizing method
KR960001753B1 (en) Directionally characteristic recognition system by binary image