JP2014104840A - On-vehicle image processing system - Google Patents

On-vehicle image processing system Download PDF

Info

Publication number
JP2014104840A
JP2014104840A JP2012258714A JP2012258714A JP2014104840A JP 2014104840 A JP2014104840 A JP 2014104840A JP 2012258714 A JP2012258714 A JP 2012258714A JP 2012258714 A JP2012258714 A JP 2012258714A JP 2014104840 A JP2014104840 A JP 2014104840A
Authority
JP
Japan
Prior art keywords
vehicle
unit
image processing
processing apparatus
detection unit
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.)
Pending
Application number
JP2012258714A
Other languages
Japanese (ja)
Inventor
Shoji Muramatsu
彰二 村松
Taketo Ogata
健人 緒方
Masahiro Kiyohara
將裕 清原
Tomohito Suzuki
智史 鈴木
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.)
Faurecia Clarion Electronics Co Ltd
Original Assignee
Clarion Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Clarion Co Ltd filed Critical Clarion Co Ltd
Priority to JP2012258714A priority Critical patent/JP2014104840A/en
Publication of JP2014104840A publication Critical patent/JP2014104840A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To initialize a recognized result at a proper timing in each image recognition processing.SOLUTION: An on-vehicle image processing system 100 comprises: an image acquisition part 1 for acquiring a photographed image from each of a front camera 200 and a rear camera 201; a travel direction detection part 2 for detecting a direction of travel of an own vehicle; an image selection part 3 for selecting an image photographed by a camera for photographing the direction of travel of the own vehicle detected by the travel direction detection part 2; an environment recognition part 6 for recognizing an environment of the own vehicle on the basis of the image selected by the image selection part 3; a foreign matter recognition part 7 for recognizing a foreign matter adhering to a camera lens on the basis of the image selected by the image selection part 3; a direction change detection part 5 for detecting a change of the direction of travel detected by the travel direction detection part 2; and a behavior detection part 8a for detecting a behavior of the own vehicle by the direction change detection part 5. The processing system 100 is further equipped with an initialization part 8 which initializes the result recognized by the environment recognition part 6 when a first behavior is detected by the behavior detection part 8a, and initializes the result recognized by the foreign matter recognition part 7 when a second behavior is detected.

Description

本発明は、車両に搭載される車載画像処理装置に関する。   The present invention relates to an in-vehicle image processing apparatus mounted on a vehicle.

車両に設置されている複数のカメラの映像を運転状況に応じて自動的に選択して、その映像に対して運転状況に応じた画像処理を行う車載画像処理装置が知られている(特許文献1)。   There is known an in-vehicle image processing apparatus that automatically selects videos of a plurality of cameras installed in a vehicle according to driving conditions and performs image processing according to the driving conditions on the videos (Patent Literature). 1).

特開2007−22176号公報JP 2007-22176 A

複数のカメラの映像を用いて複数の画像認識処理を行う車載画像処理装置において、車両の挙動に応じて各画像認識処理の認識結果を初期化する際、画像認識処理ごとに適切なタイミングで初期化することができなかった。   In an in-vehicle image processing device that performs multiple image recognition processes using video from multiple cameras, when initializing the recognition results of each image recognition process according to the behavior of the vehicle, it is initialized at an appropriate timing for each image recognition process. Could not be converted.

本発明による車載画像処理装置は、車両の前方を撮影する前方カメラと車両の後方を撮影する後方カメラとからそれぞれ撮影画像を取得する画像取得部と、車両の進行方向を検出する進行方向検出部と、前方カメラと後方カメラとの中から、進行方向検出部が検出した車両の進行方向を撮影する第1カメラの撮影画像を選択する画像選択部と、第1カメラの撮影画像に基づいて、車両の外界を認識する外界認識部と、第1カメラの撮影画像に基づいて、第1カメラのレンズに付着した異物を認識する異物認識部と、進行方向検出部が検出した進行方向の変化を検出する方向変化検出部と、車両の挙動を検出する挙動検出部を有し、挙動検出部により第1の挙動が検出されたとき外界認識部の認識結果を初期化すると共に、挙動検出部により第2の挙動が検出されたとき異物認識部の認識結果を初期化する初期化部と、を備えることを特徴とする。   An in-vehicle image processing apparatus according to the present invention includes an image acquisition unit that acquires captured images from a front camera that captures the front of the vehicle and a rear camera that captures the rear of the vehicle, and a traveling direction detection unit that detects the traveling direction of the vehicle. And an image selection unit that selects a captured image of the first camera that captures the traveling direction of the vehicle detected by the traveling direction detection unit from the front camera and the rear camera, and a captured image of the first camera, An external recognition unit that recognizes the external environment of the vehicle, a foreign matter recognition unit that recognizes a foreign matter attached to the lens of the first camera based on a captured image of the first camera, and a change in the traveling direction detected by the traveling direction detection unit. It has a direction change detection unit for detecting and a behavior detection unit for detecting the behavior of the vehicle. When the first behavior is detected by the behavior detection unit, the recognition result of the external recognition unit is initialized, and the behavior detection unit First Behavior, characterized in that it comprises an initialization unit for initializing the recognition result of the foreign object recognition unit when detecting.

本発明によれば、車両の挙動に応じて各画像認識処理の認識結果を初期化する際、画像認識処理ごとに適切なタイミングで認識結果を初期化することができる。   According to the present invention, when the recognition result of each image recognition process is initialized according to the behavior of the vehicle, the recognition result can be initialized at an appropriate timing for each image recognition process.

本発明の第1の実施形態による車載画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the vehicle-mounted image processing apparatus by the 1st Embodiment of this invention. 本発明の第1および第2の実施形態による車載画像処理装置の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the vehicle-mounted image processing apparatus by the 1st and 2nd embodiment of this invention. 本発明の第1および第2の実施形態による車載画像処理装置における方向切替検出部の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the direction switching detection part in the vehicle-mounted image processing apparatus by the 1st and 2nd embodiment of this invention. 本発明の第1の実施形態による車載画像処理装置における初期化部の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the initialization part in the vehicle-mounted image processing apparatus by the 1st Embodiment of this invention. 本発明の第1および第2の実施形態による車載画像処理装置における外界認識部の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the external field recognition part in the vehicle-mounted image processing apparatus by the 1st and 2nd embodiment of this invention. 本発明の第1および第2の実施形態による車載画像処理装置における異物認識部の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the foreign material recognition part in the vehicle-mounted image processing apparatus by the 1st and 2nd embodiment of this invention. 本発明の第2の実施形態による車載画像処理装置における初期化部の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the initialization part in the vehicle-mounted image processing apparatus by the 2nd Embodiment of this invention. 本発明の第2の実施形態による車載画像処理装置における初期化部の動作に関するフローチャートである。It is a flowchart regarding operation | movement of the initialization part in the vehicle-mounted image processing apparatus by the 2nd Embodiment of this invention.

―第1の実施の形態―
図1は、本発明の第1の実施形態による車載画像処理装置100の構成を示すブロック図である。図1に示す車載画像処理装置100は、車両に搭載される制御装置であって、画像取得部1と、進行方向検出部2と、画像選択部3と、画像処理部4と、方向切替検出部5と、外界認識部6と、異物認識部7と、初期化部8と、情報記憶部9を備える。以降、車載画像処理装置100が搭載されている車両のことを自車両と称する。
-First embodiment-
FIG. 1 is a block diagram showing a configuration of an in-vehicle image processing apparatus 100 according to the first embodiment of the present invention. An in-vehicle image processing apparatus 100 illustrated in FIG. 1 is a control device mounted on a vehicle, and includes an image acquisition unit 1, a traveling direction detection unit 2, an image selection unit 3, an image processing unit 4, and direction switching detection. Unit 5, external recognition unit 6, foreign object recognition unit 7, initialization unit 8, and information storage unit 9. Hereinafter, a vehicle on which the in-vehicle image processing apparatus 100 is mounted is referred to as a host vehicle.

画像取得部1は、自車両に備わるフロントカメラ200とリアカメラ201とからそれぞれ撮影画像を取得する。フロントカメラ200とリアカメラ201とは、電子式カメラであり、車両の前方または後方の周囲環境(例えば、路面)を撮影する。以降、フロントカメラ200が撮影する撮影画像をフロント画像と称し、リアカメラ201が撮影する撮影画像をリア画像と称する。画像取得部1は、取得したフロント画像とリア画像とを画像選択部3に出力する。   The image acquisition unit 1 acquires captured images from the front camera 200 and the rear camera 201 provided in the host vehicle. The front camera 200 and the rear camera 201 are electronic cameras, and photograph the surrounding environment (for example, road surface) in front of or behind the vehicle. Hereinafter, a captured image captured by the front camera 200 is referred to as a front image, and a captured image captured by the rear camera 201 is referred to as a rear image. The image acquisition unit 1 outputs the acquired front image and rear image to the image selection unit 3.

進行方向検出部2は、自車両の進行方向に関する情報として、自車両のシフトポジションに関する情報を検出する。自車両のシフトポジションに関する情報は、例えば、不図示のECU(エンジンコントロールユニット)から取得する。シフトポジションには、例えばRポジション(後退、リバース)、Dポジション(前進、ドライブ)、Nポジション(ニュートラル)、Pポジション(駐車、パーキング)、1速ポジション(ロー)などが存在する。   The traveling direction detection unit 2 detects information regarding the shift position of the host vehicle as information regarding the traveling direction of the host vehicle. Information about the shift position of the host vehicle is obtained from an ECU (Engine Control Unit) (not shown), for example. The shift position includes, for example, an R position (reverse, reverse), a D position (forward, drive), an N position (neutral), a P position (parking, parking), a first speed position (low), and the like.

進行方向検出部2は、自車両のシフトポジションに関する情報を検出すると、情報記憶部9に設けられたリングバッファに記憶する。リングバッファには、少なくとも二つのシフトポジションに関する情報が記憶される。リングバッファに記憶されたシフトポジションに関する情報は、画像選択部3と方向切替検出部5とによって参照される。   When the traveling direction detection unit 2 detects information on the shift position of the host vehicle, the traveling direction detection unit 2 stores the information in a ring buffer provided in the information storage unit 9. Information relating to at least two shift positions is stored in the ring buffer. Information regarding the shift position stored in the ring buffer is referred to by the image selection unit 3 and the direction switching detection unit 5.

画像選択部3は、情報記憶部9のリングバッファに記憶された最新の自車両のシフトポジションに関する情報に応じて、画像取得部1から入力されたフロント画像とリア画像のうち片方を選択して、画像処理部4に出力する。画像選択部3は、最新の自車両のシフトポジションがDポジションや1速ポジションなど、自車両の前進に関わるシフトポジションの場合、フロント画像を選択して画像処理部4へ出力する。他方で、画像選択部3は、最新の自車両のシフトポジションがRポジションの場合はリア画像を選択して画像処理部4へ出力する。   The image selection unit 3 selects one of the front image and the rear image input from the image acquisition unit 1 according to the latest information on the shift position of the host vehicle stored in the ring buffer of the information storage unit 9. And output to the image processing unit 4. The image selection unit 3 selects a front image and outputs it to the image processing unit 4 when the latest shift position of the host vehicle is a shift position related to the forward movement of the host vehicle such as the D position or the first speed position. On the other hand, when the latest shift position of the host vehicle is the R position, the image selection unit 3 selects a rear image and outputs it to the image processing unit 4.

画像処理部4は、画像選択部3から入力されたフロント画像またはリア画像に対して視点変換する画像処理を行い、自車両の上方から見下ろす視点の俯瞰画像を生成する。画像処理部4は、この俯瞰画像を、外界認識部6と異物認識部7に出力する。   The image processing unit 4 performs image processing for performing viewpoint conversion on the front image or the rear image input from the image selection unit 3, and generates a bird's-eye view image looking down from above the host vehicle. The image processing unit 4 outputs this overhead image to the external world recognition unit 6 and the foreign object recognition unit 7.

方向切替検出部5は、情報記憶部9のリングバッファに記憶された複数の自車両のシフトポジションに関する情報に基づいて、自車両の進行方向の切り替え、すなわち自車両のシフトポジションの切り替えを検出する。方向切替検出部5は、例えば自車両のシフトポジションがRポジションに切り替えられたか否か、または自車両のシフトポジションがRポジションからその他のシフトポジション(例えば、Dポジション)に切り替えられたか否かを検出する。   The direction switching detection unit 5 detects switching of the traveling direction of the host vehicle, that is, switching of the shift position of the host vehicle, based on the information regarding the shift positions of the plurality of host vehicles stored in the ring buffer of the information storage unit 9. . The direction switching detection unit 5 determines whether, for example, the shift position of the host vehicle has been switched to the R position, or whether the shift position of the host vehicle has been switched from the R position to another shift position (for example, the D position). To detect.

外界認識部6は、画像処理部4から入力された俯瞰画像に対して画像認識処理を行い、自車両の周囲の外界を認識する。本実施の形態においては、外界認識部6は、後述する白線認識手法を利用して、自車両の前方または後方の路面上に設けられた駐車枠を認識し、駐車枠を成す4点の座標、左上(TLX[p],TLY[p])、右上(TRX[p],TRY[p])、左下(BLX[p],BLY[p])、右下(BRX[p],BRY[p])、および個数pを外界認識結果として記憶する。ここでpは俯瞰画像内に小領域が複数存在する場合にそれぞれを区別するために付するIDである。   The external environment recognition unit 6 performs image recognition processing on the bird's-eye view image input from the image processing unit 4 and recognizes the external environment around the host vehicle. In the present embodiment, the external environment recognition unit 6 recognizes a parking frame provided on the road surface in front of or behind the host vehicle by using a white line recognition method described later, and coordinates of four points forming the parking frame. , Upper left (TLX [p], TLY [p]), upper right (TRX [p], TRY [p]), lower left (BLX [p], BLY [p]), lower right (BRX [p], BRY [ p]) and the number p are stored as external recognition results. Here, p is an ID given to distinguish each when there are a plurality of small regions in the overhead image.

異物認識部7は、画像処理部4から入力された俯瞰画像に基づいて、後述する異物検出手法を利用して、フロントカメラ200またはリアカメラ201のレンズに付着している異物を認識する。異物とは、例えば、泥、水滴、水滴痕、融雪剤などである。本実施の形態においては、俯瞰画像を小領域に分割し、異物が存在する小領域の始点x座標DSX[d]、始点y座標DSY[d]、終点x座標DEX[d]、終点y座標DEY[d]、およびその小領域の個数dを異物認識部7の認識結果として情報記憶部9に記憶する。ここでdは俯瞰画像内に小領域が複数存在する場合にそれぞれを区別するために付するIDである。   The foreign matter recognition unit 7 recognizes foreign matter attached to the lens of the front camera 200 or the rear camera 201 based on the overhead image input from the image processing unit 4 using a foreign matter detection method described later. The foreign matter is, for example, mud, water droplets, water droplet traces, snow melting agents and the like. In the present embodiment, the overhead image is divided into small areas, and the start point x coordinate DSX [d], start point y coordinate DSY [d], end point x coordinate DEX [d], and end point y coordinate of the small area where the foreign matter exists. DEY [d] and the number d of the small areas are stored in the information storage unit 9 as the recognition result of the foreign object recognition unit 7. Here, “d” is an ID given to distinguish each of a plurality of small areas in the overhead image.

外界認識部6の認識結果は、情報記憶部9に記憶されると共に、車載画像処理装置100よりも上位の車両制御装置(不図示)に入力される。本実施の形態においては、車載画像処理装置100は、駐車枠線を認識し、駐車枠の認識結果に基づいて、車両周囲の駐車枠に対する駐車枠情報を出力する。例えば、車載画像処理装置100は、車両に対する駐車枠の方向や駐車枠までの距離を示す情報を駐車枠情報として出力する。この駐車枠情報は、車載画像処理装置100と接続されている上位の車両制御装置(不図示)へと出力され、車両の駐車支援や走行制御等に利用される。例えば、周囲に駐車場が存在する状況であることを自動的に認識し、例えば、駐車場環境である場合には、モニタに自車周囲の俯瞰映像を自動的に切り替えて表示することができる。これにより、公道において駐車場であると誤検知する状況を抑制し、適切なタイミングでユーザへの提示映像を切り替えることができるようになる。   The recognition result of the external recognition unit 6 is stored in the information storage unit 9 and is input to a higher-level vehicle control device (not shown) than the in-vehicle image processing device 100. In the present embodiment, in-vehicle image processing apparatus 100 recognizes a parking frame line, and outputs parking frame information for parking frames around the vehicle based on the recognition result of the parking frame. For example, the in-vehicle image processing apparatus 100 outputs information indicating the direction of the parking frame relative to the vehicle and the distance to the parking frame as parking frame information. The parking frame information is output to a host vehicle control device (not shown) connected to the in-vehicle image processing device 100, and is used for vehicle parking assistance, travel control, and the like. For example, it is possible to automatically recognize that there is a parking lot around the vehicle. For example, in a parking lot environment, it is possible to automatically switch and display a bird's-eye view around the vehicle on the monitor. . As a result, it is possible to suppress a situation in which it is erroneously detected as a parking lot on a public road, and to switch the video presented to the user at an appropriate timing.

また、車載画像処理装置100は、駐車枠の認識結果に基づいて、駐車枠情報として、駐車枠に関して自車からの相対的な位置情報をさらに出力する。例えば、車載画像処理装置100は、駐車枠の左右枠線の端点座標,駐車枠線の角度および切片といった、実環境中における駐車枠の位置情報を出力する。この駐車枠情報は、車載画像処理装置100と接続されている上位の車両制御装置(不図示)へと出力され、車両の駐車支援や走行制御等に利用される。例えば、自車から駐車枠までの相対的な位置・姿勢に基づいて、駐車枠までの走行経路を計算し、ドライバーにブレーキやシフトポジション変更のタイミングや、舵角の操作量を通知することによって、駐車支援を行うことが可能となる。これにより、車庫入れ等の運転操作に不慣れなドライバーにとっても、短時間で駐車動作が完了できるようになる。   Moreover, the vehicle-mounted image processing apparatus 100 further outputs relative position information from the own vehicle regarding the parking frame as the parking frame information based on the recognition result of the parking frame. For example, the in-vehicle image processing apparatus 100 outputs the position information of the parking frame in the actual environment, such as the end point coordinates of the left and right frame lines of the parking frame, the angle of the parking frame line, and the intercept. The parking frame information is output to a host vehicle control device (not shown) connected to the in-vehicle image processing device 100, and is used for vehicle parking assistance, travel control, and the like. For example, by calculating the travel route to the parking frame based on the relative position / posture from the vehicle to the parking frame, and notifying the driver of the timing of brake and shift position change and the amount of steering angle operation Parking assistance can be performed. As a result, a parking operation can be completed in a short time even for a driver who is unfamiliar with driving operations such as garage entry.

さらには、自車から駐車枠までの相対的な位置・姿勢は、駐車枠までの走行経路を計算し、自動で車両の前進・後退・旋回の制御量を計算し、その計算結果に従って車両運動を自動制御することに用いてもよい。これにより、車庫入れ等の運転操作に不慣れなドライバーにとっても、安全かつ正確に駐車動作を完了できるようになる。   Furthermore, the relative position / posture from the vehicle to the parking frame calculates the travel route to the parking frame, automatically calculates the amount of forward / backward / turning of the vehicle, and the vehicle motions according to the calculation result It may be used for automatically controlling. As a result, a parking operation can be completed safely and accurately even for a driver unfamiliar with driving operations such as garage entry.

異物認識部7の認識結果は、カメラごとに分類して情報記憶部9に記憶されると共に、車載画像処理装置100よりも上位の車両制御装置(不図示)に入力される。その上位の車両制御装置(不図示)は、異物認識部7の認識結果を、フロントカメラ200またはリアカメラ201のレンズに付着した異物の除去制御等に用いる。   The recognition result of the foreign object recognition unit 7 is classified for each camera, stored in the information storage unit 9, and input to a vehicle control device (not shown) higher than the in-vehicle image processing device 100. The host vehicle control device (not shown) uses the recognition result of the foreign object recognition unit 7 for the removal control of the foreign object attached to the lens of the front camera 200 or the rear camera 201.

初期化部8は、自車両の挙動を検出する挙動検出部8aを備え、挙動検出部8aが検出した自車両の挙動に基づいて、情報記憶部9に記憶された外界認識部6および異物認識部7の認識結果を初期化する。具体的には、外界認識部6の出力である駐車枠を成す4点の座標、左上(TLX[p]、TLY[p])、右上(TRX[p]、TRY[p])、左下(BLX[p]、BLY[p])、右下(BRX[p]、BRY[p])、および個数pをゼロにする。なお、異物認識部7の出力である異物が存在する小領域の始点x座標DSX[d]、始点y座標DSY[d]、終点x座標DEX[d]、終点y座標DEY[d]、およびその個数dをゼロにする。なお、外界認識部6および異物認識部7の初期化は出力をゼロにすることであり、演算の途中で用いている内部変数等に関してはここですべてゼロにクリアしても良いし、一部を保持しても構わない。挙動検出部8aは、第1の実施の形態では、自車両の挙動として、方向切替検出部5により自車両の進行方向の切り替えが検出されたときからの経過時間Tを検出(計時)する。 The initialization unit 8 includes a behavior detection unit 8a that detects the behavior of the host vehicle. Based on the behavior of the host vehicle detected by the behavior detection unit 8a, the external recognition unit 6 and the foreign object recognition stored in the information storage unit 9 The recognition result of the unit 7 is initialized. Specifically, the coordinates of the four points forming the parking frame, which is the output of the external recognition unit 6, upper left (TLX [p], TLY [p]), upper right (TRX [p], TRY [p]), lower left ( BLX [p], BLY [p]), lower right (BRX [p], BRY [p]), and the number p are set to zero. The start point x-coordinate DSX [d], start point y-coordinate DSY [d], end point x-coordinate DEX [d], end point y-coordinate DEY [d], and The number d is set to zero. Note that the initialization of the external recognition unit 6 and the foreign matter recognition unit 7 is to set the output to zero, and all internal variables used in the middle of the calculation may be cleared to zero here, or partly May be held. Behavior detecting unit 8a in the first embodiment, as the behavior of the vehicle is detected (timing) of the elapsed time T C from the time the traveling direction of the switching of the vehicle is detected by the direction switching detection unit 5 .

情報記憶部9は、RAMやROMなどを有し、車載画像処理装置100の制御プログラムや、画像取得部1、進行方向検出部2、画像選択部3、画像処理部4、方向切替検出部5、外界認識部6、異物認識部7、初期化部8などにより生成された各種情報が記憶される。   The information storage unit 9 includes a RAM, a ROM, and the like, and includes a control program for the in-vehicle image processing apparatus 100, an image acquisition unit 1, a traveling direction detection unit 2, an image selection unit 3, an image processing unit 4, and a direction switching detection unit 5. Various information generated by the external recognition unit 6, the foreign matter recognition unit 7, the initialization unit 8, and the like are stored.

図2は、車載画像処理装置100の動作に関するフローチャートである。ステップS10では、車載画像処理装置100は、画像取得部1の処理を行い、フロントカメラ200およびリアカメラ201からフロント画像およびリア画像を取得する。ステップS20では、車載画像処理装置100は、進行方向検出部2の処理を行い、自車両のシフトポジションを検出する。なお、ステップS10とステップS20の処理順序は、入れ替え可能であり、並列処理することにしてもよい。   FIG. 2 is a flowchart regarding the operation of the in-vehicle image processing apparatus 100. In step S <b> 10, the in-vehicle image processing apparatus 100 performs processing of the image acquisition unit 1 and acquires a front image and a rear image from the front camera 200 and the rear camera 201. In step S20, the in-vehicle image processing apparatus 100 performs the process of the traveling direction detection unit 2 and detects the shift position of the host vehicle. Note that the processing order of step S10 and step S20 can be interchanged and may be processed in parallel.

ステップS30では、車載画像処理装置100は、方向切替検出部5の処理を行う。ステップS40では、車載画像処理装置100は、初期化部8の処理を行う。ステップS30およびステップS40の処理については、その詳細を後述する。   In step S <b> 30, the in-vehicle image processing apparatus 100 performs the process of the direction switching detection unit 5. In step S <b> 40, the in-vehicle image processing apparatus 100 performs the process of the initialization unit 8. Details of steps S30 and S40 will be described later.

ステップS50では、車載画像処理装置100は、画像選択部3の処理を行い、フロント画像とリア画像のいずれかを画像処理部4に入力する。ステップS60では、車載画像処理装置100は、画像処理部4の処理を行い、フロント画像またはリア画像に基づいた俯瞰画像を生成して、俯瞰画像を外界認識部6および異物認識部7に入力する。   In step S <b> 50, the in-vehicle image processing apparatus 100 performs the process of the image selection unit 3 and inputs either the front image or the rear image to the image processing unit 4. In step S <b> 60, the in-vehicle image processing apparatus 100 performs the processing of the image processing unit 4, generates an overhead image based on the front image or the rear image, and inputs the overhead image to the external world recognition unit 6 and the foreign object recognition unit 7. .

ステップS70では、車載画像処理装置100は、外界認識部6の処理を行う。ステップS80では、車載画像処理装置100は、異物認識部7の処理を行う。なお、ステップS70とステップS80の処理順序は、入れ替え可能であり、並列処理することにしてもよい。   In step S <b> 70, the in-vehicle image processing apparatus 100 performs processing of the external environment recognition unit 6. In step S <b> 80, the in-vehicle image processing apparatus 100 performs the foreign object recognition unit 7. Note that the processing order of step S70 and step S80 can be interchanged, and may be processed in parallel.

車載画像処理装置100は、外界認識部6と異物認識部7の処理が終了したら、ステップS10の処理に戻る。以降、車載画像処理装置100は、ステップS10からステップS80の処理を繰り返す。   The vehicle-mounted image processing apparatus 100 returns to the process of step S10 when the processes of the external recognition unit 6 and the foreign object recognition unit 7 are completed. Thereafter, the in-vehicle image processing apparatus 100 repeats the processing from step S10 to step S80.

図2のステップS30およびステップS40で実行される方向切替検出部5と初期化部8の処理について説明する。方向切替検出部5と初期化部8の間では、リア初回初期化フラグとフロント初回初期化フラグという二つのフラグを共有する。リア初回初期化フラグとフロント初回初期化フラグは、それぞれオン(TRUE)とオフ(FALSE)のいずれかの値に設定される。   The processing of the direction switching detection unit 5 and the initialization unit 8 executed in step S30 and step S40 in FIG. 2 will be described. Between the direction switching detection unit 5 and the initialization unit 8, two flags, a rear initial initialization flag and a front initial initialization flag, are shared. The rear initial initialization flag and the front initial initialization flag are set to either ON (TRUE) or OFF (FALSE), respectively.

リア初回初期化フラグは、Rポジション以外のシフトポジションからRポジションにシフトポジションが切り替わったときに、方向切替検出部5によりオンに設定される。他方、フロント初回初期化フラグは、Rポジションから他のシフトポジションに切り替わったときに、方向切替検出部5によりオンに設定される。   The rear initial initialization flag is set to ON by the direction switching detection unit 5 when the shift position is switched from the shift position other than the R position to the R position. On the other hand, the front initial initialization flag is set to ON by the direction switching detection unit 5 when switching from the R position to another shift position.

初期化部8は、リア初回初期化フラグまたはフロント初回初期化フラグが方向切替検出部5によりオンに設定されたとき、外界認識初期化フラグと異物認識初期化フラグという新たな二つのフラグをオフに設定した後、方向切替検出部5によりオンに設定されていたリア初回初期化フラグまたはフロント初回初期化フラグをオフに設定する。   When the rear initial initialization flag or the front initial initialization flag is set to ON by the direction switching detection unit 5, the initialization unit 8 turns off two new flags, that is, an external recognition initialization flag and a foreign object recognition initialization flag. Then, the rear initial initialization flag or the front initial initialization flag that was set to ON by the direction switching detection unit 5 is set to OFF.

外界認識初期化フラグは、外界認識部6の初期化制御に用いられる。外界認識初期化フラグは、初期状態ではオンである。外界認識初期化フラグがオフであり且つ挙動検出部8aが自車両の所定の第1の挙動を検出した場合に、外界認識部6が初期化されて、外界認識初期化フラグがオンに設定される。第1の挙動とは、例えば方向切替検出部5により自車両の進行方向の切り替えが検出されたときから第1時間Tが経過したことである。第1時間Tは、例えば自車両のシフトポジションが切り替えられたときに自車両が切替前のシフトポジションに応じた進行方向に惰性で移動し続ける時間である。 The external world recognition initialization flag is used for initialization control of the external world recognition unit 6. The external world recognition initialization flag is on in the initial state. When the external world recognition initialization flag is off and the behavior detection unit 8a detects the predetermined first behavior of the host vehicle, the external world recognition unit 6 is initialized and the external world recognition initialization flag is set to on. The The first behavior is that the first time T 1 is elapsed from when, for example, by the direction switching detection unit 5 is the traveling direction of the switching of the vehicle is detected. First time T 1 may, for example, the vehicle when the shift position of the vehicle is switched is the time that continues to move by inertia in the traveling direction corresponding to the shift position before the switching.

異物認識初期化フラグは、異物認識部7の初期化制御に用いられる。異物認識初期化フラグは、初期状態ではオンである。異物認識初期化フラグがオフであり且つ挙動検出部8aが自車両の所定の第2の挙動を検出した場合に、異物認識部7が初期化されて、異物認識初期化フラグがオンに設定される。第2の挙動とは、例えば方向切替検出部5により自車両の進行方向の切り替えが検出されたときから第2時間Tが経過したことである。 The foreign object recognition initialization flag is used for initialization control of the foreign object recognition unit 7. The foreign object recognition initialization flag is on in the initial state. When the foreign object recognition initialization flag is off and the behavior detection unit 8a detects a predetermined second behavior of the host vehicle, the foreign object recognition unit 7 is initialized and the foreign object recognition initialization flag is set to on. The The second behavior is that the second time T 2 has elapsed since the example by the direction switching detection unit 5 is the traveling direction of the switching of the vehicle is detected.

図3は、図2のステップS30における方向切替検出部5の処理に関するフローチャートである。ステップS301では、車載画像処理装置100は、情報記憶部9のリングバッファに記憶されているシフトポジションに関する情報を取得する。ステップS302では、車載画像処理装置100は、ステップS301で取得したシフトポジションに関する情報に基づいて、シフトポジションの切り替えを検出する。   FIG. 3 is a flowchart relating to the processing of the direction switching detection unit 5 in step S30 of FIG. In step S <b> 301, the in-vehicle image processing apparatus 100 acquires information regarding the shift position stored in the ring buffer of the information storage unit 9. In step S302, the in-vehicle image processing apparatus 100 detects shift position switching based on the information regarding the shift position acquired in step S301.

ステップS303では、車載画像処理装置100は、Rポジション以外のシフトポジションからRポジションに自車両のシフトポジションが切り替わったか否かを判定する。ステップS303の判定は、例えばDポジション、Pポジション、Nポジション、1速ポジションなどからRポジションに切り替わったとき、肯定判定される。そして、自車両のシフトポジションがRポジションから他のシフトポジションに切り替わったとき、Rポジション以外のシフトポジション間でシフトポジションが切り替わったとき、またはシフトポジションが切り替わらなかったとき、ステップS303は否定判定される。車載画像処理装置100は、ステップS303が否定判定された場合は処理をステップS304に進め、ステップS303が肯定判定された場合は処理をステップS305に進める。   In step S303, the in-vehicle image processing apparatus 100 determines whether or not the shift position of the host vehicle has been switched from the shift position other than the R position to the R position. The determination in step S303 is affirmative when, for example, the position is switched from the D position, P position, N position, 1st gear position, or the like to the R position. Then, when the shift position of the host vehicle is switched from the R position to another shift position, when the shift position is switched between shift positions other than the R position, or when the shift position is not switched, a negative determination is made in step S303. The The in-vehicle image processing apparatus 100 proceeds with the process to step S304 when the negative determination is made in step S303, and proceeds with the process to step S305 when the positive determination is made in step S303.

ステップS304では、車載画像処理装置100は、RポジションからRポジション以外のシフトポジションに自車両のシフトポジションが切り替わったか否かを判定する。ステップS304の判定は、Rポジション以外のシフトポジション間でシフトポジションが切り替わったとき、またはシフトポジションが切り替わらなかったときに否定判定されて、自車両のシフトポジションがRポジションから他のシフトポジションに切り替わったときに肯定判定される。車載画像処理装置100は、ステップS304が否定判定された場合は処理をステップS307に進め、ステップS304が肯定判定された場合は処理をステップS306に進める。   In step S304, the in-vehicle image processing apparatus 100 determines whether or not the shift position of the host vehicle has been switched from the R position to a shift position other than the R position. The determination in step S304 is negative when the shift position is switched between shift positions other than the R position or when the shift position is not switched, and the shift position of the host vehicle is switched from the R position to another shift position. An affirmative determination is made when The in-vehicle image processing apparatus 100 proceeds with the process to step S307 when a negative determination is made at step S304, and proceeds with the process to step S306 when an affirmative determination is made at step S304.

ステップS305では、車載画像処理装置100は、リア初回初期化フラグをオンに設定する。すなわち、車載画像処理装置100は、Rポジション以外のシフトポジションからRポジションに自車両のシフトポジションが切り替わったときは、リア初回初期化フラグをオンに設定する。   In step S305, the in-vehicle image processing apparatus 100 sets the rear initial initialization flag to ON. That is, the in-vehicle image processing apparatus 100 sets the rear initial initialization flag to ON when the shift position of the host vehicle is switched from the shift position other than the R position to the R position.

ステップS306では、車載画像処理装置100は、フロント初回初期化フラグをオンに設定する。すなわち、車載画像処理装置100は、RポジションからRポジション以外のシフトポジションに自車両のシフトポジションが切り替わったときは、フロント初回初期化フラグをオンに設定する。   In step S306, the in-vehicle image processing apparatus 100 sets the front initial initialization flag to ON. That is, the in-vehicle image processing apparatus 100 sets the front initial initialization flag to ON when the shift position of the host vehicle is switched from the R position to a shift position other than the R position.

車載画像処理装置100は、ステップS307では、リア初回初期化フラグとフロント初回初期化フラグとをオフに設定する。すなわち、車載画像処理装置100は、Rポジション以外のシフトポジション間でシフトポジションが切り替わったとき、またはシフトポジションが切り替えられなかったときは、リア初回初期化フラグとフロント初回初期化フラグとをオフに設定する。   In step S307, the in-vehicle image processing apparatus 100 sets the rear initial initialization flag and the front initial initialization flag to off. That is, the in-vehicle image processing apparatus 100 turns off the rear initial initialization flag and the front initial initialization flag when the shift position is switched between shift positions other than the R position or when the shift position is not switched. Set.

車載画像処理装置100は、ステップS305、ステップS306、またはステップS307にてリア初回初期化フラグとフロント初回初期化フラグの設定を行った後、図3の処理を終了して、図2のステップS40の処理に進む。   The in-vehicle image processing apparatus 100 sets the rear initial initialization flag and the front initial initialization flag in step S305, step S306, or step S307, and then ends the processing in FIG. 3 and performs step S40 in FIG. Proceed to the process.

図4は、図2のステップS40における初期化部8の処理に関するフローチャートである。ステップS401では、車載画像処理装置100は、リア初回初期化フラグがオンに設定されているか否かを判定する。車載画像処理装置100は、リア初回初期化フラグがオンに設定されている場合は処理をステップS402に進め、リア初回初期化フラグがオフに設定されている場合は処理をステップS404に進める。   FIG. 4 is a flowchart relating to the processing of the initialization unit 8 in step S40 of FIG. In step S401, the vehicle-mounted image processing apparatus 100 determines whether or not the rear initial initialization flag is set to ON. The in-vehicle image processing apparatus 100 proceeds with the process to step S402 when the rear initial initialization flag is set to ON, and proceeds with the process to step S404 when the rear initial initialization flag is set to OFF.

ステップS402では、車載画像処理装置100は、フロントカメラ200に対する異物認識部7の認識結果を、そのまま情報記憶部9に保持する。ステップS403では、車載画像処理装置100は、リア初回初期化フラグをオフに設定する。   In step S <b> 402, the in-vehicle image processing apparatus 100 holds the recognition result of the foreign object recognition unit 7 for the front camera 200 in the information storage unit 9 as it is. In step S403, the in-vehicle image processing apparatus 100 sets the rear initial initialization flag to OFF.

ステップS404では、車載画像処理装置100は、フロント初回初期化フラグがオンに設定されているか否かを判定する。車載画像処理装置100は、フロント初回初期化フラグがオンに設定されている場合は処理をステップS405に進め、フロント初回初期化フラグがオフに設定されている場合は処理をステップS409に進める。   In step S404, the in-vehicle image processing apparatus 100 determines whether or not the front initial initialization flag is set to ON. The in-vehicle image processing apparatus 100 proceeds to step S405 when the front initial initialization flag is set to ON, and proceeds to step S409 when the front initial initialization flag is set to OFF.

ステップS405では、車載画像処理装置100は、リアカメラ201に対する異物認識部7の認識結果を初期化する。ステップS406では、車載画像処理装置100は、フロント初回初期化フラグをオフに設定する。   In step S <b> 405, the in-vehicle image processing apparatus 100 initializes the recognition result of the foreign object recognition unit 7 for the rear camera 201. In step S406, the in-vehicle image processing apparatus 100 sets the front initial initialization flag to OFF.

ステップS407では、車載画像処理装置100は、挙動検出部8aに対して、経過時間Tの計時をリセットさせる。ステップS408では、車載画像処理装置100は、外界認識初期化フラグと異物認識初期化フラグとをオフに設定する。すなわち、車載画像処理装置100は、挙動検出部8aが自車両の所定の挙動を検出したときに、外界認識部6や異物認識部7の初期化を開始可能な状態にする。 At step S407, vehicle image processing apparatus 100, to the behavior detecting unit 8a, resets the counting of the elapsed time T C. In step S408, the in-vehicle image processing apparatus 100 sets the external recognition recognition flag and the foreign object recognition initialization flag to OFF. That is, the in-vehicle image processing apparatus 100 sets the external environment recognition unit 6 and the foreign object recognition unit 7 in a state where the initialization can be started when the behavior detection unit 8a detects a predetermined behavior of the host vehicle.

ステップS409では、車載画像処理装置100は、挙動検出部8aが計時している経過時間Tを取得する。ステップS410では、車載画像処理装置100は、外界認識初期化フラグがオフであり、かつステップS409で取得された経過時間Tが第1時間Tよりも大きいか否かを判定する。車載画像処理装置100は、ステップS410が肯定判定されたとき処理をステップS411に進め、ステップS410が否定判定されたとき処理をステップS413に進める。 At step S409, the in-vehicle image processing apparatus 100, the behavior detecting unit 8a acquires the elapsed time T C being clocked. At step S410, vehicle image processing apparatus 100 is an environment recognizing initialization flag is turned off, and the elapsed time T C obtained in step S409 determines whether larger or not than the first time T 1. The vehicle-mounted image processing apparatus 100 proceeds with the process to step S411 when the determination in step S410 is affirmative, and proceeds with the process to step S413 when the determination in step S410 is negative.

ステップS411では、車載画像処理装置100は、外界認識部6の認識結果を初期化する。ステップS412では、車載画像処理装置100は、外界認識初期化フラグをオンに設定する。すなわち、外界認識部6の認識結果を初期化した後は、再度ステップS401またはステップS404が肯定判定されるまで外界認識部6の認識結果の初期化を行わないように設定する。   In step S411, the in-vehicle image processing apparatus 100 initializes the recognition result of the external recognition unit 6. In step S <b> 412, the in-vehicle image processing apparatus 100 sets the external world recognition initialization flag to ON. That is, after the recognition result of the external recognition unit 6 is initialized, it is set so that the recognition result of the external recognition unit 6 is not initialized until step S401 or step S404 is affirmed again.

ステップS413では、車載画像処理装置100は、異物認識初期化フラグがオフであり、かつステップS409で取得された経過時間Tが第2時間Tよりも大きいか否かを判定する。車載画像処理装置100は、ステップS413が肯定判定されたとき処理をステップS414に進め、ステップS413が否定判定されたとき図4の処理を終了させて図2のステップS50の処理に進む。 At step S413, vehicle image processing apparatus 100, the foreign matter recognition initialization flag is turned off, and the elapsed time T C obtained in step S409 determines whether larger or not than the second time T 2. The in-vehicle image processing apparatus 100 proceeds with the process to step S414 when the determination in step S413 is affirmative, and terminates the process in FIG. 4 and proceeds to the process in step S50 in FIG. 2 when the determination in step S413 is negative.

図3と図4に示された方向切替検出部5と初期化部8の動作について、具体例を用いて説明する。第1の具体例として、DポジションからRポジションに自車両のシフトポジションが切り替えられて、その後自車両のシフトポジションがRポジションで維持される場合について説明する。   The operation of the direction switching detection unit 5 and the initialization unit 8 shown in FIGS. 3 and 4 will be described using a specific example. As a first specific example, a case will be described in which the shift position of the host vehicle is switched from the D position to the R position and then the shift position of the host vehicle is maintained at the R position.

DポジションからRポジションに自車両のシフトポジションが切り替わったとき、情報記憶部9のリングバッファには、Dポジションに関する情報と、Rポジションに関する情報とが記憶される。車載画像処理装置100は、方向切替検出部5の処理を開始すると、リングバッファに記憶されているこれらのシフトポジションに関する情報を取得して(図3のステップS301)、取得したシフトポジションに関する情報を比較してシフトポジションの切り替えを検出する(ステップS302)。   When the shift position of the host vehicle is switched from the D position to the R position, information relating to the D position and information relating to the R position are stored in the ring buffer of the information storage unit 9. When the in-vehicle image processing apparatus 100 starts the process of the direction switching detection unit 5, the vehicle-mounted image processing apparatus 100 acquires information on these shift positions stored in the ring buffer (step S301 in FIG. 3), and acquires the information on the acquired shift positions. The shift position change is detected by comparison (step S302).

車載画像処理装置100は、自車両のシフトポジションがRポジション以外のシフトポジションであるDポジションからRポジションに切り替わっているため、ステップS303を肯定判定して、リア初回初期化フラグをオンに設定する(ステップS305)。そして、車載画像処理装置100は、方向切替検出部5の処理を終了して図4に示す初期化部8の処理を開始する。   Since the shift position of the host vehicle is switched from the D position, which is a shift position other than the R position, to the R position, the in-vehicle image processing apparatus 100 makes an affirmative determination in step S303 and sets the rear initial initialization flag to on. (Step S305). And the vehicle-mounted image processing apparatus 100 complete | finishes the process of the direction switching detection part 5, and starts the process of the initialization part 8 shown in FIG.

車載画像処理装置100は、初期化部8の処理を開始すると、リア初回初期化フラグがオンに設定されているため、ステップS401を肯定判定して、フロントカメラ200の異物検知情報を保持すると共に、リア初回初期化フラグをオフに設定する(ステップS402およびS403)。   When the in-vehicle image processing apparatus 100 starts the processing of the initialization unit 8, the rear initial initialization flag is set to ON, so that an affirmative determination is made in step S 401 and the foreign object detection information of the front camera 200 is held. Then, the rear initial initialization flag is set to OFF (steps S402 and S403).

その後、車載画像処理装置100は、挙動検出部8aに経過時間Tの計時を開始させると共に、外界認識初期化フラグと異物認識初期化フラグとをオフに設定する(ステップS407およびステップS408)。車載画像処理装置100は、ステップS409において、挙動検出部8aから経過時間Tを取得して、ステップS410の処理に進む。ステップS407で経過時間Tの計時を開始した直後は、経過時間Tが所定の第1時間T以下であるため、ステップS410が否定判定されて、ステップS413の処理に進む。同様にステップS407で経過時間Tの計時を開始した直後は、経過時間Tが所定の第2時間T以下であるため、ステップS413が否定判定されて、図2のステップS50の処理に進む。このとき、外界認識初期化フラグと異物認識初期化フラグとは、オフに設定されたままである。 Then, the vehicle-mounted image processor 100, as well to start counting the elapsed time T C to the behavior detecting unit 8a, set off an environment recognizing initialization flag and foreign matter recognition initialization flag (step S407 and step S408). Vehicle image processing apparatus 100, in step S409, the acquired elapsed time T C from the behavior detecting unit 8a, the process proceeds to step S410. Step S407 immediately after the start of counting of the elapsed time T C In order elapsed time T C is the first time T 1 following a predetermined, in step S410 is negative, the process proceeds to step S413. Similarly, immediately after the start of counting of the elapsed time T C in step S407, since the elapsed time T C is the second time T 2 following a predetermined, step S413 is negative, the processing in step S50 in FIG. 2 move on. At this time, the external environment recognition initialization flag and the foreign object recognition initialization flag remain set to off.

その後、車載画像処理装置100は、図2のステップS50からステップS80の処理を行った後、再度ステップS10からの処理を開始する。2周目のステップS20にて、進行方向検出部2が再びRポジションに関する情報を検出する。そして、再び図3の処理を開始する。   Thereafter, the in-vehicle image processing apparatus 100 performs the processing from step S10 again after performing the processing from step S50 to step S80 in FIG. In step S20 in the second round, the traveling direction detection unit 2 detects information related to the R position again. Then, the process of FIG. 3 is started again.

自車両のシフトポジションがRポジションのままであるため、2周目のステップS302においては自車両のシフトポジションの切り替えが検出されず、ステップS303およびステップS304が共に否定判定される。その結果、車載画像処理装置100は、リア初回初期化フラグとフロント初回初期化フラグとをオフに設定して(ステップS307)、2周目の図4の処理を開始する。   Since the shift position of the host vehicle remains the R position, switching of the shift position of the host vehicle is not detected in step S302 of the second round, and both step S303 and step S304 are negatively determined. As a result, the in-vehicle image processing apparatus 100 sets the rear initial initialization flag and the front initial initialization flag to OFF (step S307), and starts the process of FIG.

リア初回初期化フラグとフロント初回初期化フラグとが共にオフに設定されているため、車載画像処理装置100は、ステップS401とステップS404とを共に否定判定して、経過時間Tを取得する(ステップS409)。 Since the rear first initialization flag and the front first initialization flag are both set to OFF, the vehicle-mounted image processor 100 is to both a negative decision in the step S401 and step S404, acquires the elapsed time T C ( Step S409).

経過時間Tがまだ第1時間Tと第2時間Tのいずれにも到達していない場合は、ステップS410とステップS413とが否定判定されて、再び図2のステップS50以降の処理を開始する。 Elapsed time T C is still first hour T 1 and if not also reach the one of the second time T 2 are, step S410 and step S413 and is negative, again step S50 and subsequent steps in FIG. 2 Start.

2周目と同様の処理を繰り返して、N周目に経過時間Tが第1時間Tを超えたとき、外界認識初期化フラグが1周目のステップS408の処理にてオフに設定されたままであるため、ステップS410が肯定判定される。車載画像処理装置100は、外界認識部6の認識結果を初期化して(ステップS411)、外界認識初期化フラグをオンに設定する(ステップS412)。ステップS412で外界認識初期化フラグがオンに設定された後、ステップS410の判定は、再びステップS408で外界認識初期化フラグをオフに設定されるまで否定判定される。 Repeat 2 lap processing similar, when N 1 lap elapsed time T C exceeds the first hour T 1, set off environment recognizing initialization flag is in the process of the first round of step S408 Since this is done, an affirmative determination is made in step S410. The vehicle-mounted image processing apparatus 100 initializes the recognition result of the external recognition unit 6 (step S411), and sets the external recognition recognition flag to ON (step S412). After the outside world recognition initialization flag is set to ON in step S412, the determination in step S410 is negative until the outside world recognition initialization flag is set to OFF again in step S408.

シフトポジションが切り替わったとき、変更後のシフトポジションに応じた進行方向とは異なる方向に惰性で自車両が移動することがある。自車両が惰性で移動しているにも関わらず即座にシフトポジションの切り替えに応じて外界認識部6の認識結果を初期化すると、自車両の移動方向と外界認識部6の処理対象領域との整合が取れず、車載画像処理装置100等の誤動作の原因となるおそれがある。シフトポジションが切り替えられてから第1時間Tが経過するまで外界認識部6の認識結果を初期化しないようにすることで、自車両の移動方向と外界認識部6の処理対象領域との不整合による誤動作を予防することができる。 When the shift position is switched, the host vehicle may move by inertia in a direction different from the traveling direction corresponding to the changed shift position. When the recognition result of the external environment recognition unit 6 is initialized immediately in response to the shift position change even though the own vehicle is moving by inertia, the movement direction of the own vehicle and the processing target area of the external environment recognition unit 6 There is a possibility that the alignment is not achieved, which may cause a malfunction of the in-vehicle image processing apparatus 100 or the like. After the shift position is switched to the first hour T 1 is passed to the recognition result of the external world recognizing unit 6 By not initialized, not the moving direction and the processing target area of the external world recognizing unit 6 of the vehicle Malfunction due to matching can be prevented.

また、N周目に経過時間Tが第2時間Tを超えたとき、異物認識初期化フラグが1周目のステップS408の処理にてオフに設定されたままであるため、ステップS413が肯定判定される。車載画像処理装置100は、RポジションであるためステップS414を肯定判定して、フロントカメラの異物認識結果を初期化して(ステップS415)、異物認識初期化フラグをオンに設定する(ステップS416)。ステップS416で異物認識初期化フラグがオンに設定された後、ステップS413の判定は、再びステップS408で異物認識初期化フラグをオフに設定されるまで否定判定される。 Also, when the N 2 lap elapsed time T C exceeds a second time T 2, because the foreign matter recognition initialization flag remains set to OFF in the process of the first round of step S408, the step S413 A positive determination is made. Since the vehicle-mounted image processing apparatus 100 is in the R position, it makes a positive determination in step S414, initializes the foreign object recognition result of the front camera (step S415), and sets the foreign object recognition initialization flag to ON (step S416). After the foreign object recognition initialization flag is set on in step S416, the determination in step S413 is negative until the foreign object recognition initialization flag is set off again in step S408.

自車両の進行方向に応じて俯瞰画像の基となる撮影画像を撮影するカメラを切り替える場合であって、長時間カメラの撮影画像が処理に用いられなかったとき、そのカメラに対する異物認識部7の認識結果は記憶している意味が無い虞がある。そこで、シフトポジションが切り替えられてから第2時間T経過したときに異物認識部7の認識結果を初期化する。 When the camera that captures the captured image that is the basis of the overhead image is switched according to the traveling direction of the host vehicle, and the captured image of the camera is not used for processing for a long time, the foreign object recognition unit 7 for the camera The recognition result may have no memorized meaning. Therefore, to initialize recognition result of the foreign object recognition unit 7 when from the shift position is switched second time T 2 has elapsed.

次に第2の具体例として、RポジションからDポジションに自車両のシフトポジションが切り替わり、その後自車両のシフトポジションがDポジションで維持される場合について説明する。   Next, as a second specific example, a case where the shift position of the host vehicle is switched from the R position to the D position and then the shift position of the host vehicle is maintained at the D position will be described.

RポジションからDポジションに自車両のシフトポジションが切り替わったとき、情報記憶部9のリングバッファには、Rポジションに関する情報と、Dポジションに関する情報とが記憶される。車載画像処理装置100は、方向切替検出部5の処理を開始すると、リングバッファに記憶されているこれらのシフトポジションに関する情報を取得して(図3のステップS301)、取得したシフトポジションに関する情報を比較してシフトポジションの切り替えを検出する(ステップS302)。   When the shift position of the host vehicle is switched from the R position to the D position, information related to the R position and information related to the D position are stored in the ring buffer of the information storage unit 9. When the in-vehicle image processing apparatus 100 starts the process of the direction switching detection unit 5, the vehicle-mounted image processing apparatus 100 acquires information on these shift positions stored in the ring buffer (step S301 in FIG. 3), and acquires the information on the acquired shift positions. The shift position change is detected by comparison (step S302).

車載画像処理装置100は、ステップS303を否定判定して、ステップS304を肯定判定して、フロント初回初期化フラグをオンに設定する(ステップS306)。そして、車載画像処理装置100は、方向切替検出部5の処理から図4に示す初期化部8の処理に移る。   The in-vehicle image processing apparatus 100 makes a negative determination in step S303, makes an affirmative determination in step S304, and sets the front initial initialization flag to on (step S306). Then, the in-vehicle image processing apparatus 100 proceeds from the process of the direction switching detection unit 5 to the process of the initialization unit 8 illustrated in FIG.

車載画像処理装置100は、初期化部8の処理を開始すると、リア初回初期化フラグがオフに設定されているため、ステップS401を否定判定する。そして、車載画像処理装置100は、フロント初回初期化フラグがオンに設定されているため、ステップS404を肯定判定して、リアカメラ201の異物検知情報を初期化すると共に、フロント初回初期化フラグをオフに設定する(ステップS405およびS406)。以降の処理は、ステップS414の処理が否定判定される点を除いて第1の具体例と同様である。   When the processing of the initialization unit 8 is started, the vehicle-mounted image processing apparatus 100 makes a negative determination in step S401 because the rear initial initialization flag is set to off. Since the front initial initialization flag is set to ON, the in-vehicle image processing apparatus 100 makes a positive determination in step S404 to initialize the foreign object detection information of the rear camera 201 and set the front initial initialization flag. Set to OFF (steps S405 and S406). The subsequent processing is the same as that of the first specific example except that the determination in step S414 is negative.

図5は、図2のステップS70でその処理が行われる外界認識部6の一例に関するフローチャートである。図5に例示されるフローチャートは、白線認識処理に関するものである。ステップS501では、車載画像処理装置100は、画像処理部4から出力される俯瞰画像の全ラインに対して、横方向のエッジフィルタを適用する。ステップS502では、車載画像処理装置100は、エッジフィルタ適用後の俯瞰画像から立ち上がりと立ち下がりのピーク点を抽出する。   FIG. 5 is a flowchart relating to an example of the external recognition unit 6 in which the process is performed in step S70 of FIG. The flowchart illustrated in FIG. 5 relates to white line recognition processing. In step S <b> 501, the in-vehicle image processing apparatus 100 applies a lateral edge filter to all lines of the overhead image output from the image processing unit 4. In step S502, the in-vehicle image processing apparatus 100 extracts rising and falling peak points from the overhead image after application of the edge filter.

ステップS503では、車載画像処理装置100は、ステップS502で抽出された立ち上がりと立ち下がりのピーク点の間隔が所定距離となるようなペアを構成するピーク点を抽出する。ステップS504では、車載画像処理装置100は、ステップS503で抽出された立ち上がりのピーク点に対してグルーピング処理を行いグループ化して立ち上がりエッジを抽出して、ステップS503で抽出された立ち下がりのピーク点に対してグルーピング処理を行いグループ化して立ち上がりエッジを抽出する。ステップS505では、車載画像処理装置100は、ステップS504で抽出された立ち上がりエッジと立ち下がりエッジとに対して、エッジの長さでフィルタリングする。   In step S503, the in-vehicle image processing apparatus 100 extracts a peak point that forms a pair such that the interval between the rising and falling peak points extracted in step S502 is a predetermined distance. In step S504, the in-vehicle image processing apparatus 100 performs grouping processing on the rising peak points extracted in step S503 to perform grouping and extract rising edges, and to the falling peak points extracted in step S503. On the other hand, grouping processing is performed to group and extract rising edges. In step S505, the in-vehicle image processing apparatus 100 filters the rising edge and the falling edge extracted in step S504 with the length of the edge.

ステップS506では、車載画像処理装置100は、ステップS505のフィルタリングにより残された立ち上がりエッジと立ち下がりエッジのそれぞれの両端点の座標を抽出する。車載画像処理装置100は、ステップS505のフィルタリングにより残された立ち上がりエッジと立ち下がりエッジを、ステップS503におけるペアに基づいて組み合わせて、白線を抽出する。   In step S506, the vehicle-mounted image processing apparatus 100 extracts the coordinates of both end points of the rising edge and the falling edge left by the filtering in step S505. The vehicle-mounted image processing apparatus 100 extracts the white line by combining the rising edge and the falling edge left by the filtering in step S505 based on the pair in step S503.

ステップS507では、車載画像処理装置100は、複数の白線の中から2本の白線を選択する。ステップS508では、車載画像処理装置100は、ステップS507で選択された2本の白線が成す角度が所定角度以下か否かを判定する。換言すると、車載画像処理装置100は、ステップS507で選択された2本の白線が略平行であるか否かを判定する。車載画像処理装置100は、ステップS508が肯定判定された場合はステップS509に処理を進め、ステップS508が否定判定された場合はステップS512に処理を進める。   In step S507, the in-vehicle image processing apparatus 100 selects two white lines from a plurality of white lines. In step S508, the in-vehicle image processing apparatus 100 determines whether or not the angle formed by the two white lines selected in step S507 is equal to or smaller than a predetermined angle. In other words, the in-vehicle image processing apparatus 100 determines whether or not the two white lines selected in step S507 are substantially parallel. The in-vehicle image processing apparatus 100 proceeds to step S509 when the determination in step S508 is affirmative, and proceeds to step S512 when the determination in step S508 is negative.

ステップS509では、車載画像処理装置100は、ステップS507で選択された2本の白線の間隔が所定範囲内であるか否かを判定する。所定範囲は、2m〜3mであって、車線や駐車区画の幅程度である。車載画像処理装置100は、ステップS509が肯定判定された場合はステップS510に処理を進め、ステップS509が否定判定された場合はステップS512に処理を進める。   In step S509, the in-vehicle image processing apparatus 100 determines whether the interval between the two white lines selected in step S507 is within a predetermined range. The predetermined range is 2 m to 3 m, which is about the width of a lane or a parking section. The in-vehicle image processing apparatus 100 proceeds to step S510 when step S509 is affirmed, and proceeds to step S512 when step S509 is negative.

ステップS510では、車載画像処理装置100は、ステップS507で選択された2本の白線の下端のずれが所定範囲内であるか否かを判定する。斜めに設けられた駐車区画においては、駐車区画を表す左右の白線の長さが異なる場合がある。ステップS510では、ステップS507で選択された2本の白線の下端のずれが無い、または斜めに設けられた駐車区画におけるずれ量であるか否かを判定する。車載画像処理装置100は、ステップS510が肯定判定された場合はステップS511に処理を進め、ステップS508が否定判定された場合はステップS512に処理を進める。   In step S510, the in-vehicle image processing apparatus 100 determines whether or not the deviation between the lower ends of the two white lines selected in step S507 is within a predetermined range. In the parking section provided diagonally, the lengths of the left and right white lines representing the parking section may be different. In step S510, it is determined whether there is no deviation between the lower ends of the two white lines selected in step S507, or whether the amount of deviation is in an obliquely provided parking section. The in-vehicle image processing apparatus 100 proceeds to step S511 when step S510 is affirmed, and proceeds to step S512 when step S508 is negative.

ステップS511では、車載画像処理装置100は、ステップS507で選択された2本の白線で形成された駐車枠を成す4点の座標、左上(TLX[p]、TLY[p])、右上(TRX[p]、TRY[p])、左下(BLX[p]、BLY[p])、右下(BRX[p]、BRY[p])、および個数pを外界認識結果として記憶する。ステップS512では、車載画像処理装置100は、すべての白線の組み合わせについてステップS508〜S510の判定を行ったか否かを判定する。車載画像処理装置100は、ステップS512が肯定判定された場合は図5の処理を終了し、ステップS512が否定判定された場合はステップS507に処理を戻してまだ確認が行われていない組み合わせを構成する2本の白線を選択する。   In step S511, the in-vehicle image processing apparatus 100 determines the coordinates of the four points forming the parking frame formed by the two white lines selected in step S507, upper left (TLX [p], TLY [p]), upper right (TRX [P], TRY [p]), lower left (BLX [p], BLY [p]), lower right (BRX [p], BRY [p]), and the number p are stored as external recognition results. In step S512, the in-vehicle image processing apparatus 100 determines whether or not the determinations in steps S508 to S510 have been made for all combinations of white lines. The in-vehicle image processing apparatus 100 ends the process of FIG. 5 when step S512 is determined to be affirmative, and returns to step S507 when step S512 is determined to be negative and configures a combination that has not yet been confirmed. Select two white lines.

図6は、図2のステップS80でその処理が行われる異物認識部7の一例に関するフローチャートである。ステップS601では、車載画像処理装置100は、画像処理部4から出力される俯瞰画像を複数の小領域に分割する。ステップS602では、車載画像処理装置100は、各小領域でヒストグラムを作成する。ステップS603では、車載画像処理装置100は、ステップS602で作成したヒストグラムを、図6の処理を前回実行したときに作成したヒストグラムと比較する。ステップS604では、車載画像処理装置100は、ステップS603で行った比較に基づいて、各小領域の評価を行う。すなわち、ヒストグラムに変化がない領域についてスコアを上昇させる演算を行う。ステップS605では、車載画像処理装置100は、スコアが所定の閾値を超えた小領域を検出して、その小領域の始点x座標DSX[d]、始点y座標DSY[d]、終点x座標DEX[d]、終点y座標DEY[d]、およびその個数dを異物認識部7の認識結果として情報記憶部9に記憶する。   FIG. 6 is a flowchart relating to an example of the foreign object recognition unit 7 in which the process is performed in step S80 of FIG. In step S601, the in-vehicle image processing apparatus 100 divides the overhead image output from the image processing unit 4 into a plurality of small regions. In step S602, the in-vehicle image processing apparatus 100 creates a histogram in each small region. In step S603, the in-vehicle image processing apparatus 100 compares the histogram created in step S602 with the histogram created when the process of FIG. 6 was executed last time. In step S604, the in-vehicle image processing apparatus 100 evaluates each small region based on the comparison performed in step S603. That is, a calculation for increasing the score is performed for an area where there is no change in the histogram. In step S605, the in-vehicle image processing apparatus 100 detects a small area whose score exceeds a predetermined threshold, and the start point x coordinate DSX [d], start point y coordinate DSY [d], and end point x coordinate DEX of the small area. [D], the end point y coordinate DEY [d], and the number d thereof are stored in the information storage unit 9 as the recognition result of the foreign object recognition unit 7.

―第2の実施の形態―
本発明の第2の実施の形態について説明する。本発明の第2の実施の形態は、初期化部8と挙動検出部8aの処理が第1の実施の形態と異なる。第2の実施の形態では、挙動検出部8aは、シフトポジションが切り替えられてからの経過時間Tを検出すると共に、自車両の車速VspとヨーレートVyrとを自車両のECUから取得する。
-Second embodiment-
A second embodiment of the present invention will be described. The second embodiment of the present invention differs from the first embodiment in the processing of the initialization unit 8 and the behavior detection unit 8a. In the second embodiment, the behavior detecting unit 8a, together with the shift position detecting an elapsed time T C from being switched to obtain a vehicle speed V sp and the yaw rate V yr of the vehicle from the ECU of the vehicle .

図7および図8は、第2の実施の形態における初期化部8の処理に関するフローチャートである。第2の実施の形態において、初期化部8の処理を開始する場合、図7のステップS401からその処理を開始する。図7および図8に示す処理のうち、第1の実施の形態において図4に示したフローチャートと同一の処理に関しては同一の符号を付してその説明を省略する。   7 and 8 are flowcharts relating to the processing of the initialization unit 8 in the second embodiment. In the second embodiment, when the process of the initialization unit 8 is started, the process is started from step S401 in FIG. Among the processes shown in FIG. 7 and FIG. 8, the same processes as those in the flowchart shown in FIG. 4 in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.

図7のステップS701では、車載画像処理装置100は、ステップS402と同様にリアカメラ201の異物認識結果を保持する。   In step S701 in FIG. 7, the in-vehicle image processing apparatus 100 holds the foreign object recognition result of the rear camera 201 as in step S402.

図7のステップS702では、車載画像処理装置100は、経過時間Tと、自車両の車速Vspと、自車両のヨーレートVyrとを挙動検出部8aから取得して、図8のステップS710に処理を進める。 In step S702 of FIG. 7, the in-vehicle image processing device 100, the elapsed time T C, the vehicle speed V sp of the vehicle acquires a yaw rate V yr of the vehicle from the behavior detecting unit 8a, step S710 of FIG. 8 Proceed with the process.

図8のステップS710では、車載画像処理装置100は、外界認識初期化フラグがオフに設定されているか否かを判定する。車載画像処理装置100は、ステップS710が肯定判定された場合はステップS711に処理を進め、ステップS710が否定判定された場合はステップS712に処理を進める。   In step S710 in FIG. 8, the in-vehicle image processing apparatus 100 determines whether or not the external world recognition initialization flag is set to OFF. The in-vehicle image processing apparatus 100 proceeds to step S711 when step S710 is affirmed, and proceeds to step S712 when step S710 is negative.

図8のステップS711では、車載画像処理装置100は、経過時間Tが第1時間T1を超えたか否か、または、ステップS709で取得された自車両の車速Vspがゼロであるか否かが成立したか否かを判定する。車載画像処理装置100は、ステップS711が肯定判定された場合は図8のステップS411に処理を進め、ステップS711が否定判定された場合はステップS712に処理を進める。 In step S711 of FIG. 8, the in-vehicle image processing apparatus 100 determines whether or not the elapsed time T C exceeds the first hour T1, or, whether the vehicle speed V sp of the vehicle acquired in step S709 is zero It is determined whether or not is established. The in-vehicle image processing apparatus 100 proceeds to step S411 in FIG. 8 when step S711 is affirmed, and proceeds to step S712 when step S711 is negative.

図8のステップS712では、車載画像処理装置100は、異物認識初期化フラグがオフに設定されているか否かを判定する。車載画像処理装置100は、ステップS712が肯定判定された場合は図8の処理を終了して図2のステップS50の処理に進み、ステップS712が否定判定された場合はステップS713に処理を進める。   In step S712 in FIG. 8, the in-vehicle image processing apparatus 100 determines whether or not the foreign object recognition initialization flag is set to off. If the determination in step S712 is affirmative, the in-vehicle image processing apparatus 100 ends the processing in FIG. 8 and proceeds to the processing in step S50 in FIG. 2, and proceeds to processing in step S713 if the determination in step S712 is negative.

図8のステップS713では、車載画像処理装置100は、経過時間Tが第1時間T1を超えたか否か、ステップS709で取得された自車両の車速Vspが所定速度Vを超えたか否か、および、ステップS709で取得された自車両のヨーレートVyrが所定のヨーレートVを超えたか否かのいずれかが成立したか否かを判定する。車載画像処理装置100は、ステップS713が肯定判定された場合は図8のステップS414に処理を進め、ステップS713が否定判定された場合は図8の処理を終了して図2のステップS50の処理に進む。 In step S713 of FIG. 8, the in-vehicle image processing apparatus 100 determines whether or not the elapsed time T C exceeds the first hour T1, or the vehicle speed V sp of the vehicle acquired in step S709 exceeds a predetermined speed V 1 not Whether or not the yaw rate V yr of the host vehicle acquired in step S709 exceeds a predetermined yaw rate V 2 is determined. If the determination in step S713 is affirmative, the in-vehicle image processing apparatus 100 proceeds to step S414 in FIG. 8, and if the determination in step S713 is negative, the in-vehicle image processing apparatus 100 ends the processing in FIG. 8 and performs the processing in step S50 in FIG. Proceed to

自車両の車速やヨーレートが大きい場合、自車両のカメラのレンズに付着した異物が風圧などにより除去される場合がある。走行中の風圧などにより異物が除去された場合に、異物が付着していたときの認識結果を保持していると、不要な処理(例えば、異物除去動作)を行う原因となりうる。ステップS713では、そのような不要な処理を予防するため、自車両の車速やヨーレートに基づく条件が含まれている。   When the vehicle speed or yaw rate of the host vehicle is high, foreign matter adhering to the lens of the camera of the host vehicle may be removed by wind pressure or the like. If a foreign object is removed due to wind pressure or the like while traveling, holding a recognition result when the foreign object is attached may cause unnecessary processing (for example, a foreign object removing operation). In step S713, conditions based on the vehicle speed and yaw rate of the host vehicle are included to prevent such unnecessary processing.

図8のステップS714では、リアカメラの異物認識結果を初期化する。   In step S714 of FIG. 8, the foreign object recognition result of the rear camera is initialized.

以上説明した実施の形態によれば、次のような作用効果を奏する。
車載画像処理装置100は、画像取得部1と、進行方向検出部2と、画像選択部3と、外界認識部6と、異物認識部7と、挙動検出部8aを有する初期化部8とを備える。画像取得部1は、自車両の前方を撮影するフロントカメラ200と自車両の後方を撮影するリアカメラ201とからそれぞれ撮影画像を取得する。進行方向検出部2は、自車両のシフトポジション(進行方向)を検出する。画像選択部3は、フロントカメラ200とリアカメラ201との中から進行方向検出部2が検出した自車両のシフトポジションに対応するカメラの撮影画像を選択する。外界認識部6は、画像選択部3が選択した撮影画像に対応した俯瞰画像に基づいて自車両の外界を認識する。異物認識部7は、画像選択部3が選択した撮影画像に対応した俯瞰画像に基づいてカメラレンズに付着した異物を認識する。方向切替検出部5は、進行方向検出部2が検出したシフトポジションの変化を検出する。挙動検出部8aは、方向切替検出部5によりシフトポジションの変化が検出された後の経過時間T等、自車両の挙動を検出する。初期化部8は、挙動検出部8aにより第1時間Tより大きい経過時間Tが検出されたとき外界認識部6の認識結果を初期化すると共に、挙動検出部8aにより第2時間Tが検出されたとき異物認識部7の認識結果を初期化する。
このようにしたので、複数のカメラの映像の中から選択された映像が切り替わるとき、映像を用いる処理ごとに適切なタイミングで初期化を行うことができる。
According to the embodiment described above, the following operational effects can be obtained.
The in-vehicle image processing apparatus 100 includes an image acquisition unit 1, a traveling direction detection unit 2, an image selection unit 3, an external environment recognition unit 6, a foreign object recognition unit 7, and an initialization unit 8 having a behavior detection unit 8a. Prepare. The image acquisition unit 1 acquires captured images from a front camera 200 that captures the front of the host vehicle and a rear camera 201 that captures the rear of the host vehicle. The traveling direction detection unit 2 detects the shift position (traveling direction) of the host vehicle. The image selection unit 3 selects a captured image of the camera corresponding to the shift position of the host vehicle detected by the traveling direction detection unit 2 from the front camera 200 and the rear camera 201. The external environment recognition unit 6 recognizes the external environment of the host vehicle based on the overhead image corresponding to the captured image selected by the image selection unit 3. The foreign object recognition unit 7 recognizes a foreign object attached to the camera lens based on the overhead image corresponding to the captured image selected by the image selection unit 3. The direction switching detection unit 5 detects a shift position change detected by the traveling direction detection unit 2. Behavior detecting unit 8a, the elapsed time T C, etc. after the change in the shift position is detected by the direction switching detection unit 5, detects the behavior of the host vehicle. Initialization unit 8, the behavior detecting unit together with the first hour T 1 is greater than the elapsed time T C initializes a recognition result of the external world recognizing unit 6 when detected by 8a, the second time by the behavior detecting unit 8a T 2 Is detected, the recognition result of the foreign object recognition unit 7 is initialized.
Since it did in this way, when the image | video selected from the image | video of several cameras switches, initialization can be performed at an appropriate timing for every process using an image | video.

以上で説明した実施の形態は、以下のように変形して実施できる。
進行方向検出部2は、自車両の進行方向として、自車両のシフトポジションに関する情報をECUから取得するものとしたが、他の方法で自車両の進行方向に関する情報を検出してもよい。例えば、GPS受信器を備え、受信したGPS信号に基づいて自車両の位置を検出して、その位置の変化に基づいて自車両の進行方向を検出することにしてもよい。また、自車両に接続されたナビゲーション装置やGPS受信器を備えた情報端末などから自車両の進行方向に関する情報を取得することにしてもよい。
The embodiment described above can be implemented with the following modifications.
The traveling direction detection unit 2 acquires information on the shift position of the host vehicle from the ECU as the traveling direction of the host vehicle. However, information on the traveling direction of the host vehicle may be detected by other methods. For example, a GPS receiver may be provided, and the position of the host vehicle may be detected based on the received GPS signal, and the traveling direction of the host vehicle may be detected based on a change in the position. Moreover, you may decide to acquire the information regarding the advancing direction of the own vehicle from the navigation apparatus connected to the own vehicle, the information terminal provided with the GPS receiver, etc.

図2では、ステップS80の処理の後、必ずステップS10の処理を行うものとしたが、自車両の速度が所定速度以下(例えば、時速40km以下)のときにのみステップS10の処理に戻ることにしてもよい。   In FIG. 2, the process of step S10 is always performed after the process of step S80. However, the process returns to the process of step S10 only when the speed of the host vehicle is equal to or lower than a predetermined speed (for example, 40 km / h or less). May be.

車載画像処理装置100に接続されるカメラは、フロントカメラ200とリアカメラ201だけに限定しない。自車両の左側方と右側方とを撮影するカメラをさらに備えることにしてもよい。   The cameras connected to the in-vehicle image processing apparatus 100 are not limited to the front camera 200 and the rear camera 201. You may decide to further provide the camera which image | photographs the left side and the right side of the own vehicle.

挙動検出部8aは、経過時間Tの代わりに自車両のECUから出力される車速パルスのパルス間隔を検出することにしてもよい。車速パルスのパルス間隔は、進行方向に関係なく自車両が減速するほど大きくなる。初期化部8は、パルス間隔に対してピーク検出を行い、ピークが検出された後にパルス間隔が所定値以下に減少したときに外界認識部6の認識結果を初期化することにしてもよい。 Behavior detecting unit 8a may be to detect the pulse interval of the vehicle speed pulse output from the ECU of the vehicle instead of the elapsed time T C. The pulse interval of the vehicle speed pulse increases as the host vehicle decelerates regardless of the traveling direction. The initialization unit 8 may perform peak detection for the pulse interval, and may initialize the recognition result of the external recognition unit 6 when the pulse interval decreases to a predetermined value or less after the peak is detected.

挙動検出部8aは、シフトポジションが切り替えられてからの経過時間Tを検出すると共に、ドライバーへ表示している画面表示の切り替わりを検出しても良い。ドライバーへ表示する画面表示の切り替わりは、例えばドライバーによる画面操作(ナビ操作、カメラ表示形式の変更)が生じた場合や、ソナーで障害物を検出した際にその旨をドライバーへ伝える為の表示が画面へ出現した場合等である。初期化部8は、ドライバーへ表示している画面表示の切り替わりを検出した場合に、外界認識部6の認識結果および/または異物認識部7の認識結果を初期化することにしてもよい。 Behavior detecting unit 8a detects the elapsed time T C from a shift position is switched, it may be detected screen display switches that are displayed to the driver. For example, when a screen operation (navigation operation, change of camera display format) occurs by the driver or when an obstacle is detected by sonar, a display to inform the driver of the screen display to be displayed to the driver is displayed. For example, when it appears on the screen. The initialization unit 8 may initialize the recognition result of the external recognition unit 6 and / or the recognition result of the foreign object recognition unit 7 when the switching of the screen display displayed on the driver is detected.

さらに、外界認識部6において、自車のシフトポジションを用いて進行方向を推定し、車輪速を用いて移動量を推定する自車挙動推定を用いる場合、自車のシフトポジションが切り替わった直後は、惰性により車輪が回転しているにも関わらずシフトポジションにより推定された進行方向が逆方向となるため、実際と異なる挙動を示す。よって、上述した実施の形態に基づく処理により外界認識部6の認識結果を初期化する第一の初期化とは別に、自車挙動に関する内容のみを初期化する第二の初期化を設けるようにしてもよい。   Furthermore, in the external environment recognition unit 6, when using the own vehicle behavior estimation in which the traveling direction is estimated using the shift position of the own vehicle and the movement amount is estimated using the wheel speed, immediately after the shift position of the own vehicle is switched. In spite of the wheels rotating due to inertia, the traveling direction estimated by the shift position is the reverse direction, and thus the behavior is different from the actual one. Therefore, in addition to the first initialization that initializes the recognition result of the external recognition unit 6 by the processing based on the above-described embodiment, a second initialization that initializes only the contents related to the vehicle behavior is provided. May be.

具体的には、自車速度Vspを取得し、値がゼロとなったタイミングで第二の初期化として、デッドレコニングにより推定している自車の移動をいったんゼロに初期化する。 Specifically, the host vehicle speed Vsp is acquired, and at the timing when the value becomes zero, the movement of the host vehicle estimated by dead reckoning is initialized to zero as the second initialization.

以上で説明した実施の形態や変形例はあくまで例示に過ぎず、発明の特徴が損なわれない限り本発明はこれらの内容に限定されない。また、以上で説明した実施の形態や変形例は発明の特徴が損なわれない限り組み合わせて実行してもよい。   The embodiments and modifications described above are merely examples, and the present invention is not limited to these contents as long as the features of the invention are not impaired. Further, the embodiments and modifications described above may be combined and executed as long as the features of the invention are not impaired.

1 画像取得部
2 進行方向検出部
3 画像選択部
4 画像処理部
5 方向切替検出部
6 外界認識部
7 異物認識部
8 初期化部
8a 挙動検出部
9 情報記憶部
100 車載画像処理装置
DESCRIPTION OF SYMBOLS 1 Image acquisition part 2 Progression direction detection part 3 Image selection part 4 Image processing part 5 Direction switching detection part 6 External field recognition part 7 Foreign substance recognition part 8 Initialization part 8a Behavior detection part 9 Information storage part 100 Car-mounted image processing apparatus

Claims (8)

車両の前方を撮影する前方カメラと、前記車両の後方を撮影する後方カメラとからそれぞれ撮影画像を取得する画像取得部と、
前記車両の進行方向を検出する進行方向検出部と、
前記前方カメラと前記後方カメラとの中から、前記進行方向検出部が検出した前記車両の進行方向を撮影する第1カメラの撮影画像を選択する画像選択部と、
前記第1カメラの撮影画像に基づいて、前記車両の外界を認識する外界認識部と、
前記第1カメラの撮影画像に基づいて、前記第1カメラのレンズに付着した異物を認識する異物認識部と、
前記進行方向検出部が検出した前記進行方向の変化を検出する方向変化検出部と、
前記方向変化検出部により前記車両の挙動を検出する挙動検出部を有し、前記挙動検出部により第1の挙動が検出されたとき前記外界認識部の認識結果を初期化すると共に、前記挙動検出部により第2の挙動が検出されたとき前記異物認識部の認識結果を初期化する初期化部と、
を備えることを特徴とする車載画像処理装置。
An image acquisition unit that acquires captured images from a front camera that captures the front of the vehicle and a rear camera that captures the rear of the vehicle;
A traveling direction detector for detecting a traveling direction of the vehicle;
An image selection unit that selects a captured image of a first camera that captures the traveling direction of the vehicle detected by the traveling direction detection unit from the front camera and the rear camera;
An external recognition unit that recognizes the external environment of the vehicle based on a captured image of the first camera;
A foreign substance recognizing unit for recognizing a foreign substance attached to the lens of the first camera based on a photographed image of the first camera;
A direction change detection unit that detects a change in the travel direction detected by the travel direction detection unit;
A behavior detection unit for detecting the behavior of the vehicle by the direction change detection unit; when a first behavior is detected by the behavior detection unit, the recognition result of the external recognition unit is initialized and the behavior detection is performed An initialization unit that initializes the recognition result of the foreign object recognition unit when the second behavior is detected by the unit;
An in-vehicle image processing apparatus comprising:
請求項1に記載の車載画像処理装置において、
前記挙動検出部は、前記方向変化検出部により前記進行方向の変化が検出されたときからの経過時間を検出し、
前記初期化部は、前記挙動検出部により第1の経過時間が検出されたとき前記外界認識部の認識結果を初期化すると共に、前記挙動検出部により第2の経過時間が検出されたとき前記異物認識部の認識結果を初期化することを特徴とする車載画像処理装置。
The in-vehicle image processing apparatus according to claim 1,
The behavior detection unit detects an elapsed time from when the change in the traveling direction is detected by the direction change detection unit,
The initialization unit initializes the recognition result of the external field recognition unit when the first elapsed time is detected by the behavior detection unit, and the second detection time is detected by the behavior detection unit. An in-vehicle image processing apparatus characterized by initializing a recognition result of a foreign object recognition unit.
請求項1または2に記載の車載画像処理装置において、
前記挙動検出部は、前記車両の速度をさらに検出し、
前記初期化部は、前記挙動検出部により第1の速度が検出されたとき前記外界認識部の認識結果を初期化すると共に、前記挙動検出部により第2の速度が検出されたとき前記異物認識部の認識結果を初期化することを特徴とする車載画像処理装置。
The in-vehicle image processing device according to claim 1 or 2,
The behavior detection unit further detects the speed of the vehicle,
The initialization unit initializes the recognition result of the external field recognition unit when the first speed is detected by the behavior detection unit, and recognizes the foreign object when the second speed is detected by the behavior detection unit. An in-vehicle image processing apparatus characterized by initializing a recognition result of a unit.
請求項3に記載の車載画像処理装置において、
前記挙動検出部は、前記車両のヨーレートをさらに検出し、
前記初期化部は、前記挙動検出部により第2の速度が検出されたとき、または前記所定のヨーレートが検出されたときに、前記異物認識部の認識結果を初期化することを特徴とする車載画像処理装置。
The in-vehicle image processing device according to claim 3,
The behavior detection unit further detects the yaw rate of the vehicle,
The initialization unit initializes a recognition result of the foreign object recognition unit when a second speed is detected by the behavior detection unit or when the predetermined yaw rate is detected. Image processing device.
請求項1に記載の車載画像処理装置において、
前記進行方向検出部は、前記車両のシフトレバーのポジションを検出し、
前記シフトレバーは、前記車両が後方に進行するRポジションを少なくとも含む複数のポジションを有し、
前記方向変化検出部は、前記シフトレバーが前記Rポジションに変更されることと、前記シフトレバーが前記Rポジションから他のポジションに変更されることとを検出することを特徴とする車載画像処理装置。
The in-vehicle image processing apparatus according to claim 1,
The traveling direction detection unit detects the position of the shift lever of the vehicle,
The shift lever has a plurality of positions including at least an R position where the vehicle travels backward,
The in-vehicle image processing apparatus, wherein the direction change detection unit detects that the shift lever is changed to the R position and the shift lever is changed from the R position to another position. .
請求項1に記載の車載画像処理装置において、
前記外界認識部は、前記車両の周囲の路面に設けられた白線を検出することを特徴とする車載画像処理装置。
The in-vehicle image processing apparatus according to claim 1,
The in-vehicle image processing apparatus, wherein the external environment recognition unit detects a white line provided on a road surface around the vehicle.
請求項1に記載の車載画像処理装置において、
前記挙動検出部は、車載モニタの表示変化を検出し、
前記初期化部は、前記挙動検出部により検出された前記車載モニタの表示変化が所定の変化であった場合に前記外界認識部の認識結果および/または前記異物認識部の認識結果を初期化することを特徴とする車載画像処理装置。
The in-vehicle image processing apparatus according to claim 1,
The behavior detection unit detects a display change of the in-vehicle monitor,
The initialization unit initializes the recognition result of the external recognition unit and / or the recognition result of the foreign object recognition unit when the display change of the in-vehicle monitor detected by the behavior detection unit is a predetermined change. An in-vehicle image processing apparatus characterized by the above.
請求項1に記載の車載画像処理装置において、
前記初期化部は、前記挙動検出部により前記第1の挙動が検出されたとき前記外界認識部の認識結果を初期化する第一の初期化を実施し、前記挙動検出部により前記第2の挙動が検出されたとき前記外界認識部の認識結果のうち自車挙動に関連する部分を初期化する第二の初期化を実施することを特徴とする車載画像処理装置。
The in-vehicle image processing apparatus according to claim 1,
The initialization unit performs a first initialization for initializing a recognition result of the external recognition unit when the behavior detection unit detects the first behavior, and the behavior detection unit performs the second initialization. An in-vehicle image processing apparatus that performs a second initialization for initializing a portion related to the vehicle behavior of the recognition result of the external recognition unit when a behavior is detected.
JP2012258714A 2012-11-27 2012-11-27 On-vehicle image processing system Pending JP2014104840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012258714A JP2014104840A (en) 2012-11-27 2012-11-27 On-vehicle image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012258714A JP2014104840A (en) 2012-11-27 2012-11-27 On-vehicle image processing system

Publications (1)

Publication Number Publication Date
JP2014104840A true JP2014104840A (en) 2014-06-09

Family

ID=51026697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012258714A Pending JP2014104840A (en) 2012-11-27 2012-11-27 On-vehicle image processing system

Country Status (1)

Country Link
JP (1) JP2014104840A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016194815A (en) * 2015-03-31 2016-11-17 アイシン・エィ・ダブリュ株式会社 Feature image recognition system, feature image recognition method, and computer program
CN113261278A (en) * 2018-12-27 2021-08-13 伟摩有限责任公司 Identifying defects in optical detector systems based on the extent of stray light
CN113261278B (en) * 2018-12-27 2024-09-24 伟摩有限责任公司 Identifying defects in an optical detector system based on the range of stray light

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016194815A (en) * 2015-03-31 2016-11-17 アイシン・エィ・ダブリュ株式会社 Feature image recognition system, feature image recognition method, and computer program
CN113261278A (en) * 2018-12-27 2021-08-13 伟摩有限责任公司 Identifying defects in optical detector systems based on the extent of stray light
JP2022517725A (en) * 2018-12-27 2022-03-10 ウェイモ エルエルシー Defect identification in photodetector systems based on stray light range
JP7280363B2 (en) 2018-12-27 2023-05-23 ウェイモ エルエルシー Defect identification in photodetector systems based on stray light range
CN113261278B (en) * 2018-12-27 2024-09-24 伟摩有限责任公司 Identifying defects in an optical detector system based on the range of stray light

Similar Documents

Publication Publication Date Title
US10810446B2 (en) Parking space line detection method and device
EP3361721B1 (en) Display assistance device and display assistance method
EP2933790B1 (en) Moving object location/attitude angle estimation device and moving object location/attitude angle estimation method
CA2999962C (en) Information presenting device and information presenting method
EP2369552B1 (en) Approaching object detection system
JP4774849B2 (en) Vehicle obstacle display device
US8232893B2 (en) Parking assist apparatus and method
JP5022609B2 (en) Imaging environment recognition device
US10618467B2 (en) Stereo image generating method using mono cameras in vehicle and providing method for omnidirectional image including distance information in vehicle
US20180322349A1 (en) Parking Space Detection Method and Device
JP6307895B2 (en) Vehicle periphery monitoring device
JP2017037473A (en) Steering support device
JP6129268B2 (en) Vehicle driving support system and driving support method
JP2009231938A (en) Surrounding monitoring device for vehicle
JP2015064795A (en) Determination device and determination method for parking place
JP2007257301A (en) Sign recognition system for vehicle
JP2004310522A (en) Vehicular image processor
JP4986070B2 (en) Ambient monitoring device for vehicles
JP4930432B2 (en) Vehicle periphery monitoring device
JP2010012838A (en) Parking assisting device and parking assisting method
JP2014104840A (en) On-vehicle image processing system
JP6044429B2 (en) Parking assistance device and parking assistance method
JP2014106738A (en) In-vehicle image processing device
JP5723561B2 (en) Driving assistance device
JP2008185554A (en) Route guidance device for vehicle