JP4253275B2 - Vehicle control system - Google Patents

Vehicle control system Download PDF

Info

Publication number
JP4253275B2
JP4253275B2 JP2004167644A JP2004167644A JP4253275B2 JP 4253275 B2 JP4253275 B2 JP 4253275B2 JP 2004167644 A JP2004167644 A JP 2004167644A JP 2004167644 A JP2004167644 A JP 2004167644A JP 4253275 B2 JP4253275 B2 JP 4253275B2
Authority
JP
Japan
Prior art keywords
vehicle
image
light spot
light
vehicle control
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 - Lifetime
Application number
JP2004167644A
Other languages
Japanese (ja)
Other versions
JP2005092861A (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.)
Honda Motor Co Ltd
Hitachi Ltd
Original Assignee
Honda Motor Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd, Hitachi Ltd filed Critical Honda Motor Co Ltd
Priority to JP2004167644A priority Critical patent/JP4253275B2/en
Publication of JP2005092861A publication Critical patent/JP2005092861A/en
Application granted granted Critical
Publication of JP4253275B2 publication Critical patent/JP4253275B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)
  • Traffic Control Systems (AREA)

Description

本発明は、車両搭載用の車両制御システムに関するものである。   The present invention relates to a vehicle control system for mounting on a vehicle.

車載カメラが撮影した画像を用いて車両の位置及び方向を検出する技術として、夜間のヘッドライトやテールランプを検知し、その情報を基に他車両情報を検出する例があげられる。ヘッドライトは夜間走行時、運転手の視認性を良くするために前方に車両が存在しなければハイビームに、存在する場合は距離に応じてロービームにすることが望ましい。従って、自車両前方に先行車もしくは対向車がどの距離に存在するかどうかを検出する技術が重要となる。車間距離算出の一方式として、自車の前方をカメラで撮像し、画像を解析することで車間距離を計算する例が知られている。ただしCCDやCMOSのカメラは、ダイナミックレンジが限られているため、ヘッドライトとテールランプのように輝度差が大きな対象を一様に撮像することが難しい。更にカメラへの入射光量は光点からの距離に依存するため、ヘッドライトが近くテールランプが遠方にあれば見かけ上の輝度差は一層広がる。ハイビームは200m程離れても眩しさを感じることから、配光制御では数百m遠方の車両まで検出できなければならない。即ち遠方のテールランプの輝度にあわせて露光を調整すると、近傍のヘッドライトからの光量が強すぎてブルーミングを起こす可能性が高く、また近傍のヘッドライトにあわせて露光を調整すると、遠方のテールランプは暗くなり、距離の算出が困難となる。   As a technique for detecting the position and direction of a vehicle using an image taken by an in-vehicle camera, there is an example in which nighttime headlights and taillights are detected and other vehicle information is detected based on the information. When driving at night, in order to improve the driver's visibility, it is desirable that the headlight be a high beam if there is no vehicle ahead, and if it is present, the headlight should be a low beam according to the distance. Therefore, a technique for detecting at which distance the preceding vehicle or the oncoming vehicle is in front of the host vehicle is important. As a method for calculating the inter-vehicle distance, an example is known in which the front distance of the host vehicle is captured by a camera and the inter-vehicle distance is calculated by analyzing the image. However, since a CCD or CMOS camera has a limited dynamic range, it is difficult to uniformly image an object having a large luminance difference such as a headlight and a tail lamp. Further, since the amount of light incident on the camera depends on the distance from the light spot, the apparent luminance difference is further widened if the headlight is close and the tail lamp is far away. Since the high beam feels dazzling even at a distance of about 200 m, the light distribution control must be able to detect even a vehicle several hundred meters away. In other words, adjusting the exposure according to the brightness of the distant tail lamp is likely to cause blooming due to the intensity of light from the nearby headlight, and if adjusting the exposure according to the nearby headlight, the distant tail lamp It becomes dark and it becomes difficult to calculate the distance.

この課題を解決するために、青色フィルタを装着したレンズを持つ撮像素子と赤色フィルタを装着したレンズを持つ撮像素子の2つを有し、青色フィルタで対向車のヘッドライトを、赤色フィルタで先行車のテールランプを各々検出する技術が知られている。(例えば特許文献1)本方式は、機械的な走査装置が不要であって簡単な構成の安価なシステムを実現できる。しかし、撮像素子及びレンズを2つ用いているので、光学系で2倍のコストがかかる。更に、2つそれぞれがヘッドライトとテールランプを分けて認識するため、ヘッドライトとテールランプの違いによる輝度差は吸収できるが、距離の違いによる輝度差は吸収が困難であり、近傍と遠方に車両が混在する場合は、ブルーミング等による車両位置検出精度の低下が生じる。   In order to solve this problem, there are two image sensors with a lens fitted with a blue filter and an image sensor with a lens fitted with a red filter. A technique for detecting each tail lamp of a car is known. (For example, Patent Document 1) This method can realize an inexpensive system with a simple configuration without requiring a mechanical scanning device. However, since two image sensors and lenses are used, the optical system costs twice as much. Furthermore, since each of the two recognizes the headlight and taillight separately, the luminance difference due to the difference between the headlight and the taillight can be absorbed, but the luminance difference due to the difference in distance is difficult to absorb, and the vehicle is located near and far away. When they are mixed, the vehicle position detection accuracy decreases due to blooming or the like.

更に、ヘッドライトやテールランプを検知する場合に問題となるのが信号機やリフレクタ、街灯、自動販売機など、車両以外のノイズ光点の混入である。配光制御や、ACC、プリクラッシュセイフティーなどのアプリケーションでは、車両を検知することが重要であり、それ以外のものはノイズとして除外しなければならない。しかしながら、上記のようなノイズ光点が混入すると、それを車両と誤認識することがあり、アプリケーションの振る舞いに重大な影響を与えてしまう。これらノイズ光の影響を排除する手法として、街灯を除外するための手法が提案されている(例えば特許文献1)。本方式では、街灯の光点の特徴を利用してヘッドライトやテールランプとの差別化を図っている。すなわち、走行を続けるにつれて光点が画面の上方に移動することを利用したり、蛍光灯特有のフリッカーを利用したりすることで除外が可能としている。   Further, when detecting headlights and tail lamps, there is a problem of contamination of noise light spots other than vehicles such as traffic lights, reflectors, street lights, and vending machines. In applications such as light distribution control, ACC, and pre-crash safety, it is important to detect the vehicle, and the rest must be excluded as noise. However, if such a noise light spot is mixed, it may be mistakenly recognized as a vehicle, which will seriously affect the behavior of the application. As a method for eliminating the influence of these noise lights, a method for excluding street lamps has been proposed (for example, Patent Document 1). In this method, the feature of the light spot of the streetlight is used to differentiate it from the headlight and tail lamp. That is, it can be excluded by using the fact that the light spot moves upward on the screen as the vehicle continues to travel, or by using flicker specific to fluorescent lamps.

特表2001−519744号Special table 2001-519744

しかしながら、通常のNTSCカメラを用いる場合、蛍光灯のフリッカーを利用した方法は現実的でなく、蛍光灯でない信号機には意味をなさない。また、単に上方に移動するものであればバスなどの高い位置に設置されたテールランプも同様の動きをするため、それらとの切り分けが難しいという問題がある。   However, when a normal NTSC camera is used, a method using a flicker of a fluorescent lamp is not practical and does not make sense for a traffic light that is not a fluorescent lamp. In addition, if the tail lamp is simply moved upward, the tail lamp installed at a high position such as a bus moves in the same manner, so that there is a problem that it is difficult to separate it from them.

本発明は、カメラ1台で、近傍のヘッドライトから遠方のテールランプまで高精度に光点の位置を特定できる高精度でかつ安価な画像処理システムを提供する。また、ヘッドライトやテールライトと、信号機や街灯、自動販売機などのノイズ光を識別して、夜間の車両検知性能を高め、より高度な機能を提供することを目的としている。   The present invention provides a highly accurate and inexpensive image processing system that can identify the position of a light spot with high accuracy from a nearby headlight to a distant tail lamp with a single camera. In addition, it aims to identify noise light from headlights and taillights, traffic lights, street lights, vending machines, etc., to improve vehicle detection performance at night and to provide more advanced functions.

本発明では、車両に搭載された1台のカメラ(撮像手段)が撮影した画像を解析する画像解析手段を備え、画像解析手段でカメラが撮影した2つ以上の露光量の異なる画像を解析して前方を走行する他の車両の位置を検知する。検知した他車両の位置情報は、車両制御のために用いる。   In the present invention, image analysis means for analyzing an image taken by one camera (imaging means) mounted on a vehicle is provided, and two or more images with different exposure amounts taken by the camera are analyzed by the image analysis means. To detect the position of another vehicle traveling ahead. The detected position information of the other vehicle is used for vehicle control.

本発明では、露光量を変えながら複数の画像を撮像することで、ダイナミックレンジの小さい撮像素子においても高精度な光の検出ができ、安価な画像処理システムを構築できる。更に本発明では、ノイズ光の影響をより削減することが可能であり、カメラによる夜間の車両検知を必要とするアプリケーションの高度化に役立つ。   In the present invention, by capturing a plurality of images while changing the exposure amount, it is possible to detect light with high accuracy even with an image sensor having a small dynamic range, and an inexpensive image processing system can be constructed. Furthermore, in the present invention, the influence of noise light can be further reduced, which is useful for upgrading applications that require night vehicle detection by a camera.

以下、図を用いて本発明の実施例を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、ヘッドライト配光制御を実現する画像処理システムを、自動車などの車両100に搭載した構成を模式的に示した図である。本実施例の画像処理システムは、カメラ(撮像手段)101と画像解析ユニット102を有している。カメラ101は、車両100が走行する前方の画像を撮像できるように、座席のルームミラー(図示せず)付近に設置されている。カメラ101で撮像された車両前方の画像は、画像信号化されて画像解析ユニット102に入力される。画像解析ユニット102は、カメラ101から送信された画像信号を解析し、車両100の前方に存在する他の車両までの距離を算出する。ヘッドライト制御ユニット103は、画像解析ユニット102からの出力信号を受け、画像解析ユニット102が算出した距離値から、ヘッドライト104を制御する制御信号を生成する。ヘッドライト制御ユニット103が生成した制御信号は、ヘッドライト104に送られる。具体的には、ヘッドライト制御ユニット103は、ヘッドライト104のハイビームおよびロービームに負荷する電圧量を算出し、ヘッドライト104に算出された電圧を供給する。   FIG. 1 is a diagram schematically illustrating a configuration in which an image processing system that realizes headlight light distribution control is mounted on a vehicle 100 such as an automobile. The image processing system according to the present exemplary embodiment includes a camera (imaging unit) 101 and an image analysis unit 102. The camera 101 is installed in the vicinity of a seat rear mirror (not shown) so that a front image of the vehicle 100 traveling can be taken. An image in front of the vehicle captured by the camera 101 is converted into an image signal and input to the image analysis unit 102. The image analysis unit 102 analyzes the image signal transmitted from the camera 101 and calculates a distance to another vehicle existing in front of the vehicle 100. The headlight control unit 103 receives an output signal from the image analysis unit 102 and generates a control signal for controlling the headlight 104 from the distance value calculated by the image analysis unit 102. The control signal generated by the headlight control unit 103 is sent to the headlight 104. Specifically, the headlight control unit 103 calculates the amount of voltage applied to the high beam and low beam of the headlight 104 and supplies the calculated voltage to the headlight 104.

なお、ヘッドライト制御ユニット103は、ヘッドライト104のハイビームとロービームの電流量を算出して、ヘッドライト104に供給してもかまわない。また、ヘッドライト104の図示しないフィラメント、あるいはリフレクタ部分を稼動するために、ヘッドライト制御ユニット103から、ヘッドライト104の照射する光軸の角度を制御する信号を、ヘッドライト104に送信しても良い。この制御方法によって、ヘッドライト104の照射する光の光軸を変化させて、ヘッドライト104からの照射距離を制御することができる。   The headlight control unit 103 may calculate the amount of current of the high beam and the low beam of the headlight 104 and supply it to the headlight 104. In addition, in order to operate a filament or reflector portion (not shown) of the headlight 104, a signal for controlling the angle of the optical axis irradiated by the headlight 104 may be transmitted from the headlight control unit 103 to the headlight 104. good. By this control method, it is possible to control the irradiation distance from the headlight 104 by changing the optical axis of the light irradiated by the headlight 104.

図2は、カメラ101と画像解析ユニット102の内部構成を示した模式図である。図3は、カメラ101の内部構成を詳細に示した模式図である。以下、図2と図3を用いてカメラ101と画像解析ユニット102の動作を説明する。   FIG. 2 is a schematic diagram showing the internal configuration of the camera 101 and the image analysis unit 102. FIG. 3 is a schematic diagram showing the internal configuration of the camera 101 in detail. Hereinafter, the operations of the camera 101 and the image analysis unit 102 will be described with reference to FIGS. 2 and 3.

カメラ101は、画像を検知するCCD201とカメラDSP202を有している。CCD201は光を電荷に変換する撮像素子であり、車両前方の映像をアナログ画像信号に変換して、カメラDSP202に転送する。なおカメラ101は、他にもレンズや必要に応じてフィルタ等を有していても良い。   The camera 101 includes a CCD 201 that detects an image and a camera DSP 202. The CCD 201 is an image sensor that converts light into electric charges, converts an image in front of the vehicle into an analog image signal, and transfers it to the camera DSP 202. In addition, the camera 101 may have a lens or a filter as necessary.

カメラDSP202の内部には、ADC303(Analog-Digital Converter)と、露光制御を行うための露光制御ユニット301と、露光時間を設定するためのレジスタ302を備えている。ADC303は、CCD201が画像を検知して出力したアナログ画像信号を、デジタル画像信号に変換し、画像解析ユニット102の画像入力I/F205に送信している。デジタル画像信号は、カメラDSP202より連続的に送信されるが、その先頭には同期信号が含まれている。従って、画像入力I/F205では、必要なタイミングのデジタル画像信号のみを取り込むことができる。画像入力I/F205で取り込まれたデジタル画像信号は、メモリ206に書き込まれ、画像処理ユニット204によって処理や解析が行われる。なお、この処理の詳細については、後述する。一連の処理はFROMに書き込まれたプログラム207によって行われ、画像入力I/F205で画像を取り込ませたり、画像処理ユニット204で画像処理を行わせるための制御および必要な計算は、CPU203が行っている。   The camera DSP 202 includes an ADC 303 (Analog-Digital Converter), an exposure control unit 301 for performing exposure control, and a register 302 for setting an exposure time. The ADC 303 converts an analog image signal output by detecting an image from the CCD 201 into a digital image signal, and transmits the digital image signal to the image input I / F 205 of the image analysis unit 102. The digital image signal is continuously transmitted from the camera DSP 202, and a synchronization signal is included at the head thereof. Therefore, the image input I / F 205 can capture only a digital image signal at a necessary timing. The digital image signal captured by the image input I / F 205 is written into the memory 206 and processed or analyzed by the image processing unit 204. Details of this process will be described later. A series of processing is performed by the program 207 written in the FROM, and the CPU 203 performs control and necessary calculations for causing the image input I / F 205 to capture an image and causing the image processing unit 204 to perform image processing. Yes.

ここでCCD201は、レジスタ302に設定された露光時間で、車両前方の画像を撮像する。レジスタ302は、設定された露光時間を利用者によって任意に書き換え可能である。書き換えられた露光時間は、次フレームあるいは次フィールド以降の撮像時に反映される。   Here, the CCD 201 captures an image in front of the vehicle with the exposure time set in the register 302. The register 302 can arbitrarily rewrite the set exposure time by the user. The rewritten exposure time is reflected at the time of imaging after the next frame or the next field.

設定された露光時間の制御は、カメラDSP202によって行われる。カメラDSP202は、CCD201の電源をオンしている時間を制御し、その結果CCD201に当たる光の量が制限される。この方式は、電子シャッター方式と呼ばれる。露光時間の制御は、電子シャッター方式以外に、メカニカルシャッターを開閉させる方式を用いても実現できる。また、絞り機構を設けて、絞りを調整して露光量を変化させても良い。また、インターレースのように1ラインおきに操作する場合、奇数ラインと偶数ラインで露光量を変化させても良い。   The camera DSP 202 controls the set exposure time. The camera DSP 202 controls the time during which the power of the CCD 201 is turned on, and as a result, the amount of light hitting the CCD 201 is limited. This method is called an electronic shutter method. The control of the exposure time can also be realized by using a system that opens and closes a mechanical shutter in addition to the electronic shutter system. Further, an aperture mechanism may be provided to adjust the aperture to change the exposure amount. Further, when the operation is performed every other line as in the case of interlace, the exposure amount may be changed between the odd-numbered line and the even-numbered line.

図4は、実施例1の処理の流れを表したフローチャートである。S401からS409は、それぞれの処理ステップを示している。まず、各処理ステップの概略について説明する。   FIG. 4 is a flowchart showing the processing flow of the first embodiment. S401 to S409 show the respective processing steps. First, an outline of each processing step will be described.

S401からS404では、カメラ101から高輝度検出用の画像と低輝度検出用の画像を取得し、画像解析ユニット102に転送する処理である。転送される画像データには同期信号が含まれており、CPU203は、同期信号を割り込みタイミングとして画像入出力にかかわる処理を行う。   In steps S401 to S404, high brightness detection images and low brightness detection images are acquired from the camera 101 and transferred to the image analysis unit 102. The transferred image data includes a synchronization signal, and the CPU 203 performs processing related to image input / output using the synchronization signal as an interrupt timing.

S405からS407では、画像データから画像解析ユニット102を用いて、画像中の光点の位置を検出している。   In steps S405 to S407, the position of the light spot in the image is detected using the image analysis unit 102 from the image data.

S408では自車両と前方を走行する他の車両との車間距離を計算し、S409は、最も近い他の車両との車間距離からヘッドライト104に加える目標電圧を算出し、ヘッドライト制御ユニット103によってヘッドライト104にかける電圧を制御している。   In S408, the inter-vehicle distance between the host vehicle and another vehicle traveling ahead is calculated. In S409, the target voltage applied to the headlight 104 is calculated from the inter-vehicle distance with the nearest other vehicle. The voltage applied to the headlight 104 is controlled.

次に、図4及び図5、図6、図7を用いて、各処理ステップの詳細な説明を行う。   Next, each processing step will be described in detail with reference to FIGS. 4, 5, 6, and 7.

S401では、CPU203がレジスタ302を高輝度検出用露光量に設定する。詳述すると、高輝度の光点を検出するために最適な露光時間に設定するものであって、前方の対向車のヘッドライト、または比較的近距離にある先行車両のテールランプの光点を検出するために選ばれる。高輝度の光点を検出するための露光時間は、撮像素子であるCCD201の感度特性にもよるが、1/120秒から1/250秒程度である。   In step S401, the CPU 203 sets the register 302 to the high-luminance detection exposure amount. In detail, it is set to the optimal exposure time to detect high-intensity light spots, and detects the light spot of the headlight of the oncoming vehicle ahead or the taillight of the preceding vehicle at a relatively short distance. Chosen to do. The exposure time for detecting a high-luminance light spot is about 1/120 second to 1/250 second, although it depends on the sensitivity characteristics of the CCD 201 as an image sensor.

図5は、カメラ101によって車両100の前方を撮像した画像の模式図である。図5(a)は、道路を走行する車両100の前方の像を示し、対向車両501及び先行車両502が認識される。図5(a)の状態を、前記高輝度検出用露光時間で撮像した画像が、図5(b)に示す高輝度検出用画像503である。対向車両501のヘッドライトは、輝度が高いために高輝度検出用画像503では光点として写る。しかし、先行車両502のテールランプは、輝度値が低いために、高輝度検出用画像503には写らない。   FIG. 5 is a schematic diagram of an image obtained by capturing the front of the vehicle 100 with the camera 101. FIG. 5A shows an image in front of the vehicle 100 traveling on the road, and the oncoming vehicle 501 and the preceding vehicle 502 are recognized. An image obtained by capturing the state of FIG. 5A with the high brightness detection exposure time is a high brightness detection image 503 shown in FIG. 5B. Since the headlight of the oncoming vehicle 501 has high brightness, it appears as a light spot in the high brightness detection image 503. However, the tail lamp of the preceding vehicle 502 does not appear in the high luminance detection image 503 because the luminance value is low.

S402では、S401で設定した露光時間で撮像したデジタル画像信号を、画像解析ユニット102中の画像入力I/F205が受信したのち、メモリ206に格納する。   In S <b> 402, the digital image signal captured with the exposure time set in S <b> 401 is received by the image input I / F 205 in the image analysis unit 102 and then stored in the memory 206.

S403では、CPU203によって、レジスタ302を低輝度検出用露光量に書き換える。これは、低輝度の光点を検出するために最適な露光時間であって、前方の比較的遠距離にあるテールランプの光点を検出するために選ばれる。そのため露光時間は、S401で設定したものよりも長くなり、1/30秒から1/60秒程度である。図5(a)の状態を低輝度検出用露光時間で撮像した画像が、図5(c)の低輝度検出用画像504である。低輝度検出用画像504は、先行車両502のテールランプの低輝度光点を捉えることができる反面、対向車両501のヘッドライトは高輝度であるため、ブルーミングを起こして周辺の画素まで白く飽和している。   In S403, the CPU 203 rewrites the register 302 with the low-luminance detection exposure amount. This is an optimum exposure time for detecting a low-luminance light spot, and is selected for detecting a light spot of a tail lamp at a relatively long distance ahead. Therefore, the exposure time is longer than that set in S401, and is about 1/30 second to 1/60 second. An image obtained by capturing the state of FIG. 5A with the low-luminance detection exposure time is the low-luminance detection image 504 of FIG. The low luminance detection image 504 can capture the low luminance light spot of the tail lamp of the preceding vehicle 502, but the headlight of the oncoming vehicle 501 has high luminance. Yes.

S404では、S402と同様にS403で設定した露光時間で撮像したデジタル画像信号を、画像入力I/F205が受信し、メモリ206に格納する。   In S <b> 404, as in S <b> 402, the digital image signal captured with the exposure time set in S <b> 403 is received by the image input I / F 205 and stored in the memory 206.

S405〜S407では、カメラ101から取得した画像を解析して光点の位置を求める。S405〜S407の処理は、CPU203と画像処理ユニット204によって行われる。S405〜S407に関する一連の処理を、図6、図7を用いて説明する。   In S405 to S407, the image acquired from the camera 101 is analyzed to determine the position of the light spot. The processing of S405 to S407 is performed by the CPU 203 and the image processing unit 204. A series of processing relating to S405 to S407 will be described with reference to FIGS.

S405は、高輝度検出用画像503を用いて、図6(a)に示す高輝度光点601の位置検出を行っている。光点の位置検出方法については、後述する。高輝度光点601の位置が求まったら、S406〜S407で、図6(b)に示す低輝度検出用画像504を用いて低輝度光点の位置検出を行う。ここで、低輝度検出用画像504には、高輝度の光点も含まれており、前述したようにブルーミングを起こすことがある。ただし、高輝度光点601の位置が含まれる光点のブルーミング領域603は、高輝度検出用画像503ですでに求めている。   In S405, the position of the high brightness light spot 601 shown in FIG. 6A is detected using the high brightness detection image 503. A method for detecting the position of the light spot will be described later. When the position of the high-luminance light spot 601 is obtained, the position of the low-luminance light spot is detected using the low-luminance detection image 504 shown in FIG. 6B in S406 to S407. Here, the low-luminance detection image 504 also includes a high-luminance light spot, and may cause blooming as described above. However, the blooming region 603 of the light spot including the position of the high brightness light spot 601 has already been obtained from the high brightness detection image 503.

そこでS406では、図6(b)に示すように低輝度検出用画像504で高輝度点の二重検出を防ぐためにマスキングを行っている。ここで、日本の道路のように自動車などの車両が左側通行である場合は、対向車両が画像面の右側に位置し、対向車両のヘッドライトよりも画像面の右側に先行車両のテールランプが位置することは考えにくい。そこで、マスキング領域604は、図6(b)のようにブルーミング領域603から画像面の右側すべてとする。自動車などの車両が道路右側通行の場合は、反対にブルーミング領域から画像面の左側すべてをマスキングすることになる。   Therefore, in S406, masking is performed to prevent double detection of high luminance points in the low luminance detection image 504 as shown in FIG. 6B. Here, when a vehicle such as an automobile is on the left side like a Japanese road, the oncoming vehicle is located on the right side of the image plane, and the tail lamp of the preceding vehicle is located on the right side of the image plane with respect to the headlight of the oncoming vehicle. It's hard to think. Therefore, the masking area 604 is all on the right side of the image plane from the blooming area 603 as shown in FIG. When a vehicle such as an automobile is on the right side of the road, the entire left side of the image plane is masked from the blooming area.

続いてS407では、マスキング領域604以外の領域で、低輝度光点602の位置を算出している。   Subsequently, in S407, the position of the low-intensity light spot 602 is calculated in an area other than the masking area 604.

次に、高輝度光点と低輝度光点の位置の検出方法について図7を用いて説明する。ここで、図7(a)は高輝度検出用画像503、図7(b)は低輝度検出用画像504を示している。光点は、輝度値が高いため画像上での濃度値が高く白く写る。濃度値は8ビットで示される。即ち、0から255までの256段階で表現される。高輝度の光点付近の濃度値は255に近く、それ以外の領域の濃度値は0に近い。そこで、まず高輝度点を検出するため、図7(a)のようにY座標が等しい画素の濃度値をすべてY軸に累積しながら投影する。この投影分布をY軸の濃度投影分布と呼ぶこととする。図7(a)のようにY軸濃度投影分布には車両1台につき、Y座標軸に1つの山が現れる。この山の頂点を求めることで、光点のY座標を求めることができる。更に、Y軸濃度投影分布で検出された山の裾野を上端下端とした光点存在帯701に限定して、X軸濃度投影分布を求める。通常の自動車などの車両は、左右にヘッドライトがあることからX座標軸に2つの山が現れる。ただし、片側複数の車線がある路線では、車両が2台以上並ぶこともあり、2つ以上の山が現れる場合もある。また、車両がオートバイなどの2輪車である場合、ヘッドライトは1つであるため、X座標軸には1つしか山が現れない。低輝度光点の場合も、高輝度光点と同様にして座標軸上の位置を算出することができる。図7(b)のようにマスキング領域604を除外した領域で、図7(a)の場合と同様にY軸濃度投影分布を求め、帯状領域でX軸投影を求める。   Next, a method for detecting the positions of the high brightness light spot and the low brightness light spot will be described with reference to FIG. Here, FIG. 7A shows a high brightness detection image 503 and FIG. 7B shows a low brightness detection image 504. Since the light spot has a high luminance value, the density value on the image is high and appears white. The density value is indicated by 8 bits. That is, it is expressed in 256 levels from 0 to 255. The density value in the vicinity of the high brightness light spot is close to 255, and the density values in the other areas are close to 0. Therefore, in order to detect a high luminance point first, as shown in FIG. 7A, all density values of pixels having the same Y coordinate are projected while being accumulated on the Y axis. This projection distribution is called a Y-axis density projection distribution. As shown in FIG. 7A, one peak appears on the Y coordinate axis for each vehicle in the Y-axis density projection distribution. By obtaining the peak of this mountain, the Y coordinate of the light spot can be obtained. Further, the X-axis density projection distribution is obtained by limiting to the light spot existence band 701 having the peaks detected in the Y-axis density projection distribution as the upper and lower ends. In a vehicle such as a normal automobile, there are two lights on the X coordinate axis because there are headlights on the left and right. However, on a route having a plurality of lanes on one side, two or more vehicles may be arranged, and two or more mountains may appear. Further, when the vehicle is a two-wheeled vehicle such as a motorcycle, since there is one headlight, only one mountain appears on the X coordinate axis. In the case of a low-luminance light spot, the position on the coordinate axis can be calculated in the same manner as the high-luminance light spot. In the area excluding the masking area 604 as shown in FIG. 7B, the Y-axis density projection distribution is obtained in the same manner as in FIG. 7A, and the X-axis projection is obtained in the band-like area.

通常、自動車などの4輪車両の場合は、テールランプやヘッドライトの光点が2つとなり、2つの光点を検出すればよい。しかしながら4灯テールランプ等の車両も存在し、例え先行車両が1台であってもX軸濃度投影分布に4つの山ができることがある。このような場合は、先行車両が、1台か2台か判断しにくい。そこで、本発明の実施例では、前記のような4灯テールランプの車両において、山が4つ以上現れた場合は、テールランプが車両中心から左右対称であることを利用し、山のX軸の幅や位置を解析することとする。前記解析結果から、先行車両が、4灯テールランプの車両か、それとも2灯テールランプの車両が2台存在するのかを判断できる。   Usually, in the case of a four-wheeled vehicle such as an automobile, there are two light spots of the tail lamp and the headlight, and two light spots may be detected. However, there are vehicles such as four-light tail lamps, and there are cases where four peaks are formed in the X-axis density projection distribution even if there is one preceding vehicle. In such a case, it is difficult to determine whether the preceding vehicle is one or two. Therefore, in the embodiment of the present invention, when four or more peaks appear in the vehicle having the four-light tail lamp as described above, the width of the X axis of the mountain is utilized by utilizing the fact that the tail lamp is symmetrical from the vehicle center. And the position will be analyzed. From the analysis result, it can be determined whether the preceding vehicle is a vehicle with a four-light tail lamp or two vehicles with a two-light tail lamp.

輝度点の位置が求まったら、続いて図4のS408で車間距離の計算を行う。対向車両もしくは先行車両が4輪車であれば、ヘッドライトあるいはテールランプから車幅を求めることができる。この場合、カメラ101を用いてヘッドランプあるいはテールランプの画角を測定し、画角情報があれば三角測量の原理で、自車両と対向車両または先行車両との車間距離を求めることができる。ただし、対向車両もしくは先行車両が2輪車の場合は、ランプが1つしかないので、上記方式で車幅を求めることはできない。そこで、2輪車のように光点が1つの場合は、自車両に設置したカメラの路面からの高さを利用して俯角による測距を行うこととする。すなわち、2輪車のランプの路面からの高さよりも、自車両に設置したカメラの路面からの高さの方が高いことを利用することで、三角測量を用いた車間距離測定を行うことができる。対向車両もしくは先行車両が4輪車の場合は、バスやトラック等、自車両に設置したカメラの路面からの高さよりも高い位置にヘッドライトあるいはテールランプを備えている車両もある。この場合には、俯角による車間距離の測定ができない。従って、前述のランプ幅情報を用いた車間距離の測定を行うこととする。   When the position of the luminance point is obtained, the inter-vehicle distance is subsequently calculated in S408 of FIG. If the oncoming vehicle or the preceding vehicle is a four-wheeled vehicle, the vehicle width can be obtained from the headlight or tail lamp. In this case, the angle of view of the headlamp or tail lamp is measured using the camera 101, and if there is angle of view information, the inter-vehicle distance between the host vehicle and the oncoming vehicle or the preceding vehicle can be obtained by the principle of triangulation. However, when the oncoming vehicle or the preceding vehicle is a two-wheeled vehicle, there is only one ramp, so the vehicle width cannot be obtained by the above method. Therefore, when there is one light spot as in a two-wheeled vehicle, distance measurement using a depression angle is performed using the height of the camera installed on the host vehicle from the road surface. That is, by using the fact that the height from the road surface of the camera installed on the own vehicle is higher than the height from the road surface of the ramp of the two-wheeled vehicle, it is possible to perform inter-vehicle distance measurement using triangulation. it can. When the oncoming vehicle or the preceding vehicle is a four-wheeled vehicle, some vehicles have a headlight or a tail lamp at a position higher than the height from the road surface of a camera installed on the own vehicle such as a bus or a truck. In this case, the inter-vehicle distance cannot be measured by the depression angle. Therefore, the inter-vehicle distance is measured using the aforementioned lamp width information.

三角測量で距離を求める方法を図16、17を用いて説明する。まず、車両幅情報から距離を求める場合、図16に示す原理で測距を行う。先行車両1603の実際の車両幅W、カメラの焦点距離f、CCD1602面に映し出された画像中の車両幅wとすると、カメラから車両1603までの距離Lは
L=Wf/w
と表せる。ここで実際の車両幅Wは未知であるため例えば平均的な1.7mと仮定することで距離が求まる。
A method for obtaining the distance by triangulation will be described with reference to FIGS. First, when obtaining the distance from the vehicle width information, the distance is measured according to the principle shown in FIG. Assuming that the actual vehicle width W of the preceding vehicle 1603, the focal length f of the camera, and the vehicle width w in the image displayed on the CCD 1602, the distance L from the camera to the vehicle 1603 is
L = Wf / w
It can be expressed. Here, since the actual vehicle width W is unknown, the distance can be obtained by assuming an average of 1.7 m, for example.

次に、俯角情報を用いて距離を求める場合について図17を用いて説明する。先行車両のテールランプ1703の路面からの高さをhl、カメラの焦点距離f、CCD1702面に映し出された画像中の座標yとすると、カメラから先行車両までの距離Lは
L=(hc−hl)×f/y
と表せる。ここで、実際の先行車両のテールランプ1703の路面からの高さhlは未知であるため例えば80cmと仮定する必要がある。ただし、この値は車両による個体差が大きく、とくにカメラの光軸よりも高い、すなわち、カメラの路面からの高さhcがテールランプの路面からのhlよりも低い場合は距離が求まらない。そのため、オートバイなどの二輪車に使用する程度にして、主に図16のように車両幅を用いて距離を出すようにした方がよい。
Next, the case of obtaining the distance using the depression angle information will be described with reference to FIG. If the height from the road surface of the tail lamp 1703 of the preceding vehicle is hl, the focal length f of the camera, and the coordinate y in the image displayed on the CCD 1702 surface, the distance L from the camera to the preceding vehicle is
L = (hc−hl) × f / y
It can be expressed. Here, since the height hl from the road surface of the tail lamp 1703 of the actual preceding vehicle is unknown, it is necessary to assume, for example, 80 cm. However, this value has a large individual difference depending on the vehicle. In particular, when the height hc from the road surface of the camera is lower than hl from the road surface of the tail lamp, the distance cannot be obtained. For this reason, it is better to use a vehicle width as shown in FIG.

ここで、4輪車でも自車両から遠方に離れてしまうと、画像解像度などによりヘッドライトあるいはテールランプなどの左右2つの光点が切り分けられないこともある。例えば、4輪車の車幅が1。7m であって、レンズ画角が28度、水平解像度640、CCD横サイズ5mm、焦点距離10mmのカメラを用いた場合、300m遠方での車幅はおよそ7画素程度となる。このとき左右2つの光点の切り分けができず、ランプ間隔による側距方式が俯角による測距方式に切り替わる。このとき距離の整合性が取れなくなり、結果として急激に距離が変化して見えることがある。すなわち2種類の測距方式が違うことで、その誤差が悪影響を及ぼすことがある。このような課題に関しては、4輪車も前述した2通りの測距方式で車間距離を計算し、そのうち距離の近いほうを採用することで誤差を軽減することができる。   Here, even in a four-wheeled vehicle, if the vehicle is far away from the host vehicle, the two right and left light spots such as a headlight or a tail lamp may not be separated depending on the image resolution. For example, if a four-wheeled vehicle has a vehicle width of 1.7 m, a lens angle of view of 28 degrees, a horizontal resolution of 640, a CCD horizontal size of 5 mm, and a focal length of 10 mm, the vehicle width at a distance of 300 m is approximately It becomes about 7 pixels. At this time, the two right and left light spots cannot be separated, and the lateral distance method based on the lamp interval is switched to the distance measuring method based on the depression angle. At this time, distance consistency may not be achieved, and as a result, the distance may change suddenly. In other words, the difference between the two types of distance measurement methods can have an adverse effect on the error. Regarding such a problem, a four-wheeled vehicle can also reduce the error by calculating the inter-vehicle distance by the above-described two distance measuring methods and adopting the closest one of the distances.

図4のS409では、S408で求まった車間距離のうち最も近い値を基準にしてヘッドライトの配光制御を行っている。CPU203は、最も小さな車間距離の値からヘッドライトのロービームおよびハイビームに負荷する電圧を算出し、ヘッドライト制御ユニット103に送信する。ヘッドライト制御ユニット103は、送られてきた各電圧値をヘッドライトのロービームおよびハイビームのフィラメントに負荷する。ここで、最も近い車両との距離が80m以下であればロービームのみに電圧をかけ、それから距離が大きくなるにつれて徐々にロービームの電圧を落としながらハイビームに電圧を上昇させる。400m以上離れていればハイビームのみに電圧をかけることとする。   In S409 of FIG. 4, headlight light distribution control is performed based on the closest value among the inter-vehicle distances determined in S408. The CPU 203 calculates the voltage applied to the low beam and high beam of the headlight from the smallest inter-vehicle distance value, and transmits it to the headlight control unit 103. The headlight control unit 103 loads the transmitted voltage values on the low beam and high beam filaments of the headlight. Here, if the distance to the nearest vehicle is 80 m or less, a voltage is applied only to the low beam, and then the voltage is increased to the high beam while gradually decreasing the low beam voltage as the distance increases. If the distance is 400 m or more, voltage is applied only to the high beam.

次に、撮像素子であるCCD201にカラーCCDを用いた場合の実施例2の処理について説明する。図8はカラーカメラを用いた実施例2の処理のフローチャートである。S801からS809は、それぞれの処理ステップを示している。まず、各処理ステップの概略について説明する。   Next, a process according to the second embodiment in the case where a color CCD is used for the CCD 201 serving as an image sensor will be described. FIG. 8 is a flowchart of the process of the second embodiment using a color camera. S801 to S809 show the respective processing steps. First, an outline of each processing step will be described.

S801からS804では、カメラ101から高輝度検出用の画像と低輝度検出用の画像を取得し、画像解析ユニット102に転送する処理である。転送される画像データには同期信号が含まれており、CPU203は、同期信号を割り込みタイミングとして画像入出力にかかわる処理を行う。S805、S806では、画像データから画像解析ユニット102を用いて、画像中の光点の位置を検出している。S807では自車両と前方を走行する他の車両との車間距離を計算し、S808は、最も近い他の車両との車間距離からヘッドライト104に加える目標電圧を算出し、ヘッドライト制御ユニット103によってヘッドライト104にかける電圧を制御している。   In steps S <b> 801 to S <b> 804, a high-luminance detection image and a low-luminance detection image are acquired from the camera 101 and transferred to the image analysis unit 102. The transferred image data includes a synchronization signal, and the CPU 203 performs processing related to image input / output using the synchronization signal as an interrupt timing. In S805 and S806, the position of the light spot in the image is detected using the image analysis unit 102 from the image data. In S807, the inter-vehicle distance between the host vehicle and another vehicle traveling ahead is calculated. In S808, the target voltage applied to the headlight 104 is calculated from the inter-vehicle distance with the nearest other vehicle, and the headlight control unit 103 The voltage applied to the headlight 104 is controlled.

次に、図8及び図9、図10、図11を用いて、各処理ステップの詳細な説明を行う。   Next, each processing step will be described in detail with reference to FIGS. 8, 9, 10, and 11.

S801では、CPU203がレジスタ302を高輝度検出用露光量に設定する。実施例1同様、高輝度の光点を検出するために最適な露光時間に設定するものであって、前方の対向車のヘッドライト、または比較的近距離にある先行車両のテールランプの光点を検出するために選ばれる。高輝度の光点を検出するための露光時間は、撮像素子であるCCD201の感度特性にもよるが、1/120秒から1/250秒程度である。   In step S801, the CPU 203 sets the register 302 to the high-luminance detection exposure amount. As in the first embodiment, the optimum exposure time is set for detecting a high-luminance light spot, and the light spot of the headlight of an oncoming vehicle ahead or the taillight of a preceding vehicle at a relatively short distance is set. Selected to detect. The exposure time for detecting a high-luminance light spot is about 1/120 second to 1/250 second, although it depends on the sensitivity characteristics of the CCD 201 as an image sensor.

図9は、カメラ101によって車両100の前方を撮像した画像の模式図である。図9(a)は、道路を走行する車両100の前方の像を示し、対向車両901及び先行車両902が認識される。図9(a)の状態を、前記高輝度検出用露光時間で撮像した画像が、図9(b)に示す高輝度検出用画像903である。対向車両901のヘッドライトは、輝度が高いために高輝度検出用画像903では光点として写る。しかし、先行車両502のテールランプは、輝度値が低いために、高輝度検出用画像903には写らない。   FIG. 9 is a schematic diagram of an image obtained by capturing the front of the vehicle 100 with the camera 101. FIG. 9A shows an image in front of the vehicle 100 traveling on the road, and the oncoming vehicle 901 and the preceding vehicle 902 are recognized. An image obtained by capturing the state of FIG. 9A with the high brightness detection exposure time is a high brightness detection image 903 shown in FIG. 9B. Since the headlight of the oncoming vehicle 901 has high luminance, it appears as a light spot in the high luminance detection image 903. However, the tail lamp of the preceding vehicle 502 does not appear in the high luminance detection image 903 because the luminance value is low.

S802は、S801で設定した露光時間で撮像したデジタル画像信号を、画像解析ユニット102中の画像入力I/F205が受信したのち、メモリ206に格納する。   In step S <b> 802, after the image input I / F 205 in the image analysis unit 102 receives the digital image signal captured with the exposure time set in step S <b> 801, the digital image signal is stored in the memory 206.

S803は、CPU203によって、レジスタ302を低輝度検出用露光量に書き換える。これは、低輝度の光点を検出するために最適な露光時間であって、前方の比較的遠距離にあるテールランプの光点を検出するために選ばれる。そのため露光時間は、S801で設定したものよりも長くなり、1/30秒から1/60秒程度である。図9(a)の状態を低輝度検出用露光時間で撮像した画像が、図9(c)の低輝度検出用画像904である。低輝度検出用画像904は、先行車両902のテールランプの低輝度光点を捉えることができる反面、対向車両901のヘッドライトは高輝度であるため、実施例1と同様に、ブルーミングを起こして周辺の画素まで白く飽和することがある。   In step S <b> 803, the CPU 203 rewrites the register 302 with a low-luminance detection exposure amount. This is an optimum exposure time for detecting a low-luminance light spot, and is selected for detecting a light spot of a tail lamp at a relatively long distance ahead. Therefore, the exposure time is longer than that set in S801 and is about 1/30 second to 1/60 second. An image obtained by capturing the state of FIG. 9A with the low luminance detection exposure time is a low luminance detection image 904 of FIG. 9C. The low luminance detection image 904 can capture the low luminance light spot of the tail lamp of the preceding vehicle 902, but the headlight of the oncoming vehicle 901 has high luminance. May be saturated white.

S804では、S802と同様にS803で設定した露光時間で撮像したデジタル画像信号を、画像入力I/F205が受信し、メモリ206に格納する。   In step S <b> 804, the image input I / F 205 receives the digital image signal captured with the exposure time set in step S <b> 803 and stores it in the memory 206 as in step S <b> 802.

S805、S806では、カメラ101から取得した画像を解析して光点の位置を求めている。S805、S806の処理は、CPU203と画像処理ユニット204によって行われる。S805、S806に関する一連の処理を、図10、図11を用いて説明する。   In S805 and S806, the image acquired from the camera 101 is analyzed to determine the position of the light spot. The processes in S805 and S806 are performed by the CPU 203 and the image processing unit 204. A series of processing relating to S805 and S806 will be described with reference to FIGS.

S805は、高輝度検出用画像903を用いて、図10(a)に示す高輝度光点1001の位置検出を行っている。光点の位置検出方法については後述する。高輝度光点1001の位置が求まったら、S806で、図9(c)に示す低輝度検出用画像904を用いて低輝度光点の位置検出を行う。ここで、低輝度検出用画像904には、高輝度の光点も含まれており、前述したようにブルーミングを起こすことがある。ここで、実施例2は実施例1とは異なり色情報を用いることができるため、低輝度検出用画像904のなかでテールランプの色である赤色の部分のみを抽出することが可能である。   In step S805, the position of the high brightness light spot 1001 shown in FIG. 10A is detected using the high brightness detection image 903. A method for detecting the position of the light spot will be described later. When the position of the high brightness light spot 1001 is obtained, the position of the low brightness light spot is detected using the low brightness detection image 904 shown in FIG. 9C in S806. Here, the low-luminance detection image 904 also includes a high-luminance light spot, and may cause blooming as described above. Here, since the color information can be used in the second embodiment, unlike the first embodiment, it is possible to extract only the red portion which is the color of the tail lamp in the low luminance detection image 904.

次に、高輝度光点と低輝度光点の位置の検出方法について図11を用いて説明する。ここで、図11(a)は高輝度検出用画像903、図11(b)は低輝度検出用画像904を示している。光点は、輝度値が高いため画像上での濃度値が高く白く写る。濃度値は8ビットで示される。即ち、0から255までの256段階で表現される。高輝度の光点付近の濃度値は255に近く、それ以外の領域の濃度値は0に近い。そこで、まず高輝度点を検出するため、図11(a)のようにY座標が等しい画素の濃度値をすべてY軸に累積しながら投影する。この投影分布をY軸の濃度投影分布と呼ぶこととする。図11(a)のようにY軸濃度投影分布には車両1台につき、Y座標軸に1つの山が現れる。この山の頂点を求めることで、光点のY座標を求めることができる。更に、Y軸濃度投影分布で検出された山の裾野を上端下端とした光点存在帯1101に限定して、X軸濃度投影分布を求める。   Next, a method for detecting the positions of the high brightness light spot and the low brightness light spot will be described with reference to FIG. Here, FIG. 11A shows a high luminance detection image 903, and FIG. 11B shows a low luminance detection image 904. Since the light spot has a high luminance value, the density value on the image is high and appears white. The density value is indicated by 8 bits. That is, it is expressed in 256 levels from 0 to 255. The density value in the vicinity of the high brightness light spot is close to 255, and the density values in the other areas are close to 0. Therefore, in order to detect a high luminance point, as shown in FIG. 11A, all density values of pixels having the same Y coordinate are projected while being accumulated on the Y axis. This projection distribution is called a Y-axis density projection distribution. As shown in FIG. 11A, one peak appears on the Y coordinate axis for each vehicle in the Y-axis density projection distribution. By obtaining the peak of this mountain, the Y coordinate of the light spot can be obtained. Further, the X-axis density projection distribution is obtained by limiting to the light spot existence band 1101 having the peaks detected in the Y-axis density projection distribution as the upper and lower ends.

低輝度光点の場合は、高輝度光点と同様にして座標軸上の位置を算出することができる。カラー画像については様々な表色系の規格が存在し、どの表色系でも本実施例は実現可能であるが、ここでは一般的なYUV表色系で説明する。YUV画像は、濃度情報に対応するY画像と色情報をもつUV画像の2画面で構成される規格である。このうちUV画像は2次元のカラーマップを表しており、色の基本情報である色相、彩度情報を取り出すことが可能である。すなわち、YUVのカラー画像を処理すると赤色部分のみを抽出することができる。この事を利用し、低輝度検出用画像901では、実施例1のようにマスキングされた画像から高輝度部分を抽出するのではなく、全領域から赤色成分をもつ高輝度部分のみ抽出する。赤色成分を持つ高輝度部分は図10(b)のようになる。すなわち、赤色成分をもつ高輝度部分のみを抽出することにより、マスキング処理が必要なくテールランプ領域のみを抽出することが可能となる。光点の検知方法は図11(a)の場合と同様にY軸濃度投影分布を求め、帯状領域でX軸投影を求める。   In the case of a low-luminance light spot, the position on the coordinate axis can be calculated in the same manner as the high-luminance light spot. There are various color system standards for color images, and this embodiment can be realized with any color system, but here, a general YUV color system will be described. The YUV image is a standard composed of two screens of a Y image corresponding to density information and a UV image having color information. Among these, the UV image represents a two-dimensional color map, and it is possible to extract hue and saturation information, which are basic color information. That is, when a YUV color image is processed, only a red portion can be extracted. By utilizing this fact, in the low-luminance detection image 901, not the high-luminance portion is extracted from the masked image as in the first embodiment, but only the high-luminance portion having the red component is extracted from the entire region. The high luminance part having a red component is as shown in FIG. That is, by extracting only the high-luminance portion having the red component, it is possible to extract only the tail lamp region without the need for masking processing. In the light spot detection method, the Y-axis density projection distribution is obtained in the same manner as in FIG.

ステップS807、S808については、実施例1のステップS408、S409と等価な処理であるため説明を省く。   Since steps S807 and S808 are equivalent to steps S408 and S409 of the first embodiment, description thereof will be omitted.

次に、夜間の走行路における、車両以外の様々な光源の識別方法について述べる。車両以外の光源は、画像処理システムにおいてノイズとなる場合が多い。このため、画像処理システムでは、カメラ101が捉えた光源を、車両のランプと、ノイズ光源に区別する必要がある。そこで、カメラ101としてカラーカメラを用いた場合のノイズ光源除外方法について、以下説明する。   Next, a method for identifying various light sources other than vehicles on a night road will be described. Light sources other than vehicles often become noise in the image processing system. For this reason, in the image processing system, it is necessary to distinguish the light source captured by the camera 101 into a vehicle lamp and a noise light source. Accordingly, a noise light source exclusion method when a color camera is used as the camera 101 will be described below.

最も走行路に近くかつ明るいノイズ光源としては、道路わきに設置されたリフレクタが上げられる。リフレクタは、自車両のヘッドライトの反射であるため、近い場合には先行車のテールランプよりも輝度が高くなることがある。高輝度検出用画像903に写ることはまれであるが、低輝度検出用画像904には写る可能性が高い。この問題に関しては、色情報を用いて解決できる。一般に道路左側に設置されたリフレクタは白色、道路右側に設置されたリフレクタはオレンジ色に反射する。すなわち、低輝度検出用画像904から光点を検出する場合、赤色光点、すなわち赤色の領域のみを検出してそれ以外の色の低輝度光点はすべて除外する。   As the brightest noise light source closest to the traveling road, a reflector installed on the side of the road is raised. Since the reflector is a reflection of the headlight of the host vehicle, the brightness may be higher than the tail lamp of the preceding vehicle when close. Although it is rare to appear in the high-intensity detection image 903, it is highly likely to appear in the low-intensity detection image 904. This problem can be solved using color information. In general, a reflector installed on the left side of the road reflects white, and a reflector installed on the right side of the road reflects orange. That is, when detecting a light spot from the low brightness detection image 904, only a red light spot, that is, a red region is detected, and all low brightness light spots of other colors are excluded.

次に問題となるのが信号機である。信号機は視認性を確保するため、一般に図12(b)のように2基並んで設置されている。そのため、400m〜500m離れた地点での信号機2基1202を、100m程度前方の比較的高い位置に設置されたバスなどのテールランプ1201と混同することがある。これは、カメラで撮像した際に、信号機1202もバスのテールランプ1201も、どちらも図12(c)の光点1203のように同様に写るからである。この信号機の輝度は一般に高く、高輝度検出用画像903に写る。そこで、青信号、黄色信号の場合のみ、カラー情報を用いて高輝度検出用画像903内にある青もしくは黄色の高輝度光点は除外する。   Next is the traffic light. In order to ensure visibility, two traffic lights are generally installed side by side as shown in FIG. For this reason, the two traffic lights 1202 at a point 400 m to 500 m away may be confused with a tail lamp 1201 such as a bus installed at a relatively high position about 100 m ahead. This is because both the traffic light 1202 and the tail lamp 1201 of the bus appear in the same manner as the light spot 1203 in FIG. The brightness of this traffic light is generally high and appears in the high brightness detection image 903. Therefore, only in the case of a blue signal and a yellow signal, blue or yellow high luminance light spots in the high luminance detection image 903 are excluded using color information.

CCD201に赤色フィルタを設置してもよい。この場合、輝度の低い車両のテールランプの光量を落とさずに他のノイズ光源の輝度を落とすことができる。   You may install a red filter in CCD201. In this case, the brightness of the other noise light source can be reduced without reducing the amount of light of the tail lamp of the low-luminance vehicle.

一般的には上記の手法で大部分のノイズ光が除外できる。ただし、ノイズ光はできるだけ除外できていた方がアプリケーションの動作安定につながる。そのため、いくつかの手法を組み合わせてより多くのノイズ光を取り除く手段を組み込んだ方がよい。以下に本発明となるノイズ光除去手法を詳述する。   In general, most of the noise light can be excluded by the above method. However, if noise light can be excluded as much as possible, it will lead to stable operation of the application. Therefore, it is better to incorporate means for removing more noise light by combining several methods. The noise light removal method according to the present invention will be described in detail below.

まず初めに、赤信号の除去について説明する。赤信号の場合、高輝度検出用画像903で除外したとしても、低輝度検出用画像904に赤色光点として写りこむため、基本的にはテールランプと誤認識してしまう。赤信号の誤認識は、前述のように400m〜500m離れた地点での信号機2基を、100m程度前方の比較的高い位置に設置されたバスなどの車両灯と混同することである。ここで、比較的高いとは、具体的には消失点1801よりも高い位置にある光点を指している。消失点とは図18に図示するようにすべてのレーンマークが集中する点であり、カメラの光軸と一致する。すなわち、バスなどのように自車のカメラの取付高よりも高い位置に設置されたテールランプは、信号機と同様に消失点よりも高い位置に写るため識別が難しくなる。この場合、バスと信号機の違いを検知できれば区別が可能になる。   First, the removal of a red signal will be described. In the case of a red signal, even if it is excluded from the high-intensity detection image 903, it is reflected as a red light spot in the low-intensity detection image 904. As described above, the erroneous recognition of a red signal is to confuse two traffic lights at a point 400 m to 500 m away with a vehicle light such as a bus installed at a relatively high position about 100 m ahead. Here, “relatively high” specifically refers to a light spot at a position higher than the vanishing point 1801. The vanishing point is a point where all lane marks are concentrated as shown in FIG. 18 and coincides with the optical axis of the camera. In other words, a tail lamp installed at a position higher than the mounting height of the vehicle's camera, such as a bus, is located at a position higher than the vanishing point as in the case of a traffic light, making it difficult to identify. In this case, if the difference between the bus and the traffic signal can be detected, the distinction can be made.

例えば図13(a)のようにバス1301が100m以内と比較的近傍に存在するのであれば、低輝度検出用画像1305にはテールランプ1302以外にもテールランプの下方ナンバープレート光1303あるいは客室の明かり1304が写りこむ。これらの光点の位置関係はおおむね図13(b)のようになっているため、テールランプ1302以外の光の配置を解析することで、遠方の赤信号なのか近傍のバスなどの車両なのかを識別することが可能となる。すなわち、消失点よりも高い位置に赤色光点1302が抽出されたとき、同時に当該赤色光点1302の上及び/又は下にも他の光点1303、1304が抽出されれば、抽出された赤色光点1302は他車両に起因する光点であると判定できる。ここで、上あるいは下の光点とは、x座標が2つの当該赤色光点1302を左右端とした範囲内の光点のみを指すものとし、2つの当該赤色光点1302の範囲外のx座標を持ついわゆる斜め方向の光点は含めない。例えば図13(d)のヘッドランプ光点1309は赤色光点1308の下とみなし、ヘッドランプ光点1310は赤色光点1308の下とはみなさない。   For example, as shown in FIG. 13A, if the bus 1301 exists relatively close to 100 m or less, the low brightness detection image 1305 includes the lower license plate light 1303 of the tail lamp 1303 or the guest room light 1304 in addition to the tail lamp 1302. Is reflected. Since the positional relationship of these light spots is generally as shown in FIG. 13B, by analyzing the arrangement of the light other than the tail lamp 1302, it is possible to determine whether it is a far red signal or a vehicle such as a nearby bus. It becomes possible to identify. That is, when a red light spot 1302 is extracted at a position higher than the vanishing point, if another light spot 1303, 1304 is also extracted above and / or below the red light spot 1302, the extracted red color It is possible to determine that the light spot 1302 is a light spot caused by another vehicle. Here, the upper or lower light spot means only a light spot whose x coordinate is within a range with the two red light spots 1302 at the left and right ends, and x outside the range of the two red light spots 1302. So-called oblique light spots with coordinates are not included. For example, the headlamp light spot 1309 in FIG. 13D is regarded as below the red light spot 1308, and the headlamp light spot 1310 is not regarded as below the red light spot 1308.

次に、図13(c)に示すように、遠方の信号機1306が赤信号になっており、かつ対向車1307が存在する状況において、そのヘッドランプ光1309と遠方信号機1306の配置が、ちょうど図13(b)に示すナンバープレート光1303とバスのテールランプ光1302のような配置になる場合について説明する。このような場合にでも、もし当該赤色光点の下に抽出された他の光点が赤色の光点であれば、すなわち当該赤色光点の下に他のテールランプ光が存在すれば、上にある当該赤色光点は赤信号である可能性が高く、他車両に起因する光点ではないと判定できる。また、当該赤色光点の下に抽出された他の光点が赤色でない場合について考えると、もしバスのナンバープレート光1303であれば、光量が小さいことから高輝度検出用画像には映らないが、ヘッドランプ光1309であれば光量が大きいことから高輝度検出用画像に映る。このことを利用すればテールランプ1301と信号機1306の赤色とを識別可能となる。しかしながら、対向車1307が赤信号で停車してヘッドランプ光をスモールランプに減光している場合も考えられる。このとき対向車1307が遠方であれば、高輝度検出画像にはヘッドランプ光1309が映らないことも考えられ、前記のような区別が難しくなる。これらのことを考慮し図22の処理フローのようにして、当該赤色光点が他車両に起因する光点かどうかを判断する。   Next, as shown in FIG. 13 (c), in the situation where the far traffic light 1306 is red and the oncoming vehicle 1307 is present, the arrangement of the headlamp light 1309 and the far traffic light 1306 is just as illustrated. A case will be described in which the license plate light 1303 and the tail lamp light 1302 of the bus shown in FIG. Even in such a case, if the other light spot extracted under the red light spot is a red light spot, that is, if another tail lamp light exists under the red light spot, There is a high possibility that a certain red light spot is a red signal, and it can be determined that it is not a light spot caused by another vehicle. Considering the case where the other light spot extracted under the red light spot is not red, if it is the license plate light 1303 of the bus, it is not reflected in the high brightness detection image because the light quantity is small. In the case of the headlamp light 1309, the amount of light is large, so that it appears in the high brightness detection image. If this is utilized, the tail lamp 1301 and the red color of the traffic light 1306 can be identified. However, there may be a case where the oncoming vehicle 1307 stops at a red signal and dims the headlamp light to the small lamp. At this time, if the oncoming vehicle 1307 is far away, it may be considered that the headlamp light 1309 is not reflected in the high-luminance detection image, and it becomes difficult to distinguish as described above. Considering these points, it is determined whether the red light spot is a light spot caused by another vehicle as in the processing flow of FIG.

低輝度検出画像において消失点よりも高い位置に赤色光点が抽出される(S2201)とともに、高輝度検出画像において当該赤色光点の下に他の光点が抽出された場合(S2202)は、前記赤色光点は他車両に起因する光点ではないと判定する(S2207)。低輝度検出画像において消失点よりも高い位置に赤色光点が抽出され(S2201)、かつ高輝度検出画像において当該赤色光点の下に他の光点が抽出されなかった場合(S2202の判定がNo)、低輝度検出用画像において当該赤色光点の下に他の光点が抽出されるかどうかを検証する(S2203)。もし低輝度検出画像において当該赤色光点の下に他の光点が抽出された場合(S2203の判定がYES)、赤色であれば(S2204の判定がYes)、前記赤色光点は他車両に起因する光点ではないと判定する(S2207)。赤色でない場合、1点であれば(S2205の判定がNo)、ナンバープレート光の可能性も高いため前記赤色光点は他車両に起因する光点と判定し(S2206)、図13(d)のように2点以上あれば(S2205の判定がYes)、前記赤色光点は他車両に起因する光点ではないと判定する(S2207)。   When a red light spot is extracted at a position higher than the vanishing point in the low luminance detection image (S2201), and another light spot is extracted below the red light spot in the high luminance detection image (S2202), It is determined that the red light spot is not a light spot caused by another vehicle (S2207). When a red light spot is extracted at a position higher than the vanishing point in the low brightness detection image (S2201), and no other light spot is extracted below the red light spot in the high brightness detection image (determination of S2202). No), it is verified whether another light spot is extracted under the red light spot in the low luminance detection image (S2203). If another light spot is extracted below the red light spot in the low-luminance detection image (YES in S2203), and if it is red (Yes in S2204), the red light spot is transmitted to the other vehicle. It is determined that the light spot is not a cause (S2207). If it is not red, if it is one point (No in S2205), the possibility of license plate light is high, so the red light point is determined as a light point caused by another vehicle (S2206), and FIG. If there are two or more points as described above (Yes in S2205), it is determined that the red light spot is not a light spot caused by another vehicle (S2207).

また、赤信号の除去方法として、定期的に点灯色が変化する事を利用して、時系列に複数枚撮像した画像から光点をトラッキングしてその色の変化を解析することで信号機かどうかを判断することもできる。この場合の問題点としては、信号機の光点をトラッキングしなければならないため、画像の取り込みタイミングの周期を短めに設定しておかないと難しいことが挙げられる。また、青色から黄色、赤色に変化したときのみ排除可能であり、画面に初めて出現したときに赤色だった場合には、この手法では取り除けない。   In addition, as a method of removing red signals, whether or not it is a traffic signal by analyzing the change in color by tracking the light spot from multiple images taken in time series using the fact that the lighting color changes periodically Can also be judged. The problem in this case is that the light spot of the traffic light must be tracked, so that it is difficult to set the period of the image capture timing short. Further, it can be eliminated only when the color changes from blue to yellow and red, and if it is red when it first appears on the screen, it cannot be removed by this method.

ここでトラッキングとは、動きのある複数枚の画像から対象物を追跡する処理のことで、ここでは毎画像の光点の位置を記憶しておき、次の画像で一番近い位置にある光点を同一物体の光点とみなす処理を行うことで実現可能である。   Here, tracking is a process of tracking an object from a plurality of moving images. Here, the position of the light spot of each image is stored, and the light closest to the next image is stored. This can be realized by performing processing that regards a point as a light spot of the same object.

同じく赤信号を除去するために、図14のように信号機1401の付近に設置された歩行者用信号機1402、あるいは横断歩道1403を検知することで信号機と判定する方法がある。歩行者用信号機1402は一般的に車両用信号機1401よりも低い位置にあり、かつ道路わきに位置している。そこで、赤色の光点1404、1405が斜め方向に位置している場合は信号機の可能性が高いと判断できる。もう一つの情報である横断歩道1403については、夜間、カメラで検知するためにはかなり近づかないと難しい(例えば30m以内)。信号機の場合、接近するとカメラの設置高と信号機の高さの関係から仰角分画面の上の方に写るため、Y座標から判断することも可能になる。そこで、横断歩道1403の情報は参考程度で用いると良い。ここで、横断歩道を検出するために、横断歩道のエッジ情報を用いる。図19に示すように横断歩道1901の白線は消失点に向かっているため、消失点に向かっているエッジの数も多い。そこで、消失点に向かっているエッジの数が、あらかじめ指定したしきい値よりも大きくなった段階で横断歩道が路面に描かれていると判断することができる。   Similarly, in order to remove the red signal, there is a method of determining a traffic signal by detecting a pedestrian traffic signal 1402 or a pedestrian crossing 1403 installed in the vicinity of the traffic signal 1401 as shown in FIG. The pedestrian traffic light 1402 is generally located at a lower position than the vehicle traffic light 1401 and is located beside the road. Therefore, when the red light spots 1404 and 1405 are located in an oblique direction, it can be determined that the possibility of a traffic signal is high. Another information, the pedestrian crossing 1403, is difficult to detect with a camera at night (for example, within 30 m). In the case of a traffic light, since it appears in the upper part of the screen by the elevation angle from the relationship between the height of the camera and the height of the traffic light, it can also be determined from the Y coordinate. Therefore, the information on the pedestrian crossing 1403 may be used as a reference level. Here, in order to detect a pedestrian crossing, edge information of the pedestrian crossing is used. As shown in FIG. 19, since the white line of the pedestrian crossing 1901 is toward the vanishing point, the number of edges toward the vanishing point is also large. Therefore, it can be determined that the pedestrian crossing is drawn on the road surface when the number of edges toward the vanishing point becomes larger than a predetermined threshold value.

次にリフレクタの除去について説明する。リフレクタの除去については上述しているが、ここでは、至近距離のリフレクタの場合に、自車のヘッドランプの反射強度が強く高輝度検知用画像903に写りこむ場合について説明する。高輝度検知用画像903ではヘッドライトの白色光を検知するが、白色リフレクタはヘッドライトの色そのままであるため、色で判断し除外することはできない。すべてのリフレクタを除外することは難しいが、比較的頻繁に現れる白線の外側にレーンに沿って設置されたリフレクタ群に関しては除外することが可能である。具体的には、白線が写る程度の露光制御で取り込んだ画像で白線認識を行い、その外側に白線に沿って並んでいる光点が数点(例えば3点)以上ある場合はそれらを排除する。   Next, the removal of the reflector will be described. Although the removal of the reflector has been described above, here, a case where the reflection intensity of the headlamp of the own vehicle is strong and the high-luminance detection image 903 is reflected in the case of a reflector at a close distance will be described. In the high-intensity detection image 903, the white light of the headlight is detected. However, since the white reflector is the same as the color of the headlight, it cannot be judged and excluded by the color. It is difficult to exclude all the reflectors, but it is possible to exclude a group of reflectors installed along the lane outside the white line that appears relatively frequently. Specifically, white line recognition is performed with an image captured by exposure control that allows white lines to be captured, and if there are several light spots (for example, three points) aligned along the white line on the outside, they are excluded. .

最後に、自動販売機などの明かりを除去する方法について説明する。自動販売機の光は一般的に白いため、低輝度検出用画像904に写っても除去できるが、近づいてくると高輝度検出用画像903に写りこむ可能性がある。自動販売機の光の特徴としては、高輝度検出用画像903に写りこむがヘッドライトよりも輝度が低く、発光部分の面積が大きいため、比較的暗く領域の大きな光点がある場合、車両のヘッドランプやテールランプではなく自動販売機の光である可能性が高い。そのため、高輝度検出用画像903の濃淡画像から複数のしきい値で作成した二値画像群から判断する。すなわち、二値化しきい値を段階的に下げていき、急激に光点領域が大きくなる光点部分は、ぼんやりと面積が大きい光点である可能性が高いため、その部分を自販機の光点として除去する。   Finally, a method for removing light from a vending machine or the like will be described. Since the light from the vending machine is generally white, it can be removed even if it appears in the low brightness detection image 904, but if it approaches, there is a possibility that it will appear in the high brightness detection image 903. The light of the vending machine is reflected in the high-intensity detection image 903, but the brightness is lower than that of the headlight and the area of the light-emitting part is large. There is a high possibility that the light is from a vending machine, not a headlamp or tail lamp. Therefore, the determination is made from the binary image group created from the grayscale image of the high luminance detection image 903 with a plurality of threshold values. In other words, the light spot portion where the binarization threshold is lowered stepwise and the light spot area suddenly increases is likely to be a light spot with a large area. Remove as.

以上述べたノイズ光識別手段を加味し、実施例2を高度化したものを実施例3として図15に示す。複数画像から光点の位置を検出するまでのステップはS801からS807と同様である。   FIG. 15 shows a third embodiment which is an advanced version of the second embodiment in consideration of the noise light identifying means described above. The steps until the position of the light spot is detected from a plurality of images are the same as S801 to S807.

ステップS1501では信号機の判定を行う。消失点よりも高い位置にある赤色光点の場合、その上下の光点の存在など、上述したような方法で信号機の灯火かどうかを判断する。   In step S1501, the traffic light is determined. In the case of a red light spot at a position higher than the vanishing point, it is determined whether or not the traffic light is lit by the above-described method, such as the presence of light spots above and below it.

ステップS1502ではリフレクタの判断を行う。レーンの認識を行ってそのレーンに沿って並んでいることが確認できればリフレクタの可能性が高い。   In step S1502, the reflector is determined. If a lane is recognized and confirmed to be aligned along the lane, the possibility of a reflector is high.

ステップS1503で自動販売機の光かどうかの判断を行う。これも上述したように光点の面積とその輝度で判断する。   In step S1503, it is determined whether the light is from a vending machine. This is also determined by the area of the light spot and its luminance as described above.

ステップS1504では、光点が信号機、リフレクタ、自販機のようなノイズ光である可能性が高いと判断された光点を除外する。   In step S1504, light spots that are determined to be highly likely to be noise light such as traffic lights, reflectors, and vending machines are excluded.

ステップS808の車間距離計算以降は実施例2と同様なので説明を省略するが、ステップS1501からステップS1504によっていくつかのノイズ光が除外されることで、より配光制御の信頼性が向上する。   Since the inter-vehicle distance calculation in step S808 is the same as that in the second embodiment, the description thereof will be omitted. However, by removing some noise lights in steps S1501 to S1504, the reliability of the light distribution control is further improved.

本実施例では、ヘッドライトの配光制御について示したが、夜間においても先行車両との車間距離が高精度に求まるため、先行車両との車間距離を考慮し前記先行車に追従走行する制御にも使用できる。追従制御の構成を図20に示す。画像解析ユニット102で計算された先行車両までの距離、方向情報、および車速センサ2007の車速情報をもとに自車両のエンジン2004、変速機2005、ブレーキ2006を制御して先行車に追従するように速度制御を行う。エンジン制御ユニット2001はエンジンのスロットル開度を調整することでエンジン出力を制御し、変速機制御ユニット2002は自車速度、エンジン出力をもとに最適なギア比を選択、また、必要に応じてブレーキ制御ユニット2003がブレーキ2006を制御することで減速の制御も行える。また、先行車両もしくは対向車両との距離が安全のための閾値よりも狭くなったときに接近警報として運転手に伝える技術にも応用できる。この接近警報の構成を図21に示す。接近警報も追従制御と同様に画像解析ユニット102で計算された先行車両までの距離、方向情報、および車速センサ2007の車速情報をもとに、警報制御ユニット2101が先行車に衝突する危険があるか否かを判断し、必要に応じてスピーカー2102で警報を鳴らす。   In the present embodiment, the light distribution control of the headlight has been shown, but since the inter-vehicle distance with the preceding vehicle can be obtained with high accuracy even at night, the control for following the preceding vehicle in consideration of the inter-vehicle distance with the preceding vehicle. Can also be used. The configuration of the follow-up control is shown in FIG. Based on the distance to the preceding vehicle calculated by the image analysis unit 102, direction information, and vehicle speed information from the vehicle speed sensor 2007, the engine 2004, the transmission 2005, and the brake 2006 of the host vehicle are controlled to follow the preceding vehicle. Speed control. The engine control unit 2001 controls the engine output by adjusting the throttle opening of the engine, and the transmission control unit 2002 selects the optimum gear ratio based on the vehicle speed and the engine output, and if necessary The brake control unit 2003 can also control the deceleration by controlling the brake 2006. Further, the present invention can be applied to a technique for notifying the driver as an approach warning when the distance from the preceding vehicle or the oncoming vehicle becomes narrower than a safety threshold. The configuration of this approach alarm is shown in FIG. In the approach warning, the warning control unit 2101 may collide with the preceding vehicle based on the distance to the preceding vehicle calculated by the image analysis unit 102, the direction information, and the vehicle speed information of the vehicle speed sensor 2007, as in the follow-up control. Whether or not, and an alarm is sounded by the speaker 2102 as necessary.

このように本発明の画像処理システムを用いることにより、快適でかつ安全な運転環境を運転手に提供することができる。   Thus, by using the image processing system of the present invention, a comfortable and safe driving environment can be provided to the driver.

本発明によるヘッドライト配光制御の構成図。The block diagram of the headlight light distribution control by this invention. カメラ、および画像解析ユニットの構成図。The block diagram of a camera and an image analysis unit. カメラ内部の詳細図。Detailed view of the inside of the camera. 実施例1に係わる露光量の異なる2つの画像から車間距離を算出する処理フロー。9 is a processing flow for calculating an inter-vehicle distance from two images with different exposure amounts according to the first embodiment. 実施例1に係わる先行車と対向車が存在する場合の車両前方の様子の説明図。Explanatory drawing of the mode of the vehicle front in case the preceding vehicle and oncoming vehicle which concern on Example 1 exist. 実施例1に係わるヘッドライトとテールランプの位置を検出する手法の説明図。FIG. 3 is an explanatory diagram of a method for detecting the positions of a headlight and a tail lamp according to the first embodiment. 実施例1に係わるヘッドライトとテールランプの位置を検出する手法の説明図。FIG. 3 is an explanatory diagram of a method for detecting the positions of a headlight and a tail lamp according to the first embodiment. 実施例2に係わる露光量の異なる2つの画像から車間距離を算出する処理フロー。9 is a processing flow for calculating an inter-vehicle distance from two images with different exposure amounts according to the second embodiment. 実施例2に係わる先行車と対向車が存在する場合の車両前方の様子の説明図。Explanatory drawing of the mode of the vehicle front in case the preceding vehicle and oncoming vehicle which concern on Example 2 exist. 実施例2に係わるヘッドライトとテールランプの位置を検出する手法の説明図。FIG. 6 is an explanatory diagram of a method for detecting the positions of a headlight and a tail lamp according to the second embodiment. 実施例2に係わるヘッドライトとテールランプの位置を検出する手法の説明図。FIG. 6 is an explanatory diagram of a method for detecting the positions of a headlight and a tail lamp according to the second embodiment. 大型車のテールランプと赤色信号機がどのように撮像されるかを示す説明図。Explanatory drawing which shows how the tail lamp and red traffic light of a large-sized vehicle are imaged. 近距離にある大型車がどのように撮像されるかを示す説明図。Explanatory drawing which shows how the large vehicle in a short distance is imaged. 信号機がどのように撮像されるかを示す説明図。Explanatory drawing which shows how a traffic light is imaged. 実施例3に係わるノイズ光を除外するための処理フロー。10 is a processing flow for excluding noise light according to the third embodiment. 三角測量の原理により車両幅情報から距離を求めるための説明図。Explanatory drawing for calculating | requiring distance from vehicle width information by the principle of triangulation. 三角測量の原理により俯角情報から距離を求めるための説明図。Explanatory drawing for calculating | requiring distance from depression angle information by the principle of triangulation. 画面における消失点の説明図。Explanatory drawing of the vanishing point on a screen. 本実施例3に係わる横断歩道検知手段の説明図。Explanatory drawing of the pedestrian crossing detection means concerning the present Example 3. FIG. 追従走行制御の構成図。The block diagram of follow-up running control. 接近警報制御の構成図。The block diagram of approach warning control. 信号機判定手段の処理フロー。The processing flow of a traffic signal determination means.

符号の説明Explanation of symbols

100…車両、101…カメラ、102…画像解析ユニット、103…ヘッドライト制御ユニット、104…ヘッドライト、201…CCD、202…カメラDSP、203…CPU、204…画像処理ユニット、205…画像入力I/F、206…メモリ、207…FROM上のプログラム、301…露光制御ユニット、302…レジスタ、303…ADC、501…対向車、502…先行車、503…高速シャッター画像、504…低速シャッター画像、601…高速シャッター時における対向車のヘッドライト光点、602…低速シャッター時における先行車のテールランプ光点、603…ブルーミング領域、604…マスキング領域、701…ヘッドランプ光点存在帯、702…テールランプ光点存在帯、901…対向車、902…先行車、903…高速シャッター画像、904…低速シャッター画像、1001…高速シャッター時における対向車のヘッドライト光点、1002…低速シャッター時における先行車のテールランプ光点、1101…ヘッドランプ光点存在帯、1102…テールランプ光点存在帯、1201…大型車後部、1202…信号機、1203…画像上の光点、1301…大型車、1302…大型車のテールランプ光点、1303…大型車のナンバープレート光点、1304…大型車の車内灯光点、1305…低速シャッター画像、1306…遠方の信号機、1307…対向車、1308…赤色光点、1309…ヘッドランプ光点、1310…ヘッドランプ光点、1401…信号機、1402…歩行者用信号機、1403…横断歩道、1404…信号機の光点、1405…歩行者用信号機の光点、1601…カメラのレンズ、1602…撮像素子(CCD)面、1603…先行車、1701…カメラのレンズ、1702…撮像素子(CCD)面、1703…先行車のテールランプ、1801…消失点、1901…横断歩道、2001…エンジン制御ユニット、2002…変速機制御ユニット、2003…ブレーキ制御ユニット、2004…エンジン、2005…変速機、2006…ブレーキ、2101…警報制御ユニット、2102…スピーカー DESCRIPTION OF SYMBOLS 100 ... Vehicle, 101 ... Camera, 102 ... Image analysis unit, 103 ... Headlight control unit, 104 ... Headlight, 201 ... CCD, 202 ... Camera DSP, 203 ... CPU, 204 ... Image processing unit, 205 ... Image input I / F, 206 ... memory, 207 ... program on FROM, 301 ... exposure control unit, 302 ... register, 303 ... ADC, 501 ... oncoming car, 502 ... preceding car, 503 ... high-speed shutter image, 504 ... low-speed shutter image, 601... Headlight light spot of oncoming vehicle at high speed shutter, 602... Tail lamp light spot of preceding vehicle at low speed shutter, 603. Blooming area, 604. Masking area, 701. Point existence zone, 901 ... oncoming car, 902 ... Car 903 ... High-speed shutter image, 904 ... Low-speed shutter image, 1001 ... Headlight light spot of oncoming vehicle at high-speed shutter, 1002 ... Tail lamp light spot of preceding car at low-speed shutter, 1101 ... Headlamp light spot existence band, 1102 ... Tail lamp light spot existence zone, 1201 ... Rear part of large vehicle, 1202 ... Traffic light, 1203 ... Light spot on image, 1301 ... Large car, 1302 ... Tail lamp light spot of large car, 1303 ... License plate light spot of large car, DESCRIPTION OF SYMBOLS 1304 ... Car interior light spot of a large vehicle, 1305 ... Low-speed shutter image, 1306 ... Distant traffic light, 1307 ... Oncoming car, 1308 ... Red light spot, 1309 ... Head lamp light spot, 1310 ... Head lamp light spot, 1401 ... Traffic light, 1402 ... Traffic light for pedestrians, 1403 ... Crosswalk, 1404 ... Signal , 1405 ... light point of pedestrian traffic light, 1601 ... camera lens, 1602 ... imaging device (CCD) surface, 1603 ... preceding vehicle, 1701 ... camera lens, 1702 ... imaging device (CCD) surface, 1703 ... Tail lamp of preceding vehicle, 1801 ... Vanishing point, 1901 ... Crosswalk, 2001 ... Engine control unit, 2002 ... Transmission control unit, 2003 ... Brake control unit, 2004 ... Engine, 2005 ... Transmission, 2006 ... Brake, 2101 ... Alarm control unit, 2102 ... Speaker

Claims (5)

車両に搭載された撮像手段と、前記撮像手段から入力された画像を解析して他車両位置情報を検出する画像解析手段と、前記画像解析手段から出力された他車両位置情報に基づいて車両制御を行う車両制御手段とを備える車両制御システムにおいて、
前記画像解析手段は、前記撮像手段が第1の露光量で撮影した第1の画像と前記第1の露光量よりも露光量の多い第2の露光量で撮影した第2の画像を取得し、前記第1の画像及び前記第2の画像から赤色光点を含む光点領域を抽出し、当該光点領域を解析して他車両位置情報を検知するものであり、消失点よりも高い位置に前記赤色光点が抽出されたとき、前記赤色光点の上及び下に他の光点が抽出されれば、前記赤色光点は他車両に起因する光点であると判定する、車両制御システム。
Image pickup means mounted on the vehicle, image analysis means for analyzing the image input from the image pickup means to detect other vehicle position information, and vehicle control based on the other vehicle position information output from the image analysis means In a vehicle control system comprising vehicle control means for performing
The image analysis unit acquires a first image captured by the imaging unit with a first exposure amount and a second image captured with a second exposure amount that is greater than the first exposure amount. Extracting a light spot region including a red light spot from the first image and the second image, analyzing the light spot region to detect other vehicle position information, a position higher than the vanishing point when said red dot is extracted, the if other light spots underbeauty on the red dot is extracted, the red dot is determined to be light spot caused by another vehicle, vehicles Control system.
車両に搭載された撮像手段と、前記撮像手段から入力された画像を解析して他車両位置情報を検出する画像解析手段と、前記画像解析手段から出力された他車両位置情報に基づいて車両制御を行う車両制御手段とを備える車両制御システムにおいて、
前記画像解析手段は、前記撮像手段が第1の露光量で撮影した第1の画像と前記第1の露光量よりも露光量の多い第2の露光量で撮影した第2の画像を取得し、前記第1の画像及び前記第2の画像から赤色光点を含む光点領域を抽出し、当該光点領域を解析して他車両位置情報を検知するものであり、消失点よりも高い位置に前記赤色光点が抽出されたとき、前記赤色光点の下に所定数以上の他の光点が抽出されれば、前記赤色光点は他車両に起因する光点ではないと判定する、車両制御システム。
Image pickup means mounted on the vehicle, image analysis means for analyzing the image input from the image pickup means to detect other vehicle position information, and vehicle control based on the other vehicle position information output from the image analysis means In a vehicle control system comprising vehicle control means for performing
The image analysis unit acquires a first image captured by the imaging unit with a first exposure amount and a second image captured with a second exposure amount that is greater than the first exposure amount. Extracting a light spot region including a red light spot from the first image and the second image, analyzing the light spot region to detect other vehicle position information, a position higher than the vanishing point when the red light spot is extracted, if extracted another point of more than a predetermined number under the red dot is, the red light spot is not the very spot caused by another vehicle, Vehicle control system.
前記車両制御手段は、前記他車両位置情報に基づいてヘッドライトの配光を制御する、請求項1又は2記載の車両制御システム。   The vehicle control system according to claim 1, wherein the vehicle control unit controls light distribution of a headlight based on the other vehicle position information. 前記車両制御手段は、前記他車両位置情報に基づいて先行車に追従走行制御を行う、請求項1又は2記載の車両制御システム。   The vehicle control system according to claim 1, wherein the vehicle control unit performs follow-up traveling control on a preceding vehicle based on the other vehicle position information. 前記車両制御手段は、前記他車両位置情報に基づいて接近警報制御を行う、請求項1又は2記載の車両制御システム。   The vehicle control system according to claim 1, wherein the vehicle control means performs an approach warning control based on the other vehicle position information.
JP2004167644A 2003-08-11 2004-06-04 Vehicle control system Expired - Lifetime JP4253275B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004167644A JP4253275B2 (en) 2003-08-11 2004-06-04 Vehicle control system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003206997 2003-08-11
JP2004167644A JP4253275B2 (en) 2003-08-11 2004-06-04 Vehicle control system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004144788A Division JP4253271B2 (en) 2003-08-11 2004-05-14 Image processing system and vehicle control system

Publications (2)

Publication Number Publication Date
JP2005092861A JP2005092861A (en) 2005-04-07
JP4253275B2 true JP4253275B2 (en) 2009-04-08

Family

ID=34466637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004167644A Expired - Lifetime JP4253275B2 (en) 2003-08-11 2004-06-04 Vehicle control system

Country Status (1)

Country Link
JP (1) JP4253275B2 (en)

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4783431B2 (en) * 2006-09-28 2011-09-28 パイオニア株式会社 Traffic information detection apparatus, traffic information detection method, traffic information detection program, and recording medium
JP4484856B2 (en) * 2006-10-06 2010-06-16 日立オートモティブシステムズ株式会社 Automotive headlight controller
JP4544233B2 (en) * 2006-10-11 2010-09-15 株式会社デンソー Vehicle detection device and headlamp control device
JP4548405B2 (en) * 2006-10-31 2010-09-22 株式会社デンソー Headlight swivel control device
WO2008053521A1 (en) * 2006-10-31 2008-05-08 Fujitsu Limited Light source control device, light source control method, and light source control program
JP4737108B2 (en) * 2007-02-19 2011-07-27 トヨタ自動車株式会社 Headlight control device
JP4415996B2 (en) * 2007-02-26 2010-02-17 株式会社日立製作所 In-vehicle image recognition device, light distribution control device, and light distribution control method
JP4538468B2 (en) * 2007-02-27 2010-09-08 日立オートモティブシステムズ株式会社 Image processing apparatus, image processing method, and image processing system
JP2009107543A (en) * 2007-10-31 2009-05-21 Panasonic Corp Lighting system for vehicle
JP2009132230A (en) * 2007-11-29 2009-06-18 Omron Corp Headlamp light distribution control device
JP5271571B2 (en) * 2008-03-13 2013-08-21 株式会社小糸製作所 Vehicle headlamp device and control method thereof
JP4775391B2 (en) * 2008-03-18 2011-09-21 株式会社デンソー Obstacle detection device
JP4798182B2 (en) * 2008-07-30 2011-10-19 株式会社デンソー Dazzle detection device, dazzle detection program, and headlamp control device
DE102009015824B4 (en) 2008-04-02 2022-03-24 Denso Corporation Glare-free zone mapping product and system using it to determine if a person is being blinded
JP4702426B2 (en) 2008-10-10 2011-06-15 株式会社デンソー Vehicle detection device, vehicle detection program, and light control device
JP4666049B2 (en) 2008-10-17 2011-04-06 株式会社デンソー Light source identification device, light source identification program, vehicle detection device, and light control device
JP5067358B2 (en) * 2008-12-22 2012-11-07 株式会社デンソー Traveling lane detection device and traveling lane detection program
JP2010272067A (en) * 2009-05-25 2010-12-02 Hitachi Automotive Systems Ltd Image processing apparatus
JP5424771B2 (en) * 2009-08-04 2014-02-26 株式会社小糸製作所 Light distribution control system for vehicle headlamps
US8559673B2 (en) * 2010-01-22 2013-10-15 Google Inc. Traffic signal mapping and detection
JP5563884B2 (en) * 2010-05-07 2014-07-30 株式会社小糸製作所 Control device, vehicle lamp system, vehicle lamp
JP5626966B2 (en) * 2010-05-28 2014-11-19 株式会社小糸製作所 Control device for vehicle headlamp, vehicle headlamp system
KR101610210B1 (en) * 2011-08-05 2016-04-07 엘지전자 주식회사 Detection of other vehicles considering illumination environments
JP5555735B2 (en) * 2012-03-27 2014-07-23 富士重工業株式会社 Vehicle headlamp adjustment device
JP5884635B2 (en) 2012-05-18 2016-03-15 株式会社デンソー Driving environment detection device, driving environment detection program, and light control device
JP5892079B2 (en) * 2013-01-29 2016-03-23 トヨタ自動車株式会社 Object detection device
JP6085522B2 (en) * 2013-05-29 2017-02-22 富士重工業株式会社 Image processing device
JP6208244B2 (en) * 2013-09-27 2017-10-04 日立オートモティブシステムズ株式会社 Object detection device
JP6549974B2 (en) * 2015-11-25 2019-07-24 株式会社Subaru Outside environment recognition device
CN108367703B (en) 2015-12-25 2021-02-05 日立汽车系统株式会社 Headlamp control device
JP2018031607A (en) 2016-08-23 2018-03-01 ソニーセミコンダクタソリューションズ株式会社 Distance measuring device, electronic device, and method for controlling distance measuring device
JP6594557B2 (en) * 2016-09-06 2019-10-23 日立オートモティブシステムズ株式会社 Image processing apparatus and light distribution control system
JP6999231B2 (en) * 2018-03-05 2022-02-10 アルパイン株式会社 Display control device, display control method and camera monitoring system
JP7289723B2 (en) * 2019-05-23 2023-06-12 日立Astemo株式会社 Object recognition device
JP7383360B2 (en) 2021-02-01 2023-11-20 ダイハツ工業株式会社 vehicle
JP7383359B2 (en) 2021-02-01 2023-11-20 ダイハツ工業株式会社 vehicle
CN116582980B (en) * 2023-07-06 2023-12-08 江苏省德懿翔宇光电科技有限公司 LED car lamp control system and method based on Internet of things

Also Published As

Publication number Publication date
JP2005092861A (en) 2005-04-07

Similar Documents

Publication Publication Date Title
JP4253271B2 (en) Image processing system and vehicle control system
JP4253275B2 (en) Vehicle control system
US10880471B2 (en) Building night vision and other driver assistance systems (DAS) using near infra-red (NIR) illumination and rolling shutter
JP5617999B2 (en) On-vehicle peripheral object recognition device and driving support device using the same
JP5680573B2 (en) Vehicle driving environment recognition device
US10442343B2 (en) Vehicle exterior environment recognition apparatus
JP5409929B2 (en) Control method for headlight device for vehicle and headlight device
JP5313638B2 (en) Vehicle headlamp device
JP2012240530A (en) Image processing apparatus
JP2004104646A (en) On-vehicle image processor
US9616805B2 (en) Method and device for controlling a headlamp of a vehicle
JP2008211410A (en) Image recognition device for vehicle, and light distribution control unit and light distribution control method
JP2017062582A (en) Outside-vehicle environment recognition device
JP5361901B2 (en) Headlight control device
JP2009061812A (en) Vehicle controller for light distribution or the like
JP2007124676A (en) On-vehicle image processor
JP5643877B2 (en) Vehicle headlamp device
JP7084223B2 (en) Image processing equipment and vehicle lighting equipment
JP6853890B2 (en) Object detection system
JP6335065B2 (en) Outside environment recognition device
WO2019159764A1 (en) Vehicle-mounted camera system and light for vehicles
JP5803650B2 (en) Object discrimination device, vehicle headlamp device, vehicle, object discrimination method
WO2022130866A1 (en) Light distribution control system and sensing system
WO2022244085A1 (en) Headlight control device, headlight control system, and headlight control method
KR20110037762A (en) High beam assistance system and method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080708

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081007

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081205

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090123

R150 Certificate of patent or registration of utility model

Ref document number: 4253275

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

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

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250