JP6554342B2 - Measuring system and measuring method - Google Patents
Measuring system and measuring method Download PDFInfo
- Publication number
- JP6554342B2 JP6554342B2 JP2015130144A JP2015130144A JP6554342B2 JP 6554342 B2 JP6554342 B2 JP 6554342B2 JP 2015130144 A JP2015130144 A JP 2015130144A JP 2015130144 A JP2015130144 A JP 2015130144A JP 6554342 B2 JP6554342 B2 JP 6554342B2
- Authority
- JP
- Japan
- Prior art keywords
- slit
- bright
- bright lines
- laser beams
- slit laser
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/25—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Description
本発明は、被測定物の三次元座標を計測する計測システム及び計測方法に関する。 The present invention relates to a measurement system and a measurement method for measuring three-dimensional coordinates of an object to be measured.
近年、コンピュータビジョンに関する研究が活性化し、撮像装置を用いた物体の三次元情報入力システムが身近なものになりつつある。この種の技術の中で、撮像装置としてカメラを用いて物体の三次元形状を入力する手法として、光切断法が広く知られている。 In recent years, research related to computer vision has been activated, and three-dimensional information input systems for objects using imaging devices are becoming familiar. Among these types of techniques, a light cutting method is widely known as a method for inputting a three-dimensional shape of an object using a camera as an imaging device.
例えば、下記の特許文献1には、光切断法を利用した距離測定装置が開示されている。この距離測定装置は、CCDカメラによって物体(被測定物)の表面におけるスリット光の反射光(輝線)を撮像し、スリット光を発した方向、光源の位置及びCCDカメラの位置から、物体との間の距離を測定する。 For example, Patent Document 1 below discloses a distance measuring device using a light cutting method. This distance measuring device images the reflected light (bright line) of slit light on the surface of an object (object to be measured) with a CCD camera, and determines the slit light emission direction, the position of the light source and the position of the CCD camera with the object. Measure the distance between.
一方で、被測定物の形状等を効率よく計測するために、被測定物に複数のスリットレーザ光を同時に照射する方式が検討されている。しかし、複数のスリット光を被測定物に照射した場合には、どの方向から投光されたスリットレーザ光であるかを特定する必要がある。撮像画像に、被測定物に現れる輝線と被測定物以外の部分に現れるスリットレーザ光とがずれた状態で写る場合のように、被測定物の形状が複雑な場合は、被測定物と被測定物以外の部分とで不連続になっている輝線の繰り返しパターンが撮像画像内に複数存在する。このような場合、複数の輝線の各々に対応するスリットレーザ光を特定し難いため、各輝線までの距離が計測できない。この結果、被測定物の三次元座標が測定できない。 On the other hand, in order to efficiently measure the shape or the like of the object to be measured, a method of simultaneously irradiating the object to be measured with a plurality of slit laser beams has been studied. However, when the object to be measured is irradiated with a plurality of slit lights, it is necessary to specify from which direction the slit laser light is projected. When the shape of the object to be measured is complicated, as in the case where the bright line appearing on the object to be measured and the slit laser light appearing on a portion other than the object to be measured are shifted in the captured image, the object to be measured and the object to be measured There are a plurality of repetitive patterns of bright lines that are discontinuous with parts other than the measurement object in the captured image. In such a case, since it is difficult to specify the slit laser beam corresponding to each of the plurality of bright lines, the distance to each bright line cannot be measured. As a result, three-dimensional coordinates of the object to be measured can not be measured.
そこで、本発明はこれらの点に鑑みてなされたものであり、被測定物の三次元座標をより高精度に計測可能な計測システム及び計測方法を提供することを目的とする。 Therefore, the present invention has been made in view of these points, and an object thereof is to provide a measurement system and a measurement method capable of measuring the three-dimensional coordinates of the object to be measured with higher accuracy.
本発明の第1の態様においては、被測定物にスリット状の複数のスリットレーザ光を照射する第1照射手段と、前記第1照射手段が前記複数のスリットレーザ光を前記被測定物に照射する際に、前記複数のスリットレーザ光の各々と所定の位置関係を有するドット状の複数のドットレーザ光を、前記被測定物に照射する第2照射手段と、前記複数のスリットレーザ光が照射されることで前記被測定物の表面に現れる複数の輝線と、前記複数のドットレーザ光が照射されることで前記表面に現れる複数の輝点とを撮像して、撮像画像を生成する撮像手段と、前記撮像画像と、前記複数の輝線及び輝点の予め定まった位置関係を示す基準画像とを対比して、前記撮像画像の前記複数の輝線と前記複数のスリットレーザ光との対応関係を特定する特定手段と、前記撮像画像における前記複数の輝線の二次元座標と、前記特定手段が特定した前記対応関係とに基づいて、前記複数の輝線の三次元座標を取得する取得手段とを備える、計測システムを提供する。 In the first aspect of the present invention, a first irradiating means for irradiating the object to be measured with a plurality of slit laser beams, and the first irradiating means irradiates the object to be measured with the plurality of slit laser beams. And irradiating the plurality of dot laser beams having a predetermined positional relationship with each of the plurality of slit laser beams onto the object to be measured, and the plurality of slit laser beams. Imaging means for capturing a plurality of bright lines appearing on the surface of the object to be measured and a plurality of bright spots appearing on the surface by irradiating the plurality of dot laser beams to generate a captured image And the reference image indicating the predetermined positional relationship between the plurality of bright lines and the plurality of bright lines and the correspondence image between the plurality of bright lines of the captured image and the plurality of slit laser beams. Special to identify A measurement system comprising: means; and acquisition means for acquiring three-dimensional coordinates of the plurality of bright lines based on the two-dimensional coordinates of the plurality of bright lines in the captured image and the correspondence relationship specified by the specifying means. I will provide a.
また、前記第1照射手段及び前記第2照射手段は、前記スリットレーザ光を照射するスリットの長手方向であるスリット方向の同一直線上に位置することとしてもよい。 The first irradiation unit and the second irradiation unit may be located on the same straight line in the slit direction, which is the longitudinal direction of the slit that irradiates the slit laser beam.
また、前記第1照射手段及び前記第2照射手段は、前記スリット方向以外の方向に所定間隔だけ離れて位置し、前記計測システムは、前記スリットレーザ光の前記被測定物への照射位置と、前記ドットレーザ光の前記被測定物への照射位置とを調整するための光反射手段を更に備えることとしてもよい。 Further, the first irradiation unit and the second irradiation unit are positioned apart from each other by a predetermined distance in a direction other than the slit direction, and the measurement system is an irradiation position of the slit laser beam on the object to be measured; It is good also as providing the light reflection means for adjusting the irradiation position to the said to-be-measured object of the said dot laser beam.
また、前記複数のスリットレーザ光の前記被測定物への照射方向は、互いに交差する方向であり、前記特定手段は、前記複数の輝線の各々に対応する前記スリットレーザ光の照射方向を特定することとしてもよい。 In addition, the irradiation direction of the plurality of slit laser beams to the object to be measured is a direction intersecting each other, and the specifying unit specifies the irradiation direction of the slit laser beams corresponding to each of the plurality of bright lines. It is good as well.
また、前記第2照射手段は、前記複数の輝線の各々に対して輝点の隣接状態が異なるように、前記複数のドットレーザ光を照射することとしてもよい。 In addition, the second irradiation unit may irradiate the plurality of dot laser beams so that each of the plurality of bright lines has a different bright spot adjacent state.
また、前記特定手段は、前記撮像画像の前記輝線上の一点及び前記一点の周囲を含む単位領域を抽出し、前記基準画像の前記単位領域との相関度合いを判定することとしてもよい。 Further, the specification unit may extract a unit area including one point of the bright line of the captured image and a periphery of the one point, and determine a degree of correlation of the reference image with the unit area.
また、前記被測定物は、管状体であり、前記撮像手段は、前記第1照射手段の照射方向と交差する視線方向から、前記管状体の表面に現れる前記複数の輝線及び輝点を撮像することとしてもよい。 The object to be measured is a tubular body, and the imaging means images the plurality of bright lines and bright spots appearing on the surface of the tubular body from the direction of the line of sight intersecting the irradiation direction of the first irradiation means. It is good as well.
また、前記取得手段は、円弧形状の前記輝線が一部を成す前記管状体の断面形状の三次元座標を取得することとしてもよい。 Further, the acquisition means may acquire three-dimensional coordinates of a cross-sectional shape of the tubular body in which the arc-shaped bright line is a part.
また、前記断面形状は、楕円形状であり、前記取得手段は、前記断面形状の楕円の短径を取得し、前記短径を前記管状体の外径と設定することとしてもよい。 The cross-sectional shape may be an elliptical shape, and the acquiring unit may acquire a minor axis of the elliptical shape of the cross-sectional shape and set the minor axis as an outer diameter of the tubular body.
また、前記取得手段は、前記複数の輝線の各々が一部を成す前記管状体の複数の断面形状に基づいて、前記管状体の中心線を取得することとしてもよい。 Further, the acquisition unit may acquire a center line of the tubular body based on a plurality of cross-sectional shapes of the tubular body each of which is a part of the plurality of bright lines.
また、前記取得手段は、前記複数の輝線上の点の三次元座標に基づいて、前記管状体の中心線の方向ベクトルを取得してもよい。 Further, the acquisition unit may acquire a direction vector of a center line of the tubular body based on three-dimensional coordinates of points on the plurality of bright lines.
本発明の第2の態様においては、被測定物にスリット状の複数のスリットレーザ光を照射するステップと、前記複数のスリットレーザ光を前記被測定物に照射する際に、前記複数のスリットレーザ光の各々と所定の位置関係を有するドット状の複数のドットレーザ光を、前記被測定物に照射するステップと、前記複数のスリットレーザ光が照射されることで前記被測定物の表面に現れる複数の輝線と、前記複数のドットレーザ光が照射されることで前記表面に現れる複数の輝点とを撮像して、撮像画像を生成するステップと、前記撮像画像と、前記複数の輝線及び輝点の予め定まった位置関係を示す基準画像とを対比して、前記撮像画像の前記複数の輝線と前記複数のスリットレーザ光との対応関係を特定するステップと、前記撮像画像における前記複数の輝線の二次元座標と、特定した前記対応関係とに基づいて、前記複数の輝線の三次元座標を取得するステップとを有する、計測方法を提供する。 In the second aspect of the present invention, the step of irradiating the object to be measured with a plurality of slit laser beams and the plurality of slit lasers when irradiating the object to be measured with the plurality of slit laser beams. The step of irradiating the object with a plurality of dot laser beams in the form of dots having a predetermined positional relationship with each of the light, and the irradiation of the plurality of slit laser beams appear on the surface of the object Imaging a plurality of bright lines and a plurality of bright points appearing on the surface by being irradiated with the plurality of dot laser beams to generate a picked-up image; the picked-up image; the plurality of bright lines and bright lines; Identifying a correspondence between the plurality of bright lines of the captured image and the plurality of slit laser beams by comparing with a reference image indicating a predetermined positional relationship of points; And two-dimensional coordinates of said plurality of bright lines that, based on the identified the correspondence relation, and a step of acquiring the three-dimensional coordinates of the plurality of emission lines, to provide a measurement method.
本発明によれば、被測定物の三次元座標をより高精度に計測できるという効果を奏する。 According to the present invention, there is an effect that the three-dimensional coordinates of the object to be measured can be measured with higher accuracy.
<1.計測システムの構成>
図1を参照しながら、本発明の一実施形態に係る計測システムSの概要について説明する。図1は、一実施形態に係る計測システムSの構成の一例を示すブロック図である。
<1. Configuration of Measurement System>
An overview of a measurement system S according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing an example of the configuration of a measurement system S according to an embodiment.
計測システムSは、制御装置1と、スリットレーザ照射装置2と、ドットレーザ照射装置3と、撮像装置4とを有する。本実施形態では、スリットレーザ照射装置2が第1照射手段に該当し、ドットレーザ照射装置3が第2照射手段に該当する。
The measurement system S includes a control device 1, a slit
制御装置1は、例えばコンピュータであり、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4の動作を制御する。また、制御装置1は、撮像装置4から入力される撮像画像に対して画像処理を行う機能も有する。制御装置1は、詳細は後述するが、撮像画像における二次元座標から三次元座標を取得する処理を行う。
The control device 1 is, for example, a computer, and controls the operations of the slit
スリットレーザ照射装置2は、被測定物にスリット状の複数のスリットレーザ光を照射する。具体的には、スリットレーザ照射装置2は、同時に複数のスリットレーザ光を被測定物に照射する。
以下では、被測定物が、管状体であるものとする。ただし、これに限定されず、被測定物が、生体など任意の形状を有するものであってもよい。
The slit
In the following, it is assumed that the object to be measured is a tubular body. However, the measurement object is not limited to this, and the object to be measured may have an arbitrary shape such as a living body.
図2は、被測定物に対するスリットレーザ光の照射状態の一例を示す図である。図2では、説明の便宜上、ドットレーザ照射装置3を図示していない。スリットレーザ照射装置2が、複数のスリットレーザ光(ここでは、4つのスリットレーザ光23a〜23d)を被測定物である管体9に同時に照射することで、管体9の表面に円弧状の複数の輝線(ここでは、4つの輝線L1〜L4)が現れる。なお、4つのスリットレーザ光23a〜23dの管体9への照射方向は、平行ではなく、互いに交差する方向となっている。また、4つのスリットレーザ光23a〜23dの照射方向(照射角度)は、予め設定されている。
FIG. 2 is a diagram illustrating an example of an irradiation state of the slit laser light on the object to be measured. In FIG. 2, the dot
図3は、スリットレーザ照射装置2及びドットレーザ照射装置3の構成の一例を説明するための模式図である。図3は、図2における管体9側からスリットレーザ照射装置2及びドットレーザ照射装置3を見た際の図である。スリットレーザ照射装置2は、細長い開口である4本のスリット21と、装置内部に設けられレーザ光を出射するレーザ素子(不図示)とを有する。レーザ素子から出射されたレーザ光は、4本のスリット21を通過して管体9に照射される。
FIG. 3 is a schematic view for explaining an example of the configuration of the slit
スリットレーザ照射装置2及びドットレーザ照射装置3は、スリットレーザ照射装置2がスリットレーザ光を照射するスリットの長手方向であるスリット方向の同一直線上に位置する。すなわち、スリットレーザ照射装置2及びドットレーザ照射装置3は、スリットレーザ照射装置2が照射するスリットレーザ光の発散の原点である焦点と、ドットレーザ照射装置3が照射するドットレーザ光の焦点とが、スリット方向の同一直線上になるように固定されている。本実施形態では、図3に示すように、スリットレーザ照射装置2が、スリット方向(z軸方向)において、ドットレーザ照射装置3の真上に位置している。ただし、これに限定されず、スリットレーザ照射装置2は、ドットレーザ照射装置3の真下に位置してもよい。
The slit
図1に戻り、ドットレーザ照射装置3は、管体9にドット状の複数のドットレーザ光を照射する。ドットレーザ照射装置3は、ランダムにドットレーザ光を照射可能に構成されている。
Returning to FIG. 1, the dot
ドットレーザ照射装置3は、図3に示すような多数の孔31と、装置内部に設けられレーザ光を出射するレーザ素子(不図示)とを有する。レーザ素子から出射されたレーザ光は、孔31を通過して管体9に照射される。図3では、多数の孔31が所定間隔で規則正しく配列されているように示されているが、孔31同士の間隔がランダムとなるように多数の孔31が配置されている。これにより、ランダムにドットレーザ光を照射することが可能となる。
The dot
本実施形態において、ドットレーザ照射装置3は、スリットレーザ照射装置2が複数のスリットレーザ光23a〜23dを管体9に照射する際に、複数のドットレーザ光を管体9に照射する。ここで、複数のドットレーザ光は、スリットレーザ光23a〜23dの各々と所定の位置関係を有する。
In the present embodiment, the dot
図4は、スリットレーザ光とドットレーザ光の位置関係を説明するための図である。ここでは、図4(a)及び図4(b)に示すように、スリットレーザ照射装置2が平らな面の所定領域にスリットレーザ光を照射し、ドットレーザ照射装置3も前記所定領域にドットレーザ光を照射するものとする。スリットレーザ光が照射されることで、図4(a)に示すような4つの輝線L1〜L4が管体9の表面に現れることになり、ドットレーザ光が照射されることで、図4(b)に示すような多数のランダムな輝点Dが管体9の表面に現れることになる。
FIG. 4 is a diagram for explaining the positional relationship between the slit laser beam and the dot laser beam. Here, as shown in FIGS. 4A and 4B, the slit
前述したように、スリットレーザ照射装置2がドットレーザ照射装置3のスリット方向の真上に位置するので、スリットレーザ光及びドットレーザ光が同時に照射されると、輝線L1〜L4と輝点Dの位置関係は図4(c)に示すような関係となる。図4(c)を見ると分かるように、カメラからの視差により、輝線L1〜L4及び輝点Dのスリット方向(上下方向)におけるずれが生じるが、輝線L1〜L4及び輝点Dのスリット方向に対して垂直な方向(左右方向)におけるずれは生じない。
As described above, since the slit
図1に戻り、撮像装置4は、例えばカメラであり、スリットレーザ光23a〜23d及びドットレーザ光が照射された管体9を撮像して、撮像画像を生成する。すなわち、撮像装置4は、複数のスリットレーザ光が照射されることで管体9の表面に現れる複数の輝線L1〜L4と、複数のドットレーザ光が照射されることで管体9の表面に現れる複数の輝点Dとを撮像して、撮像画像を生成する。
Returning to FIG. 1, the
撮像装置4は、図2に示すように、スリットレーザ照射装置2の照射方向と視線方向とが交差する向きで、管体9を撮像する。撮像装置4は、スリットレーザ照射装置2との位置関係が維持されるように、台6(図2)に取り付けられている。すなわち、測定中は、撮像装置4の設置方向とスリットレーザ照射装置2の設置方向との角度、及び撮像装置4とスリットレーザ照射装置2との距離が、所定の大きさに固定されている。なお、スリットレーザ照射装置2及びドットレーザ照射装置3も、台6に取り付けられている。
As shown in FIG. 2, the
図5は、撮像画像の一例を示す図である。撮像画像は、表面に4つの輝線L1〜L4と多数の輝点Dが現れている管体9を示す画像である。図5を見ると分かるように、4つの輝線L1〜L4の周囲の輝点Dの配置パターンは、それぞれ異なる。すなわち、ドットレーザ照射装置3は、複数の輝線L1〜L4の各々に対して輝点Dの隣接状態が異なるように、複数のドットレーザ光をランダムに照射している。
FIG. 5 is a diagram illustrating an example of a captured image. The captured image is an image showing the tubular body 9 in which four bright lines L1 to L4 and a large number of bright spots D appear on the surface. As can be seen from FIG. 5, the arrangement patterns of the bright spots D around the four bright lines L1 to L4 are different. That is, the dot
なお、図5には示されていないが、撮像画像には、スリットレーザ光23a〜23dによって管体9の表面に現れる輝線L1〜L4だけでなく、スリットレーザ光23a〜23dによって管体9以外の部分(例えば、スリットレーザ照射装置2と管体9との間の部分)に現れる輝線も含まれる。これらの輝線は撮像画像に繰り返しパターンとして複数存在し、これらの繰り返しパターンは、通常ずれた関係となっているため、管体9上の輝線L1〜L4がどのスリットレーザ光によって現れたのかを特定しにくい。
Although not shown in FIG. 5, the captured image includes not only the bright lines L1 to L4 that appear on the surface of the tubular body 9 by the
これに対して、本実施形態に係る計測システムSは、輝線L1〜L4と輝点Dが現れた撮像画像(図5)を生成して、各輝線L1〜L4とスリットレーザ光23a〜23dとの対応関係を特定している。そして、計測システムSは、撮像画像から求まる輝線L1〜L4の二次元座標と、特定した対応関係とに基づいて、輝線L1〜L4の三次元座標を算出している。これにより、複数のスリットレーザ光23a〜23dを同時に管体9に照射した場合でも、複数の輝線L1〜L4の三次元座標が取得可能となる。
On the other hand, the measurement system S according to the present embodiment generates a captured image (FIG. 5) in which the bright lines L1 to L4 and the bright point D appear, and the bright lines L1 to L4 and the
また、本実施形態では、スリットレーザ照射装置2及びドットレーザ照射装置3が、それぞれスリットレーザ光及びドットレーザ光を照射してから、撮像装置4が撮像するまで、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4の位置は、固定されている。これにより、輝線L1〜L4の画像を一度に撮像可能となるので、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4の移動に起因する誤差の発生を抑制できる。
In the present embodiment, the slit
なお、管体9の軸方向の長さが大きい場合には、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4が取り付けられた台6を既知の所定量だけ移動させて、複数の撮像画像を撮像して繋げてもよい。かかる場合には、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4を用いて、軸方向の長さが大きい管体9の形状や位置も高精度に取得可能となる。
If the length in the axial direction of the tube 9 is large, the
<2.制御装置の構成>
被測定物の表面に現れる輝線の三次元座標を取得する制御装置1の構成について、図1を参照しながら説明する。
制御装置1は、図1に示すように、通信部11と、表示部12と、操作部13と、記憶部14と、制御部15とを有する。
<2. Controller configuration>
The configuration of the control device 1 that acquires the three-dimensional coordinates of the bright line appearing on the surface of the object to be measured will be described with reference to FIG.
As illustrated in FIG. 1, the control device 1 includes a communication unit 11, a
通信部11は、外部機器との間で通信を行う通信インターフェイス(以下、通信IF)である。通信部11は、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4との間で、例えばケーブル等を介して有線通信を行い、情報を送受信する。ただし、これに限定されず、通信部11は、スリットレーザ照射装置2、ドットレーザ照射装置3及び撮像装置4との間で、無線通信を行ってもよい。
The communication unit 11 is a communication interface (hereinafter, communication IF) that performs communication with an external device. The communication unit 11 performs wired communication with the slit
表示部12は、例えば液晶ディスプレイや有機EL(Electro-Luminescence)ディスプレイ等により構成される。例えば、表示部12は、撮像装置4が撮像した撮像画像を表示する。
The
操作部13は、例えばキーボードやマウス等により構成され、ユーザが入力操作を行うことが可能である。ユーザは、操作部13を介して被測定物の測定に関する様々な入力操作を行う。
The
記憶部14は、例えばROM及びRAM等により構成され、制御装置1を機能させるための各種プログラムや各種データを記憶する。記憶部14は、撮像装置4から受信した撮像画像を記憶する。また、記憶部14は、後述する管体9に現れる複数の輝線及び輝点の予め定まった位置関係を示す基準画像に関する情報を記憶する。基準画像は、撮像画像と対比して撮像画像中の輝線に対応するスリットレーザ光を特定するのに用いられる。基準画像は、輝度及び色度等の画像情報に限定されず、スリットレーザ光とドットレーザ光との位置関係を特定できる情報であってもよい。
The
図6は、基準画像の一例を示す図である。図6に示すように、基準画像は、4つの輝線M1〜M4と、多数の輝点Dとを含む画像である。基準画像は、例えばスリットレーザ光やドットレーザ光が照射される所定領域(図4(a)参照)を示す画像である。基準画像は、計測に用いられるスリットレーザ照射装置2及びドットレーザ照射装置3の組み合わせに応じて、設定されうる。
FIG. 6 is a diagram illustrating an example of the reference image. As shown in FIG. 6, the reference image is an image including four bright lines M1 to M4 and a large number of bright points D. The reference image is, for example, an image showing a predetermined area (see FIG. 4A) to which slit laser light or dot laser light is irradiated. The reference image can be set according to the combination of the slit
図6に示す基準画像は、図2に示す円柱状の管体9にレーザ光を照射する場合とは異なり、平らな面にスリットレーザ光及びドットレーザ光を照射した場合の画像となっている。このため、輝線M1〜M4は、図5に示す円弧状の輝線L1〜L4とは異なり、直線となっている。また、多数の輝点Dは、輝線M1〜M4にランダムに点在しており、輝線M1〜M4の周囲の輝点Dの点在パターンがそれぞれ異なる。 The reference image shown in FIG. 6 is an image when a flat surface is irradiated with slit laser light and dot laser light, unlike when the cylindrical tube body 9 shown in FIG. 2 is irradiated with laser light. . For this reason, the bright lines M1 to M4 are straight lines unlike the arc-shaped bright lines L1 to L4 shown in FIG. A number of bright spots D are randomly scattered on the bright lines M1 to M4, and the scattered patterns of the bright spots D around the bright lines M1 to M4 are different from each other.
図1に戻り、制御部15は、例えばCPUにより構成される。制御部15は、記憶部14に記憶されている各種プログラムを実行することにより、制御装置1に係る機能を統括的に制御する。本実施形態では、制御部15は、照射制御部151と、特定部152と、取得部153として機能する。
Returning to FIG. 1, the
(照射制御部151)
照射制御部151は、スリットレーザ照射装置2によるスリットレーザ光23a〜23dの照射と、ドットレーザ照射装置3によるドットレーザ光の照射とを制御する。本実施形態において、照射制御部151は、スリットレーザ光23a〜23dを同時に被測定物に照射させる。
(Irradiation control unit 151)
The
また、照射制御部151は、スリットレーザ光23a〜23dを照射する際に、ドットレーザ光も照射させる。具体的には、照射制御部151は、スリットレーザ光23a〜23d及びドットレーザ光を同時に照射させる。なお、照射制御部151は、被測定物の種類や形状等を考慮して、スリットレーザ光23a〜23d及びドットレーザ光の照射強度を制御してよい。
The
(特定部152)
特定部152は、図5に示す撮像画像と図6に示す基準画像とを対比して、撮像画像の複数の輝線L1〜L4と複数のスリットレーザ光23a〜23dとの対応関係を特定する。すなわち、特定部152は、スリットレーザ光23a〜23d及びドットレーザ光が管体9に照射された際に撮像装置4が撮像した撮像画像と、記憶部14に記憶されている基準画像とを対比して、輝線L1〜L4とスリットレーザ光23a〜23dとの対応関係を特定する。
(Specification section 152)
The specifying
前述したように、管体9に照射されるスリットレーザ光23a〜23dの照射方向は、それぞれ異なる。このため、特定部152は、輝線L1〜L4とスリットレーザ光23a〜23dとの対応関係を特定することで、輝線L1〜L4の各々を現す基になったスリットレーザ光の照射方向を特定できる。
As described above, the irradiation directions of the
ここで、特定部152による撮像画像と基準画像の対比方法の一例について説明する。
まず、特定部152は、対比対象として、撮像画像の輝線L1〜L4上の一点を含む単位領域を抽出する。このように、撮像画像中の輝線L1〜L4上の点を含む領域のみを対比対象とすることで、撮像画像の全ての領域を対比対象とする場合に比べて、撮像画像と基準画像との対比に要する処理時間を短縮できる。
Here, an example of a method of comparing the captured image and the reference image by the specifying
First, the specifying
図7Aは、撮像画像における対比対象の点を説明するための図である。図7Aにおいては、輝線L3上の点Aが、対比対象の点であるものとする。特定部152は、点Aを中心として点Aの周囲を含む小さな矩形状の領域を、単位領域として抽出する。
FIG. 7A is a diagram for describing a point to be compared in a captured image. In FIG. 7A, it is assumed that a point A on the bright line L3 is a point to be compared. The specifying
図7Bは、抽出した単位領域を説明するための模式図である。抽出される単位領域は、小さな領域であるため、輝線L3が円弧状であっても、単位領域における輝線L3の部分は、図7Bに示すようにほぼ直線となる。図7Bを見ると分かるように、単位領域において輝線L3の周囲には、複数の輝点Dが点在している。本実施形態では、ドットレーザ照射装置3は、単位領域中に輝点Dが点在するように、ドットレーザ光を照射することが望ましい。
FIG. 7B is a schematic view for explaining the extracted unit area. Since the extracted unit region is a small region, even if the bright line L3 is arcuate, the portion of the bright line L3 in the unit region is substantially a straight line as shown in FIG. 7B. As can be seen from FIG. 7B, a plurality of bright spots D are scattered around the bright line L3 in the unit region. In the present embodiment, it is desirable that the dot
次に、特定部152は、抽出した撮像画像の単位領域(以下、撮像側単位領域と呼ぶ)と、基準画像上において撮像側単位領域と同じ大きさの単位領域(以下、基準側単位領域と呼ぶ)とを対比する。そして、特定部152は、図7Bに示す輝点Dの点在パターンと同じパターンを含む基準側単位領域を探索する。特定部152は、例えば、撮像側単位領域に含まれる画素の値と、基準側単位領域の対応する位置に含まれる画素の値とを比較し、画素の値が一致している数が所定の割合以上である場合に、基準側単位領域が撮像側単位領域との相関度合いが大きく、同じパターンを含むものと判定する。
Next, the specifying
図8は、基準画像の基準側単位領域を説明するための図である。
特定部152は、輝線M1〜M4に沿って、輝線M1〜M4上の点を含む基準側単位領域を順次探索する。これにより、探索に用いる領域を限定できるので、探索時間を抑制できる。図8では、輝線M3上の点を中心とする基準側単位領域R内の輝点Dの点在パターンが、図7Bの輝点Dの点在パターンと同じであるものとする。すると、特定部152は、撮像画像の点Aを含む撮像側単位領域と、基準画像の基準側単位領域Rとが相関度合いが大きいと判定する。
FIG. 8 is a diagram for explaining the reference side unit area of the reference image.
The identifying
上記では、輝線M1〜M4に沿って基準側単位領域を順次探索することとしたが、これに限定されない。例えば、特定部152は、エピポーラ直線を用いることで、効率良く撮像側単位領域の輝点Dの点在パターンと同じ基準側単位領域を探索できる。
In the above description, the reference-side unit region is sequentially searched along the bright lines M1 to M4. However, the present invention is not limited to this. For example, the specifying
図9は、エピポーラ直線を用いた探索方法を説明するための図である。図9では、直線Nが、図7Aの点Aを通るエピポーラ直線である。エピポーラ直線Nは、点Aとスリットレーザ照射装置2との間を結んだ線を投影した直線である。このため、点Aは、エピポーラ直線N上に位置することになる。このようなエピポーラ直線を利用することで、特定部152は、撮像側単位領域と、基準画像において輝線M1〜M4とエピポーラ直線Nの交点(4点)の各々を中心とする4つの基準側単位領域とを対比することになる。これにより、探索する領域を限定できるので、探索に要する処理時間を抑制できる。
FIG. 9 is a diagram for explaining a search method using epipolar lines. In FIG. 9, the straight line N is an epipolar straight line passing through the point A in FIG. 7A. The epipolar straight line N is a straight line on which a line connecting the point A and the slit
(取得部153)
図1に戻り、取得部153は、撮像装置4が撮像した管体9の三次元形状を取得する。具体的には、まず、取得部153は、撮像装置4が撮像した撮像画像を参照して、管体9の表面に現れる輝線L1〜L4の二次元座標を求める。次に、取得部153は、輝線L1〜L4の二次元座標と、特定部152が特定した対応関係(すなわち、輝線L1〜L4の基になったスリットレーザ光23a〜23dの照射方向)とに基づいて、輝線L1〜L4の三次元座標を取得する。
(Acquisition unit 153)
Returning to FIG. 1, the
例えば、取得部153は、三角計量の原理を用いて、輝線L1〜L4の二次元座標と、輝線L1〜L4の基になったスリットレーザ光23a〜23dの平面の方程式とから、輝線L1〜輝線L4と撮像装置4との間の距離を求める。そして、取得部153は、輝線L1〜L4の二次元座標と、輝線L1〜輝線L4と撮像装置4との間の距離とに基づいて、輝線L1〜L4の三次元座標を取得する。なお、輝線L1〜L4の三次元座標は、例えば書籍「三次元画像計測」(井口征士、佐藤宏介著)に記載された式(4.18)(式(4.16)及び(4.17)も参照)から求めることができる。輝線の二次元座標(u、v)が、式(4.16)のXc、Ycにそれぞれ該当する。
For example, the
取得部153は、輝線L1〜L4の三次元座標に基づいて、更に管体9の断面形状を取得する。本実施形態では、取得部153は、円弧形状の輝線L1〜L4が一部を成す管体9の断面形状の三次元座標を取得する。具体的には、取得部153は、形状が図10に示すような楕円形状の断面を取得する。
The
図10は、輝線L1〜L4の各々から特定される管体9の断面を説明するための模式図である。取得部153は、円弧形状の輝線L1〜L4に基づいて、図10に示す4つの楕円形状の断面F1〜F4を取得する。ここで、断面F1は輝線L1を一部として含み、断面F2は輝線L2を一部として含み、断面F3は輝線L3を一部として含み、断面F4は輝線L4を一部として含む。
FIG. 10 is a schematic view for explaining the cross section of the tube 9 identified from each of the bright lines L1 to L4. The
取得部153は、取得した断面F1〜F4に基づいて、管体9の外径を取得してもよい。具体的には、取得部153は、断面形状である楕円の短径(短軸方向の直径)を取得し、取得した短径を管体9の外径(直径)として設定する。楕円の短径を管体9の外径とする理由は、本来、管体9を軸方向と直交する面で切断した場合には、楕円の短径と同じ大きさの直径の真円となるからである。なお、取得部153は、4つの断面F1〜F4の各々の楕円の短径の平均値を、管体9の外径としてもよい。これにより、精度良く管体9の外径を取得できる。
The acquiring
取得部153は、取得した4つの断面F1〜F4に基づいて、管体9の中心線を取得してもよい。具体的には、取得部153は、図10に示すように4つの断面F1〜F4の中心を通る直線Cを、管体9の中心線として取得する。このように中心線及び断面形状を取得することで、管体9の三次元形状を特定しやすくなる。
The
(変形例)
上記では、取得部153は、断面形状が楕円である場合に、楕円の短径を管体9の外径として設定することとしたが、これに限定されない。例えば、取得部153は、断面形状である楕円上の点から、管体9の中心線に下ろした垂線の大きさに基づいて、管体9の外径を設定してもよい。
(Modification)
In the above, when the cross-sectional shape is an ellipse, the
図11は、管体9の外径取得方法の第1変形例を説明するための図である。図11Aでは、説明の便宜上、輝線L1、L2から取得された管体9の2つの断面F1、F2のみを示している。ここでは、断面F1を用いて管体9の外径を取得する方法を説明する。取得部153は、断面F1の形状である楕円上の点から中心線Cに向かって複数の垂線Hを形成し、複数の垂線Hの大きさの平均値を管体9の外径として設定する。
なお、取得部153は、断面F1の形状である楕円の代わりに、輝線L1の点から中心線Cに向かって複数の垂線Hを形成し、複数の垂線Hの大きさの平均値を管体9の外径として設定してもよい。
FIG. 11 is a diagram for explaining a first modification of the outer diameter acquisition method of the tube body 9. In FIG. 11A, for convenience of explanation, only two cross sections F1 and F2 of the tubular body 9 obtained from the bright lines L1 and L2 are shown. Here, the method to acquire the outer diameter of the pipe body 9 using the cross section F1 is demonstrated. The
The
図12Aは、管体9の中心線の方向ベクトル取得方法を説明するための図である。取得部153は、4つの輝線L1〜L4上で空間内に設定した任意の平面に最も近い点G1〜G4を通過する直線Dを特定する。この直線Dは、管体9の中心線Cと平行な線で管の中心軸の方向ベクトルとして定義される。
FIG. 12A is a diagram for explaining a method of acquiring the direction vector of the center line of the tubular body 9. The
図12Bは、管体9の中心線の方向ベクトルの取得方法の変形例を説明するための図である。図12Bでは、説明の便宜上、3つの断面F1〜F3を示している。中心線の方向ベクトルの取得は、以下のように行われる。
まず、スリットレーザ輝線上にある断面F1上の一点Jを特定する。次に、断面F1上の点Jと、断面F2上の点とを結ぶ直線を特定する。例えば、点Jと、断面F2上の点K3とを通る直線D3を特定する。同様にして、点Jと、断面F2上の他の点(一例として、点K1、K2)とを通る直線D1、D2を特定する。そして、直線D1〜D3と断面F3との間の距離dを求め、断面F3との間での距離dが最も小さい直線を求める。図12では、直線D1と断面F3との距離が0となっており、直線D1は3つの断面F1〜F3を通る直線である。このように求めた直線D1が、管体9の中心線の方向ベクトルとなる。
FIG. 12B is a diagram for describing a modification of the method for obtaining the direction vector of the center line of the tubular body 9. In FIG. 12B, for convenience of explanation, three cross sections F1 to F3 are shown. Acquisition of the direction vector of the center line is performed as follows.
First, one point J on the cross section F1 on the slit laser bright line is specified. Next, a straight line connecting the point J on the cross section F1 and the point on the cross section F2 is specified. For example, specifying a straight line D3 through a point J, the point K 3 on the section F2. Similarly, straight lines D1 and D2 passing through the point J and other points on the cross section F2 (as an example, points K 1 and K 2 ) are specified. And the distance d between the straight lines D1-D3 and the cross section F3 is calculated | required, and the straight line with the shortest distance d between the cross sections F3 is calculated | required. In FIG. 12, the distance between the straight line D1 and the cross section F3 is 0, and the straight line D1 is a straight line passing through the three cross sections F1 to F3. The straight line D1 thus obtained is the direction vector of the center line of the tube 9.
また、上記では、図3に示すようにスリットレーザ照射装置2及びドットレーザ照射装置3をスリット方向(Z方向)に沿って設けていることとしたが、これに限定されない。例えば、図13に示すように、スリットレーザ照射装置2及びドットレーザ照射装置3が、スリットに対して垂直な方向(X方向)に沿って設けられていることとしてもよい。
Further, although the slit
図13は、スリットレーザ照射装置2及びドットレーザ照射装置3の構成の変形例を説明するための模式図である。変形例においては、ドットレーザ照射装置3が、スリットに対して垂直にスリットレーザ照射装置2から所定距離だけ離れて位置している。
FIG. 13 is a schematic view for explaining a modification of the configuration of the slit
ところで、図13に示すように、スリットレーザ照射装置2及びドットレーザ照射装置3をスリットに対して垂直に離れて配置した場合には、図14に示すように、管体9の表面に現れる輝線と輝点の位置がずれることになる。
By the way, as shown in FIG. 13, when the slit
図14は、スリットに対して垂直な方向における輝線L1〜L4と輝点Dのずれを説明するための模式図である。図14と図4(c)を対比すると分かるように、スリットレーザ照射装置2及びドットレーザ照射装置3をスリットに対して垂直に離れて配置した場合には、輝線L1〜L4と輝点Dとが、スリットレーザ照射装置2とドットレーザ照射装置3の間の距離分だけずれてしまう。この場合、特定部152は、ずれた関係にある輝線L1〜L4と輝点Dとを含む撮像画像と、基準画像との対比を正確に行えない恐れがある。そこで、かかる問題を解消するために、図15に示すような光反射手段70を設けることが望ましい。
FIG. 14 is a schematic diagram for explaining the deviation between the bright lines L1 to L4 and the bright spot D in the direction perpendicular to the slit. As can be seen by comparing FIG. 14 and FIG. 4C, when the slit
図15は、光反射手段70の構成の一例を説明するための模式図である。図15では、スリットレーザ照射装置2が照射したスリットレーザ光の光路と、ドットレーザ照射装置3が照射したドットレーザ光の光路とが、破線で示されている。光反射手段70は、スリットに対して垂直な方向におけるスリットレーザ光の管体9上の照射位置と、ドットレーザ光の管体9上の照射位置とを調整する機能を有する。
FIG. 15 is a schematic view for explaining an example of the configuration of the
図15に示すように、光反射手段70は、ミラー71と、ビームスプリッター72とを有する。ミラー71は、ドットレーザ照射装置3の前方に位置している。ミラー71は、ドットレーザ照射装置3が照射したドットレーザ光をビームスプリッター72に向けて反射させる。ビームスプリッター72は、スリットレーザ照射装置2の前方に位置している。ビームスプリッター72は、スリットレーザ光を透過させる一方で、ドットレーザ光を反射させるハーフミラーである。
As shown in FIG. 15, the light reflecting means 70 includes a
なお、図15では、説明の便宜上、ビームスプリッター72を透過したスリットレーザ光の光軸と、ビームスプリッター72で反射したドットレーザ光の光軸とが、スリットに対して垂直な方向(X方向)において離れているように示されている。しかし、実際には、スリットレーザ光の光軸とドットレーザ光の光軸がスリットに対して垂直な方向において重なるように、ミラー71及びビームスプリッター72が配置されている。これにより、図13に示すようにスリットレーザ照射装置2及びドットレーザ照射装置3を配置した場合でも、スリットに対して垂直な方向における輝線と輝点のずれを解消することが可能となる。
In FIG. 15, for convenience of explanation, the direction (X direction) in which the optical axis of the slit laser beam transmitted through the
<3.輝線の三次元座標の取得処理>
図16を参照しながら、制御装置1(図1)による被測定物である管体9上の輝線(ここでは、図5に示す輝線L1〜L4)の三次元座標の取得処理について説明する。輝線の三次元座標の取得処理は、制御装置1の制御部15が記憶部14に記憶されたプログラムを実行することで実現される。
<3. Acquisition processing of three-dimensional coordinates of bright line>
With reference to FIG. 16, the processing for acquiring the three-dimensional coordinates of the bright lines (here, the bright lines L <b> 1 to L <b> 4 shown in FIG. 5) on the tubular body 9 that is the object to be measured by the control device 1 (FIG. 1) will be described. The acquisition process of the three-dimensional coordinates of the bright line is realized by the
図16は、管体9上の輝線L1〜L4の三次元座標の取得処理を説明するためのフローチャートである。本フローチャートは、作業者が、スリットレーザ照射装置2、ドットレーザ照射装置3、撮像装置4及び管体9を、測定用の位置にそれぞれセットしたところから開始される。
FIG. 16 is a flowchart for explaining the process of acquiring the three-dimensional coordinates of the bright lines L1 to L4 on the tube body 9. This flowchart is started when the operator sets the slit
まず、制御部15の照射制御部151は、スリットレーザ照射装置2及びドットレーザ照射装置3を動作させて、管体9にスリットレーザ光23a〜23d及びドットレーザ光を照射させる(ステップS102)。具体的には、照射制御部151は、スリットレーザ光23a〜23d及びドットレーザ光を同時に管体9に照射させる。これにより、管体9の表面に4つの輝線L1〜L4とランダムな複数の輝点Dが現れる。
First, the
次に、制御部15は、撮像装置4を動作させて、表面に4つの輝線L1〜L4とランダムな複数の輝点Dが現れた管体9を撮像する(ステップS104)。そして、撮像装置4は、例えば図5に示すような輝線L1〜L4及び複数の輝点Dを含む撮像画像を生成し、撮像画像を制御部15に送信する。
Next, the
次に、制御部15の特定部152は、撮像画像から輝線L1〜L4を抽出する(ステップS106)。例えば、特定部152は、公知のメディアンフィルタ等を利用して、撮像画像から輝線L1〜L4を抽出する。
Next, the specifying
次に、特定部152は、抽出した輝線L1〜L4の座標(u、v)を算出する(ステップS108)。具体的には、特定部152は、抽出した輝線L1〜L4を細線化処理した後に、輝線L1〜L4の座標(u、v)を算出する。抽出した輝線L1〜L4を細線化処理することにより、撮像画像と基準画像とを対比する場合に、計算量を低減することができる。なお、特定部152は、細線化処理をせずに、輝線L1〜L4の座標(u、v)を算出してもよい。
Next, the identifying
次に、特定部152は、輝線(ここでは、図7Aに示す輝線L3を例に挙げて説明する)上の一点A(u、v)を含む単位領域の画像(以下、周辺画像とも呼ぶ)を抽出する(ステップS110)。この際、特定部152は、輝線L1〜L4を消去して、輝点Dが点在する周辺画像を抽出してもよい。輝線L1〜L4の消去は、例えば、ステップS104で生成される撮像画像から、ステップS106で抽出した輝線L1〜L4を削除することで、実現される。
Next, the specifying
次に、特定部152は、記憶部14に記憶された基準画像において、周辺画像の輝点Dの点在パターンと同じパターンの単位領域(基準側単位領域)を探索する(ステップS112)。例えば、特定部152は、図8や図9で説明した探索方法で、輝線M1〜M4上の点を含む基準側単位領域を探索する。
Next, the specifying
そして、基準画像中で同じパターンを含む基準側単位領域が有る場合には(ステップS114:Yes)、特定部152は、輝線L3に対応するスリットレーザ光がスリットレーザ光23cであると特定する(ステップS116)。
Then, when there is a reference unit region including the same pattern in the reference image (step S114: Yes), the specifying
なお、ステップS114で同じパターンが見つからない場合には、特定部152は、輝線L3上の次の点の周辺の周辺画像を抽出し(ステップS120)、当該周辺画像の輝点Dの点在パターンと同じパターンを探索する(ステップS112)。
When the same pattern is not found in step S114, the specifying
輝線L1〜L4に対応するスリットレーザ光が特定されると、取得部153は、4つの輝線L1〜L4の二次元座標と、特定部152が特定した輝線L1〜L4とスリットレーザ光23a〜23dとの対応関係とに基づいて、輝線L1〜L4の三次元座標を求める(ステップS118)。そして、取得部153は、輝線L1〜L4の三次元座標に基づいて管体9の断面形状や中心線等を求めて、管体9の形状を取得する。
When the slit laser light corresponding to the bright lines L1 to L4 is specified, the acquiring
<4.キャリブレーション>
計測システムSは、上述した管体9上の輝線L1〜L4の三次元座標の取得を精度良く行うために、予めスリットレーザ照射装置2及び撮像装置4のパラメータのキャリブレーション(較正)を行っている。キャリブレーションは、例えばスリットレーザ照射装置2や撮像装置4を変更したり被測定物が変わったりした場合等に、輝線L1〜L4の三次元座標の取得処理前に行われる。
<4. Calibration>
The measurement system S performs calibration of the parameters of the slit
図17は、スリットレーザ照射装置2及び撮像装置4のキャリブレーション方法を説明するためのフローチャートである。図17に示すフローチャートは、図18に示すキャリブレーション用ブロック91を、例えば図2に示す管体9の位置にセットしたところから開始される。
FIG. 17 is a flowchart for explaining a calibration method of the slit
図18は、キャリブレーション用ブロック91を説明するための模式図である。図19は、直方体形状のキャリブレーション用ブロック91の前面を示す模式図である。図19に示すように、キャリブレーション用ブロック91は、方眼紙が貼り付けられた目盛り部92と、図形や貼り付けられたマーカー部93と、を含む。
FIG. 18 is a schematic diagram for explaining the
目盛り部92は、スリットレーザ照射装置2がスリットレーザ光をキャリブレーション用ブロック91に照射した際に、キャリブレーション用ブロック91の前面に現れる輝線の実際の三次元座標を測定するためのものである。目盛り部92は、キャリブレーション用ブロック91の上面や下面等にも貼り付けられている。輝線の実際の三次元座標は、例えば作業者によって計測される。マーカー部93は、撮像装置4がキャリブレーション用ブロック91を撮像した際に、キャリブレーション用ブロック91における基準位置を特定するためのものである。
The
図17に戻り、まず、スリットレーザ照射装置2が、キャリブレーション用ブロック91にスリットレーザ光を照射する(ステップS202)。これにより、キャリブレーション用ブロック91に輝線が現れる。次に、撮像装置4によって、輝線が現れたキャリブレーション用ブロック91を撮像する(ステップS204)。これにより、輝線を含む撮像画像が生成される。
Returning to FIG. 17, first, the slit
次に、撮像装置4が生成した撮像画像における輝線の二次元座標と、作業者が実際に計測した輝線の実際の三次元座標とを比較して、撮像装置4のパラメータ及びスリットレーザ照射装置2のパラメータを算出する(ステップS206、S208)。撮像装置4のパラメータは、撮像画像における二次元座標を三次元座標に変換するための定数である。撮像装置4のパラメータにより、撮像装置から輝線への視線ベクトルが定義される。スリットレーザ照射装置2のパラメータは、各スリットレーザの平面を定義する定数である。これらのパラメータは、例えば前述した書籍「三次元画像計測」(井口征士、佐藤宏介著)の式(4.18)に適用されるパラメータである。具体的には、撮像装置4のパラメータは、上記書籍の式(4.21)から求められ、スリットレーザ照射装置2のパラメータは、書籍の式(4.24)から求められる。
Next, the two-dimensional coordinates of the bright line in the captured image generated by the
また、レーザ輝線上の点の三次元座標は、カメラの焦点から輝線上の各点への視線ベクトルとスリットレーザ平面の交点を算出することで取得できる。例えば、求めた撮像装置4のパラメータ及びスリットレーザ照射装置2のパラメータを、書籍の式(4.18)に適用する(ステップS210)。輝線の三次元座標の取得処理の際にパラメータが適用された式(4.18)を用いることで、撮像画像中の輝線の三次元座標を高精度に取得できるようになる。
Further, the three-dimensional coordinates of the points on the laser emission line can be obtained by calculating the intersection of the line-of-sight vector from the camera focus to each point on the emission line and the slit laser plane. For example, the obtained parameters of the
なお、上記では、スリットレーザ照射装置2及び撮像装置4についてキャリブレーションを行うこととしたが、これに限定されず、例えばドットレーザ照射装置3についてもキャリブレーションを行ってもよい。
In the above description, the slit
<5.本実施形態における効果>
上述した計測システムSは、スリットレーザ照射装置2が複数のスリットレーザ光23a〜23dを被測定物である管体9に照射する際に、スリットレーザ光23a〜23dの各々と所定の位置関係を有するドット状の複数のドットレーザ光を、管体9に照射するドットレーザ照射装置3を有する。そして、計測システムSは、スリットレーザ光23a〜23dによる輝線L1〜L4及びドットレーザ光による輝点Dが現れた管体9を撮像装置4が撮像した撮像画像と、輝線及び輝点の予め定まった位置関係を示す基準画像とを対比して、撮像画像の輝線L1〜L4とスリットレーザ光23a〜23dとの対応関係を特定する。さらに、計測システムSは、撮像画像における輝線L1〜L4の二次元座標と、特定した対応関係とに基づいて、輝線L1〜L4の三次元座標を取得する。
<5. Effect of the present embodiment>
The measurement system S described above has a predetermined positional relationship with each of the
上記のように、輝線L1〜L4に対して輝点Dがランダムに点在するようにドットレーザ光を照射することで、撮像画像中の輝線L1〜L4の各々が、スリットレーザ光23a〜23dのいずれによって現れたかを特定しやすくなる。これにより、輝線L1〜L4の基になったスリットレーザ光23a〜23dの照射方向(照射角度)も求まるので、求まった照射方向と輝線L1〜L4の二次元座標とによって輝線L1〜L4の三次元座標を取得できる。この結果、本実施形態によれば、複数のスリットレーザ光23a〜23dを同時に管体9に照射した場合でも、輝線L1〜L4の三次元座標を高精度に取得可能となる。特に、撮像画像中に、輝線L1〜L4に加えて、管体9以外の部分に現れる他の輝線(輝線L1〜L4とずれて現れる)も含まれる場合に、より効果的である。
As described above, each of the bright lines L1 to L4 in the captured image is a
また、上記のように取得された輝線L1〜L4の三次元座標を用いることで、管体9の形状を精度良く把握できる。すなわち、輝線L1〜L4の三次元座標によって、管体9の輝線L1〜L4の各々を含む断面形状、外径、中心線を求めることができるので、管体9の詳細な形状を取得できる。 Moreover, the shape of the tubular body 9 can be accurately grasped by using the three-dimensional coordinates of the bright lines L1 to L4 acquired as described above. That is, since the cross-sectional shape, outer diameter, and center line including each of the bright lines L1 to L4 of the tube body 9 can be obtained from the three-dimensional coordinates of the bright lines L1 to L4, the detailed shape of the tube body 9 can be acquired.
また、求まった管体9の中心線をアイソメトリック図に適用することで、管体9の全体形状を把握しやすくなる。さらに、求まった管体9の中心線及び外径を用いることで、CAD化することが可能となる。 Moreover, it becomes easy to grasp | ascertain the whole shape of the tubular body 9 by applying the obtained center line of the tubular body 9 to an isometric view. Further, using the obtained center line and outer diameter of the tube body 9 enables CAD.
また、上記では、被測定物として管体9にスリットレーザ光を照射することとしたが、これに限定されない。例えば、スリットレーザ照射装置2は、生体など任意形状の被測定物にスリットレーザ光を照射することとしてもよい。また、スリットレーザ照射装置2が照射するスリットレーザ光の数は、図2に示すような4つに限定されず、例えば3つ以下や5つ以上であってもよい。
Further, in the above description, the slit laser light is irradiated to the tube body 9 as the object to be measured. However, the present invention is not limited to this. For example, the slit
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。そのような変更又は改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。例えば、上記の説明においては、スリットレーザ照射装置2とドットレーザ照射装置3とが異なる装置であるものとして説明したが、これに限らず、スリットレーザ照射装置2とドットレーザ照射装置3とが一体化した装置であってもよい。
As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention. For example, in the above description, the slit
また、スリットレーザ照射装置2及びドットレーザ照射装置3を用いる代わりに、パーソナルコンピュータにおいて縦縞のラインとランダムドットとを含む画面を生成し、生成した画面をプロジェクターで投光することで、プロジェクターを用いてスリットレーザ照射装置2及びドットレーザ照射装置3と同様な機能を実現してもよい。
Moreover, instead of using the slit
また、上記の実施形態では、撮像手段として撮像装置4を用いる例について説明したが、撮像手段として、複数の撮像装置を用いてもよい。
In the above embodiment, an example in which the
1 制御装置
2 スリットレーザ照射装置
3 ドットレーザ照射装置
4 撮像装置
9 管体
70 光反射手段
151 照射制御部
152 特定部
153 取得部
D 輝点
L1〜L4 輝線
S 計測システム
DESCRIPTION OF SYMBOLS 1
Claims (12)
前記第1照射手段が前記複数のスリットレーザ光を前記被測定物に照射する際に、前記複数のスリットレーザ光の各々と所定の位置関係を有するドット状の複数のドットレーザ光を、前記被測定物に照射する第2照射手段と、
前記複数のスリットレーザ光が照射されることで前記被測定物の表面に現れる複数の輝線と、前記複数のドットレーザ光が照射されることで前記表面に現れる複数の輝点とを撮像して、前記複数の輝線及び前記複数の輝点の両方が現れた撮像画像を生成する撮像手段と、
前記撮像画像と、前記複数の輝線及び前記複数の輝点との予め定まった位置関係を示す単一の基準画像とを対比して、前記撮像画像の前記複数の輝線と前記複数のスリットレーザ光との対応関係を特定する特定手段と、
前記撮像画像における前記複数の輝線の二次元座標と、前記特定手段が特定した前記対応関係とに基づいて、前記複数の輝線の三次元座標を取得する取得手段と、
を備える、計測システム。 First irradiating means for irradiating the object to be measured with a plurality of slit laser beams in slit form;
When the first irradiation unit irradiates the plurality of slit laser beams onto the object to be measured, the plurality of dot laser beams having a predetermined positional relationship with each of the plurality of slit laser beams are Second irradiating means for irradiating the object to be measured;
Imaging a plurality of bright lines appearing on the surface of the object to be measured by being irradiated with the plurality of slit laser beams and a plurality of bright spots appearing on the surface by being irradiated with the plurality of dot laser beams. Imaging means for generating a captured image in which both the plurality of bright lines and the plurality of bright spots appear ;
Contrast the captured image with a single reference image showing a predetermined positional relationship between the plurality of bright lines and the plurality of bright spots, and the plurality of bright lines of the captured image and the plurality of slit laser beams. Specifying means for specifying the correspondence with
Obtaining means for obtaining three-dimensional coordinates of the plurality of bright lines based on two-dimensional coordinates of the plurality of bright lines in the captured image and the correspondence relationship specified by the specifying means;
Measurement system with.
請求項1に記載の計測システム。 The first irradiation means and the second irradiation means are located on the same straight line in the slit direction which is the longitudinal direction of the slit that irradiates the slit laser light.
The measurement system according to claim 1.
前記スリットレーザ光の前記被測定物への照射位置と、前記ドットレーザ光の前記被測定物への照射位置とを調整するための光反射手段を更に備える、
請求項1に記載の計測システム。 The first irradiation means and the second irradiation means are located apart from each other by a predetermined distance in a direction other than the slit direction,
The apparatus further comprises light reflecting means for adjusting the irradiation position of the slit laser beam on the object to be measured and the irradiation position of the dot laser beam on the object to be measured.
The measurement system according to claim 1.
前記特定手段は、前記複数の輝線の各々に対応する前記スリットレーザ光の照射方向を特定する、
請求項1から3のいずれか1項に記載の計測システム。 The direction of irradiation of the object to be measured with the plurality of slit laser beams is a direction intersecting each other,
The specifying means specifies an irradiation direction of the slit laser beam corresponding to each of the plurality of bright lines;
The measurement system according to any one of claims 1 to 3.
請求項1から4のいずれか1項に記載の計測システム。 The second irradiating means irradiates the plurality of dot laser beams so that adjacent states of luminescent spots are different for each of the plurality of bright lines.
The measurement system according to any one of claims 1 to 4.
請求項5に記載の計測システム。 The specifying unit extracts a unit area including one point of the bright line of the captured image and a periphery of the one point, and determines a degree of correlation of the reference image with the unit area.
The measurement system according to claim 5.
前記撮像手段は、前記第1照射手段の照射方向と交差する視線方向から、前記管状体の表面に現れる前記複数の輝線及び輝点を撮像する、
請求項1から6のいずれか1項に記載の計測システム。 The object to be measured is a tubular body,
The imaging means images the plurality of bright lines and bright spots appearing on the surface of the tubular body from a line of sight direction that intersects the illumination direction of the first illumination means.
The measurement system according to any one of claims 1 to 6.
請求項7に記載の計測システム。 The acquisition means acquires the three-dimensional coordinates of the cross-sectional shape of the tubular body, the arcuate bright line forming a part.
The measurement system according to claim 7.
前記取得手段は、前記断面形状の楕円の短径を取得し、前記短径を前記管状体の外径と設定する、
請求項8に記載の計測システム。 The cross-sectional shape is an elliptical shape,
The obtaining means obtains the minor axis of the cross-sectional ellipse, and sets the minor axis as the outer diameter of the tubular body;
The measurement system according to claim 8.
請求項8又は9に記載の計測システム。 The acquisition means acquires a center line of the tubular body based on a plurality of cross-sectional shapes of the tubular body, each of which is a part of the plurality of bright lines.
The measurement system according to claim 8 or 9.
請求項8から10のいずれか1項に記載の計測システム。 The acquisition means acquires a direction vector of a center line of the tubular body based on three-dimensional coordinates of points on the plurality of bright lines.
The measurement system according to any one of claims 8 to 10.
前記複数のスリットレーザ光を前記被測定物に照射する際に、前記複数のスリットレーザ光の各々と所定の位置関係を有するドット状の複数のドットレーザ光を、前記被測定物に照射するステップと、
前記複数のスリットレーザ光が照射されることで前記被測定物の表面に現れる複数の輝線と、前記複数のドットレーザ光が照射されることで前記表面に現れる複数の輝点とを撮像して、前記複数の輝線及び前記複数の輝点の両方が現れた撮像画像を生成するステップと、
前記撮像画像と、前記複数の輝線及び前記複数の輝点との予め定まった位置関係を示す単一の基準画像とを対比して、前記撮像画像の前記複数の輝線と前記複数のスリットレーザ光との対応関係を特定するステップと、
前記撮像画像における前記複数の輝線の二次元座標と、特定した前記対応関係とに基づいて、前記複数の輝線の三次元座標を取得するステップと、
を有する、計測方法。 Irradiating a plurality of slit-like slit laser beams in the form of a slit onto the object to be measured;
A step of irradiating the object with a plurality of dot laser beams in the form of dots having a predetermined positional relationship with each of the plurality of slit laser beams when irradiating the plurality of slit laser beams onto the object; When,
Imaging a plurality of bright lines appearing on the surface of the object to be measured by being irradiated with the plurality of slit laser beams and a plurality of bright spots appearing on the surface by being irradiated with the plurality of dot laser beams. Generating a captured image in which both the plurality of bright lines and the plurality of bright spots appear ;
Contrast the captured image with a single reference image showing a predetermined positional relationship between the plurality of bright lines and the plurality of bright spots, and the plurality of bright lines of the captured image and the plurality of slit laser beams. Identifying the correspondence with
Obtaining the three-dimensional coordinates of the plurality of bright lines based on the two-dimensional coordinates of the plurality of bright lines in the captured image and the identified correspondence relationship;
Have a measuring method.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015130144A JP6554342B2 (en) | 2015-06-29 | 2015-06-29 | Measuring system and measuring method |
| PCT/JP2016/069197 WO2017002831A1 (en) | 2015-06-29 | 2016-06-29 | Measuring system and measuring method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015130144A JP6554342B2 (en) | 2015-06-29 | 2015-06-29 | Measuring system and measuring method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017015456A JP2017015456A (en) | 2017-01-19 |
| JP6554342B2 true JP6554342B2 (en) | 2019-07-31 |
Family
ID=57608114
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015130144A Active JP6554342B2 (en) | 2015-06-29 | 2015-06-29 | Measuring system and measuring method |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6554342B2 (en) |
| WO (1) | WO2017002831A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020153718A (en) | 2019-03-18 | 2020-09-24 | 株式会社リコー | Measuring equipment and modeling equipment |
| CN112729167B (en) * | 2020-12-21 | 2022-10-25 | 福建汇川物联网技术科技股份有限公司 | Calculation method and device of plane equation |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1038531A (en) * | 1996-07-19 | 1998-02-13 | Mitsubishi Heavy Ind Ltd | Method and device for automatically measuring pipe shape |
| CA2529498A1 (en) * | 2003-07-24 | 2005-02-03 | Cognitens Ltd. | Method and sytem for the three-dimensional surface reconstruction of an object |
| JP2012093268A (en) * | 2010-10-28 | 2012-05-17 | Aida Engineering Co Ltd | Circularity measurement system and pipe-making device with the same |
| JP6023415B2 (en) * | 2011-10-17 | 2016-11-09 | キヤノン株式会社 | Three-dimensional measuring apparatus, control method and program for three-dimensional measuring apparatus |
| JP6452361B2 (en) * | 2014-09-10 | 2019-01-16 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
-
2015
- 2015-06-29 JP JP2015130144A patent/JP6554342B2/en active Active
-
2016
- 2016-06-29 WO PCT/JP2016/069197 patent/WO2017002831A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017015456A (en) | 2017-01-19 |
| WO2017002831A1 (en) | 2017-01-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100491903C (en) | A method for calibrating structural parameters of a structured light vision sensor | |
| US10613228B2 (en) | Time-of-flight augmented structured light range-sensor | |
| US7715020B2 (en) | Three-dimensional shape measuring system | |
| EP2568253B1 (en) | Structured-light measuring method and system | |
| JP6937482B2 (en) | Surface shape measuring device and its stitching measuring method | |
| JP2012058076A (en) | Three-dimensional measurement device and three-dimensional measurement method | |
| KR20150128300A (en) | method of making three dimension model and defect analysis using camera and laser scanning | |
| JPWO2006013635A1 (en) | Three-dimensional shape measuring method and apparatus | |
| CN106931908A (en) | 3 d shape measuring apparatus, 3-d shape measurement system and method for measuring three-dimensional shape | |
| EP3049756B1 (en) | Modeling arrangement and method and system for modeling the topography of a three-dimensional surface | |
| JP2021193400A (en) | Method for measuring artefact | |
| CN114494468B (en) | Three-dimensional color point cloud construction method, device, system and storage medium | |
| JP2005509879A (en) | Method for determining corresponding points in 3D measurement | |
| JP2009270957A (en) | Laser radar, and calibration method of laser radar | |
| JP4052323B2 (en) | 3D measurement system | |
| JP6554342B2 (en) | Measuring system and measuring method | |
| JP6381262B2 (en) | Information processing apparatus, information processing method, and program | |
| WO2019230171A1 (en) | Laser calibration device, calibration method therefor, and image input device including laser calibration device | |
| JP2017198470A (en) | Measurement device, measurement method, system, and goods manufacturing method | |
| CN104061901A (en) | Method and system for measuring stereo distance | |
| TW201432222A (en) | Three-dimensional range finding method and system thereof | |
| JP6653539B2 (en) | Image measuring device, control program therefor, and measuring device | |
| JP6108383B2 (en) | Piping position measuring system and piping position measuring method | |
| CN109887026B (en) | Multi-view positioning tracking method, device and equipment and computer readable storage medium | |
| CN109917904B (en) | System for calculating the spatial position of an object in a virtual reality or augmented reality environment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180620 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20180621 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190416 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190529 |
|
| 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: 20190702 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190708 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6554342 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |