JP5554579B2 - Lane detection program and lane detection device - Google Patents

Lane detection program and lane detection device Download PDF

Info

Publication number
JP5554579B2
JP5554579B2 JP2010014703A JP2010014703A JP5554579B2 JP 5554579 B2 JP5554579 B2 JP 5554579B2 JP 2010014703 A JP2010014703 A JP 2010014703A JP 2010014703 A JP2010014703 A JP 2010014703A JP 5554579 B2 JP5554579 B2 JP 5554579B2
Authority
JP
Japan
Prior art keywords
lane
white line
candidate
line
candidates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010014703A
Other languages
Japanese (ja)
Other versions
JP2011154480A (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.)
Fujitsu Ltd
Transtron Inc
Original Assignee
Fujitsu Ltd
Transtron Inc
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 Fujitsu Ltd, Transtron Inc filed Critical Fujitsu Ltd
Priority to JP2010014703A priority Critical patent/JP5554579B2/en
Publication of JP2011154480A publication Critical patent/JP2011154480A/en
Application granted granted Critical
Publication of JP5554579B2 publication Critical patent/JP5554579B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • Image Processing (AREA)
  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、車線検出プログラム及び車線検出装置に関する。   The present invention relates to a lane detection program and a lane detection device.

車載カメラによって撮像された画像を用いて白線や横断歩道などの路面標示を検出する車載用路面標示検出装置が知られている。この車載用路面標示検出装置では、車載カメラによって自車両の走行方向が撮像された画像データからエッジ点を抽出する。そして、車載用路面標示検出装置は、車載カメラによって撮像された画像を複数の部分画像に分割し、各部分画像内に存在するエッジ点を通る線分を抽出する。その上で、車載用路面標示検出装置は、線分の傾きと端点位置との差が所定範囲内にある線分同士を一つの組とし、組となった線分の傾き及び端点位置を特徴として抽出する。このようにして抽出した特徴を用いて、車載用路面標示検出装置は、例えば白線や横断歩道などを検出する。   2. Description of the Related Art An in-vehicle road marking detection device that detects road markings such as white lines and pedestrian crossings using an image captured by an in-vehicle camera is known. In this in-vehicle road marking detection device, an edge point is extracted from image data obtained by capturing the traveling direction of the host vehicle with an in-vehicle camera. Then, the in-vehicle road marking detection device divides an image captured by the in-vehicle camera into a plurality of partial images, and extracts line segments that pass through edge points existing in the partial images. In addition, the in-vehicle road marking detection device is characterized by the line segment inclination and the end point position that are a set of line segments in which the difference between the line segment inclination and the end point position is within a predetermined range. Extract as Using the feature extracted in this manner, the in-vehicle road marking detection device detects, for example, a white line or a pedestrian crossing.

これらの路面標示の中でも白線の検出結果は多様な用途に使用され得る。一例としては、自車両の位置判断に用いられる。例えば、車載カメラによって撮像された画像から検出した地物の検出結果を用いて自車位置の認識を行う自車位置認識装置が提案されている。このような地物の1つとして白線の検出結果を援用して自車位置の認識を行い、車線内における自車両の位置が路肩や隣車線に近づきすぎていないか否かを判断する使用例も想定され得る。   Among these road markings, the detection result of the white line can be used for various purposes. As an example, it is used for determining the position of the host vehicle. For example, a vehicle position recognition device that recognizes a vehicle position using a detection result of a feature detected from an image captured by an in-vehicle camera has been proposed. Use example of recognizing the position of the own vehicle by using the detection result of the white line as one of such features and determining whether the position of the own vehicle in the lane is too close to the road shoulder or the adjacent lane Can also be envisaged.

特開2005−339468号公報JP 2005-339468 A 特開2007−271568号公報JP 2007-271568 A

しかしながら、白線の検出結果を利用した別処理を行う場合には、白線以外の路面標示を白線と混同して別処理が実行される可能性を有するので、別処理で誤った処理結果が導出されるおそれがあるという課題がある。   However, when performing another process using the detection result of the white line, there is a possibility that the road marking other than the white line is confused with the white line and the different process may be executed. There is a problem that there is a risk.

一例として、車載用路面標示検出装置によって検出された白線の検出結果を入力として自車位置認識装置が自車位置の認識を行う場合を想定する。この場合には、車載用路面標示検出装置が車載カメラの撮影画像に含まれる白線と横断歩道とを正確に区別できるとは限らない。例えば、車載用路面標示検出装置が白線に類似する横断歩道のペイントの一部を白線として誤検出することもあり得る。このような検出結果を用いる場合には、白線と横断歩道の位置関係によっては、自車位置認識装置が白線の一部および横断歩道の一部を一対の白線と見做して自車位置を認識することになる。この結果、自車位置認識装置は、実際の車道における自車両の走行車線の間隔よりも広い間隔を基準に自車位置を認識したり、或いはそれよりも狭い間隔を基準に自車位置を認識したりするおそれが生じる。   As an example, it is assumed that the vehicle position recognition device recognizes the vehicle position using the detection result of the white line detected by the in-vehicle road marking detection device as an input. In this case, the in-vehicle road marking detection device cannot always accurately distinguish the white line and the pedestrian crossing included in the captured image of the in-vehicle camera. For example, an in-vehicle road marking detection device may erroneously detect a part of a crosswalk paint similar to a white line as a white line. When such a detection result is used, depending on the positional relationship between the white line and the pedestrian crossing, the vehicle position recognition device considers a part of the white line and a part of the pedestrian crossing as a pair of white lines and determines the vehicle position. You will recognize. As a result, the own vehicle position recognition device recognizes the own vehicle position based on an interval wider than the interval of the traveling lane of the own vehicle on the actual roadway, or recognizes the own vehicle position based on an interval narrower than that. May occur.

なお、この課題は、白線の検出結果を利用する場合だけでなく、黄色車線などの他の車線全般を検出結果として利用する場合に同様に生ずる課題である。   Note that this problem occurs not only when the detection result of the white line is used, but also when the other lanes in general such as the yellow lane are used as the detection result.

開示の技術は、上記に鑑みてなされたものであって、車線の検出結果を利用した別処理を行う場合に、誤った処理結果が導出されることを防止できる車線検出プログラム及び車線検出装置を提供することを目的とする。   The disclosed technology has been made in view of the above, and provides a lane detection program and a lane detection device that can prevent an erroneous processing result from being derived when performing another processing using a lane detection result. The purpose is to provide.

本願の開示する車線検出プログラムは、コンピュータに、車両に搭載したカメラにより取得された画像から、路面に標示された車線および該車線以外の路面標示を検出する検出手順を実行させる。さらに、車線検出プログラムは、コンピュータに、前記検出手順によって前記車線のみが検出された場合には該車線の検出結果を出力し、前記車線とともに該車線以外の路面標示が検出された場合には該車線の検出結果の出力を抑止する出力制御手順を実行させる。   The lane detection program disclosed in the present application causes a computer to execute a detection procedure for detecting a lane marked on a road surface and road markings other than the lane from an image acquired by a camera mounted on the vehicle. Further, the lane detection program outputs a detection result of the lane to the computer when only the lane is detected by the detection procedure, and when a road marking other than the lane is detected together with the lane, the lane detection program outputs the lane detection result. An output control procedure for suppressing the output of the detection result of the lane is executed.

本願の開示する車線検出プログラムの一つの態様によれば、車線の検出結果を利用した別処理を行う場合に、誤った処理結果が導出されることを防止することが可能になるという効果を奏する。   According to one aspect of the lane detection program disclosed in the present application, it is possible to prevent an erroneous process result from being derived when performing another process using the lane detection result. .

図1は、実施例1に係る車線検出装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating the configuration of the lane detection device according to the first embodiment. 図2は、実施例2に係る車載装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating the configuration of the in-vehicle device according to the second embodiment. 図3は、撮影画像の一例を示す図である。FIG. 3 is a diagram illustrating an example of a captured image. 図4は、白線のエッジ画像の一例を示す図である。FIG. 4 is a diagram illustrating an example of a white line edge image. 図5は、内側線および外側線を境界とした輝度値の変化を説明するための図である。FIG. 5 is a diagram for explaining a change in luminance value with the inner line and the outer line as a boundary. 図6は、矢印標示の一例を示す図である。FIG. 6 is a diagram illustrating an example of an arrow marking. 図7は、矢印標示のエッジ画像の一例を示す図である。FIG. 7 is a diagram illustrating an example of an edge image of an arrow sign. 図8は、速度標示における数字ゼロの特定要領を説明するための図である。FIG. 8 is a diagram for explaining the specific point of the numeral zero in the speed indicator. 図9は、速度標示領域の算出要領を説明するための図である。FIG. 9 is a diagram for explaining the calculation procedure of the speed indication area. 図10は、実施例2に係る出力制御処理の手順を示すフローチャートである。FIG. 10 is a flowchart illustrating the procedure of the output control process according to the second embodiment. 図11は、実施例2に係る白線候補抽出処理の手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a procedure of white line candidate extraction processing according to the second embodiment. 図12は、実施例2に係る横断歩道除外処理の手順を示すフローチャートである。FIG. 12 is a flowchart illustrating the procedure of the crosswalk exclusion process according to the second embodiment. 図13は、実施例2に係る矢印標示除外処理の手順を示すフローチャートである。FIG. 13 is a flowchart illustrating a procedure of an arrow marking exclusion process according to the second embodiment. 図14は、実施例2に係る速度標示除外処理の手順を示すフローチャートである。FIG. 14 is a flowchart illustrating a procedure of speed sign exclusion processing according to the second embodiment. 図15は、実施例3に係る車線検出プログラムを実行するコンピュータの一例について説明するための図である。FIG. 15 is a schematic diagram illustrating an example of a computer that executes a lane detection program according to a third embodiment.

以下に、本願の開示する車線検出プログラム及び車線検出装置の実施例を図面に基づいて詳細に説明する。なお、この実施例は開示の技術を限定するものではない。各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。   Hereinafter, embodiments of a lane detection program and a lane detection device disclosed in the present application will be described in detail with reference to the drawings. Note that this embodiment does not limit the disclosed technology. Each embodiment can be appropriately combined within a range in which processing contents do not contradict each other.

図1は、実施例1に係る車線検出装置の構成を示すブロック図である。図1に示すように、車線検出装置1は、検出部2と、出力制御部3とを有する。   FIG. 1 is a block diagram illustrating the configuration of the lane detection device according to the first embodiment. As shown in FIG. 1, the lane detection device 1 includes a detection unit 2 and an output control unit 3.

このうち、検出部2は、車両に搭載したカメラにより取得された画像から、路面に標示された車線および該車線以外の路面標示を検出する。また、出力制御部3は、検出部2によって車線のみが検出された場合には該車線の検出結果を出力し、車線とともに該車線以外の路面標示が検出された場合には該車線の検出結果の出力を抑止する。   Among these, the detection unit 2 detects a lane marked on the road surface and a road marking other than the lane from an image acquired by a camera mounted on the vehicle. The output control unit 3 outputs the detection result of the lane when only the lane is detected by the detection unit 2, and the detection result of the lane when a road surface sign other than the lane is detected together with the lane. Is suppressed.

すなわち、車線とともに該車線以外の路面標示が検出された場合には、車線の検出結果として車線と類似しているが車線ではない路面標示が含まれる可能性を排除できない。このように、車線以外の路面標示を車線と混同して別処理が実行されるおそれがある場合には、出力制御部3が車線の検出結果の出力を抑制するので、別処理は実行されない。   That is, when a road marking other than the lane is detected together with the lane, the possibility that a road marking that is similar to the lane but is not a lane as a lane detection result cannot be excluded. As described above, when there is a possibility that the road marking other than the lane is confused with the lane and the separate process is executed, the output control unit 3 suppresses the output of the detection result of the lane, and thus the separate process is not executed.

一方、車線のみが検出された場合には、車線および車線以外の路面標示が検出される場合に比べ、車線と混同し得る他の路面標示が車線の検出結果に含まれている可能性は低い。このため、出力制御部3は、車線の検出結果を出力する。かかる場合には、車線以外の路面標示を車線と混同して別処理が実行されるおそれが低いので、誤った処理結果が導出されることはない。   On the other hand, when only the lane is detected, it is unlikely that other road markings that may be confused with the lane are included in the lane detection result, compared to the case where the road marking other than the lane and the lane is detected. . For this reason, the output control part 3 outputs the detection result of a lane. In such a case, since it is unlikely that another road marking other than the lane will be confused with the lane, a wrong processing result will not be derived.

このように、本実施例に係る車線検出装置1では、車線と混同し得る他の路面標示が車線の検出結果に含まれている可能性が高い場合に別処理が実行されることはない。また、本実施例に車線検出装置1では、車線の検出結果が出力されたとしても車線と混同し得る他の路面標示が含まれていないので、別処理で車線と混同して実行されることもない。したがって、本実施例に係る車線検出装置1によれば、車線の検出結果を利用した別処理を行う場合に、誤った処理結果が導出されることを防止することが可能になる。   As described above, in the lane detection device 1 according to the present embodiment, when there is a high possibility that another road marking that may be confused with the lane is included in the detection result of the lane, the separate processing is not executed. Further, in this embodiment, the lane detection device 1 does not include other road markings that may be confused with the lane even if the lane detection result is output. Nor. Therefore, according to the lane detection device 1 according to the present embodiment, it is possible to prevent an erroneous processing result from being derived when performing another processing using the lane detection result.

続いて、実施例2に係る車載装置について説明する。図2は、実施例2に係る車載装置の構成を示すブロック図である。図2に示すように、車載装置10は、その内部に記憶部11と、制御部12とを有する。また、車載装置10は、車両に搭載される他の装置と接続されており、例えば、車載カメラ200、車両ECU(Electronic Control Unit)300や出力デバイス400などの他の装置と接続される。   Then, the vehicle-mounted apparatus which concerns on Example 2 is demonstrated. FIG. 2 is a block diagram illustrating the configuration of the in-vehicle device according to the second embodiment. As illustrated in FIG. 2, the in-vehicle device 10 includes a storage unit 11 and a control unit 12 therein. The in-vehicle device 10 is connected to other devices mounted on the vehicle, and is connected to other devices such as an in-vehicle camera 200, a vehicle ECU (Electronic Control Unit) 300, and an output device 400, for example.

まず、車載装置10に接続される他の装置を説明する。このうち、車載カメラ200は、車両に搭載されるカメラである。一例としては、車載カメラ200として、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)などの撮像装置を適用できる。なお、本実施例では、車載カメラ200が後述のエッジ検出部12aへ白黒画像を入力する場合を説明するが、カラー画像を入力することとしてもかまわない。   First, another device connected to the in-vehicle device 10 will be described. Among these, the vehicle-mounted camera 200 is a camera mounted on a vehicle. As an example, an imaging device such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) can be applied as the in-vehicle camera 200. In this embodiment, the case where the in-vehicle camera 200 inputs a monochrome image to the edge detection unit 12a described later will be described, but a color image may be input.

この車載カメラ200は、自車両の所定の設置位置に取り付けられるとともにカメラの光軸の向きが所定の設置角度になるように取り付けられる。例えば、車載カメラ200は、車両の前方の所定領域、例えば自車両のフロントグリルから30m前方までの領域を撮像することができるように設置位置及び設置角度が調節される。なお、本実施例では、車載カメラ200が固定設置される場合を説明するが、車載カメラ200が水平方向または鉛直方向に可動または回動する場合にも開示の装置を適用できる。   This in-vehicle camera 200 is attached at a predetermined installation position of the host vehicle so that the direction of the optical axis of the camera is a predetermined installation angle. For example, the installation position and the installation angle of the in-vehicle camera 200 are adjusted so that a predetermined area in front of the vehicle, for example, an area from the front grill of the host vehicle to 30 m ahead can be imaged. In the present embodiment, the case where the in-vehicle camera 200 is fixedly installed will be described. However, the disclosed apparatus can also be applied when the in-vehicle camera 200 is movable or rotated in the horizontal direction or the vertical direction.

車両ECU300は、車両を制御するためのユニットである。例えば、車両ECU300は、後述の自車位置判断部12fによって出力された自車位置の判断結果に基づき、車両のエンジン、ブレーキやハンドルなどの制御を行う。一例としては、車両ECU300は、方向指示器の操作を受け付けていないにもかかわらず、一方の車線に所定の距離まで近付いている場合や車線からはみ出している場合などには危険防止制御を行う。かかる危険防止制御として、車両ECU300は、エンジンブレーキ又はブレーキにより制動をかけたり、或いは2つの車線により形成される走行領域の中央に車両が復帰するように操舵角を調節したりする。   Vehicle ECU 300 is a unit for controlling the vehicle. For example, the vehicle ECU 300 controls the vehicle engine, brakes, steering wheel, and the like based on the determination result of the vehicle position output by the vehicle position determination unit 12f described later. As an example, the vehicle ECU 300 performs risk prevention control when the vehicle is approaching a predetermined distance to one of the lanes or protrudes from the lane even though the operation of the direction indicator is not accepted. As such danger prevention control, the vehicle ECU 300 applies braking by engine braking or braking, or adjusts the steering angle so that the vehicle returns to the center of the traveling area formed by two lanes.

出力デバイス400は、モニタ、ディスプレイやタッチパネルなどの表示装置、スピーカなどの音声出力装置などを含む。この出力デバイス400は、車載装置10や車両ECU300などの指示に基づき、車載装置10または車両ECU300で実行された処理の結果を表示または音声出力する。一例としては、出力デバイス400は、後述の自車位置判断部12fによって判断された自車位置を表示したり、さらに、自車両が内側線または外側線からはみ出している場合には、その旨を警告として音声出力したりする。   The output device 400 includes a monitor, a display device such as a display and a touch panel, an audio output device such as a speaker, and the like. The output device 400 displays or outputs a result of processing executed by the in-vehicle device 10 or the vehicle ECU 300 based on an instruction from the in-vehicle device 10 or the vehicle ECU 300. As an example, the output device 400 displays the vehicle position determined by the vehicle position determination unit 12f, which will be described later, or if the vehicle protrudes from the inner line or the outer line. Sound output as a warning.

次に、車載装置10の内部構成を説明する。図2に示すように、記憶部11は、例えば、フラッシュメモリ(flash memory)などの半導体メモリ素子、または、ハードディスク、光ディスクなどの記憶装置である。なお、記憶部13は、上記の種類の記憶装置に限定されるものではなく、RAM(Random Access Memory)、ROM(Read Only Memory)であってもよい。   Next, the internal configuration of the in-vehicle device 10 will be described. As shown in FIG. 2, the storage unit 11 is, for example, a semiconductor memory device such as a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 13 is not limited to the type of storage device described above, and may be a RAM (Random Access Memory) or a ROM (Read Only Memory).

記憶部11は、制御部12で実行される各種プログラム(例えば、車線検出用プログラムや自車位置判断用プログラムなど)やそのプログラムの実行に必要なデータ(例えば、車載カメラ200の設置位置、設置角度、撮影画像など)を記憶する。このほか、記憶部11は、例えば白線候補データ11aと、路面標示データ11bと、白線データ11cとを記憶する。   The storage unit 11 includes various programs (for example, a lane detection program and a vehicle position determination program) executed by the control unit 12 and data necessary for executing the program (for example, the installation position and installation of the in-vehicle camera 200). Angle, photographed image, etc.). In addition, the storage unit 11 stores, for example, white line candidate data 11a, road marking data 11b, and white line data 11c.

このうち、白線候補データ11aは、車載カメラ200により撮像された撮影画像から白線候補抽出部12bにより白線候補として抽出されたエッジ線分を示す情報である。この白線候補データ11aは、撮影画像上で垂直方向に線分をなす一対のエッジ線分であり、あくまで白線に似た特徴を有する候補である。すなわち、白線候補データ11aには、実際の白線も含まれるものの、白線に特徴が類似する他の路面標示、例えば横断歩道、矢印標示や速度標示なども含まれる。   Among these, the white line candidate data 11a is information indicating an edge line segment extracted as a white line candidate by the white line candidate extraction unit 12b from a captured image captured by the in-vehicle camera 200. This white line candidate data 11a is a pair of edge line segments that form a line segment in the vertical direction on the photographed image, and is a candidate that has a feature resembling a white line to the last. That is, the white line candidate data 11a includes an actual white line, but also includes other road markings similar in characteristics to the white line, such as a pedestrian crossing, an arrow sign, and a speed sign.

路面標示データ11bは、白線候補データ11aのうち後述の路面標示除外部12cによって白線候補から除外された路面標示を示すエッジ線分である。すなわち、路面標示データ11bには、白線に類似しているが白線ではない路面標示、例えば横断歩道、矢印標示や速度標示などが含まれる。   The road marking data 11b is an edge line segment indicating a road marking that is excluded from white line candidates by a road marking exclusion unit 12c described later in the white line candidate data 11a. That is, the road marking data 11b includes road markings that are similar to white lines but are not white lines, such as pedestrian crossings, arrow markings, speed markings, and the like.

白線データ11cは、白線候補データ11aのうち後述の白線決定部12dによって白線として決定された白線を示すエッジ線分である。すなわち、白線データ11cは、白線候補データ11aから横断歩道、矢印標示および速度標示などの他の路面標示が除外された白線候補同士を道路が連なる方向に沿って連結したものである。   The white line data 11c is an edge line segment indicating a white line determined as a white line by a white line determination unit 12d described later in the white line candidate data 11a. In other words, the white line data 11c is obtained by connecting white line candidates obtained by excluding other road markings such as a pedestrian crossing, an arrow sign, and a speed sign from the white line candidate data 11a along a direction in which roads are connected.

制御部12は、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの集積回路、または、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などの電子回路である。   The control unit 12 is, for example, an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array), or an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit).

この制御部12は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、これらによって種々の処理を実行する。制御部12は、図2に示すように、エッジ検出部12aと、白線候補抽出部12bと、路面標示除外部12cと、白線決定部12dと、出力制御部12eと、自車位置判断部12fとを有する。   The control unit 12 has an internal memory for storing programs defining various processing procedures and control data, and executes various processes using these. As shown in FIG. 2, the control unit 12 includes an edge detection unit 12a, a white line candidate extraction unit 12b, a road marking exclusion unit 12c, a white line determination unit 12d, an output control unit 12e, and an own vehicle position determination unit 12f. And have.

このうち、エッジ検出部12aは、撮影画像の中からエッジ成分を検出する処理部である。一例としては、エッジ検出部12aは、画像上における水平方向、垂直方向や斜め方向のエッジを検出するための所定のフィルタを用いて、撮影画像の各画素の輝度値からエッジ点を検出する。なお、輝度値とは、各画素の明るさを示し、例えば「1〜256」の数値で表現される。そして、エッジ検出部12aは、このようにして検出したエッジ点を繋ぎ合わせることによりエッジ線分を検出する。このエッジ検出の段階で得られたエッジ線分には、白線、横断歩道、矢印標示や速度標示などの路面標示だけでなく、道路のひび割れなどのノイズ成分も含まれる。   Among these, the edge detection part 12a is a process part which detects an edge component from a picked-up image. As an example, the edge detection unit 12a detects an edge point from the luminance value of each pixel of the captured image using a predetermined filter for detecting horizontal, vertical, and diagonal edges on the image. The luminance value indicates the brightness of each pixel and is expressed by a numerical value of “1 to 256”, for example. Then, the edge detection unit 12a detects an edge line segment by connecting the edge points thus detected. The edge line segment obtained at the edge detection stage includes not only road markings such as white lines, pedestrian crossings, arrow markings and speed markings, but also noise components such as road cracks.

なお、エッジ検出部12aでは、車載カメラ200によって撮像された撮影画像をそのまま入力画像としてエッジ検出を行うこととしてもよいし、記憶部11に格納してから読み出して処理を行うこととしてもかまわない。また、エッジ検出部12aは、必ずしも撮影画像全てに対してエッジ検出を行う必要はない。   Note that the edge detection unit 12a may perform edge detection using the captured image captured by the in-vehicle camera 200 as an input image as it is, or may be stored in the storage unit 11 and read out for processing. . Further, the edge detection unit 12a does not necessarily need to perform edge detection for all the captured images.

図3は、撮影画像の一例を示す図である。図3に示す符号「Vp」は、撮影画像31における消失点を示す。図3に示す例で言えば、エッジ検出部12aは、撮影画像31の全領域のうち消失点Vpよりも下部に所在する路面領域だけをエッジ検出の対象とすることもできる。このように、エッジ検出の処理対象を限定するのは、消失点Vpよりも上部の領域にエッジ検出を行ったとしても白線は検出できないからである。さらには、撮影画像に含まれる施設や置物などが後述の白線候補抽出部12bにより白線と誤って抽出されることを防止するためでもある。   FIG. 3 is a diagram illustrating an example of a captured image. A symbol “Vp” illustrated in FIG. 3 indicates a vanishing point in the captured image 31. In the example illustrated in FIG. 3, the edge detection unit 12 a can also set only the road surface area located below the vanishing point Vp in the entire area of the captured image 31 as the object of edge detection. The reason why the processing target of edge detection is limited in this way is that a white line cannot be detected even if edge detection is performed in a region above the vanishing point Vp. Furthermore, it is also for preventing the facility, the figurine, etc. which are contained in the picked-up image from being erroneously extracted as a white line by the white line candidate extraction unit 12b described later.

白線候補抽出部12bは、エッジ検出部12aによって検出されたエッジ線分から白線候補を抽出する処理部である。ここでは、自車両の走行領域の左側にある白線候補の抽出を行う場合を想定して以下の説明を行う。かかる場合には、白線候補抽出部12bは、撮影画像の中心部により近いエッジ線分から順にそのエッジ線分を内側線とし、その内側線と対をなす、すなわち内側線よりも左側に所在し、かつ内側線と略平行であるエッジ線分を外側線として検索する。ここで言う「内側線」とは、2つの白線によって形成される自車両の走行領域において白線と路面舗装との輝度値の差により顕在化するエッジ成分のうち各白線の内側に現れるエッジ成分を指す。また、「外側線」とは、2つの白線によって形成される自車両の走行領域において白線と路面舗装との輝度値の差により顕在化するエッジ成分のうち各白線の外側に現れるエッジ成分を指す。このとき、白線候補抽出部12bは、撮影画像における中心部よりも左側に所在するエッジ線分のうち、垂直方向に対する傾きが所定の角度以内であるエッジ線分を内側線として選定するものとする。なお、ここでは、自車両の走行領域の左側にある白線候補の抽出を行う場合を想定して説明を行ったが、自車両の走行領域の右側にある白線候補の抽出を行う場合も内側線および外側線の左右が逆になるだけでその他の処理は同様である。   The white line candidate extraction unit 12b is a processing unit that extracts white line candidates from the edge line segments detected by the edge detection unit 12a. Here, the following description will be made on the assumption that a white line candidate on the left side of the traveling area of the host vehicle is extracted. In such a case, the white line candidate extraction unit 12b sets the edge line segment in order from the edge line segment closer to the center of the captured image, and makes a pair with the inner line, that is, located on the left side of the inner line, An edge line segment that is substantially parallel to the inner line is searched as an outer line. The “inner line” here refers to an edge component that appears inside each white line among edge components that are manifested by a difference in luminance value between the white line and the road pavement in the traveling region of the host vehicle formed by the two white lines. Point to. The “outer line” refers to an edge component that appears outside each white line among edge components that are manifested by a difference in luminance value between the white line and the road pavement in the traveling region of the host vehicle formed by the two white lines. . At this time, the white line candidate extraction unit 12b selects, as an inner line, an edge line segment whose inclination with respect to the vertical direction is within a predetermined angle among edge line segments located on the left side of the center portion in the captured image. . Here, the description has been made on the assumption that the white line candidate on the left side of the traveling area of the own vehicle is extracted. However, the inner line is also extracted when the white line candidate on the right side of the traveling area of the own vehicle is extracted. The other processes are the same except that the left and right sides of the outer line are reversed.

そして、白線候補抽出部12bは、このようにして検索した内側線および外側線の重複率が所定の閾値以上であるか否かを判定する。ここで言う重複率とは、内側線および外側線の両方が重複する重複部分の長さが内側線の長さに占める割合をいう。図4は、白線のエッジ画像の一例を示す図である。図4に示す符号「41」は内側線を示す。図4に示す符号「42」は外側線を示す。図4に示す符号「43」は内側線41と外側線42の重複部分の長さを示す。図4に示す符号「44」は内側線41の長さを示す。図4に示す符号「45」は内側線41および外側線42が形成する帯線の横幅を指す。図4に示す例で言えば、白線候補抽出部12bは、内側線41および外側線42の両方が重複する重複部分の長さ43が内側線41の長さ44で占める百分率が25%以上であるか否かを判定する。   Then, the white line candidate extraction unit 12b determines whether the overlapping rate of the inner line and the outer line searched in this way is equal to or greater than a predetermined threshold. The overlapping rate here refers to the ratio of the length of the overlapping portion where both the inner line and the outer line overlap to the length of the inner line. FIG. 4 is a diagram illustrating an example of a white line edge image. Reference numeral “41” shown in FIG. 4 indicates an inner line. Reference numeral “42” shown in FIG. 4 indicates an outer line. Reference numeral “43” shown in FIG. 4 indicates the length of the overlapping portion of the inner line 41 and the outer line 42. Reference numeral “44” shown in FIG. 4 indicates the length of the inner line 41. Reference numeral “45” shown in FIG. 4 indicates the horizontal width of the band formed by the inner line 41 and the outer line 42. In the example shown in FIG. 4, the white line candidate extraction unit 12b is configured such that the percentage of the overlapping portion length 43 where both the inner line 41 and the outer line 42 overlap with the length 44 of the inner line 41 is 25% or more. It is determined whether or not there is.

続いて、白線候補抽出部12bは、重複率が所定の閾値以上である場合に、内側線および外側線の輝度値の変化が所定の閾値以内であるか否かをさらに判定する。ここで言う輝度値の変化とは、内側線および外側線における高輝度側の輝度値の差分の絶対値と、内側線および外側線における低輝度側の輝度値の差分の絶対値との和を指す。   Subsequently, the white line candidate extraction unit 12b further determines whether or not the change in the luminance value of the inner line and the outer line is within a predetermined threshold when the overlap rate is equal to or greater than the predetermined threshold. The change in the luminance value referred to here is the sum of the absolute value of the difference between the luminance values on the high luminance side in the inner line and the outer line and the absolute value of the difference in the luminance values on the lower luminance side in the inner line and the outer line. Point to.

図5は、内側線および外側線を境界とした輝度値の変化を説明するための図である。図5に示す符号「51A」は内側線41の高輝度側の領域を指す。図5に示す符号「51B」は内側線41の低輝度側の領域を指す。図5に示す符号「52A」は外側線42の高輝度側の領域を指す。図5に示す符号「52B」は外側線42の低輝度側の領域を指す。図5に示す例で言えば、白線候補抽出部12bは、領域51Aの輝度値の平均値および領域52Aの輝度値の平均値の差分値の絶対値と、領域51Bの輝度値の平均値および領域52Bの輝度値の平均値の差分値の絶対値とを足し合わせる。そして、白線候補抽出部12bは、2つの差分値の絶対値を足し合わせた合算値が所定の閾値、例えば50以内であるか否かを判定する。このとき、白線候補抽出部12bは、合算値が所定の閾値以上である場合には、内側線および外側線として仮決めした一対のエッジ線分を白線候補として抽出はしない。かかる輝度値の変化が閾値よりも大きい場合に白線候補から除外するのは、内側線および外側線の間で白線の色が大幅に変化することが稀であるからである。さらに、内側線が面する道路の舗装および外側線が面する道路の舗装の色が大幅に変化することも稀であるからである。   FIG. 5 is a diagram for explaining a change in luminance value with the inner line and the outer line as a boundary. A reference numeral “51 </ b> A” illustrated in FIG. 5 indicates a region on the high luminance side of the inner line 41. Reference numeral “51B” shown in FIG. 5 indicates a region on the low luminance side of the inner line 41. A symbol “52A” illustrated in FIG. 5 indicates a region on the high luminance side of the outer line 42. A symbol “52B” illustrated in FIG. 5 indicates a region on the low luminance side of the outer line 42. In the example shown in FIG. 5, the white line candidate extraction unit 12b includes the absolute value of the difference between the average value of the luminance value of the region 51A and the average value of the luminance value of the region 52A, the average value of the luminance value of the region 51B, and The absolute value of the difference value of the average value of the luminance values in the region 52B is added. Then, the white line candidate extraction unit 12b determines whether or not the total value obtained by adding the absolute values of the two difference values is within a predetermined threshold, for example, 50 or less. At this time, the white line candidate extraction unit 12b does not extract a pair of edge line segments temporarily determined as the inner line and the outer line as white line candidates when the sum is equal to or greater than a predetermined threshold. The reason why the white line candidate is excluded when the change in luminance value is larger than the threshold value is that the color of the white line rarely changes significantly between the inner line and the outer line. Furthermore, it is rare that the color of the road pavement facing the inner line and the road pavement facing the outer line change significantly.

そして、白線候補抽出部12bは、内側線および外側線の輝度値の変化が所定の閾値以内である場合に、内側線および外側線が形成する帯線の横幅が所定の範囲以内であるか否かをさらに判定する。図4に示した例で言えば、白線候補抽出部12bは、内側線41および外側線42が形成する帯線の横幅45が「10cm≦横幅≦75cm」の範囲に収まるか否かを判定する。このとき、白線候補抽出部12bは、帯線の横幅45が上記の範囲に収まらない場合には、内側線および外側線として仮決めした一対のエッジ線分を白線以外の他の路面標示候補として記憶部11の白線候補データ11aに登録する。   Then, the white line candidate extraction unit 12b determines whether the horizontal width of the band formed by the inner line and the outer line is within a predetermined range when the change in the luminance value of the inner line and the outer line is within a predetermined threshold. Determine further. In the example shown in FIG. 4, the white line candidate extraction unit 12b determines whether or not the horizontal width 45 of the band formed by the inner line 41 and the outer line 42 is within the range of “10 cm ≦ horizontal width ≦ 75 cm”. . At this time, if the horizontal line width 45 does not fall within the above range, the white line candidate extraction unit 12b sets the pair of edge lines temporarily determined as the inner line and the outer line as road marking candidates other than the white line. The white line candidate data 11a of the storage unit 11 is registered.

なお、ここでは、説明の便宜上、帯線の横幅と比較する値として、画像スケールから実寸スケールに換算された値を例示しているが、実際には画像スケールの値で帯線の横幅との比較が行われる。   In addition, here, for convenience of explanation, the value converted from the image scale to the actual scale is illustrated as a value to be compared with the width of the band, but in actuality, the value of the image scale and the width of the band A comparison is made.

続いて、白線候補抽出部12bは、内側線および外側線が形成する帯線の白線らしさを表す指標、以下白線スコアと表記を算出する。一例として、白線候補抽出部12bは、下記の算出式を用いて白線スコアを算出する。   Subsequently, the white line candidate extraction unit 12b calculates an index representing the white line-likeness of the band formed by the inner line and the outer line, and the white line score and notation hereinafter. As an example, the white line candidate extraction unit 12b calculates a white line score using the following calculation formula.

Figure 0005554579
Figure 0005554579

上記の算出式において「帯線の輝度値」とは、内側線および外側線が形成する帯線に含まれる画素いずれかの輝度値または各画素の平均値を指す。かかる「帯線の輝度値」を分子とする算出式とした場合には、帯線の色が白ければ白いほど白線スコアを上げる重み付けを行うことができる。   In the above calculation formula, the “band line luminance value” refers to the luminance value of one of the pixels included in the band formed by the inner line and the outer line or the average value of each pixel. In the case of the calculation formula using the “band line luminance value” as a numerator, the whiter the color of the band, the higher the white line score can be weighted.

また、「輝度値の差分」とは、内側線の高輝度側の輝度値−内側線の低輝度側の輝度値と、外側線の高輝度側の輝度値−外側線の低輝度側の輝度値との平均値を指す。図5に示す例で言い換えれば、領域51Aの輝度値の平均値−領域51Bの輝度値の平均値と、領域52Aの輝度値の平均値−領域52Bの輝度値の平均値との平均値を指す。かかる「輝度値の差分」を分子とする算出式とした場合には、白線と路面舗装のコントラストが明瞭であるほど白線スコアを上げる重み付けを行うことができる。   Also, the “brightness value difference” means the luminance value on the high luminance side of the inner line−the luminance value on the low luminance side of the inner line and the luminance value on the high luminance side of the outer line−the luminance on the low luminance side of the outer line. The average value with the value. In other words, in the example shown in FIG. 5, the average value of the luminance value of the region 51A−the average value of the luminance value of the region 51B and the average value of the luminance value of the region 52A−the average value of the luminance value of the region 52B. Point to. When such a “brightness value difference” is used as a numerator, weighting can be performed to increase the white line score as the contrast between the white line and the road pavement becomes clearer.

また、「処理範囲の長さ」とは、撮影画像のうちエッジ検出をはじめとする画像処理の対象とした範囲の垂直方向の長さを示す。かかる「処理範囲の長さ」を分母とし、「内側線の長さ」を分子とする算出式とした場合には、処理範囲に占める内側線の割合が多ければ多いほど白線スコアを上げる重み付けを行うことができる。   Further, “the length of the processing range” indicates the length in the vertical direction of the range of the captured image that is subjected to image processing including edge detection. In the case of the calculation formula using the “length of the processing range” as the denominator and the “length of the inner line” as the numerator, the weight of the white line score is increased as the proportion of the inner line in the processing range increases. It can be carried out.

また、「重複率」を加算する算出式とした場合には、内側線および外側線の両方が重複する重複部分の長さが内側線の長さに占める割合が大きいほど白線スコアを上げる重み付けを行うことができる。   In addition, when the calculation formula for adding the “overlap ratio” is used, the weight of the white line score is increased as the ratio of the overlapping portion where both the inner line and the outer line overlap to the inner line is larger. It can be carried out.

このように、上記の算出式を用いた場合には、白線候補抽出部12bは、一対のエッジ線分が白線と類似する傾向を示すほどスコアが高くなるように白線スコアを算出することができる。   As described above, when the above calculation formula is used, the white line candidate extraction unit 12b can calculate the white line score so that the score increases as the pair of edge line segments show a tendency similar to the white line. .

なお、白線スコアの算出式は、上記の算出式に限定されるものではない。例えば、白線スコアの算出式では、「帯線の輝度値」を含む項、「輝度値の差分」を含む項、「内側線の長さ」を含む項、重複率の項のうち一部の項を省くこともできるし、新たな項を追加することもできる。また、白線スコアの算出式では、各項に対して任意の定数を乗じたり、除したりすることで任意の重み付けを行うこともできる。また、上記の白線スコアの算出式では、加点方式としたが減点方式の算出式としてもかまわない。   The white line score calculation formula is not limited to the above calculation formula. For example, in the calculation formula of the white line score, a term including “brightness value of band”, a term including “difference of luminance value”, a term including “length of inner line”, and a part of overlap rate term Terms can be omitted or new terms can be added. In the calculation formula of the white line score, arbitrary weighting can be performed by multiplying or removing each term by an arbitrary constant. Further, although the white line score calculation formula is based on the point addition method, it may be a subtraction method calculation formula.

そして、白線候補抽出部12bは、白線スコアが所定の閾値以上である場合には、先に内側線および外側線と仮決めした一対のエッジ線分を白線候補として抽出し、抽出した一対のエッジ成分を白線候補データ11aとして記憶部11へ登録する。なお、白線候補抽出部12bは、白線スコアが所定の閾値未満である場合には、先に内側線および外側線と仮決めした一対のエッジ線分を白線候補として抽出しない。   Then, if the white line score is equal to or greater than a predetermined threshold, the white line candidate extraction unit 12b extracts a pair of edge lines that have been temporarily determined as the inner line and the outer line as white line candidates, and extracts the pair of extracted edges The component is registered in the storage unit 11 as white line candidate data 11a. If the white line score is less than a predetermined threshold, the white line candidate extraction unit 12b does not extract a pair of edge line segments that have been provisionally determined as an inner line and an outer line as white line candidates.

この白線候補を抽出した段階で得られたエッジ線分では、撮影画像に含まれるエッジ線分のうち道路のひび割れなどのノイズ成分が除外され、白線をはじめ、白線と類似する横断歩道、矢印標示や速度標示などの路面標示に絞られる。   In the edge line segment obtained at the stage of extracting the white line candidate, noise components such as road cracks are excluded from the edge line segment included in the photographed image, and the white line, pedestrian crossing similar to the white line, and arrow marking And road markings such as speed markings.

図2の説明に戻り、路面標示除外部12cは、白線候補の中から白線以外の路面標示を除外する処理部である。すなわち、路面標示除外部12cは、白線候補抽出部12bによって抽出された白線候補から「横断歩道」、「矢印標示」及び「速度標示」を除外する。   Returning to the description of FIG. 2, the road marking exclusion unit 12 c is a processing unit that excludes road markings other than white lines from white line candidates. In other words, the road marking exclusion unit 12c excludes “pedestrian crossing”, “arrow marking”, and “speed marking” from the white line candidates extracted by the white line candidate extraction unit 12b.

まず、白線候補から横断歩道を除外する場合について説明する。路面標示除外部12cは、撮影画像における1つの水平ラインに含まれる白線候補を探索し、1つの水平ラインに含まれる白線候補の数が所定の閾値以上であるか否かを判定する。例えば、路面標示除外部12cは、道路には1つの走行領域に2つの白線が含まれるのが原則であるので、先の閾値を3つとして白線候補の数が3つ以上存在する場合には白線候補が横断歩道の可能性があると判定する。   First, a case where a pedestrian crossing is excluded from white line candidates will be described. The road marking exclusion unit 12c searches for white line candidates included in one horizontal line in the captured image, and determines whether or not the number of white line candidates included in one horizontal line is equal to or greater than a predetermined threshold. For example, the road marking exclusion unit 12c is basically configured such that a road includes two white lines in one road area. Therefore, when the number of white line candidates is three or more with the previous threshold being three. The white line candidate is determined to be a pedestrian crossing.

さらに、路面標示除外部12cは、1つの水平ラインに含まれる白線候補の数が所定の閾値以上である場合に、その水平ラインに含まれる各白線候補のエッジ点間の距離が所定の範囲以内であるか否かをさらに判定する。ここで、横断歩道の縞模様の間隔は、予め道路標識、区画線および道路標示に関する命令により定められている。このため、路面標示除外部12cでは、各白線候補のエッジ点間の距離が横断歩道の縞模様の間隔として規定される規定値を含む所定の範囲、例えば「45cm≦横幅≦50cm」の範囲に収まるか否かを判定する。このとき、路面標示除外部12cは、各白線候補のエッジ点間の距離が所定の範囲内に収まる場合には、各白線候補のエッジ点を横断歩道候補のエッジ点と推定し、その横断歩道候補を路面標示データ11bとして記憶部11へ登録する。   Furthermore, when the number of white line candidates included in one horizontal line is equal to or greater than a predetermined threshold, the road marking exclusion unit 12c has a distance between edge points of the white line candidates included in the horizontal line within a predetermined range. It is further determined whether or not. Here, the interval of the stripe pattern of the pedestrian crossing is determined in advance by a command regarding a road sign, a lane marking, and a road marking. For this reason, in the road marking exclusion unit 12c, the distance between the edge points of each white line candidate is within a predetermined range including a prescribed value defined as the interval of the stripe pattern of the pedestrian crossing, for example, a range of “45 cm ≦ width ≦ 50 cm”. Judge whether it fits. At this time, when the distance between the edge points of each white line candidate falls within a predetermined range, the road marking exclusion unit 12c estimates the edge point of each white line candidate as the edge point of the pedestrian crossing candidate, and the pedestrian crossing The candidate is registered in the storage unit 11 as road marking data 11b.

かかる水平ラインに対する白線候補の探索が撮影画像の全ラインについて終了すると、路面標示除外部12cは、記憶部11に路面標示データ11bとして記憶された横断歩道候補のエッジ点が垂直方向に連続するか否かを判定する。そして、路面標示除外部12cは、垂直方向に連続する横断歩道候補の長さが所定の閾値以上であるか否かを判定する。ここで、横断歩道において歩行者が横断方向と直行する方向の幅、すなわち横断歩道の横幅は、少なくとも2m以上であると想定される。このため、路面標示除外部12cでは、横断歩道候補の長さが2m以上であるか否かを判定する。このとき、路面標示除外部12cは、横断歩道候補の長さが2m以上である場合には、横断歩道候補を横断歩道と決定し、横断歩道候補を横断歩道として記憶部11へ確定登録する。そして、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補の中から、横断歩道として確定登録した横断歩道候補のエッジ点を含む白線候補を削除することにより、白線候補から横断歩道を除外する。   When the search for the white line candidate for the horizontal line is completed for all the lines of the captured image, the road marking exclusion unit 12c determines whether the edge points of the pedestrian crossing candidates stored as the road marking data 11b in the storage unit 11 are continuous in the vertical direction. Determine whether or not. Then, the road marking exclusion unit 12c determines whether or not the length of the pedestrian crossing candidate continuous in the vertical direction is equal to or greater than a predetermined threshold. Here, it is assumed that the width of the pedestrian crossing in the direction in which the pedestrian is orthogonal to the crossing direction, that is, the width of the pedestrian crossing is at least 2 m. For this reason, the road marking exclusion unit 12c determines whether the length of the pedestrian crossing candidate is 2 m or longer. At this time, when the length of the pedestrian crossing candidate is 2 m or more, the road marking exclusion unit 12c determines the pedestrian crossing candidate as a pedestrian crossing and confirms and registers the pedestrian crossing candidate as a pedestrian crossing in the storage unit 11. Then, the road marking exclusion unit 12c deletes the white line candidate including the edge point of the pedestrian crossing candidate that is confirmed and registered as a pedestrian crossing from the white line candidates stored as the white line candidate data 11a in the storage unit 11, thereby Exclude pedestrian crossings from candidates.

次に、白線候補から矢印標示を除外する場合について説明する。路面標示除外部12cは、矢印標示の特徴に基づいて白線候補から矢印標示を除外する。図6は、矢印標示の一例を示す図である。図6に示す符号「61A」は直進矢印標示を示す。図6に示す符号「62B」は、右折矢印標示を示す。図7は、矢印標示のエッジ画像の一例を示す図である。図7に示す符号「71A」及び「72A」は直線矢印標示の矢印部分のエッジ線分を示す。図7に示す符号「73A」は直線矢印標示の矢印部分のエッジ線分の交点を示す。図7に示す符号「74A」は直線矢印標示の帯線部分を形成するエッジ線分を示す。図7に示す符号「71B」〜「74B」は右折矢印標示の矢印部分のエッジ線分を示す。図7に示す符号「75B」及び「76B」は右折矢印標示の矢印部分のエッジ線分の交点を示す。図7に示す符号「77B」は右折矢印標示の帯線部分を形成するエッジ線分を示す。   Next, a case where an arrow mark is excluded from white line candidates will be described. The road marking exclusion unit 12c excludes the arrow marking from the white line candidates based on the feature of the arrow marking. FIG. 6 is a diagram illustrating an example of an arrow marking. Reference numeral “61A” shown in FIG. 6 indicates a straight arrow mark. Reference numeral “62B” shown in FIG. 6 indicates a right turn arrow sign. FIG. 7 is a diagram illustrating an example of an edge image of an arrow sign. Reference numerals “71A” and “72A” shown in FIG. 7 indicate edge line segments of the arrow portion of the straight arrow mark. The symbol “73A” shown in FIG. 7 indicates the intersection of the edge line segments of the arrow portion of the straight arrow mark. Reference numeral “74A” shown in FIG. 7 indicates an edge line segment that forms a band portion of a straight arrow mark. Symbols “71B” to “74B” shown in FIG. 7 indicate edge line segments of the arrow portion of the right turn arrow marking. Symbols “75B” and “76B” shown in FIG. 7 indicate the intersections of the edge line segments of the arrow portion of the right turn arrow marking. Reference numeral “77B” shown in FIG. 7 indicates an edge line segment forming a band portion of the right turn arrow mark.

図6に示す直線矢印標示61A及び右折矢印標示62Bは、図7に示すように、いずれも矢印標示の矢印部分のエッジ線分が交わるエッジ画像が得られるという傾向、さらには、矢印部分の下部近傍に白線と類似する帯線部分を有する傾向がある。図7の例で言えば、直線矢印標示61Aのエッジ画像では、エッジ線分71Aを内側線、エッジ線分72Aを外側線とする白線候補が交点73Aで交わる。さらに、直線矢印標示61Aのエッジ画像では、エッジ線分71A及び72Aを有する白線候補の下部近傍に、白線と類似する帯線部分74Aを有する他の白線候補が存在する。一方、右折矢印標示62Bのエッジ画像では、エッジ線分71Bを内側線、エッジ線分72Bを外側線とする白線候補が交点75Bで交わり、エッジ線分73Bを内側線、エッジ線分74Bを外側線とする白線候補が交点76Bで交わる。さらに、右折矢印標示61Bのエッジ画像では、エッジ線分71B及び72Bを有する白線候補と、エッジ線分73B及びエッジ線分74Bを有する白線候補の下部近傍に、白線と類似する帯線部分77Bを有する他の白線候補が存在する。   As shown in FIG. 7, the straight arrow sign 61A and the right turn arrow sign 62B shown in FIG. 6 tend to obtain an edge image in which the edge line segment of the arrow part of the arrow sign intersects, and further, the lower part of the arrow part. There is a tendency to have a band portion similar to the white line in the vicinity. In the example of FIG. 7, in the edge image of the straight arrow sign 61A, white line candidates having the edge line segment 71A as the inner line and the edge line segment 72A as the outer line intersect at the intersection 73A. Further, in the edge image of the straight arrow mark 61A, there are other white line candidates having a band portion 74A similar to the white line in the vicinity of the lower portion of the white line candidate having the edge line segments 71A and 72A. On the other hand, in the edge image of the right turn arrow mark 62B, white line candidates having the edge line segment 71B as the inner line and the edge line segment 72B as the outer line intersect at the intersection 75B, the edge line segment 73B as the inner line, and the edge line segment 74B as the outer line. White line candidates as lines intersect at the intersection point 76B. Further, in the edge image of the right turn arrow sign 61B, a white line candidate having edge line segments 71B and 72B and a band line portion 77B similar to the white line in the vicinity of the lower part of the white line candidate having edge line segment 73B and edge line segment 74B are provided. There are other white line candidates to have.

これらのことから、路面標示除外部12cは、白線候補に含まれる内側線および外側線が交わり、かつその白線候補の下部近傍に他の白線候補が存在する場合には、白線候補及び他の白線候補を矢印標示として推定する。これによって、路面標示除外部12cは、白線と類似する帯線部分を有する矢印標示を白線候補から除外できる。   For these reasons, the road marking exclusion unit 12c, when the inner line and the outer line included in the white line candidate intersect and another white line candidate exists near the lower part of the white line candidate, the white line candidate and the other white line Candidates are estimated as arrow markings. Thereby, the road surface marking exclusion unit 12c can exclude an arrow marking having a band portion similar to the white line from the white line candidates.

これを説明すると、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補を1つ取り出す。そして、路面標示除外部12cは、白線候補に含まれる内側線および外側線が交わるか否かを判定する。そして、路面標示除外部12cは、内側線および外側線が交わる場合には、その白線候補の下部近傍に他の白線候補が存在するか否かをさらに判定する。このとき、路面標示除外部12cは、他の白線候補が存在する場合には、白線候補及び他の白線候補を矢印標示として記憶部11へ登録し直す。その後、路面標示除外部12cは、交点の探索および矢印標示の帯線部分の探索を全白線候補を対象に繰り返し行う。そして、全白線候補について探索が終了すると、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補の中から、矢印標示として登録し直した白線候補を削除することにより、白線候補から矢印標示を除外する。   Explaining this, the road marking exclusion unit 12c extracts one white line candidate stored in the storage unit 11 as the white line candidate data 11a. Then, the road marking exclusion unit 12c determines whether or not the inner line and the outer line included in the white line candidate intersect. Then, when the inner line and the outer line cross each other, the road marking exclusion unit 12c further determines whether another white line candidate exists near the lower part of the white line candidate. At this time, when there are other white line candidates, the road marking exclusion unit 12c re-registers the white line candidates and the other white line candidates in the storage unit 11 as arrow marks. Thereafter, the road marking exclusion unit 12c repeatedly performs the search for intersections and the banded line portion of the arrow markings for all white line candidates. When the search for all white line candidates is completed, the road marking exclusion unit 12c deletes the white line candidates that are re-registered as arrow markings from the white line candidates stored as the white line candidate data 11a in the storage unit 11. The arrow marking is excluded from the white line candidates.

次に、白線候補から速度標示を除外する場合について説明する。路面標示除外部12cは、速度標示の特徴に基づいて白線候補から速度標示を除外する。すなわち、速度標示には、「40(km/h)」、「50(km/h)」、「60(km/h)」、・・・というように一の位が必ず「0」になるという傾向がある。このことから、路面標示除外部12cでは、速度標示に含まれる「0」の部分を検出し、検出した「0」の部分から速度標示がなされる領域を推定する。そして、路面標示除外部12cは、速度標示領域に含まれる白線候補を除外することにより、白線候補から速度標示を除外する。   Next, a case where a speed indicator is excluded from white line candidates will be described. The road marking exclusion unit 12c excludes the speed marking from the white line candidates based on the characteristics of the speed marking. That is, in the speed indicator, the first place is always “0” such as “40 (km / h)”, “50 (km / h)”, “60 (km / h)”,. There is a tendency. Therefore, the road marking exclusion unit 12c detects the “0” portion included in the speed marking, and estimates the area where the speed marking is made from the detected “0” portion. And the road marking exclusion part 12c excludes a speed marking from a white line candidate by excluding the white line candidate contained in a speed marking area | region.

図8は、速度標示における数字ゼロの特定要領を説明するための図である。図8に示す符号「80」は速度標示の一例を示す図である。図8に示す符号「80a」は速度標示に含まれる数字ゼロを示す。図8に示す符号「80b」は速度標示に含まれる数字ゼロ80aのエッジ線分を示す。図8に示す符号「81」は白線候補の外側のエッジ線分間の間隔を示す。図8に示す符号「82」は水平方向に整列する二組の白線候補を示す。図8に示す符号「83」は、撮影画像の奥側、すなわち上側の水平方向のエッジ線分を示す。図8に示す符号「84」は、撮影画像の手前側、すなわち下側の水平方向のエッジ線分を示す。図8に示す符号「85」は速度標示80のエッジ画像を示す。   FIG. 8 is a diagram for explaining the specific point of the numeral zero in the speed indicator. Reference numeral “80” shown in FIG. 8 is a diagram showing an example of a speed indicator. The code “80a” shown in FIG. 8 indicates the number zero included in the speed indicator. Reference numeral “80b” shown in FIG. 8 indicates an edge line segment of the number zero 80a included in the speed indicator. Reference numeral “81” shown in FIG. 8 indicates an interval between edge line segments outside the white line candidate. Reference numeral “82” shown in FIG. 8 indicates two sets of white line candidates aligned in the horizontal direction. A symbol “83” illustrated in FIG. 8 indicates a horizontal edge line segment on the back side, that is, the upper side of the captured image. A symbol “84” illustrated in FIG. 8 indicates a horizontal edge line segment on the front side, that is, the lower side of the captured image. A reference numeral “85” shown in FIG. 8 indicates an edge image of the speed indicator 80.

図8に示すように、速度標示80には数字ゼロ80aが含まれる。路面標示除外部12cは、撮影画像の水平方向に整列する白線候補82の組を探索する。このとき、路面標示除外部12cは、白線候補82の外側同士のエッジ線分の間隔81が所定値、例えば速度標示に含まれる数字ゼロ80aの規定値である50cmであるか否かを判定する。なお、ここでは、白線候補82の外側のエッジ線分間の間隔81が数字ゼロ80aの規定値との間で過不足がない場合に速度標示の数字ゼロ80aである可能性ありと判定する場合を説明したが、規定値を基準とする所定の範囲に収まるか否かと幅を設けてもよい。   As shown in FIG. 8, the speed indicator 80 includes the number zero 80a. The road marking exclusion unit 12c searches for a set of white line candidates 82 aligned in the horizontal direction of the captured image. At this time, the road marking exclusion unit 12c determines whether or not the interval 81 between the edge line segments outside the white line candidate 82 is a predetermined value, for example, 50 cm which is a specified value of the number zero 80a included in the speed marking. . Here, a case where it is determined that there is a possibility that the speed indicator number zero 80a may exist when the interval 81 between the outer edge lines of the white line candidate 82 is not excessive or insufficient with respect to the specified value of the number zero 80a. Although described, a width may be provided as to whether or not it falls within a predetermined range based on the specified value.

また、路面標示除外部12cは、白線候補82の外側同士のエッジ線分の間隔81が所定値である場合に、その白線候補82の組の下部近傍に水平方向のエッジ線分84が存在するか否かをさらに判定する。ここで、路面標示除外部12cは、車載カメラ200と速度標示80との位置関係からいって撮影画像の奥側のエッジ線分83よりも手前側のエッジ線分84の方が車載カメラ200に近くなるので、エッジ線分84の方がエッジ線分の成分も大きくなる。このため、路面標示除外部12cでは、速度標示の数字ゼロ80aの検出に撮影画像の手前側のエッジ線分84を用いることとしたが、撮影画像の奥側の2つのエッジ線分83を用いることとしてもよい。   Further, when the interval 81 between the edge line segments outside the white line candidate 82 is a predetermined value, the road marking exclusion unit 12c has a horizontal edge line segment 84 in the vicinity of the lower part of the set of white line candidates 82. It is further determined whether or not. Here, the road surface marking exclusion unit 12c is configured so that the edge line segment 84 on the near side is closer to the vehicle-mounted camera 200 than the edge line segment 83 on the far side of the photographed image based on the positional relationship between the vehicle-mounted camera 200 and the speed marking 80. Since they are closer, the edge line segment 84 also has a larger component. For this reason, the road marking exclusion unit 12c uses the edge segment 84 on the near side of the photographed image for detection of the speed indicator number zero 80a, but uses the two edge line segments 83 on the far side of the photographed image. It is good as well.

そして、路面標示除外部12cは、白線候補82の組の下部近傍に水平方向のエッジ線分84が存在する場合には、速度標示の数字ゼロ80aが撮影画像に含まれるものと見做し、数字ゼロ80aの標示領域から速度標示領域を算出する。   Then, when the horizontal line segment 84 exists in the vicinity of the lower part of the set of white line candidates 82, the road marking exclusion unit 12c considers that the speed indicator number zero 80a is included in the captured image, The speed marking area is calculated from the marking area of the number zero 80a.

図9は、速度標示領域の算出要領を説明するための図である。図9に示す符号「91」は速度標示に含まれる数字ゼロの標示領域を示す。図9に示す符号「92」は速度標示に含まれる十の位の数字の標示領域を示す図9に示す符号「93」は二桁の速度標示を行う場合の速度標示領域を示す。図9に示す例で言えば、速度標示に含まれる数字ゼロの標示領域91は縦5m及び横50cmの領域と規定されている。また、速度標示に含まれる十の位の数字の標示領域92は縦5m及び横70cmの領域と規定されている。このため、路面標示除外部12cは、数字ゼロの標示領域91の左側に十の位の数字の標示領域92を併せた領域、すなわち縦5m及び横1.2mの領域を速度標示領域93として算出する。なお、図9の例では、二桁の速度標示を行う場合の速度標示領域を説明したが、三桁の速度標示を行う場合にも同様にして速度標示領域を算出できる。   FIG. 9 is a diagram for explaining the calculation procedure of the speed indication area. Reference numeral “91” shown in FIG. 9 indicates a sign area of the number zero included in the speed sign. A reference numeral “92” shown in FIG. 9 indicates a tenth digit number indicating area included in the speed indicator, and a reference numeral “93” shown in FIG. 9 indicates a speed indication area when two-digit speed indication is performed. In the example shown in FIG. 9, the number zero indicating region 91 included in the speed indicator is defined as a region of 5 m in length and 50 cm in width. In addition, a tenth digit number marking area 92 included in the speed marking is defined as an area having a length of 5 m and a width of 70 cm. For this reason, the road surface marking exclusion unit 12c calculates a speed marking area 93 by adding a tens digit marking area 92 to the left of the numeral zero marking area 91, that is, a 5 m vertical area and a 1.2 m horizontal area. To do. In the example of FIG. 9, the speed marking area in the case of performing two-digit speed marking has been described. However, the speed marking area can be similarly calculated in the case of performing three-digit speed marking.

このようにして速度標示領域93を算出すると、路面標示除外部12cは、速度標示の数字ゼロ80aと検出した白線候補82を速度標示として記憶部11へ登録し直す。その後、路面標示除外部12cは、数字ゼロ80aの検出および速度標示領域の算出を全白線候補を対象に繰り返し行う。そして、全白線候補について処理が終了すると、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補の中から、速度標示として登録し直した白線候補を削除することにより、白線候補から速度標示を除外する。   When the speed marking area 93 is calculated in this way, the road marking exclusion unit 12c re-registers the speed marking number zero 80a and the detected white line candidate 82 in the storage unit 11 as a speed marking. Thereafter, the road marking exclusion unit 12c repeatedly detects the number zero 80a and calculates the speed marking area for all white line candidates. When the processing is completed for all white line candidates, the road marking exclusion unit 12c deletes the white line candidates re-registered as speed indications from the white line candidates stored as the white line candidate data 11a in the storage unit 11. , Exclude speed marking from white line candidates.

この路面標示を除外した段階で得られた白線候補には、白線と類似する横断歩道、矢印標示および速度標示などの他の路面標示が除外され、全てのエッジ成分のうち白線に係るエッジ線分だけが白線候補データ11aとして記憶部11に残されることになる。   The white line candidates obtained when this road marking is excluded excludes other road markings such as pedestrian crossings, arrow markings, and speed markings similar to the white line, and the edge line segment related to the white line among all edge components. Only the white line candidate data 11a is left in the storage unit 11.

図2の説明に戻り、白線決定部12dは、路面標示除外部12cによって白線以外の他の路面標示が除外された白線候補に基づき、白線を決定する処理部である。例えば、白線決定部12dは、路面標示除外部12cによって路面標示が除外された後に、記憶部11に白線候補データ11aとして記憶された白線候補同士を道路が連なる方向に沿って連結し、連結した白線を白線データ11cとして記憶部11へ登録する。   Returning to the description of FIG. 2, the white line determination unit 12d is a processing unit that determines a white line based on white line candidates from which road markings other than the white line are excluded by the road marking exclusion unit 12c. For example, the white line determination unit 12d connects the white line candidates stored as the white line candidate data 11a in the storage unit 11 along the direction in which the roads are connected after the road marking is excluded by the road marking exclusion unit 12c. The white line is registered in the storage unit 11 as white line data 11c.

出力制御部12eは、白線データ11cの出力制御を行う処理部である。一例としては、出力制御部12eは、路面標示除外部12cによって白線以外の他の路面標示が検出されずに白線決定部12dによって白線だけが単独で検出された場合にはその白線の検出結果である白線データ11cを自車位置判断部12fへ出力する。一方、出力制御部12eは、白線決定部12dによって白線が検出されるとともに路面標示除外部12cによって白線以外の他の路面標示が検出された場合には白線データ11cを自車位置判断部12fへ出力するのを抑止する。なお、ここでは、車載装置10内の他の機能部として自車位置判断部12fへ白線データを出力させる場合の制御について説明したが、車載装置10の外部装置へ白線データを出力する場合の制御についても同様である。   The output control unit 12e is a processing unit that performs output control of the white line data 11c. As an example, the output control unit 12e uses the detection result of the white line when the white line determination unit 12d detects only the white line alone without detecting the road marking other than the white line by the road marking exclusion unit 12c. Certain white line data 11c is output to the vehicle position determination unit 12f. On the other hand, when the white line is detected by the white line determination unit 12d and the road marking exclusion unit 12c detects a road marking other than the white line, the output control unit 12e sends the white line data 11c to the own vehicle position determination unit 12f. Suppresses output. Here, the control in the case where white line data is output to the vehicle position determination unit 12f as another functional unit in the in-vehicle device 10 has been described, but the control in the case where white line data is output to an external device of the in-vehicle device 10 is described. The same applies to.

自車位置判断部12fは、出力制御部12eによって出力される白線データ11cと、車載カメラ200の設置位置及び設置角度とを用いて路面上での自車位置を判断する処理部である。この自車位置判断部12fには、白線決定部12dで白線データ11cが生成されたからといって必ずしも白線データ11cが供給されるとは限らない。すなわち、自車位置判断部12fは、出力制御部12eによって白線データ11cが出力された場合、つまり白線が単独検出された場合に、2つの白線により形成される走行領域上で自車両が所在する位置を認識する。このとき、自車位置判断部12fは、自車両が白線に所定の距離、例えば30cmまで近付いている場合や白線からはみ出している場合などには、車両ECU300や出力デバイス400にその旨を出力する。   The vehicle position determination unit 12f is a processing unit that determines the vehicle position on the road surface using the white line data 11c output by the output control unit 12e and the installation position and installation angle of the in-vehicle camera 200. The white line data 11c is not necessarily supplied to the vehicle position determination unit 12f just because the white line data 11c is generated by the white line determination unit 12d. That is, when the white line data 11c is output by the output control unit 12e, that is, when a white line is detected alone, the own vehicle position determination unit 12f is present on the traveling area formed by the two white lines. Recognize position. At this time, the host vehicle position determination unit 12f outputs the fact to the vehicle ECU 300 or the output device 400 when the host vehicle is close to a white line, for example, up to 30 cm, or protrudes from the white line. .

[処理の流れ]
次に、本実施例に係る車載装置の処理の流れを説明する。図10は、実施例2に係る出力制御処理の手順を示すフローチャートである。この処理は、車載カメラ200によって撮影画像が入力画像として入力されるか、或いは記憶部11に記憶された撮影画像が読み出された場合に処理が起動する。
[Process flow]
Next, a processing flow of the in-vehicle device according to the present embodiment will be described. FIG. 10 is a flowchart illustrating the procedure of the output control process according to the second embodiment. This process is started when a captured image is input as an input image by the in-vehicle camera 200 or when a captured image stored in the storage unit 11 is read.

図10に示すように、撮影画像が入力されると(ステップS101肯定)、エッジ検出部12aは、撮影画像の各画素の輝度値からエッジ点を検出し(ステップS102)、検出したエッジ点を繋ぎ合わせることによりエッジ線分を検出する(ステップS103)。続いて、白線候補抽出部12bは、エッジ検出部12aによって検出されたエッジ線分から白線候補を抽出する「白線候補抽出処理」を行う(ステップS104)。   As shown in FIG. 10, when a captured image is input (Yes at Step S101), the edge detection unit 12a detects an edge point from the luminance value of each pixel of the captured image (Step S102), and the detected edge point is detected. Edge line segments are detected by connecting them (step S103). Subsequently, the white line candidate extraction unit 12b performs “white line candidate extraction processing” for extracting white line candidates from the edge line segments detected by the edge detection unit 12a (step S104).

ここで、図11を用いて、図10のステップS104で示した白線候補抽出処理について説明する。図11は、実施例2に係る白線候補抽出処理の手順を示すフローチャートである。図11に示すように、白線候補抽出部12bは、撮影画像の中心部により近いエッジ線分から順にそのエッジ線分を内側線と仮決めし、その内側線と対をなす外側線を検索する(ステップS201)。   Here, the white line candidate extraction process shown in step S104 of FIG. 10 will be described with reference to FIG. FIG. 11 is a flowchart illustrating a procedure of white line candidate extraction processing according to the second embodiment. As shown in FIG. 11, the white line candidate extraction unit 12b provisionally determines the edge line segment as the inner line in order from the edge line segment closer to the center of the captured image, and searches for the outer line that makes a pair with the inner line ( Step S201).

そして、白線候補抽出部12bは、これら内側線および外側線の重複率が所定の閾値以上であるか否かを判定する(ステップS202)。このとき、重複率が所定の閾値以上である場合(ステップS202肯定)には、白線候補抽出部12bは、内側線および外側線の輝度値の変化が所定の閾値以内であるか否かをさらに判定する(ステップS203)。なお、輝度値の変化とは、例えば、内側線および外側線における高輝度側の輝度値の差分の絶対値と、内側線および外側線における低輝度側の輝度値の差分の絶対値との和を指す。   Then, the white line candidate extraction unit 12b determines whether or not the overlapping rate of the inner line and the outer line is equal to or greater than a predetermined threshold (step S202). At this time, if the overlap rate is equal to or higher than the predetermined threshold (Yes at Step S202), the white line candidate extraction unit 12b further determines whether or not the change in the luminance value of the inner line and the outer line is within the predetermined threshold. Determination is made (step S203). The change in the luminance value is, for example, the sum of the absolute value of the difference between the luminance values on the high luminance side in the inner line and the outer line and the absolute value of the difference in the luminance values on the lower luminance side in the inner line and the outer line. Point to.

続いて、内側線および外側線の輝度値の変化が所定の閾値以内である場合(ステップS203肯定)には、白線候補抽出部12bは、内側線および外側線が形成する帯線の横幅が所定の範囲以内であるか否かをさらに判定する(ステップS204)。   Subsequently, when the change in the luminance value of the inner line and the outer line is within a predetermined threshold (Yes in step S203), the white line candidate extraction unit 12b determines that the width of the band formed by the inner line and the outer line is predetermined. It is further determined whether it is within the range (step S204).

そして、内側線および外側線が形成する帯線の横幅が所定の範囲以内である場合(ステップS204肯定)には、白線候補抽出部12bは、内側線および外側線が形成する帯線の白線スコアを算出する(ステップS205)。   If the width of the band formed by the inner line and the outer line is within the predetermined range (Yes in step S204), the white line candidate extraction unit 12b determines the white line score of the band formed by the inner line and the outer line. Is calculated (step S205).

ここで、白線スコアが所定の閾値以上である場合(ステップS206肯定)には、白線候補抽出部12bは、先に内側線および外側線と仮決めした一対のエッジ線分を白線候補データ11aとして記憶部11へ登録する(ステップS207)。一方、白線スコアが所定の閾値未満である場合(ステップS206否定)には、そのままステップS209へ移行する。   Here, when the white line score is equal to or greater than the predetermined threshold (Yes at Step S206), the white line candidate extraction unit 12b uses the pair of edge lines that are provisionally determined as the inner line and the outer line as the white line candidate data 11a. Registration in the storage unit 11 (step S207). On the other hand, when the white line score is less than the predetermined threshold (No at Step S206), the process proceeds to Step S209 as it is.

また、内側線及び外側線が形成する帯線の横幅が所定の範囲以内でない場合(ステップS204否定)に、白線候補抽出部12bは、内側線及び外側線として仮決めした一対のエッジ線分を他の路面標示候補として記憶部11に登録する(ステップS208)。   In addition, when the width of the band formed by the inner line and the outer line is not within the predetermined range (No in step S204), the white line candidate extraction unit 12b uses the pair of edge line segments temporarily determined as the inner line and the outer line. It registers with the memory | storage part 11 as another road marking candidate (step S208).

また、重複率が所定の閾値未満である場合(ステップS202否定)或いは内側線および外側線の輝度値の変化が所定の閾値以上である場合(ステップS203否定)、そのままステップS209へ移行する。   When the overlap rate is less than the predetermined threshold (No at Step S202) or when the change in the luminance value of the inner line and the outer line is equal to or greater than the predetermined threshold (No at Step S203), the process proceeds to Step S209 as it is.

その後、エッジ検出部12aによって検出された全てのエッジ線分を内側線として探索が終了するまで(ステップS209否定)、上記のステップS201〜S208までの処理を繰り返し行う。そして、全てのエッジ線分を内側線として探索が終了した場合(ステップS209肯定)に、白線候補抽出部11cは処理を終了する。   Thereafter, the processing from the above steps S201 to S208 is repeated until the search is completed using all the edge line segments detected by the edge detection unit 12a as inner lines (No at step S209). When the search is completed with all edge line segments as inner lines (Yes at Step S209), the white line candidate extraction unit 11c ends the process.

図10の説明に戻り、路面標示除外部12cは、白線候補抽出部11bによって抽出された白線候補から横断歩道を除外する「横断歩道除外処理」を実行する(ステップS105)。   Returning to the description of FIG. 10, the road marking exclusion unit 12 c executes “pedestrian crossing exclusion process” for excluding the pedestrian crossing from the white line candidates extracted by the white line candidate extraction unit 11 b (step S <b> 105).

ここで、図12を用いて、図10のステップS105で示した横断歩道除外処理について説明する。図12は、実施例2に係る横断歩道除外処理の手順を示すフローチャートである。図12に示すように、路面標示除外部12cは、撮影画像における1つの水平ラインに含まれる白線候補を探索する(ステップS301)。   Here, the crosswalk exclusion process shown in step S105 of FIG. 10 will be described with reference to FIG. FIG. 12 is a flowchart illustrating the procedure of the crosswalk exclusion process according to the second embodiment. As illustrated in FIG. 12, the road marking exclusion unit 12c searches for white line candidates included in one horizontal line in the captured image (step S301).

そして、路面標示除外部12cは、1つの水平ラインに含まれる白線候補の数が所定の閾値以上であるか否かを判定する(ステップS302)。このとき、白線候補の数が所定の閾値以上である場合(ステップS302肯定)には、路面標示除外部12cは、その水平ラインに含まれる各白線候補のエッジ点間の距離が所定の範囲以内であるか否かをさらに判定する(ステップS303)。   Then, the road marking exclusion unit 12c determines whether or not the number of white line candidates included in one horizontal line is equal to or greater than a predetermined threshold (step S302). At this time, if the number of white line candidates is equal to or greater than the predetermined threshold (Yes at Step S302), the road marking exclusion unit 12c determines that the distance between the edge points of the white line candidates included in the horizontal line is within a predetermined range. Is further determined (step S303).

ここで、各白線候補のエッジ点間の距離が所定の範囲内に収まる場合(ステップS303肯定)に、路面標示除外部12cは、各白線候補のエッジ点を横断歩道候補のエッジ点と推定し、その横断歩道候補のエッジ点を記憶部11へ登録する(ステップS304)。   Here, when the distance between the edge points of each white line candidate is within a predetermined range (Yes in step S303), the road marking exclusion unit 12c estimates the edge point of each white line candidate as the edge point of the pedestrian crossing candidate. Then, the edge point of the pedestrian crossing candidate is registered in the storage unit 11 (step S304).

また、白線候補の数が所定の閾値未満である場合(ステップS302否定)、或いは各白線候補のエッジ点間の距離が所定の範囲内に収まる場合(ステップS303否定)には、路面標示除外部12cは、ステップS305へ処理を移行する。   When the number of white line candidates is less than a predetermined threshold (No at Step S302), or when the distance between edge points of each white line candidate is within a predetermined range (No at Step S303), a road marking exclusion unit In 12c, the process proceeds to step S305.

そして、水平ラインに対する白線候補の探索が全ラインについて終了するまで(ステップS305否定)、路面標示除外部12cは、上記のステップS301〜S304までの処理を繰り返し行う。   Then, until the search for white line candidates for the horizontal line is completed for all lines (No at Step S305), the road surface marking exclusion unit 12c repeats the processes from Steps S301 to S304 described above.

その後、水平ラインに対する白線候補の探索が全ラインについて終了すると(ステップS305肯定)、路面標示除外部12cは、記憶部11に記憶された横断歩道候補のエッジ点が垂直方向に連続するか否かを判定する(ステップS306)。そして、横断歩道候補のエッジ点が垂直方向に連続する場合(ステップS306肯定)には、路面標示除外部12cは、垂直方向に連続する横断歩道候補の長さが所定の閾値以上であるか否かを判定する(ステップS307)。   Thereafter, when the search for white line candidates for the horizontal line is completed for all lines (Yes in step S305), the road marking exclusion unit 12c determines whether or not the edge points of the pedestrian crossing candidates stored in the storage unit 11 are continuous in the vertical direction. Is determined (step S306). If the edge points of the pedestrian crossing candidate are continuous in the vertical direction (Yes in step S306), the road marking exclusion unit 12c determines whether the length of the pedestrian crossing candidate continuous in the vertical direction is equal to or greater than a predetermined threshold value. Is determined (step S307).

ここで、横断歩道候補の長さが所定の閾値以上である場合(ステップS307肯定)には、路面標示除外部12cは、横断歩道候補を横断歩道と決定し、横断歩道候補を横断歩道として記憶部11へ確定登録する(ステップS308)。そして、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補の中から、横断歩道として確定登録した横断歩道候補のエッジ点を含む白線候補を削除することにより、白線候補から横断歩道を除外する(ステップS309)。   If the length of the pedestrian crossing candidate is equal to or greater than the predetermined threshold (Yes at step S307), the road marking exclusion unit 12c determines the pedestrian crossing candidate as a pedestrian crossing and stores the pedestrian crossing candidate as a pedestrian crossing. Final registration is performed in the unit 11 (step S308). Then, the road marking exclusion unit 12c deletes the white line candidate including the edge point of the pedestrian crossing candidate that is confirmed and registered as a pedestrian crossing from the white line candidates stored as the white line candidate data 11a in the storage unit 11, thereby The pedestrian crossing is excluded from the candidates (step S309).

一方、記憶部11に記憶された横断歩道候補のエッジ点が垂直方向に連続しない場合(ステップS306否定)或いは横断歩道候補の長さが所定の閾値未満である場合(ステップS307否定)には、路面標示除外部12cは、そのまま処理を終了する。   On the other hand, when the edge points of the pedestrian crossing candidates stored in the storage unit 11 are not continuous in the vertical direction (No at Step S306) or when the length of the pedestrian crossing candidate is less than a predetermined threshold (No at Step S307), The road marking exclusion unit 12c ends the process as it is.

図10の説明に戻り、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補から矢印標示を除外する「矢印標示除外処理」を実行する(ステップS106)。   Returning to the description of FIG. 10, the road marking exclusion unit 12 c executes “arrow marking exclusion processing” for excluding arrow markings from white line candidates stored as white line candidate data 11 a in the storage unit 11 (step S <b> 106).

ここで、図13を用いて、図10のステップS106で示した矢印標示除外処理について説明する。図13は、実施例2に係る矢印標示除外処理の手順を示すフローチャートである。   Here, the arrow marking exclusion process shown in step S106 of FIG. 10 will be described with reference to FIG. FIG. 13 is a flowchart illustrating a procedure of an arrow marking exclusion process according to the second embodiment.

図13に示すように、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補を1つ取り出す(ステップS401)。そして、路面標示除外部12cは、白線候補に含まれる内側線および外側線が交わるか否かを判定する(ステップS402)。このとき、内側線および外側線が交わる場合(ステップS402肯定)には、路面標示除外部12cは、その白線候補の下部近傍に他の白線候補が存在するか否かをさらに判定する(ステップS403)。   As illustrated in FIG. 13, the road marking exclusion unit 12c extracts one white line candidate stored as white line candidate data 11a in the storage unit 11 (step S401). Then, the road marking exclusion unit 12c determines whether or not the inner line and the outer line included in the white line candidate intersect (step S402). At this time, when the inner line and the outer line intersect (Yes at Step S402), the road marking exclusion unit 12c further determines whether another white line candidate exists near the lower part of the white line candidate (Step S403). ).

ここで、他の白線候補が存在する場合(ステップS403肯定)には、路面標示除外部12cは、白線候補及び他の白線候補を矢印標示として記憶部11へ登録し直す(ステップS404)。一方、内側線および外側線が交らない場合(ステップS402否定)、或いは他の白線候補が存在しない場合(ステップS403否定)には、路面標示除外部12cは、ステップS405まで処理を移行する。   Here, when another white line candidate exists (Yes at Step S403), the road marking exclusion unit 12c re-registers the white line candidate and the other white line candidate as an arrow mark in the storage unit 11 (Step S404). On the other hand, when the inner line and the outer line do not intersect (No at Step S402), or when there is no other white line candidate (No at Step S403), the road marking exclusion unit 12c moves the process to Step S405.

そして、全白線候補について処理が終了するまで(ステップS405否定)、路面標示除外部12cは、上記のステップS401〜404までの処理を繰り返し行う。その後、全白線候補について処理が終了すると(ステップS405肯定)、路面標示除外部12cは、矢印標示が存在しなかった場合(ステップS406否定)には、そのまま処理を終了する。   Then, until the processing is completed for all white line candidates (No at Step S405), the road marking exclusion unit 12c repeats the processing from Steps S401 to S404 described above. Thereafter, when the process is completed for all white line candidates (Yes at Step S405), the road marking exclusion unit 12c ends the process as it is when no arrow marking exists (No at Step S406).

一方、矢印標示が存在した場合(ステップS406肯定)には、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補の中から、矢印標示として登録し直した白線候補を削除し(ステップS407)、処理を終了する。   On the other hand, when there is an arrow sign (Yes at Step S406), the road marking excluding unit 12c selects the white line candidate re-registered as the arrow sign from the white line candidates stored as the white line candidate data 11a in the storage unit 11. Is deleted (step S407), and the process ends.

図10の説明に戻り、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補から速度標示を除外する「速度標示除外処理」を実行する(ステップS107)。   Returning to the description of FIG. 10, the road surface marking exclusion unit 12c executes “speed marking exclusion processing” for excluding speed markings from white line candidates stored as white line candidate data 11a in the storage unit 11 (step S107).

ここで、図14を用いて、図10のステップS107で示した速度標示除外処理について説明する。図14は、実施例2に係る速度標示除外処理の手順を示すフローチャートである。図14に示すように、撮影画像の水平方向に整列する白線候補の組を探索する(ステップS501)。そして、路面標示除外部12cは、白線候補の外側同士のエッジ線分の間隔が所定値であるか否かを判定する(ステップS502)。   Here, the speed marking exclusion process shown in step S107 of FIG. 10 will be described with reference to FIG. FIG. 14 is a flowchart illustrating a procedure of speed sign exclusion processing according to the second embodiment. As shown in FIG. 14, a set of white line candidates aligned in the horizontal direction of the photographed image is searched (step S501). Then, the road marking exclusion unit 12c determines whether or not the interval between the edge line segments outside the white line candidate is a predetermined value (step S502).

このとき、白線候補の外側同士のエッジ線分の間隔が所定値である場合(ステップS502肯定)に、路面標示除外部12cは、その白線候補の組の下部近傍に水平方向のエッジ線分が存在するか否かをさらに判定する(ステップS503)。なお、白線候補の外側同士のエッジ線分の間隔が所定値でない場合(ステップS502否定)又は白線候補の組の下部近傍に水平方向のエッジ線分が存在しない場合(ステップS503否定)には、路面標示除外部12cは、ステップS506の処理へ移行する。   At this time, when the interval between the edge line segments outside the white line candidates is a predetermined value (Yes in step S502), the road marking exclusion unit 12c has a horizontal edge line segment near the lower part of the set of white line candidates. It is further determined whether or not it exists (step S503). When the interval between the edge line segments outside the white line candidate is not a predetermined value (No at Step S502) or when there is no horizontal edge line segment near the lower part of the set of white line candidates (No at Step S503), The road marking exclusion unit 12c proceeds to the process of step S506.

ここで、白線候補の組の下部近傍に水平方向のエッジ線分が存在する場合(ステップS503肯定)には、路面標示除外部12cは、速度標示の数字ゼロが撮影画像に含まれるものと見做し、数字ゼロの標示領域から速度標示領域を算出する(ステップS504)。そして、路面標示除外部12cは、速度標示の数字ゼロと検出した白線候補を速度標示として記憶部11へ登録し直す(ステップS505)。   Here, when a horizontal edge line segment exists in the vicinity of the lower part of the set of white line candidates (Yes in step S503), the road marking exclusion unit 12c regards the number zero of the speed marking as being included in the photographed image. Then, the speed marking area is calculated from the number zero marking area (step S504). Then, the road marking exclusion unit 12c re-registers the detected white line candidate as the speed marking number zero in the storage unit 11 as the speed marking (step S505).

その後、全白線候補について処理が終了するまで(ステップS506否定)、路面標示除外部12cは、上記のステップS501〜S505までの処理を繰り返し行う。そして、全白線候補について処理が終了すると(ステップS506肯定)、路面標示除外部12cは、速度標示が存在しなかった場合(ステップS507否定)には、そのまま処理を終了する。   Thereafter, the road marking exclusion unit 12c repeats the processes from steps S501 to S505 until the process is completed for all white line candidates (No in step S506). When the processing is completed for all white line candidates (Yes at Step S506), the road marking exclusion unit 12c ends the processing as it is when there is no speed marking (No at Step S507).

一方、速度標示が存在した場合(ステップS507肯定)には、路面標示除外部12cは、記憶部11に白線候補データ11aとして記憶された白線候補の中から、速度標示として登録し直した白線候補を削除し(ステップS508)、処理を終了する。   On the other hand, if there is a speed sign (Yes at step S507), the road marking excluding unit 12c re-registers the white line candidate as the speed sign from the white line candidates stored as the white line candidate data 11a in the storage unit 11. Is deleted (step S508), and the process is terminated.

図10の説明に戻り、白線決定部12dは、路面標示除外部12cによって白線以外の他の路面標示が除外された白線候補に基づき、白線を決定する(ステップS108)。そして、出力制御部12eは、撮影画像から路面標示データ11bが検出されずに白線データ11cだけが単独で検出された場合(ステップS109肯定)には、その白線データ11cを自車位置判断部12fへ出力する(ステップS110)。その後、自車位置判断部12fは、出力制御部12eによって出力される白線データ11cと、車載カメラ200の設置位置及び設置角度とを用いて路面上での自車位置を判断し(ステップS111)、処理を終了する。   Returning to the description of FIG. 10, the white line determination unit 12d determines a white line based on the white line candidates from which road markings other than the white line are excluded by the road marking exclusion unit 12c (step S108). When the road marking data 11b is not detected from the photographed image and only the white line data 11c is detected alone (Yes at Step S109), the output control unit 12e uses the white line data 11c as the own vehicle position determination unit 12f. (Step S110). Thereafter, the vehicle position determination unit 12f determines the vehicle position on the road surface using the white line data 11c output by the output control unit 12e and the installation position and installation angle of the in-vehicle camera 200 (step S111). The process is terminated.

一方、白線データ11cとともに路面標示データ11bが検出された場合(ステップS109否定)には、出力制御部12eは、白線データ11cの自車位置判断部12fへの出力を抑止し(ステップS112)、自車位置を判断させずに処理を終了する。   On the other hand, when the road marking data 11b is detected together with the white line data 11c (No at Step S109), the output control unit 12e suppresses the output of the white line data 11c to the vehicle position determination unit 12f (Step S112). The process is terminated without determining the vehicle position.

なお、図10のフローチャートでは、ステップS105、ステップS106及びステップS107の処理はそれぞれの順番を入れ替えることとしてもよいし、それぞれの処理を並列して行うこともできる。   In the flowchart of FIG. 10, the processes in step S105, step S106, and step S107 may be switched in order, or the processes may be performed in parallel.

[実施例2の効果]
上述してきたように、本実施例に係る車載装置10では、白線と混同し得る他の路面標示が白線の検出結果に含まれている可能性が高い場合に、白線の検出結果を利用する別処理が実行されることはない。また、本実施例に車載装置10では、白線の検出結果が出力されたとしても白線と混同し得る他の路面標示が含まれていないので、別処理で白線と混同して実行されることもない。したがって、本実施例に係る車載装置10によれば、白線の検出結果を利用した別処理を行う場合に、誤った処理結果が導出されることを防止することが可能になる。
[Effect of Example 2]
As described above, in the in-vehicle device 10 according to the present embodiment, when there is a high possibility that other road markings that may be confused with the white line are included in the white line detection result, another method that uses the white line detection result is used. Processing is never executed. In addition, in the in-vehicle device 10 in this embodiment, even if the detection result of the white line is output, other road markings that can be confused with the white line are not included, and therefore, it may be executed by being confused with the white line in another process. Absent. Therefore, according to the vehicle-mounted apparatus 10 which concerns on a present Example, when performing another process using the detection result of a white line, it becomes possible to prevent that an incorrect process result is derived | led-out.

また、本実施例に係る車載装置10では、白線の検出結果が出力された場合に、該白線の内側位置に基づき、路面上での自車位置を判断する。したがって、本実施例に係る車載装置10によれば、白線の検出結果を利用して自車位置を判断する場合に、白線以外の路面標示を白線と混同して自車位置の判断処理が実行されることを防止することが可能である。   Moreover, in the vehicle-mounted apparatus 10 which concerns on a present Example, when the detection result of a white line is output, the own vehicle position on a road surface is judged based on the inner position of this white line. Therefore, according to the in-vehicle device 10 according to the present embodiment, when the vehicle position is determined using the detection result of the white line, the determination process of the vehicle position is executed by confusing road markings other than the white line with the white line. Can be prevented.

さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。   Although the embodiments related to the disclosed apparatus have been described above, the present invention may be implemented in various different forms other than the above-described embodiments. Therefore, another embodiment included in the present invention will be described below.

[適用例]
例えば、上記の実施例2では、車載カメラ200が車載装置10へ白黒画像を入力する場合を例示したが、開示の装置はこれに限定されるものではない。例えば、車載カメラ200が車載装置10へカラー画像を入力し、白線だけでなく黄色車線の検出及びその出力制御を行うように車載装置10を構成することもできる。
[Application example]
For example, in the above-described second embodiment, the case where the in-vehicle camera 200 inputs a black and white image to the in-vehicle device 10 is illustrated, but the disclosed device is not limited thereto. For example, the in-vehicle device 10 can be configured such that the in-vehicle camera 200 inputs a color image to the in-vehicle device 10 and detects not only a white line but also a yellow lane and its output control.

また、上記の実施例2では、撮影画像に白線以外の路上標示が含まれる場合には白線の検出結果を自車位置判断部12fへ出力させない場合を説明したが、必ずしも白線の検出結果を出力することを全面的に禁止する必要はない。例えば、撮影画像から横断歩道が検出された場合には、横断歩道よりも手前に白線が検出されなかったならば、白線の検出結果を出力するのを禁止する。その一方で、横断歩道の手前に白線が検出された場合には、横断歩道までの距離が所定の距離、例えば5mを超過するならば白線検出結果を出力し、所定の距離以下である場合には白線検出結果を出力することを禁止するようにしてもよい。   Further, in the second embodiment, the case where the detection result of the white line is not output to the vehicle position determination unit 12f when the captured image includes road markings other than the white line has been described. However, the detection result of the white line is not necessarily output. There is no need to ban it entirely. For example, when a pedestrian crossing is detected from a photographed image, if a white line is not detected before the pedestrian crossing, output of the white line detection result is prohibited. On the other hand, when a white line is detected in front of the pedestrian crossing, if the distance to the pedestrian crossing exceeds a predetermined distance, for example, 5 m, the white line detection result is output. May prohibit the output of white line detection results.

また、図示した各装置の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、エッジ検出部12a、白線候補抽出部12b、路面標示除外部12c、白線決定部12d、出力制御部12eまたは自車位置判断部12fを車載装置10の外部装置としてネットワーク経由で接続するようにしてもよい。さらに、自車位置判断部12fを車載装置10の外部装置としてネットワーク経由で接続するようにしてもよい。また、エッジ検出部12a、白線候補抽出部12b、路面標示除外部12c、白線決定部12d、出力制御部12eまたは自車位置判断部12fを別の装置がそれぞれ有する構成とする。その上で、ネットワーク接続されて協働することで、上記の車載装置10の機能を実現するようにしてもよい。   In addition, each component of each illustrated apparatus does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured. For example, the edge detection unit 12a, the white line candidate extraction unit 12b, the road marking exclusion unit 12c, the white line determination unit 12d, the output control unit 12e, or the vehicle position determination unit 12f are connected as an external device of the in-vehicle device 10 via the network. May be. Further, the vehicle position determination unit 12f may be connected as an external device of the in-vehicle device 10 via a network. Moreover, it is set as the structure which another apparatus each has the edge detection part 12a, the white line candidate extraction part 12b, the road marking exclusion part 12c, the white line determination part 12d, the output control part 12e, or the own vehicle position determination part 12f. In addition, the functions of the in-vehicle device 10 may be realized by being connected to a network and cooperating.

[車線検出プログラム]
また、上記の実施例で説明した各種の処理は、予め用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。そこで、以下では、図15を用いて、上記の実施例と同様の機能を有する車線検出プログラムを実行するコンピュータの一例について説明する。なお、図15は、実施例3に係る車線検出プログラムを実行するコンピュータの一例について説明するための図である。
[Lane detection program]
The various processes described in the above embodiments can be realized by executing a prepared program on a computer such as a personal computer or a workstation. In the following, an example of a computer that executes a lane detection program having the same function as that of the above-described embodiment will be described with reference to FIG. FIG. 15 is a schematic diagram illustrating an example of a computer that executes a lane detection program according to the third embodiment.

図15に示すように、実施例3におけるコンピュータ100は、操作部110aと、マイク110bと、スピーカ110cと、ディスプレイ120と、通信部130とを有する。さらに、このコンピュータ100は、CPU150と、ROM160と、HDD(Hard Disk Drive)170と、RAM(Random Access Memory)180と有する。これら110〜180の各部はバス140を介して接続される。   As illustrated in FIG. 15, the computer 100 according to the third embodiment includes an operation unit 110 a, a microphone 110 b, a speaker 110 c, a display 120, and a communication unit 130. The computer 100 further includes a CPU 150, a ROM 160, an HDD (Hard Disk Drive) 170, and a RAM (Random Access Memory) 180. These units 110 to 180 are connected via a bus 140.

ROM160には、上記の実施例2で示したエッジ検出部12aと、白線候補抽出部12bと、路面標示除外部12cと、白線決定部12dと、出力制御部12eと同様の機能を発揮する制御プログラムが予め記憶される。つまり、ROM160には、図15に示すように、エッジ検出プログラム160aと、白線候補抽出プログラム160bと、路面標示除外プログラム160cと、白線決定プログラム160dと、出力制御プログラム160eとが記憶される。なお、これらのプログラム160a〜160eについては、図2に示した車載装置の各構成要素と同様、適宜統合又は分離しても良い。   The ROM 160 has a control that performs the same functions as those of the edge detection unit 12a, the white line candidate extraction unit 12b, the road marking exclusion unit 12c, the white line determination unit 12d, and the output control unit 12e described in the second embodiment. A program is stored in advance. That is, as shown in FIG. 15, the ROM 160 stores an edge detection program 160a, a white line candidate extraction program 160b, a road marking exclusion program 160c, a white line determination program 160d, and an output control program 160e. In addition, about these programs 160a-160e, you may integrate or isolate | separate suitably like each component of the vehicle-mounted apparatus shown in FIG.

そして、CPU150が、これらのプログラム160a〜160eをROM160から読み出して実行する。これによって、CPU150は、図15に示すように、各プログラム160a〜160eについては、エッジ検出プロセス150a、白線候補抽出プロセス150b及び路面標示除外プロセス150cとして機能するようになる。さらに、CPU150は、白線決定プロセス150d及び出力制御プロセス150eとして機能するようになる。なお、各プロセス150a〜150eは、図2に示した、エッジ検出部12aと、白線候補抽出部12bと、路面標示除外部12cと、白線決定部12dと、出力制御部12eとにそれぞれ対応する。   Then, the CPU 150 reads these programs 160a to 160e from the ROM 160 and executes them. As a result, as shown in FIG. 15, the CPU 150 functions as an edge detection process 150a, a white line candidate extraction process 150b, and a road marking exclusion process 150c for each of the programs 160a to 160e. Further, the CPU 150 functions as a white line determination process 150d and an output control process 150e. Each process 150a to 150e corresponds to the edge detection unit 12a, the white line candidate extraction unit 12b, the road marking exclusion unit 12c, the white line determination unit 12d, and the output control unit 12e illustrated in FIG. .

そして、CPU150は、通信部130から撮影画像を受信するか、またはHDD170から撮影画像を読み出し、その撮影画像から白線候補データ180aを生成してRAM180に格納する。さらに、CPU150は、白線候補データ180aから路面標示データ180b及び白線データ180cを生成してRAM180に格納する。さらに、CPU150は、RAM180に格納された白線データ180cを用いて、車線検出プログラムを実行する。   Then, CPU 150 receives a captured image from communication unit 130 or reads a captured image from HDD 170, generates white line candidate data 180 a from the captured image, and stores it in RAM 180. Further, the CPU 150 generates road marking data 180b and white line data 180c from the white line candidate data 180a and stores them in the RAM 180. Further, the CPU 150 executes a lane detection program using the white line data 180c stored in the RAM 180.

1 車線検出装置
2 検出部
3 出力制御部
10 車載装置
11 記憶部
11a 白線候補データ
11b 路面標示データ
11c 白線データ
12 制御部
12a エッジ検出部
12b 白線候補抽出部
12c 路面標示除外部
12d 白線決定部
12e 出力制御部
12f 自車位置判断部
200 車載カメラ
300 車両ECU
400 出力デバイス
DESCRIPTION OF SYMBOLS 1 Lane detection apparatus 2 Detection part 3 Output control part 10 In-vehicle apparatus 11 Storage part 11a White line candidate data 11b Road marking data 11c White line data 12 Control part 12a Edge detection part 12b White line candidate extraction part 12c Road marking exclusion part 12d White line determination part 12e Output control unit 12f Own vehicle position determination unit 200 In-vehicle camera 300 Vehicle ECU
400 output devices

Claims (4)

コンピュータに、
車両に搭載したカメラにより取得された画像からエッジ線分を検出し、
検出されたエッジ線分から車線の候補を抽出し、
第1の前記車線候補に含まれるエッジ線分及び第2の前記車線候補に含まれるエッジ線分のうち最も遠いエッジ線分間の間隔が所定範囲内であり、前記第1車線候補及び前記第2車線候補の組の鉛直下部または鉛直上部に水平方向のエッジ線分が存在する場合に、前記車線の候補に含まれる前記第1車線候補及び前記第2車線候補を車線以外の路面標示と判定し
前記車線の候補の中に前記路面標示と判定された前記第1の車線の候補及び前記第2の車線の候補が存在しない場合に、車線の検出結果を出力し、前記車線の候補の中に前記路面標示と判定された前記第1の車線の候補及び前記第2の車線の候補が存在する場合に、車線の検出結果の出力を抑止する
処理を実行させることを特徴とする車線検出プログラム。
On the computer,
Detect edge line segments from images acquired by cameras mounted on vehicles,
Extract lane candidates from the detected edge segments,
Distance farthest edge line minutes of edge line segments included in the edge line and the second of said lane candidate included in the candidate of the first of the lane is falls within the predetermined range, the candidate of the first lane and if there is a horizontal edge line in the set of vertical bottom or vertical upper portion of candidates for the second lane of the first lane included in the candidate of the lane candidate and the second lane Decide the candidate as a road marking other than lane ,
If the candidate of the candidate and the second lane of the road marking and the determined first lane among the candidates of the lane is not present, and outputs a detection result of the lane, in candidates for the lane lane detection program, characterized in that when said candidate and candidates of the second lane of the road marking determined to be said first lane is present, to execute processing to suppress the output of the lane detection result.
前記車線の検出結果が出力された場合に、該車線の内側位置に基づき、路面上での自車位置を判断する処理をさらにコンピュータに実行させることを特徴とする請求項1に記載の車線検出プログラム。   2. The lane detection according to claim 1, wherein when the detection result of the lane is output, the computer further executes a process of determining the position of the host vehicle on the road surface based on an inner position of the lane. program. 前記判定する処理として、
前記車線の候補に含まれるエッジ線分が互い交わり、かつ該車線の候補の鉛直下部または鉛直上部に他の車線の候補が存在する場合に、当該車線候補及び当該他の車線候補を前記路面標示としてさらに判定することを特徴とする請求項1または2に記載の車線検出プログラム。
As a process of the determination,
If the edge line segments included in the candidate of the lane intersects each other, and the vertical bottom or vertical top candidate the lane candidates for the other lanes are present, of the lane candidate and candidates of the other lanes The lane detection program according to claim 1, wherein the lane detection program is further determined as the road marking .
車両に搭載したカメラにより取得された画像からエッジ線分を検出する検出部と、
前記検出部によって検出されたエッジ線分から車線の候補を抽出する抽出部と、
第1の前記車線候補に含まれるエッジ線分及び第2の前記車線候補に含まれるエッジ線分のうち最も遠いエッジ線分間の間隔が所定範囲内であり、前記第1車線候補及び前記第2車線候補の組の鉛直下部または鉛直上部に水平方向のエッジ線分が存在する場合に、前記車線の候補に含まれる前記第1車線候補及び前記第2車線候補を車線以外の路面標示と判定する判定部と、
前記車線の候補の中に前記路面標示と判定された前記第1の車線の候補及び前記第2の車線の候補が存在しない場合に、車線の検出結果を出力し、前記車線の候補の中に前記路面標示と判定された前記第1の車線の候補及び前記第2の車線の候補が存在する場合に、車線の検出結果の出力を抑止する出力制御部と
を有することを特徴とする車線検出装置。
A detection unit for detecting an edge line segment from an image acquired by a camera mounted on the vehicle;
An extraction unit for extracting lane candidates from the edge line segments detected by the detection unit;
Distance farthest edge line minutes of edge line segments included in the edge line and the second of said lane candidate included in the candidate of the first of the lane is falls within the predetermined range, the candidate of the first lane and if there is a horizontal edge line in the set of vertical bottom or vertical upper portion of candidates for the second lane of the first lane included in the candidate of the lane candidate and the second lane A determination unit that determines candidates as road markings other than lanes ;
If the candidate of the candidate and the second lane of the road marking and the determined first lane among the candidates of the lane is not present, and outputs a detection result of the lane, in candidates for the lane A lane detection, comprising: an output control unit that suppresses output of a lane detection result when the first lane candidate and the second lane candidate determined to be the road markings exist. apparatus.
JP2010014703A 2010-01-26 2010-01-26 Lane detection program and lane detection device Active JP5554579B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010014703A JP5554579B2 (en) 2010-01-26 2010-01-26 Lane detection program and lane detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010014703A JP5554579B2 (en) 2010-01-26 2010-01-26 Lane detection program and lane detection device

Publications (2)

Publication Number Publication Date
JP2011154480A JP2011154480A (en) 2011-08-11
JP5554579B2 true JP5554579B2 (en) 2014-07-23

Family

ID=44540403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010014703A Active JP5554579B2 (en) 2010-01-26 2010-01-26 Lane detection program and lane detection device

Country Status (1)

Country Link
JP (1) JP5554579B2 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101869084B1 (en) * 2012-01-04 2018-06-19 현대모비스 주식회사 Lane departure warning system capable of recognizing hipass line and method of recognizing hipass line
JP5878090B2 (en) * 2012-07-12 2016-03-08 本田技研工業株式会社 Traveling line detector
JP5971341B2 (en) * 2012-08-09 2016-08-17 トヨタ自動車株式会社 Object detection device and driving support device
CN104822566B (en) * 2012-11-27 2016-07-06 歌乐牌株式会社 On-vehicle image processing device
JP2014106739A (en) * 2012-11-27 2014-06-09 Clarion Co Ltd In-vehicle image processing device
JP5822866B2 (en) * 2013-05-08 2015-11-25 本田技研工業株式会社 Image processing device
CN104680171B (en) * 2013-11-27 2018-10-02 富士通株式会社 The detection device, method of zebra stripes in image
JP6173962B2 (en) * 2014-04-01 2017-08-02 本田技研工業株式会社 Lane mark recognition device
JP6132807B2 (en) * 2014-04-24 2017-05-24 本田技研工業株式会社 Lane mark recognition device
JP6476927B2 (en) * 2015-01-30 2019-03-06 富士通株式会社 Detection apparatus, detection method and detection program
JP2016224585A (en) * 2015-05-28 2016-12-28 株式会社Jvcケンウッド Road surface sign detection device, fault element detection device, lane detection device, lane detection method, and program
US10558867B2 (en) 2015-09-28 2020-02-11 Kyocera Corporation Image processing apparatus, stereo camera apparatus, vehicle, and image processing method
JP7318614B2 (en) 2020-09-07 2023-08-01 トヨタ自動車株式会社 Information processing device, information processing method, and road marking system
JP7444942B1 (en) 2022-09-26 2024-03-06 株式会社デンソーテン Information processing device, information processing method and program
JP7497398B2 (en) 2022-09-26 2024-06-10 株式会社デンソーテン Information processing device, information processing method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003123197A (en) * 2001-10-16 2003-04-25 Alpine Electronics Inc Recognition device for road mark or the like
JP3818641B2 (en) * 2001-11-30 2006-09-06 トヨタ自動車株式会社 Vehicle runway determination device and vehicle control device
JP4575031B2 (en) * 2004-05-31 2010-11-04 三菱電機株式会社 In-vehicle road marking detection device
JP2007220013A (en) * 2006-02-20 2007-08-30 Mazda Motor Corp Device for detecting white line for vehicle
JP2007261449A (en) * 2006-03-29 2007-10-11 Fuji Heavy Ind Ltd Traveling target point setting device, lane following support device and lane deviation prevention device
JP4731380B2 (en) * 2006-03-31 2011-07-20 アイシン・エィ・ダブリュ株式会社 Self-vehicle position recognition device and self-vehicle position recognition method

Also Published As

Publication number Publication date
JP2011154480A (en) 2011-08-11

Similar Documents

Publication Publication Date Title
JP5554579B2 (en) Lane detection program and lane detection device
JP6220327B2 (en) Traveling lane marking recognition device, traveling lane marking recognition program
KR101500082B1 (en) Apparatus and method for recognizing driving lane
JP5631581B2 (en) Road recognition device
JP6362442B2 (en) Lane boundary line extraction device, lane boundary line extraction method, and program
US20100110193A1 (en) Lane recognition device, vehicle, lane recognition method, and lane recognition program
JP5401257B2 (en) Far-infrared pedestrian detection device
JP7203586B2 (en) Image processing device and image processing method
WO2014084122A1 (en) On-board control device
JP4744537B2 (en) Driving lane detector
US9842265B2 (en) Marking line detection system
JP2006309313A (en) Road recognition device
JP4939137B2 (en) Lane recognition device
KR101406316B1 (en) Apparatus and method for detecting lane
JP2013186663A (en) Crosswalk recognition device and crosswalk recognition method
JP2018005618A (en) Road recognition device
JP2013186664A (en) Crosswalk recognition device and crosswalk recognition method
JP2014164492A (en) Block line recognition device
US20200193184A1 (en) Image processing device and image processing method
JP5097681B2 (en) Feature position recognition device
JP2020095623A (en) Image processing device and image processing method
US11256933B2 (en) Image processing device and image processing method
JP5189556B2 (en) Lane detection device
US10796172B2 (en) Image processing device and image processing method
JP7141940B2 (en) Image processing device and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130806

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140529

R150 Certificate of patent or registration of utility model

Ref document number: 5554579

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250