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
JP3134749B2 - White line detection method - Google Patents
[go: Go Back, main page]

JP3134749B2 - White line detection method - Google Patents

White line detection method

Info

Publication number
JP3134749B2
JP3134749B2 JP07324899A JP32489995A JP3134749B2 JP 3134749 B2 JP3134749 B2 JP 3134749B2 JP 07324899 A JP07324899 A JP 07324899A JP 32489995 A JP32489995 A JP 32489995A JP 3134749 B2 JP3134749 B2 JP 3134749B2
Authority
JP
Japan
Prior art keywords
white line
search area
vehicle
area
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP07324899A
Other languages
Japanese (ja)
Other versions
JPH09161065A (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.)
Mitsubishi Motors Corp
Original Assignee
Mitsubishi Motors 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 Mitsubishi Motors Corp filed Critical Mitsubishi Motors Corp
Priority to JP07324899A priority Critical patent/JP3134749B2/en
Publication of JPH09161065A publication Critical patent/JPH09161065A/en
Application granted granted Critical
Publication of JP3134749B2 publication Critical patent/JP3134749B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Image Processing (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、路面に道路に沿っ
て引かれている白線を検出する白線検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a white line detecting method for detecting a white line drawn on a road surface along a road.

【0002】[0002]

【従来の技術】路面に道路に沿って引かれている白線を
検出し、走行路から逸脱することを防止するようにした
走行路逸脱警報装置を搭載して自律走行する車両が提案
されている。このような装置においては、目標とする白
線を正確に認識し、或いは捕捉することが必要である。
白線を検出する方法として、運転席から見た自車両の前
方をカメラで撮像して得られた画像の中の目標とする白
線のエッジを検出する方法、或いは特徴量を抽出する方
法等がある。
2. Description of the Related Art There has been proposed a vehicle that autonomously runs on a road surface by detecting a white line drawn along the road surface and preventing the vehicle from deviating from the road. . In such an apparatus, it is necessary to accurately recognize or capture a target white line.
As a method of detecting a white line, there is a method of detecting an edge of a target white line in an image obtained by capturing an image of the front of the vehicle viewed from the driver's seat with a camera, a method of extracting a feature amount, and the like. .

【0003】エッジを検出する方法は、輪郭線を抽出す
る方法と原画像を抽出するする方法がある。エッジは、
路面の輝度が急激に変化するところであり、白線は、路
面が黒から白に変化するところである。輪郭線を抽出す
る方法は、入力画像の輪郭線像をとり、水平方向のサー
チ領域を設定し道路中央側よりサーチして最初のエッジ
を白線候補点とし、前回のサーチ領域で検出した白線近
傍に新しいサーチ領域を設定して同様にサーチし輪郭線
を抽出する。また、原画像を抽出する方法は、垂直方向
に複数個の検出ラインを設定し、そのライン上のエッジ
を検出し、検出した谷のエッジの内、共通の属性(方向
など)を有するものを白線候補とするものである。
[0005] There are two methods for detecting an edge: a method for extracting a contour line and a method for extracting an original image. The edge is
The brightness of the road surface changes abruptly, and the white line indicates that the road surface changes from black to white. The method of extracting the contour line is to take a contour image of the input image, set a horizontal search area, search from the center of the road, set the first edge as a white line candidate point, and check the neighborhood of the white line detected in the previous search area. , A new search area is set, and the same search is performed to extract a contour line. The method of extracting the original image is to set a plurality of detection lines in the vertical direction, detect edges on the lines, and detect the edges of the detected valleys having a common attribute (such as direction). It is a white line candidate.

【0004】特徴量を抽出する方法は、入力画像の輪郭
線像(2値化像)をとり、この輪郭線像のラベリングを
行い、ラベル付けされた領域に対し、白線としての妥当
性例えば、細長いコースは急に変化しない等を評価し、
白線候補を抽出するようにしたものである。
A method of extracting a feature value is to take a contour image (binary image) of an input image, perform labeling of the contour image, and apply a validity as a white line to a labeled area, for example, Evaluate that the slender course does not change suddenly,
The white line candidates are extracted.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、エッジ
検出方法における輪郭線の抽出は、道路中央より水平方
向にサーチするために、路上の影や、路面に描かれてい
る文字等により検出精度が著しく悪化する。また、原画
像を抽出する方法は、共通の属性により認識するために
直線からカーブへ変化する道路や、カーブが長く続く道
路等への対応が困難である。
However, in the extraction of the contour line in the edge detection method, since the search is performed in the horizontal direction from the center of the road, the detection accuracy is remarkably high due to shadows on the road, characters drawn on the road surface, and the like. Getting worse. Also, the method of extracting the original image is difficult to cope with a road that changes from a straight line to a curve or a road that has a long curve, for example, in order to recognize the original image with a common attribute.

【0006】また、特徴量を抽出する方法は、白線とし
ての妥当性により検出するために、遠距離の白線(特に
破線)の検出が困難であり、更に、ラベル付けされた領
域に対して1つ1つ妥当性を評価するために処理に非常
に時間が掛かるという問題がある。更に、自車両の前方
を走行する車両により白線が隠された場合に、白線検出
が不能となり、正規の白線位置からズレしまったり、誤
検出したりする虞があり、遠距離まで精度良く白線を認
識することが困難である等の問題もある。
In the method of extracting a feature value, it is difficult to detect a long-distance white line (particularly, a broken line) because it is detected based on the validity as a white line. There is a problem that it takes a very long process to evaluate the validity one by one. Furthermore, when a white line is hidden by a vehicle traveling ahead of the host vehicle, the white line cannot be detected, and may deviate from a regular white line position or may be erroneously detected. There are also problems such as difficulty in recognizing.

【0007】本発明は、上述の点に鑑みてなされたもの
で、左右何れの方向にカーブする道路においても路面に
引かれている白線を検出することができ、且つ白線が前
方車両により隠された場合に誤検出を防止して遠距離ま
で精度良く白線を検出することが可能な白線検出方法を
提供することを目的とする。
The present invention has been made in view of the above points, and can detect a white line drawn on a road surface on a road that curves in either direction, and the white line is hidden by a preceding vehicle. An object of the present invention is to provide a white line detection method capable of preventing erroneous detection in a case where the white line is detected at a long distance with high accuracy.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に本発明によれば、請求項1では、撮像した車両前方の
路面の画面上の所定位置から所定長さを有するサーチ領
域を、前記路面に道路に沿って引かれている白線に沿っ
且つ前記白線のカーブする方向に傾斜させながら順次
設定し、各サーチ領域内で輝度値を計測して前記路面と
前記白線とを判別して白線を検出し、且つ前記撮像した
画像から前方車両の有無を認識し、前記サーチ領域が前
方車両のエリア内にあるときには白線を未検出として処
理するようにしたものである。
According to the present invention, in order to achieve the above object, according to the present invention, a search area having a predetermined length from a predetermined position on a screen on a road surface in front of a captured vehicle is defined as the search area. The road surface is set along the white line drawn along the road and inclining in the direction in which the white line curves , and the luminance value is measured in each search area to determine the road surface and the white line. A white line is detected, the presence or absence of a preceding vehicle is recognized from the captured image, and when the search area is within the area of the preceding vehicle, the white line is processed as not detected.

【0009】請求項2では、前方車両を認識したとき
に、サーチ領域の輝度値が所定値よりも低いとき、又は
サーチ領域の輝度値が所定値以上であり、且つ前記サー
チ領域内の白線候補点が前記前方車両のエリア内にある
ときの何れかのときに前記サーチ領域を白線未検出とし
てキャンセルする。請求項3では、前方車両を認識した
ときに、白線サーチ領域を設定し、当該サーチ領域が前
記前方車両のエリアに掛かるときに前記サーチ領域を白
線未検出としてキャンセルする。
[0009] In claim 2, when recognizing the preceding vehicle, when the luminance value of the search area is lower than a predetermined value, or brightness values of <br/> search area is equal to or higher than a predetermined value, and the service < The search area is canceled as white line not detected when any of the white line candidate points in the area is in the area of the preceding vehicle. According to the third aspect, when a preceding vehicle is recognized, a white line search area is set, and when the search area overlaps the area of the preceding vehicle, the search area is canceled as white line not detected.

【0010】尚、請求項1又は2において、路面と白線
との判別は、前記路面の輝度値よりも所定値だけ高い値
を閾値とし、当該閾値よりも高い輝度値の部分を白線と
判別するようにしてもよい。また、請求項1において、
前記路面の輝度値は、車両直前の路面の複数箇所の輝度
値の平均値とするようにしてもよい。運転席から見える
車両前方の路面を撮像して画面に表示し、この画面上の
所定位置に所定長さのサーチ領域を設定する。そして、
各サーチ領域における輝度値を計測して路面と白線とを
判別して白線を検出する。このサーチ領域を画面の前記
所定位置から路面に道路に沿って引かれている白線に沿
って且つ前記白線のカーブする方向に傾斜させながら
次設定して白線を追尾検出する。一方、自車両の前方を
走行する前方車両を認識し、サーチ領域の輝度値が所定
値よりも低いとき、又はサーチ領域の輝度値が所定値よ
りも高く、且つ前記サーチ領域内の白線候補点が前記
方車両のエリア内にあるとき、或いは、前方車両のエリ
アにサーチ領域が掛かるときには白線を未検出としてサ
ーチ領域をキャンセルする。これにより前方車両による
誤検出を防止することができ、遠距離まで精度良く白線
を認識することが可能となる。
In the first or second aspect, the road surface is distinguished from the white line by using a threshold value that is higher than the luminance value of the road surface by a predetermined value, and a portion having a luminance value higher than the threshold value is determined as a white line. You may do so. In claim 1,
The brightness value of the road surface may be an average value of brightness values at a plurality of locations on the road surface immediately before the vehicle. An image of the road surface in front of the vehicle seen from the driver's seat is captured and displayed on a screen, and a search area of a predetermined length is set at a predetermined position on the screen. And
The luminance value in each search area is measured, the road surface and the white line are discriminated, and the white line is detected. This search area is set along the white line drawn along the road from the predetermined position on the screen to the road surface.
Then, the white line is tracked and set sequentially while being inclined in the direction in which the white line curves . On the other hand, the vehicle recognizes the preceding vehicle traveling ahead of the own vehicle and determines that the brightness value of the search area is predetermined.
Is lower than the value, or brightness values of the search area is higher than a predetermined value, when and white line candidate points in the search area is within the area of the front <br/> next vehicle, or the front vehicle area When the search area is overlaid, the white line is not detected and the search area is canceled. As a result, erroneous detection by the preceding vehicle can be prevented, and the white line can be accurately recognized up to a long distance.

【0011】[0011]

【発明の実施の形態】以下本発明の実施の態様を実施例
により説明する。 (実施例)本発明の白線検出方法は、路面に道路に沿っ
て引かれている白線が周囲の路面よりも輝度値が高いこ
とに着目して遠距離まで精度良く白線を検出するように
したものである。図1は、本発明方法を実施するための
検出装置のシステム構成のブロック図である。図1にお
いて、白線検出装置は、自車両内の所定箇所例えば、バ
ックミラー近傍位置に設置され運転席から見た前方の路
面を撮像するモニタ用のモノクロカメラ1と、このカメ
ラ1により撮像されたモノクロ画像情報を取り込み必要
な画像処理を行い表示装置(図示せず)に表示する画像
処理装置2及びコンピュータ3により構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described below by way of examples. (Embodiment) The white line detection method of the present invention focuses on the fact that a white line drawn on a road surface along a road has a higher luminance value than the surrounding road surface, and detects the white line with high accuracy up to a long distance. Things. FIG. 1 is a block diagram of a system configuration of a detection device for carrying out the method of the present invention. In FIG. 1, a white line detecting device is installed at a predetermined location in the vehicle, for example, a position near a rear-view mirror, and is a monitor monochrome camera 1 that captures an image of a road surface ahead as viewed from a driver's seat. It is composed of an image processing device 2 and a computer 3 which take in monochrome image information, perform necessary image processing, and display it on a display device (not shown).

【0012】図2は、カメラ1により撮像した運転席前
方の映像画面を示し、道路5の路面5aには白線6、7
が当該道路5に沿って引かれており、例えば、画面の左
側の白線6は、路肩と走行車線との境界線を示し、右側
の白線7は、走行車線と追い越し車線との境界線を示し
ている。尚、当該車両は、走行車線を走行しており、道
路5は、右に緩くカーブしている。
FIG. 2 shows an image screen in front of the driver's seat taken by the camera 1, and white lines 6 and 7 are displayed on the road surface 5 a of the road 5.
Are drawn along the road 5, for example, a white line 6 on the left side of the screen indicates a boundary line between the road shoulder and the traveling lane, and a white line 7 on the right side indicates a boundary line between the traveling lane and the overtaking lane. ing. Note that the vehicle is traveling in the traveling lane, and the road 5 is slightly curved to the right.

【0013】次に、白線の検出方法について説明する。
図2から明らかなように走行車線を走行しているときに
運転席から見て左側の白線6の存在する位置は、画面上
である程度予想がつくので、最初にある位置画面の左下
で白線6を1回見つけ、以後は、この見つけた白線6を
順次追っていく。尚、白線6の追尾は、水平方向(X方
向)は、画面の左から右へ、上下方向(Y方向)は、画
面の下から上とし、左から右、上から下を正方向とす
る。
Next, a method for detecting a white line will be described.
As is clear from FIG. 2, the position of the left white line 6 when viewed from the driver's seat when traveling in the driving lane can be predicted to some extent on the screen. Is found once, and thereafter, the found white line 6 is sequentially traced. The white line 6 is tracked in the horizontal direction (X direction) from the left to the right of the screen, and in the vertical direction (Y direction) from the bottom to the top of the screen, from left to right, and from top to bottom in the positive direction. .

【0014】白線6は、路面5aよりも明るく輝度値が
高いので、路面5aと白線6とを判別するための輝度値
の閾値を設定する。先ず、当該車両の直前の路面5aの
輝度値の参考点として複数例えば、水平方向に3点
(i、j、k)をとり、これらの各点の輝度値を検出し
て次式により閾値VTHを決定する。 VTH = MAX(i、j、k)+α ・・・(1) または、 VTH = (i+j+k)/3 +α ・・・(2) ここに、αは、例えば、輝度値10〜30程度の値とす
る。白線6の部分は、他に比べて明らかに輝度値が平均
値よりも高いので、白線6の検出を確実にするために平
均値よりも値αだけ高い値を閾値VTHとしている。
Since the white line 6 is brighter and has a higher luminance value than the road surface 5a, a threshold value of the luminance value for discriminating between the road surface 5a and the white line 6 is set. First, a plurality of, for example, three points (i, j, k) in the horizontal direction are taken as reference points of the luminance value of the road surface 5a immediately before the vehicle, and the luminance value of each of these points is detected. To determine. VTH = MAX (i, j, k) + α (1) or VTH = (i + j + k) / 3 + α (2) where α is, for example, a luminance value of about 10 to 30. I do. Since the brightness value of the white line 6 is clearly higher than the average value compared to the other portions, a value higher than the average value by the value α is set as the threshold value VTH to ensure the detection of the white line 6.

【0015】次に、路面5a上の白線6が存在するはず
の大凡の場所即ち、画面の左下隅にとりあえず、白線6
を検出するための最初のサーチ領域A1を設定する。こ
のサーチ領域A1は、画面の上下方向に、所定の長さの
直線により表される。そして、このサーチ領域A1の範
囲で輝度を計測する。サーチ領域A1内で輝度の分布を
とると、白線6があれば、輝度値が飛び抜けて高い部分
がある。そこで、その輝度値が飛び抜けて高い部分の点
K(1)をとりあえず白線6として残しておく。
Next, at the approximate location where the white line 6 should exist on the road surface 5a, that is, at the lower left corner of the screen,
Is set as the first search area A1 for detecting. This search area A1 is represented by a straight line of a predetermined length in the vertical direction of the screen. Then, the luminance is measured in the range of the search area A1. Taking the distribution of luminance in the search area A1, if there is a white line 6, there is a part where the luminance value is extremely high. Therefore, a point K (1) in which the luminance value is extremely high is left as a white line 6 for the time being.

【0016】同様にしてこの点K(1)から水平方向に所
定の間隔dで2番目のサーチ領域A2を設定し、当該サ
ーチ領域A2内の輝度分布をとり、輝度値の飛び抜けて
高い部分の点K(2)を白線6とする。2つ目の点K(2)
は、最初の点K(1)に非常に近い位置にあり、且つ必ず
点K(1)よりも高い位置にあるために容易に検出するこ
とができる。そして、最初のサーチ領域A1と2番目の
サーチ領域A2は、設定する位置が決まっている。
Similarly, a second search area A2 is set at a predetermined interval d in the horizontal direction from the point K (1), and a luminance distribution in the search area A2 is obtained. The point K (2) is defined as a white line 6. Second point K (2)
Is very close to the first point K (1) and is always higher than the point K (1), so that it can be easily detected. The positions to set the first search area A1 and the second search area A2 are determined.

【0017】ところで、前述のようにして最初のサーチ
領域A1と、2番目のサーチ領域A2とにより2つの白線
検出点K(1)、K(2)を決定した後、3番目以降のサーチ
領域を画面の右方向及び上下方向に前記所定の間隔dで
順次設定していくと、道路5がカーブしているためにサ
ーチ領域が白線6から徐々にずれてくる。そして、道路
5のカーブがきつい場合には白線6の検出不能となる虞
がある。
After the two white line detection points K (1) and K (2) are determined from the first search area A1 and the second search area A2 as described above, the third and subsequent search areas are determined. Are sequentially set in the rightward and vertical directions of the screen at the predetermined interval d, the search area gradually deviates from the white line 6 because the road 5 is curved. If the road 5 has a sharp curve, the white line 6 may not be detected.

【0018】更に、道路5が左にカーブしている場合に
は図3に示すように右にカーブしている場合に比べて左
側の白線6のカーブが非常にきつくなり、且つX方向の
追尾方向が正方向から途中で負方向へと変化する。従っ
て、サーチ領域を画面の左側から右方向に単に移動させ
るだけでは例えば、図中点線で示す4番目のサーチ領域
A4が白線6から完全に外れてしまい当該白線6を検出
することが不可能となり、道路5の左カーブに対応する
ことができなくなる。同様に、サーチ領域を画面の右側
からとった場合には、右カーブに対処することができな
くなる。
Further, when the road 5 is curved to the left, the curve of the white line 6 on the left side is very tight compared to the case where the road 5 is curved to the right as shown in FIG. The direction changes from the positive direction to the negative direction on the way. Therefore, if the search area is simply moved rightward from the left side of the screen, for example, the fourth search area A4 indicated by a dotted line in the figure completely deviates from the white line 6, and the white line 6 cannot be detected. Therefore, the vehicle cannot respond to the left curve of the road 5. Similarly, when the search area is taken from the right side of the screen, it becomes impossible to deal with a right curve.

【0019】そこで、3番目以降のサーチ領域について
は、前回の白線検出点と今回の白線検出点とにより次回
の白線検出予想位置を推定する。即ち、図4に示すよう
に白線6のカーブする方向にサーチ領域を傾斜させ、当
該サーチ領域が白線6に対して常に直角をなすように設
定する。これによりサーチ領域が白線6に近づき、白線
6のサーチ領域を画面の左側からとっても、道路5の右
方向、左方向のカーブに対処することが可能となる。
Therefore, for the third and subsequent search areas, the next white line detection expected position is estimated from the previous white line detection point and the current white line detection point. That is, as shown in FIG. 4, the search area is inclined in the direction in which the white line 6 curves, and the search area is set so as to be always perpendicular to the white line 6. As a result, the search area approaches the white line 6, and even when the search area of the white line 6 is taken from the left side of the screen, it is possible to deal with the rightward and leftward curves of the road 5.

【0020】次に、3番目以降のサーチ領域の設定方法
について説明する。3番目以降のサーチ領域について
は、前回の白線検出点と今回の白線検出点とを結ぶ直線
の延長線上に次回のサーチ領域の中心点を設定し、且つ
今回のサーチ領域の中心点と次回のサーチ領域の中心点
と間の距離dを、前回のサーチ領域の中心点と今回のサ
ーチ領域の中心点間の距離dと同じ長さに取る。即ち、
各サーチ領域の中心点間の距離dを一定にする。また、
各サーチ領域の長さは、後述する特別な場合(未検出の
とき)を除き一定の長さとする。そして、前記設定した
中心点を通り前記延長線と直交するように一定の長さの
サーチ領域を設定する。
Next, a method for setting the third and subsequent search areas will be described. For the third and subsequent search areas, a center point of the next search area is set on an extension of a straight line connecting the previous white line detection point and the current white line detection point, and the center point of the current search area and the next search area are set. The distance d between the center point of the search area and the center point of the previous search area is set to the same length as the distance d between the center point of the previous search area and the center point of the current search area. That is,
The distance d between the center points of the search areas is made constant. Also,
The length of each search area is a fixed length except for a special case described later (when not detected). Then, a search area having a fixed length is set so as to pass through the set center point and be orthogonal to the extension line.

【0021】図5に3番目以降のサーチ領域の中心位置
を設定する方法を示す。尚、サーチ領域A1、A2の、各
中心点をM1、M2、上、下両端の各位置をP11、P12、
P21、P22で示す。以下同様にして各サーチ領域の中心
点、及び上下両端の位置を表す。最初のサーチ領域A1
と2番目のサーチ領域A2の各白線検出点K(1)とK(2)
とを結ぶ延長線(点線で示す)上に、且つ中心点M2か
ら距離dの位置に点M3をとり、この点M3を通り、且つ
前記延長線と直交させて所定の長さ(半径rの円の直
径)の領域を設定し、この領域を3番目のサーチ領域A
3とする。
FIG. 5 shows a method of setting the center position of the third and subsequent search areas. The center points of the search areas A1 and A2 are M1 and M2, and the positions of the upper and lower ends are P11 and P12.
These are indicated by P21 and P22. Hereinafter, similarly, the center point of each search area and the positions of the upper and lower ends are represented. First search area A1
And each white line detection point K (1) and K (2) in the second search area A2
A point M3 is taken on an extension line (indicated by a dotted line) connecting the center point M2 and a distance d from the center point M2, passes through the point M3, and is orthogonal to the extension line to a predetermined length (radius r). (Diameter of a circle) and set this area as the third search area A
Assume 3.

【0022】まず、白線6の検出回数が2以上のとき前
回検出点K(c-1)、今回検出点K(c)より、次回検出予想
位置Miを推定する場合について説明する。このとき、
Miは、検出点K(c-1)、K(c)を通る直線上で、(Mi-
1、Mi間の距離)=d(一定)を満たす点とする。これ
により白線検出点間の長さが略同じになり、検出条件を
略同じにすることができる。
First, a case where the next detection expected position Mi is estimated from the previous detection point K (c-1) and the current detection point K (c) when the number of times of detection of the white line 6 is 2 or more will be described. At this time,
Mi is represented by a straight line passing through the detection points K (c-1) and K (c).
1, a distance between Mi) = d (constant). As a result, the length between the white line detection points becomes substantially the same, and the detection conditions can be made substantially the same.

【0023】従って、各点Mi、Mi-1、K(c)、K(c-1)
の座標を夫々、Mi(xmi、ymi)、Mi-1(xmi-1、y
mi-1)、K(c)(x(c)、y(c))、K(c-1)(x(c-1)、
y(c-1))とすると、点xmi、ymiは、次のように表さ
れる。 (1) ang≧0 のとき xmi=xmi-1 −{d2/(1+ang2)}1/2 ・・・(3) ymi=ymi-1 −{d2/(1+ang2)}1/2・ang ・・・(4) (2) ang<0 のとき xmi=xmi-1 +{d2/(1+ang2)}1/2 ・・・(5) ymi=ymi-1 +{d2/(1+ang2)}1/2・ang ・・・(6) 但し、ang =(y(c) − y(c-1))/(x(c) − x(c-
1))で表される。この ang は、前回検出点と今回検出
点とを結んだ線自体の傾きが、画面上で右下がりのとき
には正、右上がりのときには負である。また、dは、例
えば、25画素程度の値である 次に、検出点K(c-1)、K(c)を通る直線に直交し、点M
iを通る直線と、当該点Miを中心とする半径rの円との
交点を夫々Pi1、Pi2とし、Pi1(xi1、yi2)、Pi2
(xi2、yi2)とすると、点Pi1の座標は、 xi1=xmi −{r2/(1+ang_12)}1/2 ・・・(7) yi1=ymi −{r2/(1+ang_12)}1/2・ang_1 ・・・(8) 点Pi2の座標は、 xi2=xmi +{r2/(1+ang_12)}1/2 ・・・(9) yi2=ymi +{r2/(1+ang_12)}1/2・ang_1 ・・・(10) となる。但し、ang_1=−1/ang 、rは、所定の長さ
のサーチ領域の半分の長さで15画素程度の値である。
Therefore, each point Mi, Mi-1, K (c), K (c-1)
Are defined as Mi (xmi, ymi) and Mi-1 (xmi-1, y
mi-1), K (c) (x (c), y (c)), K (c-1) (x (c-1),
y (c-1)), the points xmi and ymi are expressed as follows. (1) ang ≧ 0 when xmi = xmi-1 - {d 2 / (1 + ang 2)} 1/2 ··· (3) ymi = ymi-1 - {d 2 / (1 + ang 2)} 1/2 · ang ··· (4) (2 ) ang <xmi = xmi-1 + {d 2 / (1 + ang 2)} when 0 1/2 ··· (5) ymi = ymi-1 + {d 2 / (1 + ang 2 )} 1/2 · ang (6) where ang = (y (c) −y (c−1)) / (x (c) −x (c−
1)). This ang is positive when the inclination of the line connecting the previous detection point and the current detection point is downward to the right on the screen, and negative when it is upward to the right. D is, for example, a value of about 25 pixels. Next, the point M is orthogonal to a straight line passing through the detection points K (c-1) and K (c),
Intersections of a straight line passing through i and a circle having a radius r centered on the point Mi are Pi1 and Pi2, respectively, and Pi1 (xi1, yi2), Pi2
When (xi2, yi2), the coordinates of the point Pi1, xi1 = xmi - {r 2 / (1 + ang_1 2)} 1/2 ··· (7) yi1 = ymi - {r 2 / (1 + ang_1 2)} 1 / 2 · ang_1 coordinates (8) point Pi2 is, xi2 = xmi + {r 2 / (1 + ang_1 2)} 1/2 ··· (9) yi2 = ymi + {r 2 / (1 + ang_1 2) } 1/2 · ang_1 (10) Here, ang_1 = −1 / ang, r is a value of about 15 pixels which is half the length of the search area having a predetermined length.

【0024】そして、これらの点Pi1とPi2とを結ぶ線
分を、次のサーチ領域とする。このようにして順次図5
に示すようなサーチ領域を設定する。これにより図4に
示すように左カーブに対する白線6を検出することが可
能となる。勿論、図2に示す右カーブにも対処すること
ができる。サーチ領域A3において白線6を検出するこ
とができなかった(未検出)のときには、図6に示すよ
うに白線検出点K(1)とK(2)とを結ぶ延長線(点線で示
す)上に、且つサーチ領域A2の中心点M2から距離2d
の位置に点M4をとり、この点M4を通り、且つ前記延長
線と直交させて4番目のサーチ領域A4を設定する。そ
して、この4番目のサーチ領域A4の長さを前記所定の
長さ即ち、サーチ領域A1、A2の長さよりも長く設定す
る。
A line segment connecting these points Pi1 and Pi2 is set as the next search area. Thus, FIG.
A search area is set as shown in FIG. This makes it possible to detect the white line 6 for the left curve as shown in FIG. Of course, the right curve shown in FIG. 2 can be dealt with. When the white line 6 could not be detected in the search area A3 (not detected), as shown in FIG. 6, on the extension line (shown by a dotted line) connecting the white line detection points K (1) and K (2). And a distance 2d from the center point M2 of the search area A2
A fourth search area A4 is set at a point M4, passing through the point M4 and orthogonal to the extension line. Then, the length of the fourth search area A4 is set to be longer than the predetermined length, that is, the length of the search areas A1 and A2.

【0025】即ち、白線6の検出回数が2回以上のとき
には、点Miを中心とする円の半径rの代わりに、未検
出回数(T)に応じてその半径r'を、r'=(r+α
T)としてサーチ領域を大きくする(図6参照)。ここ
に、値αは、5画素程度である。尚、図6では、サーチ
領域A4の長さは、誇張して描いてある。そして、この
サーチ領域A4において白線6を検出することができた
ときには、その検出点をK(4)とする。5番目のサーチ
領域は、3番目のサーチ領域A3において白線6を検出
することができなかったので、2番目のサーチ領域A2
の白線検出点K(2)と4番目のサーチ領域A4の白線検出
点K(4)とを結ぶ直線の延長線上にサーチ領域A4の中心
点M4から距離dの位置に点M5をとる。そして、この点
M5を中心とし、且つ前記延長線に直交させて5番目の
サーチ領域A5を設定する。
That is, when the number of times of detection of the white line 6 is two or more, instead of the radius r of the circle centered on the point Mi, the radius r 'is changed according to the number of undetections (T), and r' = ( r + α
The search area is enlarged as T) (see FIG. 6). Here, the value α is about 5 pixels. In FIG. 6, the length of the search area A4 is exaggerated. When the white line 6 can be detected in the search area A4, the detected point is set to K (4). In the fifth search area, since the white line 6 could not be detected in the third search area A3, the second search area A2
A point M5 is located at a distance d from the center point M4 of the search area A4 on an extension of a straight line connecting the white line detection point K (2) of the search area A4 and the white line detection point K (4) of the fourth search area A4. Then, a fifth search area A5 is set centering on the point M5 and orthogonal to the extension line.

【0026】もし、4番目のサーチ領域A4においても
白線6を検出することができなかった(未検出)場合に
は、サーチ領域A1とA2の各白線検出点K(1)とK(2)と
を結ぶ延長線上にサーチ領域A2の中心点M2から距離3
dの位置に点M5をとり、この点M5を通り、且つ前記延
長線と直交させて5番目のサーチ領域A5を設定する。
そして、このサーチ領域A5の長さをサーチ領域A4より
も長くとる。このようにして、前回白線を検出した後、
次回に白線を検出するまでの間に未検出が生じた場合、
その間に発生した未検出の回数(T)に応じて次回のサ
ーチ領域の長さを順次長く設定し、白線6の検出の可能
性を高くする。
If the white line 6 cannot be detected even in the fourth search area A4 (not detected), the white line detection points K (1) and K (2) of the search areas A1 and A2 are obtained. Distance 3 from the center point M2 of the search area A2 on the extension line connecting
A point M5 is set at the position d, and a fifth search area A5 is set passing through the point M5 and orthogonal to the extension line.
Then, the length of the search area A5 is set longer than the search area A4. In this way, after the white line was detected last time,
If undetected before the next white line is detected,
The length of the next search area is set to be sequentially longer according to the number of undetections (T) occurring during that time, so that the possibility of detecting the white line 6 is increased.

【0027】しかしながら、白線6の未検出回数が多く
なり検出点が抜けると、これに伴い次のサーチ領域の推
定位置が前回の検出位置から余りにもずれすぎてしま
い、次のサーチ領域を設定しても白線6の検出が不能と
なる虞がある。特に、図4に示すように白線6のカーブ
がきつい左カーブの場合においては尚更である。そこ
で、未検出回数をカウントし、所定回数(例えば、5
回)発生したときには当該画面での白線6のサーチを止
め、次の画面に移行して白線6の検出を開始する。
However, when the number of undetected white lines 6 is increased and the detection point is missed, the estimated position of the next search area is deviated too much from the previous detection position, and the next search area is set. However, there is a possibility that the white line 6 cannot be detected. This is especially true in the case where the curve of the white line 6 is a sharp left curve as shown in FIG. Therefore, the number of undetected times is counted, and a predetermined number (for example, 5
When this occurs, the search for the white line 6 on the screen is stopped, and the next screen is displayed, and the detection of the white line 6 is started.

【0028】検出回数が2回未満のとき即ち、前記2番
目のサーチ領域A2を設定するときには、前述した計算
による方法では検出予想位置を推定することができな
い。従って、このときのサーチ領域A2の中心位置M2
は、最初のサーチ領域A1の検出点の座標(Xp、Y
(1))から2番目のサーチ領域両端のY座標(Yp1’、
Yp2’)のみを次式により決定する。尚、座標Xp’
は、Xpに所定の距離dを加えて求める。
When the number of detections is less than two, that is, when the second search area A2 is set, it is not possible to estimate the expected detection position by the above-described calculation method. Therefore, the center position M2 of the search area A2 at this time
Are the coordinates (Xp, Yp) of the detection point of the first search area A1.
(1)), the Y coordinates (Yp1 ',
Yp2 ') alone is determined by the following equation. Note that the coordinates Xp ′
Is obtained by adding a predetermined distance d to Xp.

【0029】 Xp’=Xp+d ・・・(11) Yp1’=Y(1)+h1 ・・・(12) Yp2’=Y(1)+h2 ・・・(13) ここに、h1は、−30画素程度の値、h2は、10画素
程度の値である。2番目のサーチ領域は、最初のサーチ
領域における検出位置よりも必ず高い位置にあり、順次
高い位置に移動する。
Xp ′ = Xp + d (11) Yp1 ′ = Y (1) + h1 (12) Yp2 ′ = Y (1) + h2 (13) where h1 is −30 pixels The value of about h2 is a value of about 10 pixels. The second search area is always at a position higher than the detection position in the first search area, and sequentially moves to a higher position.

【0030】但し、中心点Mi(xmi、ymi)は、次式
により決定する。 xmi=xP’ ・・・(14) ymi=(yP1’+ yP2')/2 ・・・(15) ところで、道路5の左カーブが図7に示すように更にき
つくなると、上述のサーチ領域の設定では、図7の例え
ば、サーチ領域A5のように白線6から外れてしまい、
検出することができなくなる可能性がある。尚、通常の
道路では、カーブの最小半径は、50m程度になってい
る。従って、この最小半径程度の左カーブにおいても白
線6を検出し得ることが好ましい。
However, the center point Mi (xmi, ymi) is determined by the following equation. xmi = xP '(14) ymi = (yP1' + yP2 ') / 2 (15) By the way, when the left curve of the road 5 becomes tighter as shown in FIG. In the setting, for example, as shown in the search area A5 in FIG.
Detection may not be possible. In addition, on a normal road, the minimum radius of the curve is about 50 m. Therefore, it is preferable that the white line 6 can be detected even in the left curve having the minimum radius.

【0031】そこで、前式(7)〜(10)で求めたサ
ーチ領域を、中心点Miを中心に白線6のカーブに臨ん
で(図7の場合には反時計方向)所定の角度θだけ回転
させる。これにより当該サーチ領域を白線6に更に近づ
けることが可能となり、白線6をより検出し得るように
なる。一般に、或る点(x、y)を、点(α、β)を中
心にθ°反時計方向に回転した後の座標(x’、y’)
は、
Therefore, the search area obtained by the above equations (7) to (10) faces the curve of the white line 6 about the center point Mi (counterclockwise in FIG. 7) by a predetermined angle θ. Rotate. As a result, the search area can be brought closer to the white line 6, and the white line 6 can be detected more. In general, coordinates (x ′, y ′) after a certain point (x, y) is rotated counterclockwise by θ ° around the point (α, β)
Is

【0032】[0032]

【数1】 (Equation 1)

【0033】で表される。従って、前記点Pi1、Pi2を
点Miを中心に反時計回りにθ°回転させた後の座標Pi
1'(xi1'、yi1')、Pi2'(xi2'、yi2')は、点Pi
1'では xi1'=xmi + cosθ・xi1 + sinθ・yi1 ・・・(17) yi1'=ymi − sinθ・xi1 + cosθ・yi1 ・・・(18) 点Pi2'では xi2'=xmi + cosθ・xi2 + sinθ・yi2 ・・・(19) yi2'=ymi − sinθ・xi2 + cosθ・yi1 ・・・(20) となる。但し、θは、30°〜45°程度の角度であ
る。
## EQU2 ## Therefore, the coordinates Pi after the points Pi1 and Pi2 are rotated counterclockwise by θ ° around the point Mi.
1 '(xi1', yi1 ') and Pi2' (xi2 ', yi2') are the points Pi
At 1 ', xi1' = xmi + cosθ.xi1 + sinθ.yi1 (17) yi1 '= ymi-sinθ.xi1 + cos.theta.yi1 (18) At point Pi2', xi2 '= xmi + cos.theta. xi2 + sinθ · yi2 (19) yi2 ′ = ymi−sinθ · xi2 + cosθ · yi1 (20) Here, θ is an angle of about 30 ° to 45 °.

【0034】そして、これらの2点Pi1'とPi2'とを結
ぶ線分を、最終的な次のサーチ領域とする。このように
して設定したサーチ領域により白線6を検出する場合を
図8に示す。これにより、半径の小さな左カーブの場合
でも左側の白線6を検出することが可能となる。また、
1つのサーチ領域に検出点が2つ以上ある場合、例え
ば、2本の白線、或いは白線と点線、或いは白線と縁石
が近接している場合等には同一のサーチ領域内に閾値V
THを超える点(白線候補)が2つ検出されることがあ
る。このような場合には予想した位置に近い方の点を白
線とする。即ち、2つの白線候補のY座標をY1、Y2と
すると、白線検出位置Y(c)は、Y1、Y2と検出予想位
置Ycとの絶対値の小さい方とする。
The line connecting these two points Pi1 'and Pi2' is used as the final next search area. FIG. 8 shows a case where the white line 6 is detected by the search area set in this way. This makes it possible to detect the left white line 6 even in the case of a left curve having a small radius. Also,
When there are two or more detection points in one search area, for example, when two white lines, a white line and a dotted line, or a white line and a curb are close to each other, the threshold V is set in the same search area.
Two points exceeding the TH (white line candidates) may be detected. In such a case, a point closer to the expected position is defined as a white line. That is, assuming that the Y coordinates of the two white line candidates are Y1 and Y2, the white line detection position Y (c) is the smaller of the absolute values of Y1 and Y2 and the expected detection position Yc.

【0035】 |Yc−Y1|<|Yc−Y2| のときには、Y(c)=Y1 ・・・(21) |Yc−Y1|>|Yc−Y2| のときには、Y(c)=Y2 ・・・(22) とする。また、絶対値が等しい場合には、輝度値の高い
方の点を白線の検出位置とする。次に、図9のフローチ
ャートを参照して白線検出方法の手順について説明す
る。先ず、図2に示すように車両直前の路面5aの輝度
値を検出して当該路面5aと白線6とを区別するための
閾値VTHを前式(1)又は(2)により決定する(ステップS
1)。次に、白線6を検出するためのサーチ領域を前式
(3)〜(15)、(17)〜(20)により設定し(ステップS
2)、当該サーチ領域内において輝度値を計測する(ス
テップS3)。検出した点の輝度値が前記閾値VTH以上
であるか否かを判別し(ステップS4)、閾値VTH以上
の時には未検出回数Tをカウントする未検出カウンタを
リセットして(ステップS5)、白線6の検出回数が2
回以上であるか否かを判別する(ステップS6)。そし
て、白線6の検出回数が2回以上の時には閾値VTH以上
の輝度値の点が2つ以上あるか否かを判別し(ステップ
S7)、2つ以上あるときにはそれらの中で上位2つを
白線候補とし、前回及び前々回の検出位置から前式(2
1)、(22)により白線らしさをチェック(ステップS8)
して白線と縁石等とを区別し、検出位置近傍に次回のサ
ーチ領域を設定する(ステップS9)。
When | Yc−Y1 | <| Yc−Y2 |, Y (c) = Y1 (21) When | Yc−Y1 |> | Yc−Y2 |, Y (c) = Y2.・ ・ (22) If the absolute values are equal, the point with the higher luminance value is set as the white line detection position. Next, the procedure of the white line detection method will be described with reference to the flowchart of FIG. First, as shown in FIG. 2, a threshold value VTH for detecting the brightness value of the road surface 5a immediately before the vehicle and distinguishing the road surface 5a from the white line 6 is determined by the above equation (1) or (2) (step S2).
1). Next, the search area for detecting the white line 6 is expressed by the following equation.
Set by (3) to (15) and (17) to (20) (Step S
2) A luminance value is measured in the search area (step S3). It is determined whether or not the luminance value of the detected point is equal to or higher than the threshold value VTH (step S4). If the luminance value is equal to or higher than the threshold value VTH, an undetected counter for counting the number of undetected times T is reset (step S5). Is 2 times
It is determined whether the number is equal to or more than the number of times (step S6). When the number of times of detection of the white line 6 is two or more, it is determined whether or not there are two or more points having a luminance value equal to or more than the threshold value VTH (step S7). As a white line candidate, the previous equation (2
Check whiteness likeness by 1) and (22) (Step S8)
Then, the white line and the curb are distinguished from each other, and the next search area is set near the detection position (step S9).

【0036】ステップS6においてサーチ領域内に閾値
VTH以上の輝度値の検出回数が2回以下即ち、1回のと
き、及びステップS7において閾値VTH以上の点が2つ
以上ない場合には、最高の輝度値を有する点を白線候補
として(ステップS10)ステップS9に進む。また、
ステップS4において閾値VTH以上の輝度値の点がない
ときには未検出用のカウンタのカウント値を1だけ進め
(ステップS11)、前回サーチ領域近傍に次回のサー
チ領域を設定する(ステップS12)。そして、未検出
回数が5回を超えると検出を停止して次の画面に移行す
る。
In step S6, when the number of detections of the luminance value equal to or higher than the threshold value VTH in the search area is two or less, that is, once, and when there are no two or more points equal to or higher than the threshold value VTH in step S7, A point having a luminance value is set as a white line candidate (step S10), and the process proceeds to step S9. Also,
If there is no point having a luminance value equal to or greater than the threshold value VTH in step S4, the count value of the counter for non-detection is advanced by 1 (step S11), and the next search area is set near the previous search area (step S12). When the number of undetected times exceeds 5, the detection is stopped and the screen shifts to the next screen.

【0037】また、サーチ領域毎に輝度値の閾値VTHを
変えるようにしても良い。図2において近くの路面5a
の輝度値により閾値を設定したが、路面5aは、遠くな
る程路面全体の輝度が低下してくるので、白線6の輝度
も低下してくる。このため近くの路面の輝度と遠くの白
線の輝度が余り変わらなくなり、遠くの白線6の検出が
困難になってくる。そこで、サーチ領域内の平均輝度値
SAVを求め、この平均輝度値に或値αを加えて閾値VST
Hを設定する。即ち、 VSTH = SAV+α (αは、輝度値10〜30程度の値) ・・・(23) とし、これよりも高い輝度のものを白線とする。白線の
部分は、他の部分に比べて明らかに輝度値が高いので、
前記閾値VSTHよりも高いものを白線とする。これによ
り遠くの白線まで良好に検出することが可能となる。
Further, the threshold value VTH of the luminance value may be changed for each search area. Road surface 5a nearby in FIG.
Although the threshold value is set based on the brightness value of the road surface 5, since the brightness of the entire road surface decreases as the road surface 5a increases, the brightness of the white line 6 also decreases. For this reason, the luminance of the near road surface and the luminance of the distant white line do not change much, and it becomes difficult to detect the distant white line 6. Therefore, an average luminance value SAV in the search area is obtained, and a certain value α is added to this average luminance value to obtain a threshold VST
Set H. That is, VSTH = SAV + α (α is a value of about 10 to 30) (23). Since the white line part has a clearly higher luminance value than the other parts,
A line higher than the threshold value VSTH is defined as a white line. As a result, it is possible to detect a distant white line satisfactorily.

【0038】ところで、道路には多数の車両が走行して
おり、自車両の前には適当な車間距離を存して他の車両
が走行しているのが常である。従って、この前方車両に
より白線が隠れることが多くなり、特に、道路がカーブ
している場合には著しい。このため、正規の位置でない
ところを白線として検出する虞があり、その後のサーチ
領域自体が正規の白線位置からズレていく可能性があ
る。
By the way, many vehicles are traveling on the road, and other vehicles are usually traveling in front of the own vehicle with an appropriate inter-vehicle distance. Therefore, the white line is often hidden by the preceding vehicle, particularly when the road is curved. For this reason, there is a possibility that a place other than the regular position may be detected as a white line, and the subsequent search area itself may deviate from the regular white line position.

【0039】従って、自車両の前方に他の車両が走行し
ているか否かを認識し、白線サーチ領域内における白線
候補検出点が、この前方車両の認識エリア内に入ってい
る場合には、当該検出点をキャンセルして未検出とし、
その後の処理を継続するようにすることが好ましい。そ
こで、自車両の前方に他の車両(或いは障害物)がある
か否かを認識し、他の車両(或いは障害物)があると認
識した後の処理方法について説明する。
Therefore, it is recognized whether or not another vehicle is running ahead of the own vehicle. If the white line candidate detection point in the white line search area is within the recognition area of the preceding vehicle, Cancel the detection point and make it undetected,
It is preferable to continue the subsequent processing. Therefore, a processing method after recognizing whether there is another vehicle (or an obstacle) ahead of the own vehicle and recognizing that there is another vehicle (or an obstacle) will be described.

【0040】自車両の前方にある目標対象物特に、前方
車両を認識する場合、車両の下部が影等により暗く、ま
た、タイヤが黒いことに注目して前方車両を認識するよ
うにしたものである。図1において、画像処理装置2及
びコンピュータ3は、図10に示すような認識ロジック
によりモノクロカメラ1から入力されるモノクロ画像を
処理して車両らしさをチェックする。即ち、先ず、撮像
したモノクロ画像の中の黒い部分を膨張させる。(ステ
ップS15)。次いで、このモノクロ画像の2値化を行
って黒領域と白領域とに分け(ステップS16)、小さ
い点等のノイズを除去する(ステップS17)。そし
て、ノイズを除去した後に決定された黒領域の車両らし
さをチェックし、車両以外を除去する。即ち、当該黒領
域が車両であるか否かをチェックする(ステップS1
8)。
When recognizing a target object ahead of the host vehicle, in particular, the front vehicle, the front vehicle is recognized by paying attention to the fact that the lower part of the vehicle is dark due to shadows and the tires are black. is there. In FIG. 1, an image processing device 2 and a computer 3 process a monochrome image input from a monochrome camera 1 by a recognition logic as shown in FIG. That is, first, a black portion in the captured monochrome image is expanded. (Step S15). Next, the monochrome image is binarized to be divided into a black region and a white region (step S16), and noise such as small points is removed (step S17). Then, the vehicle-likeness of the black area determined after the noise is removed is checked, and the parts other than the vehicle are removed. That is, it is checked whether or not the black area is a vehicle (step S1).
8).

【0041】次に、図10の認識ロジックによる車両の
認識方法について説明する。例えば、車両の走行時に運
転席から見た自車両の前方の景色が図11に示すように
見えたとする。モノクロカメラ1は、この図11と同様
の風景を撮像する。モノクロカメラ1は、この撮像した
モノクロ画像に対応する画像信号を出力して信号処理装
置2に加える。尚、図中暗い部分には斜線を施し、且つ
暗い部分ほど斜線のピッチを細かくしてある。また、前
車両の下部は、影により暗く、また、タイヤは、黒いた
めに、他の部分に比べて一段と暗くなっており真っ黒に
塗りつぶしてある。
Next, a method for recognizing a vehicle by the recognition logic of FIG. 10 will be described. For example, suppose that the scene in front of the vehicle viewed from the driver's seat when the vehicle is running looks as shown in FIG. The monochrome camera 1 captures the same scenery as in FIG. The monochrome camera 1 outputs an image signal corresponding to the captured monochrome image and adds it to the signal processing device 2. In the figure, dark portions are hatched, and the pitches of the hatched portions are finer in darker portions. In addition, the lower part of the front vehicle is darkened by shadows, and the tires are black, so that they are darker than the other parts and are completely black.

【0042】画像処理装置2は、図11の画像中の黒い
部分(灰色の部分を含む)を膨張させて黒い部分の内部
にある穴(白い部分)や近隣接の黒い領域を1つの領域
にまとめる(図12)。黒の領域の膨張は、原画像に対
し図13のような縦横3×3個のA〜Iまでの9個の画
素により形成した領域(マトリックス)において、 E=MIN(A、B、C、D、E、F、G、H、I) ・・・(24) の処理を順次行い、明るい部分(領域)の収縮を行う。
The image processing apparatus 2 expands a black portion (including a gray portion) in the image of FIG. 11 to convert a hole (white portion) inside the black portion and a nearby black region into one region. Summarize (FIG. 12). The expansion of the black region is expressed by E = MIN (A, B, C, and E) in the region (matrix) formed by 9 pixels of 3 × 3 A to I in the original image as shown in FIG. D, E, F, G, H, I) The processing of (24) is sequentially performed to shrink a bright portion (area).

【0043】即ち、A〜Iまでの9個の画素の中で中央
(真ん中)の画素Eに注目して、この画素Eの回りの画
素A〜D、F〜Iの中にEの画素の輝度値よりも小さい
(低い)輝度値の画素があれば、Eの画素もその一番小
さい画素の輝度値に合わせる。上式には画素E自身も含
まれるから、当該Eの画素の輝度値が一番小さいときに
はその輝度値は変わらない。そして、マトリックスの中
央に持ってくる画素を1個づつ動かして(走査して)そ
の中央の画素の輝度値を順次設定する。例えば、図11
に示すモノクロ画像が、512×448個の画素で構成
されている場合これらの全ての画素について前記走査を
行う。これにより図12に示すように黒い領域が全体的
に見て大きくなる。即ち、黒の領域が膨張する。図14
に示すように黒い領域を膨張させた後、2値化を行い、
図14に示すような白い領域と黒い領域との画像を得
る。
That is, focusing on the pixel E at the center (middle) of the nine pixels A to I, the pixels A to D and F to I around the pixel E If there is a pixel having a luminance value smaller (lower) than the luminance value, the pixel of E is also adjusted to the luminance value of the smallest pixel. Since the above equation includes the pixel E itself, when the luminance value of the pixel of the E is the smallest, the luminance value does not change. Then, the pixel brought to the center of the matrix is moved one by one (scanned), and the luminance value of the center pixel is set sequentially. For example, FIG.
When the monochrome image shown in (1) is composed of 512 × 448 pixels, the scanning is performed for all these pixels. As a result, as shown in FIG. 12, the black area becomes larger as a whole. That is, the black area expands. FIG.
After expanding the black area as shown in, binarization is performed,
An image of a white area and a black area as shown in FIG. 14 is obtained.

【0044】次に、2値化した画像のノイズ除去を行
う。2値化した後の黒の領域を所定の半径r1(例え
ば、5画素分の大きさの半径)の円で膨張した後、更に
当該円で縮小して元の大きさに戻す。尚、この処理を
「処理1」とする。黒の領域の膨張は、イメージ的に
は、黒の領域を形成する輪郭(外周)上に半径r1の円
を転がし、当該円の描く軌跡を新たな黒の領域とする。
これにより前述したように、黒の領域内部の穴(明るい
部分)や近隣接の黒い領域を1つに纏めることができ
る。次に、この膨張した黒の領域を同じ半径r1の円で
縮小させる。この縮小は、イメージ的には膨張した黒の
領域を形成する輪郭の内側に前記半径r1の円を転がし
てその描く軌跡の内側を新たな黒の領域とする。これに
より黒の領域は、元の大きさとなる。
Next, noise removal of the binarized image is performed. After the binarized black area is expanded with a circle having a predetermined radius r1 (for example, a radius having a size of 5 pixels), the area is further reduced with the circle and returned to the original size. This process is referred to as “process 1”. In the expansion of the black region, a circle having a radius r1 is rolled on a contour (outer periphery) forming the black region, and a locus drawn by the circle is set as a new black region.
As a result, as described above, the holes (bright portions) inside the black region and the nearby black regions can be combined into one. Next, the expanded black area is reduced by a circle having the same radius r1. In this reduction, the circle having the radius r1 is rolled inside the outline forming the expanded black region in terms of image, and the inside of the drawn locus is set as a new black region. Thus, the black area has the original size.

【0045】ところで、前記処理1により黒の領域の内
部の穴や近隣接黒領域を1つに纏めた場合、希に1つに
は纏めてほしくない物体同士でも1つに纏められてしま
うためにこれらを元に戻す(分割する)必要がある。そ
こで、処理1の後の黒の領域を所定の半径r2(例え
ば、3画素分の大きさの半径)の円で縮小し、次いで、
当該半径の円で再び膨張させて元の大きさに戻す。尚、
この処理を「処理2」という。この処理2もイメージ的
には前述した処理1の場合と同様である。
By the way, when the holes inside the black area and the adjacent black areas are combined into one by the above-described processing 1, even objects that are not desired to be combined into one rarely are combined into one. Need to be restored (divided). Therefore, the black area after the processing 1 is reduced by a circle having a predetermined radius r2 (for example, a radius having a size of three pixels).
Inflate again with the circle of the radius and return to the original size. still,
This processing is referred to as “processing 2”. This processing 2 is similar in image to the processing 1 described above.

【0046】次に、この処理2について図15乃至図1
8により具体的に説明する。尚、図15に示す2値化さ
れた画像は、ノイズ除去処理を説明するためのもので図
14に示す2値化された画像とは異なる画像である。図
15に示す画像において、4個の黒の領域20〜23
は、異なる物体であり纏められて欲しくないものであ
る。しかしながら、この黒の領域20〜23に前記処理
1を施した場合、図16に示すように黒の領域20と2
1、22と23が連結部24、25により連結されてし
まう。そこで、黒の領域20〜23を前述したように半
径r2の円で縮小すると、図17に示すように連結部2
4、25が取り除かれ、黒の領域20と21、22と2
3が切り離される。次に、この切り離された各黒の領域
20から23を前記半径r2の円で再び膨張させると、
図18に示すように黒の領域20〜23が切り離された
状態で元の大きさに戻る。
Next, the processing 2 is described with reference to FIGS.
8 will be described more specifically. The binarized image shown in FIG. 15 is for explaining the noise removal processing and is different from the binarized image shown in FIG. In the image shown in FIG. 15, four black areas 20 to 23
Are different objects that you do not want to be put together. However, when the processing 1 is performed on the black areas 20 to 23, as shown in FIG.
1, 22, and 23 are connected by the connecting portions 24, 25. Therefore, when the black regions 20 to 23 are reduced by the circle having the radius r2 as described above, the connecting portions 2 to 23 shown in FIG.
4, 25 are removed and the black areas 20 and 21, 22 and 2
3 is cut off. Next, when the separated black regions 20 to 23 are expanded again with the circle having the radius r2,
As shown in FIG. 18, the size returns to the original size with the black regions 20 to 23 separated.

【0047】図19の画像は、図14に示す2値化され
た画像26〜30に前述したノイズ除去処理を行った後
の黒の領域を示す。そして、図19に示す画像の黒の領
域の車両らしさをチェックして、車両以外を除去する。
この車両らしさのチェックは、図21に示す手順により
行われる。車両らしさのチェックは、最も効率の良い方
法により行う。先ず、除去後に残った黒の領域の重心位
置が設定範囲内にあるか否かを判定し(ステップS2
1)、設定範囲内にないときには当該黒の領域は車両で
はないと判定して、以後の判定作業を終了する。通常運
転席から見える前方車両は、図19のように画面の略中
央或いは中央から僅かに下方付近に見える。従って、こ
の前方車両の下部を表す黒の領域の重心は、中央或いは
中央から僅かに下方の範囲にあることになる。従って、
図19における黒の領域26〜30の中の黒の領域2
6、27は、車両らしくないと判定され、黒の領域28
〜30は車両らしいと判定される。尚、設定範囲は、
坂、自車両のピッチング等を考慮し、画面中央より若干
上方から下側の部分としても良い。
The image of FIG. 19 shows a black region after the above-described noise removal processing has been performed on the binarized images 26 to 30 shown in FIG. Then, the likeness of the vehicle in the black area of the image shown in FIG. 19 is checked, and other than the vehicle is removed.
This vehicle-likeness check is performed according to the procedure shown in FIG. The vehicle-likeness is checked by the most efficient method. First, it is determined whether the position of the center of gravity of the black area remaining after the removal is within the set range (step S2).
1) When it is not within the set range, it is determined that the black area is not a vehicle, and the subsequent determination work is terminated. The front vehicle seen from the normal driver's seat can be seen substantially at the center of the screen or slightly below the center as shown in FIG. Therefore, the center of gravity of the black area representing the lower part of the preceding vehicle is located at the center or in a range slightly below the center. Therefore,
Black area 2 in black areas 26 to 30 in FIG.
6 and 27 are determined not to be a vehicle, and the black areas 28
30 are determined to be vehicle-like. The setting range is
In consideration of the slope, pitching of the own vehicle, and the like, the portion may be slightly lower than the center of the screen and lower.

【0048】ステップS21において黒の領域28〜3
0の重心が設定範囲内にあると判定されると、当該黒の
領域の面積が設定範囲内にあるか否かを判定する(ステ
ップS22)。即ち、黒の領域(面積)28〜30が先
行車両と自車両との通常の車間距離の場合を想定して設
定された面積に対して小さい場合には明らかに車ではな
いと判定する。ステップS22において黒の領域28〜
30が車両らしいと判定されると、これらの黒の領域2
8〜30の最上部の座標が設定値以下か否かを判定する
(ステップS23)。例えば、図17に示すように画面
の略中央から上方に略V字状をなす黒の領域20の最上
部20a、20bの座標が画面の上方中央及び右上方に
位置しており、明らかに車両ではない。
In step S21, black areas 28 to 3
When it is determined that the center of gravity of 0 is within the set range, it is determined whether or not the area of the black region is within the set range (step S22). That is, when the black areas (areas) 28 to 30 are smaller than the area set assuming the normal inter-vehicle distance between the preceding vehicle and the host vehicle, it is determined that the vehicle is obviously not a car. In step S22, the black areas 28 to
If it is determined that 30 is likely to be a vehicle, these black areas 2
It is determined whether or not the uppermost coordinates of 8 to 30 are equal to or smaller than a set value (step S23). For example, as shown in FIG. 17, the coordinates of the uppermost portions 20a and 20b of the black region 20, which is substantially V-shaped upward from the approximate center of the screen, are located at the upper center and upper right of the screen. is not.

【0049】ステップS23において車両らしいと判定
されると、次に、黒の領域の縦横の比が設定範囲内にあ
るか否かを判定する(ステップS24)。車両の大きさ
は、縦横比がある程度の範囲内にあり、図11に示すよ
うな通常の車両の場合には2値化され、ノイズ除去され
た後の黒の領域は、車両の下部を含むタイヤの部分であ
り、横長になる。勿論、車両によっては、縦横が同じ程
度、或いは縦長となることもある。例えば、黒い幌や覆
い等を着けた車両の場合には、縦長となることもある。
そこで、縦横の比を1:1程度の範囲に設定して、この
範囲内にあるときには車両と認定する。これにより図1
9の画面の黒の領域28、29が車両らしいと判定され
る(ステップS25)。コンピュータ3は、このように
してステップS21からステップS24までの4項目に
より車両らしさをチェックして(ステップS25)図2
0に示すように画面に先行車両31、32を表示する。
尚、路上にある障害物そのものを検出する場合について
も同様である。
If it is determined in step S23 that the vehicle is likely to be a vehicle, it is next determined whether the ratio of the length and width of the black area is within the set range (step S24). The size of the vehicle is such that the aspect ratio is within a certain range. In the case of a normal vehicle as shown in FIG. 11, the size of the vehicle is binarized, and the black area after noise removal includes the lower part of the vehicle. It is the part of the tire, which is horizontally long. Of course, depending on the vehicle, the vertical and horizontal directions may be the same or vertical. For example, in the case of a vehicle equipped with a black hood or a cover, the vehicle may be vertically long.
Therefore, the aspect ratio is set to a range of about 1: 1. When the ratio is within this range, the vehicle is recognized as a vehicle. FIG. 1
It is determined that the black areas 28 and 29 on the screen 9 are likely to be vehicles (step S25). In this way, the computer 3 checks the uniqueness of the vehicle from the four items from step S21 to step S24 (step S25).
As shown at 0, the preceding vehicles 31, 32 are displayed on the screen.
The same applies to the case where an obstacle itself on the road is detected.

【0050】さて、白線候補検出点が、前方車両の認識
エリア内になった場合には、当該検出点は、キャンセル
し、未検出としてその後の処理を行う。このとき、キャ
ンセルの方法としては、(1)白線候補検出点が前方車
両エリア内になったとき、(2)白線サーチ領域が前方
車両エリアに掛かったときの2通りの方法がある。先
ず、(1)の白線候補検出点が前方車両エリア内になっ
たときの処理方法について図22のフローチャートを参
照して説明する。
If the white line candidate detection point is within the recognition area of the preceding vehicle, the detection point is canceled, and the subsequent processing is performed as undetected. At this time, there are two methods for canceling: (1) when the white line candidate detection point is within the front vehicle area, and (2) when the white line search area is over the front vehicle area. First, the processing method (1) when the white line candidate detection point is in the front vehicle area will be described with reference to the flowchart in FIG.

【0051】コンピュータ3は、上述のようにして前方
車両を認識すると(ステップS30)、この認識した前
方車両のエリア内にある白線6のサーチ領域Anの輝度
値を計測し(ステップS31)、当該輝度値が閾値(前
式(1)、又は(2))以上の輝度値であるか否を判別する
(ステップS32)。コンピュータ3は、サーチ領域A
nの輝度値が閾値以上であるときには、当該サーチ領域
An内における白線候補点が前方車両のエリア内にある
か否かを判別し(ステップS33)、前方車両のエリア
内に無いときには前記検出点を白線候補点と判別し、検
出時の処理を行う(ステップS34)。また、コンピュ
ータ3は、ステップS32において、サーチ領域Anの
輝度値が閾値に達しない場合、或いはステップS33に
おいてサーチ領域An内の白線候補点が前方車両のエリ
ア内にあるときには当該検出点を、夫々未検出として処
理(キャンセル)する(ステップS35)。
When the computer 3 recognizes the preceding vehicle as described above (step S30), the computer 3 measures the luminance value of the search area An of the white line 6 in the area of the recognized preceding vehicle (step S31). It is determined whether or not the luminance value is equal to or greater than a threshold value (formula (1) or (2)) (step S32). The computer 3 searches the search area A
If the luminance value of n is equal to or greater than the threshold value, it is determined whether or not the white line candidate point in the search area An is within the area of the preceding vehicle (step S33). Is determined as a white line candidate point, and processing at the time of detection is performed (step S34). Further, the computer 3 determines each of the detection points when the luminance value of the search area An does not reach the threshold value in step S32 or when the white line candidate point in the search area An is in the area of the preceding vehicle in step S33. Processing (cancellation) is performed as undetected (step S35).

【0052】次に、(2)の白線サーチ領域が前方車両
エリアに掛かったときの処理法方について図23のフロ
ーチャートを参照して説明する。コンピュータ3は、自
車両の前方に他の車両が走行していることを認識した後
(ステップS40)、白線サーチ領域Anを設定し(ス
テップS41)、当該サーチ領域Anが、前方車両のエ
リアに掛かるか否かを判別し(ステップS42)、前方
車両のエリアに掛かっていないときには前述したような
通常の処理を行い(ステップS43)、白線検出候補点
があるか否かを判別する(ステップS44)。そして、
白線候補点があるときには、当該当該サーチ領域Anを
白線検出時のサーチ領域とする(ステップS45)。ま
た、コンピュータ3は、ステップS42においてサーチ
領域Anが前方車両エリアに掛かる場合、或いはステッ
プS44において白線候補点が検出されないときには、
夫々白線未検出と判断してサーチ領域Anを未検出時の
サーチ領域として処理(キャンセル)する(ステップS
46)。
Next, the processing method when the white line search area of (2) overlaps the front vehicle area will be described with reference to the flowchart of FIG. After recognizing that another vehicle is running ahead of the host vehicle (step S40), the computer 3 sets a white line search area An (step S41), and sets the search area An to the area of the preceding vehicle. It is determined whether or not the vehicle is hanging (step S42). If the vehicle is not in the area of the preceding vehicle, the above-described normal processing is performed (step S43), and it is determined whether or not there is a white line detection candidate point (step S44). ). And
If there is a white line candidate point, the search area An is set as a search area when a white line is detected (step S45). When the search area An overlaps the front vehicle area in step S42, or when the white line candidate point is not detected in step S44,
It is determined that the white line has not been detected, and the search area An is processed (canceled) as the search area at the time of not being detected (step S).
46).

【0053】このようにして白線が前方車両により隠さ
れるときにはサーチ領域における検出点をキャンセルす
ることにより、サーチ領域自体が正規の白線位置からズ
レていくことによる、白線の誤検出を防止することがで
き、遠距離まで精度良く白線を認識することが可能とな
る。
In this way, when the white line is hidden by the preceding vehicle, the detection points in the search area are canceled, thereby preventing erroneous detection of the white line due to the shift of the search area from the regular white line position. This makes it possible to accurately recognize a white line over a long distance.

【0054】[0054]

【発明の効果】以上説明したように本発明によれば、請
求項1では、撮像した車両前方の路面の画面上の所定位
置から所定長さを有するサーチ領域を、前記路面に道路
に沿って引かれている白線に沿って且つ前記白線のカー
ブする方向に傾斜させながら順次設定し、各サーチ領域
内で輝度値を計測して前記路面と前記白線とを判別して
白線を検出し、且つ前記撮像した画像から前方車両の有
無を認識し、前記サーチ領域が前方車両のエリア内にあ
るときには白線を未検出として処理することにより、前
方車両による白線の誤検出を防止することができ、遠距
離まで精度良く白線を認識することが可能となる。
As described above, according to the present invention, according to the first aspect, a search area having a predetermined length from a predetermined position on a screen of a road surface in front of the imaged vehicle is formed along the road on the road surface. Along the white line being drawn and the car of the white line
In the search direction, measuring the brightness value in each search area, discriminating the road surface and the white line, detecting the white line, and recognizing the presence or absence of a preceding vehicle from the captured image. By processing the white line as undetected when the search area is within the area of the preceding vehicle, erroneous detection of the white line by the preceding vehicle can be prevented, and the white line can be accurately recognized up to a long distance. Become.

【0055】請求項2では、前方車両を認識したとき
に、サーチ領域の輝度値が所定値よりも低いとき、又は
サーチ領域の輝度値が所定値以上であり、且つ前記サー
チ領域内の白線候補点が前記前方車両のエリア内にある
ときの何れかのときに前記サーチ領域を白線未検出とし
てキャンセルすることにより、前方車両による白線の誤
検出を防止することができる。請求項3では、前方車両
を認識したときに、白線サーチ領域を設定し、当該サー
チ領域が前記前方車両のエリアに掛かるときに前記サー
チ領域を白線未検出としてキャンセルすることにより、
前方車両による白線の誤検出を防止することができる。
[0055] In claim 2, when recognizing the preceding vehicle, when the luminance value of the search area is lower than a predetermined value, or brightness values of <br/> search area is equal to or higher than a predetermined value, and the service < The search area is canceled as a white line not detected at any time when a white line candidate point in the area is within the area of the preceding vehicle, thereby preventing erroneous detection of a white line by the preceding vehicle. Can be. In claim 3, when a preceding vehicle is recognized, a white line search area is set, and when the search area overlaps the area of the preceding vehicle, the search area is canceled as white line undetected,
It is possible to prevent erroneous detection of a white line by a preceding vehicle.

【0056】尚、請求項1又は2において、路面と白線
との判別は、前記路面の輝度値よりも所定値だけ高い値
を閾値とし、当該閾値よりも高い輝度値の部分を白線と
判別することにより、白線と路面とを確実に判別するこ
とが可能となるというような効果がある更に、請求項
1において、路面の輝度値は、車両直前の路面の複数箇
所の輝度値の平均値とすることにより、より正確な路面
の輝度値を得ることができるというような効果がある
[0056] Incidentally, in claim 1 or 2, discrimination between the road surface and white lines, a threshold value higher by a predetermined value than the luminance value of the road surface, to determine the portion of the high brightness value than the threshold value and the white line it leads to an effect such as that that Do is possible to reliably determine the white lines and the road surface. Further, the claims
In 1, the road surface brightness value is an average value of the brightness values at a plurality of locations on the road surface immediately before the vehicle, thereby providing an effect that a more accurate road surface brightness value can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る白線検出方法を実施するための白
線検出装置のシステム構成のブロック図である。
FIG. 1 is a block diagram of a system configuration of a white line detection device for implementing a white line detection method according to the present invention.

【図2】図1のカメラにより運転席の前方を撮像した右
カーブの道路と左側の白線検出のサーチ領域を示す画面
である。
FIG. 2 is a screen showing a right-curve road and a left-side white line detection search area obtained by imaging the front of a driver's seat by the camera of FIG. 1;

【図3】図1のカメラにより運転席の前方を撮像した左
カーブの道路と左側の白線検出のサーチ領域を示す画面
である。
FIG. 3 is a screen showing a left curve road and a left white line detection search area obtained by imaging the front of a driver's seat by the camera of FIG. 1;

【図4】図3の画面でサーチ領域を白線のカーブに応じ
て傾斜させて白線を検出する場合の説明図である。
FIG. 4 is an explanatory diagram of a case where a white line is detected by inclining a search area in accordance with a curve of the white line on the screen of FIG. 3;

【図5】図3の画面において白線検出のサーチ領域の設
定方法を示す説明図である。
FIG. 5 is an explanatory diagram showing a method for setting a search area for white line detection on the screen of FIG. 3;

【図6】図5において白線未検出の場合のサーチ領域の
設定方法を示す説明図である。
FIG. 6 is an explanatory diagram showing a method for setting a search area when a white line has not been detected in FIG. 5;

【図7】道路の左カーブが更にきつくなった場合の左側
の白線とサーチ領域との関係を示す画面である。
FIG. 7 is a screen showing a relationship between a left white line and a search area when a left curve of a road is tighter.

【図8】図7の画面において白線検出のサーチ領域の設
定方法を示す説明図である。
8 is an explanatory diagram showing a method for setting a search area for white line detection on the screen of FIG. 7;

【図9】本発明に係る白線検出方法の手順を示すフロー
チャートである。
FIG. 9 is a flowchart illustrating a procedure of a white line detection method according to the present invention.

【図10】自車両の前方を走行する車両を認識するロジ
ックを示すフローチャートである。
FIG. 10 is a flowchart showing a logic for recognizing a vehicle traveling ahead of the host vehicle.

【図11】図1のカメラにより運転席から見た前方の映
像を示す画面である。
FIG. 11 is a screen showing a forward image viewed from the driver's seat by the camera of FIG. 1;

【図12】図11の画面の黒い領域を膨張させた状態を
示す画面である。
FIG. 12 is a screen showing a state where a black area of the screen of FIG. 11 is expanded.

【図13】図11の画面の黒い領域を膨張させる手段を
示す説明図である。
FIG. 13 is an explanatory diagram showing a means for expanding a black area on the screen of FIG. 11;

【図14】図11の画面を2値化した状態を示す画面で
ある。
14 is a screen showing a state where the screen of FIG. 11 is binarized.

【図15】2値化した画面のノイズ除去処理を行うため
の画面である。
FIG. 15 is a screen for performing noise removal processing on a binarized screen.

【図16】図15の画面の黒の領域を膨張させた状態を
示す画面である。
16 is a screen showing a state where a black area of the screen of FIG. 15 is expanded.

【図17】図16の画面の黒の領域を縮小させた状態を
示す画面である。
17 is a screen showing a state where a black area of the screen of FIG. 16 is reduced.

【図18】図17の画面の黒の領域を膨張させて元の大
きさにした状態を示す画面である。
18 is a screen showing a state where a black area of the screen of FIG. 17 is expanded to its original size.

【図19】図14の2値化した画像にノイズ除去処理を
行った後の画面である。
FIG. 19 is a screen after noise removal processing has been performed on the binarized image of FIG. 14;

【図20】図19の画像から先行車両を表示した画面で
ある。
FIG. 20 is a screen displaying a preceding vehicle from the image of FIG. 19;

【図21】ノイズを除去処理を行った後の図19に示す
画像から車両らしさをチェックする手順を示すフローチ
ャートである。
FIG. 21 is a flowchart showing a procedure for checking vehicle-likeness from the image shown in FIG. 19 after noise removal processing is performed.

【図22】前方車両により白線が隠された場合の白線検
出処理方法の手順を示すフローチャートである。
FIG. 22 is a flowchart illustrating a procedure of a white line detection processing method when a white line is hidden by a vehicle ahead.

【図23】前方車両により白線が隠された場合の他の白
線検出処理方法の手順を示すフローチャートである。
FIG. 23 is a flowchart illustrating a procedure of another white line detection processing method when a white line is hidden by a preceding vehicle.

【符号の説明】[Explanation of symbols]

1 カメラ 2 画像処理装置 3 コンピュータ Reference Signs List 1 camera 2 image processing device 3 computer

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 - 7/60 B60R 21/00 G01C 15/00 G05D 1/02 G06T 1/00 Continuation of front page (58) Fields investigated (Int.Cl. 7 , DB name) G06T 7 /00-7/60 B60R 21/00 G01C 15/00 G05D 1/02 G06T 1/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 撮像した車両前方の路面の画面上の所定
位置から所定長さを有するサーチ領域を、前記路面に道
路に沿って引かれている白線に沿って且つ前記白線のカ
ーブする方向に傾斜させながら順次設定し、各サーチ領
域内で輝度値を計測して前記路面と前記白線とを判別し
て白線を検出し、且つ前記撮像した画像から前方車両の
有無を認識し、前記サーチ領域が前方車両のエリア内に
あるときには白線を未検出として処理することを特徴と
する白線検出方法。
1. A search area having a predetermined length from a predetermined position on a screen of a road surface in front of a vehicle, which is imaged, is searched for along a white line drawn along the road on the road surface and the power of the white line.
In the search direction, measure the brightness value in each search area, determine the road surface and the white line to detect the white line, and recognize the presence or absence of the preceding vehicle from the captured image. When the search area is within the area of the vehicle in front, a white line is detected as not detected and processed.
【請求項2】 前方車両を認識したときに、サーチ領域
の輝度値が所定値よりも低いとき、又はサーチ領域の輝
度値が所定値以上であり、且つ前記サーチ領域内の白線
候補点が前記前方車両のエリア内にあるときの何れかの
ときに前記サーチ領域を白線未検出としてキャンセルす
ることを特徴とする請求項1に記載の白線検出方法。
2. A search area when a preceding vehicle is recognized.
When the luminance value is lower than the predetermined value, or brightness values of the search area is equal to or higher than a predetermined value, and the white line candidate points in the search area is either when in the area of the front vehicle
2. The white line detection method according to claim 1, wherein the search area is canceled when white lines are not detected.
【請求項3】 前記前方車両を認識したときに、前記白
線サーチ領域を設定し、当該サーチ領域が前記前方車両
のエリアに掛かるときに前記サーチ領域を白線未検出と
してキャンセルすることを特徴とする請求項1に記載の
白線検出方法。
3. A white line search area is set when the preceding vehicle is recognized, and the search area is canceled as a white line not detected when the search area overlaps the area of the preceding vehicle. The white line detection method according to claim 1.
JP07324899A 1995-12-13 1995-12-13 White line detection method Expired - Fee Related JP3134749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07324899A JP3134749B2 (en) 1995-12-13 1995-12-13 White line detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07324899A JP3134749B2 (en) 1995-12-13 1995-12-13 White line detection method

Publications (2)

Publication Number Publication Date
JPH09161065A JPH09161065A (en) 1997-06-20
JP3134749B2 true JP3134749B2 (en) 2001-02-13

Family

ID=18170876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07324899A Expired - Fee Related JP3134749B2 (en) 1995-12-13 1995-12-13 White line detection method

Country Status (1)

Country Link
JP (1) JP3134749B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3822468B2 (en) 2001-07-18 2006-09-20 株式会社東芝 Image processing apparatus and method
JP4765113B2 (en) * 2008-02-12 2011-09-07 本田技研工業株式会社 Vehicle periphery monitoring device, vehicle, vehicle periphery monitoring program, and vehicle periphery monitoring method
JP5287335B2 (en) * 2009-02-23 2013-09-11 日産自動車株式会社 Road white line recognition apparatus and road white line recognition method

Also Published As

Publication number Publication date
JPH09161065A (en) 1997-06-20

Similar Documents

Publication Publication Date Title
JP3503230B2 (en) Nighttime vehicle recognition device
JP3307335B2 (en) Vehicle region detection device and vehicle region verification method
JPH06281455A (en) Vehicle surroundings monitoring device
JPH11203458A (en) Road shape recognition device
JP4930046B2 (en) Road surface discrimination method and road surface discrimination device
JPH08329393A (en) Leading vehicle detection device
KR100816377B1 (en) Parking Lot Recognition Method and Apparatus Using Hough Transformation and Parking Assistance System Using the Same
JP2002228423A (en) Tire detection method and device
KR20140024681A (en) Apparatus and method for detecting lane
JP2007179386A (en) Method and apparatus for recognizing white line
JP3254464B2 (en) Vehicle recognition device and moving object recognition method
JP3134749B2 (en) White line detection method
CN109558765A (en) The detection method of automobile and lane line, device
JPH05314396A (en) Continuous line tracking device
KR101862994B1 (en) A method of Stop-line Detection for Autonomous Vehicles
JPH10320559A (en) Roadway detection device for vehicles
JP2536549B2 (en) Inter-vehicle distance detection method
JP2002008019A (en) Track recognition device and railway vehicle using the track recognition device
JP3844750B2 (en) Infrared image recognition device and alarm device using infrared image recognition device
JP2006172262A (en) Road marking detection device for vehicles
JPH09128548A (en) Vehicle detection method
JP2003187228A (en) Device and method for recognizing vehicle
JP2000259997A (en) Height and inter-vehicle distance measuring device for preceding vehicle
JP3134748B2 (en) White line detection method
JP4842301B2 (en) Pedestrian detection device and program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001031

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees