JP4257627B2 - Raindrop detector - Google Patents
Raindrop detector Download PDFInfo
- Publication number
- JP4257627B2 JP4257627B2 JP33003099A JP33003099A JP4257627B2 JP 4257627 B2 JP4257627 B2 JP 4257627B2 JP 33003099 A JP33003099 A JP 33003099A JP 33003099 A JP33003099 A JP 33003099A JP 4257627 B2 JP4257627 B2 JP 4257627B2
- Authority
- JP
- Japan
- Prior art keywords
- raindrop
- area
- windshield
- determination
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/01—Arrangements or apparatus for facilitating the optical investigation
- G01N21/15—Preventing contamination of the components of the optical system or obstruction of the light path
- G01N2021/155—Monitoring cleanness of window, lens, or other parts
- G01N2021/157—Monitoring by optical means
Description
【0001】
【発明の属する技術分野】
本発明は、雨滴検出装置に関し、特に車両のフロントガラスに付着する雨滴を検出し、車両に備えられるワイパを自動的に駆動させることが可能な雨滴検出装置に関するものである。
【0002】
【従来の技術】
車両、例えば自動車には、フロントガラスに付着した雨滴を払拭し、前記フロントガラスにおける視界状況を回復させるワイパが備えられている。車両運転者は車両に備えられているワイパスイッチを操作することによって手動により前記ワイパを動かすことが現状である。しかしながら、ここ最近では、前記ワイパスイッチを操作しなくとも前記フロントガラスに付着した雨滴を払拭する雨滴検出装置が開発されている。
【0003】
このような雨滴検出装置には、光学式雨滴センサを用いたものや振動検出式雨滴センサを備えたものがある。前記光学式雨滴センサを用いた雨滴検出装置は、車両の所定箇所(例えばボンネット)に受光素子及び発光素子を有する光学式センサを備え、受光素子及び発光素子間の光路を遮る雨滴を前記受光素子の受光状態により検出し雨量を推定するものである。また、前記振動検出式雨滴センサを用いた雨滴検出装置は、車両の所定箇所(例えばボンネット)に感圧センサを備え、前記感圧センサに衝突する雨滴を前記感圧センサの電圧出力により検出し雨量の推定を行うものである。
【0004】
【発明が解決しようとする課題】
前述した光学式センサや振動式センサを備える雨滴検出装置は、何れにしてもフロントガラスに直接付着した雨滴を検出するものではなく、このため前記各センサからの出力状態と実際の前記フロントガラスに付着した雨量とで差が生じ、適切なワイパ制御が得られないといった問題点を有している。
【0005】
そこで、本発明は、前述した問題点に着目し、フロントガラスに付着した雨滴を実際に検出し、適切な雨量の検出が可能な雨滴検出装置を提供するものである。
【0006】
【課題を解決するための手段】
本発明は、前記課題を解決するため、車両のフロントガラスを払拭するワイパの払拭領域を含むように前記フロントガラス越しに前記車両の前方を撮影する撮影手段と、前記撮影手段によって撮影された過去の画像データと、前記撮影手段によって撮影された今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラスに付着した雨滴を検出する雨滴判定手段と、を備えた雨滴検出装置であって、前記雨滴判定手段は、前記移動方向の判定において、少なくとも上方方向であると判断した場合に前記フロントガラスに付着した前記雨滴として検出してなるものである。
【0007】
また、車両のフロントガラスを払拭するワイパの払拭領域を含むように前記フロントガラス越しに前記車両の前方を撮影する撮影手段と、前記撮影手段によって撮影された雨滴を含む画像においてエッジの抽出を行い、前記エッジ抽出された領域について2値化処理を行い、2値化された領域をグループ化するとともに、前記グループ化された領域に基づき複数の形状特徴量を求め、これらの前記形状特徴量の比較結果に基づいて前記フロントガラスに付着した前記雨滴となる画像データを求める第1雨滴判定を行い、前記第1雨滴判定に伴う過去の画像データと、前記第1の雨滴判定に伴う今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラスに付着した前記雨滴を検出する第2雨滴判定を行う雨滴判定手段と、を備えた雨滴検出装置であって、前記雨滴判定手段は、前記移動方向の判定において、少なくとも上方方向であると判断した場合に前記フロントガラスに付着した前記雨滴として検出してなるものである。
【0008】
また、前記撮影手段により取り込まれる画像の切り出し範囲を、前記車両が走行する路面に設定してなるものである。
【0009】
また、前記雨滴判定手段は、前記切り出し範囲内において、前記雨滴の個数、もしくは前記雨滴と判断された領域の面積の総和によって前記フロントガラスに付着した前記雨滴の量を検出してなるものである。
【0010】
また、前記雨滴判定手段の前記第1雨滴判定において、前記グループ化された領域の輪郭に接する包囲領域を求めるとともに、前記包囲領域の長手方向の長さに基づいて基準領域を求め、前記基準領域の面積と、前記グループ化された領域の面積とを比較し、この比較結果に基づき前記フロントガラスに付着した前記雨滴を検出してなるものである。
【0011】
また、前記雨滴判定手段の前記第1の雨滴判定において、前記グループ化された領域の長手方向の長さに基づき基準領域を求め、前記基準領域の面積と、前記グループ化された領域の面積とを比較し、この比較結果に基づき前記フロントガラスに付着した前記雨滴を検出してなるものである。
【0012】
また、前記雨滴判定手段によって求められる前記雨滴の量に応じて、前記ワイパの動作を制御するワイパ制御手段を備えてなるものである。
【0013】
また、前記ワイパ制御手段は、前記雨滴判定手段によって求められる前記雨滴の量に応じて、前記ワイパにおけるオン/オフ動作,前記ワイパの間欠動作と連続動作との切り換え,前記間欠動作の時間調整及び前記連続動作における動作スピードの調整の少なくとも一つを制御してなるものである。
【0014】
【発明の実施の形態】
以下、本発明の実施の形態を添付図面に基づき説明する。
【0015】
図1において、雨滴検出装置1は、CCDカメラ(撮影手段)2と、雨滴判定手段3とワイパ制御手段4とから構成されている。
【0016】
CCDカメラ2は、車両(例えば、自動車)5内に配設されるルームミラー(図示しない)の近傍に配設され、フロントガラス6越しに車両5の前方画像を撮影する。CCDカメラ2は、図2及び図3に示すように、例えば640×480画素からなる検出領域を有し、この内、前方画像の路面R部分のみの画像データを取り込む、例えば160×120画素からなる撮像エリア7を備えている。尚、撮像エリア7の切り出し範囲は、雨滴判定手段4によって設定されるもので、車両5に備えられるワイパ8によるフロントガラス6の払拭領域で、かつ路面R部分に設定される。尚、図3は、フロントガラス6に付着した雨滴9を示すものである。
【0017】
雨滴判定手段3は、画像処理手段3aと、雨滴検出装置1における制御手段であるCPU3bと、ROM3cと、RAM3dとから構成される。
【0018】
画像処理手段3aは、撮像エリア7によりフロントガラス6越しに撮影される前方画像、即ち、雨滴9を含む画像をフィルタ処理(平均値フィルタ)してノイズ除去するとともに、取り込まれた画像における強エッジ領域のエッジ抽出を行い、前記エッジ抽出された領域について2値化処理を行うものである。
【0019】
CPU3bは、画像処理手段3aにより2値化された領域を所定の画素単位でグループ化(後で詳述する)し、前記グループ化された領域に基づき複数の形状特徴量を求め、これらの形状特徴量の比較処理を行うことでフロントガラス6に付着した雨滴9である画像データを求める第1雨滴判定を行い、前記第1雨滴判定に伴う過去の画像データと、前記第1雨滴判定に伴う今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づきフロントガラス6に付着した雨滴9を検出する第2雨滴判定(後で詳述する)を行って、フロントガラス6に付着した雨滴9を検出するとともに、フロントガラス6に付着した雨量を求め、この雨量に基づきフロントガラス6を払拭するワイパ8をワイパ制御手段4を介し制御するものである。
【0020】
ROM3cは、前述したCPU3bによる第1,第2雨滴判定や雨量判定等を実行するためのプログラムが記憶され、このプログラムは必要に応じてCPU3bによって読み出される。
【0021】
RAM(記憶手段)3dは、CPU3bの演算結果や、前記第1雨滴判定の判定結果等を一時的に記憶するものである。
【0022】
ワイパ制御手段4は、雨滴判定手段3から出力される制御信号に基づきワイパ8を動作させる駆動モータを制御するものであり、ワイパ8のオン/オフ動作、ワイパ8の間欠駆動と連続駆動との切り換え、前記間欠駆動における時間間隔可変制御または前記連続駆動における駆動速度可変制御(動作スピードの調整)等を雨滴判定手段3の雨量の判定結果に基づきコントロールするものである。
【0023】
次に、図4から図8を用いて、雨滴検出装置1における雨滴判定手段3の雨滴検出及び雨量判定の処理手順を説明する。
【0024】
雨滴判定手段3は、車両5に搭載される自動切換スイッチ10による入力の有無を確認し、自動雨量検出モードであるか否かの判定を行い(ステップS1)、自動雨量検出モードであると判断すると、図3で示す撮像エリア7内の雨滴9を含む風景を画像データとして取り込み、前記画像データの平均処理(平均値フィルタ処理)を行うことでノイズ除去処理を実行する(ステップS2)。
【0025】
雨滴判定手段3は、ノイズ除去処理を施した後、撮像エリア7の雨滴9を含む画像において、エッジ強度の計算(微分処理)を行うとともに、強エッジ領域の抽出を行うエッジ抽出処理を実行する(ステップS3)。
【0026】
雨滴判定手段3は、エッジ抽出処理で求めたエッジ強度が、所定値以上である画素を黒画素とし、それ以外の画素を白画素とする2値化処理を実行する(ステップS4)。図5は、撮像エリア7の雨滴9を含む画像を2値化処理した例を示すものである。
【0027】
雨滴判定手段3は、図5のように2値化処理された撮像エリア7内において、上下方向,左右方向並びに斜め方向に連なるように存在する全ての黒画素についてグループ化するラベリング処理を実行する(ステップS5)。雨滴判定手段4は、このラベリング処理において、黒画素が連なるように存在する場合は、そのブロックを1グループ化し、また、白画素を隔てて黒画素が連なるように存在する場合は、それぞれのブロックに分けてグループ化するものである。
【0028】
雨滴判定手段3は、ラベリング処理の実行後、撮像エリア7内における2値化されたグループ(以下、2値化領域という)において、1グループ単位毎に形状特徴量を求める(ステップS6)。本発明の実施の形態における形状特徴量の算出方法は以下の通りである。
【0029】
雨滴判定手段3は、図5及び図6に示すようなグループ化された2値化領域11について、1グループ単位毎に、輪郭に接する正方形もしくは長方形形状の包囲領域12を求めるとともに、包囲領域12の各辺における長手方向となる長辺aの長さの2乗の面積s1(=a×a)となる基準領域13を求め、この基準領域13の面積(形状特徴量)s1と、2値化領域11の面積(形状特徴量)s2とから、下記に示す式によって非線分度Lを算出する(ステップS7)。
【0030】
非線分度L=グループ化された2値化領域の面積(黒画素数)/基準領域の面積
【0031】
本発明において、非線分度Lを算出することは、フロントガラス6に付着した雨滴の形状が円もしくは楕円であることに着目し、正方形の面積(基準領域12の面積)に対する雨滴の面積(グループ化された2値化領域11の面積)の比(非線分度L)、即ち基準領域13の面積s1に対する2値化領域11の面積s2の比を求めることによって、撮像エリア7における円もしくは楕円形状の雨滴9のみを検出することを目的とするものである。
【0032】
次に、雨滴判定手段3は、ステップS7で求められた非線分度Lから雨滴9であるか否かの第1雨滴判断を行う(ステップS8)。雨滴判定手段3は、非線分度が0.5以上の場合(L≧0.5)、撮像エリア7内におけるフロントガラス6に付着した雨滴9であると判断し(円や楕円形状の場合は非線分度Lは0.5以上になる)、また非線分度が0.5を下回る場合(L<0.5)、撮像エリア7内における撮像が路面の白線やその他の物体等の線状物体によるノイズであると判断する。
【0033】
雨滴判定手段3は、ステップS8において、非線分度Lが0.5以上であると判断した2値化領域(画像データ)11について、第2雨滴判定を実行すべく2値化領域11の移動方向を算出する(ステップS9)。
【0034】
尚、雨滴判定手段4は、ステップS8において、非線分度Lの判定により2値化領域11が雨滴でないと判断した場合は(L<0.5)、この2値化領域11を非雨滴領域として判断し無視する(ステップS10)。
【0035】
ステップS11における第2雨滴判定について図7及び図8を用いて説明する。図7は、雨滴判定手段3がステップS8により雨滴9であると判断した2値化領域11が、路面Rに描かれている文字や白線等によるノイズである場合を示す図であって、図8は、雨滴判定手段3がステップS8により雨滴9であると判断した2値化領域11が、実際の雨滴である場合を示す図である。
【0036】
雨滴判定手段3は、前回(過去)のステップS8による第1雨滴判定において、雨滴9と判断された2値化領域(過去の画像データ)11a(以下、前回の2値化領域という)と、今回のステップS8による雨滴判定において、雨滴9と判断された2値化領域(今回の画像データ)11b(以下、今回の2値化領域という)とを比較し、前回の2値化領域11aより今回の2値化領域11bが、例えば下方方向に移動している場合(図7(a),(b)参照)、路面Rに描かれている文字や白線等によるノイズである非雨滴領域であると判断し、ステップS10に進む(ステップS11)。
【0037】
また、雨滴判定手段3は、前回の2値化領域11aと、今回の2値化領域11bとを比較し、前回の2値化領域11aより今回の2値化領域11bが、例えば上方方向に移動している場合(図8(a),(b)参照)、フロントガラス6に付着している雨滴9であると判断する。
【0038】
尚、前述したステップS11の第2雨滴判定は、撮像エリア7により入力される画像データが、路面Rを含むデータであるため、車両5が走行している場合において路面Rに関する撮像(2値化領域11)が撮像エリア7における下方方向へ移動することなり、これに対し車両5が走行している場合において雨滴(2値化領域11)9が、フロントガラス6に付着した位置で止まっているか、上方方向に移動もしくは水平方向の移動の何れかであることに着目した判定である。従って、ステップS8の第2雨滴判定において、上方方向を雨滴であると判定しているが、その場で止まっている2値化領域や水平方向に移動した2値化領域に関しても雨滴9であると判定する。
【0039】
ステップS11における雨滴判定手段3の移動方向の判定において、例えば形状マッチングによる移動ベクトルの推定によって雨滴9であるか否かの判定を行うものである。例えば、撮像エリア7内において、第1雨滴判定によって求められた前回の2値化領域11aの検出位置に最も近い距離で、かつ前回の2値化領域11aと総面積が略同等な2値化領域を予め定められた領域内において捜査することで、今回の2値化領域11bが何れの方向に移動したが判定できることになる。
【0040】
前述した第2雨滴判定により、雨滴9であると判断された2値化領域11は、雨滴判定手段3により次なる処理が施される。雨滴判定手段3は、雨滴9と判定した2値化領域11の面積s2もしくは2値化領域11における画素数を求め、雨滴判定手段3が有するRAM3dに一時的に保管するとともに、撮像エリア7内において雨滴9であると判断された2値化領域11における総面積もしくは総画素数(ΣS)を求める(ステップS12)。
【0041】
雨滴判定手段3において、総面積もしくは総画素数の算出は、撮像エリア7内の全ての2値化領域11における判定(第1雨滴判定及び第2雨滴判定)が終了するまで繰り返し(ステップS6〜ステップS12)実行される(ステップS13)。
【0042】
雨滴判定手段3は、撮像エリア7内における全てのグループ化した2値化領域11の判定が終了し、撮像エリア7内における総面積もしくは総画素数の算出が終了すると、フロントガラス6に付着した雨量の判定を行う(ステップS14)。この雨量判定は、ワイパ8における間欠動作及び連続動作の切換制御を行うことを目的とするものである。
【0043】
雨滴判定手段3は、ステップS14における雨量判定において、ステップS12で算出された総面積もしくは総画素数と、雨滴判定手段3が有するROM3cに予め記憶された設定値Aとを比較し、総面積もしくは総画素数が設定値A以上(ΣS≧A)であると判断した場合、ワイパ8が連続駆動する制御信号をワイパ制御手段4に出力し(ステップS15)、また、総面積もしくは総画素数と設定値Aとを比較し、総面積もしくは総画素数が設定値Aより小さい(ΣS<A)と判断した場合、ワイパ8が間欠駆動する制御信号をワイパ制御手段4に出力することで(ステップS16)、ワイパ9の連続駆動と間欠駆動と切り換えるものである。
【0044】
前述した処理を所定周期により繰り返し実行することで、雨滴9の検出及び雨量判定に伴うワイパ8の自動制御を可能とする。
【0045】
尚、ステップS14からステップS16において、雨滴判定手段3はワイパ8の連続動作と間欠動作を単に切り換えるものであるが、雨滴判定手段3は、ステップS14において、ワイパ8の駆動方式を間欠動作と連続動作との何れかであると判断した後、それぞれの駆動方式において細分化した複数の設定値を設け、これらの設定値と、グループ化した2値化領域11の総面積もしくは総画素数とを比較処理することによって、ワイパ8の間欠駆動の時間間隔可変制御及び連続駆動の駆動速度可変制御が可能となるものである。また、ステップS14の雨量判定後において、単なるワイパ8のオン/オフ(動作/停止)制御とすることも可能である。
【0046】
かかる雨滴検出装置1は、CCDカメラ2により車両のフロントガラス6越しに前方風景を撮影し、CCDカメラ2によって取り込まれた画像においてエッジの抽出を行い、前記エッジ抽出された領域について2値化処理を行うとともに、前記2値化された領域をグループ化し、前記グループ化された2値化領域11に基づき複数の形状特徴量を求め、こられの形状特徴量の比較結果に基づいてフロントガラス6に付着した雨滴9を検出する第1雨滴判定を行い、前記第1雨滴判定に伴う過去の画像データと、前記第1雨滴判定に伴う今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラス6に付着した雨滴9を検出する第2雨滴判定を行うようにしているため、フロントガラス6に付着した実際の雨滴9を適切に検出することができ、雨量の判定も容易に行うことができるため、ワイパ8の自動駆動制御を良好に行うことが可能となる。
【0047】
また、雨滴検出装置1は、フロントガラス6に付着した雨滴が円や楕円形状であることに着目し、グループ化された2値化領域11の輪郭に接する包囲領域12を求めるとともに、包囲領域12の長手方向の長さ、即ち包囲領域12の各辺における長手方向となる長辺aの長さの2乗の面積s1となる基準領域13を求め、この基準領域13の面積s1と、2値化領域11の面積s2とを比較し、正方形の基準領域13の面積s1に対する2値化領域11の面積s2の比を求めることによって、撮像エリア7における円もしくは楕円形状の雨滴9のみを検出することが可能となる。
【0048】
また、雨滴検出装置1は、グループ化された2値化領域11の画素数(雨滴の個数)、もしくは2値化領域11の面積の総和(雨滴と判断された領域の面積の総和)によってフロントガラス6に付着した雨滴9の量(雨量)を検出することで、ワイパ8におけるオン/オフ動作、ワイパ8の間欠動作及び連続動作の切り換え、前記間欠駆動の時間間隔可変制御、連続駆動の駆動速度可変制御等をワイパ制御手段4を介して制御することができる。
【0049】
また、雨滴検出装置1は、CCDカメラ2により取り込まれる画像の切り出し範囲を、フロントガラス6を払拭するワイパ8の払拭領域で且つ車両5が走行する路面Rに設定することで、雨滴9以外の標識や看板等のノイズとなる物体を撮影することが無くなることから、雨滴判定手段3による雨滴判定における誤判定を防止することが可能となる。
【0050】
尚、本発明の実施の形態では、雨滴判定手段3によってグループ化された2値化領域11の輪郭に接する包囲領域12を求めるとともに、包囲領域12の各辺における長手方向となる長辺aの長さの2乗から求まる面積s1となる基準領域13を求めるようにしたが、本発明は、グループ化された2値化領域11の長手方向の長さ、例えば2値化領域11の最も長手方向となる対角線の長さの2乗から求まる面積から基準領域を求め、この基準領域の面積と、前記グループ化された2値化領域11の面積とを比較し、この比較結果に基づきフロントガラス6に付着した雨滴9を検出するようにしても良い。
【0051】
また、本発明の実施の形態における雨滴判定手段3は、面積を形状特徴量としたが、例えば、楕円の縦の長さと横の長さとをそれぞれ形状特徴量とし、この縦横比に基づく楕円の扁平率によって雨滴9も検出するものであってもよい。また他の形状特徴量としては、包囲領域12の対角線長や2値化領域11の円周長等が挙げられる。
【0052】
また、本発明の実施の形態における雨滴判定手段3の第1雨滴判定において、ステップS6により形状特徴量の算出を行っているが、この処理中において、包囲領域12の長手方向となる長辺aの長さに、許容範囲(例えば、4画素≦長辺a≦32画素)を設け、この許容範囲に長辺aが入っているか否かの判定を加えることで、雨滴9以外の撮像が除去が可能となり、更に適切な雨滴検出が可能となる。
【0053】
また、本発明の実施の形態における雨滴判定手段3では、第2雨滴判定において、形状マッチングによる移動ベクトルの推定によって2値化領域の移動方向を求めるものであったが、この他に画像データである輝度データに基づいたオプティカルフローによって2値化領域の移動方向を求めることができる。
【0054】
また、本発明の実施の形態では、雨滴判定手段3による第1,第2雨滴判定によってフロントガラス6に付着した雨滴9を検出する雨滴検出装置1であったが、本発明は、雨滴検出装置の使用環境によっては、CCDカメラ等の撮影手段によって撮影された過去の画像データと、前記撮影手段によって撮影された今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラスに付着した雨滴を検出するだけのものであっても良い。
【0055】
【発明の効果】
本発明は、車両のフロントガラスを払拭するワイパの払拭領域を含むように前記フロントガラス越しに前記車両の前方を撮影する撮影手段と、前記撮影手段によって撮影された過去の画像データと、前記撮影手段によって撮影された今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラスに付着した雨滴を検出する雨滴判定手段と、を備えた雨滴検出装置であって、前記雨滴判定手段は、前記移動方向の判定において、少なくとも上方方向であると判断した場合に前記フロントガラスに付着した前記雨滴として検出する雨滴検出装置であり、前記フロントガラスに付着した実際の雨滴を適切に検出することができ、雨量の判定も容易に行うことができるため、ワイパの自動駆動制御を良好に行うことが可能となる。
【図面の簡単な説明】
【図1】本発明の実施の形態を示す雨滴検出装置のブロック図。
【図2】同上実施の形態の撮像手段により撮影される画像を示す図。
【図3】同上実施の形態の前記画像における切り出し範囲を示す図。
【図4】同上実施の形態の雨滴判定手段による処理方法を示す図。
【図5】同上実施の形態の第1雨滴判定を示す図。
【図6】同上実施の形態の第1雨滴判定を示す拡大図。
【図7】同上実施の形態の第2雨滴判定を示す図。
【図8】同上実施の形態の第2雨滴判定を示す図。
【符号の説明】
1 雨滴検出装置
2 CCDカメラ(撮影手段)
3 雨滴判定手段
3a 画像処理手段
3b CPU
3c ROM
3d RAM
4 ワイパ制御手段
5 車両
6 フロントガラス
7 撮像エリア
8 ワイパ
9 雨滴
11 グループ化された2値化領域
11a 過去の2値化領域(過去の画像データ)
11b 今回の2値化領域(今回の画像データ)
12 包囲領域
13 基準領域
s1 基準領域の面積
s2 2値化領域の面積
L 非線分度
R 路面[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a raindrop detection device, and more particularly to a raindrop detection device capable of detecting raindrops attached to a windshield of a vehicle and automatically driving a wiper provided in the vehicle.
[0002]
[Prior art]
A vehicle, for example, an automobile, is provided with a wiper that wipes raindrops attached to a windshield and restores the visibility of the windshield. Currently, a vehicle driver manually moves the wiper by operating a wiper switch provided in the vehicle. However, recently, a raindrop detection device has been developed that wipes raindrops adhering to the windshield without operating the wiper switch.
[0003]
Such raindrop detection devices include those using an optical raindrop sensor and those equipped with a vibration detection raindrop sensor. The raindrop detection apparatus using the optical raindrop sensor includes an optical sensor having a light receiving element and a light emitting element at a predetermined location (for example, a hood) of a vehicle, and the light receiving element receives raindrops that block an optical path between the light receiving element and the light emitting element. The amount of rain is detected and detected according to the light receiving state. The raindrop detection apparatus using the vibration detection type raindrop sensor includes a pressure sensor at a predetermined position (for example, a hood) of a vehicle, and detects a raindrop that collides with the pressure sensor by a voltage output of the pressure sensor. Estimate rainfall.
[0004]
[Problems to be solved by the invention]
In any case, the raindrop detection device including the optical sensor and the vibration sensor described above does not detect raindrops directly attached to the windshield. Therefore, the output state from each sensor and the actual windshield are not detected. There is a problem that a difference occurs between the amount of attached rain and appropriate wiper control cannot be obtained.
[0005]
Therefore, the present invention focuses on the above-described problems and provides a raindrop detection apparatus that can actually detect raindrops attached to a windshield and detect an appropriate amount of rain.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention provides a photographing means for photographing the front of the vehicle through the windshield so as to include a wiper wiping region for wiping the windshield of the vehicle, and a past photographed by the photographing means. And the current image data photographed by the photographing means to obtain a moving direction of the current image data with respect to the past image data, and raindrops attached to the windshield based on the moving direction A raindrop determination device for detecting the raindrop , wherein the raindrop determination means is the raindrop adhering to the windshield when it is determined that the raindrop determination means is at least upward in the determination of the moving direction. It is something that is detected .
[0007]
Further, an edge is extracted in an image including raindrops photographed by the photographing means and photographing means for photographing the front of the vehicle through the windshield so as to include a wiper wiping region for wiping the windshield of the vehicle. , Binarization processing is performed on the edge extracted region, the binarized region is grouped, a plurality of shape feature amounts are obtained based on the grouped region, and the shape feature amount Based on the comparison result, the first raindrop determination for obtaining the image data to be the raindrops attached to the windshield is performed, the past image data accompanying the first raindrop determination, and the current image accompanying the first raindrop determination. Data is compared, the movement direction of the current image data with respect to the past image data is obtained, and the windshield is determined based on the movement direction. A raindrop detecting device including a raindrop judging means, for performing a second raindrops determination for detecting the wear was the raindrop, the raindrop determining means in the determination in the movement direction, when it is determined that the least upper direction And detected as the raindrops adhering to the windshield .
[0008]
In addition, a cutout range of an image captured by the photographing unit is set on a road surface on which the vehicle travels.
[0009]
The raindrop determining means detects the amount of the raindrops adhering to the windshield based on the total number of the raindrops or the area of the area determined to be the raindrops within the cutout range. .
[0010]
Further, in the first raindrop determination by the raindrop determination means, an enclosing area that is in contact with an outline of the grouped area is obtained, a reference area is obtained based on a longitudinal length of the enclosing area, and the reference area And the area of the grouped region are compared, and the raindrops adhering to the windshield are detected based on the comparison result.
[0011]
Further, in the first raindrop determination of the raindrop determination means, a reference region is obtained based on a length in a longitudinal direction of the grouped region, and the area of the reference region, the area of the grouped region, And the raindrops adhering to the windshield are detected based on the comparison result.
[0012]
In addition, wiper control means for controlling the operation of the wiper according to the amount of the raindrop determined by the raindrop determination means is provided.
[0013]
Further, the wiper control means is configured to switch on / off operation of the wiper between the intermittent operation and continuous operation of the wiper according to the amount of the raindrop determined by the raindrop determination means, time adjustment of the intermittent operation, and It controls at least one of the adjustments of the operation speed in the continuous operation.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0015]
In FIG. 1, the
[0016]
The
[0017]
The
[0018]
The image processing means 3a removes noise by filtering (an average value filter) a forward image taken through the windshield 6 by the
[0019]
The CPU 3b groups the areas binarized by the
[0020]
The
[0021]
The RAM (storage means) 3d temporarily stores the calculation result of the CPU 3b, the determination result of the first raindrop determination, and the like.
[0022]
The wiper control means 4 controls a drive motor that operates the
[0023]
Next, processing procedures for raindrop detection and rain amount determination of the raindrop determination means 3 in the
[0024]
The
[0025]
After performing the noise removal processing, the
[0026]
The raindrop determination means 3 executes a binarization process in which the pixels whose edge intensity obtained by the edge extraction process is equal to or greater than a predetermined value are black pixels and the other pixels are white pixels (step S4). FIG. 5 shows an example in which an image including raindrops 9 in the
[0027]
The raindrop determination means 3 executes a labeling process for grouping all black pixels existing in a row in the vertical direction, the horizontal direction, and the diagonal direction within the
[0028]
After executing the labeling process, the
[0029]
The
[0030]
Non-linearity L = area of grouped binarized region (number of black pixels) / area of reference region
In the present invention, the calculation of the non-linearity L is based on the fact that the shape of the raindrops attached to the windshield 6 is a circle or an ellipse, and the raindrop area (area of the reference region 12) relative to the square area (area of the reference region 12). The ratio (area L of non-linear segment L) of the grouped
[0032]
Next, the raindrop determination means 3 performs a first raindrop determination as to whether or not it is a raindrop 9 from the non-linearity L determined in step S7 (step S8). The raindrop determination means 3 determines that the raindrop 9 is attached to the windshield 6 in the
[0033]
In step S8, the raindrop determination means 3 performs the second raindrop determination on the binarized area (image data) 11 for which the non-linear segment L is determined to be 0.5 or more. The moving direction is calculated (step S9).
[0034]
If the
[0035]
The second raindrop determination in step S11 will be described with reference to FIGS. FIG. 7 is a diagram showing a case where the
[0036]
The
[0037]
Further, the raindrop determination means 3 compares the previous binarized area 11a with the current
[0038]
In the second raindrop determination in step S11 described above, the image data input from the
[0039]
In the determination of the moving direction of the
[0040]
The
[0041]
In the raindrop determination means 3, the calculation of the total area or the total number of pixels is repeated until the determination in all the
[0042]
The
[0043]
The raindrop determination means 3 compares the total area or the total number of pixels calculated in step S12 with the set value A stored in advance in the
[0044]
By repeatedly executing the above-described processing at a predetermined cycle, the
[0045]
In step S14 to step S16, the
[0046]
The
[0047]
In addition, the
[0048]
Further, the
[0049]
In addition, the
[0050]
In the embodiment of the present invention, the surrounding area 12 in contact with the outline of the
[0051]
Moreover, although the raindrop determination means 3 in the embodiment of the present invention uses the area as the shape feature amount, for example, the vertical length and the horizontal length of the ellipse are the shape feature amounts, respectively, and the ellipse shape based on this aspect ratio is used. The raindrop 9 may also be detected by the flatness. Other shape feature amounts include the diagonal length of the surrounding region 12 and the circumferential length of the
[0052]
Further, in the first raindrop determination of the raindrop determination means 3 in the embodiment of the present invention, the shape feature amount is calculated in step S6. During this process, the long side a that is the longitudinal direction of the surrounding region 12 is calculated. By providing a permissible range (for example, 4 pixels ≦ long side a ≦ 32 pixels) and determining whether the long side a is included in the permissible range, imaging other than raindrops 9 is removed. And more appropriate raindrop detection.
[0053]
In addition, in the raindrop determination means 3 in the embodiment of the present invention, in the second raindrop determination, the movement direction of the binarized region is obtained by estimating the movement vector by shape matching. The moving direction of the binarized area can be obtained by an optical flow based on certain luminance data.
[0054]
In the embodiment of the present invention, the
[0055]
【The invention's effect】
The present invention provides a photographing means for photographing the front of the vehicle through the windshield so as to include a wiper wiping region for wiping the windshield of the vehicle, past image data photographed by the photographing means, and the photographing Raindrop determination means for comparing the current image data taken by the means, obtaining a moving direction of the current image data relative to the past image data, and detecting raindrops attached to the windshield based on the moving direction; The raindrop detection device is a raindrop detection device that detects the raindrops attached to the windshield when it is determined that the raindrop determination means is at least the upward direction in the determination of the moving direction . The actual raindrops adhering to the windshield can be detected appropriately and the amount of rainfall can be easily determined. Therefore, it is possible to perform automatic driving control of the wiper good.
[Brief description of the drawings]
FIG. 1 is a block diagram of a raindrop detection apparatus showing an embodiment of the present invention.
FIG. 2 is a view showing an image photographed by the imaging means of the embodiment.
FIG. 3 is a diagram showing a cutout range in the image according to the embodiment.
FIG. 4 is a view showing a processing method by raindrop determination means of the embodiment.
FIG. 5 is a diagram showing first raindrop determination according to the embodiment.
FIG. 6 is an enlarged view showing first raindrop determination according to the embodiment.
FIG. 7 is a diagram showing second raindrop determination according to the embodiment;
FIG. 8 is a diagram showing second raindrop determination according to the embodiment;
[Explanation of symbols]
1
3 Raindrop determination means 3a Image processing means 3b CPU
3c ROM
3d RAM
4
11b This binarized area (current image data)
12 Enclosed area 13 Reference area s1 Area of reference area s2 Area of binarized area L Non-linear segment R Road surface
Claims (8)
前記撮影手段によって撮影された過去の画像データと、前記撮影手段によって撮影された今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラスに付着した雨滴を検出する雨滴判定手段と、を備えた雨滴検出装置であって、
前記雨滴判定手段は、前記移動方向の判定において、少なくとも上方方向であると判断した場合に前記フロントガラスに付着した前記雨滴として検出してなることを特徴とする雨滴検出装置。Photographing means for photographing the front of the vehicle through the windshield so as to include a wiper wiping region for wiping the windshield of the vehicle;
The past image data photographed by the photographing means is compared with the current image data photographed by the photographing means, the moving direction of the current image data with respect to the past image data is obtained, and the moving direction is A raindrop detection means for detecting raindrops adhering to the windshield based on, a raindrop detection device comprising:
The raindrop detection device detects the raindrops attached to the windshield when it is determined that the raindrop determination means is at least upward in the determination of the moving direction .
前記撮影手段によって撮影された雨滴を含む画像においてエッジの抽出を行い、前記エッジ抽出された領域について2値化処理を行い、2値化された領域をグループ化するとともに、前記グループ化された領域に基づき複数の形状特徴量を求め、これらの前記形状特徴量の比較結果に基づいて前記フロントガラスに付着した前記雨滴となる画像データを求める第1雨滴判定を行い、前記第1雨滴判定に伴う過去の画像データと、前記第1の雨滴判定に伴う今回の画像データとを比較し、前記過去の画像データに対する前記今回の画像データの移動方向を求め、前記移動方向に基づき前記フロントガラスに付着した前記雨滴を検出する第2雨滴判定を行う雨滴判定手段と、を備えた雨滴検出装置であって、
前記雨滴判定手段は、前記移動方向の判定において、少なくとも上方方向であると判断した場合に前記フロントガラスに付着した前記雨滴として検出してなることを特徴とする雨滴検出装置。Photographing means for photographing the front of the vehicle through the windshield so as to include a wiper wiping region for wiping the windshield of the vehicle;
Edge extraction is performed on an image including raindrops photographed by the photographing means, binarization processing is performed on the edge extracted region, the binarized region is grouped, and the grouped region A plurality of shape feature amounts are obtained based on the first feature, and first raindrop determination for obtaining image data as the raindrops attached to the windshield is performed based on a comparison result of the shape feature amounts, and accompanying the first raindrop determination The past image data is compared with the current image data associated with the first raindrop determination, the movement direction of the current image data with respect to the past image data is obtained, and the image data is attached to the windshield based on the movement direction. A raindrop detection device for performing second raindrop determination for detecting the raindrop , and a raindrop detection device comprising:
The raindrop detection device detects the raindrops attached to the windshield when it is determined that the raindrop determination means is at least upward in the determination of the moving direction .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33003099A JP4257627B2 (en) | 1999-11-19 | 1999-11-19 | Raindrop detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33003099A JP4257627B2 (en) | 1999-11-19 | 1999-11-19 | Raindrop detector |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001147278A JP2001147278A (en) | 2001-05-29 |
JP4257627B2 true JP4257627B2 (en) | 2009-04-22 |
Family
ID=18228001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP33003099A Expired - Fee Related JP4257627B2 (en) | 1999-11-19 | 1999-11-19 | Raindrop detector |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4257627B2 (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10139514A1 (en) * | 2001-08-10 | 2003-02-20 | Bosch Gmbh Robert | Transmission detector for window body, especially vehicle windscreen, has optics forming images of sections of body surface on detector whose maximum separation is comparable with free body aperture |
JP4601376B2 (en) * | 2004-10-04 | 2010-12-22 | ダイハツ工業株式会社 | Image abnormality determination device |
JP4353127B2 (en) | 2005-04-11 | 2009-10-28 | 株式会社デンソー | Rain sensor |
JP4513691B2 (en) | 2005-08-23 | 2010-07-28 | 株式会社デンソー | Imaging module |
JP2007159021A (en) * | 2005-12-08 | 2007-06-21 | Matsushita Electric Ind Co Ltd | Camera device and wiper control method |
JP2008064630A (en) * | 2006-09-07 | 2008-03-21 | Hitachi Ltd | Vehicle imager with deposit sensing function |
JP4505509B2 (en) * | 2008-01-16 | 2010-07-21 | 日本電信電話株式会社 | Weather information detection method, weather information detection apparatus, and weather information detection program |
FR2956236B1 (en) * | 2010-02-09 | 2012-11-30 | France Etat Ponts Chaussees | METHOD AND DEVICE FOR DETECTING DROPS IN A DIGITAL IMAGE; COMPUTER PROGRAM FOR IMPLEMENTING THIS METHOD. |
US9227733B2 (en) * | 2013-01-02 | 2016-01-05 | The Boeing Company | Automated water drop measurement and ice detection system |
JP6288838B2 (en) * | 2014-03-28 | 2018-03-07 | 株式会社Subaru | Snow cover detection system for vehicles |
KR102243369B1 (en) * | 2014-11-21 | 2021-04-23 | 주식회사 만도 | Apparatuses and Methods for controlling wiper |
CN104967768B (en) * | 2015-07-10 | 2018-08-28 | 山东神戎电子股份有限公司 | A kind of camera window glass automatic rain brushes dirt device and method |
JP6593790B2 (en) * | 2015-09-30 | 2019-10-23 | 株式会社Subaru | Vehicle glass wiper device |
JP6565619B2 (en) * | 2015-11-11 | 2019-08-28 | 株式会社デンソー | Raindrop detection device, vehicle wiper device, and raindrop detection method |
EP3594662B1 (en) * | 2018-07-09 | 2022-11-09 | TE Connectivity Sensors France | Optical rain sensor and method for determining a minimal rain drop radius |
JP7319170B2 (en) * | 2019-11-06 | 2023-08-01 | 株式会社フジタ | Rainfall calculator |
CN110852274B (en) * | 2019-11-12 | 2023-04-28 | 上海智驾汽车科技有限公司 | Intelligent rainfall sensing method and device based on image recognition |
CN114670787B (en) * | 2022-03-07 | 2023-10-20 | 岚图汽车科技有限公司 | Control method of vehicle and windscreen wiper and related equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3452268B2 (en) * | 1993-08-06 | 2003-09-29 | 矢崎総業株式会社 | Rear side monitoring method for vehicles |
JPH1090188A (en) * | 1996-09-13 | 1998-04-10 | Mitsuba Corp | Image recognition device |
JPH10111249A (en) * | 1996-10-09 | 1998-04-28 | Fujitsu Ten Ltd | Detecting equipment of visibility state |
JP3382529B2 (en) * | 1998-02-13 | 2003-03-04 | 名古屋電機工業株式会社 | Method and apparatus for evaluating rainfall and snow conditions |
JP3675231B2 (en) * | 1999-06-14 | 2005-07-27 | 三菱自動車工業株式会社 | Hydrous substance adhesion detection device |
-
1999
- 1999-11-19 JP JP33003099A patent/JP4257627B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001147278A (en) | 2001-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4257627B2 (en) | Raindrop detector | |
JP4211043B2 (en) | Raindrop detector | |
CN102883925B (en) | Mist on windshield and the detection method of raindrop and drive assistance device | |
KR100741942B1 (en) | Rain sensor | |
EP2351351B1 (en) | A method and a system for detecting the presence of an impediment on a lens of an image capture device to light passing through the lens of an image capture device | |
EP1456703B1 (en) | Moisture sensor utilizing stereo imaging with an image sensor | |
JP6117634B2 (en) | Lens adhesion detection apparatus, lens adhesion detection method, and vehicle system | |
JP4760089B2 (en) | In-vehicle image processing apparatus and image processing method | |
WO2007111220A1 (en) | Road division line detector | |
JP4277308B2 (en) | Raindrop detector | |
JP3444192B2 (en) | Imaging environment estimation device | |
JP4245452B2 (en) | Lens dirt determination method and apparatus | |
CN112839846A (en) | Vehicle cleaning device, vehicle cleaning method, and recording medium | |
KR20120113808A (en) | Method and device for detecting drops in a digital image; computer program for implementing said method | |
JPH09126998A (en) | Rain drop sensor and rain-drop-sensitive wiper | |
JP2014024354A (en) | Wiper control device | |
JP4798576B2 (en) | Attachment detection device | |
US9230189B2 (en) | Method of raindrop detection on a vehicle windscreen and driving assistance device | |
JP2018148345A (en) | On-vehicle camera system, adhered matter detecting apparatus, adhered matter removing method, and adhered matter detecting program | |
JPH10261064A (en) | Sticking material discriminating method for raindrop detector | |
JP6565619B2 (en) | Raindrop detection device, vehicle wiper device, and raindrop detection method | |
JP3562327B2 (en) | Automatic wiper device | |
EP3329419A1 (en) | Method for capturing an object on a road in the environment of a motor vehicle, camera system and motor vehicle using the same | |
JPH10142353A (en) | Raindrop detection method | |
JPH10148618A (en) | Foreign matter detecting method in rain drop detecting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061020 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080806 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081006 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081118 |
|
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: 20090109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090122 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120213 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150213 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |