JP3532644B2 - Distance measuring device - Google Patents

Distance measuring device

Info

Publication number
JP3532644B2
JP3532644B2 JP01716295A JP1716295A JP3532644B2 JP 3532644 B2 JP3532644 B2 JP 3532644B2 JP 01716295 A JP01716295 A JP 01716295A JP 1716295 A JP1716295 A JP 1716295A JP 3532644 B2 JP3532644 B2 JP 3532644B2
Authority
JP
Japan
Prior art keywords
distance
screen
subject
laser
ccd camera
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
JP01716295A
Other languages
Japanese (ja)
Other versions
JPH08210812A (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.)
Moritex Corp
Original Assignee
Moritex Corp
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 Moritex Corp filed Critical Moritex Corp
Priority to JP01716295A priority Critical patent/JP3532644B2/en
Publication of JPH08210812A publication Critical patent/JPH08210812A/en
Application granted granted Critical
Publication of JP3532644B2 publication Critical patent/JP3532644B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)
  • Image Analysis (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CCDカメラで撮影し
た被写体面上の任意の二点間の長さを、その二点の画面
上のX−Y座標と画面上の基準長に基づいて算出すると
共に、被写体までの距離を測定する測距測長装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention determines the length between arbitrary two points on a subject surface photographed by a CCD camera based on the X-Y coordinates on the screen and the reference length on the screen. The present invention relates to a distance measuring and measuring apparatus that calculates and measures a distance to a subject.

【0002】[0002]

【従来の技術】例えば、CCDカメラにより撮影した被
写体面上の任意の2点間の長さを測定する場合に、被写
体面までの距離が一定であれば、画面上の基準長さが変
わることはないので、画面上の二点間の距離を算出し、
これを予め設定された画面上の基準長さと比較すること
により、その実寸を容易に算出することができる。ま
た、工作機械のようにワークの大きさや取り付け高さが
予め決まっている場合も、ワークを固定したテーブルを
移動させてワークの表面を一定の高さに位置させれば、
例えば工作機械に取り付けられたカメラからワーク表面
までの距離が一定に維持されるので、前述と同様にその
実寸を容易に測定することができる。
2. Description of the Related Art For example, when measuring the length between arbitrary two points on a subject surface photographed by a CCD camera, if the distance to the subject surface is constant, the reference length on the screen may change. There is not, so calculate the distance between two points on the screen,
The actual size can be easily calculated by comparing this with a preset reference length on the screen. Also, even if the size and mounting height of the work are predetermined, such as in a machine tool, by moving the table on which the work is fixed and positioning the surface of the work at a certain height,
For example, since the distance from the camera attached to the machine tool to the surface of the work is kept constant, the actual size can be easily measured as described above.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、例え
ば、望遠レンズ等を利用して遠くの被写体を撮影し、そ
の被写体の大きさや、被写体面上の任意の二点間の長さ
を測定しようとする場合には、撮影する被写体までの距
離が不明であることが多く、また、異なる被写体を撮影
するときはその度に距離が変わるので、被写体を画面上
に映し出してもその画面情報から実寸を測定することが
できないという問題があった。そこで、本発明は、被写
体までの距離が不明である場合でも、その被写体を画面
上に映し出してその画面情報から実寸を測定でき、ま
た、被写体までの距離を測定できるようにすることを技
術的課題としている。
However, for example, an attempt is made to photograph a distant subject using a telephoto lens or the like, and measure the size of the subject and the length between any two points on the subject surface. In many cases, the distance to the subject to be photographed is unknown, and when shooting different subjects, the distance changes each time, so even if the subject is displayed on the screen, the actual size can be measured from the screen information. There was a problem that I could not do it. Therefore, the present invention is technically capable of displaying the subject on the screen and measuring the actual size from the screen information even when the distance to the subject is unknown, and also capable of measuring the distance to the subject. It is an issue.

【0004】[0004]

【課題を解決するための手段】この課題を解決するため
に、請求項1の発明は、CCDカメラで撮影した被写体
面上の任意の二点間の長さを、その二点の画面上のX−
Y座標と画面上の基準長に基づいて算出すると共に、被
写体までの距離を測定する測距測長装置において、前記
CCDカメラに一体的に取り付けられて少なくとも一方
が当該CCDカメラのレンズの光軸と平行でない二本の
レーザビームを被写体に照射するレーザ光源と、CCD
カメラで撮影した画面上に形成される前記レーザビーム
の二つのレーザスポットのX−Y座標位置を検出するス
ポット位置検出手段と、二つのレーザスポット及び光軸
のX−Y座標位置に基づいてこれらの相対位置を算出す
る相対位置算出手段と、各スポット及び光軸の相対位置
に基づいて被写体までの距離を検出する距離検出手段
と、前記二本のレーザビーム及び光軸のうち平行でない
二本のレーザビームのなす角度又は一方のレーザビーム
と光軸のなす角度と前記距離検出手段により検出された
被写体までの距離に基づいて画面上の基準長を算出する
基準長設定手段とを備えたことを特徴としている。
In order to solve this problem, the invention according to claim 1 defines the length between two arbitrary points on the object surface photographed by a CCD camera as the two points on the screen. X-
In a distance measuring device that calculates a distance based on a Y coordinate and a reference length on a screen, and measures the distance to a subject, at least one of the optical axes of the lenses of the CCD camera is integrally attached to the CCD camera. Laser light source that irradiates the subject with two laser beams that are not parallel to
Spot position detecting means for detecting the XY coordinate positions of the two laser spots of the laser beam formed on the screen imaged by the camera, and these based on the XY coordinate positions of the two laser spots and the optical axis. Relative position calculating means for calculating the relative position, distance detecting means for detecting the distance to the subject based on the relative position of each spot and the optical axis, two of the two laser beams and the optical axis are not parallel A reference length setting means for calculating a reference length on the screen based on the angle formed by the laser beam or the angle formed by one laser beam and the optical axis and the distance to the subject detected by the distance detection means. Is characterized by.

【0005】請求項2の発明は、CCDカメラに一体的
に取り付けられて少なくとも一本が他の二本に対して平
行でない三本のレーザビームを被写体に照射するレーザ
光源と、CCDカメラで撮影した画面上に形成される前
記レーザビームの三つのレーザスポットのX−Y座標位
置を検出するスポット位置検出手段と、三つのレーザス
ポットのX−Y座標位置に基づいてこれらの相対位置を
算出する相対位置算出手段と、各スポットの相対位置に
基づいて被写体までの距離を検出する距離検出手段と、
前記三本のレーザビームのうち平行でない二本のレーザ
ビームのなす角度と前記距離検出手段により検出された
被写体までの距離に基づいて画面上の基準長を算出する
基準長設定手段とを備えたことを特徴としている。
According to a second aspect of the present invention, a laser light source that is integrally attached to a CCD camera and irradiates a subject with three laser beams, at least one of which is not parallel to the other two, and a CCD camera is used for photographing. Spot position detection means for detecting the XY coordinate positions of the three laser spots of the laser beam formed on the screen, and the relative positions of these are calculated based on the XY coordinate positions of the three laser spots. Relative position calculation means, distance detection means for detecting the distance to the subject based on the relative position of each spot,
A reference length setting means for calculating a reference length on the screen based on an angle formed by two laser beams which are not parallel among the three laser beams and a distance to the object detected by the distance detection means. It is characterized by that.

【0006】請求項3の発明は、CCDカメラのレンズ
のフォーカスリングに一体的に取り付けられて互いに平
行でない二本のレーザビームを被写体に照射するレーザ
光源と、CCDカメラで撮影した画面上に形成される前
記レーザビームの二つのレーザスポットのX−Y座標位
置を検出するスポット位置検出手段と、各スポットのX
−Y座標位置に基づいてフォーカスリングの回転角を算
出する回転角算出手段と、検出された回転角に基づいて
被写体までの距離を検出する距離検出手段と、二つのレ
ーザビーム間の照射角度と前記距離検出手段により検出
された被写体までの距離に基づいて画面上の基準長を算
出する基準長設定手段とを備えたことを特徴としてい
る。
According to a third aspect of the present invention, a laser light source that is integrally attached to a focus ring of a lens of a CCD camera to irradiate a subject with two laser beams that are not parallel to each other, and a laser light source that is formed on a screen imaged by the CCD camera are formed. Position detecting means for detecting the XY coordinate positions of the two laser spots of the laser beam, and the X of each spot.
A rotation angle calculation means for calculating the rotation angle of the focus ring based on the Y coordinate position, a distance detection means for detecting the distance to the subject based on the detected rotation angle, and an irradiation angle between the two laser beams. And a reference length setting means for calculating a reference length on the screen based on the distance to the subject detected by the distance detecting means.

【0007】[0007]

【作用】請求項1の発明によれば、少なくとも一方がC
CDカメラの光軸に対して平行でない二本のレーザビー
ムが被写体に照射されるので、CCDカメラで撮影され
た二つのレーザスポットの位置及び光軸位置の相対位置
は、被写体までの距離に応じて変化し、これらの相対位
置に基づいて被写体までの距離が検出される。また、平
行でない二本のレーザビームのなす角度又は一方のレー
ザビームと光軸の間の照射角度は設計値により定められ
ているので、当該角度と被写体までの距離に基づいて画
面上の基準長が算出され、これに基づいて、画面に映し
出された被写体面上の任意の二点間の長さを正確に測定
できる。
According to the invention of claim 1, at least one of them is C
Since the subject is irradiated with two laser beams that are not parallel to the optical axis of the CD camera, the relative positions of the two laser spots photographed by the CCD camera and the optical axis position depend on the distance to the subject. The distance to the subject is detected based on these relative positions. Also, the angle formed by two laser beams that are not parallel or the irradiation angle between one laser beam and the optical axis is determined by the design value, so the reference length on the screen is based on the angle and the distance to the subject. Is calculated, and based on this, the length between any two points on the subject plane displayed on the screen can be accurately measured.

【0008】請求項2の発明によれば、請求項1の発明
の光軸に替えてもう一つ他のレーザビームを照射するよ
うにしたもので、この場合は、三つのレーザスポットの
相対位置に基づいて被写体までの距離が検出され、前記
三本のレーザビームのうち平行でない二本のビームの間
の照射角度と前記距離検出手段により検出された被写体
までの距離に基づいて画面上の基準長が算出される。
According to the invention of claim 2, another laser beam is irradiated instead of the optical axis of the invention of claim 1, and in this case, the relative positions of the three laser spots. The distance to the object is detected based on, and the reference on the screen based on the irradiation angle between two non-parallel beams of the three laser beams and the distance to the object detected by the distance detecting means. The length is calculated.

【0009】請求項3の発明によれば、平行でない二本
のレーザビームを同一面内に沿って被写体に照射する二
つのレーザ光源が夫々前記CCDカメラのレンズのフォ
ーカスリングに一体的に取り付けられており、ピントを
合わせるためにフォーカスリングを回転させると、二つ
のレーザスポットを結ぶ線分が傾くので、これに基づい
て被写体までの距離が検出される。そして、二つのレー
ザスポットの画面上の間隔、各レーザビームのなす角度
及び被写体までの距離に基づいて画面上の基準長が算出
される。
According to the third aspect of the present invention, two laser light sources for irradiating the subject with two non-parallel laser beams along the same plane are integrally attached to the focus ring of the lens of the CCD camera. Therefore, when the focus ring is rotated for focusing, the line segment connecting the two laser spots is tilted, and the distance to the subject is detected based on this. Then, the reference length on the screen is calculated based on the distance between the two laser spots on the screen, the angle formed by each laser beam, and the distance to the subject.

【0010】なお、請求項1及び2の発明は相対位置に
基づいて距離を検出するものであり、請求項3の発明は
フォーカスリングの傾きに基づいて距離を検出するもの
であるから、CCDカメラにズームレンズが装着されて
レンズの倍率が変更される場合であっても、倍率の変更
にかかわらず、基準長を正確に求めることができる。
Since the first and second aspects of the invention detect the distance based on the relative position, and the third aspect of the invention detects the distance based on the tilt of the focus ring, the CCD camera. Even when the zoom lens is attached to the lens and the magnification of the lens is changed, the reference length can be accurately obtained regardless of the change of the magnification.

【0011】[0011]

【実施例】以下、本発明を図面に示す実施例に基づいて
具体的に説明する。図1は本発明に係る測距測長装置を
示す説明図、図2はその画像を示す説明図、図3はその
基準長設定原理を示す説明図、図4は本発明に係る他の
測距測長装置を示す説明図、図5はその画像を示す説明
図、図6はその基準長設定原理を示す説明図、図7は本
発明に係る他の測距測長装置を示す説明図、図8はその
画像を示す説明図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below based on the embodiments shown in the drawings. 1 is an explanatory view showing a distance measuring and measuring device according to the present invention, FIG. 2 is an explanatory view showing an image thereof, FIG. 3 is an explanatory view showing a reference length setting principle, and FIG. 4 is another measuring device according to the present invention. 5 is an explanatory view showing a distance measuring device, FIG. 5 is an explanatory view showing an image thereof, FIG. 6 is an explanatory view showing a reference length setting principle thereof, and FIG. 7 is an explanatory view showing another distance measuring device according to the present invention. FIG. 8 is an explanatory diagram showing the image.

【0012】本例の測長装置は、CCDカメラ2に、少
なくとも一方が当該CCDカメラ2のレンズ3の光軸A
Xと平行でない二本のレーザビームLB、LBを被
写体に照射するレーザ光源11、12が取り付けられて
いる。そしてCCDカメラ2に接続された演算装置13
は、当該CCDカメラ2で撮影した画面上に形成される
前記レーザビームLB、LBの二つのレーザスポッ
トLS、LSのX−Y座標位置を検出するスポット
位置検出手段14と、二つのレーザスポットLS、L
及び光軸AXのX−Y座標位置に基づいてこれらの
相対位置を算出する相対位置算出手段15と、算出され
た相対位置に基づいて被写体までの距離Lを検出する距
離検出手段16と、前記二本のレーザビームLB、L
及び光軸AXのうち平行でない二本のビームのなす
角度又は一方のビームと光軸のなす角度と前記距離検出
手段16により検出された被写体までの距離Lに基づい
て画面上の基準長dを算出する基準長設定手段17
と、測長しようとする画面上の任意の2点を設定する測
長対象設定手段9と、設定された2点のX−Y座標と基
準長dに基づいて前記2点間の実寸を算出する実寸算
出手段10を備えている。
In the length measuring apparatus of this embodiment, at least one of the CCD cameras 2 has an optical axis A of the lens 3 of the CCD camera 2.
Laser light sources 11 and 12 for irradiating a subject with two laser beams LB 2 and LB 3 that are not parallel to X are attached. The arithmetic unit 13 connected to the CCD camera 2
Is a spot position detection means 14 for detecting the XY coordinate positions of the two laser spots LS 2 and LS 3 of the laser beams LB 2 and LB 3 formed on the screen imaged by the CCD camera 2. Two laser spots LS 2 , L
Relative position calculating means 15 for calculating their relative positions on the basis of an X-Y coordinate position of the S 3 and the optical axis AX, a distance detecting means 16 for detecting the distance L to the object based on the calculated relative position , The two laser beams LB 2 , L
A reference length on the screen based on the angle formed by two non-parallel beams of B 3 and the optical axis AX or the angle formed by one beam and the optical axis and the distance L to the object detected by the distance detection means 16. Reference length setting means 17 for calculating d 0
Then, the length measurement target setting means 9 for setting any two points on the screen to be measured, and the actual size between the two points based on the XY coordinates of the set two points and the reference length d 0. The actual size calculation means 10 for calculating is provided.

【0013】これによれば、レーザ光源11,12から
照射されるレーザビームLB、LBは少なくともい
ずれか一方が光軸AXと非平行に照射され、各レーザビ
ームLB、LB及び光軸AXがすべて平行になるこ
とはない。したがって、図2(a)〜(c)に示すよう
に、被写体面S〜Sに形成されるレーザスポットL
、LS及び光軸AXの相対位置が被写体までの距
離に応じて変化し、レーザスポットLS、LS及び
光軸AXの相対位置に応じた被写体までの距離を予め測
定しておけば、相対位置から被写体までの距離を求める
ことができる。
According to this, at least one of the laser beams LB 2 and LB 3 emitted from the laser light sources 11 and 12 is emitted non-parallel to the optical axis AX, and the laser beams LB 2 and LB 3 and the light beams are emitted. The axes AX are not all parallel. Therefore, as shown in FIGS. 2A to 2C, the laser spots L formed on the subject surfaces S 1 to S 3.
The relative positions of S 2 , LS 3 and the optical axis AX change according to the distance to the subject, and the distances to the subject according to the relative positions of the laser spots LS 2 , LS 3 and the optical axis AX should be measured in advance. For example, the distance from the relative position to the subject can be obtained.

【0014】例えば、スポット位置検出手段14により
検出された二つのレーザスポットLS、LSのX−
Y座標位置がLS(x、y)、LS(x、y
)であり、光軸AXのX−Y座標位置がAX(0、
0)である場合に、これらの相対位置を光軸AXから各
レーザスポットLS、LSまでのX座標の比m:n
で表すと、相対位置は相対位置算出手段15により、 m:n=x:x で表される。
For example, the X- of the two laser spots LS 2 and LS 3 detected by the spot position detecting means 14
The Y coordinate position is LS 2 (x 2 , y 2 ), LS 3 (x 3 , y
3 ), and the XY coordinate position of the optical axis AX is AX (0,
0), the relative position of these relative positions is m: n from the optical axis AX to the laser spots LS 2 and LS 3.
The relative position is expressed by m: n = x 3 : x 2 by the relative position calculating means 15.

【0015】そして、相対位置と被写体までの距離Lの
関係を距離検出手段16に予め記憶しておけば、相対位
置から距離Lを求めることができる。この相対位置は距
離のみに依存するので、例えばCCDカメラ2のレンズ
3にズームレンズを使用した場合であっても、その倍率
変化に影響されず、正確に被写体までの距離Lを求める
ことができる。
If the relationship between the relative position and the distance L to the object is stored in advance in the distance detecting means 16, the distance L can be obtained from the relative position. Since this relative position depends only on the distance, even if a zoom lens is used as the lens 3 of the CCD camera 2, for example, the distance L to the subject can be accurately obtained without being affected by the change in magnification. .

【0016】次いで、距離Lが求まると、今度は、基準
長設定手段17により画面上の基準長を設定する。この
とき、例えば光軸AXと一方のレーザビームLBが平
行でない場合、その角度θ及び交点までの距離Lが予
め設計値として既知であれば、光軸AXとレーザスポッ
トLSとの間の画面上の長さdxは、 dx=(x +y 1/2 であり、実寸hは、図3に示すように、 h=(L−L)tanθ で算出されるので、これより基準長dは、 d=dx/h で算出される。
Next, when the distance L is obtained, this time, the reference length setting means 17 sets the reference length on the screen. At this time, for example, when the optical axis AX and one of the laser beams LB 2 are not parallel to each other, if the angle θ and the distance L 0 to the intersection are known as design values in advance, the distance between the optical axis AX and the laser spot LS 2 is reduced. Since the length dx on the screen is dx = (x 2 2 + y 2 2 ) 1/2 and the actual size h is calculated by h = (L−L 0 ) tan θ, as shown in FIG. From this, the reference length d 0 is calculated as d 0 = dx / h.

【0017】したがって、基準長dとして設定すれ
ば、測長対象設定手段9により設定した画面上の任意の
2点のX−Y座標と、前記基準長設定手段17により設
定した基準長dに基づいて、実寸算出手段10により
前記2点間の長さを正確に測定することができる。
Therefore, if the reference length d 0 is set, the XY coordinates of two arbitrary points on the screen set by the length measurement target setting means 9 and the reference length d 0 set by the reference length setting means 17 are set. Based on the above, the actual size calculating means 10 can accurately measure the length between the two points.

【0018】そして、被写体面上の任意の2点間の長さ
を測定しようとする場合、まず、測長対象設定手段9に
より測定しようとする被写体面上の2点を設定する。こ
れも、例えばマウスにより測定しようとする点にマーク
を合わせた状態で、マウスのボタンをクリックし、これ
を繰り返して2回行うことにより測長しようとする2点
、Pを設定する。
When the length between any two points on the subject surface is to be measured, first, the length measurement target setting means 9 sets two points on the subject surface to be measured. Also for this, for example, with the mark on the point to be measured with the mouse, click the mouse button and repeat this twice to set the two points P 0 and P 1 to be measured. .

【0019】次いで、実寸算出手段10では、前記測長
対象設定手段9により設定された2点のX−Y座標に基
づいて、その画面上の距離を求め、設定された基準長d
に基づいて前記2点間の実寸を算出する。例えば、測
長しようとする2点P、PのX−Y座標をP(x
、y)、P(x、y)とすると、その画面上
の距離dは、 d={(x−x)+(y−y)1/2 で算出され、基準長をdとすれば、実寸Dは、 D=d/d で算出される。
Next, the actual size calculating means 10 finds the distance on the screen based on the XY coordinates of the two points set by the length measuring object setting means 9, and sets the set reference length d.
Based on 0 , the actual size between the two points is calculated. For example, the XY coordinates of two points P 0 and P 1 to be measured are P 0 (x
0 , y 0 ) and P 1 (x 1 , y 1 ), the distance d on the screen is d = {(x 1 −x 0 ) 2 + (y 1 −y 0 ) 2 } 1/2 And the reference length is d 0 , the actual size D is calculated as D = d / d 0 .

【0020】図4は本発明に係るさらに他の測距測長装
置を示す説明図、図5はその画像を示す説明図であっ
て、図1と共通する部分については同一符号を付して詳
細説明は省略する。本例の場合、CCDカメラ2には、
少なくとも一本が他の二本に対して平行でない三本のレ
ーザビームLB、LB、LBを被写体に照射する
レーザ光源21、22、23が取り付けられている。
FIG. 4 is an explanatory view showing still another distance measuring and length measuring apparatus according to the present invention, and FIG. 5 is an explanatory view showing an image thereof. The same parts as in FIG. Detailed description is omitted. In this example, the CCD camera 2 has
Laser light sources 21, 22 and 23 for irradiating a subject with three laser beams LB 4 , LB 5 and LB 6 at least one of which is not parallel to the other two are attached.

【0021】CCDカメラ2に接続された演算装置24
は、当該CCDカメラ2で撮影した画面上に形成される
前記レーザビームLB〜LBの三つのレーザスポッ
トLS〜LSのX−Y座標位置を検出するスポット
位置検出手段25と、三つのレーザスポットLS〜L
のX−Y座標位置に基づいてこれらの相対位置を算
出する相対位置算出手段26と、各スポットLS〜L
の相対位置に基づいて被写体までの距離を検出する
距離検出手段27と、前記三本のレーザビームLB
LBのうち平行でない二本のビーム(例えばLB
びLB)のなす角度と前記距離検出手段27により検
出された被写体までの距離に基づいて画面上の基準長を
算出する基準長設定手段28とを備えている。
Arithmetic device 24 connected to CCD camera 2
It includes a spot position detection means 25 for detecting the X-Y coordinate position of the three laser spot LS 4 ~LS 6 of the laser beam LB 4 ~LB 6 formed on the screen taken in the CCD camera 2, the three Two laser spots LS 4 to L
Relative position calculating means 26 for calculating their relative positions on the basis of an X-Y coordinate position of S 6, each spot LS 4 ~L
Distance detecting means 27 for detecting the distance to the subject based on the relative position of S 6 , and the three laser beams LB 4 to LB 4 .
Reference length setting means for calculating a reference length of the screen based on the distance to the subject detected angle and by the distance detecting means 27 of the two beams are not parallel (e.g., LB 4 and LB 6) of LB 6 And 28.

【0022】これによれば、レーザビームLB〜LB
は少なくともいずれか一本が他の二本と非平行に照射
されるので、各レーザビームLB〜LBがすべて平
行になることはない。したがって、図5(a)〜(c)
に示すように、被写体面S〜Sに形成されるレーザ
スポットLS〜LSの相対位置が被写体までの距離
に応じて変化し、レーザスポットLS〜LSの相対
位置に応じた被写体までの距離を予め測定しておけば、
CCDカメラ2で撮影した各レーザスポットLS〜L
の相対位置に基づいて、被写体までの距離を求める
ことができる。
According to this, the laser beams LB 4 to LB
Since at least one of the laser beams 6 is irradiated non-parallel to the other two laser beams, the laser beams LB 4 to LB 6 are not all parallel. Therefore, FIGS. 5 (a) to 5 (c)
As shown, the relative position of the laser spot LS 4 ~LS 6 formed on the object surface S 1 to S 3 are changed according to the distance to the subject, corresponding to the relative position of the laser spot LS 4 ~LS 6 If you measure the distance to the subject in advance,
Each laser spot LS 4 to L taken by the CCD camera 2
The distance to the subject can be obtained based on the relative position of S 6 .

【0023】例えば、スポット位置検出手段25で検出
された各レーザスポットLS〜LSの座標がLS
(x、y)、LS(x、y)、LS
(x、y)である場合に、これらの相対位置をレ
ーザスポットLSから他の各レーザスポットLS
LSまでのX座標の比m:nで表すと、相対位置は相
対位置算出手段15により、 m:n=(x−x):(x−x) で表される。そして、この相対位置と被写体までの距離
Lの関係を距離検出手段27に予め記憶しておけば、相
対位置から距離Lを求めることができる。この場合も、
相対位置は距離のみに依存するので、例えばCCDカメ
ラ2のレンズにズームレンズを使用した場合であっても
正確に被写体までの距離Lを求めることができる。
For example, the coordinates of the laser spots LS 4 to LS 6 detected by the spot position detecting means 25 are LS 4
(X 4 , y 4 ), LS 5 (x 5 , y 5 ), LS
6 (x 6 , y 6 ), the relative positions of these laser spots are changed from the laser spot LS 4 to the other laser spots LS 5 ,
When expressed by the ratio m: n of X coordinates up to LS 6 , the relative position is expressed by the relative position calculation means 15 as m: n = (x 6 −x 4 ) :( x 5 −x 4 ). If the relationship between the relative position and the distance L to the subject is stored in the distance detecting means 27 in advance, the distance L can be calculated from the relative position. Also in this case,
Since the relative position depends only on the distance, the distance L to the subject can be accurately obtained even when a zoom lens is used as the lens of the CCD camera 2, for example.

【0024】次いで、距離Lが求まると、基準長設定手
段28により画面上の基準長を設定する。このとき、レ
ーザスポットLS及びLSの間の画面上の長さdx
は、 dx={(x −x)+(y−y)1/2 であり、レーザビームLBとレーザビームLB
図6に示すように画面に直交する軸に対してθの角度で
等角的に照射されている場合、実寸hは、 h=2Ltanθ で算出されるので、これより基準長dは、 d=dx/h で算出される。したがって、これを基準長として設定す
れば、測長対象設定手段9により設定した画面上の任意
の2点のX−Y座標と、前記基準長設定手段28により
設定した基準長dに基づいて、実寸算出手段10によ
り前記2点間の長さを正確に測定することができる。
Next, when the distance L is obtained, the reference length setting means 28 sets the reference length on the screen. At this time, the length dx on the screen between the laser spots LS 4 and LS 5
Is, dx = {(x 5 -x 4) 2 + (y 5 -y 4) 2} 1/2, the axis of the laser beam LB 4 and the laser beam LB 5 is perpendicular to the screen as shown in FIG. 6 When the irradiation is performed at an angle θ with respect to, the actual size h is calculated by h = 2Ltan θ, and thus the reference length d 0 is calculated by d 0 = dx / h. Therefore, if this is set as the reference length, based on the XY coordinates of any two points on the screen set by the length measurement target setting means 9 and the reference length d 0 set by the reference length setting means 28. The actual size calculating means 10 can accurately measure the length between the two points.

【0025】図7は本発明に係るさらに他の測距測長装
置を示す説明図、図8はその画像を示す説明図であっ
て、本例によれば、平行でない二本のレーザビームLB
10、LB11を被写体に照射するレーザ光源51、5
2が、CCDカメラ2のレンズのフォーカスリング53
に一体的に取り付けられている。そして、CCDカメラ
2に接続された演算装置54は、CCDカメラ2で撮影
した画面上に形成される前記レーザビームLB10、L
11の二つのレーザスポットLS10、LS11のX
−Y座標位置を検出するスポット位置検出手段55と、
各スポットLS10、LS11のX−Y座標位置に基づ
いてフォーカスリング53の回転角αを算出する回転角
算出手段56と、検出された回転角αに基づいて被写体
までの距離を検出する距離検出手段57と、二つのレー
ザビーム間の照射角度θと前記距離検出手段57により
検出された被写体までの距離に基づいて画面上の基準長
を算出する基準長設定手段58とを備えている。
FIG. 7 is an explanatory view showing still another distance measuring and length-measuring device according to the present invention, and FIG. 8 is an explanatory view showing an image thereof. According to this example, two laser beams LB which are not parallel to each other are used.
Laser light sources 51, 5 for irradiating the subject with 10 and LB 11.
2 is a focus ring 53 of the lens of the CCD camera 2.
Is integrally attached to. Then, the arithmetic unit 54 connected to the CCD camera 2 uses the laser beams LB 10 and L 10 formed on the screen photographed by the CCD camera 2.
Two laser spots of B 11 LS 10 and X of LS 11
-Spot position detecting means 55 for detecting the Y coordinate position,
A rotation angle calculation unit 56 that calculates the rotation angle α of the focus ring 53 based on the XY coordinate positions of the spots LS 10 and LS 11 , and a distance that detects the distance to the subject based on the detected rotation angle α. The detection means 57 and the reference length setting means 58 for calculating the reference length d 0 on the screen based on the irradiation angle θ between the two laser beams and the distance to the object detected by the distance detection means 57 are provided. There is.

【0026】これによれば、レーザビームLB10、L
11を照射するレーザ光源51、52が、CCDカメ
ラ2のレンズのフォーカスリング53に一体的に取り付
けられており、ピントを合わせるときにフォーカスリン
グ53を回転させると、レーザスポットLS10、LS
11を結ぶ線分の傾きが、図8(a)〜(c)に示すよ
うに、被写体までの距離に応じて変化する。この線分の
傾きは、フォーカスリング53の回転角に等しく、その
回転角と被写体までの距離は対応するので、回転角に応
じた被写体までの距離を予め測定しておけば、傾きから
被写体までの距離を算出することができる。
According to this, the laser beams LB 10 , L
The laser light sources 51 and 52 for irradiating B 11 are integrally attached to the focus ring 53 of the lens of the CCD camera 2, and when the focus ring 53 is rotated when focusing, the laser spots LS 10 and LS are obtained.
The inclination of the line segment connecting 11 changes according to the distance to the subject, as shown in FIGS. The inclination of this line segment is equal to the rotation angle of the focus ring 53, and the rotation angle corresponds to the distance to the subject. Therefore, if the distance to the subject according to the rotation angle is measured in advance, The distance can be calculated.

【0027】例えば、スポット位置検出手段55により
検出されたレーザスポットLS10、LS11の座標
が、LS10(x10、y10)、LS11(x11
11)とすると、回転角算出手段56により回転角α
は、 α= tan−1{(y11−y10)/(x11−x10)} で算出される。そして、距離検出手段57に回転角αと
被写体までの距離Lの関係を予め記憶させておけば、α
の値より距離Lを求めることができる。この回転角αは
距離のみに依存し、例えばCCDカメラ2のレンズにズ
ームレンズを使用した場合であっても、その倍率変化に
影響されず、正確に被写体までの距離Lを求めることが
できる。
For example, the coordinates of the laser spots LS 10 , LS 11 detected by the spot position detecting means 55 are LS 10 (x 10 , y 10 ), LS 11 (x 11 ,
y 11 ), the rotation angle α is calculated by the rotation angle calculation means 56.
Is calculated by α = tan −1 {(y 11 −y 10 ) / (x 11 −x 10 )}. If the relationship between the rotation angle α and the distance L to the subject is stored in the distance detecting means 57 in advance, α
The distance L can be obtained from the value of. This rotation angle α depends only on the distance, and even if a zoom lens is used as the lens of the CCD camera 2, for example, the distance L to the subject can be accurately obtained without being affected by the change in magnification.

【0028】次いで、距離Lが求まると、今度は、基準
長設定手段58により画面上の基準長を設定する。この
とき、各レーザスポットLS10、LS11の間の画面
上の距離dxは、 dx={(x11−x10+(y11−y101/2 であり、図6に示したのと同様に、レーザビームLB
10、LB11が画面に直交する軸に対してθの角度で
等角的に照射されている場合、その実寸hは、 h=2Ltanθ で算出されるので、これより基準長d は、 d=dx/h で算出される。したがって、これを基準長dとして設
定すれば、測長対象設定手段9により設定した画面上の
任意の2点のX−Y座標と、前記基準長設定手段28に
より設定した基準長dに基づいて、実寸算出手段10
により前記2点間の長さを正確に測定することができ
る。
Next, when the distance L is obtained, the reference length setting means 58 sets the reference length on the screen. The distance dx on the screen between each laser spot LS 10, LS 11 is, dx = {(x 11 -x 10) 2 + (y 11 -y 10) 2} 1/2, 6 Laser beam LB as shown in FIG.
10 , when the LB 11 is radiated at an angle of θ with respect to the axis orthogonal to the screen, the actual size h is calculated by h = 2Ltan θ, and thus the reference length d 0 is d It is calculated by 0 = dx / h. Therefore, by setting this as a reference length d 0, and X-Y coordinates of two arbitrary points on the screen which is set by the length measuring object setting means 9, the reference length d 0 which is set by said reference length setting means 28 Based on the actual size calculation means 10
Thus, the length between the two points can be accurately measured.

【0029】[0029]

【発明の効果】以上述べたように、本発明によれば、測
長用の望遠スコープ等で被写体を撮影したときに、被写
体までの距離が不明である場合でも、その被写体を画面
上に映し出してその画面情報から実際の長さ及び被写体
までの距離を正確に測定することができるという大変優
れた効果を有する。
As described above, according to the present invention, when a subject is photographed by a telescope for length measurement or the like, the subject is displayed on the screen even if the distance to the subject is unknown. It has a very excellent effect that the actual length and the distance to the object can be accurately measured from the screen information.

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

【図1】 本発明に係る測距測長装置を示す説明図。FIG. 1 is an explanatory view showing a distance measuring and length measuring device according to the present invention.

【図2】 その画像を示す説明図。FIG. 2 is an explanatory diagram showing the image.

【図3】 その基準長設定原理を示す説明図。FIG. 3 is an explanatory diagram showing the reference length setting principle.

【図4】 本発明に係る他の測距測長装置を示す説明
図。
FIG. 4 is an explanatory view showing another distance measuring device according to the present invention.

【図5】 その画像を示す説明図。FIG. 5 is an explanatory view showing the image.

【図6】 その基準長設定原理を示す説明図。FIG. 6 is an explanatory diagram showing the reference length setting principle.

【図7】 本発明に係る他の測距測長装置を示す説明
図。
FIG. 7 is an explanatory view showing another distance measuring and measuring apparatus according to the present invention.

【図8】 その画像を示す説明図。FIG. 8 is an explanatory diagram showing the image.

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

LB〜LB、LB10、LB11 レーザビーム LS〜LS、LS10、LS11 レーザスポッ
ト 2 CCDカメラ 3 レンズ 9 測長対象設定手段 10 実寸算出手段 11、12、21〜23、51,52 レーザ光源 13、24、54 演算装置 14、25,55 スポット位置検出手段 16、27、57 距離検出手段 17、28、58 基準長設定手段
LB 2 ~LB 6, LB 10, LB 11 laser beam LS 2 ~LS 6, LS 10, LS 11 laser spot 2 CCD camera 3 lens 9 length measurement object setting means 10 exact calculation means 11,12,21~23,51 , 52 Laser light sources 13, 24, 54 Computing devices 14, 25, 55 Spot position detecting means 16, 27, 57 Distance detecting means 17, 28, 58 Reference length setting means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−242905(JP,A) 特開 平7−324913(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 - 11/30 G01C 15/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-1-242905 (JP, A) JP-A-7-324913 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G01B 11/00-11/30 G01C 15/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】CCDカメラで撮影した被写体面上の任意
の二点間の長さを、その二点の画面上のX−Y座標と画
面上の基準長に基づいて算出すると共に、被写体までの
距離を測定する測距測長装置において、 前記CCDカメラに一体的に取り付けられて少なくとも
一方が当該CCDカメラのレンズの光軸と平行でない二
本のレーザビームを被写体に照射するレーザ光源と、C
CDカメラで撮影した画面上に形成される前記レーザビ
ームの二つのレーザスポットのX−Y座標位置を検出す
るスポット位置検出手段と、二つのレーザスポット及び
光軸のX−Y座標位置に基づいてこれらの相対位置を算
出する相対位置算出手段と、各スポット及び光軸の相対
位置に基づいて被写体までの距離を検出する距離検出手
段と、前記二本のレーザビーム及び光軸のうち平行でな
い二本のレーザビームのなす角度又は一方のレーザビー
ムと光軸のなす角度と前記距離検出手段により検出され
た被写体までの距離に基づいて画面上の基準長を算出す
る基準長設定手段とを備えたことを特徴とする測距測長
装置
1. A length between arbitrary two points on a subject surface photographed by a CCD camera is calculated based on XY coordinates on the screen of the two points and a reference length on the screen, and at the same time up to the subject. of
A distance measuring device for measuring a distance , comprising: a laser light source that is integrally attached to the CCD camera, at least one of which emits two laser beams that are not parallel to the optical axis of the lens of the CCD camera to a subject;
Based on the spot position detecting means for detecting the XY coordinate positions of the two laser spots of the laser beam formed on the screen photographed by the CD camera, and the XY coordinate positions of the two laser spots and the optical axis. Relative position calculating means for calculating these relative positions, distance detecting means for detecting the distance to the object based on the relative position of each spot and the optical axis, and two of the two laser beams and the optical axes which are not parallel to each other. A reference length setting means for calculating a reference length on the screen based on the angle formed by the laser beam of the book or the angle formed by one laser beam and the optical axis and the distance to the object detected by the distance detection means. Distance measurement and measurement characterized by
Equipment .
【請求項2】CCDカメラで撮影した被写体面上の任意
の二点間の長さを、その二点の画面上のX−Y座標と画
面上の基準長に基づいて算出すると共に、被写体までの
距離を測定する測距測長装置において、 前記CCDカメラに一体的に取り付けられて少なくとも
一本が他の二本に対して平行でない三本のレーザビーム
を被写体に照射するレーザ光源と、CCDカメラで撮影
した画面上に形成される前記レーザビームの三つのレー
ザスポットのX−Y座標位置を検出するスポット位置検
出手段と、三つのレーザスポットのX−Y座標位置に基
づいてこれらの相対位置を算出する相対位置算出手段
と、各スポットの相対位置に基づいて被写体までの距離
を検出する距離検出手段と、前記三本のレーザビームの
うち平行でない二本のレーザビームのなす角度と前記距
離検出手段により検出された被写体までの距離に基づい
て画面上の基準長を算出する基準長設定手段とを備えた
ことを特徴とする測距測長装置。
2. A length between two arbitrary points on a subject surface photographed by a CCD camera is calculated based on the XY coordinates on the screen of the two points and a reference length on the screen, and up to the subject. of
A distance measuring device for measuring a distance , comprising: a laser light source that is integrally attached to the CCD camera to irradiate a subject with three laser beams, at least one of which is not parallel to the other two; and a CCD camera. The spot position detecting means for detecting the XY coordinate positions of the three laser spots of the laser beam formed on the screen imaged in step (3), and the relative position of these three based on the XY coordinate positions of the three laser spots. Relative position calculating means for calculating, distance detecting means for detecting the distance to the object based on the relative position of each spot, angle formed by two non-parallel laser beams among the three laser beams, and the distance detection And a reference length setting means for calculating a reference length on the screen based on the distance to the subject detected by the means .
【請求項3】CCDカメラで撮影した被写体面上の任意
の二点間の長さを、その二点の画面上のX−Y座標と画
面上の基準長に基づいて算出すると共に、被写体までの
距離を測定する測距測長装置において、 前記CCDカメラのレンズのフォーカスリングに一体的
に取り付けられて互いに平行でない二本のレーザビーム
を被写体に照射するレーザ光源と、CCDカメラで撮影
した画面上に形成される前記レーザビームの二つのレー
ザスポットのX−Y座標位置を検出するスポット位置検
出手段と、各スポットのX−Y座標位置に基づいてフォ
ーカスリングの回転角を算出する回転角算出手段と、検
出された回転角に基づいて被写体までの距離を検出する
距離検出手段と、二つのレーザビーム間の照射角度と前
記距離検出手段により検出された被写体までの距離に基
づいて画面上の基準長を算出する基準長設定手段とを備
えたことを特徴とする測距測長装置
3. A length between arbitrary two points on a subject surface photographed by a CCD camera is calculated based on the XY coordinates on the screen of the two points and a reference length on the screen, and up to the subject. of
In a distance measuring device for measuring a distance, a laser light source that is integrally attached to a focus ring of a lens of the CCD camera to irradiate a subject with two laser beams that are not parallel to each other, and a screen shot by the CCD camera. Spot position detection means for detecting the XY coordinate positions of the two laser spots of the laser beam formed in the above, and rotation angle calculation means for calculating the rotation angle of the focus ring based on the XY coordinate positions of each spot. A distance detecting means for detecting a distance to the object based on the detected rotation angle, and an on-screen reference based on the irradiation angle between the two laser beams and the distance to the object detected by the distance detecting means. A distance measuring and length-measuring device comprising a reference length setting means for calculating a length .
JP01716295A 1995-02-03 1995-02-03 Distance measuring device Expired - Fee Related JP3532644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01716295A JP3532644B2 (en) 1995-02-03 1995-02-03 Distance measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01716295A JP3532644B2 (en) 1995-02-03 1995-02-03 Distance measuring device

Publications (2)

Publication Number Publication Date
JPH08210812A JPH08210812A (en) 1996-08-20
JP3532644B2 true JP3532644B2 (en) 2004-05-31

Family

ID=11936276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01716295A Expired - Fee Related JP3532644B2 (en) 1995-02-03 1995-02-03 Distance measuring device

Country Status (1)

Country Link
JP (1) JP3532644B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108955550A (en) * 2018-06-04 2018-12-07 西安理工大学 Air preheater arc panel and rotor clearance visual measuring device and its measurement method

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001280960A (en) * 2000-03-29 2001-10-10 Nkk Corp Telemetering method and instrument
KR100556612B1 (en) * 2002-06-29 2006-03-06 삼성전자주식회사 Apparatus and method of localization using laser
US7075097B2 (en) * 2004-03-25 2006-07-11 Mitutoyo Corporation Optical path array and angular filter for translation and orientation sensing
US7307736B2 (en) * 2004-03-31 2007-12-11 Mitutoyo Corporation Scale for use with a translation and orientation sensing system
JP4644540B2 (en) 2005-06-28 2011-03-02 富士通株式会社 Imaging device
US7826736B2 (en) 2007-07-06 2010-11-02 Flir Systems Ab Camera and method for use with camera
JP2009092535A (en) * 2007-10-10 2009-04-30 Ono Sokki Co Ltd Optical displacement gauge
JP2009198241A (en) * 2008-02-20 2009-09-03 Yamatake Corp Instrument
KR101734354B1 (en) 2009-04-29 2017-05-11 코닌클리케 필립스 엔.브이. A laser diode based multiple-beam laser spot imaging system for characterization of vehicle dynamics
TWI428567B (en) 2010-09-03 2014-03-01 Pixart Imaging Inc Distance measurement method and system, and processing software thereof
CN102445180B (en) * 2010-10-13 2013-09-18 原相科技股份有限公司 Ranging system, ranging and processing method
CN102486373B (en) * 2010-12-01 2014-05-14 原相科技股份有限公司 Range finding method and range finding system
JP6025386B2 (en) * 2012-05-02 2016-11-16 キヤノン株式会社 Image measuring apparatus, image measuring method, and image measuring program
TW201500735A (en) * 2013-06-18 2015-01-01 Nat Applied Res Laboratories Method of mobile image identification for flow velocity and apparatus thereof
CN103673890B (en) * 2013-11-08 2019-05-31 广东出入境检验检疫局检验检疫技术中心 Length and cylinder area measurement method based on digital image analysis
JP6316240B2 (en) * 2015-06-09 2018-04-25 日本電信電話株式会社 Measuring apparatus and measuring method
CN118149778A (en) * 2019-02-13 2024-06-07 莱赛激光科技股份有限公司 High-efficiency and accurate measuring method of novel laser vision measuring equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108955550A (en) * 2018-06-04 2018-12-07 西安理工大学 Air preheater arc panel and rotor clearance visual measuring device and its measurement method

Also Published As

Publication number Publication date
JPH08210812A (en) 1996-08-20

Similar Documents

Publication Publication Date Title
JP3532644B2 (en) Distance measuring device
EP1739391B1 (en) Image obtaining apparatus
JP3511450B2 (en) Position calibration method for optical measuring device
Li et al. Automatic recalibration of an active structured light vision system
US6683675B2 (en) Distance measuring apparatus and distance measuring method
JP2020026031A (en) Robot system using supplemental measurement position coordinate determination system
JP2009534657A (en) Camera-equipped 6-degree-of-freedom target measurement device and target tracking device with a rotating mirror
JP3217926B2 (en) Spatial coordinate detector
CN116678324A (en) Battery detection mechanism and battery detection method
US4906097A (en) Imaging and inspection apparatus and method
JP2000205821A (en) Instrument and method for three-dimensional shape measurement
JP4577213B2 (en) X-ray inspection equipment
US6370221B2 (en) Method of setting a position of an object of measurement in layer thickness measurement by X-ray fluorescence
JP2009264898A (en) Workpiece position/attitude measurement method and measuring device
JPS626115A (en) Distance measuring instrument
JP7356667B2 (en) alignment device
JPS6125003A (en) Configuration measuring method
EP1202074B1 (en) Distance measuring apparatus and distance measuring method
KR102302337B1 (en) A device for calculating the inclination angle of the target surface using a cross-shaped laser image, a method for calculating the inclination angle of the target surface using the same, and a crack investigation device
US11867501B2 (en) Integrated calibration tool for optical instrument entrance pupil 6-axis spatial allocation
JPS6189504A (en) Measuring device of body shape of 3-dimensional body
JPH0778429B2 (en) Ranging device
JP3654378B2 (en) Image pickup device arrangement setting method and image processing method
JPH0769144B2 (en) Three-dimensional position measurement method
JPH0367450A (en) Automatic focusing method when transferring wafer

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031226

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040304

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees