JPH0136150B2 - - Google Patents
Info
- Publication number
- JPH0136150B2 JPH0136150B2 JP58211555A JP21155583A JPH0136150B2 JP H0136150 B2 JPH0136150 B2 JP H0136150B2 JP 58211555 A JP58211555 A JP 58211555A JP 21155583 A JP21155583 A JP 21155583A JP H0136150 B2 JPH0136150 B2 JP H0136150B2
- Authority
- JP
- Japan
- Prior art keywords
- edge
- inspected
- cursor
- line
- image
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/12—Edge-based segmentation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Microscoopes, Condenser (AREA)
- Processing Or Creating Images (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】
本発明は画像処理装置、詳しくは被検査物を載
承せるテーブルの駆動によつて被検査物を移動さ
せながら該被検査物の表面をTVカメラによつて
ブラウン管に映じ、その表面画像を追跡する画像
処理装置、における被検査物のエツジ位置決定方
法に関し、其の目的とする処は被検査物を移動さ
せるテーブルの駆動を高速化可能にして画像処理
装置の作業性を向上させるとともにエツジ位置の
測定精度を高めることにある。DETAILED DESCRIPTION OF THE INVENTION The present invention is an image processing device, in particular, the surface of the object to be inspected is captured on a cathode ray tube by a TV camera while the object to be inspected is moved by driving a table on which the object to be inspected is placed. Regarding a method for determining the edge position of an object to be inspected in an image processing device that tracks the surface image of the object, its purpose is to speed up the driving of a table that moves the object to be inspected, thereby speeding up the work of the image processing device. The purpose of this invention is to improve the accuracy and measurement accuracy of edge positions.
斯る本発明は、ブラウン管に十字状のカーソル
線及び該線を囲繞する口形のカーソル枠を表示
し、カーソル枠が被検査物のエツジを検出したと
きに前記テーブルの駆動を減速させる減速指令信
号を出力し、カーソル線が前記エツジを検出した
ときに該エツジの座標位置を測定させる測定指令
信号を出力することを特徴とし、前記測定指令信
号の出力によつてテーブルの駆動が停止し、その
位置におけるテーブルのX―Y座標を検出してエ
ツジの座標位置とされる。 The present invention displays a cross-shaped cursor line and a mouth-shaped cursor frame surrounding the line on a cathode ray tube, and provides a deceleration command signal for decelerating the drive of the table when the cursor frame detects an edge of an object to be inspected. and when the cursor line detects the edge, outputs a measurement command signal that causes the coordinate position of the edge to be measured, and the output of the measurement command signal causes the drive of the table to stop and the The XY coordinates of the table at the position are detected and determined as the coordinate position of the edge.
上記被検査物はテーブルが予め設定された方向
へ移動することによつて複数個所のエツジの座標
位置が測定され、それらの測定データに基いて被
検査物の寸法、形状、面積、中心点など算出され
る。 By moving the table in a preset direction, the coordinate positions of multiple edges of the object to be inspected are measured, and based on these measurement data, the dimensions, shape, area, center point, etc. of the object to be inspected are determined. Calculated.
上記被検査物のエツジはブラウン管の画像によ
れば必ずしも直線状とはならず凹凸状に映るが、
カーソル枠によるエツジ検出はカーソル枠が最初
にエツジの何れかの凹凸に接したときであり、カ
ーソル線によるエツジ検出は、カーソル線が最初
にエツジの何れかの凹凸に接したとき、又は十字
状カーソル線の交点がエツジに接したとき、又は
カーソル線の全長が被検査物に接合したときであ
る。 According to the CRT image, the edges of the object to be inspected are not necessarily straight, but appear uneven.
Edge detection using the cursor frame occurs when the cursor frame first touches any unevenness on the edge, and edge detection using the cursor line occurs when the cursor line first touches any unevenness on the edge, or when the cursor frame first touches any unevenness on the edge. This occurs when the intersection of the cursor lines touches an edge, or when the entire length of the cursor lines joins the object to be inspected.
本発明の実施例を図面により説明すれば、第1
図は自動寸法測定装置を示し、1は機台、2は検
査テーブル、3は顕微鏡、4はTVカメラ、5は
画像処理装置、10は被検査物である。 Embodiments of the present invention will be described with reference to the drawings.
The figure shows an automatic dimension measuring device, in which 1 is a machine stand, 2 is an inspection table, 3 is a microscope, 4 is a TV camera, 5 is an image processing device, and 10 is an object to be inspected.
検査テーブル2はY軸方向へ移動するYテーブ
ル2aとX軸方向へ移動するXテーブル2bとの
組合せにより構成し、各テーブル2a,2bに
夫々パルスモータ又はサーボモータなどの駆動用
モータ11,11′を連結して駆動するようにす
るとともにリニアスケール12,12′を設けて
移動量を検出するようにする。 The inspection table 2 is configured by a combination of a Y table 2a that moves in the Y-axis direction and an X-table 2b that moves in the X-axis direction, and each table 2a, 2b is equipped with a driving motor 11, 11, such as a pulse motor or a servo motor, respectively. ' are connected and driven, and linear scales 12, 12' are provided to detect the amount of movement.
上記Xテーブル2b上に被検査物10を載せて
寸法測定をする。 The object to be inspected 10 is placed on the X-table 2b and its dimensions are measured.
又、機台1には支柱1′を起設し、該支柱1′の
先端に上下方向(Z軸方向)へ移動するZテーブ
ル2cを取付け、このZ軸テーブル2cに顕微鏡
3を前記検査テーブル2上方に位置するように設
置する。 Further, a support 1' is installed on the machine base 1, and a Z table 2c that moves in the vertical direction (Z-axis direction) is attached to the tip of the support 1', and the microscope 3 is mounted on this Z-axis table 2c. 2. Install it so that it is located above.
上記Zテーブル2cにはサーボモータなどの駆
動用モータ13を連結するとともにリニアスケー
ル14を設ける。 A drive motor 13 such as a servo motor is connected to the Z table 2c, and a linear scale 14 is also provided.
顕微鏡3は反射用光源15を有し、該光源15
から出る光を対物レンズ16を介して被検査物1
0の表面に投光し、この顕微鏡3により被検査物
10表面を拡大してTVカメラ4により撮像させ
る。 The microscope 3 has a reflection light source 15, and the light source 15
The light emitted from the object to be inspected 1 is transmitted through the objective lens 16.
0, the surface of the object to be inspected 10 is magnified by the microscope 3, and the image is taken by the TV camera 4.
上記顕微鏡3はモータ13を駆動させZテーブ
ル2cを上下動させることにより被検査物10に
対する焦点合せをする。 The microscope 3 focuses on the object to be inspected 10 by driving the motor 13 and moving the Z table 2c up and down.
TVカメラ4は前記顕微鏡3上に連結して設置
するとともにコード17を介して画像処理装置5
に接続し、顕微鏡3により拡大された被検査物1
0の表面を撮像して画像処理装置5へ送信する。 The TV camera 4 is connected and installed on the microscope 3 and connected to the image processing device 5 via the cord 17.
The inspection object 1 is connected to the microscope 3 and is magnified by the microscope 3.
0 is imaged and transmitted to the image processing device 5.
画像処理装置5はその表面図を第2図に示す如
く、表パネル上に表示用のブラウン管20を有
し、該管20にTVカメラ4より送信された被検
査物10の画像を映ずるようにする。 As shown in FIG. 2, the image processing device 5 has a display cathode ray tube 20 on the front panel, and the image of the object to be inspected 10 transmitted from the TV camera 4 is displayed on the tube 20. Make it.
又、ブラウン管20には上限線6a、下限線6
a′、左限線6b及び右限線6b′で形成される口形
状のカーソル枠6を表示するとともに該枠内に縦
カーソル線7a及び横カーソル線7bを十字状に
表示しておき、該カーソル枠6及びカーソル線7
a,7bにより移動する被検査物10の画像を追
跡するようにする。 Further, the cathode ray tube 20 has an upper limit line 6a and a lower limit line 6.
A', a mouth-shaped cursor frame 6 formed by a left limit line 6b and a right limit line 6b' is displayed, and a vertical cursor line 7a and a horizontal cursor line 7b are displayed in a cross shape within the frame. Cursor frame 6 and cursor line 7
a, 7b to track the image of the moving object 10.
上記カーソル枠6は入力装置(図示せず)のキ
ー操作等によつて、上限線6a及び下限線6a′を
上下方向へ、左限線6b及び右限線6b′を左右方
向へ夫々移動させてカーソル枠6を縮小又は拡張
自在とする。 The cursor frame 6 can be moved by moving the upper limit line 6a and the lower limit line 6a' in the vertical direction, and moving the left limit line 6b and the right limit line 6b' in the left and right directions, respectively, by operating keys on an input device (not shown). The cursor frame 6 can be reduced or expanded.
又、カーソル線7a,7bも入力装置によつて
縦カーソル線7aを左右方向へ、横カーソル線7
bを上下方向へ可動状とする。 In addition, the cursor lines 7a and 7b are also controlled by the input device to move the vertical cursor line 7a to the left and right, and to move the horizontal cursor line 7 to the left and right.
b is movable in the vertical direction.
画像処理装置5は内蔵せる中央処理装置
(cpu)にNCコントローラ9及びモータドライバ
9′を介して前記テーブル2a,2b,2cの各
モータ11,11′,13に接続し、中央処理装
置(cpu)に予め記憶させてあるシーケンスに従
つて検査テーブル2をX軸方向又はY軸方向へ駆
動させて被検査物10を顕微鏡3下で移動させな
がら、その表面画像をTVカメラ4によりブラウ
ン管20に映ずる。 The image processing device 5 is connected to a built-in central processing unit (CPU) via an NC controller 9 and a motor driver 9' to each motor 11, 11', 13 of the tables 2a, 2b, 2c. ), the inspection table 2 is driven in the X-axis direction or the Y-axis direction according to a pre-stored sequence, and the object 10 to be inspected is moved under the microscope 3, while the surface image thereof is displayed on the cathode ray tube 20 by the TV camera 4. reflected.
従つてブラウン管20には被検査物10の画像
が順次移動して該被検査物のエツジaとカーソル
枠6、カーソル線7a,7bとが接合するエツジ
検出がなされる。 Therefore, the image of the object to be inspected 10 is sequentially moved on the cathode ray tube 20, and an edge is detected where the edge a of the object to be inspected joins the cursor frame 6 and the cursor lines 7a and 7b.
而して中央処理装置(cpu)の制御によつて、
カーソル枠6が被検査物10のエツジaを検出す
るまではモータ11又は11′を高速に駆動させ
てYテーブル2a又はXテーブル2bを早送りさ
せる。 Therefore, under the control of the central processing unit (CPU),
Until the cursor frame 6 detects the edge a of the object to be inspected 10, the motor 11 or 11' is driven at high speed to fast-forward the Y table 2a or the X table 2b.
そして、カーソル枠6の下限線6a′がエツジa
の先入端a′に接合してエツジを検出したとき(第
3図)、画像処理装置5は中央処理装置へ減速指
令信号Pを出力し、中央処理装置(cpu)により
前記モータ11又は11′を減速させてYテーブ
ル2a又はXテーブル2bをそれまでと同方向へ
低速で移動させる。 Then, the lower limit line 6a' of the cursor frame 6 is at the edge a.
When the edge is detected by connecting to the leading end a' of to move the Y table 2a or the X table 2b at low speed in the same direction as before.
さらにYテーブル2a又はXテーブル2bが移
動し、カーソル線7a,7bがエツジaの先入端
a′に接合してエツジを検出したときに(第4図)、
画像処理装置5は中央処理装置(cpu)へ測定指
定信号Qを出力する。 Furthermore, the Y table 2a or
When joining a′ and detecting the edge (Fig. 4),
The image processing device 5 outputs a measurement designation signal Q to a central processing unit (CPU).
この測定指令信号Qの受信により中央処理装置
(cpu)は前記モータ11又は11′を停止させて
テーブル2a又は2bの移動を止め、次いでリニ
アスケール12,12′〜によりYテーブル2a、
Xテーブル2bの位置測定を行なわせ、これによ
つてエツジaの座標位置を測定し、その測定デー
タを中央処理装置(cpu)に記憶させる。 Upon reception of this measurement command signal Q, the central processing unit (CPU) stops the motor 11 or 11' to stop the movement of the table 2a or 2b, and then uses the linear scales 12, 12' to move the Y table 2a,
The position of the X table 2b is measured, thereby the coordinate position of the edge a is measured, and the measured data is stored in the central processing unit (CPU).
尚、第3図及び第4図はXテーブル2bを駆動
させて被検査物10の先入端側のエツジa′を検出
する場合を示すが、さらにXテーブル2bを移動
させて被検査物10の後尾側エツジをカーソル枠
6、カーソル線7a,7bによつて検出する場合
も同様であり、さらにはYテーブル2aを移動さ
せた時にはカーソル枠6の左限線6b又は右限線
6b′により側縁エツジを検出するものである。 3 and 4 show the case where the X-table 2b is driven to detect the edge a' on the front end side of the object 10 to be inspected. The same applies when detecting the trailing edge using the cursor frame 6 and cursor lines 7a and 7b.Furthermore, when the Y table 2a is moved, the trailing edge is detected by the left limit line 6b or right limit line 6b' of the cursor frame 6. This is for detecting edge edges.
又、第4図においてカーソル線によるエツジ検
出は横カーソル線7bがエツジaの先入端a′に接
合する位置を検出する場合を示したが、第5図の
如く、カーソル線7a,7bの交点がエツジaに
接合する位置を検出し、又は第6図の如く、横カ
ーソル線7b全長が被検査物10に接合する位置
を検出するようにすることもよい。 In addition, in FIG. 4, edge detection using a cursor line was shown to detect the position where the horizontal cursor line 7b joins the leading end a' of edge a, but as shown in FIG. Alternatively, as shown in FIG. 6, the position where the entire length of the horizontal cursor line 7b joins the object to be inspected 10 may be detected.
又、第1図は落射光を用いた実施例であるが、
被検査物10の端縁に第7図の如きチツピング1
0aがある場合には、第8図の如き状態でエツジ
を決定する。 Furthermore, although FIG. 1 shows an example using incident light,
Chipping 1 as shown in FIG. 7 is placed on the edge of the object to be inspected 10
If 0a exists, the edge is determined in a state as shown in FIG.
すなわち、第8図において、被検査物10が矢
印A1方向に移動する場合、エツジ画像の最初を
横カーソル線7bが感知した部分をエツジとして
測定し、矢印A2方向に移動する場合、エツジ画
像が横カーソル線7bを全て越えた部分をエツジ
とする。 That is, in FIG. 8, when the inspected object 10 moves in the direction of arrow A1 , the part where the horizontal cursor line 7b senses the beginning of the edge image is measured as an edge, and when it moves in the direction of arrow A2 , the edge is measured. The part where the image completely exceeds the horizontal cursor line 7b is defined as an edge.
これによつて、チツピング10aが光の反射で
測定誤差になることなく測定精度を高める。 Thereby, the chipping 10a does not cause a measurement error due to reflection of light, thereby improving measurement accuracy.
第9図は被検査物10の下方より照光を投射す
る透過光を用いる場合のエツジ決定法を示す。 FIG. 9 shows an edge determination method using transmitted light that is projected from below the object to be inspected.
すなわち、第8図の落射光の場合と反対にエツ
ジを検出するようにし、被検査物10が矢印A1
の方向へ移動する場合、被検査物10のエツジ画
像が横カーソル線7bを全て越えた部分をエツジ
とし、被検査物10が逆に矢印A2方向に移動す
る場合にはエツジ画像の最初を横カーソル線7b
が感知した部分をエツジとして測定する。 That is, edges are detected in the opposite way to the case of incident light in FIG .
When moving in the direction of arrow A, the edge image is defined as the part where the edge image of the inspected object 10 completely crosses the horizontal cursor line 7b, and when the inspected object 10 is moving in the direction of arrow A , the beginning of the edge image is defined as the edge. Horizontal cursor line 7b
The area that is sensed is measured as an edge.
尚、Yテーブル2aを移動させる場合、カーソ
ル線によるエツジ検出はカーソル線7a,7bの
交点又は縦カーソル線7aにより検出する。 Note that when moving the Y table 2a, edge detection using the cursor line is performed using the intersection of the cursor lines 7a and 7b or the vertical cursor line 7a.
本発明は叙上の如く、ブラウン管に十字状のカ
ーソル線及び該線を囲繞する口形のカーソル枠を
表示し、カーソル枠が被検査物のエツジを検出し
たときにテーブルの駆動を減速させるようにした
ので、テーブルを定寸送りさせる区間の駆動を高
速化して早送りすることができ、画像処理装置の
エツジ位置測定に要する所要時間を短縮し作業性
を高めることができる。 As described above, the present invention displays a cross-shaped cursor line and a mouth-shaped cursor frame surrounding the line on a cathode ray tube, and when the cursor frame detects the edge of the object to be inspected, the drive of the table is slowed down. Therefore, it is possible to speed up the driving of the section in which the table is moved by a fixed distance, thereby making it possible to perform fast forwarding, thereby shortening the time required for edge position measurement of the image processing apparatus and improving work efficiency.
又、カーソル枠がエツジ検出をしてテーブルの
駆動を減速した後にカーソル線がエツジ検出をし
たとき、該エツジの座標位置を測定させるように
したので、低速駆動状態でカーソル線によるエツ
ジ検出が行なわれ、高い検出精度を維持できる。 Furthermore, when the cursor line detects an edge after the cursor frame detects an edge and the table drive is decelerated, the coordinate position of the edge is measured, so that edge detection using the cursor line is performed in a low-speed driving state. As a result, high detection accuracy can be maintained.
第1図は本発明を説明する自動寸法測定装置の
正面ブロツク図、第2図は画像処理装置の表面拡
大図、第3図はカーソル枠によるエツジ検出を示
す表面図、第4図はカーソル線によるエツジ検出
を示す表面図、第5図及び第6図はカーソル線に
よるエツジ検出の変形例を示す表面図、第7図
は被検査物の一例を示す平面図、はその断面
図、第8図は落射光を用いる場合のエツジ検出を
示す表面図、第9図は透過光を用いる場合のエツ
ジ検出を示す表面図である。
図中、2は検査テーブル、4はTVカメラ、5
は画像処理装置、6はカーソル枠、7a,7bは
カーソル線、10は被検査物、aはエツジ、20
はブラウン管である。
Fig. 1 is a front block diagram of an automatic dimension measuring device explaining the present invention, Fig. 2 is an enlarged surface view of an image processing device, Fig. 3 is a surface view showing edge detection using a cursor frame, and Fig. 4 is a cursor line. 5 and 6 are surface views showing modified examples of edge detection using cursor lines. FIG. 7 is a plan view showing an example of an object to be inspected. FIG. 8 is a sectional view thereof. The figure is a surface view showing edge detection using reflected light, and FIG. 9 is a surface view showing edge detection using transmitted light. In the figure, 2 is an inspection table, 4 is a TV camera, and 5
is an image processing device, 6 is a cursor frame, 7a, 7b are cursor lines, 10 is an object to be inspected, a is an edge, 20
is a cathode ray tube.
Claims (1)
被検査物を移動させながら該被検査物の表面を
TVカメラによつてブラウン管に映じ、その表面
画像を追跡する画像処理装置において、前記ブラ
ウン管に十字状のカーソル線及び該線を囲繞する
口形のカーソル枠を表示し、カーソル枠が被検査
物のエツジを検出したときに前記テーブルの駆動
を減速させる減速指令信号を出力し、カーソル線
が前記エツジを検出したときに該エツジの座標位
置を測定させる測定指令信号を出力することを特
徴とする被検査物のエツジ位置決定方法。1 The surface of the object to be inspected is inspected while moving the object to be inspected by driving the table on which the object to be inspected is placed.
In an image processing device that tracks the surface image of a cathode ray tube captured by a TV camera, a cross-shaped cursor line and a mouth-shaped cursor frame surrounding the line are displayed on the cathode ray tube, and the cursor frame indicates the edge of the object to be inspected. A deceleration command signal for decelerating the drive of the table is output when the cursor line detects the edge, and a measurement command signal for measuring the coordinate position of the edge is output when the cursor line detects the edge. A method for determining the edge position of objects.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58211555A JPS60103485A (en) | 1983-11-09 | 1983-11-09 | Edge position deciding method of subject to be checked for picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58211555A JPS60103485A (en) | 1983-11-09 | 1983-11-09 | Edge position deciding method of subject to be checked for picture processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60103485A JPS60103485A (en) | 1985-06-07 |
| JPH0136150B2 true JPH0136150B2 (en) | 1989-07-28 |
Family
ID=16607745
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58211555A Granted JPS60103485A (en) | 1983-11-09 | 1983-11-09 | Edge position deciding method of subject to be checked for picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60103485A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0631549Y2 (en) * | 1986-11-04 | 1994-08-22 | 三菱電機株式会社 | Fingerprint matching device |
-
1983
- 1983-11-09 JP JP58211555A patent/JPS60103485A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60103485A (en) | 1985-06-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3341933B2 (en) | Scanning method and scanning device for workpiece surface | |
| JP3030800B2 (en) | Autonomous mobile sumi robot | |
| JP3402990B2 (en) | CMM | |
| CN109425320A (en) | The control method of surface texture measuring device | |
| US6590670B1 (en) | Method and apparatus for measuring heights of test parts of object to be measured | |
| JP2005121370A (en) | Surface shape measuring apparatus and surface shape measuring method | |
| US20060243035A1 (en) | Surface roughness/contour profile measuring instrument | |
| JPH0136150B2 (en) | ||
| JP2569436B2 (en) | Drive speed control device | |
| CN110057755A (en) | A composite optical detector | |
| JPH02114113A (en) | Microscope device with flatness measurement function | |
| JPS5938313Y2 (en) | Head position control device for X-Y plotter | |
| JP2553352Y2 (en) | Automatic dimension measuring device | |
| JP2549802Y2 (en) | Automatic dimension measuring device | |
| JP3114474B2 (en) | Object position recognition device | |
| CN111319300A (en) | Quick detection device of tobacco bale paper indentation | |
| JPH0360957A (en) | Tracer head for non-contact type digitalizer | |
| JPH02212047A (en) | Digitizing device | |
| JP3086016B2 (en) | Step measuring apparatus and method | |
| KR100800562B1 (en) | Defect position detection device of glass substrate for LCD | |
| JP3018887B2 (en) | 3D shape measuring device | |
| JP2002148024A (en) | Object detection device | |
| JPH0741285A (en) | Material handling device and its object position recognition device | |
| JPH02124415A (en) | Shape measuring apparatus | |
| JPH02124408A (en) | Shape measuring apparatus |