JPH06331312A - Detection of center position of target mark by image processing - Google Patents

Detection of center position of target mark by image processing

Info

Publication number
JPH06331312A
JPH06331312A JP5124181A JP12418193A JPH06331312A JP H06331312 A JPH06331312 A JP H06331312A JP 5124181 A JP5124181 A JP 5124181A JP 12418193 A JP12418193 A JP 12418193A JP H06331312 A JPH06331312 A JP H06331312A
Authority
JP
Japan
Prior art keywords
edges
center
target mark
black
measured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5124181A
Other languages
Japanese (ja)
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 JP5124181A priority Critical patent/JPH06331312A/en
Publication of JPH06331312A publication Critical patent/JPH06331312A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits
    • H05K3/0011Working of insulating substrates or insulating layers
    • H05K3/0044Mechanical working of the substrate, e.g. drilling or punching

Landscapes

  • Supply And Installment Of Electrical Components (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Detection And Correction Of Errors (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To accurately measure the center of a target by edge measurement by scanning the interior of a target mark binarized from the center of a cursor at every one pixel in one of X- and Y-axis directions. CONSTITUTION:The target mark 11 for drilling provided on a work is photographed and a variable density image signal is binarized in an image processing part to scan the center of a cursor at every one pixel in an X- or Y-axis direction to obtain a white and black reversal coordinate value and the edges a1, a2 in the X- or Y-axis direction are measured on the basis of the coordinate value. Next, on the basis of the white and black reversal coordinate value obtained by scanning the middle point coordinate values of the edges a1, a2, edges b1, b2 in the axis direction are measured. Subsequently, on the basis of the white and black reversal coordinate value obtained by scanning at every one pixel pitch, edges a1', a2' are measured and the diameter reference values in the X- and Y-axis directions of the mark 11 stored in a memory part are fitted to the distance between the edges b1, b2 and the distance between the edges a1', a2' and the middle point coordinate position of the edges b1, b2 is set in the center of the mark 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプリント基板等の板材に
印刷等所望の手段で付設した穿孔用のターゲットマーク
の中心位置を検出する画像処理によるターゲットマーク
の中心位置検出方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a target mark center position detection method by image processing for detecting the center position of a target mark for perforation provided on a plate material such as a printed circuit board by a desired means such as printing.

【0002】[0002]

【従来の技術】プリント基板等では基準孔を穿孔するた
め、銅箔を印刷したターゲットマークが4隅に付設さ
れ、該プリント基板を、各ターゲットマークが撮影部直
下に位置するように移動機構を介して移動させると共
に、そのターゲットマークの中心を所定の手段で計測
し、その計測された中心との誤差量だけドリルをX、Y
軸送り機構を介してX軸、Y軸方向に微動(補正動)さ
せてそのドリルの中芯とターゲットマークの中心とを一
致させ、その位置からZ方向にドリルを上昇させてター
ゲットマークの中心を孔芯とする基準孔を穿孔してい
る。ちなみに上記基準孔はプリント基板にプリント配線
する場合等の基準とされ、理論上の位置に精確に穿孔す
る必要がある。従来、ターゲットマークの中心は撮影部
で撮影されたターゲットマークの濃淡画像信号をA/D
変換部でディジタル信号に変換すると共に画像処理部で
2値化してモニタ(CRT)に映し出し、ダイナミック
ウインドウ方式による重心計測によって求められてい
る。
2. Description of the Related Art Since a reference hole is formed in a printed circuit board or the like, target marks printed with copper foil are provided at four corners, and the printed circuit board is provided with a moving mechanism so that each target mark is located immediately below a photographing section. The center of the target mark is measured by a predetermined means while being moved through, and the drill is moved by X and Y by an amount of error from the measured center.
Fine movement (correction movement) in the X-axis and Y-axis directions via the axis feed mechanism to align the center of the drill with the center of the target mark, and then raise the drill in the Z direction from that position to center the target mark. A reference hole having a hole core is drilled. By the way, the reference hole is used as a reference for printed wiring on a printed circuit board, etc., and it is necessary to accurately form a hole at a theoretical position. Conventionally, the center of the target mark is A / D for the grayscale image signal of the target mark photographed by the photographing unit.
The conversion unit converts the signal into a digital signal, the image processing unit converts it into a binary signal, displays it on a monitor (CRT), and obtains it by measuring the center of gravity by a dynamic window method.

【0003】[0003]

【発明が解決しようとする課題】しかし、重心計測の場
合、ターゲットマーク以外のパターンが2値化によって
白黒変換されると白黒変換座標系に大きく影響を及ぼ
し、ターゲットマークの中心が正確に計測できない問題
が生じる。
However, in the case of measuring the center of gravity, when the pattern other than the target mark is converted into black and white by binarization, the black and white conversion coordinate system is greatly affected, and the center of the target mark cannot be accurately measured. The problem arises.

【0004】本発明は、従来事情に鑑みてなされたもの
で、その目的とする処はエッジ計測によってターゲット
マークの中心を正確に計測する画像処理によるターゲッ
トマークの中心位置検出方法を提供することにある。
The present invention has been made in view of the conventional circumstances, and its object is to provide a method for detecting the center position of a target mark by image processing for accurately measuring the center of the target mark by edge measurement. is there.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に講じた技術的手段は穿孔用のターゲットマークを付設
したワークのそのターゲットマークを撮影部で撮影し、
該濃淡画像信号を画像処理部で2値化して、その2値化
データをモニタ画面内に映し出し、カーソル中心がター
ゲットマークの2値化データ内にある時にカーソル中心
上をX軸方向またはY軸方向に1画素ピッチ宛走査して
得られる白黒反転座標値でその方向のエッジイ1、イ2
をまず計測し、次に該エッジイ1、イ2の中点座標位置
上を他方の軸方向に1画素ピッチ宛走査して得られる白
黒反転座標値でその軸方向のエッジロ1、ロ2を計測
し、そして該エッジロ1、ロ2の中点座標位置上を前記
エッジイ1、イ2と平行する方向に前記1画素ピッチ宛
走査して得られる白黒反転座標値でエッジイ1’、イ
2’を計測し、記憶部に記憶されたターゲットマークの
X軸、Y軸方向の直径基準値とエッジロ1、ロ2間距離
及びエッジイ1’、イ2’間距離とが適合してエッジロ
1、ロ2の中点座標位置を前記ターゲットマークの中心
とすることを要旨とする。
[Means for Solving the Problems] The technical means taken to achieve the above object is to photograph the target mark of a workpiece provided with a target mark for perforation with a photographing section,
The grayscale image signal is binarized by the image processing unit, the binarized data is displayed on the monitor screen, and when the center of the cursor is in the binarized data of the target mark, the cursor center is on the X-axis direction or the Y-axis. A black-and-white inverted coordinate value obtained by scanning one pixel pitch in a direction, and edges 1 and 2 in that direction.
Is measured first, and then the black and white inverted coordinate values obtained by scanning the midpoint coordinate positions of the edges 1 and 2 in the other axis direction by one pixel pitch are measured for the edges 1 and 2 in the axis direction. Then, the edge points 1'and 2'are obtained by black-and-white inverted coordinate values obtained by scanning the midpoint coordinate position of the edges 1 and 2 in the direction parallel to the edge points 1 and 2 with the one pixel pitch. The diameter reference values in the X-axis and Y-axis directions of the target mark measured and stored in the storage unit are matched with the distance between the edges 1 and 2 and the distance between the edges 1'and 2 ', and the edges 1 and 2 are matched. The gist is that the center point coordinate position of is the center of the target mark.

【0006】[0006]

【作用】上記技術的手段によればターゲットマークの白
黒反転座標系をカーソル中心から例えばX軸方向に1画
素ピッチ宛走査し、得られた白黒変換座標値でX軸方向
のエッジを計測してまずその中点を求めてその中点をタ
ーゲットマークにおけるX軸方向を中心とする。これを
基準点としてY軸方向に1画素ピッチ宛走査し、上述と
同様に白黒反転座標値でY軸方向のエッジ計測を行う。
これによってY軸方向のターゲットマークのエッジ間距
離、即ちY軸方向の直径が求められる。そしてその中点
(仮定中心)を今度は前記X軸方向に1画素ピッチ宛走
査して白黒反転座標値でX軸方向のエッジ計測を行い。
これによってX軸方向のエッジ間距離、即ちX軸方向の
直径が求められる。最後に記憶部に記憶されたターゲッ
トマークのX軸、Y軸方向の直径基準値と上記するX軸
方向のエッジ間距離及びY軸方向のエッジ間距離(計測
された直径)との照合の結果、その直径基準値の基準範
囲(許容範囲)内に適合して初めて正規の面積のターゲ
ットマークであることを認定し、前記仮定中心を実際の
中心として決定する。
According to the above technical means, the black-and-white reversal coordinate system of the target mark is scanned from the center of the cursor to, for example, one pixel pitch in the X-axis direction, and the edge in the X-axis direction is measured by the obtained black-and-white conversion coordinate value. First, the midpoint is obtained, and the midpoint is centered in the X-axis direction of the target mark. Using this as a reference point, scanning is performed for one pixel pitch in the Y-axis direction, and edge measurement in the Y-axis direction is performed using the black-and-white inverted coordinate values, as described above.
Thus, the distance between the edges of the target mark in the Y-axis direction, that is, the diameter in the Y-axis direction is obtained. Then, the middle point (hypothetical center) is scanned for one pixel pitch in the X-axis direction this time, and the edge measurement in the X-axis direction is performed with the black-and-white inverted coordinate value.
By this, the distance between the edges in the X-axis direction, that is, the diameter in the X-axis direction is obtained. Finally, the result of collation between the X-axis and Y-axis direction diameter reference values of the target mark stored in the storage unit and the above-described X-axis direction edge distance and Y-axis direction edge distance (measured diameter). It is determined that the target mark has a regular area only when it fits within the reference range (allowable range) of the diameter reference value, and the assumed center is determined as the actual center.

【0007】[0007]

【発明の効果】本発明は以上にようにカーソル中心から
2値化されたターゲットマーク内をX軸またはY軸の一
方向に1画素ピッチ宛走査して白黒反転するその白黒反
転座標値でその方向のエッジ(X軸またはY軸方向のエ
ッジ)を計測してその中点を基準点とし、その基準点上
をX軸またはY軸の他方向に1画素ピッチ宛走査して同
様に白黒反転する白黒反転座標値でその方向のエッジを
計測してその中点を仮定中心とし、この仮定中心を再度
前記一方向に同様に1画素ピッチ宛走査して白黒反転す
る白黒反転座標値でその方向のエッジ(Y軸またはX軸
のエッジ)を計測して記憶部内の直径基準値と照合した
結果で上記仮定中心をターゲットマークの中心とする方
法であるから、ターゲットマーク以外のパターンの影響
を受けたり誤認することなく確実にターゲットマークの
中心位置を検出することができる。
As described above, according to the present invention, the target mark binarized from the cursor center is scanned by one pixel pitch in one direction of the X-axis or the Y-axis and black-and-white inversion is performed by the black-and-white inversion coordinate value. Direction edge (X-axis or Y-axis direction edge) is measured, the middle point is used as a reference point, and the reference point is scanned in the other direction of the X-axis or Y-axis by one pixel pitch, and black-and-white inversion is performed in the same manner. The edge in that direction is measured with the black and white reversal coordinate value, and the midpoint is set as the hypothetical center, and the hypothetical center is again scanned in the same direction by one pixel pitch to perform the black and white reversal coordinate value. The edge of the target mark (Y-axis or X-axis edge) is measured and collated with the diameter reference value in the storage unit, and the assumed center is the center of the target mark. Or misidentify It is possible to reliably detect the center position of the target mark without.

【0008】[0008]

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

【0009】図1は本実施例中心位置検出方法を実行す
る装置を、図2はエッジ計測状態を、また図3はフロー
チャートを各々示している。図1において、符号1は穿
孔対象となるプリント基板であり、4隅に基準孔穿孔用
のターゲットマーク11が付設してある。このターゲット
マーク11は銅箔を印刷によって施してなり、直径を1m
m程度とし、撮影部3、即ちカメラ直下にターゲットマ
ーク11が位置するようにその都度自動制御でもって移動
させることができるようになっている。
FIG. 1 shows an apparatus for executing the center position detecting method of this embodiment, FIG. 2 shows an edge measurement state, and FIG. 3 shows a flow chart. In FIG. 1, reference numeral 1 is a printed circuit board to be punched, and target marks 11 for punching reference holes are provided at four corners. This target mark 11 is made by printing copper foil and has a diameter of 1 m.
The target mark 11 can be moved by automatic control so that the target mark 11 is located immediately below the camera unit 3, that is, the camera.

【0010】符号2は画像処理部であり、A/D変換器
(図示せず)によってディジタル信号に変換された映像
情報(濃淡画像信号の映像情報)を2値化等の演算処理
をする画像処理回路12と、その2値化データを記憶する
画像メモリ22と、所定の制御プログラムを実行する中央
処理装置32と、その中央処理装置32への必要なデータを
記憶する記憶部42等とを備えており、上記ターゲットマ
ーク11の濃淡画像信号を画像処理回路12で2値化して、
画像メモリ22内に書き込むことができるようになってい
る。
Reference numeral 2 denotes an image processing unit, which is an image for performing arithmetic processing such as binarization on video information (video information of a grayscale image signal) converted into a digital signal by an A / D converter (not shown). The processing circuit 12, an image memory 22 for storing the binarized data thereof, a central processing unit 32 for executing a predetermined control program, a storage unit 42 for storing necessary data for the central processing unit 32, and the like. Is provided, and the grayscale image signal of the target mark 11 is binarized by the image processing circuit 12,
It can be written in the image memory 22.

【0011】符号4はモニタであり、上記する画像メモ
リ22のその画像を映し出し、後述するX、Y軸方向にそ
の座標系を走査する。
Reference numeral 4 denotes a monitor, which displays the image in the image memory 22 and scans its coordinate system in the X and Y axis directions described later.

【0012】上記走査は、前記画像処理回路12で2値化
された画像メモリ22内の2値化データ(ターゲットマー
クの2値化データ)の任意部位にカーソル13、13の中心
13’が位置する時にカーソル13、13の中心13’上からX
軸またはY軸の一方向に1画素ピッチ宛走査して0−1
または1−0に白黒変換する座標値をその方向のエッジ
として検出し、且つそのエッジの中点座標位置上から他
方の軸方向に1画素ピッチ宛走査して0−1または1−
0に白黒変換する座標値をその方向のエッジとして検出
し、更にそのエッジの中点座標位置(仮定中心)上から
前記一方向に同様に1画素ピッチ宛走査して0−1また
は1−0に白黒変換する座標値をその方向のエッジとし
て検出するようにする。
In the above scanning, the center of the cursors 13 and 13 is located at an arbitrary portion of the binarized data (binarized data of the target mark) in the image memory 22 binarized by the image processing circuit 12.
X from the center 13 'of the cursor 13, 13 when 13' is located
-1 by scanning one pixel pitch in one direction of the axis or Y-axis
Alternatively, the coordinate value for black-and-white conversion to 1-0 is detected as the edge in that direction, and the pixel is scanned from the midpoint coordinate position of the edge in the other axis direction by one pixel pitch and 0-1 or 1-
The coordinate value for black-and-white conversion to 0 is detected as an edge in that direction, and further, from the midpoint coordinate position (assumed center) of the edge, scanning is similarly performed for one pixel pitch in the above-mentioned one direction, and 0-1 or 1-0. The coordinate value for black and white conversion is detected as an edge in that direction.

【0013】中央処理装置32は、図3のフローチャート
に示す制御プログラムを順に実行する。
The central processing unit 32 sequentially executes the control programs shown in the flowchart of FIG.

【0014】次に、本実施例における画像処理によるタ
ーゲットマークの中心位置検出方法を上記走査及び図面
(図2及び図3)に基づいて詳細に説明する。まず、タ
ーゲットマーク11が撮影部3の真下に位置するようにプ
リント基板1を移動させてセットし、撮影部3で撮影さ
れた濃淡画像信号を画像処理回路12で2値化して画像メ
モリ22に書き込みし、その2値化データをモニタ4に映
し出す。この時、カーソル13、13の中心13’が2値化し
たターゲットマーク11の2値化データ内に位置している
かどうか判断する。まずカーソル13、13の中心13’が2
値化されたターゲットマーク11の白黒変換座標系内にな
い場合(ターゲットマーク11の撮影部3直下への移動が
不適切でターゲットマーク11が撮影されない場合等を考
慮して)にはエラー処理され、カーソル13、13の中心1
3’がその白黒変換座標系内にある場合には中心13’上
をX軸方向に1画素ピッチ宛走査して1−0または0−
1に白黒変換するその座標値で一方のエッジX1(イ
1)を検出する。そのエッジX1の検出が終了すると上
記中心13’上をX軸方向に逆側に1画素ピッチ宛走査し
て上記と同様に白黒変換するその座標値で他方のエッジ
X2(イ2)を検出する。次にエッジX1、X2の中点
座標位置をターゲットマーク11のX軸の中心として記憶
部42、即ちRAMに記憶する。そして、上記ターゲット
マーク11の、そのX1、X2の中点座標位置上をY軸方
向に1画素ピッチ宛走査してエッジY1(ロ1)、Y2
(ロ2)を各々検出し、その中点座標位置(仮定中心
O)を上記記憶部42に記憶する。次に上記するエッジY
1、Y2の中点座標位置上をX軸方向に1画素ピッチ宛
走査して白黒変換する白黒変換座標値でエッジX1’
(イ1’)、X2’(イ2’)を検出する。更に、記憶
部42にティーチングで記憶されている直径基準値とエッ
ジY1(ロ1)、Y2(ロ2)間距離及びエッジX1’
(イ1’)、X2’(イ2’)間距離とを照合して直径
基準値の基準範囲(許容範囲)に両エッジ間距離が適合
すればエッジY1(ロ1)、Y2(ロ2)の中点座標値
(仮定中心O)をターゲットマーク11の中心として認定
し、両エッジ間距離が上記直径基準値の基準範囲(許容
範囲)外となって適合しない場合にはターゲットマーク
11は適正の大きさ及び形状のものではないものとしてエ
ラー処理する。
Next, the method for detecting the center position of the target mark by image processing in this embodiment will be described in detail with reference to the above scanning and the drawings (FIGS. 2 and 3). First, the printed circuit board 1 is moved and set so that the target mark 11 is located directly below the photographing unit 3, and the grayscale image signal photographed by the photographing unit 3 is binarized by the image processing circuit 12 and stored in the image memory 22. It is written and the binarized data is displayed on the monitor 4. At this time, it is determined whether the center 13 'of the cursors 13, 13 is located within the binarized data of the binarized target mark 11. First, the center 13 'of the cursor 13, 13 is 2
If the binarized target mark 11 is not in the black-and-white conversion coordinate system (considering that the target mark 11 is not photographed due to improper movement of the target mark 11 directly under the photographing unit 3), error processing is performed. , Cursor 13, center of 13 1
When 3'is in the black-and-white conversion coordinate system, the center 13 'is scanned in the X-axis direction by one pixel pitch, and 1-0 or 0-
One edge X1 (a1) is detected by the coordinate value for black-and-white conversion to 1. When the detection of the edge X1 is completed, the center 13 'is scanned in the opposite direction in the X-axis direction by one pixel pitch, and black-and-white conversion is performed in the same manner as above. . Next, the midpoint coordinate position of the edges X1 and X2 is stored in the storage unit 42, that is, the RAM as the center of the X axis of the target mark 11. Then, the target mark 11 is scanned on the midpoint coordinate positions of X1 and X2 in the Y-axis direction by one pixel pitch to scan the edges Y1 (B1) and Y2.
(2) is detected, and the midpoint coordinate position (hypothesized center O) is stored in the storage unit 42. Next, the edge Y
Edge X1 'is a black-and-white conversion coordinate value that scans on the midpoint coordinate position of 1 and Y2 in the X-axis direction by one pixel pitch and performs black-and-white conversion.
(A1 ') and X2' (A2 ') are detected. Further, the diameter reference value and the distance between the edges Y1 (b1) and Y2 (b2) stored in the storage unit 42 by teaching and the edge X1 '.
If the distance between both edges is matched with the reference range (allowable range) of the diameter reference value by comparing the distance between (a1 ') and X2' (a2 '), the edge Y1 (b1), Y2 (b2) ) The center point coordinate value (assumed center O) is recognized as the center of the target mark 11, and if the distance between both edges is out of the reference range (allowable range) of the diameter reference value and does not match, the target mark
Error processing is performed on condition 11 that the size and shape are not proper.

【0015】これにより正規の面積及び平面視形状をも
って印刷されたターゲットマーク11の中心位置がエッジ
計測で求められる。
As a result, the center position of the target mark 11 printed with a regular area and shape in plan view can be obtained by edge measurement.

【0016】ちなみに、その結果をI/Oポート5を介
して外部機器であるX、Y軸ドライバ回路6に指令を与
え、そのX、Yドライバ回路6がX、Y軸送り機構7の
送り量を制御して穿孔具8(ドリル)を上記するターゲ
ットマーク11の中心O直下に送り、その位置からソレノ
イド、エアーシリンダからなるZ軸送り機構9で穿孔具
(ドリル)8を上昇させて基準孔(図示せず)を穿孔す
る。
By the way, the result is given to the X / Y-axis driver circuit 6 which is an external device through the I / O port 5, and the X / Y driver circuit 6 feeds the feed amount of the X / Y-axis feed mechanism 7. Is controlled to feed the punching tool 8 (drill) directly below the center O of the target mark 11 and the Z-axis feed mechanism 9 including a solenoid and an air cylinder moves the punching tool 8 up to raise the reference hole. Perforate (not shown).

【0017】次に図4及び図5に示す第2実施例を説明
すると、この実施例は第1実施例のエッジ計測で求めら
れたターゲットマーク11の中心Oを仮中心として前記す
るエッジY1(ロ1)、Y2(ロ2)間距離及びエッジ
X1’(イ1’)、X2’(イ2’)間距離よりも僅か
に大きめのウインドウ10を開き、そしてそのウインドウ
10範囲のモニタ4画面の重心計測を行って更に精確なタ
ーゲットマーク11の中心を追求するものである。無論、
ウインドウ10範囲外はマスクして計測範囲から除外す
る。
Next, the second embodiment shown in FIGS. 4 and 5 will be described. In this embodiment, the center Y of the target mark 11 obtained by the edge measurement of the first embodiment is used as a provisional center for the edge Y1 ( Open a window 10 that is slightly larger than the distance between 1) and Y2 (2) and the distance between edges X1 '(1') and X2 '(2'), and that window
The center of gravity of four monitor screens in 10 areas is measured to pursue a more accurate center of the target mark 11. Of course,
The outside of the window 10 range is masked and excluded from the measurement range.

【0018】尚、上述する実施例ではカーソル13、13の
中心13’上をX軸方向に1画素ピッチ宛走査することか
ら開始しているが、逆にその中心13’上をY軸方向に1
画素ピッチ宛走査してエッジY1から検出しても構わな
い。この場合には図3及び図5に示すフローチャートの
XとYとが単に入れ替わる図になるだけであるため、そ
のフローチャートは省略する。
In the above-described embodiment, the scanning is started by scanning the center 13 'of the cursors 13, 13 in the X-axis direction by one pixel pitch, but conversely, the center 13' is moved in the Y-axis direction. 1
The pixel pitch may be scanned and detected from the edge Y1. In this case, X and Y in the flowcharts shown in FIGS. 3 and 5 are simply replaced with each other, and therefore the flowcharts are omitted.

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

【図1】第1実施例の画像処理によるターゲットマーク
の中心位置検出方法を実施する装置のブロック図。
FIG. 1 is a block diagram of an apparatus for performing a target mark center position detecting method by image processing according to a first embodiment.

【図2】モニタ画面、2値化データ、カーソルの3者関
係を示すエッジ計測の状態図。
FIG. 2 is a state diagram of edge measurement showing a three-way relationship between a monitor screen, binary data, and a cursor.

【図3】第1実施例のフローチャートFIG. 3 is a flowchart of the first embodiment.

【図4】第2実施例のモニタ画面、2値化データ、カー
ソル、ウインドウとの4者関係を示す重心計測の状態図
FIG. 4 is a state diagram of the center of gravity measurement showing the four-way relationship between the monitor screen, the binarized data, the cursor, and the window of the second embodiment.

【図5】第2実施例のフローチャート。FIG. 5 is a flowchart of the second embodiment.

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

11:ターゲットマーク 1:ワーク(プ
リント基板) 4:モニタ 3:撮影部(カ
メラ) 13、13:カーソル 13’:カーソル
の中心 2:画像処理部 42:記憶部
11: Target mark 1: Work (printed circuit board) 4: Monitor 3: Imaging unit (camera) 13, 13: Cursor 13 ': Cursor center 2: Image processing unit 42: Storage unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H05K 13/08 A 8315−4E ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H05K 13/08 A 8315-4E

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 穿孔用のターゲットマークを付設したワ
ークのそのターゲットマークを撮影部で撮影し、該濃淡
画像信号を画像処理部で2値化して、その2値化データ
をモニタ画面内に映し出し、カーソル中心がターゲット
マークの2値化データ内にある時にカーソル中心上をX
軸方向またはY軸方向に1画素ピッチ宛走査して得られ
る白黒反転座標値でその方向のエッジイ1、イ2をまず
計測し、次に該エッジイ1、イ2の中点座標位置上を他
方の軸方向に1画素ピッチ宛走査して得られる白黒反転
座標値でその軸方向のエッジロ1、ロ2を計測し、そし
て該エッジロ1、ロ2の中点座標位置上を前記エッジイ
1、イ2と平行する方向に前記1画素ピッチ宛走査して
得られる白黒反転座標値でエッジイ1’、イ2’を計測
し、記憶部に記憶されたターゲットマークのX軸、Y軸
方向の直径基準値と前記エッジロ1、ロ2間距離及びエ
ッジイ1’、イ2’間距離とが適合してエッジロ1、ロ
2の中点座標位置を前記ターゲットマークの中心とする
ことを特徴とするターゲットマークの中心位置検出方
法。
1. The target mark of a workpiece provided with a target mark for punching is photographed by a photographing unit, the grayscale image signal is binarized by an image processing unit, and the binarized data is displayed on a monitor screen. , X on the cursor center when the cursor center is in the binarized data of the target mark
The black and white inverted coordinate values obtained by scanning one pixel pitch in the axial direction or the Y-axis direction are first used to measure the edges 1 and 2 in that direction, and then the other points on the midpoint coordinate position of the edges 1 and 2 are measured. The edges b and b in the axial direction are measured with the black and white inverted coordinate values obtained by scanning the pixel in the axial direction at 1 pixel pitch, and the edges a and b are located on the midpoint coordinate position of the edges b and b. Edges 1'and 2'are measured with black-and-white reversal coordinate values obtained by scanning the pixel pitch in the direction parallel to 2, and the diameter reference of the target mark stored in the storage unit in the X-axis and Y-axis directions. A target mark characterized in that the value and the distance between the edges 1 and 2 and the distance between the edges 1'and 2'are matched so that the midpoint coordinate position of the edges 1 and 2 is the center of the target mark. Center position detection method.
JP5124181A 1993-05-26 1993-05-26 Detection of center position of target mark by image processing Pending JPH06331312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5124181A JPH06331312A (en) 1993-05-26 1993-05-26 Detection of center position of target mark by image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5124181A JPH06331312A (en) 1993-05-26 1993-05-26 Detection of center position of target mark by image processing

Publications (1)

Publication Number Publication Date
JPH06331312A true JPH06331312A (en) 1994-12-02

Family

ID=14878987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5124181A Pending JPH06331312A (en) 1993-05-26 1993-05-26 Detection of center position of target mark by image processing

Country Status (1)

Country Link
JP (1) JPH06331312A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114589077A (en) * 2022-03-25 2022-06-07 飓蜂科技(苏州)有限公司 Side edge dispensing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0350608A (en) * 1989-07-18 1991-03-05 Fujitsu Ltd Tracking method
JPH04171585A (en) * 1990-11-06 1992-06-18 Toshiba Eng Co Ltd Picture processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0350608A (en) * 1989-07-18 1991-03-05 Fujitsu Ltd Tracking method
JPH04171585A (en) * 1990-11-06 1992-06-18 Toshiba Eng Co Ltd Picture processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114589077A (en) * 2022-03-25 2022-06-07 飓蜂科技(苏州)有限公司 Side edge dispensing method

Similar Documents

Publication Publication Date Title
US5048094A (en) Method and apparatus for checking pattern
US4334241A (en) Pattern position detecting system
US5822449A (en) Teaching method and system for mounted component inspection
JPH03191600A (en) Inspection apparatus provided with automatic formation function of inspection program data
US5655030A (en) Method for detecting the center of target marks by image processing
JP2609808B2 (en) How to check holes in printed circuit boards
JPH04152048A (en) Automatic punching method for reference mark position of multilayer printed board
JPH06331312A (en) Detection of center position of target mark by image processing
JPH0812050B2 (en) Substrate mark position detection method
JPH06333027A (en) Measured area correcting method using image processing for target mark
EP0198571B1 (en) Method and system for patching original and extracting original-trimming data in scanner
JP3264020B2 (en) Inspection data creation method and mounted component inspection device
JP3189308B2 (en) Method and apparatus for displaying soldering inspection results, method for correcting soldering failure, and soldering inspection apparatus
JPS63257808A (en) Device for inspecting parts fitting
JPH02133885A (en) Inspecting method for pattern
JPH0230065B2 (en)
JPH0961116A (en) Article inspection method and device
JP3511456B2 (en) Pattern inspection method
JP3005515B2 (en) Centering method of drilling machine
JPH0830641B2 (en) Hole position detection method
JPH04161841A (en) Optical printed board inspecting apparatus
JPH0811353B2 (en) Hole position confirmation method
JPH0410114B2 (en)
CN116402900A (en) Method and device for determining compensation precision of camera system and storage medium
JPH10308598A (en) Calibration method of scan type sensor