JP2018163111A - Calibration method for stereo camera - Google Patents

Calibration method for stereo camera Download PDF

Info

Publication number
JP2018163111A
JP2018163111A JP2017061621A JP2017061621A JP2018163111A JP 2018163111 A JP2018163111 A JP 2018163111A JP 2017061621 A JP2017061621 A JP 2017061621A JP 2017061621 A JP2017061621 A JP 2017061621A JP 2018163111 A JP2018163111 A JP 2018163111A
Authority
JP
Japan
Prior art keywords
mirror
reflecting surface
stereo camera
mark
calibration
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.)
Pending
Application number
JP2017061621A
Other languages
Japanese (ja)
Inventor
寛 阪本
Hiroshi Sakamoto
寛 阪本
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2017061621A priority Critical patent/JP2018163111A/en
Publication of JP2018163111A publication Critical patent/JP2018163111A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a calibration method for a stereo camera that calibrates the stereo camera in a saved space.SOLUTION: A calibration method for a stereo camera comprises: a mirror arranging process of arranging a first mirror M1 and a second mirror M2 so that an interval between a first reflecting surface M10 and a second reflecting surface M20 increases from an upper side to a lower side; a mark arranging process of arranging a mark P between the first reflecting surface M10 and second reflecting surface M20; a camera arranging process of arranging the stereo camera 10 at a position of the first mirror M1, below the second mirror M2, where the mark P can be imaged through the second mirror M2; an imaging process of picking up an image including a reflection image of the mark P; and a calibration process of performing calibration on a right camera and a left camera of the stereo camera 10 based upon the image picked up by the stereo camera 10.SELECTED DRAWING: Figure 4

Description

本発明は、ステレオカメラのキャリブレーション方法に関する。   The present invention relates to a stereo camera calibration method.

例えば、特許文献1に、ステレオカメラのキャリブレーション方法が記載されている。特許文献1には、2つの鏡を平行に配置し、2つの鏡で反射した目印の反射像を含む画像に基づいて、ステレオカメラのキャリブレーションを行うことが記載されている。   For example, Patent Document 1 describes a stereo camera calibration method. Patent Document 1 describes that two mirrors are arranged in parallel and a stereo camera is calibrated based on an image including a reflection image of a mark reflected by the two mirrors.

特開2004−191354号公報JP 2004-191354 A

ここで、ステレオカメラのキャリブレーションを行う際には、ステレオカメラの近傍から遠くの領域までを撮像した画像を用いる必要があり、広いスペースが必要となる。このため、特許文献1には、鏡の反射を利用することにより省スペースでキャリブレーションを行うことが提案されている。しかしながら、本技術分野では、さらに省スペースでステレオカメラのキャリブレーションを行うことが望まれている。   Here, when calibrating a stereo camera, it is necessary to use an image obtained by imaging an area far from the vicinity of the stereo camera, and a large space is required. For this reason, Patent Document 1 proposes performing calibration in a space-saving manner by utilizing mirror reflection. However, in this technical field, it is desired to perform calibration of a stereo camera in a further space-saving manner.

本発明は、ステレオカメラのキャリブレーション方法であって、基準方向に沿って見たときに、第1の鏡の第1の反射面と第2の鏡の第2の反射面とが互いに離間した状態で対向し、基準方向における一方側から他方側に向けて第1の反射面と第2の反射面との間隔が広がるように、第1の鏡及び第2の鏡を配置する鏡配置工程と、基準方向に沿って見たときの第1の反射面と第2の反射面との間の位置、第1の反射面、及び、第2の反射面のいずれかの位置であり、且つ、第1の反射面及び第2の反射面における反射面同士の間隔が狭い側の端部よりも反射面同士の間隔が広い側の位置に目印を配置する目印配置工程と、第1の反射面及び第2の反射面における反射面同士の間隔が狭い側の端部よりも反射面同士の間隔が広い側の位置であり、且つ第1の鏡及び第2の鏡を介して目印を撮像可能な位置にステレオカメラを配置するカメラ配置工程と、第1の反射面及び第2の反射面によって反射されて得られる目印の反射像を含む画像をステレオカメラで撮像する撮像工程と、ステレオカメラで撮像された画像に基づいてステレオカメラが備える2つのカメラに対してキャリブレーションを行うキャリブレーション工程と、を備える。   The present invention is a calibration method for a stereo camera, wherein the first reflecting surface of the first mirror and the second reflecting surface of the second mirror are separated from each other when viewed along the reference direction. Mirror arrangement step of arranging the first mirror and the second mirror so that the distance between the first reflecting surface and the second reflecting surface is widened from one side in the reference direction toward the other side in the reference direction And a position between the first reflecting surface and the second reflecting surface when viewed along the reference direction, the position of the first reflecting surface, and the second reflecting surface, and A mark arranging step of arranging the mark at a position on the side where the distance between the reflecting surfaces is wider than the end of the first reflecting surface and the second reflecting surface on the side where the distance between the reflecting surfaces is narrow, and the first reflection The position on the side where the spacing between the reflecting surfaces is wider than the end of the surface and the second reflecting surface on the side where the spacing between the reflecting surfaces is narrow. And a camera arrangement step of arranging the stereo camera at a position where the mark can be imaged via the first mirror and the second mirror, and the mark obtained by being reflected by the first reflecting surface and the second reflecting surface An imaging step of capturing an image including a reflected image with a stereo camera, and a calibration step of performing calibration on two cameras included in the stereo camera based on an image captured with the stereo camera.

このステレオカメラのキャリブレーション方法において、目印からステレオカメラへ向かう光は、目印から第1の反射面と第2の反射面とで反射を繰り返しながら反射面同士の間隔が狭い側(基準方向における一方側)へ向かって進み、その後、進行方向を反転させて、反射面同士の間隔が広い側(基準方向における他方側)へ向かって第1の反射面と第2の反射面とで反射を繰り返しながら進んでステレオカメラへ入射する。このように、目印からステレオカメラへ向かう光を基準方向において往復させることで、小さなスペースであっても光の経路を長くすることができる。これにより、このステレオカメラのキャリブレーション方法では、省スペースでステレオカメラのキャリブレーションを行うことができる。   In this stereo camera calibration method, the light traveling from the mark to the stereo camera is repeatedly reflected from the mark by the first reflecting surface and the second reflecting surface, while the distance between the reflecting surfaces is narrow (one side in the reference direction). The direction of travel is then reversed, and reflection is repeated on the first reflecting surface and the second reflecting surface toward the side where the distance between the reflecting surfaces is wide (the other side in the reference direction). Proceed while entering the stereo camera. In this way, by reciprocating light from the mark toward the stereo camera in the reference direction, the light path can be lengthened even in a small space. Thereby, in this stereo camera calibration method, the stereo camera can be calibrated in a small space.

本発明によれば、省スペースでステレオカメラのキャリブレーションを行うことができる。   According to the present invention, calibration of a stereo camera can be performed in a space-saving manner.

実施形態に係るキャリブレーションシステムの概略構成を示す図である。It is a figure showing a schematic structure of a calibration system concerning an embodiment. キャリブレーションを行うための第1の鏡等を示す斜視図である。It is a perspective view which shows the 1st mirror etc. for performing a calibration. キャリブレーションを行うための第1の鏡等を示す側面図である。It is a side view showing the 1st mirror etc. for performing calibration. 目印からステレオカメラへ向かう光の経路を示す側面図である。It is a side view which shows the path | route of the light which goes to a stereo camera from a mark. 目印からステレオカメラへ向かう光の他の経路を示す側面図である。It is a side view which shows the other path | route of the light which goes to a stereo camera from a mark. 右カメラによって撮像された画像を示す図である。It is a figure which shows the image imaged with the right camera. 図6に示される画像を展開して、目印を並べたときのステレオカメラと複数の目印との位置関係を示す図である。FIG. 7 is a diagram illustrating a positional relationship between a stereo camera and a plurality of marks when the image illustrated in FIG. 6 is developed and the marks are arranged. 左カメラによって撮像された画像を示す図である。It is a figure which shows the image imaged with the left camera. 得られた視差を1/z−d空間にプロットした状態を示す図である。It is a figure which shows the state which plotted the obtained parallax in 1 / zd space. 1/z−d空間へのプロット結果に対し、最小二乗法を用いて直線を引いた状態を示す図である。It is a figure which shows the state which pulled the straight line using the least squares method with respect to the plot result to 1 / zd space. キャリブレーションの終了後に第1の鏡を引き上げた状態を示す図である。It is a figure which shows the state which pulled up the 1st mirror after completion | finish of calibration. キャリブレーション方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of a calibration method. 車両の停止位置及び目印の設置位置の変形例を示す図である。It is a figure which shows the modification of the stop position of a vehicle, and the installation position of a mark.

以下、本発明の実施形態について図面を参照しながら説明する。なお、図面の説明において同一の要素には同一の符号を付し、重複する説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted.

図1に示されるキャリブレーションシステム1の演算装置20は、ステレオカメラ10で撮像された画像に基づいて、ステレオカメラ10が備える右カメラ11及び左カメラ12のキャリブレーションを行う。具体的には、本実施形態において、演算装置20は、ステレオカメラ10のキャリブレーションとして、右カメラ11の向きと左カメラ12の向きとにおける相対ヨー角を算出する。   The computing device 20 of the calibration system 1 shown in FIG. 1 calibrates the right camera 11 and the left camera 12 included in the stereo camera 10 based on the image captured by the stereo camera 10. Specifically, in the present embodiment, the arithmetic unit 20 calculates a relative yaw angle between the orientation of the right camera 11 and the orientation of the left camera 12 as calibration of the stereo camera 10.

ステレオカメラ10は、車両の周囲を撮像する撮像機器である。ステレオカメラ10の撮像画像は、車両Vの周辺監視等に利用される。ステレオカメラ10は、右カメラ11及び左カメラ12を有している。右カメラ11及び左カメラ12は、両眼視差を再現するように配置されている。ステレオカメラ10は、例えば、車両のフロントガラスの裏側に設けられている(図4参照)。ステレオカメラ10は、右カメラ11及び左カメラ12で撮像された画像情報を演算装置20へ送信する。   The stereo camera 10 is an imaging device that images the surroundings of the vehicle. The captured image of the stereo camera 10 is used for surrounding monitoring of the vehicle V and the like. The stereo camera 10 has a right camera 11 and a left camera 12. The right camera 11 and the left camera 12 are arranged so as to reproduce binocular parallax. The stereo camera 10 is provided, for example, on the back side of the vehicle windshield (see FIG. 4). The stereo camera 10 transmits image information captured by the right camera 11 and the left camera 12 to the arithmetic device 20.

ここで、ステレオカメラ10のキャリブレーションを行うときの設備構成について説明する。図2〜図4に示されるように、ステレオカメラ10のキャリブレーションを行うための設備として、第1の鏡M1、第2の鏡M2、及び目印Pが配置される。これらは、例えば、車両Vの生産工場の中に設置される。また、本実施形態では、ステレオカメラ10が車両Vに搭載された状態で、キャリブレーションが行われる。   Here, the equipment configuration when the stereo camera 10 is calibrated will be described. As shown in FIGS. 2 to 4, a first mirror M <b> 1, a second mirror M <b> 2, and a mark P are arranged as equipment for calibrating the stereo camera 10. These are installed in the production factory of the vehicle V, for example. In the present embodiment, calibration is performed in a state where the stereo camera 10 is mounted on the vehicle V.

第1の鏡M1及び第2の鏡M2は、工場等の天井Yにそれぞれの上部が支持されている。第1の鏡M1と第2の鏡M2とは、鉛直方向(基準方向)Aに沿って見たときに、第1の鏡M1の第1の反射面M10と、第2の鏡M2の第2の反射面M20とが互いに離間した状態で対向するように配置されている。   The upper portions of the first mirror M1 and the second mirror M2 are supported on the ceiling Y of a factory or the like. The first mirror M1 and the second mirror M2 are the first reflecting surface M10 of the first mirror M1 and the second mirror M2 when viewed along the vertical direction (reference direction) A. The two reflecting surfaces M20 are arranged so as to face each other while being separated from each other.

鉛直方向Aにおける上方側(一方側)から下方側(他方側)に向けて、第1の反射面M10と第2の反射面M20との間隔が広がるように、第1の鏡M1及び第2の鏡M2が配置されている。すなわち、第1の鏡M1は、上端が第2の鏡M2に近づくように鉛直方向Aに対して所定角度θ傾斜している。同様に、第2の鏡M2は、上端が第1の鏡M1に近づくように鉛直方向Aに対して所定角度θ傾斜している。   In the vertical direction A, the first mirror M1 and the second mirror 2 are arranged so that the distance between the first reflecting surface M10 and the second reflecting surface M20 increases from the upper side (one side) to the lower side (the other side). The mirror M2 is arranged. That is, the first mirror M1 is inclined at a predetermined angle θ with respect to the vertical direction A so that the upper end approaches the second mirror M2. Similarly, the second mirror M2 is inclined by a predetermined angle θ with respect to the vertical direction A so that the upper end approaches the first mirror M1.

第2の鏡M2は、天井Yに固定されている。図4に示されるように、第2の鏡M2の下端と工場等の床面Gとの鉛直方向Aの間隔は、ステレオカメラ10を搭載した車両Vが通過可能な間隔である。第1の鏡M1は、図示しない移動機構によって上下方向に移動可能に天井Yに支持されている。第1の鏡M1の下端は、ステレオカメラ10のキャリブレーションを行うときには、第2の鏡M2の下端よりも下方に位置している。すなわち、第1の鏡M1は、キャリブレーションを行うときには、ステレオカメラ10の前に位置している。   The second mirror M2 is fixed to the ceiling Y. As shown in FIG. 4, the interval in the vertical direction A between the lower end of the second mirror M2 and the floor G of the factory or the like is an interval through which the vehicle V carrying the stereo camera 10 can pass. The first mirror M1 is supported on the ceiling Y so as to be movable in the vertical direction by a moving mechanism (not shown). The lower end of the first mirror M1 is positioned below the lower end of the second mirror M2 when the stereo camera 10 is calibrated. That is, the first mirror M1 is positioned in front of the stereo camera 10 when performing calibration.

目印Pは、床面Gに配置されている。目印Pは、床面Gのうち、鉛直方向Aに沿って見たときに第1の鏡M1と第2の鏡M2との間の位置に配置されている。すなわち、目印Pは、第1の反射面M10及び第2の反射面M20の上端(反射面同士の間隔が狭い側の端部)よりも、第1の反射面M10及び第2の反射面M20の下端側(反射面同士の間隔が広い側)の位置に配置されている。目印Pとしては、他の領域と識別可能であれば、マークが付されたシート状の部材、発光体等、種々の構成の目印が用いられる。   The mark P is disposed on the floor G. The mark P is disposed on the floor surface G at a position between the first mirror M1 and the second mirror M2 when viewed along the vertical direction A. That is, the mark P is located on the first reflecting surface M10 and the second reflecting surface M20 rather than the upper ends of the first reflecting surface M10 and the second reflecting surface M20 (the end on the side where the distance between the reflecting surfaces is narrow). Is disposed at the lower end side (the side where the spacing between the reflecting surfaces is wide). As the mark P, marks having various configurations such as a sheet-like member with a mark, a light emitter, and the like are used as long as they can be distinguished from other regions.

キャリブレーションを行う場合、図4に示されるように、第2の鏡M2の下部にステレオカメラ10が位置するように車両Vを停止させる。以下、キャリブレーションを行う場合に車両Vを停止させる位置を、キャリブレーション実行位置という。すなわち、ステレオカメラ10は、第1の反射面M10及び第2の反射面M20の上端(反射面同士の間隔が狭い側の端部)よりも、第1の反射面M10及び第2の反射面M20の下端側(反射面同士の間隔が広い側)の位置に配置される。また、ステレオカメラ10は、第1の鏡M1及び第2の鏡M2を介して目印Pを撮像可能なように、第1の鏡M1に向けられている。   When the calibration is performed, the vehicle V is stopped so that the stereo camera 10 is positioned below the second mirror M2, as shown in FIG. Hereinafter, a position where the vehicle V is stopped when performing calibration is referred to as a calibration execution position. That is, the stereo camera 10 includes the first reflecting surface M10 and the second reflecting surface, rather than the upper ends of the first reflecting surface M10 and the second reflecting surface M20 (the end on the side where the distance between the reflecting surfaces is narrow). It arrange | positions in the position of the lower end side (side with a large space | interval of reflective surfaces) of M20. Further, the stereo camera 10 is directed to the first mirror M1 so that the mark P can be imaged through the first mirror M1 and the second mirror M2.

図1に示される演算装置20は、車両Vがキャリブレーション実行位置に位置しているときにステレオカメラ10によって撮像された画像に基づいて、ステレオカメラ10のキャリブレーションを行う。   The computing device 20 shown in FIG. 1 calibrates the stereo camera 10 based on the image captured by the stereo camera 10 when the vehicle V is located at the calibration execution position.

ここで、ステレオカメラ10によって撮像される目印Pについて説明する。第1の鏡M1及び第2の鏡M2は、下方側に向かって反射面同士の間隔が広がるように配置されている。このため、目印Pからステレオカメラ10へ向かう光は、図4に示される経路Lのように、目印Pから第1の反射面M10と第2の反射面M20とで反射を繰り返しながら上側へ向かって進む。   Here, the mark P imaged by the stereo camera 10 will be described. The 1st mirror M1 and the 2nd mirror M2 are arrange | positioned so that the space | interval of reflective surfaces may spread toward a downward side. Therefore, the light traveling from the mark P to the stereo camera 10 travels upward while being repeatedly reflected by the first reflecting surface M10 and the second reflecting surface M20 from the mark P as shown in the path L shown in FIG. Go ahead.

そして、上方に向かっていた光は、進行方向を反転させて、下方へ向かって第1の反射面M10と第2の反射面M20とで反射を繰り返しながら進んでステレオカメラ10へ入射する。なお、上方側に向かって反射面同士の間隔が狭くなるように第1の鏡M1及び第2の鏡M2が配置されているため、上方に向かっていた光の進行方向が途中で反転する。このような目印Pからステレオカメラ10へ向かう光は、図4及び図5に示されるように複数の経路Lを経由してステレオカメラ10に入射する。なお、図5に示される経路Lは、図4に示される経路Lよりも第1の反射面M10及び第2の反射面M20での反射回数が少なく、経路の長さが短い。   Then, the light traveling upward is reversed in the traveling direction, travels downward while being repeatedly reflected by the first reflecting surface M10 and the second reflecting surface M20, and enters the stereo camera 10. In addition, since the 1st mirror M1 and the 2nd mirror M2 are arrange | positioned so that the space | interval of reflective surfaces may become narrow toward the upper side, the advancing direction of the light which went upwards is reversed in the middle. The light traveling from the mark P to the stereo camera 10 enters the stereo camera 10 via a plurality of paths L as shown in FIGS. Note that the path L shown in FIG. 5 has a smaller number of reflections on the first reflecting surface M10 and the second reflecting surface M20 than the path L shown in FIG.

このため、図6に示されるように、右カメラ11によって撮像された画像内には、目印Pが複数写っている。図7は、図6に示される画像を展開して、目印Pを並べたときのステレオカメラ10と複数の目印Pとの位置関係を示す図である。すなわち、第1の鏡M1及び第2の鏡M2を用いることによって、車両Vの前方に複数の目印Pが配置されたときのステレオカメラ10の撮像画像に相当する画像が得られる。同様に、図8に示されるように、左カメラ12によって撮像された画像内には、目印Pが複数写っている。   For this reason, as shown in FIG. 6, a plurality of marks P are shown in the image captured by the right camera 11. FIG. 7 is a diagram illustrating a positional relationship between the stereo camera 10 and the plurality of marks P when the image illustrated in FIG. 6 is developed and the marks P are arranged. That is, by using the first mirror M1 and the second mirror M2, an image corresponding to a captured image of the stereo camera 10 when a plurality of marks P are arranged in front of the vehicle V is obtained. Similarly, as shown in FIG. 8, a plurality of marks P are shown in the image captured by the left camera 12.

演算装置20は、図6及び図8に示されるような右カメラ11で撮像された画像及び左カメラ12で撮像された画像を取得する。演算装置20は、取得した2つの画像同士において目印Pを水平方向に探索し、対応する目印Pのマッチング処理を行う。演算装置20は、マッチングした目印P、並びに、右カメラ11及び左カメラ12の間隔等に基づいて、周知の方法によって視差dを得る。演算装置20は、マッチングされた目印Pごとに、視差dを算出する。   The arithmetic unit 20 acquires an image captured by the right camera 11 and an image captured by the left camera 12 as illustrated in FIGS. 6 and 8. The arithmetic unit 20 searches for the mark P in the horizontal direction between the two acquired images, and performs matching processing for the corresponding mark P. The arithmetic unit 20 obtains the parallax d by a well-known method based on the matched mark P and the interval between the right camera 11 and the left camera 12. The computing device 20 calculates the parallax d for each of the matched landmarks P.

演算装置20は、得られた視差dと、目印Pとステレオカメラ10間における既知の距離zとを用いて、1/z−d空間における視差dと距離zとに対応する位置にプロットする(図9参照)。なお、既知の距離zとは、第1の反射面M10と第2の反射面M20との間隔、目印Pの位置、光の反射回数等によって得られる。演算装置20は、1/z−d空間へのプロットを、マッチングした目印Pごとに行う。   The arithmetic unit 20 plots the obtained parallax d and the position corresponding to the parallax d and the distance z in the 1 / z-d space using the known distance z between the mark P and the stereo camera 10 ( (See FIG. 9). The known distance z is obtained by the distance between the first reflecting surface M10 and the second reflecting surface M20, the position of the mark P, the number of times of light reflection, and the like. The arithmetic unit 20 performs plotting in the 1 / zd space for each matching mark P.

演算装置20は、1/z−d空間へのプロット結果に対し、最小二乗法を用いて図10に示されるように直線Kを引く。これにより、演算装置20は、直線Kの切片、すなわち無限遠視差dを得ることができる。演算装置20は、無限遠視差dと、次の式(1)とを用いて、キャリブレーションパラメータである相対ヨー角θを算出する。なお、式(1)におけるfは、ステレオカメラ10の焦点距離である。

Figure 2018163111
The arithmetic unit 20 draws a straight line K as shown in FIG. 10 by using the least square method for the plot result in the 1 / zd space. Thus, computing device 20, the intercept of the straight line K, i.e. it is possible to obtain an infinite hyperopia difference d 0. The computing device 20 calculates a relative yaw angle θ, which is a calibration parameter, using the infinity parallax d 0 and the following equation (1). Note that f in Expression (1) is the focal length of the stereo camera 10.
Figure 2018163111

キャリブレーションの終了後(相対ヨー角θの算出後)、車両Vをキャリブレーション実行位置から移動させる。例えば、図11に示されるように、図示しない移動機構が第1の鏡M1を上方に引き上げる。この場合、車両Vは、第1の鏡M1の下を通って、他の場所へ移動することができる。   After the calibration is completed (after calculating the relative yaw angle θ), the vehicle V is moved from the calibration execution position. For example, as shown in FIG. 11, a moving mechanism (not shown) raises the first mirror M1 upward. In this case, the vehicle V can move to another place under the first mirror M1.

演算装置20は、物理的には、CPU[Central Processing Unit]、ROM[Read Only Memory]、及びRAM[Random Access Memory]等を有する電子制御ユニットである。演算装置20では、ROMに記憶されているプログラムをRAMにロードし、RAMにロードされたプログラムをCPUで実行することにより各種の機能を実現する。演算装置20は、複数の電子制御ユニットから構成されていてもよい。   The arithmetic device 20 is physically an electronic control unit having a CPU [Central Processing Unit], a ROM [Read Only Memory], a RAM [Random Access Memory], and the like. In the arithmetic unit 20, various functions are realized by loading a program stored in the ROM into the RAM and executing the program loaded in the RAM by the CPU. The computing device 20 may be composed of a plurality of electronic control units.

なお、ステレオカメラ10のキャリブレーションを行う演算装置20は、車両Vに常に搭載されていてもよく、キャリブレーションを行うときのみ車両Vに搭載されていてもよい。また、演算装置20は、車両V外に設けられており、ステレオカメラ10で撮像された画像を取得してステレオカメラ10のキャリブレーションを行ってもよい。   Note that the computing device 20 that performs calibration of the stereo camera 10 may be always mounted on the vehicle V, or may be mounted on the vehicle V only when calibration is performed. Moreover, the arithmetic unit 20 may be provided outside the vehicle V, and may acquire the image imaged with the stereo camera 10 and may calibrate the stereo camera 10.

次に、演算装置20を用いてステレオカメラ10のキャリブレーションを行うときのキャリブレーション方法の手順について説明する。図12に示されるように、キャリブレーションを行うオペレータは、第1の鏡M1、第2の鏡M2、及び目印Pを、上述したようにキャリブレーションを行うための所定の位置にそれぞれ設置する(S101:鏡配置工程、目印配置工程)。次に、オペレータは、車両Vをキャリブレーション実行位置まで移動させて停止させる(S102:カメラ配置工程)。   Next, the procedure of the calibration method when the stereo camera 10 is calibrated using the arithmetic unit 20 will be described. As shown in FIG. 12, the operator who performs calibration installs the first mirror M1, the second mirror M2, and the mark P at predetermined positions for performing calibration as described above (see FIG. 12). S101: Mirror placement step, mark placement step). Next, the operator moves the vehicle V to the calibration execution position and stops it (S102: camera placement step).

オペレータは、ステレオカメラ10の右カメラ11及び左カメラ12を用いて、第1の鏡M1の第1の反射面M10及び第2の鏡M2の第2の反射面M20によって反射されて得られる目印Pの反射像を含む画像を撮像する(S103:撮像工程)。演算装置20は、取得した2つの画像に基づいて、画像内における複数の目印Pごとに視差dを得る。演算装置20は、得られた視差dと、目印Pとステレオカメラ10間における既知の距離zとを用いて、1/z−d空間における視差dと距離zとに対応する位置にプロットする(S104:キャリブレーション工程)。   The operator uses the right camera 11 and the left camera 12 of the stereo camera 10 to obtain a mark obtained by being reflected by the first reflecting surface M10 of the first mirror M1 and the second reflecting surface M20 of the second mirror M2. An image including a reflection image of P is captured (S103: imaging step). The computing device 20 obtains the parallax d for each of the plurality of marks P in the image based on the two acquired images. The arithmetic unit 20 plots the obtained parallax d and the position corresponding to the parallax d and the distance z in the 1 / z-d space using the known distance z between the mark P and the stereo camera 10 ( S104: Calibration step).

演算装置20は、1/z−d空間へのプロット結果に対し、最小二乗法を用いて無限遠視差dを得る(S105:キャリブレーション工程)。演算装置20は、無限遠視差dと、上述した式(1)とを用いて、キャリブレーションパラメータである相対ヨー角θを算出する(S106:キャリブレーション工程)。相対ヨー角の算出後、オペレータは、第2の鏡M2を上方に移動させる。そして、オペレータは、車両Vを前進させてキャリブレーション実行位置から車両Vを移動させる(S107)。 The arithmetic unit 20 obtains the infinity parallax d 0 using the least square method for the plot result in the 1 / zd space (S105: calibration step). The computing device 20 calculates the relative yaw angle θ, which is a calibration parameter, using the infinity parallax d 0 and the above-described equation (1) (S106: calibration step). After calculating the relative yaw angle, the operator moves the second mirror M2 upward. Then, the operator moves the vehicle V forward from the calibration execution position (S107).

本実施形態は以上のように構成され、このステレオカメラ10のキャリブレーション方法において、目印Pからステレオカメラ10へ向かう光は、目印Pから第1の鏡M1の第1の反射面M10と第2の鏡M2の第2の反射面M20とで反射を繰り返しながら上側へ向かって進む。その後、上側へ向かっていた光は、進行方向を反転させて、下側へ向かって第1の鏡M1の第1の反射面M10と第2の鏡M2の第2の反射面M20とで反射を繰り返しながら進んでステレオカメラ10へ入射する。このように、目印Pからステレオカメラ10へ向かう光を鉛直方向において往復させることで、小さなスペースであっても光の経路を長くすることができる。これにより、このステレオカメラ10のキャリブレーション方法では、省スペースでステレオカメラ10のキャリブレーションを行うことができる。   The present embodiment is configured as described above. In this calibration method of the stereo camera 10, the light traveling from the mark P to the stereo camera 10 is transmitted from the mark P to the first reflecting surface M10 of the first mirror M1 and the second light. It proceeds upward while repeating reflection with the second reflecting surface M20 of the mirror M2. Thereafter, the light traveling upward is reversed in the traveling direction and reflected downward by the first reflecting surface M10 of the first mirror M1 and the second reflecting surface M20 of the second mirror M2. The process proceeds while repeating and enters the stereo camera 10. In this way, by reciprocating light from the mark P toward the stereo camera 10 in the vertical direction, the light path can be lengthened even in a small space. Thereby, in this calibration method of the stereo camera 10, the stereo camera 10 can be calibrated in a space-saving manner.

例えば、従来文献1に記載されているように、反射面同士が平行となるように2つの鏡が配置されている場合、目印からカメラへ向かう光は反射面同士で反射を繰り返しながら一方向へしか進まない。これに対し、本実施形態におけるステレオカメラ10のキャリブレーション方法では、反射面同士で反射を繰り返しながら鉛直方向において光を往復させることができるため、従来文献1に記載されているように光が一方向にしか進まない場合と比べて、小さなスペースであっても光の経路を長くすることができ、省スペース化が可能となる。   For example, as described in Conventional Document 1, when two mirrors are arranged so that the reflecting surfaces are parallel to each other, the light traveling from the mark to the camera is reflected in one direction while being repeatedly reflected by the reflecting surfaces. It only goes. On the other hand, in the calibration method of the stereo camera 10 according to the present embodiment, light can be reciprocated in the vertical direction while repeating reflection between the reflecting surfaces. Compared to the case where the light travels only in the direction, the light path can be lengthened even in a small space, and the space can be saved.

また、このキャリブレーション方法では、ステレオカメラ10が車両Vに搭載された状態でキャリブレーションを行うことができる。第1の鏡M1が上下に移動可能であるため、キャリブレーションを行う際にはステレオカメラ10の前に第1の鏡M1を設置しつつ、キャリブレーション終了後は第1の鏡M1を上昇させることによって車両Vが第1の鏡M1に接触することが防止される。   Further, in this calibration method, calibration can be performed with the stereo camera 10 mounted on the vehicle V. Since the first mirror M1 can move up and down, the first mirror M1 is placed in front of the stereo camera 10 when performing calibration, and the first mirror M1 is raised after the calibration is completed. This prevents the vehicle V from coming into contact with the first mirror M1.

以上、本発明の実施形態について説明したが、本発明は、上記実施形態に限定されるものではない。例えば、図13に示されるように、目印Pは、第2の鏡M2の第2の反射面M20に設置されてもよい。同様に、目印Pは、第1の鏡M1の第1の反射面M10に設置されてもよい。また、キャリブレーション実行位置は、第2の鏡M2の下部にステレオカメラ10が位置する場所に限定されない。例えば、キャリブレーション実行位置は、上方から見たときに第1の鏡M1と第2の鏡M2との間にステレオカメラ10が位置する場所であってもよい。具体的には、ステレオカメラ10は、第1の鏡M1と第2の鏡M2との間の位置であり、且つ、第1の反射面M10及び第2の反射面M20の上端よりも、下側の位置に配置されていればよい。この場合にも、ステレオカメラ10は、第1の鏡M1及び第2の鏡M2を介して目印Pを撮像可能なように、第1の鏡M1に向けられている。   As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment. For example, as shown in FIG. 13, the mark P may be installed on the second reflecting surface M20 of the second mirror M2. Similarly, the mark P may be installed on the first reflecting surface M10 of the first mirror M1. Further, the calibration execution position is not limited to the place where the stereo camera 10 is positioned below the second mirror M2. For example, the calibration execution position may be a place where the stereo camera 10 is positioned between the first mirror M1 and the second mirror M2 when viewed from above. Specifically, the stereo camera 10 is located between the first mirror M1 and the second mirror M2, and below the upper ends of the first reflecting surface M10 and the second reflecting surface M20. What is necessary is just to arrange | position in the position of the side. Also in this case, the stereo camera 10 is directed to the first mirror M1 so that the mark P can be imaged through the first mirror M1 and the second mirror M2.

右カメラ11及び左カメラ12によって得られた画像に基づいてキャリブレーションを行う構成であれば、演算装置20は、種々の方法に基づいて相対ヨー角を算出してもよい。また、演算装置20は、ステレオカメラ10のキャリブレーションとして、相対ヨー角以外のパラメータを算出してもよい。   As long as calibration is performed based on images obtained by the right camera 11 and the left camera 12, the arithmetic unit 20 may calculate the relative yaw angle based on various methods. Further, the arithmetic unit 20 may calculate parameters other than the relative yaw angle as calibration of the stereo camera 10.

なお、第1の鏡M1と第2の鏡M2とは、鉛直方向Aに沿って見たときに、第1の鏡M1の第1の反射面M10と第2の鏡M2の第2の反射面M20とが互いに対向するように配置されている場合を例に説明したが、鉛直方向Aに限定されない。第1の鏡M1と第2の鏡M2とは、鉛直方向A以外の方向に沿って見たときに、第1の反射面M10と第2の反射面M20とが互いに対向するように配置されていてもよい。   The first mirror M1 and the second mirror M2 are, when viewed along the vertical direction A, the first reflection surface M10 of the first mirror M1 and the second reflection of the second mirror M2. Although the case where it arrange | positions so that the surface M20 may mutually oppose was demonstrated to an example, it is not limited to the perpendicular direction A. The first mirror M1 and the second mirror M2 are arranged so that the first reflective surface M10 and the second reflective surface M20 face each other when viewed along a direction other than the vertical direction A. It may be.

車両Vは、オペレータによってキャリブレーション実行位置へ又はキャリブレーション実行位置から他の場所へ移動させられてもよく、ベルトコンベア等によって搬送されてもよい。   The vehicle V may be moved to the calibration execution position by the operator or from the calibration execution position to another place, or may be conveyed by a belt conveyor or the like.

10…ステレオカメラ、11…右カメラ、12…左カメラ、20…演算装置、A…鉛直方向(基準方向)、M1…第1の鏡、M10…第1の反射面、M2…第2の鏡、M20…第2の反射面、P…目印。   DESCRIPTION OF SYMBOLS 10 ... Stereo camera, 11 ... Right camera, 12 ... Left camera, 20 ... Arithmetic unit, A ... Vertical direction (reference direction), M1 ... 1st mirror, M10 ... 1st reflective surface, M2 ... 2nd mirror , M20: second reflecting surface, P: mark.

Claims (1)

ステレオカメラのキャリブレーション方法であって、
基準方向に沿って見たときに、第1の鏡の第1の反射面と第2の鏡の第2の反射面とが互いに離間した状態で対向し、前記基準方向における一方側から他方側に向けて前記第1の反射面と前記第2の反射面との間隔が広がるように、前記第1の鏡及び前記第2の鏡を配置する鏡配置工程と、
前記基準方向に沿って見たときの前記第1の反射面と前記第2の反射面との間の位置、前記第1の反射面、及び、前記第2の反射面のいずれかの位置であり、且つ、前記第1の反射面及び前記第2の反射面における反射面同士の間隔が狭い側の端部よりも反射面同士の間隔が広い側の位置に目印を配置する目印配置工程と、
前記第1の反射面及び前記第2の反射面における反射面同士の間隔が狭い側の端部よりも反射面同士の間隔が広い側の位置であり、且つ前記第1の鏡及び前記第2の鏡を介して前記目印を撮像可能な位置に前記ステレオカメラを配置するカメラ配置工程と、
前記第1の反射面及び前記第2の反射面によって反射されて得られる前記目印の反射像を含む画像を前記ステレオカメラで撮像する撮像工程と、
前記ステレオカメラで撮像された前記画像に基づいて前記ステレオカメラが備える2つのカメラに対してキャリブレーションを行うキャリブレーション工程と、を備えるステレオカメラのキャリブレーション方法。
A stereo camera calibration method,
When viewed along the reference direction, the first reflecting surface of the first mirror and the second reflecting surface of the second mirror face each other in a state of being separated from each other, and from one side to the other side in the reference direction A mirror disposing step of disposing the first mirror and the second mirror so that the distance between the first reflecting surface and the second reflecting surface widens toward
At a position between the first reflecting surface and the second reflecting surface when viewed along the reference direction, at any position of the first reflecting surface and the second reflecting surface. And a mark arranging step of arranging a mark at a position on the side where the distance between the reflecting surfaces is wider than the end portion on the side where the distance between the reflecting surfaces in the first reflecting surface and the second reflecting surface is narrow. ,
The first reflecting surface and the second reflecting surface are positions on the side where the spacing between the reflecting surfaces is wider than the end portion on the side where the spacing between the reflecting surfaces is narrow, and the first mirror and the second reflecting surface. A camera placement step of placing the stereo camera at a position where the landmark can be imaged through the mirror;
An imaging step of capturing an image including a reflected image of the mark obtained by being reflected by the first reflecting surface and the second reflecting surface with the stereo camera;
A calibration step of calibrating two cameras included in the stereo camera based on the image picked up by the stereo camera.
JP2017061621A 2017-03-27 2017-03-27 Calibration method for stereo camera Pending JP2018163111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017061621A JP2018163111A (en) 2017-03-27 2017-03-27 Calibration method for stereo camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017061621A JP2018163111A (en) 2017-03-27 2017-03-27 Calibration method for stereo camera

Publications (1)

Publication Number Publication Date
JP2018163111A true JP2018163111A (en) 2018-10-18

Family

ID=63860488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017061621A Pending JP2018163111A (en) 2017-03-27 2017-03-27 Calibration method for stereo camera

Country Status (1)

Country Link
JP (1) JP2018163111A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358338A (en) * 2018-11-23 2019-02-19 北京经纬恒润科技有限公司 A kind of vehicle calibration method and system
US10623727B1 (en) * 2019-04-16 2020-04-14 Waymo Llc Calibration systems usable for distortion characterization in cameras

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358338A (en) * 2018-11-23 2019-02-19 北京经纬恒润科技有限公司 A kind of vehicle calibration method and system
US10623727B1 (en) * 2019-04-16 2020-04-14 Waymo Llc Calibration systems usable for distortion characterization in cameras
US10965935B2 (en) 2019-04-16 2021-03-30 Waymo Llc Calibration systems usable for distortion characterization in cameras

Similar Documents

Publication Publication Date Title
US9682842B2 (en) Automated roll transport facility
JP6287231B2 (en) Ranging device and robot picking system
JPWO2018042954A1 (en) In-vehicle camera, adjustment method of in-vehicle camera, in-vehicle camera system
CN103733019B (en) Method and apparatus for determining the coplanarity of integrated antenna package
JP2018163111A (en) Calibration method for stereo camera
EP3070524B1 (en) Imaging unit, vehicle control unit and heat transfer method for imaging unit
US20200236338A1 (en) Sensor system
JP2010219663A (en) Calibration method and calibration system for imager
JP2007046952A (en) Measuring ruler, measuring system, measuring method, method for measuring tunnel cross section, and method for measuring separation between platform and rail
US10672146B2 (en) Calibration apparatus for onboard camera and calibration method for onboard camera
JP2016225719A (en) Stereo camera device, vehicle, and calibration method
WO2018130605A1 (en) Method for calibrating a camera for a motor vehicle considering a calibration error, camera as well as motor vehicle
KR101626089B1 (en) Apparatus for correcting tilt of lens and method thereof
JP6552192B2 (en) Stereo camera device, moving body, control method and calibration device
JP6241083B2 (en) Imaging apparatus and parallax detection method
KR20180002227A (en) Method of inspecting semiconductor devices
JP2016014549A (en) Vehicle position calculation device
JP6786990B2 (en) 3D shape measuring device
JP2008039745A (en) Calibration method and calibration device
FI4012531T3 (en) Autonomous system for 3d mapping of a datacenter
JP6438234B2 (en) Data processing method and data processing apparatus
JP6098731B2 (en) Surface shape measuring device
JP2014029268A (en) Semiconductor integrated circuit and object distance measuring instrument
US20150338203A1 (en) Measurement system, method for measurement
JP2018024374A (en) Vehicular projection unit