Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6489645B2 - Image processing device - Google Patents
[go: Go Back, main page]

JP6489645B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP6489645B2
JP6489645B2 JP2015124053A JP2015124053A JP6489645B2 JP 6489645 B2 JP6489645 B2 JP 6489645B2 JP 2015124053 A JP2015124053 A JP 2015124053A JP 2015124053 A JP2015124053 A JP 2015124053A JP 6489645 B2 JP6489645 B2 JP 6489645B2
Authority
JP
Japan
Prior art keywords
distance
parallax
pair
long
white lines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015124053A
Other languages
Japanese (ja)
Other versions
JP2017009387A (en
Inventor
敦史 高野
敦史 高野
恭平 大谷
恭平 大谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Subaru Corp
Original Assignee
Subaru Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Subaru Corp filed Critical Subaru Corp
Priority to JP2015124053A priority Critical patent/JP6489645B2/en
Publication of JP2017009387A publication Critical patent/JP2017009387A/en
Application granted granted Critical
Publication of JP6489645B2 publication Critical patent/JP6489645B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、車両の進行方向をステレオカメラを用いて撮像して得られた画像に基づき被写体の3次元位置情報を認識する画像処理装置に関する。   The present invention relates to an image processing apparatus that recognizes three-dimensional position information of a subject based on an image obtained by capturing a traveling direction of a vehicle using a stereo camera.

車外環境を認識する車両システムとして、自車両の進行方向を一対のカメラを備えるステレオカメラで撮像して得られた一対の画像に基づき、被写体と自車両との位置関係を認識する画像処理装置を備えるものがある。このように自車両の進行方向に存在する被写体を認識するシステムでは、被写体までの距離の情報を含めた被写体の3次元位置情報(実空間上における位置の情報)を生成する。具体的には、前記のステレオカメラにより視点の異なる一対の画像データを撮像し、当該一対の画像データ間における被写体の視差を算出し、当該視差に基づいて被写体の3次元位置情報を生成する。   An image processing apparatus for recognizing a positional relationship between a subject and a host vehicle based on a pair of images obtained by capturing a traveling direction of the host vehicle with a stereo camera including a pair of cameras as a vehicle system for recognizing an environment outside the vehicle. There is something to prepare. In this way, in the system for recognizing a subject existing in the traveling direction of the host vehicle, three-dimensional position information (position information in real space) of the subject including information on the distance to the subject is generated. Specifically, a pair of image data with different viewpoints is captured by the stereo camera, the parallax of the subject between the pair of image data is calculated, and the three-dimensional position information of the subject is generated based on the parallax.

前記の3次元位置情報は、一対のカメラの中央真下の点を原点とし、一対のカメラを結ぶ方向にX軸、上下方向にY軸、前後方向にZ軸とした場合の空間上の点(X,Y,Z)で表される。3次元位置情報は、三角測量の手法に基づき生成されるもので、具体的には、画像上の画素を座標(i,j)で表し、視差をdp、一対のカメラの間隔をCD、1画素当たりの視野角をPW、一対のカメラの取り付け高さをCH、カメラ正面の無限遠点の画像上でのi座標、j座標をそれぞれIV、JVとしたときに、以下の[式1]〜[式3]で表される座標変換により求まる。   The three-dimensional position information is a point in space when a point directly below the center of a pair of cameras is the origin, the X axis is the direction connecting the pair of cameras, the Y axis is the vertical direction, and the Z axis is the front and rear direction ( X, Y, Z). The three-dimensional position information is generated based on the triangulation method. Specifically, the pixel on the image is represented by coordinates (i, j), the parallax is dp, the distance between the pair of cameras is CD, 1 When the viewing angle per pixel is PW, the mounting height of a pair of cameras is CH, and the i-coordinate and j-coordinate on the image at the infinity point in front of the camera are IV and JV, respectively, [Equation 1] It is obtained by coordinate transformation represented by ~ [Equation 3].

X=CD/2+Z×PW×(i−IV)…[式1]
Y=CH+Z×PW×(j−JV)…[式2]
Z=CD/{PW×(dp−DP)}…[式3]
但し、前記[式3]における「DP」は視差オフセット値であり、ステレオカメラの車両への取り付け時に決定され、それ以降は定数として扱われる値である。
X = CD / 2 + Z * PW * (i-IV) ... [Formula 1]
Y = CH + Z × PW × (j−JV) [Formula 2]
Z = CD / {PW × (dp−DP)} [Formula 3]
However, “DP” in [Expression 3] is a parallax offset value, which is determined when the stereo camera is attached to the vehicle, and is treated as a constant thereafter.

視差オフセット値DPは、ステレオカメラが自車両に対して所定に取り付けられた状態を基準として定められた値であるため、例えば車両の使用により生じる振動や熱等に起因してステレオカメラの取付状態が所定状態から変化してしまうと、前記[式3]により距離Zの値を正しく算出することができなくなってしまう。   The parallax offset value DP is a value determined with reference to a state in which the stereo camera is attached to the host vehicle in a predetermined manner. If the value changes from the predetermined state, the value of the distance Z cannot be correctly calculated by the above [Equation 3].

そこで、このようなステレオカメラの取付状態の経時的な変化に伴い生じる視差オフセット値DPの誤差を補正するための技術として、先に本出願人は前記特許文献1に記載される補正技術を提案している。特許文献1では、路面に直線状に標示された連続線や破線等の白線の撮像画像に基づいて一対のカメラの各撮像画像中にそれぞれ消失点を算出し、その結果に基づいて補正する。前記特許文献1に記載の技術によれば、自車両の走行時に視差オフセット値DPを補正することができる。   Therefore, as a technique for correcting an error in the parallax offset value DP caused by such a change in the mounting state of the stereo camera over time, the present applicant previously proposed a correction technique described in Patent Document 1. doing. In Patent Document 1, a vanishing point is calculated in each captured image of a pair of cameras based on a captured image of a white line such as a continuous line or a broken line that is linearly marked on the road surface, and correction is performed based on the result. According to the technique described in Patent Document 1, the parallax offset value DP can be corrected when the host vehicle is traveling.

特開2003−83742号公報JP 2003-83742 A

例えば、ステレオカメラを構成する一対のカメラが、車両のフロントウィンドウを透過して自車両の前方を撮像するように配置される場合、フロントウィンドウを透過することによる画像の歪みの様子が、画像の上部と下部とで一様でない場合がある。このような、画像の歪みが画像の縦方向で変化する原因は、例えば画像の上下で光線がフロントウィンドウを透過する距離が異なることや、フロントウィンドウが曲面であることである。   For example, when a pair of cameras constituting a stereo camera are arranged so as to capture the front of the host vehicle through the front window of the vehicle, the image distortion caused by the transmission through the front window The upper and lower parts may not be uniform. The reason why the distortion of the image changes in the vertical direction of the image is, for example, that the distance at which the light passes through the front window is different between the upper and lower sides of the image, or that the front window is a curved surface.

このように、画像の歪みが画像の縦方向で変化する場合には、特許文献1に記載の技術のような画像上の白線の消失点の算出において誤差が生じ、視差オフセット値DPの補正に誤差が生じる可能性がある。   Thus, when the distortion of the image changes in the vertical direction of the image, an error occurs in the calculation of the vanishing point of the white line on the image as in the technique described in Patent Document 1, and correction of the parallax offset value DP is performed. An error may occur.

本発明は前述した問題を解決するものであり、ステレオカメラを用いて撮像された画像から被写体の3次元位置情報を認識する画像処理装置において、正確に視差オフセット値の補正を行うことを目的とする。   An object of the present invention is to solve the above-described problem, and to correct a parallax offset value accurately in an image processing apparatus that recognizes three-dimensional position information of a subject from an image captured using a stereo camera. To do.

本発明の一態様の画像処理装置は、自車両の進行方向をステレオカメラを用いて撮像して得られた一対の画像データに基づき被写体の3次元位置情報を認識する画像処理装置であって、前記一対の画像データ上における、自車両の車両通行帯を示す一対の白線の形状を検出する車線検出処理部と、前記一対の画像データ、および前記車線検出部により検出された一対の白線の形状データに基づき、前記視差から前記距離を算出する計算式の補正を行う視差オフセット値補正処理部と、を備え、前記視差オフセット値補正処理部は、自車両の進行方向の距離の異なる2地点である近距離地点および遠距離地点の双方について、一対の画像データ上における白線の視差と一対の白線の離間画素数を取得するステップと、前記近距離地点における白線の視差および離間画素数に基づき、前記近距離地点における実空間の一対の白線の離間距離である近距離白線間距離を算出するステップと、前記遠距離地点における白線の視差および離間画素数に基づき、前記遠距離地点における実空間の一対の白線の離間距離である遠距離白線間距離を求めるステップと、前記近距離白線間距離が遠距離地点においても等しいとみなした場合に予測される遠距離地点における視差である遠距離推定視差を算出するステップと、前記遠距離白線視差、および前記遠距離推定視差の比較結果に基づき、前記視差から前記距離を算出する計算式の誤差を算出するステップと、前記誤差の値に基づき、前記視差から前記距離を算出する計算式の補正を行うステップと、を実行する。   An image processing apparatus according to an aspect of the present invention is an image processing apparatus that recognizes three-dimensional position information of a subject based on a pair of image data obtained by capturing the traveling direction of the host vehicle using a stereo camera. On the pair of image data, a lane detection processing unit for detecting a shape of a pair of white lines indicating a vehicle lane of the host vehicle, the pair of image data, and a pair of white lines detected by the lane detection unit A parallax offset value correction processing unit that corrects a calculation formula for calculating the distance from the parallax based on the data, and the parallax offset value correction processing unit is at two points with different distances in the traveling direction of the host vehicle. For both a short distance point and a long distance point, obtaining the parallax of the white line on the pair of image data and the number of separated pixels of the pair of white lines, and the white at the short distance point Based on the parallax and the number of pixels separated from each other, a step of calculating a distance between the short distance white lines, which is a separation distance between a pair of white lines in the real space at the short distance point, , A step of obtaining a distance between long distance white lines, which is a separation distance between a pair of white lines in the real space at the long distance point, and a long distance predicted when the distance between the short distance white lines is considered to be equal at the long distance point A step of calculating a long-distance estimated parallax that is a parallax at a point; a step of calculating an error of a calculation formula for calculating the distance from the parallax based on a comparison result of the long-distance white line parallax and the long-distance estimated parallax; And correcting the calculation formula for calculating the distance from the parallax based on the error value.

本発明によれば、ステレオカメラを用いて撮像された画像から被写体の3次元位置情報を認識する画像処理装置において、正確に視差オフセット値の補正を行うことができる。   According to the present invention, the parallax offset value can be accurately corrected in an image processing apparatus that recognizes the three-dimensional position information of a subject from an image captured using a stereo camera.

画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of an image processing apparatus. ステレオカメラによって撮像された一対の画像上における白線を示す図である。It is a figure which shows the white line on a pair of image imaged with the stereo camera. 実空間上における白線を示す図である。It is a figure which shows the white line on real space. 画像処理装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an image processing apparatus.

以下に、本発明の好ましい形態について図面を参照して説明する。なお、以下の説明に用いる各図においては、各構成要素を図面上で認識可能な程度の大きさとするため、構成要素毎に縮尺を異ならせてあるものであり、本発明は、これらの図に記載された構成要素の数量、構成要素の形状、構成要素の大きさの比率、及び各構成要素の相対的な位置関係のみに限定されるものではない。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In the drawings used for the following description, the scale of each component is made different in order to make each component recognizable on the drawing. It is not limited only to the quantity of the component described in (1), the shape of the component, the ratio of the size of the component, and the relative positional relationship of each component.

図1に示す本実施形態の画像処理装置1は、ステレオカメラ2が装着された車両に搭載され、ステレオカメラ2によって撮像された画像中に写っている物体(被写体)の車両に対する相対的な位置を算出する。   An image processing apparatus 1 according to this embodiment shown in FIG. 1 is mounted on a vehicle on which a stereo camera 2 is mounted, and the relative position of the object (subject) shown in the image captured by the stereo camera 2 with respect to the vehicle. Is calculated.

ステレオカメラ2は、車両の進行方向を視野に収めるように車幅方向に一定の距離だけ離間して配置された、視点の異なる一対の第1カメラ2aおよび第2カメラ2bを備える。第1カメラ2aおよび第2カメラ2bは、互いの光軸が平行であり、同一のフレームレートで動画像を撮像する。   The stereo camera 2 includes a pair of first camera 2a and second camera 2b having different viewpoints arranged at a certain distance in the vehicle width direction so that the traveling direction of the vehicle is in the field of view. The first camera 2a and the second camera 2b have parallel optical axes and capture moving images at the same frame rate.

ステレオカメラ2は、撮像した画像をデジタルデータに変換するA/Dコンバータや、画像に対してノイズ除去および輝度値補正等の画像補正を行う画像補正部等を備える。ステレオカメラ2は、撮像した画像をデジタルデータとして画像処理装置1に送信する。   The stereo camera 2 includes an A / D converter that converts a captured image into digital data, an image correction unit that performs image correction such as noise removal and luminance value correction on the image, and the like. The stereo camera 2 transmits the captured image to the image processing apparatus 1 as digital data.

画像処理装置1は、CPUやROM、RAM、入出力インターフェース等がバスに接続されたコンピュータより構成されている。なお、画像処理装置1は、車両の動作を制御するコンピュータを含む車両制御システム3に組み込まれていてもよいし、車両制御システム3とは別のコンピュータであってもよい。   The image processing apparatus 1 includes a computer having a CPU, ROM, RAM, input / output interface, and the like connected to a bus. The image processing apparatus 1 may be incorporated in a vehicle control system 3 including a computer that controls the operation of the vehicle, or may be a computer different from the vehicle control system 3.

画像処理装置1は、車両制御部3との間で通信可能である。車両制御システム3は、車両に設けられた車速センサ、舵角センサ、加速度センサおよび角速度センサ等を含むセンサ部5から入力される情報と、画像処理装置1から入力される情報とに基づき、車両の周辺環境を含めた状況を認識し、運転支援に係る動作を実行する。   The image processing apparatus 1 can communicate with the vehicle control unit 3. The vehicle control system 3 is based on information input from a sensor unit 5 including a vehicle speed sensor, a steering angle sensor, an acceleration sensor, an angular velocity sensor, and the like provided in the vehicle, and information input from the image processing device 1. Recognize the situation including the surrounding environment of the vehicle and execute the operation related to driving support.

運転支援に係る動作とは、運転者に対して車線逸脱警告や衝突警告を出力する警告動作、および自動ブレーキや自動操舵等の半自動または自動の運転補助動作等を含む。ステレオカメラを用いた運転支援は公知の技術であるため詳細な説明は省略する。   The operation related to the driving support includes a warning operation for outputting a lane departure warning and a collision warning to the driver, a semi-automatic or automatic driving assist operation such as automatic braking and automatic steering, and the like. Since driving assistance using a stereo camera is a known technique, detailed description thereof is omitted.

画像処理装置1は、メモリ1a、3次元位置情報生成処理部1b、車線検出処理部1c、および視差オフセット値補正処理部1eを備える。   The image processing apparatus 1 includes a memory 1a, a three-dimensional position information generation processing unit 1b, a lane detection processing unit 1c, and a parallax offset value correction processing unit 1e.

メモリ1aは、ステレオカメラ2から入力される画像のデータを記憶する。以下では、第1カメラ2aにより撮像される画像を第1画像データと称し、第2カメラ2bにより撮像される画像を第2画像データと称する。   The memory 1 a stores image data input from the stereo camera 2. Hereinafter, an image captured by the first camera 2a is referred to as first image data, and an image captured by the second camera 2b is referred to as second image data.

3次元位置情報生成処理部1b、車線検出処理部1c、および視差オフセット値補正処理部1eは、それぞれ以下に説明する画像処理装置1が有する画像処理の機能を実行するための構成を含む。   Each of the three-dimensional position information generation processing unit 1b, the lane detection processing unit 1c, and the parallax offset value correction processing unit 1e includes a configuration for executing an image processing function of the image processing apparatus 1 described below.

3次元位置情報生成処理部1bは、ステレオカメラ2によって撮像された視点の異なる一対の画像データに基づき、被写体の3次元位置情報を生成する。   The three-dimensional position information generation processing unit 1b generates three-dimensional position information of the subject based on a pair of image data with different viewpoints captured by the stereo camera 2.

3次元位置情報生成処理部1bが実行する3次元位置情報生成処理は、第1画像データと第2画像データの間の対応点をパターンマッチングにより検出し、検出された対応点間の座標のずれを視差dpとして算出し、視差dpを用いて三角測量の原理により実空間上における対応点の位置の情報を3次元位置情報として生成する処理である。   The three-dimensional position information generation processing executed by the three-dimensional position information generation processing unit 1b detects a corresponding point between the first image data and the second image data by pattern matching, and a coordinate shift between the detected corresponding points. Is calculated as the parallax dp, and the position information of the corresponding point in the real space is generated as the three-dimensional position information by the principle of triangulation using the parallax dp.

前記のような視差dpとしての座標のずれを算出するにあたっては、予め第1画像データおよび第2画像データのうちの一方が「基準画像」、他方が「比較画像」として定められる。比較画像は、基準画像上の水平方向端部に位置する物体についての視差dpの算出を可能とするため、基準画像よりも水平方向画素数が多い画像として生成されている。   In calculating the coordinate shift as the parallax dp as described above, one of the first image data and the second image data is determined in advance as a “reference image” and the other as a “comparison image”. The comparison image is generated as an image having a larger number of pixels in the horizontal direction than the reference image in order to allow the calculation of the parallax dp for the object located at the horizontal end on the reference image.

ここで、3次元位置情報は、一対のカメラである第1カメラ2aと第2カメラ2bの中央真下の点を原点とし、一対のカメラを結ぶ方向にX軸、上下方向にY軸、前後方向にZ軸ととった場合の空間上の点(X,Y,Z)として表される情報である。   Here, the three-dimensional position information is based on a point just below the center of the first camera 2a and the second camera 2b, which is a pair of cameras, with the X axis in the direction connecting the pair of cameras, the Y axis in the vertical direction, and the front-back direction. Is information expressed as a point (X, Y, Z) in space when the Z axis is taken.

3次元位置情報としてのX,Y,Zの各値は、画像中における水平方向に平行な軸をi軸、垂直方向に平行な軸をj軸としたときの画素の座標を(i,j)で表し、一対のカメラの間隔(基線長)をCD、1画素当たりの視野角をPW、一対のカメラの取り付け高さをCH、カメラ正面の無限遠点の基準画像上でのi座標、j座標をそれぞれIV、JVとしたときに、下記[式1]〜[式3]で表される座標変換により求まる。   Each value of X, Y, and Z as the three-dimensional position information is expressed by the pixel coordinates (i, j) when the axis parallel to the horizontal direction in the image is the i axis and the axis parallel to the vertical direction is the j axis. ), The distance between the pair of cameras (baseline length) is CD, the viewing angle per pixel is PW, the mounting height of the pair of cameras is CH, the i-coordinate on the reference image at the infinity point in front of the camera, When the j coordinate is IV and JV, respectively, it is obtained by coordinate conversion represented by the following [Expression 1] to [Expression 3].

X=CD/2+Z×PW×(i−IV) …[式1]
Y=CH+Z×PW×(j−JV) …[式2]
Z=CD/{PW×(dp−DP)} …[式3]
前記[式3]における「DP」は、消失点視差や無限遠対応点などとも称されるが、要するに基準画像と比較画像の間の対応点間の視差dpと、対応点までの実空間上での距離Zとが前記[式3]を満たすようにして決定される値である。以下、この「DP」については「視差オフセット値DP」と称する。
X = CD / 2 + Z × PW × (i-IV) [Formula 1]
Y = CH + Z × PW × (j−JV) [Formula 2]
Z = CD / {PW × (dp−DP)} [Formula 3]
“DP” in [Expression 3] is also referred to as a vanishing point parallax, an infinite correspondence point, or the like, but in short, the parallax dp between corresponding points between the reference image and the comparison image, and in the real space up to the corresponding point Is a value determined so as to satisfy the above [Equation 3]. Hereinafter, this “DP” is referred to as “parallax offset value DP”.

車線検出処理部1cは、ステレオカメラ2によって撮像された画像データ中における、自車両が走行する路面上に形成された白線を検出する車線検出処理を実行する。ここで白線とは、自車両が走行している車両通行帯を示すために、車両通行帯の左右の境界に沿って路面上に形成された線状の道路標示である。なお、本実施形態では白線と称するが、白線の色は白色に限られるものではない。また、白線は破線であってもよい。   The lane detection processing unit 1c performs lane detection processing for detecting a white line formed on the road surface on which the host vehicle travels in the image data captured by the stereo camera 2. Here, the white line is a linear road marking formed on the road surface along the left and right boundaries of the vehicle lane to indicate the vehicle lane where the host vehicle is traveling. In this embodiment, the white line is referred to as a white line, but the color of the white line is not limited to white. The white line may be a broken line.

車線検出処理部1cは、第1画像データおよび第2画像データの双方について、自車両が走行している車両通行帯の両側に存在する白線の形状を検出する。   The lane detection processing unit 1c detects the shape of the white line existing on both sides of the vehicle lane where the host vehicle is traveling for both the first image data and the second image data.

視差オフセット値補正処理部1eは、車線検出処理部1cによって検出された白線の情報に基づいて、視差dpから距離Zを算出する計算式(すなわち先の[式3])についての補正を行う視差オフセット値補正処理を実行する。前述のように、カメラの取付状態の経時的な変化に起因して[式3]における視差オフセット値DPには現実のカメラ取付状態に対応した最適値からの誤差が発生してしまうため、視差オフセット値補正処理はこれを補正するものである。   The parallax offset value correction processing unit 1e performs the correction on the calculation formula for calculating the distance Z from the parallax dp (that is, the previous [Formula 3]) based on the white line information detected by the lane detection processing unit 1c. An offset value correction process is executed. As described above, the parallax offset value DP in [Equation 3] due to a change with time in the camera mounting state causes an error from the optimum value corresponding to the actual camera mounting state. The offset value correction process corrects this.

図2は、ステレオカメラ2によって撮像された画像データ中における白線を示す図であり、図3は、実座標であるX−Y平面における白線を示す図である。図4は、視差オフセット値補正処理のフローチャートである。   FIG. 2 is a diagram showing a white line in image data captured by the stereo camera 2, and FIG. 3 is a diagram showing a white line on the XY plane which is an actual coordinate. FIG. 4 is a flowchart of the parallax offset value correction process.

図4に示す視差オフセット値補正処理は、ステレオカメラ2のフレームレートに同期して実行される。すなわち、視差オフセット値補正処理は、ステレオカメラ2によって撮像される画像の全フレームについて実行される。   The parallax offset value correction process shown in FIG. 4 is executed in synchronization with the frame rate of the stereo camera 2. That is, the parallax offset value correction process is executed for all frames of an image captured by the stereo camera 2.

図4のフローチャートに示すように、視差オフセット値補正処理では、まずステップS10において、視差オフセット値補正処理の実行が可能であるか否かを判定する。視差オフセット値補正処理は、後述するように、白線が自車両の車両通行帯を示す一対の白線の車幅方向の離間距離が自車両の前方の所定の範囲内において一定であり、かつ路面が略水平である必要がある。以下では、一対の白線の車幅方向の離間距離のことを白線間距離と称する。   As shown in the flowchart of FIG. 4, in the parallax offset value correction process, first, in step S10, it is determined whether or not the parallax offset value correction process can be executed. In the parallax offset value correction process, as will be described later, the distance between the pair of white lines in which the white line indicates the vehicle lane of the host vehicle in the vehicle width direction is constant within a predetermined range in front of the host vehicle, and the road surface is It must be approximately horizontal. Hereinafter, the distance between the pair of white lines in the vehicle width direction is referred to as a distance between the white lines.

そこで、ステップS10では、センサ部5によって、自車両が所定時間以上、等しい速度で直進している場合に、自車両が走行する車両通行帯が平坦かつ直線状であるとみなす。自車両が等速度で直進しているか否かの判定は、センサ部5に含まれる舵角センサや加速度センサ等の出力情報に基づいて行う。例えば、舵角が中立付近の所定範囲内に収まり、かつ車両前後方向の加速度の値がゼロ付近の所定範囲内に収まる場合に、画像処理装置1は、自車両が等速度で直進していると判定する。また、ステップS10では、車線検出処理部1cによって検出される一対の白線の白線間距離が、所定時間以上一定であるか否かを判定する。   Therefore, in step S10, when the host vehicle is traveling straight at an equal speed for a predetermined time or more by the sensor unit 5, it is considered that the vehicle traffic zone in which the host vehicle travels is flat and straight. Whether or not the host vehicle is traveling straight at a constant speed is determined based on output information from a steering angle sensor, an acceleration sensor, or the like included in the sensor unit 5. For example, when the rudder angle is within a predetermined range near neutral and the acceleration value in the vehicle longitudinal direction is within a predetermined range near zero, the image processing apparatus 1 causes the host vehicle to travel straight at a constant speed. Is determined. In Step S10, it is determined whether the distance between the white lines of the pair of white lines detected by the lane detection processing unit 1c is constant for a predetermined time or more.

ステップS10において、視差オフセット値補正処理部1eは、自車両が等速度で直進しており、かつ一対の白線の車幅方向の離間距離が所定時間以上一定である場合に、視差オフセット値補正処理の実行が可能であると判定する。   In step S10, the parallax offset value correction processing unit 1e performs parallax offset value correction processing when the host vehicle is traveling straight at a constant speed and the distance between the pair of white lines in the vehicle width direction is constant for a predetermined time or more. Is determined to be possible.

なお、ステップS10の判定には、車線検出処理部1cによって検出された白線の太さの値が所定時間以上一定であることが、視差オフセット値補正処理の実行が可能であると判定するための必要条件として加えられてもよい。これは、白線の太さの値にばらつきが存在する場合とは、積雪や降雨等によって車線検出処理部1cによる白線の形状の検出精度が低い状態であるか、または実際の白線が不鮮明な状態であることが考えられるためである。   The determination in step S10 is for determining that it is possible to execute the parallax offset value correction process that the thickness value of the white line detected by the lane detection processing unit 1c is constant for a predetermined time or more. It may be added as a requirement. This is because there is a variation in the value of the thickness of the white line, which means that the detection accuracy of the shape of the white line by the lane detection processing unit 1c is low due to snow or rain, or the actual white line is unclear This is because it can be considered.

ステップS10において、視差オフセット値補正処理の実行が不可能であると判定した場合(ステップS20のNO)には、視差オフセット値補正処理を終了する。この場合、視差オフセット値DPの値は変更されない。   If it is determined in step S10 that the parallax offset value correction process cannot be executed (NO in step S20), the parallax offset value correction process ends. In this case, the value of the parallax offset value DP is not changed.

一方、ステップS10において、視差オフセット値補正処理の実行が可能であると判定した場合(ステップS20のYES)には、ステップS30に移行する。   On the other hand, when it is determined in step S10 that the parallax offset value correction process can be executed (YES in step S20), the process proceeds to step S30.

ステップS30では、視差オフセット値補正処理部1eは、一対の画像データである第1画像データおよび第2画像データから車線検出処理部1cによって検出された白線の情報を取得する。   In step S30, the parallax offset value correction processing unit 1e acquires information on the white line detected by the lane detection processing unit 1c from the first image data and the second image data which are a pair of image data.

図2は、説明のために、ステレオカメラ2によって撮像された第1画像データに、第2画像データを重ね合わせて示している。図2においては、第1画像データに写っている白線を実線で示し、第2画像データに写っている白線を2点鎖線で示している。図示する例では、第2画像データを撮像する第2カメラ2bが、第1カメラ2aに対して車両進行方向に向かって左に位置しているが、第1カメラ2aと第2カメラ2bとの位置関係はこの逆であってもよい。   FIG. 2 shows the second image data superimposed on the first image data captured by the stereo camera 2 for explanation. In FIG. 2, the white line that appears in the first image data is indicated by a solid line, and the white line that appears in the second image data is indicated by a two-dot chain line. In the illustrated example, the second camera 2b that captures the second image data is located on the left side in the vehicle traveling direction with respect to the first camera 2a, but the first camera 2a and the second camera 2b The positional relationship may be reversed.

図2において、符号10RLが、第1画像データ中の自車両に対して進行方向左側に位置する左白線であり、符号10RRが第1画像データ中の自車両に対して進行方向右側に位置する右白線である。また、図2において、符号10LLが、第2画像データ中の自車両に対して進行方向左側に位置する左白線であり、符号10LRが第2画像データ中の自車両に対して進行方向右側に位置する右白線である。   In FIG. 2, reference numeral 10RL is a left white line located on the left side in the traveling direction with respect to the own vehicle in the first image data, and reference numeral 10RR is located on the right side in the traveling direction with respect to the own vehicle in the first image data. The white line on the right. In FIG. 2, reference numeral 10LL is a left white line located on the left side in the traveling direction with respect to the host vehicle in the second image data, and reference numeral 10LR is on the right side in the traveling direction with respect to the host vehicle in the second image data. The right white line is located.

ステップS30では、視差オフセット値補正処理部1eは、自車両の前方のZ軸座標の異なる2地点における白線について、視差と白線間距離を取得する。より詳細には、ステップS30では、画像データ上の自車両の前方の近距離地点の白線の視差である近距離白線視差md[pixel]と、画像データ上の前記近距離地点における白線間の離間距離である近距離白線間画素m[pixel]と、画像データ上の自車両の前方の前記近距離地点よりも遠い遠距離地点の白線の視差である遠距離白線視差nd[pixel]と、画像データ上の前記遠距離地点の白線間距離である遠距離白線間画素n[pixel]と、を視差オフセット値補正処理部1eは車線検出処理部1cから取得する。   In step S30, the parallax offset value correction processing unit 1e acquires the parallax and the distance between the white lines for the white lines at two points with different Z-axis coordinates ahead of the host vehicle. More specifically, in step S30, the short distance white line parallax md [pixel], which is the parallax of the white line at the short distance point ahead of the host vehicle on the image data, and the separation between the white lines at the short distance point on the image data. A short distance white line pixel m [pixel] which is a distance, a long distance white line parallax nd [pixel] which is a parallax of a white line far from the short distance point ahead of the host vehicle on the image data, and an image The parallax offset value correction processing unit 1e obtains, from the lane detection processing unit 1c, the long-distance white-line pixel n [pixel], which is the distance between the white lines at the long-distance point on the data.

図3に示すように、近距離地点のZ座標がa[mm]、遠距離地点のZ座標がb[mm]とした場合に、a<bの関係が成り立つ。本実施形態では一例として、a=15000[mm]とし、b=40000[mm]とする。   As shown in FIG. 3, when the Z coordinate of the short distance point is a [mm] and the Z coordinate of the long distance point is b [mm], the relationship of a <b is established. In this embodiment, as an example, a = 15000 [mm] and b = 40000 [mm].

したがって、近距離白線視差mdは、図2に示すように、一対の画像データ中の近距離地点に対応した座標jaにおける、白線の視差である。本実施形態では一例として、近距離白線視差mdは、座標jaにおける左白線の視差mdl[pixel]と右白線の視差mdr[pixel]の平均値である。すなわち、mdは次式で求められる。
md=(mdl+mdr)/2
なお、近距離白線視差mdは、座標jaの近傍の数画素のj座標において検出された白線の視差を平均した値であってもよい。
Therefore, the short distance white line parallax md is a white line parallax at a coordinate ja corresponding to a short distance point in a pair of image data, as shown in FIG. In this embodiment, as an example, the short distance white line parallax md is an average value of the parallax mdl [pixel] of the left white line and the parallax mdr [pixel] of the right white line at the coordinate ja. That is, md is obtained by the following equation.
md = (mdl + mdr) / 2
The short distance white line parallax md may be a value obtained by averaging the parallax of the white line detected at the j coordinate of several pixels in the vicinity of the coordinate ja.

近距離白線間画素mは、図2に示すように、基準画像データ中の近距離地点に対応した座標jaにおける、一対の白線間の画素数である。なお、近距離白線間画素mは、座標jaの近傍の数画素のj座標において検出された白線間の画素数を平均した値であってもよい。   As shown in FIG. 2, the short distance white line pixel m is the number of pixels between a pair of white lines at a coordinate ja corresponding to a short distance point in the reference image data. The short-distance white line pixel m may be a value obtained by averaging the number of pixels between white lines detected at the j coordinate of several pixels in the vicinity of the coordinate ja.

また、遠距離白線視差ndは、図2に示すように、一対の画像データ中の遠距離地点に対応した座標jbにおける、白線の視差である。本実施形態では一例として、遠距離白線視差ndは、座標jbにおける左白線の視差ndl[pixel]と右白線の視差ndr[pixel]の平均値である。すなわち、ndは次式で求められる。
nd=(ndl+ndr)/2
なお、遠距離白線視差ndは、座標jbの近傍の数画素のj座標において検出された白線の視差を平均した値であってもよい。
Further, the long-distance white line parallax nd is the parallax of the white line at the coordinate jb corresponding to the long-distance point in the pair of image data, as shown in FIG. In this embodiment, as an example, the long distance white line parallax nd is an average value of the parallax ndl [pixel] of the left white line and the parallax ndr [pixel] of the right white line at the coordinate jb. That is, nd is obtained by the following equation.
nd = (ndl + ndr) / 2
The long-distance white line parallax nd may be a value obtained by averaging the parallax of the white line detected at the j coordinate of several pixels in the vicinity of the coordinate jb.

遠距離白線間画素nは、図2に示すように、基準画像データ中の遠距離地点に対応した座標jbにおける、一対の白線間の画素数である。なお、遠距離白線間画素nは、座標jbの近傍の数画素のj座標において検出された白線間の画素数を平均した値であってもよい。   As shown in FIG. 2, the long distance white line pixel n is the number of pixels between a pair of white lines at a coordinate jb corresponding to a long distance point in the reference image data. The long-distance white line pixel n may be a value obtained by averaging the number of pixels between white lines detected at the j coordinate of several pixels in the vicinity of the coordinate jb.

次にステップS40において、視差オフセット値補正処理部1eは、一対の画像データから算出される、近距離地点における近距離白線間距離A[mm]を求める。具体的には、視差オフセット値補正処理部1eは、次式を用い、ステップS30で取得した近距離白線間画素mを、近距離白線視差mdを用いて近距離白線間距離Aに変換する。
A=CD・m/md
Next, in step S40, the parallax offset value correction processing unit 1e calculates a short distance white line distance A [mm] at a short distance point calculated from the pair of image data. Specifically, the parallax offset value correction processing unit 1e converts the short-distance white line pixel m acquired in step S30 into the short-distance white line distance A using the short-distance white line parallax md using the following equation.
A = CD · m / md

次にステップS50において、視差オフセット値補正処理部1eは、一対の画像データから算出される、遠距離地点における遠距離白線間距離B[mm]を求める。具体的には、視差オフセット値補正処理部1eは、次式を用い、ステップS30で取得した遠距離白線間画素nを、近距離白線視差ndを用いて近距離白線間距離Bに変換する。
B=CD・n/nd
Next, in step S50, the parallax offset value correction processing unit 1e obtains the distance B [mm] between the long distance white lines at the long distance points calculated from the pair of image data. Specifically, the parallax offset value correction processing unit 1e converts the long-distance white line pixel n acquired in step S30 into the short-distance white line distance B using the short-distance white line parallax nd using the following equation.
B = CD · n / nd

次にステップS60において、視差オフセット値補正処理部1eは、近距離白線間距離Aが遠距離地点においても等しいとした場合に予測される遠距離地点における視差である遠距離推定視差f[pixel]を算出する。具体的には、視差オフセット値補正処理部1eは、ステップS30において取得した遠距離白線間画素nと、ステップS40において算出した近距離白線間距離Aとを用いて、次式により推定視差fを算出する。
f=CD・n/A
Next, in step S60, the parallax offset value correction processing unit 1e estimates the long-distance estimated parallax f [pixel] that is a parallax at a long-distance point that is predicted when the short-distance white line distance A is also equal at the long-distance point. Is calculated. Specifically, the parallax offset value correction processing unit 1e uses the long-distance white line pixel n acquired in step S30 and the short-distance white line distance A calculated in step S40 to calculate the estimated parallax f by the following equation. calculate.
f = CD · n / A

次に、ステップS70において、視差オフセット値補正処理部1eは、一対の画像データから取得した遠距離地点における白線の視差である遠距離白線視差ndと、近距離白線間距離Aが遠距離地点においても等しいとした場合に予測される遠距離推定視差fとの差分である視差誤差e[pixel]を算出する。
視差誤差eは、遠距離推定視差fを基準とした場合における、遠距離推定視差fに対する遠距離白線視差ndの誤差を示す。具体的には、視差オフセット値補正処理部1eは、次式により視差誤差eを算出する。
e=f−nd
Next, in step S70, the parallax offset value correction processing unit 1e determines that the long-distance white line parallax nd, which is the parallax of the white line at the long distance point acquired from the pair of image data, and the short-distance white line distance A are at the long distance point. And parallax error e [pixel] which is a difference from the long-range estimated parallax f predicted when the two are also equal.
The parallax error e indicates an error of the long-distance white line parallax nd with respect to the long-distance estimated parallax f when the long-distance estimated parallax f is used as a reference. Specifically, the parallax offset value correction processing unit 1e calculates the parallax error e by the following equation.
e = f-nd

次に、ステップS80において、視差オフセット値補正処理部1eは、視差誤差eの値を用いて次式により視差オフセット値を補正する。次式では、現在の視差オフセット値をDPとし、補正後の視差オフセット値をDP’として示している。
DP’=DP−e
Next, in step S80, the parallax offset value correction processing unit 1e corrects the parallax offset value by the following equation using the value of the parallax error e. In the following equation, the current parallax offset value is indicated as DP, and the corrected parallax offset value is indicated as DP ′.
DP ′ = DP−e

画像処理装置1は、補正後の視差オフセット値DP’の値を、新たな視差オフセット値DPとしてメモリ1aに記憶する。   The image processing apparatus 1 stores the corrected parallax offset value DP ′ in the memory 1a as a new parallax offset value DP.

なお、本実施形態では、ステップS70において算出した視差誤差eの絶対値が所定の値以上である場合には、視差誤差eの絶対値を前記所定の値とする。言い換えれば、本実施形態では、1度の視差オフセット値補正処理によって視差オフセット値DPを変更することのできる幅を、所定の値以下に制限している。これは、視差誤差eの算出過程において大きな誤差が含まれた場合に、視差オフセット値DPが真の値から急激に大きく逸脱してしまうことを防止するためである。   In the present embodiment, when the absolute value of the parallax error e calculated in step S70 is greater than or equal to a predetermined value, the absolute value of the parallax error e is set as the predetermined value. In other words, in the present embodiment, the width in which the parallax offset value DP can be changed by one parallax offset value correction process is limited to a predetermined value or less. This is to prevent the parallax offset value DP from abruptly deviating from the true value when a large error is included in the process of calculating the parallax error e.

以上に説明したように、本実施形態の画像処理装置1は、自車両の進行方向をステレオカメラ2を用いて撮像して得られた一対の画像データに基づき被写体の3次元位置情報を認識する装置であって、一対の画像データ上における、自車両の車両通行帯を示す一対の白線の形状を検出する車線検出処理部1cと、前記一対の画像データ、および前記車線検出部1cにより検出された一対の白線の形状データに基づき、一対の画像データ間の視差から被写体までの距離を算出する計算式の補正を行う視差オフセット値補正処理部1eと、を備える。   As described above, the image processing apparatus 1 according to the present embodiment recognizes the three-dimensional position information of the subject based on a pair of image data obtained by capturing the traveling direction of the host vehicle using the stereo camera 2. A lane detection processing unit 1c that detects a shape of a pair of white lines indicating a vehicle lane of the host vehicle on a pair of image data, the pair of image data, and the lane detection unit 1c. And a parallax offset value correction processing unit 1e for correcting a calculation formula for calculating the distance from the parallax between the pair of image data to the subject based on the shape data of the pair of white lines.

そして、本実施形態の視差オフセット値補正処理部1eは、自車両の進行方向の距離の異なる2地点である近距離地点および遠距離地点の双方について、一対の画像データ上における白線の視差(md、nd)と一対の白線の離間画素数(m、n)のデータを車線検出処理部1cから取得する。そして、視差オフセット値補正処理部1eは、近距離地点における白線の視差mdおよび離間画素数mに基づき、近距離地点における実空間の一対の白線の離間距離である近距離白線間距離Aを算出する。   Then, the parallax offset value correction processing unit 1e of the present embodiment has white line parallax (md on the pair of image data (md) for both the short-distance point and the long-distance point which are two points having different distances in the traveling direction of the host vehicle. , Nd) and the number of separated pixels (m, n) between the pair of white lines are acquired from the lane detection processing unit 1c. Then, the parallax offset value correction processing unit 1e calculates a short-distance white line distance A, which is a separation distance between a pair of white lines in the real space at the short distance point, based on the parallax md of the white line at the short distance point and the number m of separated pixels. To do.

そして、視差オフセット値補正処理部1eは、前記近距離白線間距離Aが遠距離地点においても等しいとみなした場合に予測される遠距離地点における視差である遠距離推定視差fと、一対の画像データから求められる遠距離地点における実空間の一対の白線の離間距離である遠距離白線間距離Bと、の比較結果に基づき、被写体までの距離を算出する計算式の誤差(視差オフセット値DPの誤差)を算出し、当該誤差の値に基づいて前記計算式(視差オフセット値DP)を補正する。   Then, the parallax offset value correction processing unit 1e has a long-distance estimated parallax f that is a parallax at a long-distance point predicted when the short-distance white-line distance A is considered to be equal even at a long-distance point, and a pair of images. Based on the comparison result between the distance B between the long distance white lines, which is the distance between the pair of white lines in the real space at the long distance point obtained from the data, an error in the calculation formula for calculating the distance to the subject (disparity of the parallax offset value DP) Error) is calculated, and the calculation formula (parallax offset value DP) is corrected based on the error value.

このような本実施形態の画像処理装置1は、自車両の走行中に視差オフセット値DPを補正するため、ステレオカメラ2の取付状態の経時的な変化に伴い生じる視差オフセット値DPの誤差を補正することができる。   Since the image processing apparatus 1 according to the present embodiment corrects the parallax offset value DP while the host vehicle is traveling, it corrects an error in the parallax offset value DP caused by a change in the mounting state of the stereo camera 2 over time. can do.

また、本実施形態では、画像データのi軸方向の画素数を用いて求められる一対の白線の離間距離の情報を用いて視差オフセット値DPを補正する。例えば、ステレオカメラ2が自車両のフロントウィンドウの内側に配置される場合には、フロントウィンドウを透過することによる画像の歪みの様子が画像の上部と下部とで変化する場合があるが、画像のi軸方向については、j軸方向よりも歪みの変化の影響を受けにくい。これは、一般に車両のフロントウィンドウの車両の前後方向の傾斜角度の方が、フロントウィンドウの車両の幅方向の傾斜角度よりも大きいためである。   In the present embodiment, the parallax offset value DP is corrected using information on the distance between the pair of white lines obtained using the number of pixels in the i-axis direction of the image data. For example, when the stereo camera 2 is arranged inside the front window of the host vehicle, the state of image distortion due to transmission through the front window may change between the upper part and the lower part of the image. The i-axis direction is less susceptible to distortion changes than the j-axis direction. This is because the vehicle front window tilt angle in the vehicle front-rear direction is generally larger than the vehicle front width tilt angle of the vehicle.

このように、本実施形態では、フロントウィンドウを透過することによる歪みの影響を受けにくい一対の白線の離間距離の情報を用いることにより、例えば一対の白線の消失点を算出する従来技術に比して、より正確に視差オフセット値DPを補正することができる。   As described above, in this embodiment, by using the information on the distance between the pair of white lines that is not easily affected by the distortion caused by the transmission through the front window, for example, the vanishing point of the pair of white lines is calculated as compared with the conventional technique. Thus, the parallax offset value DP can be corrected more accurately.

本発明は、上述した実施形態に限られるものではなく、請求の範囲及び明細書全体から読み取れる発明の要旨或いは思想に反しない範囲で適宜変更可能であり、そのような変更を伴う画像処理装置もまた本発明の技術的範囲に含まれるものである。   The present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the gist or concept of the invention that can be read from the claims and the entire specification, and an image processing apparatus with such a change is also applicable. Moreover, it is included in the technical scope of the present invention.

1 画像処理装置、
1a メモリ、
1b 3次元位置情報生成処理部、
1c 車線検出処理部、
1e 視差オフセット値補正処理部、
2 ステレオカメラ、
2a 第1カメラ、
2b 第2カメラ、
3 車両制御システム、
5 センサ部、
10L (実座標上の)左白線、
10R (実座標上の)右白線、
10RL (第1画像データ中の)左白線、
10RR (第1画像データ中の)右白線、
10LL (第2画像データ中の)左白線、
10LR (第2画像データ中の)右白線、
A 近距離白線間距離、
a 近距離地点までの距離、
B 遠距離白線間距離、
b 遠距離地点までの距離、
CD 基線長、
DP 視差オフセット値、
DP’ 補正後の視差オフセット値、
dp 視差、
e 視差誤差、
f 推定視差、
m 近距離白線間画素、
md 近距離白線視差、
n 遠距離白線間画素、
nd 遠距離白線視差。
1 image processing device,
1a memory,
1b 3D position information generation processing unit,
1c lane detection processing unit,
1e Parallax offset value correction processing unit,
2 Stereo camera,
2a first camera,
2b Second camera,
3 Vehicle control system,
5 Sensor part,
10L left white line (on real coordinates),
10R right white line (on real coordinates),
10RL Left white line (in the first image data),
10RR Right white line (in the first image data),
10LL Left white line (in the second image data),
10LR Right white line (in the second image data),
A Distance between short distance white lines,
a Distance to a short distance point,
B Distance between long distance white lines,
b Distance to long distance point,
CD baseline length,
DP parallax offset value,
DP 'corrected parallax offset value,
dp parallax,
e Parallax error,
f estimated parallax,
m pixels between short distance white lines,
md short distance white line parallax,
n Long distance white line pixels,
nd Far white line parallax.

Claims (2)

自車両の進行方向をステレオカメラを用いて撮像して得られた一対の画像データに基づき被写体の3次元位置情報を認識する画像処理装置であって、
前記一対の画像データ上における、自車両の車両通行帯を示す一対の白線の形状を検出する車線検出処理部と、
前記一対の画像データ、および前記車線検出部により検出された一対の白線の形状データに基づき、前記被写体までの距離を算出する計算式の補正を行う視差オフセット値補正処理部と、を備え、
前記視差オフセット値補正処理部は、
自車両の進行方向の距離の異なる2地点である近距離地点および遠距離地点の双方について、一対の画像データ上における白線の視差と一対の白線の離間画素数を取得するステップと、
前記近距離地点における白線の視差および離間画素数に基づき、前記近距離地点における実空間の一対の白線の離間距離である近距離白線間距離を算出するステップと、
前記遠距離地点における白線の視差および離間画素数に基づき、前記遠距離地点における実空間の一対の白線の離間距離である遠距離白線間距離を求めるステップと、
前記近距離白線間距離が遠距離地点においても等しいとみなした場合に予測される遠距離地点における視差である遠距離推定視差を算出するステップと、
前記遠距離白線視差、および前記遠距離推定視差の比較結果に基づき、前記視差から前記距離を算出する計算式の誤差を算出するステップと、
前記誤差の値に基づき、前記計算式の補正を行うステップと、を実行する
ことを特徴とする画像処理装置。
An image processing apparatus that recognizes three-dimensional position information of a subject based on a pair of image data obtained by imaging the traveling direction of the host vehicle using a stereo camera,
On the pair of image data, a lane detection processing unit that detects the shape of a pair of white lines indicating a vehicle traffic zone of the host vehicle;
A parallax offset value correction processing unit that corrects a calculation formula for calculating a distance to the subject based on the pair of image data and shape data of a pair of white lines detected by the lane detection unit,
The parallax offset value correction processing unit
Obtaining a parallax of white lines on a pair of image data and a number of separated pixels of a pair of white lines for both a short-distance point and a long-distance point which are two points having different distances in the traveling direction of the host vehicle;
Based on the parallax of the white line at the short distance point and the number of spaced pixels, calculating a distance between the short distance white lines, which is a distance between a pair of white lines in the real space at the short distance point;
Obtaining a distance between long-distance white lines, which is a separation distance between a pair of white lines in the real space at the long-distance point, based on the parallax of white lines at the long-distance point and the number of separated pixels;
Calculating a long-distance estimated parallax that is a parallax at a long-distance point predicted when the short-distance white line distance is also considered to be equal at a long-distance point;
Calculating an error of a calculation formula for calculating the distance from the parallax based on a comparison result of the long-distance white line parallax and the long-distance estimated parallax;
And correcting the calculation formula based on the error value.
前記視差オフセット値補正処理部は、過去の所定の期間において自車両が等速度で直進しており、かつ過去の所定の期間において一対の白線の車幅方向の離間距離が一定である場合に、前記計算式の補正を行うステップを実行する
ことを特徴とする請求項1に記載の画像処理装置。
The parallax offset value correction processing unit, when the vehicle is traveling straight at a constant speed in a predetermined period in the past, and the distance in the vehicle width direction of the pair of white lines is constant in the past predetermined period, The image processing apparatus according to claim 1, wherein a step of correcting the calculation formula is executed.
JP2015124053A 2015-06-19 2015-06-19 Image processing device Active JP6489645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015124053A JP6489645B2 (en) 2015-06-19 2015-06-19 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015124053A JP6489645B2 (en) 2015-06-19 2015-06-19 Image processing device

Publications (2)

Publication Number Publication Date
JP2017009387A JP2017009387A (en) 2017-01-12
JP6489645B2 true JP6489645B2 (en) 2019-03-27

Family

ID=57761577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015124053A Active JP6489645B2 (en) 2015-06-19 2015-06-19 Image processing device

Country Status (1)

Country Link
JP (1) JP6489645B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11682131B2 (en) * 2017-10-27 2023-06-20 Canon Kabushiki Kaisha Image capturing apparatus and method of controlling image capturing apparatus
JP6895403B2 (en) 2018-03-20 2021-06-30 株式会社東芝 Image processing equipment, driving support system, and image processing method
CN113869312B (en) * 2021-09-29 2024-10-15 北京搜狗科技发展有限公司 Formula identification method and device
CN119069182B (en) * 2024-11-05 2025-04-01 宁波凯特机械有限公司 Batch wire twisting method and system and intelligent terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3600378B2 (en) * 1996-07-24 2004-12-15 本田技研工業株式会社 Vehicle external recognition device
JP3223863B2 (en) * 1997-01-09 2001-10-29 富士電機株式会社 Distance measuring device
JP4573977B2 (en) * 1999-09-22 2010-11-04 富士重工業株式会社 Distance correction device for monitoring system and vanishing point correction device for monitoring system
WO2010048632A1 (en) * 2008-10-24 2010-04-29 Real D Stereoscopic image format with depth information
JP6019646B2 (en) * 2012-03-21 2016-11-02 株式会社リコー Misalignment detection apparatus, vehicle, and misalignment detection method

Also Published As

Publication number Publication date
JP2017009387A (en) 2017-01-12

Similar Documents

Publication Publication Date Title
US8611609B2 (en) Lane line estimating apparatus
JP6623044B2 (en) Stereo camera device
JP5089545B2 (en) Road boundary detection and judgment device
US9280824B2 (en) Vehicle-surroundings monitoring device
CN107792070B (en) Driving assistance device for vehicle
EP2743889A2 (en) Stereoscopic camera object detection system and method of aligning the same
JP6602982B2 (en) In-vehicle camera, in-vehicle camera adjustment method, in-vehicle camera system
US20150235093A1 (en) Moving Object Recognition Apparatus
JP5054612B2 (en) Approaching object detection device and approaching object detection method
WO2014091877A1 (en) Moving object location/attitude angle estimation device and moving object location/attitude angle estimation method
JP6489645B2 (en) Image processing device
JP2020051942A (en) Vehicle traveling environment detector and traveling control system
JP6455164B2 (en) Parallax value deriving apparatus, device control system, moving body, robot, parallax value deriving method, and program
KR20180064775A (en) Driving Support Apparatus Of Vehicle And Driving Method Thereof
JP6044084B2 (en) Moving object position and orientation estimation apparatus and method
JP6768554B2 (en) Calibration device
CN115943287B (en) Vehicle posture inference system and vehicle posture inference method
JP2013161190A (en) Object recognition device
JP2009186301A (en) Vehicle object detection device
JP6619589B2 (en) Image processing device
JP6600177B2 (en) Image processing device
JP2013161187A (en) Object recognition device
JP6963490B2 (en) Vehicle control device
JP7303064B2 (en) Image processing device and image processing method
JP2010018223A (en) Device for detecting vehicle traveling road surface

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190222

R150 Certificate of patent or registration of utility model

Ref document number: 6489645

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250