JP2737045B2 - How to measure gaps and steps - Google Patents

How to measure gaps and steps

Info

Publication number
JP2737045B2
JP2737045B2 JP5312960A JP31296093A JP2737045B2 JP 2737045 B2 JP2737045 B2 JP 2737045B2 JP 5312960 A JP5312960 A JP 5312960A JP 31296093 A JP31296093 A JP 31296093A JP 2737045 B2 JP2737045 B2 JP 2737045B2
Authority
JP
Japan
Prior art keywords
light
image
axis
coordinates
section 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 - Fee Related
Application number
JP5312960A
Other languages
Japanese (ja)
Other versions
JPH07167628A (en
Inventor
直次 山岡
幸治 小田
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP5312960A priority Critical patent/JP2737045B2/en
Priority to US08/338,193 priority patent/US5608817A/en
Priority to GB9423358A priority patent/GB2284258B/en
Publication of JPH07167628A publication Critical patent/JPH07167628A/en
Application granted granted Critical
Publication of JP2737045B2 publication Critical patent/JP2737045B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、自動車車体等のワーク
の隣接する2つのエッジ部間の隙間と段差を計測する方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for measuring a gap and a step between two adjacent edges of a work such as an automobile body.

【0002】[0002]

【従来の技術】自動車車体には、図1(a)に示すフロン
トフェンダaとドアbのエッジ部や、図1(b)に示すフ
ロント側とリヤ側の両ドアb,bのエッジ部や、図1
(c)に示すサイドパネルcとルーフdのエッジ部といっ
た2つのエッジ部が隣接する部分があり、車体の組立精
度を確保する上で隣接する2つのエッジ部間の隙間や段
差を管理する必要がある。従来、この隙間と段差はゲー
ジ等を用いて接触方式で計測しているが、これでは車体
に傷が付くおそれがある。
2. Description of the Related Art An automobile body has an edge portion of a front fender a and a door b shown in FIG. 1A, an edge portion of both front and rear doors b shown in FIG. , FIG.
There is a part where two edges are adjacent, such as the side panel c and the edge of the roof d shown in (c), and it is necessary to manage the gap and the step between the two adjacent edges in order to secure the assembly accuracy of the vehicle body. There is. Conventionally, the gap and the step are measured by a contact method using a gauge or the like, but this may damage the vehicle body.

【0003】また、ワークにスリット光を照射する投光
器と、ワークに照射されたスリット光が描く光切断像を
撮像する撮像器とを備える光学式測定装置を用い、撮像
器の画面上の光切断画像からワークの形状や位置を計測
する方法が知られており、これを利用してルーフとスラ
イドルーフとの間の段差を計測する方法が特開昭63−
61107号公報で知られている。このものでは、光切
断画像のルーフ側の線とスライドルーフ側の線とのずれ
量からルーフとスライドルーフとの間の段差を計測して
いる。
[0003] Further, an optical measuring device having a light projector for irradiating a slit light on a work and an imager for capturing a light cut image drawn by the slit light irradiated on the work is used to perform light cutting on a screen of the imager. A method of measuring the shape and position of a workpiece from an image is known, and a method of measuring a step between a roof and a slide roof using the method is disclosed in
It is known from JP 61107. In this method, the step between the roof and the slide roof is measured from the amount of deviation between the line on the roof side and the line on the slide roof side of the light-section image.

【0004】[0004]

【発明が解決しようとする課題】上記した光学式測定装
置を用いて隣接する2つのエッジ部間の隙間と段差とを
計測することも考えられる。この場合、2つのエッジ部
に跨がるようにスリット光を照射して光切断像を撮像す
ると、画面上には一方のエッジ部で終端する光切断画像
と他方のエッジ部で終端する光切断画像とが現われ、両
光切断画像の各エッジ部側の端部の位置からエッジ部間
の隙間と段差とを計測することが可能になる。
It is conceivable to measure a gap and a step between two adjacent edge portions using the above-mentioned optical measuring device. In this case, when a light cut image is captured by irradiating slit light so as to straddle two edge portions, a light cut image ending at one edge portion and a light cut image ending at the other edge portion are displayed on the screen. The image appears, and it becomes possible to measure the gap and the step between the edge portions from the position of the end portion on each edge portion side of both light cut images.

【0005】然し、光切断画像の端部はエッジ部の折曲
アールに対応するアールの付いた先細の湾曲形状にな
り、画面上で端部の位置を1点に特定して計測すること
ができず、エッジ部間の隙間と段差とを精度良く計測す
ることは困難である。
[0005] However, the end of the light-section image has a tapered curved shape with a radius corresponding to the bent radius of the edge, and it is possible to specify and measure the position of the edge at one point on the screen. Therefore, it is difficult to accurately measure the gap and the step between the edge portions.

【0006】本発明は、以上の問題点を解決し、上記の
如き光学式測定装置を用いてエッジ部間の隙間と段差と
を非接触で精度良く計測し得るようにした方法を提供を
することをその目的としている。
The present invention solves the above-mentioned problems and provides a method capable of accurately measuring the gap and the step between the edge portions in a non-contact manner by using the optical measuring device as described above. That is the purpose.

【0007】[0007]

【課題を解決するための手段】上記目的を達成すべく、
本発明は、ワークにスリット光を照射する投光器と、ワ
ークに照射されたスリット光が描く光切断像を撮像する
撮像器とを備える光学式測定装置を用い、撮像器の画面
上の光切断画像からワークの隣接する2つのエッジ部間
の隙間と段差とを計測する方法において、2つのエッジ
部間で分断される2つの光切断画像の夫々について各光
切断画像の直線状に延在する部分を表わす第1の直線の
方程式を求める工程と、各光切断画像の各エッジ部側の
端点の座標を求める工程と、第1の直線に直交し各光切
断画像の各エッジ部側の端点を通る第2の直線の方程式
を求める工程と、第1と第2の両直線の交点の座標を算
する工程と、一方の光切断画像から算定される交点の
座標と他方の光切断画像から算定される交点の座標とか
ら前記隙間と段差とを計測する工程とから成り、前記端
点の座標を求める工程は、光切断画像の長手方向に略平
行な画面上の座標軸を第1軸、該第1軸に直交する画面
上の座標軸を第2軸として、各光切断画像のエッジ部側
の端部から第1軸方向外側にのびるウインドを設定する
工程と、該ウインド内における光切断画像の外側の余白
像の重心の第2軸方向の座標値を前記端点の第2軸方向
の座標値として求める工程と、該重心の第1軸方向の座
標値を2倍した値から該ウインドの第1軸方向外側辺の
第1軸方向の座標値を減算した値を前記端点の第1軸方
向の座標値として求める工程とから成る、ことを特徴と
する。
In order to achieve the above object,
The present invention uses a light projector that irradiates a slit light to a work, and an optical measurement device that includes an imager that captures a light cut image drawn by the slit light irradiated to the work, and a light cut image on a screen of the imager. In the method for measuring the gap and the step between two adjacent edge portions of a workpiece from a part, a portion extending in a straight line of each light cut image for each of two light cut images divided between the two edge portions Calculating the equation of a first straight line representing the following equation ;
A step of determining the coordinates of the end points, a step asking you to equations of the second straight line passing through the endpoints of each edge portion of each of the optical section image is orthogonal to the first straight line, the first and second intersection of the two straight lines a step of calculating the coordinates, consists of a step of measuring with said gap and the step from the point of intersection of coordinates is calculated from the intersection of coordinates and the other optical section image is calculated from one of the optical section image, said end
The step of obtaining the coordinates of the point is substantially flat in the longitudinal direction of the light-section image.
The coordinate axis on the screen is a first axis, a screen orthogonal to the first axis
With the upper coordinate axis as the second axis, the edge side of each light section image
A window extending outward in the first axial direction from the end of the
Process and margins outside the light section image in the window
The coordinate value of the center of gravity of the image in the second axis direction is expressed by the second axis direction of the end point.
And the position of the center of gravity in the first axis direction
From the value obtained by doubling the standard value, the outer side of the window in the first axial direction is
The value obtained by subtracting the coordinate value in the first axis direction is the first axis direction of the end point.
Determining the coordinate values of the direction .

【0008】[0008]

【作用】第1と第2の両直線の交点はエッジ部を直角に
折り曲げた場合の角部に対応する点になり、この交点の
座標からエッジ部の位置を正確に特定できる。そして、
2つの光切断画像から算定される2つの交点の座標値の
差として2つのエッジ部間の隙間と段差とを精度良く計
測できる。尚、光切断画像の湾曲した端部の外縁にノイ
ズ等による凹凸が現われた場合、外縁の凸部が光切断画
像の端点として検出される可能性があるが、本発明によ
れば、このような凹凸に影響されずに光切断画像の実質
的な端点の座標を求めることができる。即ち、前記ウイ
ンドの第1軸方向外側辺とウインド内の余白像の重心と
の間の第1軸方向の距離は該外側辺と光切断像の実質的
な端点との間の第1軸方向の距離の半分になるはずであ
り、上記の方法で光切断画像の実質的な端点の第1座標
軸方向の座標値を算定できる。そして、光切断画像の端
部外縁に凹凸が現われても、この凹凸部の面積は微小で
あるためウインド内の余白像の重心位置は殆ど変化せ
ず、かくて端点の座標をばらつき無く精度良く計測でき
る。
The intersection of the first and second straight lines is a point corresponding to the corner when the edge is bent at a right angle, and the position of the edge can be accurately specified from the coordinates of the intersection. And
The gap and the step between the two edge portions can be accurately measured as a difference between the coordinate values of the two intersections calculated from the two light-section images. In addition, the noise is applied to the outer edge of the curved end of the light-section image.
If irregularities due to noise or the like appear, the outer edge projections
Although it may be detected as an end point of the image, the present invention
If it is not affected by such irregularities, the actual
The coordinates of a typical end point can be obtained. That is, the wi
And the center of gravity of the margin image in the window
The distance in the first axial direction between the outer side and the light section image is substantially
Should be half the distance in the first axial direction between
And the first coordinates of the substantial end point of the light-section image by the method described above.
Axial coordinate values can be calculated. And the end of the light section image
Even if irregularities appear on the outer edge, the area of these irregularities is very small
Because of this, the position of the center of gravity of the margin image in the window
In this way, the coordinates of the end points can be measured with high accuracy without variation
You.

【0009】[0009]

【実施例】図1(a)に示すフロントフェンダaとドアb
とのエッジ部間の隙間と段差とを計測する実施例につい
て説明する。図2を参照して、1はスリット光を照射す
る投光器、2はCCDカメラ等から成る撮像器であり、
投光器1からフロントフェンダaとドアbとに跨がるよ
うにスリット光を照射し、スリット光の光面に対し光軸
が所定角度(例えば45°)で斜交するように配置した
撮像器2でスリット光の照射部分を撮像する。
1 shows a front fender a and a door b shown in FIG.
An embodiment for measuring the gap and the step between the edge portions of the above will be described. Referring to FIG. 2, reference numeral 1 denotes a projector for irradiating slit light, and 2 denotes an imager including a CCD camera or the like.
An imager 2 that irradiates slit light from the light projector 1 so as to straddle the front fender a and the door b, and is disposed so that an optical axis is oblique to a light surface of the slit light at a predetermined angle (for example, 45 °). Images the irradiated portion of the slit light.

【0010】上記の如くスリット光を照射すると、フロ
ントフェンダa上とドアb上と両者a,bの間隙に臨む
フロントフェンダaの裏側のフランジ上とに夫々光切断
像s1、s2、s3が描かれ、撮像器2の画面上に図3
に示す如く3つの光切断画像S1、S2、S3が現われ
る。尚、各光切断画像は画面の上下方向の座標軸たるY
軸にほぼ平行になるように撮像されている。撮像器2の
画像信号はコンピュ−タから成る画像処理装置3に送ら
れ、画像処理装置3でフロントフェンダaとドアbのエ
ッジ部間の隙間と段差とが計測される。
When the slit light is irradiated as described above, light cut images s1, s2, and s3 are drawn on the front fender a, on the door b, and on the flange on the back side of the front fender a facing the gap between both a and b. 3 is displayed on the screen of the imaging device 2.
As shown in FIG. 7, three light-section images S1, S2, and S3 appear. Each light-section image is represented by Y, which is a coordinate axis in the vertical direction of the screen.
The image is taken so as to be substantially parallel to the axis. An image signal from the image pickup device 2 is sent to an image processing device 3 composed of a computer, and the image processing device 3 measures a gap and a step between the edges of the front fender a and the door b.

【0011】この計測に際しては、先ず処理すべき光切
断画像として画像面積の大きな2つの光切断画像、即
ち、フロントフェンダa上の光切断画像S1とドアb上
の光切断画像S2とを選択し、両画像S1、S2の夫々
のエッジ部側の端点、即ち、光切断画像S1のY軸方向
下方の端点A1と光切断画像S2のY軸方向上方の端点
A2の座標を求める。
At the time of this measurement, first, two light section images having a large image area, that is, a light section image S1 on the front fender a and a light section image S2 on the door b are selected as the light section images to be processed. The coordinates of the end point on the edge side of each of the images S1 and S2, that is, the end point A1 below the light-section image S1 in the Y-axis direction and the end point A2 above the light-section image S2 in the Y-axis direction are obtained.

【0012】ところで、各光切断画像S1、S2のエッ
ジ部側の端部はエッジ部の折曲アールに対応するアール
の付いた先細の湾曲形状になり、端部外縁にノイズ等に
よる凹凸が現われると、その凸部が端点として検出され
てしまうため、端部の正規形状に合致する正規の端点の
座標を求めるには工夫が必要になる。これを図4を参照
して説明する。先ず、光切断画像S1、S2のY軸方向
最外側の点を仮の端点B1、B2として検出する。光切
断画像S1、S2の端部外縁にノイズによる凹凸が現わ
れると、その凸部が仮の端点B1、B2として検出され
る。次に、仮の端点B1、B2を基準にして光切断画像
S1、S2の端部からY軸方向外方にのびるウインドW
1、W2を設定し、ウインドW1、W2内における光切
断画像S1、S2の外側の余白像の重心G1、G2を検
出する。端部外縁に凹凸が現われても、余白像の面積は
凹凸に比し遥かに大きいためその重心G1、G2の位置
は殆ど変化しない。
By the way, the edge of each of the light cut images S1 and S2 on the edge portion side has a tapered curved shape with a radius corresponding to the bent radius of the edge portion, and irregularities due to noise and the like appear on the outer edge of the edge. Then, the convex portion is detected as an end point, and therefore, a device is required to find the coordinates of the normal end point that matches the normal shape of the end portion. This will be described with reference to FIG. First, the outermost points in the Y-axis direction of the light-section images S1 and S2 are detected as temporary end points B1 and B2. When irregularities due to noise appear on the outer edges of the end portions of the light-section images S1 and S2, the convex portions are detected as temporary end points B1 and B2. Next, a window W extending outward from the ends of the light-section images S1 and S2 in the Y-axis direction with reference to the temporary end points B1 and B2.
1, W2 are set, and the centers of gravity G1, G2 of the margin images outside the light-section images S1, S2 in the windows W1, W2 are detected. Even if irregularities appear at the outer edge of the end, the positions of the centers of gravity G1 and G2 hardly change because the area of the blank image is much larger than the irregularities.

【0013】ここで、ウインドW1、W2のy軸方向外
側辺と正規の端点A1、A2との間の距離は外側辺と重
心G1、G2との間の距離の2倍になるはずであり、正
規の端点A1、A2のY軸座標値AYとウインドW1、
W2の外側辺のY軸座標値WYと重心G1、G2のY軸
座標値GYとの間には、 WY−AY=2(WY−GY) の関係が成立し、次式 AY=2GY−WY で正規の端点A1、A2のY軸座標値を求められる。
尚、該端点A1、A2のX軸座標値は重心G1のX軸座
標値とする。
Here, the distance between the outer sides of the windows W1 and W2 in the y-axis direction and the normal end points A1 and A2 should be twice the distance between the outer sides and the centers of gravity G1 and G2. The Y-axis coordinate values AY of the normal end points A1, A2 and the window W1,
The relationship of WY-AY = 2 (WY-GY) is established between the Y-axis coordinate value WY of the outer side of W2 and the Y-axis coordinate values GY of the centers of gravity G1 and G2, and the following equation is obtained: AY = 2GY-WY Can be used to determine the Y-axis coordinate values of the normal end points A1 and A2.
The X-axis coordinate values of the end points A1 and A2 are the X-axis coordinate values of the center of gravity G1.

【0014】上記の如くして光切断画像S1、S2の端
点A1、A2の座標を求めた後、光切断画像S1の直線
状に延在する部分に端点A1を基準にして所定の2箇所
のウインドW3、W4を設定し、両ウインドW3、W4
内における光切断画像S1の重心G3、G4を検出し
て、両重心G3、G4を通る直線、即ち、光切断画像S
1の直線状延在部を表わす直線L1の方程式を求め、更
に、直線L1に直交し端点A1を通る直線L2の方程式
を求め、両直線L1、L2の交点Q1の座標を算定す
る。同様に光切断画像S2の直線状に延在する部分に端
点A2を基準にして所定の2箇所のウインドW5、W6
を設定し、両ウインドW5、W6内における光切断画像
S2の重心G5、G6を検出して、両重心G5、G6を
通る直線、即ち、光切断画像S2の直線状延在部を表わ
す直線L3の方程式を求め、更に、直線L3に直交し端
点A2を通る直線L4の方程式を求め、両直線L3、L
4の交点Q2の座標を算定する。
After the coordinates of the end points A1 and A2 of the light-section images S1 and S2 have been obtained as described above, a predetermined two positions are defined on the linearly extending portion of the light-section image S1 with reference to the end point A1. Set windows W3 and W4, and set both windows W3 and W4
, The center of gravity G3, G4 of the light section image S1 is detected, and a straight line passing through both the center of gravity G3, G4, that is, the light section image S
An equation of a straight line L1 representing one linear extending portion is obtained, an equation of a straight line L2 orthogonal to the straight line L1 and passing through the end point A1 is obtained, and coordinates of an intersection Q1 of the two straight lines L1 and L2 are calculated. Similarly, two predetermined windows W5 and W6 are defined in the linearly extending portion of the light section image S2 with reference to the end point A2.
Is set, the center of gravity G5, G6 of the light section image S2 in both windows W5, W6 is detected, and a straight line passing through both center of gravity G5, G6, that is, a straight line L3 representing a linear extension of the light section image S2 is detected. And the equation of a straight line L4 orthogonal to the straight line L3 and passing through the end point A2 is obtained.
The coordinates of the intersection Q2 of No. 4 are calculated.

【0015】各交点Q1、Q2はフロントフェンダaと
ドアbとを夫々エッジ部で直角に折曲げた場合の角部に
対応する点となり、各交点Q1、Q2により撮像器2の
画面上での各エッジ部の位置を正確に特定できる。
The intersections Q1 and Q2 correspond to the corners when the front fender a and the door b are bent at right angles at the edges, respectively. The position of each edge can be specified accurately.

【0016】そして、各交点Q1、Q2の画面上の座標
値から各交点Q1、Q2に対応するスリット光面上の各
点q1、q2の空間座標値を算定する。この算定原理を
図5を参照して説明する。図2に示す如く、撮像器2の
光軸0のスリット光面に対する交点を原点とする、スリ
ット光面上のx軸とy軸及びスリット光面に直交するz
軸とから成る空間座標系を考える。図5のCPは撮像手
段2の画面の空間座標系への投影面であり、スリット光
面上の各点の画面上における座標は撮像器2から見た該
各点に対する視線の投影面CPに対する交点の座標とな
る。そして、空間座標系の原点に対応する画面上の点、
即ち、画面の中心点を原点として画面(投影面CP)上
にX軸及びY軸を取ると、前記交点Q1の画面上の座標
(Q1X、Q1Y)と交点Q1に対応するスリット光面
上の点q1の空間座標(q1x,q1y)との間には以
下の関係が成立する。
The spatial coordinate values of the points q1 and q2 on the slit light plane corresponding to the intersections Q1 and Q2 are calculated from the coordinate values on the screen of the intersections Q1 and Q2. This calculation principle will be described with reference to FIG. As shown in FIG. 2, the x-axis and the y-axis on the slit optical surface and the z perpendicular to the slit optical surface are taken with the origin being the intersection of the optical axis 0 of the imager 2 with the slit optical surface.
Consider a spatial coordinate system composed of axes. 5 is a projection plane of the screen of the imaging unit 2 onto the spatial coordinate system, and the coordinates of each point on the slit light plane on the screen are relative to the projection plane CP of the line of sight for each point viewed from the imaging device 2. The coordinates of the intersection. Then, a point on the screen corresponding to the origin of the spatial coordinate system,
That is, when the X axis and the Y axis are taken on the screen (projection plane CP) with the center point of the screen as the origin, the coordinates (Q1X, Q1Y) on the screen of the intersection Q1 and the slit light plane corresponding to the intersection Q1 The following relationship is established between the point q1 and the space coordinates (q1x, q1y).

【0017】即ち、撮像器2の光軸Oのスリット光面に
対する傾斜角をα(αはキャリブレーションで所定値に
設定されている)、点q1に対する視線の光軸Oに対す
る傾斜角をβとして、 Q1X=q1x・sinα-q1x・cosα・tanβ…(1) になり、ここで撮像器2とスリット光面との間の距離を
Nとして(Nはキャリブレーションで所定値に設定され
ている) tanβ=Q1X/N…(2) になり、(2)式を(1)に代入してq1xについて整理する
と、 q1x=Q1X/{sinα−cosα・(Q1X/N)} になる。また、q1yとQ1Yとの比は、点q1から光
軸Oに降ろした脚と撮像器2との間の距離N´とNとの
比に等しく、ここで、 N´=N+q1x・cosα であるから、 q1y=Q1Y{1+(q1x・cosα)/N} になり、かくて交点Q1に対応するスリット光面上の点
q1の空間座標を交点Q1の画面上の座標か算定でき
る。
That is, the inclination angle of the optical axis O of the image pickup device 2 with respect to the slit light plane is α (α is set to a predetermined value by calibration), and the inclination angle of the line of sight to the optical axis O with respect to the point q1 is β. Q1X = q1x · sinα−q1x · cosα · tanβ (1), where N is the distance between the imager 2 and the slit light surface (N is set to a predetermined value by calibration) tanβ = Q1X / N (2), and substituting equation (2) into (1) for q1x, q1x = Q1X / {sinα−cosα × (Q1X / N)}. The ratio between q1y and Q1Y is equal to the ratio between the distance N ′ and N between the image pickup device 2 and the leg lowered from the point q1 to the optical axis O, where N ′ = N + q1x · cosα. From this, q1y = Q1Y {1+ (q1x · cosα) / N}, and thus the spatial coordinates of the point q1 on the slit light surface corresponding to the intersection Q1 can be calculated from the coordinates of the intersection Q1 on the screen.

【0018】前記交点Q2に対応するスリット光面上の
点q2の空間座標(q2x・q2y)も交点Q2の画面
上の座標(Q2X,Q2Y)から上記と同様に、次式 q2x=Q2X/{sinα−cosα・(Q2X/N)} q2y=Q2Y{1+(q2x・cosα)/N} で算定できる。
The spatial coordinates (q2x · q2y) of the point q2 on the slit light surface corresponding to the intersection Q2 are also calculated from the coordinates (Q2X, Q2Y) of the intersection Q2 on the screen in the same manner as above: q2x = Q2X / { sinα−cosα · (Q2X / N)} q2y = Q2Y {1+ (q2x · cosα) / N}.

【0019】そして、点q1と点q2のy軸座標値の差
からエッジ部間の隙間、点q1と点q2のx軸座標値の
差からエッジ部間の段差を夫々精度良く計測できる。
Then, the gap between the edge portions can be accurately measured from the difference between the y-axis coordinate values of the points q1 and q2, and the step between the edge portions can be accurately measured from the difference between the x-axis coordinate values of the points q1 and q2.

【0020】以上、フロントフェンダaとドアbのエッ
ジ部間の隙間と段差の計測について説明したが、図1
(b)に示す両ドアb,bのエッジ部間や、図1(c)に示す
サイドパネルcとルーフdのエッジ部間の隙間と段差も
上記と同様の方法で計測できる。
The measurement of the gap and the step between the edge portions of the front fender a and the door b has been described above.
The gaps and steps between the edges of the doors b and b shown in FIG. 1B and between the edges of the side panel c and the roof d shown in FIG. 1C can be measured in the same manner as described above.

【0021】[0021]

【発明の効果】以上の説明から明らかなように、本発明
によれば、隣接する2つのエッジ部間の隙間と段差とを
光学的に精度良く計測でき、接触式の計測方法と異なり
ワークに傷が付くおそれがない。
As is apparent from the above description, according to the present invention, the gap and the step between two adjacent edge portions can be measured optically with high accuracy. There is no risk of being scratched.

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

【図1】 (a)(b)(c)自動車車体の各部の断面図FIG. 1 is a sectional view of each part of an automobile body (a) (b) (c)

【図2】 光学式測定装置の概要を示す斜視図FIG. 2 is a perspective view showing an outline of an optical measuring device.

【図3】 本発明に従った画面上での画像処理を示す図FIG. 3 is a diagram showing image processing on a screen according to the present invention.

【図4】 光切断画像の端点を求めるための画像処理を
示す図
FIG. 4 is a diagram showing image processing for obtaining an end point of a light section image;

【図5】 画面上の点とスリット光面上の対応点との関
係を示す図
FIG. 5 is a diagram showing a relationship between a point on a screen and a corresponding point on a slit light surface.

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

1 投光器 2 撮像器 S1,S2 光切断画像 A1,A2 端点 L1,L3 第1の直線 L2,L4 第2の直線 Q1,Q2 交点 DESCRIPTION OF SYMBOLS 1 Projector 2 Imager S1, S2 Light cut image A1, A2 End point L1, L3 First straight line L2, L4 Second straight line Q1, Q2 Intersection

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ワークにスリット光を照射する投光器
と、ワークに照射されたスリット光が描く光切断像を撮
像する撮像器とを備える光学式測定装置を用い、撮像器
の画面上の光切断画像からワークの隣接する2つのエッ
ジ部間の隙間と段差とを計測する方法において、 2つのエッジ部間で分断される2つの光切断画像の夫々
について各光切断画像の直線状に延在する部分を表わす
第1の直線の方程式を求める工程と、 各光切断画像の各エッジ部側の端点の座標を求める工程
と、 第1の直線に直交し各光切断画像の各エッジ部側の端点
を通る第2の直線の方程式を求める工程と、 第1と第2の両直線の交点の座標を算定する工程と、 一方の光切断画像から算定される交点の座標と他方の光
切断画像から算定される交点の座標とから前記隙間と段
差とを計測する工程とから成り、 前記端点の座標を求める工程は、光切断画像の長手方向
に略平行な画面上の座標軸を第1軸、該第1軸に直交す
る画面上の座標軸を第2軸として、各光切断画像のエッ
ジ部側の端部から第1軸方向外側にのびるウインドを設
定する工程と、該ウインド内における光切断画像の外側
の余白像の重心の第2軸方向の座標値を前記端点の第2
軸方向の座標値として求める工程と、該重心の第1軸方
向の座標値を2倍した値から該ウインドの第1軸方向外
側辺の第1軸方向の座標値を減算した値を前記端点の第
1軸方向の座標値として求める工程とから成る、 ことを特徴とする隙間と段差の計測方法。
1. An optical measuring apparatus comprising: a projector for irradiating a slit light on a work; and an imager for capturing a light-cut image drawn by the slit light irradiated on the work, the light cutting on a screen of the imager. In a method of measuring a gap and a step between two adjacent edge portions of a workpiece from an image, each of the two light-section images divided between the two edge portions extends in a straight line of each light-section image. A step of obtaining a first straight line equation representing a portion, and a step of obtaining coordinates of an end point on each edge portion side of each light-section image.
When a step asking you to equations of the second straight line passing through the endpoints of each edge portion of each of the optical section image is orthogonal to the first straight line, the step of calculating the first and second intersection coordinates of the two straight lines If consists of a step of measuring with said gap and the step from the point of intersection of coordinates is calculated from the intersection of coordinates and the other optical section image is calculated from one of the optical section image, the step of determining the coordinates of the endpoints , Light cutting image longitudinal direction
The coordinate axis on the screen substantially parallel to the first axis is orthogonal to the first axis.
The edge of each light section image is set with the coordinate axis on the screen
A window extending outward in the first axial direction from the end on the side of the
And the outside of the light section image in the window
The coordinate value of the center of gravity of the margin image in the second axis direction is
A step of obtaining coordinate values in the axial direction, and a first axis direction of the center of gravity.
Outside the first axis direction of the window from the value obtained by doubling the coordinate value of the direction
The value obtained by subtracting the coordinate value of the side in the first axis direction is used as the value of the end point.
Determining a gap and a step in a uniaxial direction .
JP5312960A 1993-11-18 1993-12-14 How to measure gaps and steps Expired - Fee Related JP2737045B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5312960A JP2737045B2 (en) 1993-12-14 1993-12-14 How to measure gaps and steps
US08/338,193 US5608817A (en) 1993-11-18 1994-11-09 Optical measuring method
GB9423358A GB2284258B (en) 1993-11-18 1994-11-18 Optical measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5312960A JP2737045B2 (en) 1993-12-14 1993-12-14 How to measure gaps and steps

Publications (2)

Publication Number Publication Date
JPH07167628A JPH07167628A (en) 1995-07-04
JP2737045B2 true JP2737045B2 (en) 1998-04-08

Family

ID=18035560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5312960A Expired - Fee Related JP2737045B2 (en) 1993-11-18 1993-12-14 How to measure gaps and steps

Country Status (1)

Country Link
JP (1) JP2737045B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011133405A (en) * 2009-12-25 2011-07-07 Hitachi Ltd Method and device for measuring dimension by two-dimensional optical cutting method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2756626B1 (en) * 1996-12-02 1999-02-19 Espace Ind Controle Sa SYSTEM FOR MEASURING GAMES AND FLOORS BETWEEN OPPOSITE PARTS

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0484707A (en) * 1990-07-27 1992-03-18 Toyota Motor Corp Three-dimensional size measuring apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011133405A (en) * 2009-12-25 2011-07-07 Hitachi Ltd Method and device for measuring dimension by two-dimensional optical cutting method

Also Published As

Publication number Publication date
JPH07167628A (en) 1995-07-04

Similar Documents

Publication Publication Date Title
JP2737045B2 (en) How to measure gaps and steps
US5608817A (en) Optical measuring method
JP3095463B2 (en) 3D measurement method
JP2572286B2 (en) 3D shape and size measurement device
JP2694504B2 (en) Position measurement method of stepped work
JP2707047B2 (en) Workpiece edge position measurement method
JP3004585B2 (en) Rutting amount calculation method for road surface property measuring device
JP2630844B2 (en) 3D shape and size measurement device
JP2932418B2 (en) Work position measurement method
JP3013254B2 (en) Shape measurement method
JPH06109442A (en) Detection apparatus for three-dimensional position
JP2632988B2 (en) Dimension measurement method
JPH09101124A (en) Inspection method for hole chamfer amount
JP2879357B2 (en) Shape judgment method
JP2002286426A (en) Dimension measurement method and apparatus by image processing
JP2691681B2 (en) Image processing method in optical measuring device
JP2691682B2 (en) Image processing method in optical measuring device
JPH0440573A (en) Shape measuring method
JP2525589B2 (en) Alignment mark for panel assembly and panel alignment method
JP2691683B2 (en) Image processing method in optical measuring device
JP2932083B2 (en) Shape measurement method
JPH07218227A (en) Method and apparatus for measuring sectional shape
JP3318882B2 (en) Optical measuring device and measuring method
JPH07119576B2 (en) Parallax correction method for visual sensor
JP2724961B2 (en) Image processing method in optical measuring device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees