JP5764888B2 - Distance measuring device and distance measuring method - Google Patents

Distance measuring device and distance measuring method Download PDF

Info

Publication number
JP5764888B2
JP5764888B2 JP2010187091A JP2010187091A JP5764888B2 JP 5764888 B2 JP5764888 B2 JP 5764888B2 JP 2010187091 A JP2010187091 A JP 2010187091A JP 2010187091 A JP2010187091 A JP 2010187091A JP 5764888 B2 JP5764888 B2 JP 5764888B2
Authority
JP
Japan
Prior art keywords
dots
distance
measurement
dot
projection pattern
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
JP2010187091A
Other languages
Japanese (ja)
Other versions
JP2012047469A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2010187091A priority Critical patent/JP5764888B2/en
Publication of JP2012047469A publication Critical patent/JP2012047469A/en
Application granted granted Critical
Publication of JP5764888B2 publication Critical patent/JP5764888B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)
  • Measurement Of Optical Distance (AREA)

Description

本発明は、移動物体に搭載されて光を照射することによって計測対象物までの距離を計測する距離計測装置及びその方法に関する。   The present invention relates to a distance measuring apparatus and a method for measuring a distance to a measurement object by being mounted on a moving object and irradiating light.

従来から計測対象物に光を照射し、それをカメラで撮像することによって計測対象物の3次元形状を計測する距離計測技術が開発されていた。   Conventionally, a distance measurement technique for measuring a three-dimensional shape of a measurement object by irradiating the measurement object with light and capturing the image with a camera has been developed.

このような距離計測技術では、ドットサイズや線の太さ、位置が異なる不規則な投光パターンを照射し、異なる位置に設置されたカメラで撮像した2つの画像間で同じ投光パターンをマッチング検索して三角測量によって距離を測定していた。   Such distance measurement technology irradiates irregular projection patterns with different dot sizes, line thicknesses and positions, and matches the same projection pattern between two images captured by cameras installed at different positions. The distance was measured by searching and triangulation.

このような3次元形状計測装置の一例として特許文献1が開示されており、この特許文献1では、乱数を用いて不規則な投光パターンを生成して投光器から照射し、投光パターンが照射された被写体を基準カメラ及び参照カメラで撮像していた。そして、基準カメラで撮像した画像と参照カメラで撮像した画像との間の対応付け処理を行い、対応付けされた各画像の視差を用いて距離画像を生成していた。   Patent Document 1 is disclosed as an example of such a three-dimensional shape measuring apparatus. In Patent Document 1, an irregular projection pattern is generated using a random number and irradiated from a projector, and the projection pattern is irradiated. The captured subject was imaged with a standard camera and a reference camera. And the correlation process between the image imaged with the reference | standard camera and the image imaged with the reference camera was performed, and the distance image was produced | generated using the parallax of each matched image.

特開2001−91232号公報JP 2001-91232 A

しかしながら、上述した従来の技術では、乱数を用いて不規則な投光パターンを生成して投光器から照射していたので、ロボットや車両等の移動物体に搭載した場合には、移動物体の移動によって照射される投光パターンが計測対象物から外れてしまうことがあった。そうすると不規則な投光パターンは計測対象物と背景との間で分断されてしまうので、投光パターンの対応付けができなくなり、距離計測ができなくなってしまうという問題点があった。また、計測対象物が移動する場合でも同様に投光パターンが計測対象物に当たらなくなって距離計測ができなくなってしまうという問題点があった。  However, in the above-described conventional technology, an irregular projection pattern is generated using random numbers and irradiated from the projector, so when mounted on a moving object such as a robot or a vehicle, the movement of the moving object The projected light pattern to be irradiated sometimes deviates from the measurement object. Then, since the irregular projection pattern is divided between the measurement object and the background, there is a problem that the projection pattern cannot be associated and the distance cannot be measured. In addition, even when the measurement object moves, there is a problem that the distance measurement cannot be performed because the projection pattern does not hit the measurement object.

そこで、本発明は、上述した実情に鑑みて提案されたものであり、移動物体に搭載しても移動しながら途切れることなく正確に距離を計測することのできる距離計測装置及びその方法を提供することを目的とする。  Therefore, the present invention has been proposed in view of the above-described circumstances, and provides a distance measuring apparatus and method capable of accurately measuring a distance without interruption while moving even when mounted on a moving object. For the purpose.

本発明に係る距離計測装置は、移動物体前方の画像を撮像する撮像部と、移動物体の前方に投光パターンを照射する投光部と、撮像部で撮像された画像から計測対象物に照射された投光パターンのドットを抽出する照射光抽出部と、照射光抽出部で抽出された投光パターンの照射方位を算出する照射方位算出部と、照射方位と撮像部の撮像方向と投光部と撮像部との間の距離とを用いて幾何学的関係から計測対象物までの距離を計測する距離計測部とを備えており、照射される投光パターンが、撮像部で撮像される画像上の消失点から放射される直線上に並ぶように複数のドットが配置された構成となっていることにより、上述した課題を解決する。 Distance measuring device according to the present invention includes an imaging unit for capturing an image of a moving object forward, a light projecting unit for irradiating a projected pattern in front of the moving objects, an imaging measurement object from an image captured by the unit An irradiation light extraction unit that extracts dots of the projection pattern irradiated to the irradiation light; an irradiation direction calculation unit that calculates an irradiation direction of the projection pattern extracted by the irradiation light extraction unit; and an irradiation direction and an imaging direction of the imaging unit. A distance measuring unit that measures the distance from the geometric relationship to the measurement object using the distance between the light projecting unit and the imaging unit, and the projected light projection pattern is captured by the imaging unit. The above-described problem is solved by a configuration in which a plurality of dots are arranged so as to be aligned on a straight line radiated from the vanishing point on the image to be displayed.

本発明に係る距離計測装置及び距離計測方法によれば、撮像される画像上の消失点から放射される直線上に並ぶように複数のドットを配置した投光パターンを照射することによって計測対象物までの距離を計測するので、ロボットや車両等の移動物体に搭載したとしても途切れることなく常に距離を計測することができる。 According to the distance measuring apparatus and a distance measuring method according to the present invention, the measurement object by irradiating the projection pattern in which a plurality of dots so as to be aligned on a straight line emanating from the vanishing point on the image captured Therefore, even if it is mounted on a moving object such as a robot or a vehicle, the distance can always be measured without interruption.

本発明を適用した第1実施形態に係る距離計測装置の構成を示すブロック図である。It is a block diagram which shows the structure of the distance measuring device which concerns on 1st Embodiment to which this invention is applied. 本発明を適用した第1実施形態に係る距離計測装置を車両に搭載した場合の一例を示す図である。It is a figure which shows an example at the time of mounting the distance measuring device which concerns on 1st Embodiment to which this invention is applied to a vehicle. 本発明を適用した第1実施形態に係る距離計測装置による距離計測処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the distance measurement process by the distance measuring device which concerns on 1st Embodiment to which this invention is applied. 本発明を適用した第1実施形態に係る距離計測装置によって照射される投光パターンの一例を示す図である。It is a figure which shows an example of the light projection pattern irradiated with the distance measuring device which concerns on 1st Embodiment to which this invention is applied. 本発明を適用した第1実施形態に係る距離計測装置による距離計測方法を説明するための図である。It is a figure for demonstrating the distance measuring method by the distance measuring device which concerns on 1st Embodiment to which this invention is applied. 本発明を適用した第2実施形態に係る距離計測装置による距離計測処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the distance measurement process by the distance measuring device which concerns on 2nd Embodiment to which this invention is applied. 本発明を適用した第2実施形態に係る距離計測装置によって照射される投光パターンの一例を示す図である。It is a figure which shows an example of the light projection pattern irradiated with the distance measuring device which concerns on 2nd Embodiment to which this invention is applied. 本発明を適用した第2実施形態に係る距離計測装置による距離計測方法を説明するための図である。It is a figure for demonstrating the distance measuring method by the distance measuring device which concerns on 2nd Embodiment to which this invention is applied.

以下、本発明を適用した第1及び第2実施形態について図面を参照して説明する。   Hereinafter, first and second embodiments to which the present invention is applied will be described with reference to the drawings.

[第1実施形態]
[距離計測装置の構成]
図1は本実施形態に係る距離計測装置の構成を示すブロック図である。
[First Embodiment]
[Configuration of distance measuring device]
FIG. 1 is a block diagram showing a configuration of a distance measuring apparatus according to this embodiment.

図1に示すように、本実施形態に係る距離計測装置1は、複数のドットが配置された投光パターンを照射する投光部2と、投光パターンが照射された方向の画像を撮像する撮像部3と、撮像部3で撮像された画像から計測対象物に照射された投光パターンのドットを抽出する照射光抽出部4と、照射光抽出部4で抽出された投光パターンの照射方位を算出する照射方位算出部5と、計測対象物までの距離を計測する距離計測部6とを備えている。   As shown in FIG. 1, the distance measuring apparatus 1 according to the present embodiment captures a light projecting unit 2 that irradiates a light projecting pattern in which a plurality of dots are arranged, and an image in a direction in which the light projecting pattern is irradiated. The imaging unit 3, the irradiation light extraction unit 4 that extracts dots of the projection pattern irradiated to the measurement object from the image captured by the imaging unit 3, and the irradiation of the projection pattern extracted by the irradiation light extraction unit 4 An irradiation azimuth calculating unit 5 that calculates the azimuth and a distance measuring unit 6 that measures the distance to the measurement object are provided.

ここで、本実施形態に係る距離計測装置1は、ロボットや車両等の移動物体に搭載されており、計測対象物に照射された投光パターンを撮像部3で撮像し、投光パターンが照射された照射方位と撮像部3の撮像方向と投光部2と撮像部3との間の距離とを用いて幾何学的関係から計測対象物までの距離を計測するものである。   Here, the distance measuring device 1 according to the present embodiment is mounted on a moving object such as a robot or a vehicle, and the light projection pattern irradiated to the measurement object is imaged by the imaging unit 3, and the light projection pattern is irradiated. The distance from the geometric relationship to the measurement object is measured using the irradiated direction, the imaging direction of the imaging unit 3, and the distance between the light projecting unit 2 and the imaging unit 3.

投光部2は、複数のドットが配置された投光パターンを生成する投光パターン生成部21と、投光パターンの照射/非照射を制御する投光パターン制御部22と、投光パターンを計測対象物へ照射する投光器23とを備えている。そして、照射される投光パターンは、撮像部3で撮像された画像上の消失点から放射される直線上に複数のドットが配置された構成となっている。 The light projection unit 2 includes a light projection pattern generation unit 21 that generates a light projection pattern in which a plurality of dots are arranged, a light projection pattern control unit 22 that controls irradiation / non-irradiation of the light projection pattern, and a light projection pattern. And a projector 23 for irradiating the measurement object. The irradiated light projection pattern has a configuration in which a plurality of dots are arranged on a straight line radiated from a vanishing point on an image captured by the imaging unit 3 .

投光パターン生成部21は、投光器23及び撮像部3の配置に基づいて予め作成された投光パターンをメモリ等の記憶装置から読み出して投光パターン制御部22へ送信している。   The projection pattern generation unit 21 reads a projection pattern created in advance based on the arrangement of the projector 23 and the imaging unit 3 from a storage device such as a memory, and transmits the projection pattern to the projection pattern control unit 22.

投光パターン制御部22は、投光パターンの照射/非照射を制御するための照射制御信号を出力して投光器23を制御している。   The light projecting pattern control unit 22 controls the light projector 23 by outputting an irradiation control signal for controlling irradiation / non-irradiation of the light projecting pattern.

投光器23は、投光パターンを照射するための発光装置であり、投光パターンを移動物体の移動方向に照射している。   The projector 23 is a light emitting device for irradiating a projection pattern, and irradiates the projection pattern in the moving direction of the moving object.

撮像部3は、移動物体の移動方向の画像を撮像するビデオカメラ等であり、投光パターンが照射される領域の画像を連続的に撮像している。   The imaging unit 3 is a video camera or the like that captures an image in the moving direction of a moving object, and continuously captures an image of a region irradiated with a light projection pattern.

照射光抽出部4は、投光パターン制御部22から出力される照射制御信号に基づいて、撮像部3で撮像された画像の画像輝度値が明るく変化している領域を投光パターンとして抽出する。   Based on the irradiation control signal output from the projection pattern control unit 22, the irradiation light extraction unit 4 extracts a region where the image luminance value of the image captured by the imaging unit 3 changes brightly as a projection pattern. .

照射方位算出部5は、照射光抽出部4で抽出された投光パターンのドットと投光パターン生成部21で生成された投光パターンとを比較して、計測対象物に照射された投光パターンのドットがどの方位に照射されたドットであるかを求めて照射方位を算出している。   The irradiation azimuth calculation unit 5 compares the projection pattern dots extracted by the irradiation light extraction unit 4 with the projection pattern generated by the projection pattern generation unit 21, and projects the projection onto the measurement object. The irradiation azimuth is calculated by determining in which direction the dot of the pattern is irradiated.

距離計測部6は、計測対象物に照射された投光パターンの照射方位と撮像部3の撮像方向と投光器23と撮像部3との間の距離とを用いて幾何学的関係から三角測量で計測対象物までの距離を計測している。   The distance measurement unit 6 performs triangulation from a geometrical relationship using the irradiation direction of the projection pattern irradiated to the measurement object, the imaging direction of the imaging unit 3, and the distance between the projector 23 and the imaging unit 3. The distance to the measurement object is measured.

次に、図2を参照して本実施形態に係る距離計測装置1を構成する各部の配置を説明する。図2に示すように、本実施形態に係る距離計測装置1を移動物体の一例として車両に搭載した場合に、投光器23はドアミラーに組み込まれており、車両前方に向けて複数のドットで構成された投光パターンを照射している。撮像部3は投光器23の横に設置され、投光器23と一緒にドアミラーに組み込まれている。そして、撮像部3は、車両前方を連続的に撮像し、投光器23から照射された投光パターンによって照らされた領域を撮像する。演算ユニット25は車室内に配置され、以下で説明する距離計測処理等の処理を実施して投光パターンが照射された計測対象物までの距離を計測する。   Next, with reference to FIG. 2, the arrangement of each part constituting the distance measuring apparatus 1 according to the present embodiment will be described. As shown in FIG. 2, when the distance measuring device 1 according to the present embodiment is mounted on a vehicle as an example of a moving object, the projector 23 is incorporated in a door mirror and is configured with a plurality of dots toward the front of the vehicle. Irradiated with a light projection pattern. The imaging unit 3 is installed beside the projector 23 and is incorporated in the door mirror together with the projector 23. And the imaging part 3 images continuously the vehicle front, and images the area | region illuminated by the light projection pattern irradiated from the light projector 23. FIG. The arithmetic unit 25 is disposed in the vehicle interior and measures the distance to the measurement object irradiated with the light projection pattern by performing processing such as distance measurement processing described below.

尚、図2では車両に搭載した場合を例として説明しているが、車両でなくてもロボット等でもよく、空間を移動する移動物体であれば、本実施形態に係る距離計測装置1を搭載することは可能である。   Note that FIG. 2 illustrates an example in which the vehicle is mounted on a vehicle. However, the distance measuring device 1 according to the present embodiment is mounted on any moving object that moves in space as long as it is not a vehicle but a robot or the like. It is possible to do.

[距離計測処理の手順]
次に、本実施形態に係る距離計測装置1による距離計測処理の手順を図3のフローチャートを参照して説明する。
[Distance measurement procedure]
Next, the procedure of distance measurement processing by the distance measurement apparatus 1 according to the present embodiment will be described with reference to the flowchart of FIG.

図3に示すように、ステップS101において、投光器23及び撮像部3の配置に合わせて予め作成された投光パターンをメモリ等の記憶装置から読み込んで生成する。   As shown in FIG. 3, in step S <b> 101, a projection pattern created in advance according to the arrangement of the projector 23 and the imaging unit 3 is read from a storage device such as a memory and generated.

ここで、本実施形態の投光パターンを、図4を参照して説明する。図4に示すように、投光パターンは、撮像部3で撮像された画像上の消失点から放射される複数の直線上に複数の特定用ドットが配置された構成となっており、図4では上下の三角模様(▼、▲)や四角模様(■)などのさまざまな形状の特定用ドットで構成されている。このように特定用ドットを撮像部3で撮像された画像上の消失点から放射される直線上に並べたことによって、車両が移動したとしても計測対象物にドット光が順次照射されることになる。 Here, the light projection pattern of this embodiment is demonstrated with reference to FIG. As shown in FIG. 4, the projection pattern has a configuration in which a plurality of identification dots are arranged on a plurality of straight lines radiated from vanishing points on the image captured by the imaging unit 3 . In this case, it is composed of dots for specifying in various shapes such as upper and lower triangular patterns (▼, ▲) and square patterns (■). By arranging in this way a specific dot on the straight line which is the vanishing point or et radiation on the image captured by the imaging unit 3, the dot light is sequentially irradiated to even the measurement object as a vehicle moves become.

また、特定用ドットは、色や形状等を相違させて撮像部3で撮像したときにそれぞれ弁別可能な唯一のパターンとなっている。図4では、上下の三角模様(▼、▲)や四角模様(■)、丸模様(●)を始め、さまざまな形状の特定用ドットが配置されており、すべての特定用ドットがそれぞれ弁別可能な唯一のパターンとなっている。このようにすべての特定用ドットを弁別可能な唯一のパターンで構成したことにより、計測対象物に照射されたドット光がどの方位に照射されたドット光であるかを弁別し、撮像した画像から照射方位及び撮像方向を算出することができる。   Further, the specifying dots are the only patterns that can be discriminated when imaged by the imaging unit 3 with different colors and shapes. In Fig. 4, various specific dots are arranged, including upper and lower triangular patterns (▼, ▲), square patterns (■), and round patterns (●), and all the specific dots can be distinguished. This is the only pattern. In this way, by configuring all the dots for identification with a unique pattern that can be discriminated, it is possible to discriminate in which direction the dot light irradiated to the measurement object is irradiated, and from the captured image An irradiation direction and an imaging direction can be calculated.

次に、ステップS102では、ステップS101で生成された投光パターンを投光器23のランプを点灯させて移動物体の移動方向に向かって照射する。そして、投光パターンが照射されると、ステップS103において投光パターンが照射された状態の画像を撮像部3が撮像する。   Next, in step S102, the projection pattern generated in step S101 is irradiated in the moving direction of the moving object by turning on the lamp of the projector 23. Then, when the projection pattern is irradiated, the imaging unit 3 captures an image in a state where the projection pattern is irradiated in step S103.

次に、ステップS104において投光器23を消灯すると、ステップS105では投光パターンが照射されていない状態の画像を撮像部3が撮像する。こうして投光パターンが照射された画像と照射されていない画像が撮像されると、ステップS106において投光パターンが照射されたときの画像と投光パターンが照射されていないときの画像とを比較して各画素の差分を計算する。そして、ステップS107では、ステップS106で算出された差分に基づいて計測対象物に当たって反射した投光パターンの特定用ドットを抽出する。   Next, when the projector 23 is turned off in step S104, the imaging unit 3 captures an image in a state where the projection pattern is not irradiated in step S105. When the image irradiated with the projection pattern and the image not irradiated are captured in this manner, the image when the projection pattern is irradiated is compared with the image when the projection pattern is not irradiated in step S106. To calculate the difference of each pixel. In step S107, the dots for specifying the light projection pattern reflected by the object to be measured are extracted based on the difference calculated in step S106.

ここで、上述した処理について、図5を参照して説明する。図5は、図4で示した投光パターンを車両から照射した場合に、特定用ドットが計測対象物に照射されている様子を説明するための図である。図5では、時刻T0から時刻T5までの間に移動する車両と計測対象物との間の相対的位置関係を示しており、時刻T0では投光パターンの最上段にある上三角模様(▲)が計測対象物に照射され、次に時刻T3では投光パターンの中段にある四角模様(■)が計測対象物に順次照射されている。そして、時刻T5では投光パターンの下段にある丸模様(●)が計測対象物に順次照射されている。これは、投光器23の車両取り付け位置と車両の動きにより、投光面上において計測対象物の動く方向が決まるためであり、特定用ドットを撮像部3で撮像された画像上の消失点から放射される直線上に並べたことにより、移動物体が移動することによって順次特定用ドットが計測対象物に照射されることになる。 Here, the processing described above will be described with reference to FIG. FIG. 5 is a diagram for explaining how the measurement target object is irradiated with the specifying dots when the projection pattern shown in FIG. 4 is irradiated from the vehicle. FIG. 5 shows the relative positional relationship between the vehicle moving from time T0 to time T5 and the measurement object. At time T0, the upper triangular pattern (▲) at the top of the projection pattern. Is irradiated to the measurement object, and then at time T3, the square pattern (■) in the middle of the projection pattern is sequentially irradiated to the measurement object. At time T5, a round pattern (●) in the lower stage of the light projection pattern is sequentially irradiated onto the measurement object. This is because the moving direction of the measurement object on the projection surface is determined by the vehicle mounting position of the projector 23 and the movement of the vehicle, and the identification dot is emitted from the vanishing point on the image captured by the imaging unit 3. By arranging them on the straight line, the measurement object is sequentially irradiated with the specifying dots as the moving object moves.

次に、ステップS108において、ステップS107で抽出された特定用ドットを弁別して特定用ドットの照射方位を算出する。各特定用ドットはそれぞれ異なる形状をしているので、容易に弁別して照射方位を算出することができる。このように撮像した画像から特定用ドットの照射方位を算出できるので、途切れのない距離計測が可能となる。   Next, in step S108, the identification dot extracted in step S107 is discriminated to calculate the irradiation direction of the identification dot. Since each specifying dot has a different shape, it is possible to easily distinguish and calculate the irradiation direction. Since the irradiation direction of the specifying dot can be calculated from the captured image in this way, distance measurement without interruption is possible.

こうして照射方位が算出されると、ステップS109では、撮像された画像位置から特定用ドットの撮像方向を算出し、この撮像方向とステップS108で算出した照射方位と、投光器23と撮像部3との間の幾何学的配置から三角測量によって距離を計測する。   When the irradiation direction is thus calculated, in step S109, the imaging direction of the specifying dot is calculated from the captured image position, and the imaging direction, the irradiation direction calculated in step S108, and the projector 23 and the imaging unit 3 are calculated. Measure the distance by triangulation from the geometric arrangement between.

具体的に説明すると、照射方位がθc、撮像方向がθp、撮像部3と投光器23との間の距離をdとして、撮像部3と投光器23との間を結ぶ直線Aに計測対象物から垂線Bを下ろす。そして、投光器23から垂線Bと直線Aとの接点までの距離をdc、撮像部3から垂線Bと直線Aとの接点までの距離をdpとすると、垂線Bの長さ、すなわち計測対象物までの距離Lは以下の式で表すことができる。   More specifically, assuming that the irradiation azimuth is θc, the imaging direction is θp, and the distance between the imaging unit 3 and the projector 23 is d, a perpendicular line extends from the measurement object to the straight line A connecting the imaging unit 3 and the projector 23. Lower B. If the distance from the projector 23 to the contact point between the perpendicular B and the straight line A is dc, and the distance from the imaging unit 3 to the contact point between the perpendicular B and the straight line A is dp, the length of the perpendicular B, that is, the measurement object The distance L can be expressed by the following equation.

d=dc+dp
dc=L・tanθc
dp=L・tanθp
したがって、この式を解くことによって、計測対象物までの距離Lを算出することができる。
d = dc + dp
dc = L · tan θc
dp = L · tanθp
Therefore, by solving this equation, the distance L to the measurement object can be calculated.

このようにして計測対象物までの距離が算出されると、本実施形態に係る距離計測装置1による距離計測処理は終了する。   When the distance to the measurement object is calculated in this way, the distance measurement process by the distance measurement apparatus 1 according to the present embodiment is completed.

[第1実施形態の効果]
以上詳細に説明したように、本発明を適用した第1実施形態に係る距離計測装置によれば、消失点から放射される直線上に複数の特定用ドットを配置した投光パターンを照射することによって計測対象物までの距離を計測するので、本距離計測装置をロボットや車両等の移動物体に搭載しても計測対象物にドット光が順次照射され、途切れることなく常に距離を計測することができる。
[Effect of the first embodiment]
As described above in detail, according to the distance measuring apparatus according to the first embodiment to which the present invention is applied, the projection pattern in which a plurality of specifying dots are arranged on a straight line radiated from the vanishing point is irradiated. Since the distance to the measurement object is measured by this, even if this distance measurement device is mounted on a moving object such as a robot or a vehicle, the measurement object is sequentially irradiated with dot light, and the distance can always be measured without interruption. it can.

また、本距離計測装置によれば、特定用ドットがそれぞれ弁別可能な唯一のパターンで構成されているので、計測対象物に照射されたドット光を確実に弁別することが可能となり、正確に計測対象物までの距離を計測することができる。   In addition, according to the distance measuring device, because the dots for identification are configured with a unique pattern that can be distinguished from each other, it is possible to reliably discriminate the dot light irradiated to the measurement object, and to measure accurately. The distance to the object can be measured.

[第2の実施形態]
次に、本発明を適用した第2実施形態について図面を参照して説明する。尚、本実施形態に係る距離計測装置の構成は上述した第1実施形態と同様なので、詳細な説明は省略する。
[Second Embodiment]
Next, a second embodiment to which the present invention is applied will be described with reference to the drawings. The configuration of the distance measuring apparatus according to the present embodiment is the same as that of the first embodiment described above, and detailed description thereof is omitted.

[距離計測処理の手順]
本実施形態に係る距離計測装置による距離計測処理の手順を図6のフローチャートを参照して説明する。
[Distance measurement procedure]
The procedure of distance measurement processing by the distance measuring apparatus according to the present embodiment will be described with reference to the flowchart of FIG.

図6に示すように、ステップS201において、投光器23及び撮像部3の配置に合わせて予め作成された投光パターンをメモリ等の記憶装置から読み込んで生成する。   As shown in FIG. 6, in step S <b> 201, a projection pattern created in advance according to the arrangement of the projector 23 and the imaging unit 3 is read from a storage device such as a memory and generated.

ここで、本実施形態の投光パターンを、図7を参照して説明する。図7に示すように、本実施形態の投光パターンは、第1実施形態で説明した特定用ドットに加えて計測用ドットをさらに配置した構成となっている。   Here, the light projection pattern of this embodiment is demonstrated with reference to FIG. As shown in FIG. 7, the light projection pattern of this embodiment has a configuration in which measurement dots are further arranged in addition to the specifying dots described in the first embodiment.

図7に示すように、計測用ドットは、特定用ドットのそれぞれに対して複数配置されており、撮像部3で撮像された画像上の消失点から放射される直線上に配置され、撮像部3で撮像される画像の単位画素の大きさを有している。例えば、図7では1つの特定用ドットTに対して計測用ドットS1〜S6の6個が配置されている。また、計測用ドットSは特定用ドットTの下方に少なくとも1つ配置され、特定用ドットTの幅Wは計測用ドットSが少なくとも2つ入る幅を有している。 As shown in FIG. 7, a plurality of measurement dots are arranged for each of the specifying dots, arranged on a straight line radiated from a vanishing point on the image taken by the imaging unit 3, and the imaging unit 3 has the size of the unit pixel of the image captured. For example, in FIG. 7, six measurement dots S1 to S6 are arranged for one identification dot T. In addition, at least one measurement dot S is arranged below the specification dot T, and the width W of the specification dot T has a width that allows at least two measurement dots S to enter.

次に、ステップS202では、ステップS201で生成された投光パターンを投光器23のランプを点灯させて移動物体の移動方向に向かって照射する。そして、投光パターンが照射されると、ステップS203において投光パターンが照射された状態の画像を撮像部3が撮像する。   Next, in step S202, the projection pattern generated in step S201 is irradiated in the moving direction of the moving object by turning on the lamp of the projector 23. Then, when the light projection pattern is irradiated, the imaging unit 3 captures an image in a state where the light projection pattern is irradiated in step S203.

次に、ステップS204において投光器23を消灯すると、ステップS205では投光パターンが照射されていない状態の画像を撮像部3が撮像する。こうして投光パターンが照射された画像と照射されていない画像が撮像されると、ステップS206において投光パターンが照射されたときの画像と投光パターンが照射されていないときの画像とを比較して各画素の差分を計算する。そして、ステップS207では、ステップS206で算出された差分に基づいて、計測対象物に当たって反射した投光パターンを抽出する。   Next, when the projector 23 is turned off in step S204, the imaging unit 3 captures an image in a state where the projection pattern is not irradiated in step S205. When the image irradiated with the projection pattern and the image not irradiated are captured in this way, in step S206, the image when the projection pattern is irradiated is compared with the image when the projection pattern is not irradiated. To calculate the difference of each pixel. In step S207, based on the difference calculated in step S206, the light projection pattern reflected by the measurement object is extracted.

次に、ステップS208では抽出された投光パターンを構成するドット光を大きさによって特定用ドットと計測用ドットとに弁別する。   Next, in step S208, the dot light constituting the extracted light projection pattern is discriminated into a specifying dot and a measurement dot according to the size.

ここで、上述した処理について、図8を参照して説明する。図8は、図7で示した投光パターンを車両から照射した場合に、投光パターンが計測対象物に照射されている様子を説明するための図である。図8では、時刻T0から時刻T2まで車両が移動した場合に、直立した計測対象物80に投光パターンが照射されている様子を示している。時刻T0では特定用ドットTと計測用ドットS1、S2が計測対象物80に照射されており、時刻T1では特定用ドットTの一部が計測対象物80から外れて計測用ドットS1〜S3が計測対象物80に順次照射されている。そして、時刻T2では特定用ドットTと計測用ドットS1が計測対象物80から外れて計測用ドットS2〜S4が計測対象物80に順次照射されている。   Here, the processing described above will be described with reference to FIG. FIG. 8 is a diagram for explaining a state in which the light projection pattern is irradiated on the measurement object when the light projection pattern shown in FIG. 7 is irradiated from the vehicle. In FIG. 8, when the vehicle moves from the time T0 to the time T2, a state where the light projection pattern is irradiated to the upright measuring object 80 is shown. At time T0, the specifying dot T and the measuring dots S1, S2 are irradiated to the measuring object 80, and at time T1, a part of the specifying dot T is detached from the measuring object 80 and the measuring dots S1 to S3 are set. The measurement object 80 is sequentially irradiated. At time T2, the specifying dot T and the measuring dot S1 are removed from the measuring object 80, and the measuring dots S2 to S4 are sequentially irradiated onto the measuring object 80.

上述したように、特定用ドットと計測用ドットが順次計測対象物に照射され、計測対象物で反射した特定用ドットと計測用ドットが弁別されると、ステップS209ではステップS208で弁別された特定用ドット及び計測用ドットについて、1フレーム前の特定用ドット及び計測用ドットとの同定処理を行う。   As described above, when the measurement dot is sequentially irradiated with the specifying dot and the measurement dot, and the specifying dot and the measurement dot reflected by the measurement target are discriminated, the identification discriminated in step S208 in step S209. For the dot for measurement and the dot for measurement, the identification process with the dot for specification and the dot for measurement one frame before is performed.

具体的に説明すると、抽出された特定用ドットが1フレーム前の画像のどの位置に撮像されていたかを特定して対応付けを行い、特定用ドットの推移を追跡する。このとき特定用ドットは弁別可能な唯一のパターンで形成されているので、1フレーム前の画像に撮像されている特定用ドットを特定することができる。そして、特定用ドットが特定されると、 次に特定用ドットからの順番によって計測用ドットのそれぞれを弁別して特定する。そして、ステップS208で弁別された計測用ドットが1フレーム前の画像のどの位置に撮像されていたかを特定して対応付けを行い、計測用ドットの推移を追跡する。   More specifically, the position of the extracted identification dot is identified and associated with the position in the image one frame before, and the transition of the identification dot is traced. At this time, since the specifying dots are formed in a unique pattern that can be discriminated, the specifying dots captured in the image one frame before can be specified. When the specifying dot is specified, each of the measurement dots is discriminated and specified according to the order from the specifying dot. Then, the position where the measurement dot discriminated in step S208 is imaged one frame before is identified and associated, and the transition of the measurement dot is traced.

次に、ステップS210において、ステップS209で対応付けられた計測用ドットの照射方位を算出して照射方位情報として保持する。このとき新たに観測された計測用ドットは撮像部3で撮像された画像上の消失点から放射される直線上に並んでいる隣の計測用ドットあるいは上に存在する特定用ドットによって照射方位を特定して保持する。
Next, in step S210, the irradiation direction of the measurement dots associated in step S209 is calculated and held as irradiation direction information. At this time, the newly observed measurement dots have their irradiation directions determined by the adjacent measurement dots arranged on a straight line radiated from the vanishing point on the image picked up by the image pickup unit 3 or by the specifying dots existing above. Identify and hold.

こうして照射方位が算出されると、ステップS211では、撮像された画像位置から計測用ドットの撮像方向を算出し、この撮像方向とステップS210で算出した照射方位と、投光器23と撮像部3との間の幾何学的配置から三角測量によって距離を計測する。   When the irradiation direction is thus calculated, in step S211, the imaging direction of the measurement dot is calculated from the captured image position, and the imaging direction, the irradiation direction calculated in step S210, the projector 23, and the imaging unit 3 are calculated. Measure the distance by triangulation from the geometric arrangement between.

このようにして計測対象物までの距離が算出されると、本実施形態に係る距離計測装置による距離計測処理は終了する。   When the distance to the measurement object is calculated in this way, the distance measurement process by the distance measurement device according to the present embodiment is completed.

[第2実施形態の効果]
以上詳細に説明したように、本発明を適用した第2実施形態に係る距離計測装置によれば、撮像部で撮像される画像の単位画素の大きさを有する計測用ドットをさらに含み、計測用ドットは特定用ドットのそれぞれに対して複数配置されているので、特定用ドットが計測対象物に分断して照射されるような場合でも、計測用ドットが計測対象物に必ず照射され、これによって途切れることなく常に距離を計測することができる。
[Effects of Second Embodiment]
As described above in detail, according to the distance measuring device according to the second embodiment to which the present invention is applied, the distance measuring device further includes a measurement dot having a size of a unit pixel of an image captured by the imaging unit, Since a plurality of dots are arranged for each of the specific dots, even when the specific dots are divided and irradiated on the measurement object, the measurement dots are always irradiated to the measurement object, The distance can always be measured without interruption.

また、本距離計測装置によれば、特定用ドットは計測用ドットが少なくとも2つ入る幅を有し、特定用ドットの下方に少なくとも1つ計測用ドットが配置されているので、特定用ドットの位置に基づいて特定用ドットの下方に配置された計測用ドットの位置を特定することができ、これによって正確に計測対象物までの距離を計測することができる。   Further, according to the distance measuring device, the specifying dot has a width in which at least two measuring dots are included, and at least one measuring dot is arranged below the specifying dot. Based on the position, the position of the measurement dot arranged below the specification dot can be specified, and thereby the distance to the measurement object can be accurately measured.

さらに、本距離計測装置によれば、ドットの大きさによって特定用ドットと計測用ドットとを弁別し、特定用ドットからの順番によって計測用ドットのそれぞれを弁別して各計測用ドットが照射された照射方位を算出するので、それぞれの計測用ドットの位置を特定することができ、これによって正確に計測対象物までの距離を計測することができる。   Furthermore, according to this distance measuring device, the dots for measurement and the dots for measurement are discriminated according to the size of the dots, and the dots for measurement are discriminated according to the order from the dots for specification, and each measurement dot is irradiated. Since the irradiation direction is calculated, the position of each measurement dot can be specified, and thereby the distance to the measurement object can be accurately measured.

なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施の形態に限定されることはなく、この実施の形態以外の形態であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計などに応じて種々の変更が可能であることは勿論である。   The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and even if it is a form other than this embodiment, as long as it does not depart from the technical idea according to the present invention, the design and the like Of course, various modifications are possible.

1 距離計測装置
2 投光部
3 撮像部
4 照射光抽出部
5 照射方位算出部
6 距離計測部
21 投光パターン生成部
22 投光パターン制御部
23 投光器
25 演算ユニット
80 計測対象物
DESCRIPTION OF SYMBOLS 1 Distance measuring device 2 Light projection part 3 Imaging part 4 Irradiation light extraction part 5 Irradiation direction calculation part 6 Distance measurement part 21 Light projection pattern production | generation part 22 Light projection pattern control part 23 Light projector 25 Calculation unit 80 Measurement object

Claims (6)

路面上を移動する移動物体に搭載されて前記路面上に設置された計測対象物との間の距離を計測する距離計測装置であって、
前記移動物体前方の画像を撮像する撮像手段と、
前記撮像手段で撮像される画像上の消失点から放射される直線上に並ぶように複数のドットを配置した投光パターンを前記路面に対して照射する投光手段と、
前記撮像手段で撮像された画像から前記計測対象物に照射された前記投光パターンのドットを抽出する照射光抽出手段と、
前記照射光抽出手段で抽出された前記投光パターンのドットから前記投光パターンのドットが照射された照射方位を算出する照射方位算出手段と、
前記照射方位と前記撮像手段の撮像方向と前記投光手段と前記撮像手段との間の距離とを用いて幾何学的関係から前記計測対象物までの距離を計測する距離計測手段と
を備えていることを特徴とする距離計測装置。
A distance measurement device that measures a distance between a measurement object mounted on a moving object that moves on a road surface and installed on the road surface ,
Imaging means for imaging an image in front of the moving object;
A light projecting unit that irradiates the road surface with a light projecting pattern in which a plurality of dots are arranged so as to be arranged on a straight line radiated from a vanishing point on an image captured by the image capturing unit;
Irradiation light extraction means for extracting the dots of the projection pattern irradiated on the measurement object from the image captured by the imaging means;
Irradiation azimuth calculating means for calculating the irradiation azimuth irradiated with the dots of the projection pattern from the dots of the projection pattern extracted by the irradiation light extraction means;
Distance measuring means for measuring the distance from the geometric relationship to the measurement object using the irradiation direction, the imaging direction of the imaging means, and the distance between the light projecting means and the imaging means. A distance measuring device characterized by being.
前記消失点から放射される直線上に並ぶように配置された複数のドットは、それぞれ弁別可能な唯一のパターンで構成された特定用ドットであることを特徴とする請求項1に記載の距離計測装置。   The distance measurement according to claim 1, wherein the plurality of dots arranged so as to be aligned on a straight line radiated from the vanishing point are identification dots each configured by a unique pattern that can be distinguished. apparatus. 前記消失点から放射される直線上に並ぶように配置された複数のドットは、前記撮像手段で撮像される画像の単位画素の大きさを有する計測用ドットをさらに含み、前記計測用ドットは前記特定用ドットのそれぞれに対して複数配置されていることを特徴とする請求項2に記載の距離計測装置。   The plurality of dots arranged so as to be arranged on a straight line radiated from the vanishing point further includes a measurement dot having a size of a unit pixel of an image captured by the imaging unit, and the measurement dot is the The distance measuring device according to claim 2, wherein a plurality of the dots for identification are arranged. 前記特定用ドットは前記計測用ドットが少なくとも2つ入る幅を有し、前記計測用ドットは前記特定用ドットの下方に少なくとも1つ配置されていることを特徴とする請求項3に記載の距離計測装置。   4. The distance according to claim 3, wherein the identification dot has a width in which at least two of the measurement dots are included, and at least one measurement dot is disposed below the identification dot. 5. Measuring device. 前記照射方位算出手段は、ドットの大きさによって前記特定用ドットと前記計測用ドットとを弁別し、前記特定用ドットからの順番によって前記計測用ドットのそれぞれを弁別して、弁別された前記計測用ドットが照射された照射方位を算出することを特徴とする請求項3または請求項4に記載の距離計測装置。   The irradiation direction calculating means discriminates the specifying dot and the measuring dot according to the size of the dot, discriminates each of the measuring dots according to the order from the specifying dot, and discriminates the measured dot The distance measuring device according to claim 3 or 4, wherein an irradiation direction irradiated with dots is calculated. 路面上を移動する移動物体前方の画像を撮像する撮像手段と前記移動物体前方を照射する投光手段とを備えた距離計測装置により前記移動物体と前記路面上に設置された計測対象物との間の距離を計測する距離計測方法であって、
前記撮像手段で撮像される画像上の消失点から放射される直線上に並ぶように複数のドットを配置した投光パターンを、前記投光手段から前記路面に対して照射する投光パターン照射ステップと、
前記移動物体前方の画像を前記撮像手段から撮像する撮像ステップと、
前記撮像ステップで撮像された画像から前記計測対象物に照射された前記投光パターンのドットを抽出する照射光抽出ステップと、
前記照射光抽出ステップで抽出された前記投光パターンのドットから前記投光パターンのドットが照射された照射方位を算出する照射方位算出ステップと、
前記照射方位と前記撮像手段の撮像方向と前記投光手段と前記撮像手段との間の距離とを用いて幾何学的関係から前記計測対象物までの距離を計測する距離計測ステップと
を含むことを特徴とする距離計測方法。
A distance measuring device including an imaging unit that captures an image in front of a moving object that moves on a road surface and a light projecting unit that irradiates the front of the moving object is used to measure the moving object and a measurement object installed on the road surface . A distance measuring method for measuring the distance between
Projection pattern irradiation step of irradiating the road surface from the projection unit with a projection pattern in which a plurality of dots are arranged so as to be aligned on a straight line radiated from a vanishing point on the image captured by the imaging unit When,
An imaging step of imaging an image ahead of the moving object from the imaging means;
An irradiation light extraction step for extracting dots of the projection pattern irradiated on the measurement object from the image captured in the imaging step;
An irradiation azimuth calculating step for calculating an irradiation azimuth irradiated with the dots of the projection pattern from the dots of the projection pattern extracted in the irradiation light extraction step;
A distance measuring step of measuring a distance from the geometric relationship to the measurement object using the irradiation direction, the imaging direction of the imaging means, and the distance between the light projecting means and the imaging means. A distance measurement method characterized by
JP2010187091A 2010-08-24 2010-08-24 Distance measuring device and distance measuring method Expired - Fee Related JP5764888B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010187091A JP5764888B2 (en) 2010-08-24 2010-08-24 Distance measuring device and distance measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010187091A JP5764888B2 (en) 2010-08-24 2010-08-24 Distance measuring device and distance measuring method

Publications (2)

Publication Number Publication Date
JP2012047469A JP2012047469A (en) 2012-03-08
JP5764888B2 true JP5764888B2 (en) 2015-08-19

Family

ID=45902542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010187091A Expired - Fee Related JP5764888B2 (en) 2010-08-24 2010-08-24 Distance measuring device and distance measuring method

Country Status (1)

Country Link
JP (1) JP5764888B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI570674B (en) * 2015-12-17 2017-02-11 合盈光電科技股份有限公司 Image detection system of vehicle

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001091232A (en) * 1999-09-24 2001-04-06 Sony Corp Three-dimensional shape measuring device and method, and recording medium
JP5251419B2 (en) * 2008-10-22 2013-07-31 日産自動車株式会社 Distance measuring device and distance measuring method

Also Published As

Publication number Publication date
JP2012047469A (en) 2012-03-08

Similar Documents

Publication Publication Date Title
US20130114861A1 (en) Device and method for recognizing three-dimensional position and orientation of article
JP2011128117A5 (en) Information processing apparatus, pattern data generation apparatus, information processing method, pattern data generation method, and program
JP6625617B2 (en) Method and apparatus for identifying structural elements of a projected structural pattern in camera images
JP2008241643A (en) Three-dimensional shape measuring device
JP6237874B2 (en) Self-position calculation device and self-position calculation method
JP2009186402A (en) Orthographic projection image acquiring system using visible light
JP2007093412A (en) Three-dimensional shape measuring device
KR20230000585A (en) Method and apparatus for calibrating multiple sensors
JP2003196656A (en) Distance image processing device
JP2013257244A (en) Distance measurement device, distance measurement method, and distance measurement program
US20130113890A1 (en) 3d location sensing system and method
JP5764888B2 (en) Distance measuring device and distance measuring method
JP5482032B2 (en) Distance measuring device and distance measuring method
KR100756009B1 (en) System for 3d plane image pick up of container and a method thereof
JP5862217B2 (en) Marker detection and tracking device
JP2010071942A (en) Object detecting device
JP6241083B2 (en) Imaging apparatus and parallax detection method
JP2017161403A (en) Imaging device, method, and program, and display control device and program
US20200205633A1 (en) Arrangement and Method for Contactless Distance Determination of the Type of the Light Intersection Method
JP5989443B2 (en) Semiconductor integrated circuit and object distance measuring device
JP5272431B2 (en) Object ranging device and program
JP2008293504A (en) Object recognition device
JP2008046978A (en) Feature point extraction processing program, feature point extraction processing apparatus, and feature point extraction processing method
JP6072508B2 (en) Road surface step detection method, road surface step detection device, and vehicle equipped with road surface step detection device
JP6492974B2 (en) Self-position calculation device and self-position calculation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140701

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150421

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: 20150519

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150601

R151 Written notification of patent or utility model registration

Ref document number: 5764888

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees