JP2020020657A - Stereo camera device, stereo camera system, and moving object - Google Patents
Stereo camera device, stereo camera system, and moving object Download PDFInfo
- Publication number
- JP2020020657A JP2020020657A JP2018144534A JP2018144534A JP2020020657A JP 2020020657 A JP2020020657 A JP 2020020657A JP 2018144534 A JP2018144534 A JP 2018144534A JP 2018144534 A JP2018144534 A JP 2018144534A JP 2020020657 A JP2020020657 A JP 2020020657A
- Authority
- JP
- Japan
- Prior art keywords
- camera
- stereo camera
- image
- stereo
- camera device
- 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.)
- Granted
Links
Images
Landscapes
- Measurement Of Optical Distance (AREA)
- Stereoscopic And Panoramic Photography (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、ステレオカメラ装置、ステレオカメラシステム、及び移動体に関する。 The present invention relates to a stereo camera device, a stereo camera system, and a moving object.
近年、車載ステレオカメラ装置が実用化されている。この車載ステレオカメラ装置は、自動車等の車両に設けられたステレオカメラ装置により、車両前方の距離画像を生成する。また、車載ステレオカメラ装置は、生成した距離画像に基づいて認識した障害物までの距離を計測する。そして、車載ステレオカメラ装置は、計測結果に基づいて、運転者に警告を行い、ブレーキ又はステアリング等の制御装置を自動的に制御する。これにより、例えば衝突防止又は車間距離制御等を自動的に可能とする運転支援を行うことができる。 In recent years, in-vehicle stereo camera devices have been put to practical use. This in-vehicle stereo camera device generates a distance image in front of the vehicle using a stereo camera device provided in a vehicle such as an automobile. Further, the in-vehicle stereo camera device measures the distance to the recognized obstacle based on the generated distance image. The in-vehicle stereo camera device warns the driver based on the measurement result and automatically controls a control device such as a brake or a steering. As a result, it is possible to perform driving assistance that automatically enables, for example, collision prevention or inter-vehicle distance control.
特許文献1(特開2004−132870号公報)には、車載状態でステレオ校正するステレオカメラの調整装置が開示されている。 Patent Document 1 (Japanese Patent Application Laid-Open No. 2004-132870) discloses a stereo camera adjustment device that performs stereo calibration in a vehicle-mounted state.
特許文献2(特開平07−010569号公報)には、フロート板ガラスの製造工程で発生する周期的な「シワ(歪み)」を抑制可能としたフロート板ガラスの製造方法が開示されている。 Patent Document 2 (Japanese Patent Application Laid-Open No. 07-010569) discloses a method of manufacturing a float glass sheet that can suppress periodic “wrinkles (distortion)” generated in a manufacturing process of the float glass sheet.
しかし、ステレオカメラ装置は、フロート板ガラス等の光を透過させる光透過部材を介して撮像を行うと、光透過部材の製造工程で発生する歪の影響で、障害物等の間の距離計測精度が低下する問題がある。 However, when the stereo camera device performs imaging through a light transmitting member such as a float plate glass that transmits light, the distance measurement accuracy between obstacles and the like is affected by distortion generated in a manufacturing process of the light transmitting member. There is a problem of decline.
このため、特許文献1に開示されているように、車載ステレオカメラ装置の場合、車載状態でステレオ校正を行うステレオ校正工程が必要となる。特許文献1に開示されている技術の場合、車両製造工程中にステレオ校正工程が追加されることとなり、車両の製造工程が複雑化する問題がある。 For this reason, as disclosed in Patent Document 1, in the case of an in-vehicle stereo camera device, a stereo calibration process for performing stereo calibration in a vehicle-mounted state is required. In the case of the technique disclosed in Patent Literature 1, a stereo calibration process is added during the vehicle manufacturing process, and there is a problem that the vehicle manufacturing process is complicated.
なお、特許文献2に開示されているフロート板ガラスの製造方法の場合、フロートガラスの歪みを抑制して製造することが可能とは言え、微小な歪みまでも完全に無くすことは困難である。このため、特許文献2に開示されている技術で製造されたフロートガラスを介してステレオカメラ装置で撮像を行う場合でも、やはり上述のステレオ校正工程が必要となり、車両の製造工程が複雑化することが懸念される。
In the case of the method for manufacturing a float glass sheet disclosed in
本発明は、上述の課題に鑑みてなされたものであり、光透過部材を介して撮像を行う場合でも、ステレオ校正工程を行うことなく、正確な距離計測性能を維持可能として、車両等の製造工程が複雑化する不都合を防止できるようなステレオカメラ装置、ステレオカメラシステム、及び移動体の提供を目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and enables accurate distance measurement performance to be maintained without performing a stereo calibration process even when imaging is performed through a light transmitting member, thereby manufacturing a vehicle or the like. It is an object of the present invention to provide a stereo camera device, a stereo camera system, and a moving object that can prevent inconvenience of complicating processes.
上述した課題を解決し、目的を達成するために、本発明は、周期的な歪曲特性を有する透過部材を透過した撮像光に基づいて被写体の撮像を行う、少なくとも2つのカメラ部と、各カメラ部で撮像されたカメラ画像における、透過部材の周期的な歪曲特性に基づく像移動の位相が一致する位置に、各カメラ部を固定する固定部とを有する。 In order to solve the above-described problems and achieve the object, the present invention provides at least two camera units that capture an image of a subject based on imaging light transmitted through a transmission member having periodic distortion characteristics, and each camera A fixing unit that fixes each camera unit at a position where the phase of image movement based on the periodic distortion characteristic of the transmission member in the camera image captured by the unit matches.
本発明によれば、光透過部材を介して撮像を行う場合でも、ステレオ校正工程を行うことなく、正確な距離計測性能を維持できる。また、ステレオ校正工程を不要とできるため、車両等の製造工程が複雑化する不都合を防止できるという効果を奏する。 ADVANTAGE OF THE INVENTION According to this invention, even when imaging via a light transmission member, accurate distance measurement performance can be maintained without performing a stereo calibration process. Further, since the stereo calibration process can be omitted, there is an effect that the inconvenience of complicating the manufacturing process of the vehicle or the like can be prevented.
以下、ステレオカメラ装置、ステレオカメラシステム、及び移動体の実施の形態を説明する。 Hereinafter, embodiments of a stereo camera device, a stereo camera system, and a moving object will be described.
(システム構成)
図1は、実施の形態のステレオカメラシステムが設けられた車両のフロントガラス部分を側面側が見た状態の図である。この図1に示すように車両1のフロントガラス(透過部材の一例)1aの内側(車内側)には、車両1が前進する方向の所定の撮像範囲を撮像するステレオカメラシステム2が設けられている。ステレオカメラシステム2は、図3を用いて後述するように2つの画像センサを備えており、左目用及び右目用の2つの画像を撮像する。
(System configuration)
FIG. 1 is a diagram of a state in which a windshield portion of a vehicle provided with a stereo camera system according to an embodiment is viewed from a side. As shown in FIG. 1, a
図2は、実施の形態のステレオカメラシステム2の概略的な構成を示す図である。この図2に示すようにステレオカメラシステム2は、ステレオカメラ装置20及び車両ECU(Engine Control Unit)50を有している。
FIG. 2 is a diagram illustrating a schematic configuration of the
ステレオカメラ装置20は、車両1が前進する方向の所定の撮像範囲の左目用及び右目用の2つの画像を撮像する。また、ステレオカメラ装置20は、撮像した左目用及び右目用の各画像に基づいて、例えば車両1の進行方向の障害物等を検出する。そして、ステレオカメラ装置20は、障害物等の検出結果、及び、後述するCAN(Controller Area Network)情報に基づいて、例えば車両1のエンジン制御、制動制御、及び走行レーンキープアシスト、操舵アシスト等の車両1に対する運転支援を行うための車両制御データを車両ECU50に供給する。
The
車両ECU50は、制御部の一例であり、ステレオカメラ装置20から供給される車両制御データに基づいて、例えば車両1のエンジン制御、制動制御、及び走行レーンキープアシスト、操舵アシスト等の車両1に対する運転支援制御を行う。なお、以下、移動体の一例として車両1について説明するが、本実施の形態のステレオカメラシステム2は、船舶、航空機、ロボット等にも適用可能である。
The vehicle ECU 50 is an example of a control unit, and based on vehicle control data supplied from the
(撮像装置の構成)
図3は、ステレオカメラ装置20のブロック図である。この図3に示すように、ステレオカメラ装置20は、左目用となるカメラ部20a、右目用となるカメラ部20b及び画像処理装置30を有する。各カメラ部20a、20bは、固定部の一例であるカメラ筐体により、互いに平行(水平)に組みつけられ、撮像対象領域の動画(又は静止画)を撮影する。また、後述するが、カメラ筐体は、各カメラ部20a、20bで撮像されたカメラ画像における、フロントガラス等の透過部材の周期的な歪曲特性に基づく像移動の位相が一致する位置に、各カメラ部20a、20bを固定している。
(Configuration of imaging device)
FIG. 3 is a block diagram of the
カメラ部20a、20bは、それぞれレンズ21、画像センサ22、及びセンサコントローラ23を有する。画像センサ22は、例えばCCD(Charge Coupled Device)イメージセンサ又はCMOS(Complementary Metal-Oxide Semiconductor)イメージセンサである。センサコントローラ23は、例えば画像センサ22の露光制御、画像読み出し制御、外部回路との通信、及び画像データの送信制御等を行う。
The
画像処理装置30は、例えばデータバスライン300、シリアルバスライン302、CPU(Central Processing Unit)304、FPGA(Field-Programmable Gate Array)306、ROM(Read Only Memory)308、RAM(Random Access Memory)310、シリアルIF(Interface)312、及びデータIF(Interface)314を有する。
The
画像処理装置30は、データバスライン300及びシリアルバスライン302を介して、上述したカメラ部20a、20bと接続されている。ROM308等の記憶部には、車両制御プログラムが記憶されている。CPU304は、画像処理装置30全体の動作を制御すると共に、ROM308等の記憶部に記憶されている車両制御プログラムを実行することで、画像処理及び画像認識処理を実行する。
The
カメラ部20a、20bの各画像センサ22で撮像した各カメラ画像の輝度画像データは、データバスライン300を介して画像処理装置30のRAM310に書き込まれる。CPU304又はFPGA306からのセンサ露光値の変更制御データ、画像読み出しパラメータの変更制御データ、及び各種設定データ等は、シリアルバスライン302を介して送受信される。
Brightness image data of each camera image captured by each
FPGA306は、RAM310に保存された画像データに対してリアルタイム性が要求される処理である、例えばガンマ補正、ゆがみ補正(左右画像の平行化)、ブロックマッチングによる視差演算を行って視差画像を生成し、RAM310に再度書き込む。なお、視差画像は、物体の縦方向位置、横方向位置、及び、奥行方向位置が対応付けられた情報となっている。
The
CPU304は、ステレオカメラシステム2の各センサコントローラ23の制御、及び画像処理装置30の全体的な制御を行う。CPU304は、データIF314を介して、例えば車両1(自車両)のCAN(Controller Area Network)情報をパラメータ(車速、加速度、舵角、ヨーレート等)として取得する。
The
また、CPU304は、車両制御プログラムに基づいて、RAM310に書き込まれた視差画像を読み出し、例えば先行車両、人間、ガードレール、路面等の物体(障害物)を認識する。そして、CPU304は、物体の認識結果、及び、車両1(自車両)のCAN情報に基づいて車両制御データを形成し、シリアルIF312を介して車両ECU50に供給する。
Further, the
車両ECU50は、画像処理装置30から供給された車両制御データに基づいて、例えば車両1のエンジン制御、制動制御、及び走行レーンキープアシスト、操舵アシスト等の車両1に対する運転支援制御を行う。
The
(ステレオカメラシステムによる距離計測)
ここで、平行配置したカメラ部20a、20bによる距離計測の原理を、図4を用いて説明する。この図4では、カメラC0が上述のカメラ部20aに相当し、カメラC1が上述のカメラ部20bに相当する。カメラC0の焦点距離は「f」、光学中心は「O0」、撮像面は「S0」となっている。また、カメラC1の焦点距離は「f」、光学中心は「O1」、撮像面は「S1」となっている。カメラC0及びカメラC1は、距離Bの間隔で平行配置されている。
(Distance measurement by stereo camera system)
Here, the principle of distance measurement by the
カメラC0の光学中心「O0」から光軸方向に距離「d」だけ離れて位置している被写体「A」の像は、直線「A」×光学中心「O0」と、撮像面「S0」の交点「P0」に結像する。カメラC1の場合も同様に、被写体「A」が、撮像面「S1」の交点「P1」に結像する。 The image of the subject “A” located at a distance “d” in the optical axis direction from the optical center “O 0 ” of the camera C 0 is represented by a straight line “A” × the optical center “O 0 ” and the imaging surface “ An image is formed at the intersection point “P 0 ” of “S 0 ”. Similarly, in the case of the camera C 1, subject "A" is focused on the intersection of the imaging surface "S 1", "P 1".
カメラ「C1」の光学中心「O1」を通り、直線「A−O0」に平行な直線(図4に点線の直線で示す)と、撮像面「S1」との交点を「P00」とし、この交点「P00」と、被写体「A」が結像する点「P1」との間の距離を「r」とする。 The intersection of a straight line (shown by a dashed straight line in FIG. 4) that passes through the optical center “O 1 ” of the camera “C 1 ” and is parallel to the straight line “A-O 0 ” and “P 1 ” 00 ”, and the distance between the intersection“ P 00 ”and the point“ P 1 ”at which the subject“ A ”forms an image is“ r ”.
交点「P00」は、被写体「A」がカメラC0上で結像する点「P0」に対応する位置である。距離「r」は、同じ被写体「A」を2つのカメラC0及びカメラC1で撮影した場合における、カメラ画像の位置ずれ量を示している。この各カメラ画像の位置ずれ量は、「視差」と呼ばれる。 The intersection point “P 00 ” is a position corresponding to the point “P 0 ” where the subject “A” forms an image on the camera C 0 . Distance "r", in the case of photographing the same subject "A" in the two cameras C 0 and the camera C 1, shows the positional displacement amount of the camera image. The displacement amount of each camera image is called “parallax”.
三角形A−O0−O1と、三角形:O1−P00−P1は相似形であるため、基線長を「B」、焦点距離を「f」とし、基線長「B」及び焦点距離「f」が既知であれば、「d=Bf/r」の演算式で、視差「r」から距離「d」を算出できる。「基線長」は、各カメラ部20a、20bの各光軸と二次元的に直交し、各光軸を結ぶ直線である基線の長さである。
Since the triangles AO 0 -O 1 and the triangles: O 1 -P 00 -P 1 are similar, the base length is “B”, the focal length is “f”, the base length “B” and the focal length are If “f” is known, the distance “d” can be calculated from the parallax “r” by an arithmetic expression of “d = Bf / r”. The “base line length” is a length of a base line that is a straight line that is orthogonal to each optical axis of each of the
以上が、ステレオカメラシステム2における距離計測の原理である。この原理を成立させるためには、図4に示すように2つのカメラC0及びカメラC1を、平行関係を維持した状態で正確に配置する必要がある。
The above is the principle of distance measurement in the
(フロントガラスの影響)
次に、車載用のステレオカメラ装置20を車外に設置する場合、高温、低温、防水、及び防塵等に対して、より高い耐久性が求められる。このため、ステレオカメラ装置20は、図5に示すように車両のフロントガラス1aの内側に設置されることが多い。車内に設置されたステレオカメラシステム2は、車外からの撮像光を、フロントガラス1aを介して受光して撮像を行う。フロントガラス1aは、複雑な曲面形状を有しており、また、ステレオカメラ装置20のレンズ等のような精巧な光学部品と比べ、形状に歪みが生じている。
(Effect of windshield)
Next, when the in-vehicle
一例ではあるが、厚みが1.5mm以下のフロントガラス1aの場合、製造工程(フロート法)においてピッチが25mm程度、山谷の深さが0.1μm〜0.3μm程度の微細な歪み(略々周期的なシワ=コルゲーション(corrugation))が発生する。製造工程において、このような歪みを、完全に無くすことは困難である。
As an example, in the case of the
このため、フロントガラス1aを介して撮像されるカメラ画像にも歪みが発生する。また、車両1に対するステレオカメラシステム2の設置位置及び方位によっても歪み特性が変化する。このため、カメラ画像に発生する歪みを補正するためには、車両1の所定の位置にステレオカメラシステム2を設置した後、フロントガラス1aを介して撮像した画像を利用してステレオ校正工程を実施する必要があった。
For this reason, distortion also occurs in the camera image captured through the
(画像歪みによる視差誤差)
次に、画像の歪みによる視差の変化を説明する。画像の歪みとは、理想的なピンホールカメラに比べて像位置が変化することである。フロントガラス1aを介して撮像を行うことで、像位置移動量が、画像中の位置に応じて変化する現象が発生する。
(Parallax error due to image distortion)
Next, a change in parallax due to image distortion will be described. Image distortion means that the image position changes as compared to an ideal pinhole camera. By performing imaging through the
画像中の位置として基線方向(図4の基線長Bの方向)に平行な方向(以下、横方向と呼ぶ)を考える。基線方向は、図4に示すカメラC0及びカメラC1の光学中心「O0」及び光学中心「O1」を結ぶ直線に対して平行となる線の方向(上述の横方向)である。また、左右のカメラ部20a、20bが図1にように車両1に取り付けられる場合、図4におけるX方向は、車両1の幅方向(=車両1の左右方向)、Y方向は、車両1の高さ方向(=上下方向)、Z方向は、車両1の前方方向(奥行方向:前後方向)である。また、図4において、Z方向は、各カメラ部20a、20bの光軸方向に相当する。同様に、X方向は、上述の基線方向に相当する。
Consider a direction parallel to the base line direction (the direction of the base line length B in FIG. 4) (hereinafter, referred to as a lateral direction) as a position in the image. The base line direction is a direction (the above-described lateral direction) of a line parallel to a straight line connecting the optical center “O 0 ” and the optical center “O 1 ” of the camera C 0 and the camera C 1 shown in FIG. When the left and
像位置移動量は、プラス又はマイナスの一次元量であり、画像上の歪み特性は、図6(a)及び図6(b)に示すようになる。この図6(a)及び図6(b)の横軸は画像中の横方向位置(x)、縦軸は像位置移動量(Δx)を示す。また、実線の曲線は、点線の曲線は、左目用のカメラ部20aの像位置移動量を示し、実線の曲線は、右目用のカメラ部20bの像位置移動量を示している。
The image position movement amount is a plus or minus one-dimensional amount, and the distortion characteristics on the image are as shown in FIGS. 6A and 6B. 6A and 6B, the horizontal axis represents the horizontal position (x) in the image, and the vertical axis represents the image position movement amount (Δx). In addition, the solid line curve indicates the image position movement amount of the left-
左右のカメラ部20a、20bが理想的な平行関係を維持している場合、左右のカメラ画像の視差は横方向にのみ発生し、無限遠被写体は同一位置に写る。しかし、左右のカメラ画像に歪みが生じている場合、ステレオ視差は、左右のカメラ画像上の像位置の差分であるため、左右のカメラ部20a、20bの像移動量の差分に相当する視差誤差が発生する。
When the left and
図6(a)の例は、左右のカメラ画像の像位置に大きなずれが発生している場合の視差誤差を示し、図6(b)の例は、左右のカメラ画像の像位置に小さいずれが発生している場合の視差誤差を示している。また、図6(a)及び図6(b)における矢印は視差誤差の大きさを示している。この図6(a)に示すように、左右のカメラ画像のうち、一方のカメラ画像の像位置がプラス方向にずれており、他方のカメラ画像の像位置がマイナス方向にずれている等のように、左右のカメラ画像の像位置が逆方向にずれている場合に、視差誤差が大きくなる。 The example of FIG. 6A shows a parallax error when the image position of the left and right camera images has a large displacement, and the example of FIG. 6B shows a small difference between the image positions of the left and right camera images. 11 shows a parallax error in the case where has occurred. The arrows in FIGS. 6A and 6B indicate the magnitude of the parallax error. As shown in FIG. 6A, the image position of one of the left and right camera images is shifted in the plus direction, and the image position of the other camera image is shifted in the minus direction. In addition, when the image positions of the left and right camera images are shifted in the opposite direction, the parallax error increases.
これに対して、図6(b)に示すように、左右のカメラ画像の像移動量が略々同じ方向で、曲線が重なっている場合、移動量自体は大きくとも、左右像位置移動量の差である視差の誤差は小さくなる。これは、同じ歪みを持つフロントガラス1aであっても、左右のカメラ画像の像移動の位相を揃えることで、視差誤差を小さくすることができることを意味している。
On the other hand, as shown in FIG. 6B, when the image movement amounts of the left and right camera images are substantially in the same direction and the curves overlap each other, even if the movement amount itself is large, the left and right image position movement amount is not large. The error of the parallax, which is the difference, becomes smaller. This means that even if the
なお、左右のカメラ部20a、20bは、各カメラ画像の像移動の位相のずれ量が、例えば30度以下等の所定以下のずれ量(位相差)となるように、固定位置を調整すればよい。これにより、視差誤差を所定以下とすることができる。
The fixed positions of the left and
(歪み周期と基線長)
次に、左右のカメラ部20a、20bで、単体カメラと単体カメラの直前のフロントガラス1aのシワの相対位置が一致していれば、左右のカメラ部20a、20bの直前に、それぞれ同様の形状のフロントガラス1aが存在することになるため、カメラ画像の像位置移動量の位相を揃えることができる(同位相とすることができる)。
(Strain cycle and baseline length)
Next, if the relative positions of the wrinkles of the
図7(a)〜図7(c)は、車内に設けられている左右のカメラ部20a、20bを、車両1の外からフロントガラス1aを介して、光軸方向に沿って見た図である。図7(a)〜図7(c)に示す「+」の記号は、像位置移動量がプラス方向の歪みを持つガラス領域(以下、プラス領域と呼ぶ)を示している。また、図7(a)〜図7(c)に示す「−」の記号は、像位置移動量がマイナス方向の歪みを持つガラス領域(以下、マイナス領域と呼ぶ)を示している。
FIGS. 7A to 7C are views of the left and
図7(a)に示すように、左右のカメラ部20a、20bの正面に像位置移動量プラス方向の歪みを持つプラス領域がそれぞれ位置し、各プラス領域の左右にマイナス領域が位置する場合、図6(b)に示したように、左右のカメラ画像での像位置移動量の方向が一致し、視差誤差は小さくなる。
As shown in FIG. 7A, in the case where the plus areas having the image position movement amount plus distortion are located in front of the left and
これは、プラス領域が左右のカメラ部20a、20bの「正面」に位置する場合に限らず、図7(b)に示すように左右のカメラ部20a、20bの同じ位置に、プラス領域及びマイナス領域が位置すれば同様に視差誤差は小さくなる。なお、図7(b)の例は、左右のカメラ部20a、20bの左側にプラス領域が位置し、右側にマイナス領域が位置している例である。このようなプラス領域及びマイナス領域の配置は、フロントガラス1a上のプラス領域の間隔(歪み周期:歪曲特性)と、ステレオカメラ装置20の基線長が一致していれば成立する。
This is not limited to the case where the plus region is located “in front of” the left and
さらに、図7(c)に示すように、基線長が歪み周期の周期率(歪み周期率)の整数倍の関係にある場合も成立する。図7(c)の例は、基線長が歪み周期の2倍となっている例である。以下、歪み周期に対する基線長の倍率を「基線長倍率」と呼ぶ。歪み周期又は振幅に多少の変動があっても、左右で像移動量が最大最小の組み合わせになる最悪ケースを避けることができれば、図6(a)に示したように左右のカメラ画像の位相が反転することで最大となる視差誤差量の半分以下に、視差誤差量を大幅に低減できる。 Furthermore, as shown in FIG. 7C, the case where the base line length is in a relationship of an integral multiple of the period ratio of the distortion period (distortion period ratio) is also established. The example of FIG. 7C is an example in which the base line length is twice the distortion period. Hereinafter, the magnification of the base line length with respect to the distortion period is referred to as “base line length magnification”. Even if there is some variation in the distortion period or the amplitude, if the worst case in which the image movement amount becomes the maximum and minimum combination on the left and right can be avoided, the phase of the left and right camera images becomes as shown in FIG. By inverting the parallax error amount, the parallax error amount can be significantly reduced to half or less of the maximum parallax error amount.
(基線長倍率の上限)
次に、上述の基線長倍率の上限を説明する。歪み周期が一定の場合、基線長倍率は整数倍であればよい。しかし、歪み周期が変動する場合、基線長倍率が大きいほど、歪み周期の変動による左右のカメラ画像の位相ずれが大きくなる。例えば、代表周期が30mm、フロントガラス1aの歪み周期が33mm(+10%)だった場合、基線長倍率=1で基線長を30mmとすれば、左右の位相差は(33−30)/30=10%のずれとなる。これに対して、基線長倍率=5、基線長=150mmとすると、左右のカメラ画像の位相差は((33−30)/30)×5=50%となり、図6(a)に示したように、左右のカメラ画像の位相が反転して最大の視差誤差を発生する。
(Upper limit of baseline length magnification)
Next, the upper limit of the base line length magnification will be described. When the distortion period is constant, the base line length magnification may be an integer multiple. However, when the distortion period varies, the larger the baseline length magnification, the greater the phase shift between the left and right camera images due to the variation in the distortion period. For example, when the representative period is 30 mm and the distortion period of the
このような不都合を避けるために、歪み周期の変動率(周期変動率)と基線長倍率との積を、50%より十分に小さくする必要がある。左右のカメラ画像の位相を揃えるという目的からは、基線長倍率を小さくすることが望ましい。しかし、基線長の長さと、ステレオカメラ装置20の測距精度の高さは比例するため、基線長は長い方が望ましい。
In order to avoid such inconvenience, it is necessary to make the product of the fluctuation rate of the distortion period (period fluctuation rate) and the baseline length magnification sufficiently smaller than 50%. For the purpose of aligning the phases of the left and right camera images, it is desirable to reduce the baseline length magnification. However, since the length of the base line is proportional to the height of the distance measurement accuracy of the
このようなことから、実施の形態のステレオカメラシステムは、フロントガラス1aの歪み周期の変動率とフロントガラス1aの歪み周期に対するステレオカメラ装置20の基線長の倍率との積を50%より小さくする。そして、ステレオカメラ装置20として要求される測距精度を維持可能な長さとされた基線長を実現する位置に、各カメラ部20a、20bを固定部であるカメラ筐体により固定している。
For this reason, in the stereo camera system according to the embodiment, the product of the variation rate of the distortion period of the
(その他の考慮点)
次に、多くの場合、フロントガラス1aは、図5に示したようにステレオカメラ装置20の光軸に対して傾斜している。このため、フロントガラス1a上に、例えば縦縞の縞模様(フロントガラス1aの上下方向の縞模様)が存在した場合、左右のカメラ部20a、20bで撮像されるカメラ画像は、それぞれ図8に示すように縦縞の上側の幅よりも下側の幅の方が狭くなる、言わば下窄まりの形状(扇形状又は等脚台形を180度回転させた形状)のカメラ画像となる。
(Other considerations)
Next, in many cases, the
ここで、ステレオカメラ装置20の基線方向周りにフロントガラス1aが回転しても、左右のカメラ部20a、20bとフロントガラス1aとの間の距離は変わらない。このため、図7(a)〜図7(c)を用いた説明と同様に、ステレオ基線方向の縞模様の周期と基線長が整数倍の関係にあれば、ステレオカメラ装置20とフロントガラス1a上の縞模様の相対的な位置関係は、左右で同一となる。その結果、左右のカメラ画像上の縞模様の領域は、図8に示すように同じ扇形状となり、上述と同様に、視差誤差を低減できる。
Here, even if the
また、フロントガラス1aの縞模様が基線方向に直交する方向ではなく、図9に示すように、斜め方向の縞模様である場合、基線方向の周期の整数倍の基線長であれば、やはり左右のカメラ画像で撮像される縞模様がそれぞれ相対的な位置関係を示すようになるため、各カメラ画像上の歪み位相は一致する。
Further, when the stripe pattern of the
また、曲面ガラスの一つであるフロントガラス1aは、滑らかな曲面形状を持つため、ガラス面に沿った長さの歪み周期は、画像に写る歪みの周期と正確には一致しない。しかし、数十mm程度の基線長スケールでは、フロントガラス1aは略々平面に近く、また、上述のように、左右のカメラ画像の歪み位相が正確に一致していなくても、逆位相(図6(a)参照)だけでも避けることができれば視差誤差の低減には有効である。
In addition, since the
(ステレオカメラ装置の形成工程)
以下、実施の形態のステレオカメラシステム2におけるステレオカメラ装置20の形成工程を説明する。実施の形態のステレオカメラシステム2では、まず、フロントガラス1aの代表的な歪み周期を計測して決定する。そして、決定した周期に基づいてステレオカメラ装置20の各カメラ部20a、20b間の基線長を決定し、決定した基線長となるように、各カメラ部20a、20bの位置を固定してステレオカメラ装置20を形成する。
(Formation process of stereo camera device)
Hereinafter, a process of forming the
(歪み周期の計測工程)
歪み周期の計測工程では、計測機器に設けられているステレオカメラ装置(上述のステレオカメラ装置に相当)で、フロントガラスを介してテストチャート等を撮像し、フロントガラスの歪みを計測する。具体的には、図10に示すように、固定したステレオカメラ装置70の正面にテストチャート60を配置する。また、ステレオカメラ装置70とテストチャート60との間における、ステレオカメラ装置70から距離d[mm]の位置にフロントガラス80(上述のフロントガラス1aに相当)を設置する。そして、フロントガラス80を設置した状態(ガラス有り状態)及びフロントガラス80を設置しない状態(ガラス無し状態)で、それぞれテストチャート60の撮像を行う。
(Measurement process of strain period)
In the distortion period measurement step, a stereo camera device (corresponding to the above-described stereo camera device) provided in the measurement device captures an image of a test chart or the like through the windshield and measures the distortion of the windshield. Specifically, as shown in FIG. 10, a
次に、計測機器のCPUが、ガラス有り状態でテストチャート60を撮像することで得られたガラス有り画像と、ガラス無し状態でテストチャート60を撮像することで得られたガラス無し画像とを比較する。そして、計測機器のCPUは、ガラス無し画像とガラス有り画像との間で移動している画素(点)を探索する(対応点探索)。
Next, the CPU of the measuring device compares the image with glass obtained by imaging the
図11は、この対応点探索動作を説明するための図である。この図11において、像位置(x,y)は、ガラス無し画像の像位置を示し、像位置(x1,y1)は、ガラス有り画像の像位置を示している。また、図11に示す矢印の根本に相当する点の位置は、ガラス無し画像の移動前の像位置を示し、図11に示す矢印の先端に相当する点の位置は、フロントガラス80を挿入することで移動したガラス有り画像の像位置を示している。 FIG. 11 is a diagram for explaining the corresponding point search operation. In FIG 11, the image position (x, y) indicates the image position of the glass without the image, the image position (x 1, y 1) indicates the image position of the glass there images. The position of the point corresponding to the root of the arrow shown in FIG. 11 indicates the image position before the movement of the glassless image, and the position of the point corresponding to the tip of the arrow shown in FIG. This indicates the image position of the moved image with glass.
知りたいのは基線方向の周期であるため、計測機器のCPUは、図11に横方向の点線で示すように、画像上に多数の横線を仮想的に設定し、フロントガラス80を挿入したことに起因する、各像位置における横方向の像移動量「Δx=x1−x」を算出する。
Since the user wants to know the period in the base line direction, the CPU of the measuring device has virtually set a number of horizontal lines on the image and inserted the
各横線上のx座標と横方向(x方向)の像移動量データとを対応させると、図6に示したカメラ画像の曲線を多数収集できる。計測機器のCPUは、これら「x−Δx」の曲線を周波数解析し、パワースペクトルのピーク位置を検出する。ピーク周波数の逆数が、その線上における画像上の歪み周期[pix]にあたる。 When the x coordinate on each horizontal line is associated with the image movement amount data in the horizontal direction (x direction), many curves of the camera image shown in FIG. 6 can be collected. The CPU of the measuring instrument performs frequency analysis on the curve of “x−Δx” to detect the peak position of the power spectrum. The reciprocal of the peak frequency corresponds to the distortion period [pix] on the image on the line.
計測機器のCPUは、画像上の歪み周期α[pix]、ステレオカメラ装置70とフロントガラス80との間の距離d[mm]、ステレオカメラ装置70の焦点距離f[pix]とし、フロントガラス80のガラス面上の歪み周期を「d×(α/f)」の数式を用いて算出する。また、計測機器のCPUは、同一条件で製造した多数のフロントガラス80の歪み特性をそれぞれ計測し、多数の周期の平均値を算出する。そして、計測機器のCPUは、算出した平均値を、各フロントガラス80の代表的な歪み周期として決定する。
The CPU of the measuring device sets the distortion period α [pix] on the image, the distance d [mm] between the
(基線長の決定動作)
次に、上述のように多数のフロントガラス80の歪み周期を計測した結果が、例えば30mm±5%であったとする。また、ステレオカメラ装置70の測距精度から、ステレオカメラ装置70を構成する左右のカメラ部の光軸間の距離である基線長は、例えば80mm以上であることが求められているとする。
(Operation of determining baseline length)
Next, it is assumed that the result of measuring the strain periods of the
30の整数倍で80以上となる最小値は、30×3=90である。基線長倍率を3倍とすると、5(%)×3=15(%)であるため、周期の変動を考慮しても、左右のカメラ部の像移動量が逆位相になることは無い。このため、ステレオカメラ装置70の基線長を90mmで固定する。
The minimum value which is an integral multiple of 30 and is 80 or more is 30 × 3 = 90. Assuming that the base line length magnification is 3, 5 (%) × 3 = 15 (%), so that the image movement amounts of the left and right camera units do not become in opposite phases even if the period variation is considered. For this reason, the base line length of the
(実施の形態の効果)
これにより、フロントガラス80によるカメラ画像の像移動の位相を、左右のカメラ部で一致させることができる。このため、特別なキャリブレーション工程(ステレオ校正工程)を行うことなく、フロントガラス80の歪みによる視差誤差を低減して、正確な距離計測性能を維持可能とすることができる。また、ステレオカメラ装置70のステレオ校正工程を不要とすることができるため、ステレオカメラ装置が設けられる車両、船舶、航空機等の製造工程が複雑化する不都合を防止できる。また、ステレオ校正工程を不要とすることができるため、車両の製造コストが増加する不都合を防止(抑制)できる。
(Effects of Embodiment)
Thereby, the phase of the image movement of the camera image by the
無限遠以外の近距離の被写体は元々視差を有するため、左右のカメラ画像の位置移動量曲線が重なっている場合でも(図6(b)参照)、異なる移動量となり、視差誤差を生じる。しかし、近距離になるほど視差自体が大きくなるため、このフロントガラス70の歪みによる視差誤差の方が、視差に対する誤差よりも小さくなる。
Since a subject at a short distance other than infinity originally has parallax, even when the position movement curves of the left and right camera images overlap (see FIG. 6B), the movement amounts are different, resulting in a parallax error. However, since the parallax itself increases as the distance decreases, the parallax error due to the distortion of the
一般的に、フロントガラス70の歪みの影響が大きい遠距離被写体の視差誤差を低減することの方が重要である。このため、実施の形態のステレオカメラシステムのように、左右のカメラ画像の位置移動量の位相を揃えることは大変有効である。
Generally, it is more important to reduce the parallax error of a long-distance subject that is greatly affected by the distortion of the
なお、車両のフロントガラス70に限らず、ステレオカメラ装置20は、例えば防塵、防水又は破損防止等のために、ガラス板又はアクリル板等の透明部材で覆われることが多い。例えば、一枚のガラス板で左右のカメラ部を覆うような場合には、本実施の形態は非常に有効である。
In addition, not only the
(変形例)
上述の実施の形態の説明では、ステレオ校正工程を不要としたが、上述の歪み周期と基線長の組み合わせによりフロントガラス80による視差誤差が低減される状態とした上で、さらに、フロントガラス80を介したステレオ校正工程を実施してもよい。これにより、ステレオカメラ装置70の距離計測性能の向上させることができる。
(Modification)
In the description of the above-described embodiment, the stereo calibration process is not required. However, the parallax error caused by the
最後に、上述の実施の形態は、一例として提示したものであり、本発明の範囲を限定することは意図していない。この新規な実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことも可能である。また、実施の形態及び実施の形態の変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Finally, the above-described embodiments have been presented by way of example, and are not intended to limit the scope of the present invention. This new embodiment can be implemented in other various forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. The embodiments and the modifications of the embodiments are included in the scope and the gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1 車両
1a フロントガラス
2 ステレオカメラシステム
20 ステレオカメラ装置
20a 左目用のカメラ部
20b 右目用のカメラ部
50 車両ECU
60 チャート
70 ステレオカメラ装置
80 フロントガラス
REFERENCE SIGNS LIST 1
60
Claims (8)
各前記カメラ部で撮像されたカメラ画像における、前記透過部材の周期的な歪曲特性に基づく像移動の位相が一致する位置に、各前記カメラ部を固定する固定部と
を有するステレオカメラ装置。 At least two camera units for imaging a subject based on imaging light transmitted through a transmission member having periodic distortion characteristics,
A stereo camera device comprising: a fixing unit that fixes each of the camera units at a position where a phase of an image movement based on a periodic distortion characteristic of the transmitting member in a camera image captured by each of the camera units matches.
を特徴とする請求項1記載のステレオカメラ装置。 The stereo camera device according to claim 1, wherein the fixing unit fixes each of the camera units at a position where the phase of the image movement is equal to or less than 30 degrees.
前記透過部材の歪み周期の変動率と、各前記カメラ部の光軸と直交する方向において前記光軸を結ぶ直線の長さである基線長の、前記透過部材の歪み周期に対する倍率との積を、50%より小さくする位置に、各前記カメラ部を固定すること
を特徴とする請求項1又は請求項2に記載のステレオカメラ装置。 The fixing part,
The product of the variation rate of the strain period of the transmission member and the base length, which is the length of a straight line connecting the optical axes in a direction perpendicular to the optical axis of each camera unit, multiplied by the magnification of the strain period of the transmission member. 3. The stereo camera device according to claim 1, wherein each of the camera units is fixed at a position smaller than 50%.
各前記カメラ部の光軸と直交する方向において、前記光軸を結ぶ直線の長さである基線長が、前記透過部材の歪み周期の整数倍となる位置に、各前記カメラ部を固定すること
を特徴とする請求項1又は請求項2に記載のステレオカメラ装置。 The fixing part,
In the direction orthogonal to the optical axis of each of the camera units, fix each of the camera units at a position where the base line length, which is the length of a straight line connecting the optical axes, is an integral multiple of the distortion period of the transmitting member. The stereo camera device according to claim 1 or 2, wherein:
を特徴とする請求項3又は請求項4に記載のステレオカメラ装置。 The fixing unit, fixing the camera unit at a position where the base line length realizes a length that can maintain a ranging system required as the stereo camera device,
The stereo camera device according to claim 3 or 4, wherein:
前記ステレオカメラ装置の各前記カメラ部で撮像されたカメラ画像に基づいて、制御対象を制御する制御部と、
を有するステレオカメラシステム。 The stereo camera device according to any one of claims 1 to 5,
A control unit that controls a control target based on a camera image captured by each camera unit of the stereo camera device,
Stereo camera system having
前記ステレオカメラ装置の各前記カメラ部で撮像されたカメラ画像に基づいて、少なくとも所定の走行制御を行う制御部と、
を備える移動体。 The stereo camera device according to any one of claims 1 to 5,
A control unit that performs at least a predetermined traveling control based on a camera image captured by each of the camera units of the stereo camera device,
A mobile body comprising:
を特徴とする請求項7に記載の移動体。 The transmission member is a windshield,
The moving body according to claim 7, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018144534A JP7180177B2 (en) | 2018-07-31 | 2018-07-31 | STEREO CAMERA SYSTEM, MOVING OBJECT AND METHOD OF FORMING STEREO CAMERA DEVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018144534A JP7180177B2 (en) | 2018-07-31 | 2018-07-31 | STEREO CAMERA SYSTEM, MOVING OBJECT AND METHOD OF FORMING STEREO CAMERA DEVICE |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020020657A true JP2020020657A (en) | 2020-02-06 |
JP7180177B2 JP7180177B2 (en) | 2022-11-30 |
Family
ID=69589846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018144534A Active JP7180177B2 (en) | 2018-07-31 | 2018-07-31 | STEREO CAMERA SYSTEM, MOVING OBJECT AND METHOD OF FORMING STEREO CAMERA DEVICE |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7180177B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023127362A1 (en) * | 2021-12-27 | 2023-07-06 | 日立Astemo株式会社 | Camera calibration method, and stereo camera device |
WO2024018709A1 (en) * | 2022-07-22 | 2024-01-25 | 日立Astemo株式会社 | Stereo camera device and calibration method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56166452A (en) * | 1980-05-27 | 1981-12-21 | Nippon Sheet Glass Co Ltd | Detecting method for distortion defect of transparent plate |
JPS60119404A (en) * | 1983-12-01 | 1985-06-26 | Nippon Sheet Glass Co Ltd | Inspecting device for distortion of plate glass |
JP2016009427A (en) * | 2014-06-26 | 2016-01-18 | 株式会社リコー | Image processor, image processing method, and device control system |
JP2016204249A (en) * | 2015-04-27 | 2016-12-08 | 株式会社リコー | Laminated glass manufacturing method, laminated glass, stereocamera calibration method and calibration system |
-
2018
- 2018-07-31 JP JP2018144534A patent/JP7180177B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56166452A (en) * | 1980-05-27 | 1981-12-21 | Nippon Sheet Glass Co Ltd | Detecting method for distortion defect of transparent plate |
JPS60119404A (en) * | 1983-12-01 | 1985-06-26 | Nippon Sheet Glass Co Ltd | Inspecting device for distortion of plate glass |
JP2016009427A (en) * | 2014-06-26 | 2016-01-18 | 株式会社リコー | Image processor, image processing method, and device control system |
JP2016204249A (en) * | 2015-04-27 | 2016-12-08 | 株式会社リコー | Laminated glass manufacturing method, laminated glass, stereocamera calibration method and calibration system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023127362A1 (en) * | 2021-12-27 | 2023-07-06 | 日立Astemo株式会社 | Camera calibration method, and stereo camera device |
WO2024018709A1 (en) * | 2022-07-22 | 2024-01-25 | 日立Astemo株式会社 | Stereo camera device and calibration method |
Also Published As
Publication number | Publication date |
---|---|
JP7180177B2 (en) | 2022-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6602982B2 (en) | In-vehicle camera, in-vehicle camera adjustment method, in-vehicle camera system | |
WO2018196391A1 (en) | Method and device for calibrating external parameters of vehicle-mounted camera | |
KR101787304B1 (en) | Calibration method, calibration device, and computer program product | |
US10365462B2 (en) | Distance measurement system and mobile object system | |
JP4414661B2 (en) | Stereo adapter and range image input device using the same | |
KR20150101749A (en) | Device for estimating three-dimensional shape of object and method thereof | |
EP3667413B1 (en) | Stereo image processing device | |
JP2001169310A5 (en) | ||
TW201443827A (en) | Camera image calibrating system and method of calibrating camera image | |
JP2008304248A (en) | Method for calibrating on-board stereo camera, on-board distance image generating apparatus, and program | |
JP2021025868A (en) | Stereo camera | |
CN111664839A (en) | Vehicle-mounted head-up display virtual image distance measuring method | |
JP7180177B2 (en) | STEREO CAMERA SYSTEM, MOVING OBJECT AND METHOD OF FORMING STEREO CAMERA DEVICE | |
JP6669182B2 (en) | Occupant monitoring device | |
JP2018136739A (en) | Calibration device | |
EP3640585B1 (en) | Stereo camera device | |
JP2015172876A (en) | Vehicle periphery monitoring device, vehicle periphery monitoring system, and program | |
WO2024122135A1 (en) | Image processing device and image processing method | |
JP6241083B2 (en) | Imaging apparatus and parallax detection method | |
CN116668665A (en) | Measuring device, moving device, measuring method, and storage medium | |
JP5580062B2 (en) | Obstacle detection alarm device | |
CN108038888B (en) | Spatial calibration method and device for hybrid camera system | |
JP2017045395A (en) | Detection device, detection method, imaging device, apparatus control system, and program | |
JPH09126759A (en) | Distance measuring method using in-vehicle camera and distance measuring apparatus using the same | |
JPH1151647A (en) | Distance-measuring apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210524 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20220204 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220510 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220707 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220707 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220809 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220927 |
|
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: 20221018 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221031 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7180177 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |