JP2020020657A - Stereo camera device, stereo camera system, and moving object - Google Patents

Stereo camera device, stereo camera system, and moving object Download PDF

Info

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
Application number
JP2018144534A
Other languages
Japanese (ja)
Other versions
JP7180177B2 (en
Inventor
青木 伸
Shin Aoki
青木  伸
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2018144534A priority Critical patent/JP7180177B2/en
Publication of JP2020020657A publication Critical patent/JP2020020657A/en
Application granted granted Critical
Publication of JP7180177B2 publication Critical patent/JP7180177B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Studio Devices (AREA)

Abstract

To provide a stereo camera device with which, even when imaging via a light transmissive member, it is possible to maintain accurate distance measurement performance without executing a stereo calibration process.SOLUTION: The stereo camera device comprises: at least two camera units for imaging a subject on the basis of imaging light having passed through a transparent member having a cyclic distortion characteristic; and a fixing unit for fixing each camera unit at a position where the phases of image movement based on the cyclic distortion characteristic of the transparent member in the camera images imaged by each camera unit match. Thus, the phases of image movement in the camera images due to the transparent member can be matched in each camera unit. Therefore, it is possible to reduce a parallax error due to the distortion of the transparent member and maintain accurate distance measurement performance without executing a stereo calibration process.SELECTED DRAWING: Figure 5

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 Patent Document 2, it can be said that the float glass can be manufactured while suppressing distortion, but it is difficult to completely eliminate even minute distortion. For this reason, even when an image is taken by a stereo camera device via a float glass manufactured by the technique disclosed in Patent Document 2, the above-described stereo calibration process is still required, and the manufacturing process of the vehicle is complicated. Is concerned.

本発明は、上述の課題に鑑みてなされたものであり、光透過部材を介して撮像を行う場合でも、ステレオ校正工程を行うことなく、正確な距離計測性能を維持可能として、車両等の製造工程が複雑化する不都合を防止できるようなステレオカメラ装置、ステレオカメラシステム、及び移動体の提供を目的とする。   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.

図1は、実施の形態のステレオカメラシステムが設けられた車両のフロントガラス部分を側面側から見た状態の図である。FIG. 1 is a diagram illustrating 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. 図2は、実施の形態のステレオカメラシステムの概略的な構成を示す図である。FIG. 2 is a diagram illustrating a schematic configuration of the stereo camera system according to the embodiment. 図3は、実施の形態のステレオカメラシステムに設けられているステレオカメラ装置のブロック図である。FIG. 3 is a block diagram of a stereo camera device provided in the stereo camera system according to the embodiment. 図4は、平行配置した各カメラ部による距離計測の原理を説明するための図である。FIG. 4 is a diagram for explaining the principle of distance measurement by the camera units arranged in parallel. 図5は、実施の形態のステレオカメラシステムのステレオカメラ装置が、車両のフロントガラスの内側に設置される様子を示す図である。FIG. 5 is a diagram illustrating a state where the stereo camera device of the stereo camera system according to the embodiment is installed inside the windshield of the vehicle. 図6は、フロントガラスによって発生する、左右のカメラ部のカメラ画像の像移動量と視差誤差量を説明するための図である。FIG. 6 is a diagram for explaining the image movement amount and the parallax error amount of the camera images of the left and right camera units generated by the windshield. 図7は、車内に設けられている左右のカメラ部を、車両の外からフロントガラスを介して、光軸方向に沿って見た図である。FIG. 7 is a view of left and right camera units provided in the vehicle as viewed along the optical axis direction from outside the vehicle via a windshield. 図8は、ステレオカメラ装置の光軸に対して傾斜しているフロントガラスを介して撮像されるカメラ画像の撮像状態を説明するための図である。FIG. 8 is a diagram for explaining an imaging state of a camera image captured via a windshield that is inclined with respect to the optical axis of the stereo camera device. 図9は、フロントガラスに斜め方向の縞模様が存在する場合における、カメラ画像の撮像状態を示す図である。FIG. 9 is a diagram illustrating an imaging state of a camera image when a stripe pattern in an oblique direction exists on the windshield. 図10は、歪み周期の計測工程を説明するための図である。FIG. 10 is a diagram for explaining a distortion cycle measuring process. 図11は、ガラス無し画像とガラス有り画像との間で移動している画素(対応点)の探索動作を説明するための図である。FIG. 11 is a diagram for explaining a search operation of a pixel (corresponding point) moving between the image without glass and the image with glass.

以下、ステレオカメラ装置、ステレオカメラシステム、及び移動体の実施の形態を説明する。   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 stereo camera system 2 that captures an image in a predetermined imaging range in a direction in which the vehicle 1 moves forward is provided inside (inside the vehicle) a windshield (an example of a transmissive member) 1a of the vehicle 1. I have. The stereo camera system 2 includes two image sensors as described later with reference to FIG. 3, and captures two images for the left eye and the right eye.

図2は、実施の形態のステレオカメラシステム2の概略的な構成を示す図である。この図2に示すようにステレオカメラシステム2は、ステレオカメラ装置20及び車両ECU(Engine Control Unit)50を有している。   FIG. 2 is a diagram illustrating a schematic configuration of the stereo camera system 2 according to the embodiment. As shown in FIG. 2, the stereo camera system 2 includes a stereo camera device 20 and a vehicle ECU (Engine Control Unit) 50.

ステレオカメラ装置20は、車両1が前進する方向の所定の撮像範囲の左目用及び右目用の2つの画像を撮像する。また、ステレオカメラ装置20は、撮像した左目用及び右目用の各画像に基づいて、例えば車両1の進行方向の障害物等を検出する。そして、ステレオカメラ装置20は、障害物等の検出結果、及び、後述するCAN(Controller Area Network)情報に基づいて、例えば車両1のエンジン制御、制動制御、及び走行レーンキープアシスト、操舵アシスト等の車両1に対する運転支援を行うための車両制御データを車両ECU50に供給する。   The stereo camera device 20 captures two images for the left eye and the right eye in a predetermined imaging range in the direction in which the vehicle 1 moves forward. Further, the stereo camera device 20 detects, for example, an obstacle in the traveling direction of the vehicle 1 based on the captured left-eye and right-eye images. Then, based on the detection result of an obstacle or the like and CAN (Controller Area Network) information to be described later, the stereo camera device 20 performs, for example, engine control, braking control, running lane keeping assist, steering assist, and the like of the vehicle 1. Vehicle control data for performing driving support for the vehicle 1 is supplied to the vehicle ECU 50.

車両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 stereo camera device 20, for example, engine control, braking control, and driving on the vehicle 1 such as running lane keeping assist and steering assist. Perform support control. In the following, the vehicle 1 will be described as an example of a moving object, but the stereo camera system 2 of the present embodiment can be applied to a ship, an aircraft, a robot, and the like.

(撮像装置の構成)
図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 stereo camera device 20. As shown in FIG. 3, the stereo camera device 20 includes a camera unit 20a for the left eye, a camera unit 20b for the right eye, and an image processing device 30. The camera units 20a and 20b are assembled parallel (horizontally) by a camera housing, which is an example of a fixed unit, and captures a moving image (or a still image) of the imaging target area. In addition, as will be described later, the camera housing is positioned at a position where the phase of the image movement based on the periodic distortion characteristic of the transmission member such as the windshield in the camera images captured by the camera units 20a and 20b matches. The camera units 20a and 20b are fixed.

カメラ部20a、20bは、それぞれレンズ21、画像センサ22、及びセンサコントローラ23を有する。画像センサ22は、例えばCCD(Charge Coupled Device)イメージセンサ又はCMOS(Complementary Metal-Oxide Semiconductor)イメージセンサである。センサコントローラ23は、例えば画像センサ22の露光制御、画像読み出し制御、外部回路との通信、及び画像データの送信制御等を行う。   The camera units 20a and 20b each have a lens 21, an image sensor 22, and a sensor controller 23. The image sensor 22 is, for example, a charge coupled device (CCD) image sensor or a complementary metal-oxide semiconductor (CMOS) image sensor. The sensor controller 23 performs, for example, exposure control of the image sensor 22, image reading control, communication with an external circuit, and transmission control of image data.

画像処理装置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 image processing device 30 includes, for example, a data bus line 300, a serial bus line 302, a CPU (Central Processing Unit) 304, an FPGA (Field-Programmable Gate Array) 306, a ROM (Read Only Memory) 308, and a RAM (Random Access Memory) 310. , A serial IF (Interface) 312 and a data IF (Interface) 314.

画像処理装置30は、データバスライン300及びシリアルバスライン302を介して、上述したカメラ部20a、20bと接続されている。ROM308等の記憶部には、車両制御プログラムが記憶されている。CPU304は、画像処理装置30全体の動作を制御すると共に、ROM308等の記憶部に記憶されている車両制御プログラムを実行することで、画像処理及び画像認識処理を実行する。   The image processing device 30 is connected to the above-described camera units 20a and 20b via a data bus line 300 and a serial bus line 302. A storage unit such as the ROM 308 stores a vehicle control program. The CPU 304 controls the entire operation of the image processing apparatus 30 and executes image processing and image recognition processing by executing a vehicle control program stored in a storage unit such as the ROM 308.

カメラ部20a、20bの各画像センサ22で撮像した各カメラ画像の輝度画像データは、データバスライン300を介して画像処理装置30のRAM310に書き込まれる。CPU304又はFPGA306からのセンサ露光値の変更制御データ、画像読み出しパラメータの変更制御データ、及び各種設定データ等は、シリアルバスライン302を介して送受信される。   Brightness image data of each camera image captured by each image sensor 22 of the camera units 20a and 20b is written to the RAM 310 of the image processing device 30 via the data bus line 300. Sensor exposure value change control data, image reading parameter change control data, and various setting data from the CPU 304 or the FPGA 306 are transmitted and received via the serial bus line 302.

FPGA306は、RAM310に保存された画像データに対してリアルタイム性が要求される処理である、例えばガンマ補正、ゆがみ補正(左右画像の平行化)、ブロックマッチングによる視差演算を行って視差画像を生成し、RAM310に再度書き込む。なお、視差画像は、物体の縦方向位置、横方向位置、及び、奥行方向位置が対応付けられた情報となっている。   The FPGA 306 generates a parallax image by performing processing that requires real-time processing on the image data stored in the RAM 310, such as gamma correction, distortion correction (parallelization of left and right images), and parallax calculation by block matching. , Is written into the RAM 310 again. The parallax image is information in which the vertical position, the horizontal position, and the depth position of the object are associated with each other.

CPU304は、ステレオカメラシステム2の各センサコントローラ23の制御、及び画像処理装置30の全体的な制御を行う。CPU304は、データIF314を介して、例えば車両1(自車両)のCAN(Controller Area Network)情報をパラメータ(車速、加速度、舵角、ヨーレート等)として取得する。   The CPU 304 controls each sensor controller 23 of the stereo camera system 2 and performs overall control of the image processing device 30. The CPU 304 acquires, for example, CAN (Controller Area Network) information of the vehicle 1 (own vehicle) as parameters (vehicle speed, acceleration, steering angle, yaw rate, etc.) via the data IF 314.

また、CPU304は、車両制御プログラムに基づいて、RAM310に書き込まれた視差画像を読み出し、例えば先行車両、人間、ガードレール、路面等の物体(障害物)を認識する。そして、CPU304は、物体の認識結果、及び、車両1(自車両)のCAN情報に基づいて車両制御データを形成し、シリアルIF312を介して車両ECU50に供給する。   Further, the CPU 304 reads the parallax image written in the RAM 310 based on the vehicle control program, and recognizes, for example, an object (an obstacle) such as a preceding vehicle, a person, a guardrail, and a road surface. Then, the CPU 304 forms vehicle control data based on the object recognition result and the CAN information of the vehicle 1 (own vehicle), and supplies the vehicle control data to the vehicle ECU 50 via the serial IF 312.

車両ECU50は、画像処理装置30から供給された車両制御データに基づいて、例えば車両1のエンジン制御、制動制御、及び走行レーンキープアシスト、操舵アシスト等の車両1に対する運転支援制御を行う。   The vehicle ECU 50 performs, for example, engine control, braking control, and driving support control for the vehicle 1 such as running lane keeping assist and steering assist based on the vehicle control data supplied from the image processing device 30.

(ステレオカメラシステムによる距離計測)
ここで、平行配置したカメラ部20a、20bによる距離計測の原理を、図4を用いて説明する。この図4では、カメラCが上述のカメラ部20aに相当し、カメラCが上述のカメラ部20bに相当する。カメラCの焦点距離は「f」、光学中心は「O」、撮像面は「S」となっている。また、カメラCの焦点距離は「f」、光学中心は「O」、撮像面は「S」となっている。カメラC及びカメラCは、距離Bの間隔で平行配置されている。
(Distance measurement by stereo camera system)
Here, the principle of distance measurement by the camera units 20a and 20b arranged in parallel will be described with reference to FIG. In FIG. 4, the camera C 0 corresponds to the camera unit 20a described above, the camera C 1 corresponds to the camera unit 20b described above. The focal length of the camera C 0 is “f”, the optical center is “O 0 ”, and the imaging surface is “S 0 ”. The focal length of the camera C 1 is "f", the optical center "O 1", the imaging surface is "S 1". The cameras C 0 and C 1 are arranged in parallel at a distance B.

カメラCの光学中心「O」から光軸方向に距離「d」だけ離れて位置している被写体「A」の像は、直線「A」×光学中心「O」と、撮像面「S」の交点「P」に結像する。カメラCの場合も同様に、被写体「A」が、撮像面「S」の交点「P」に結像する。 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".

カメラ「C」の光学中心「O」を通り、直線「A−O」に平行な直線(図4に点線の直線で示す)と、撮像面「S」との交点を「P00」とし、この交点「P00」と、被写体「A」が結像する点「P」との間の距離を「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 100 ”, 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」がカメラC上で結像する点「P」に対応する位置である。距離「r」は、同じ被写体「A」を2つのカメラC及びカメラCで撮影した場合における、カメラ画像の位置ずれ量を示している。この各カメラ画像の位置ずれ量は、「視差」と呼ばれる。 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−O−Oと、三角形:O−P00−Pは相似形であるため、基線長を「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 camera units 20a and 20b and that connects each optical axis.

以上が、ステレオカメラシステム2における距離計測の原理である。この原理を成立させるためには、図4に示すように2つのカメラC及びカメラCを、平行関係を維持した状態で正確に配置する必要がある。 The above is the principle of distance measurement in the stereo camera system 2. In order to establish this principle, the two cameras C 0 and the camera C 1 as shown in FIG. 4, it is necessary to accurately position while maintaining the parallel relationship.

(フロントガラスの影響)
次に、車載用のステレオカメラ装置20を車外に設置する場合、高温、低温、防水、及び防塵等に対して、より高い耐久性が求められる。このため、ステレオカメラ装置20は、図5に示すように車両のフロントガラス1aの内側に設置されることが多い。車内に設置されたステレオカメラシステム2は、車外からの撮像光を、フロントガラス1aを介して受光して撮像を行う。フロントガラス1aは、複雑な曲面形状を有しており、また、ステレオカメラ装置20のレンズ等のような精巧な光学部品と比べ、形状に歪みが生じている。
(Effect of windshield)
Next, when the in-vehicle stereo camera device 20 is installed outside the vehicle, higher durability is required for high temperature, low temperature, waterproof, dustproof, and the like. For this reason, the stereo camera device 20 is often installed inside the windshield 1a of the vehicle as shown in FIG. The stereo camera system 2 installed inside the vehicle receives an imaging light from outside the vehicle via the windshield 1a to perform imaging. The windshield 1a has a complicated curved surface shape, and its shape is more distorted than a sophisticated optical component such as a lens of the stereo camera device 20.

一例ではあるが、厚みが1.5mm以下のフロントガラス1aの場合、製造工程(フロート法)においてピッチが25mm程度、山谷の深さが0.1μm〜0.3μm程度の微細な歪み(略々周期的なシワ=コルゲーション(corrugation))が発生する。製造工程において、このような歪みを、完全に無くすことは困難である。   As an example, in the case of the windshield 1a having a thickness of 1.5 mm or less, fine distortion (almost in the manufacturing process (float method)) in which the pitch is about 25 mm and the depth of the valley is about 0.1 μm to 0.3 μm. Periodic wrinkles (corrugation) occur. It is difficult to completely eliminate such distortion in the manufacturing process.

このため、フロントガラス1aを介して撮像されるカメラ画像にも歪みが発生する。また、車両1に対するステレオカメラシステム2の設置位置及び方位によっても歪み特性が変化する。このため、カメラ画像に発生する歪みを補正するためには、車両1の所定の位置にステレオカメラシステム2を設置した後、フロントガラス1aを介して撮像した画像を利用してステレオ校正工程を実施する必要があった。   For this reason, distortion also occurs in the camera image captured through the windshield 1a. In addition, the distortion characteristics also change depending on the installation position and orientation of the stereo camera system 2 with respect to the vehicle 1. Therefore, in order to correct the distortion generated in the camera image, after installing the stereo camera system 2 at a predetermined position of the vehicle 1, a stereo calibration process is performed using the image captured through the windshield 1a. I needed to.

(画像歪みによる視差誤差)
次に、画像の歪みによる視差の変化を説明する。画像の歪みとは、理想的なピンホールカメラに比べて像位置が変化することである。フロントガラス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 windshield 1a, a phenomenon occurs in which the amount of image position movement changes according to the position in the image.

画像中の位置として基線方向(図4の基線長Bの方向)に平行な方向(以下、横方向と呼ぶ)を考える。基線方向は、図4に示すカメラC及びカメラCの光学中心「O」及び光学中心「O」を結ぶ直線に対して平行となる線の方向(上述の横方向)である。また、左右のカメラ部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 right camera units 20a and 20b are attached to the vehicle 1 as shown in FIG. 1, the X direction in FIG. 4 is the width direction of the vehicle 1 (= left and right direction of the vehicle 1), and the Y direction is the The height direction (= vertical direction) and the Z direction are forward directions (depth direction: front-back direction) of the vehicle 1. In FIG. 4, the Z direction corresponds to the optical axis direction of each of the camera units 20a and 20b. Similarly, the X direction corresponds to the above-described baseline direction.

像位置移動量は、プラス又はマイナスの一次元量であり、画像上の歪み特性は、図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-eye camera unit 20a, and the solid line curve indicates the image position movement amount of the right-eye camera unit 20b.

左右のカメラ部20a、20bが理想的な平行関係を維持している場合、左右のカメラ画像の視差は横方向にのみ発生し、無限遠被写体は同一位置に写る。しかし、左右のカメラ画像に歪みが生じている場合、ステレオ視差は、左右のカメラ画像上の像位置の差分であるため、左右のカメラ部20a、20bの像移動量の差分に相当する視差誤差が発生する。   When the left and right camera units 20a and 20b maintain an ideal parallel relationship, parallax between the left and right camera images occurs only in the horizontal direction, and the subject at infinity is captured at the same position. However, when the left and right camera images are distorted, the stereo parallax is the difference between the image positions on the left and right camera images, and thus the parallax error corresponding to the difference between the image movement amounts of the left and right camera units 20a and 20b. Occurs.

図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 windshield 1a has the same distortion, the parallax error can be reduced by aligning the image movement phases of the left and right camera images.

なお、左右のカメラ部20a、20bは、各カメラ画像の像移動の位相のずれ量が、例えば30度以下等の所定以下のずれ量(位相差)となるように、固定位置を調整すればよい。これにより、視差誤差を所定以下とすることができる。   The fixed positions of the left and right camera units 20a and 20b are adjusted so that the amount of phase shift of the image movement of each camera image is equal to or less than a predetermined amount (phase difference) such as 30 degrees or less. Good. Thereby, the parallax error can be made equal to or less than a predetermined value.

(歪み周期と基線長)
次に、左右のカメラ部20a、20bで、単体カメラと単体カメラの直前のフロントガラス1aのシワの相対位置が一致していれば、左右のカメラ部20a、20bの直前に、それぞれ同様の形状のフロントガラス1aが存在することになるため、カメラ画像の像位置移動量の位相を揃えることができる(同位相とすることができる)。
(Strain cycle and baseline length)
Next, if the relative positions of the wrinkles of the windshield 1a in front of the single camera and the single camera in the left and right camera units 20a, 20b match, the same shape is formed immediately in front of the left and right camera units 20a, 20b. Is present, the phases of the image position movement amounts of the camera images can be made uniform (the phases can be made the same).

図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 right camera units 20a and 20b provided in the vehicle viewed from outside the vehicle 1 via the windshield 1a along the optical axis direction. is there. The symbols “+” shown in FIGS. 7A to 7C indicate a glass region (hereinafter, referred to as a plus region) in which the image position movement amount has a distortion in the plus direction. 7A to 7C indicate a glass region (hereinafter, referred to as a minus region) in which the image position movement amount has a distortion in the minus direction.

図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 right camera units 20a and 20b, and the minus areas are located on the left and right of each plus area, As shown in FIG. 6B, the directions of the image position movement amounts in the left and right camera images match, and the parallax error is reduced.

これは、プラス領域が左右のカメラ部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 right camera units 20a and 20b, and the plus region and the minus region are located at the same position of the left and right camera units 20a and 20b as shown in FIG. If the region is located, the parallax error similarly becomes smaller. Note that the example of FIG. 7B is an example in which a plus area is located on the left side of the left and right camera units 20a and 20b, and a minus area is located on the right side. Such an arrangement of the plus region and the minus region is established if the interval between the plus regions on the windshield 1a (distortion period: distortion characteristic) matches the base line length of the stereo camera device 20.

さらに、図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 windshield 1a is 33 mm (+ 10%), if the base line length is 1 and the base line length is 30 mm, the phase difference between the left and right is (33−30) / 30 = The shift is 10%. On the other hand, if the base line length magnification is 5 and the base line length is 150 mm, the phase difference between the left and right camera images is ((33−30) / 30) × 5 = 50%, as shown in FIG. As described above, the phases of the left and right camera images are inverted to generate the maximum parallax error.

このような不都合を避けるために、歪み周期の変動率(周期変動率)と基線長倍率との積を、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 stereo camera device 20, the base line length is preferably longer.

このようなことから、実施の形態のステレオカメラシステムは、フロントガラス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 windshield 1a and the magnification of the baseline length of the stereo camera device 20 with respect to the distortion period of the windshield 1a is set to be smaller than 50%. . Each of the camera units 20a and 20b is fixed to a position that realizes a base line length that can maintain the distance measurement accuracy required for the stereo camera device 20 by a camera housing that is a fixing unit.

(その他の考慮点)
次に、多くの場合、フロントガラス1aは、図5に示したようにステレオカメラ装置20の光軸に対して傾斜している。このため、フロントガラス1a上に、例えば縦縞の縞模様(フロントガラス1aの上下方向の縞模様)が存在した場合、左右のカメラ部20a、20bで撮像されるカメラ画像は、それぞれ図8に示すように縦縞の上側の幅よりも下側の幅の方が狭くなる、言わば下窄まりの形状(扇形状又は等脚台形を180度回転させた形状)のカメラ画像となる。
(Other considerations)
Next, in many cases, the windshield 1a is inclined with respect to the optical axis of the stereo camera device 20, as shown in FIG. Therefore, when, for example, a vertical stripe pattern (a vertical stripe pattern of the windshield 1a) exists on the windshield 1a, the camera images captured by the left and right camera units 20a and 20b are respectively shown in FIG. As described above, the camera image is a camera image having a shape of a lower constriction (a shape obtained by rotating a fan shape or an isosceles trapezoid by 180 degrees) in which the width on the lower side is smaller than the width on the upper side of the vertical stripes.

ここで、ステレオカメラ装置20の基線方向周りにフロントガラス1aが回転しても、左右のカメラ部20a、20bとフロントガラス1aとの間の距離は変わらない。このため、図7(a)〜図7(c)を用いた説明と同様に、ステレオ基線方向の縞模様の周期と基線長が整数倍の関係にあれば、ステレオカメラ装置20とフロントガラス1a上の縞模様の相対的な位置関係は、左右で同一となる。その結果、左右のカメラ画像上の縞模様の領域は、図8に示すように同じ扇形状となり、上述と同様に、視差誤差を低減できる。   Here, even if the windshield 1a rotates around the base line direction of the stereo camera device 20, the distance between the left and right camera units 20a, 20b and the windshield 1a does not change. For this reason, as in the description using FIGS. 7A to 7C, if the period of the stripe pattern in the stereo base line direction and the base line length have an integral multiple, the stereo camera device 20 and the windshield 1a The relative positional relationship of the upper stripe pattern is the same on the left and right. As a result, the striped areas on the left and right camera images have the same fan shape as shown in FIG. 8, and the parallax error can be reduced as described above.

また、フロントガラス1aの縞模様が基線方向に直交する方向ではなく、図9に示すように、斜め方向の縞模様である場合、基線方向の周期の整数倍の基線長であれば、やはり左右のカメラ画像で撮像される縞模様がそれぞれ相対的な位置関係を示すようになるため、各カメラ画像上の歪み位相は一致する。   Further, when the stripe pattern of the windshield 1a is not a direction orthogonal to the base line direction but a diagonal stripe pattern as shown in FIG. 9, if the base line length is an integral multiple of the period in the base line direction, the left and right sides are also left and right. Since the striped patterns captured by the camera images indicate relative positional relationships, the distortion phases on each camera image match.

また、曲面ガラスの一つであるフロントガラス1aは、滑らかな曲面形状を持つため、ガラス面に沿った長さの歪み周期は、画像に写る歪みの周期と正確には一致しない。しかし、数十mm程度の基線長スケールでは、フロントガラス1aは略々平面に近く、また、上述のように、左右のカメラ画像の歪み位相が正確に一致していなくても、逆位相(図6(a)参照)だけでも避けることができれば視差誤差の低減には有効である。   In addition, since the windshield 1a, which is one of the curved glass surfaces, has a smooth curved surface shape, the period of the distortion along the glass surface does not exactly match the period of the distortion shown in the image. However, on a baseline length scale of about several tens of millimeters, the windshield 1a is substantially close to a plane, and as described above, even if the distortion phases of the left and right camera images do not exactly match, the opposite phases (FIG. 6 (a) alone is effective in reducing parallax errors.

(ステレオカメラ装置の形成工程)
以下、実施の形態のステレオカメラシステム2におけるステレオカメラ装置20の形成工程を説明する。実施の形態のステレオカメラシステム2では、まず、フロントガラス1aの代表的な歪み周期を計測して決定する。そして、決定した周期に基づいてステレオカメラ装置20の各カメラ部20a、20b間の基線長を決定し、決定した基線長となるように、各カメラ部20a、20bの位置を固定してステレオカメラ装置20を形成する。
(Formation process of stereo camera device)
Hereinafter, a process of forming the stereo camera device 20 in the stereo camera system 2 of the embodiment will be described. In the stereo camera system 2 of the embodiment, first, a typical distortion period of the windshield 1a is measured and determined. Then, a base line length between the camera units 20a and 20b of the stereo camera device 20 is determined based on the determined cycle, and the positions of the camera units 20a and 20b are fixed so as to have the determined base line length. The device 20 is formed.

(歪み周期の計測工程)
歪み周期の計測工程では、計測機器に設けられているステレオカメラ装置(上述のステレオカメラ装置に相当)で、フロントガラスを介してテストチャート等を撮像し、フロントガラスの歪みを計測する。具体的には、図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 test chart 60 is arranged in front of a fixed stereo camera device 70. Further, a windshield 80 (corresponding to the above-described windshield 1a) is installed between the stereo camera device 70 and the test chart 60 at a distance d [mm] from the stereo camera device 70. Then, in the state where the windshield 80 is installed (the state where the glass is present) and the state where the windshield 80 is not installed (the state where there is no glass), the test chart 60 is imaged.

次に、計測機器のCPUが、ガラス有り状態でテストチャート60を撮像することで得られたガラス有り画像と、ガラス無し状態でテストチャート60を撮像することで得られたガラス無し画像とを比較する。そして、計測機器のCPUは、ガラス無し画像とガラス有り画像との間で移動している画素(点)を探索する(対応点探索)。   Next, the CPU of the measuring device compares the image with glass obtained by imaging the test chart 60 with glass and the image without glass obtained by imaging the test chart 60 with no glass. I do. Then, the CPU of the measuring device searches for a pixel (point) that moves between the image without glass and the image with glass (corresponding point search).

図11は、この対応点探索動作を説明するための図である。この図11において、像位置(x,y)は、ガラス無し画像の像位置を示し、像位置(x,y)は、ガラス有り画像の像位置を示している。また、図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=x−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 windshield 80 as shown by the dotted horizontal lines in FIG. Is calculated in the horizontal direction at each image position “Δx = x 1 −x”.

各横線上の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 stereo camera device 70 and the windshield 80, and the focal length f [pix] of the stereo camera device 70, Is calculated using the equation of “d × (α / f)”. In addition, the CPU of the measuring device measures the distortion characteristics of a large number of windshields 80 manufactured under the same conditions, and calculates an average value of a large number of periods. Then, the CPU of the measuring device determines the calculated average value as a representative distortion period of each windshield 80.

(基線長の決定動作)
次に、上述のように多数のフロントガラス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 many windshields 80 as described above is, for example, 30 mm ± 5%. In addition, it is assumed that the base line length, which is the distance between the optical axes of the left and right camera units included in the stereo camera device 70, is required to be, for example, 80 mm or more from the ranging accuracy of the stereo camera device 70.

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 stereo camera device 70 is fixed at 90 mm.

(実施の形態の効果)
これにより、フロントガラス80によるカメラ画像の像移動の位相を、左右のカメラ部で一致させることができる。このため、特別なキャリブレーション工程(ステレオ校正工程)を行うことなく、フロントガラス80の歪みによる視差誤差を低減して、正確な距離計測性能を維持可能とすることができる。また、ステレオカメラ装置70のステレオ校正工程を不要とすることができるため、ステレオカメラ装置が設けられる車両、船舶、航空機等の製造工程が複雑化する不都合を防止できる。また、ステレオ校正工程を不要とすることができるため、車両の製造コストが増加する不都合を防止(抑制)できる。
(Effects of Embodiment)
Thereby, the phase of the image movement of the camera image by the windshield 80 can be matched between the left and right camera units. Therefore, the parallax error due to the distortion of the windshield 80 can be reduced without performing a special calibration process (stereo calibration process), and accurate distance measurement performance can be maintained. Further, since the stereo calibration process of the stereo camera device 70 can be dispensed with, it is possible to prevent inconvenience in complicating the manufacturing process of a vehicle, a ship, an aircraft, or the like provided with the stereo camera device. Further, since the stereo calibration process can be omitted, it is possible to prevent (suppress) an inconvenience of increasing the manufacturing cost of the vehicle.

無限遠以外の近距離の被写体は元々視差を有するため、左右のカメラ画像の位置移動量曲線が重なっている場合でも(図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 windshield 70 is smaller than the error with respect to the parallax.

一般的に、フロントガラス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 windshield 70. Therefore, as in the stereo camera system according to the embodiment, it is very effective to make the phases of the amount of position movement of the left and right camera images uniform.

なお、車両のフロントガラス70に限らず、ステレオカメラ装置20は、例えば防塵、防水又は破損防止等のために、ガラス板又はアクリル板等の透明部材で覆われることが多い。例えば、一枚のガラス板で左右のカメラ部を覆うような場合には、本実施の形態は非常に有効である。   In addition, not only the windshield 70 of the vehicle, but also the stereo camera device 20 is often covered with a transparent member such as a glass plate or an acrylic plate, for example, for dust prevention, waterproofing, breakage prevention, and the like. For example, in a case where the left and right camera sections are covered with one glass plate, this embodiment is very effective.

(変形例)
上述の実施の形態の説明では、ステレオ校正工程を不要としたが、上述の歪み周期と基線長の組み合わせによりフロントガラス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 windshield 80 is reduced by the combination of the above-described distortion period and the base line length. A stereo calibration process may be performed. Thereby, the distance measurement performance of the stereo camera device 70 can be improved.

最後に、上述の実施の形態は、一例として提示したものであり、本発明の範囲を限定することは意図していない。この新規な実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことも可能である。また、実施の形態及び実施の形態の変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   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 vehicle 1a windshield 2 stereo camera system 20 stereo camera device 20a camera unit for left eye 20b camera unit for right eye 50 vehicle ECU
60 chart 70 stereo camera device 80 windshield

特開2004−132870号公報JP-A-2004-132870 特開平07−010569号公報JP-A-07-010569

Claims (8)

周期的な歪曲特性を有する透過部材を透過した撮像光に基づいて被写体の撮像を行う、少なくとも2つのカメラ部と、
各前記カメラ部で撮像されたカメラ画像における、前記透過部材の周期的な歪曲特性に基づく像移動の位相が一致する位置に、各前記カメラ部を固定する固定部と
を有するステレオカメラ装置。
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.
前記固定部は、前記像移動の位相が30度以下となる位置に、各前記カメラ部を固定すること
を特徴とする請求項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:
請求項1乃至請求項5のうち、何れか一項に記載のステレオカメラ装置と、
前記ステレオカメラ装置の各前記カメラ部で撮像されたカメラ画像に基づいて、制御対象を制御する制御部と、
を有するステレオカメラシステム。
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
請求項1乃至請求項5のうち、何れか一項に記載のステレオカメラ装置と、
前記ステレオカメラ装置の各前記カメラ部で撮像されたカメラ画像に基づいて、少なくとも所定の走行制御を行う制御部と、
を備える移動体。
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:
JP2018144534A 2018-07-31 2018-07-31 STEREO CAMERA SYSTEM, MOVING OBJECT AND METHOD OF FORMING STEREO CAMERA DEVICE Active JP7180177B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
US10852516B2 (en) Imaging device
KR101787304B1 (en) Calibration method, calibration device, and computer program product
JP6602982B2 (en) In-vehicle camera, in-vehicle camera adjustment method, in-vehicle camera system
JP4414661B2 (en) Stereo adapter and range image input device using the same
JP6510551B2 (en) Image pickup optical system, image pickup apparatus and distance measurement system
KR20150101749A (en) Device for estimating three-dimensional shape of object and method thereof
EP3667413B1 (en) Stereo image processing device
JP2008304248A (en) Method for calibrating on-board stereo camera, on-board distance image generating apparatus, and program
TW201443827A (en) Camera image calibrating system and method of calibrating camera image
JP2001169310A5 (en)
JP5455033B2 (en) Distance image input device and outside monitoring device
JP7180177B2 (en) STEREO CAMERA SYSTEM, MOVING OBJECT AND METHOD OF FORMING STEREO CAMERA DEVICE
JP6669182B2 (en) Occupant monitoring device
JP6243758B2 (en) Vehicle periphery monitoring device, vehicle periphery monitoring method, and program
EP3640585B1 (en) Stereo camera device
JP2018136739A (en) Calibration device
KR101995344B1 (en) A dual depth camera module without blind spot
CN116668665A (en) Measuring device, moving device, measuring method, and storage medium
JPH1183475A (en) Distance-measuring apparatus
JP6241083B2 (en) Imaging apparatus and parallax detection method
JP5580062B2 (en) Obstacle detection alarm device
JPH09126759A (en) Range finding method by on-vehicle camera and range finder using the camera
JP6561688B2 (en) DETECTING DEVICE, DETECTING METHOD, IMAGING DEVICE, DEVICE CONTROL SYSTEM, AND PROGRAM
JPH1151647A (en) Distance-measuring apparatus
WO2024122135A1 (en) Image processing device and image processing method

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