JP2021050935A - Attached matter detector and attached matter detecting method - Google Patents
Attached matter detector and attached matter detecting method Download PDFInfo
- Publication number
- JP2021050935A JP2021050935A JP2019172212A JP2019172212A JP2021050935A JP 2021050935 A JP2021050935 A JP 2021050935A JP 2019172212 A JP2019172212 A JP 2019172212A JP 2019172212 A JP2019172212 A JP 2019172212A JP 2021050935 A JP2021050935 A JP 2021050935A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- determination
- edge
- calculation unit
- camera
- 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.)
- Granted
Links
Images
Abstract
Description
開示の実施形態は、付着物検出装置および付着物検出方法に関する。 The disclosed embodiments relate to a deposit detection device and a deposit detection method.
従来、車両等に搭載されたカメラによって撮像された撮像画像に基づいて、カメラレンズに付着した付着物を検出する付着物検出装置が知られている。付着物検出装置には、たとえば、時系列の撮像画像の差分に基づいて付着物を検出するものがある(たとえば、特許文献1参照)。 Conventionally, there is known a deposit detection device that detects deposits adhering to a camera lens based on an image captured by a camera mounted on a vehicle or the like. Some deposit detection devices detect deposits based on, for example, differences in captured images over time (see, for example, Patent Document 1).
しかしながら、上述した従来技術には、付着物の検出性能を向上させるうえで、さらなる改善の余地がある。 However, there is room for further improvement in the above-mentioned prior art in improving the detection performance of deposits.
実施形態の一態様は、上記に鑑みてなされたものであって、付着物の検出性能を向上させることができる付着物検出装置および付着物検出方法を提供することを目的とする。 One aspect of the embodiment is made in view of the above, and an object of the present invention is to provide a deposit detection device and a deposit detection method capable of improving the deposit detection performance.
実施形態の一態様に係る付着物検出装置は、算出部と、判定部と、設定部とを備える。前記算出部は、撮像画像に含まれる所定数の画素からなる単位領域毎に、各画素のエッジベクトルに基づく領域特徴量を算出する。前記判定部は、前記領域特徴量に基づいて付着物によるカメラの埋もれ状態を仮判定するとともに、直近分を含む所定数の過去分の仮判定履歴において所定の確定条件が成立した場合に、該当する前記埋もれ状態を確定結果として確定させる。前記設定部は、前記カメラが搭載された車両がイグニッションオンされた場合に、該イグニッションオンの直後に、前記確定条件の成立が早まるように所定の初期値を前記仮判定履歴に設定する。 The deposit detection device according to one aspect of the embodiment includes a calculation unit, a determination unit, and a setting unit. The calculation unit calculates a region feature amount based on the edge vector of each pixel for each unit region composed of a predetermined number of pixels included in the captured image. The determination unit provisionally determines the state of the camera being buried by deposits based on the area feature amount, and corresponds to the case where a predetermined determination condition is satisfied in a predetermined number of past provisional determination histories including the latest portion. The buried state is determined as a confirmation result. When the vehicle equipped with the camera is ignited, the setting unit sets a predetermined initial value in the provisional determination history so that the determination condition is quickly satisfied immediately after the ignition is turned on.
実施形態の一態様によれば、付着物の検出性能を向上させることができる。 According to one aspect of the embodiment, the performance of detecting deposits can be improved.
以下、添付図面を参照して、本願の開示する付着物検出装置および付着物検出方法の実施形態を詳細に説明する。なお、以下に示す実施形態によりこの発明が限定されるものではない。 Hereinafter, embodiments of the deposit detection device and the deposit detection method disclosed in the present application will be described in detail with reference to the accompanying drawings. The present invention is not limited to the embodiments shown below.
まず、図1A〜図1Eを用いて、実施形態に係る付着物検出方法の概要について説明する。図1A〜図1Eは、実施形態に係る付着物検出方法の概要説明図(その1)〜(その5)である。 First, the outline of the deposit detection method according to the embodiment will be described with reference to FIGS. 1A to 1E. 1A to 1E are schematic explanatory views (No. 1) to (No. 5) of the deposit detection method according to the embodiment.
図1Aに示すように、たとえば、車載カメラのレンズ表面に雪が付着した状態で撮像された撮像画像Iがあるものとする。以下では、実施形態に係る付着物検出方法を適用した付着物検出装置1(図2参照)が、かかる撮像画像Iの各画素の輝度勾配に関する特徴量(以下、「エッジ特徴量」と言う場合がある)に基づいて、雪によって車載カメラのレンズの大半が埋もれている状態(以下、「埋もれ状態」と言う場合がある)を検出する場合を例に挙げる。 As shown in FIG. 1A, for example, it is assumed that there is a captured image I captured with snow attached to the lens surface of an in-vehicle camera. In the following, when the deposit detection device 1 (see FIG. 2) to which the deposit detection method according to the embodiment is applied has a feature amount related to the brightness gradient of each pixel of the captured image I (hereinafter referred to as “edge feature amount”). Based on (there is), the case where most of the lens of the in-vehicle camera is buried by snow (hereinafter, may be referred to as “buried state”) is detected as an example.
具体的には、図1Aに示すように、付着物検出装置1は、撮像画像Iの所定の注目領域であるROI(Region Of Interest)から算出される各画素PXのエッジ特徴量に基づいて、雪の付着状態を検出する。エッジ特徴量は、角度特徴量および強度特徴量を含む。角度特徴量は、各画素PXのエッジベクトル(輝度勾配)の向き(以下、「エッジ向き」と言う場合がある)である。強度特徴量は、各画素PXのエッジベクトルの大きさ(以下、「エッジ強度」と言う場合がある)である。
Specifically, as shown in FIG. 1A, the
なお、付着物検出装置1は、画像処理における処理負荷を軽減するため、かかるエッジ特徴量を、所定数の画素PXからなるセル100単位で取り扱う。これにより、画像処理における処理負荷の軽減に資することができる。また、ROIを構成する単位領域UAは、かかるセル100の集まりである。
The
つづいて、付着物検出装置1は、かかるセル100毎に算出したエッジ特徴量に基づいて、単位領域UA毎の特徴量である領域特徴量を算出する。領域特徴量は、言わば単位領域UA毎におけるエッジ特徴量の統計的特徴量であり、たとえばペア領域の個数およびペア領域のエッジ強度の総和を含む。ここで、ペア領域は、隣接し、エッジ向きが互いに逆向きであるセル100の組み合わせである。
Subsequently, the
そのうえで、付着物検出装置1は、かかる領域特徴量に基づいて、単位領域UA毎に付着物の付着状態を判定する。そして、付着物検出装置1は、その単位領域UA毎の判定結果に基づき、レンズの埋もれ状態を判定する。
Then, the
より具体的には、図1Aに示すように、付着物検出装置1は、撮像画像Iにおいて、所定数のセル100が上下方向および左右方向に配列された所定の領域である単位領域UA毎に、まずセル100単位でエッジ特徴量を算出する(ステップS1)。エッジ特徴量は、上述したようにエッジ向きおよびエッジ強度である。
More specifically, as shown in FIG. 1A, the
セル100のエッジ向きは、図1Aに示すように、所定の角度範囲で角度分類される各画素PXのベクトル向きの代表値であり、図1Aの例では、90°の角度範囲毎に区切られた上下左右のいずれかで決定される。また、セル100のエッジ強度は、各画素PXのベクトル強度の代表値である。なお、かかるセル100単位のエッジ特徴量の算出処理については、図3および図4を用いて後述する。
As shown in FIG. 1A, the edge orientation of the
つづいて、付着物検出装置1は、ステップS1で算出したセル100毎のエッジ特徴量に基づいて、単位領域UA毎の領域特徴量を算出する(ステップS2)。そして、付着物検出装置1は、算出した領域特徴量に基づいて単位領域UA毎の付着状態(「付着」か「非付着」か)を判定する(ステップS3)。
Subsequently, the
そして、たとえばROI内の付着率が一定以上になれば、付着物検出装置1は、車載カメラのレンズの大半が埋もれている「埋もれ」であると仮判定する(ステップS4)。ここで、付着率は、たとえばROI内において「付着」と判定された単位領域UAである付着箇所の面積率である。
Then, for example, when the adhesion rate in the ROI exceeds a certain level, the
また、「仮判定」とは、付着物検出装置1は、1フレーム分の処理結果だけによらず、過去の判定履歴の内容を加味した総合的な判断によって判定結果を確定させるため、ステップS4の段階では「仮判定」と表現している。
Further, the “provisional determination” means that the
ここで、かかる仮判定の内容は、図1Bに示すように、仮判定フラグによって示される。仮判定フラグは、値としてたとえば「1」、「−1」、「0」をとりうる。 Here, the content of the provisional determination is indicated by the provisional determination flag as shown in FIG. 1B. The tentative determination flag may take, for example, "1", "-1", or "0" as a value.
値「1」の意味は、「埋もれ」である。かかる「1」は、たとえば付着率が40%以上である場合に設定される。また、値「−1」の意味は、「埋もれでない」である。かかる「−1」は、たとえば付着率が30%未満である場合に設定される。また、値「0」の意味は、「キープ」である。かかる「0」は、たとえば付着率が上記以外である場合または判定困難である場合等に設定される。 The meaning of the value "1" is "buried". Such "1" is set when, for example, the adhesion rate is 40% or more. Moreover, the meaning of the value "-1" is "not buried". Such "-1" is set when, for example, the adhesion rate is less than 30%. Further, the meaning of the value "0" is "keep". Such "0" is set, for example, when the adhesion rate is other than the above, or when it is difficult to determine.
そして、付着物検出装置1は、図1Cに示すように、処理中の撮像画像Inを直近分として含む、所定数(ここでは、たとえば9)の過去フレーム分の仮判定フラグの履歴に基づいて埋もれ状態を確定させる。かかる仮判定フラグの履歴を「判定履歴情報」と言う。
Then, the foreign
図1Dに示すように、付着物検出装置1は、かかる判定履歴情報の履歴9個中、5個以上が「1」であれば、埋もれ状態を「埋もれ」と確定させ、仮判定フラグに対する本判定フラグである「埋もれフラグ」をオンする。
As shown in FIG. 1D, the
また、付着物検出装置1は、かかる履歴9個中、5個以上が「−1」であれば、埋もれ状態を「埋もれでない」と確定させ、「埋もれフラグ」をオフする。なお、以下では、かかる履歴9個中、5個以上の成立条件を、「5/9条件」と言う場合がある。
Further, the
このため、埋もれ状態は、通常は「埋もれ」の仮判定から最短でも5フレームは状態の安定を待った後に、埋もれフラグをオンする動作となる。これにより、埋もれ状態の判定結果が不安定化するのを防止することができる。 For this reason, the buried state is usually an operation of turning on the buried flag after waiting for the state to stabilize for at least 5 frames from the provisional determination of "buried". As a result, it is possible to prevent the determination result of the buried state from becoming unstable.
ただし、車両のIG(イグニッション)オンに際しては、たとえば駐車中だった車両に対する積雪等の影響が考えられるため、通常よりもレスポンスよく埋もれ状態の確定結果が通知されることが好ましい。 However, when the IG (ignition) of the vehicle is turned on, for example, the influence of snow on the parked vehicle may be considered, so it is preferable to be notified of the confirmed result of the buried state with a better response than usual.
そこで、図1Eに示すように、実施形態に係る付着物検出方法では、車両のIGオンに際して、判定履歴情報の直近分から過去分へ向けて所定個数分(ここでは、2個)、初期値として「1」を設定することとした。 Therefore, as shown in FIG. 1E, in the deposit detection method according to the embodiment, when the vehicle's IG is turned on, a predetermined number (here, two) of the determination history information is set as an initial value from the latest portion to the past portion. It was decided to set "1".
すると、図1Eに示すように、これにより、IGオン後、最短3フレーム目で「埋もれ」との確定が可能となる。すなわち、実施形態に係る付着物検出方法では、車両のIGオンに際しては、埋もれ状態の判定結果の確定条件の成立が早まるように、判定履歴情報に所定の初期値を設定することとした。 Then, as shown in FIG. 1E, this makes it possible to confirm "buried" in the shortest third frame after the IG is turned on. That is, in the deposit detection method according to the embodiment, when the IG of the vehicle is turned on, a predetermined initial value is set in the determination history information so that the determination condition of the determination result of the buried state is quickly satisfied.
これにより、実施形態に係る付着物検出方法によれば、付着物の検出性能を向上させることができる。 As a result, according to the deposit detection method according to the embodiment, the deposit detection performance can be improved.
なお、図1Eに示した例では、判定履歴情報に対する初期値の設定によって、埋もれ状態の判定結果の確定条件の成立を早めることとしたが、確定条件そのもの(たとえば、前述の5/9条件)を緩和することとしてもよい。かかる例については、図13を用いて後述する。 In the example shown in FIG. 1E, it was decided to accelerate the establishment of the confirmation condition of the judgment result of the buried state by setting the initial value for the judgment history information, but the confirmation condition itself (for example, the above-mentioned 5/9 condition). May be relaxed. Such an example will be described later with reference to FIG.
以下、上述した実施形態に係る付着物検出方法を適用した付着物検出装置1の構成例について、さらに具体的に説明する。
Hereinafter, a configuration example of the
図2は、実施形態に係る付着物検出装置1のブロック図である。なお、図2では、本実施形態の特徴を説明するために必要な構成要素のみを機能ブロックで表しており、一般的な構成要素についての記載を省略している。
FIG. 2 is a block diagram of the
換言すれば、図2に図示される各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。たとえば、各機能ブロックの分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することが可能である。 In other words, each component shown in FIG. 2 is a functional concept and does not necessarily have to be physically configured as shown in the figure. For example, the specific form of distribution / integration of each functional block is not limited to the one shown in the figure, and all or part of it is functionally or physically distributed in arbitrary units according to various loads and usage conditions. -It is possible to integrate and configure.
図2に示すように、実施形態に係る付着物検出装置1は、記憶部2と、制御部3とを備える。また、付着物検出装置1は、カメラ10と、IGスイッチ20と、車速センサ30と、各種機器50とに接続される。
As shown in FIG. 2, the
なお、図2では、付着物検出装置1が、カメラ10、IGスイッチ20、車速センサ30および各種機器50とは別体で構成される場合を示したが、これに限らず、カメラ10、IGスイッチ20、車速センサ30および各種機器50の少なくともいずれかと一体に構成されてもよい。
Note that FIG. 2 shows a case where the
カメラ10は、たとえば、魚眼レンズ等のレンズと、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)などの撮像素子とを備えた車載カメラである。カメラ10は、たとえば、車両の前後方、側方の様子を撮像可能な位置にそれぞれ設けられ、撮像された撮像画像Iを付着物検出装置1へ出力する。
The camera 10 is, for example, an in-vehicle camera including a lens such as a fisheye lens and an image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor). The camera 10 is provided, for example, at a position where the front and rear of the vehicle and the side of the vehicle can be imaged, and the captured image I is output to the
IGスイッチ20は、イグニッションスイッチである。車速センサ30は、車両の車速を検出するセンサである。
The
各種機器50は、付着物検出装置1の検出結果を取得して、車両の各種制御を行う機器である。各種機器50は、たとえば、カメラ10のレンズに付着物が付着していることやユーザへの付着物の拭き取り指示を通知する表示装置、流体や気体等をレンズへ向けて噴射して付着物を除去する除去装置、および、自動運転等を制御する車両制御装置などを含む。
The
記憶部2は、たとえば、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現され、図2の例では、判定履歴情報21と、テンプレート情報22と、閾値情報23とを記憶する。
The
判定履歴情報21は、図1Dおよび図1Eに示した判定履歴情報に該当する。テンプレート情報22は、後述する算出部33が実行するマッチング処理において用いられるテンプレートに関する情報である。閾値情報23は、後述する判定部34が実行する判定処理において用いられる閾値に関する情報である。
The
制御部3は、コントローラ(controller)であり、たとえば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって、付着物検出装置1内部の記憶デバイスに記憶されている各種プログラムがRAMを作業領域として実行されることにより実現される。また、制御部3は、たとえば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現することができる。
The
制御部3は、取得部31と、設定部32と、算出部33と、判定部34とを有し、以下に説明する情報処理の機能や作用を実現または実行する。
The
取得部31は、カメラ10で撮像された撮像画像Iを取得する。取得部31は、取得した撮像画像Iにおける各画素を輝度に応じて白から黒までの各階調に変換するグレースケール化処理を行うとともに、各画素について平滑化処理を行って、算出部33へ出力する。なお、平滑化処理にはたとえば、平均化フィルタや、ガウシアンフィルタ等の任意の平滑化フィルタを用いることができる。また、グレースケール化処理や、平滑化処理については、省略されてもよい。 The acquisition unit 31 acquires the captured image I captured by the camera 10. The acquisition unit 31 performs grayscale processing for converting each pixel in the acquired captured image I into each gradation from white to black according to the brightness, and also performs smoothing processing for each pixel to the calculation unit 33. Output. For the smoothing process, for example, an averaging filter, an arbitrary smoothing filter such as a Gaussian filter, or the like can be used. Further, the grayscale processing and the smoothing process may be omitted.
また、取得部31は、IGスイッチ20または車速センサ30からの入力信号に基づいて、車両の状況を取得する。また、取得部31は、取得した車両の状況を設定部32へ通知する。
Further, the acquisition unit 31 acquires the vehicle status based on the input signal from the
設定部32は、取得部31から通知された車両の状況に基づいて、判定履歴情報21を設定する。設定部32は、車両の状況としてたとえばIGスイッチ20を介してIGオンが通知された場合に、判定履歴情報21の直近分から過去分へ向けて所定個数分(図1Eに示した例では2個)、初期値として「1」を設定する。
The setting unit 32 sets the
なお、設定部32は、車両の状況としてたとえば車速センサ30を介して車両の停車中が通知された場合に、埋もれ状態の確定条件の成立が早まるように、前述の5/9条件を緩和させることもできる。後述する判定部34は、かかる設定部32による条件の変更に応じつつ、埋もれ状態を確定させることとなる。かかる点については、図13を用いた説明で後述する。
The setting unit 32 relaxes the above-mentioned 5/9 condition so that the condition for determining the buried state is quickly satisfied when the vehicle is notified that the vehicle is stopped, for example, via the
算出部33は、取得部31から取得した撮像画像Iのセル100毎に、エッジ特徴量を算出する。ここで、図3および図4を用いて、算出部33によるエッジ特徴量の算出処理について具体的に説明する。
The calculation unit 33 calculates the edge feature amount for each
図3および図4は、算出部33の処理内容を示す図(その1)および(その2)である。図3に示すように、算出部33は、まず、各画素PXにつきエッジ検出処理を行って、X軸方向(撮像画像Iの左右方向)のエッジexの強度と、Y軸方向(撮像画像Iの上下方向)のエッジeyの強度とを検出する。エッジ検出処理には、たとえば、Sobelフィルタや、Prewittフィルタ等の任意のエッジ検出フィルタを用いることができる。 3 and 4 are diagrams (No. 1) and (No. 2) showing the processing contents of the calculation unit 33. As shown in FIG. 3, the calculation unit 33 first performs edge detection processing for each pixel PX to obtain the strength of the edge ex in the X-axis direction (horizontal direction of the captured image I) and the Y-axis direction (captured image I). The strength of the edge eye (in the vertical direction) is detected. For the edge detection process, for example, an arbitrary edge detection filter such as a Sobel filter or a Prewitt filter can be used.
つづいて、算出部33は、検出したX軸方向のエッジexの強度と、Y軸方向のエッジeyの強度とに基づき、三角関数を用いることでエッジベクトルVを算出し、かかるエッジベクトルVとX軸とがなす角度θであるエッジ向きと、エッジベクトルVの長さLであるエッジ強度を算出する。 Subsequently, the calculation unit 33 calculates the edge vector V by using a trigonometric function based on the detected intensity of the edge ex in the X-axis direction and the intensity of the edge ey in the Y-axis direction. The edge direction, which is the angle θ formed by the X-axis, and the edge strength, which is the length L of the edge vector V, are calculated.
つづいて、算出部33は、算出した各画素PXのエッジベクトルVに基づき、セル100におけるエッジ向きの代表値を抽出する。具体的には、図4の上段に示すように、算出部33は、セル100における各画素PXのエッジベクトルVのエッジ向き−180°〜180°を、90°毎の上下左右4方向である角度分類(0)〜(3)(以下、「上下左右4分類」と言う場合がある)に分類する。
Subsequently, the calculation unit 33 extracts a representative value for the edge in the
より具体的には、算出部33は、画素PXのエッジ向きが、−45°以上45°未満の角度範囲である場合には角度分類(0)に分類し、45°以上135°未満の角度範囲である場合には角度分類(1)に分類し、135°以上180°未満、または−180°以上−135°未満の角度範囲である場合には角度分類(2)に分類し、−135°以上−45°未満の角度範囲である場合には角度分類(3)に分類する。 More specifically, when the edge orientation of the pixel PX is in the angle range of −45 ° or more and less than 45 °, the calculation unit 33 classifies it into the angle classification (0), and the angle of 45 ° or more and less than 135 °. If it is a range, it is classified into angle classification (1), and if it is 135 ° or more and less than 180 °, or if it is an angle range of -180 ° or more and less than -135 °, it is classified into angle classification (2) and -135. If the angle range is greater than or equal to ° and less than −45 °, it is classified into angle classification (3).
そして、図4の下段に示すように、算出部33は、各セル100について、角度分類(0)〜(3)を各階級とするヒストグラムを生成する。そして、算出部33は、生成したヒストグラムにおいて、最も度数が高い階級の度数が所定の閾値THa以上である場合に、かかる階級に対応する角度分類(図4の例では、角度分類(1))を、セル100におけるエッジ向きの代表値として抽出する。
Then, as shown in the lower part of FIG. 4, the calculation unit 33 generates a histogram for each
前述のヒストグラムの度数は、セル100内における各画素PXのうち、同一の角度範囲に分類された画素PXのエッジ強度を足し合わせて算出する。具体的に、角度分類(0)の階級におけるヒストグラムの度数について考える。たとえば、角度分類(0)に分類された画素PXが3つあるとし、それぞれの画素PXにおけるエッジ強度を10,20,30とする。この場合、角度分類(0)の階級におけるヒストグラムの度数は、10+20+30=60と算出される。
The frequency of the above-mentioned histogram is calculated by adding the edge intensities of the pixel PXs classified in the same angle range among the pixel PXs in the
このようにして算出されたヒストグラムに基づき、算出部33はセル100におけるエッジ強度の代表値を算出する。具体的に、かかるエッジ強度の代表値は、ヒストグラムにおいて最も度数が高い階級の度数が所定の閾値THa以上である場合に、かかる階級に対応する度数をセル100のエッジ強度とする。すなわち、算出部33におけるエッジ強度の代表値の算出処理は、エッジ向きの代表値に対応した、セル100内におけるエッジの強さに関する特徴を算出する処理とも言える。
Based on the histogram calculated in this way, the calculation unit 33 calculates a representative value of the edge strength in the
一方、算出部33は、最も度数が高い階級の度数が所定の閾値THa未満である場合は、かかるセル100のエッジ向きについては、「無効」、換言すれば、「エッジ向きの代表値なし」として取り扱う。これにより、各画素PXのエッジ向きのばらつきが大きい場合に、特定のエッジ向きを代表値として算出してしまうことを防止できる。
On the other hand, when the frequency of the highest frequency class is less than the predetermined threshold value THa, the calculation unit 33 is "invalid" for the edge orientation of the
なお、図3および図4で示した算出部33の処理内容は、あくまで一例であって、エッジ向きの代表値を算出可能であれば、処理内容は任意であってよい。たとえば、セル100における各画素PXのエッジ向きの平均値を算出し、かかる平均値に対応する角度分類(0)〜(3)をエッジ向きの代表値としてもよい。
The processing content of the calculation unit 33 shown in FIGS. 3 and 4 is only an example, and the processing content may be arbitrary as long as the representative value for the edge can be calculated. For example, the average value of each pixel PX in the
また、図4では、4×4の計16個の画素PXを1つのセル100とする場合を示したが、セル100における画素PXの数は、任意に設定されてよく、また、3×5等のように、上下方向および左右方向の画素PXの数が異なってもよい。
Further, in FIG. 4, a case where a total of 16 pixel PXs of 4 × 4 is regarded as one
図2の説明に戻る。また、算出部33は、算出したセル100毎のエッジ特徴量に基づいて、単位領域UA毎の領域特徴量を算出する。
Returning to the description of FIG. Further, the calculation unit 33 calculates the area feature amount for each unit area UA based on the calculated edge feature amount for each
まず、算出部33は、領域特徴量として、単位領域UA毎における輝度平均、セル100のエッジ強度の平均および分散を算出する。また、算出部33は、領域特徴量として、ペア領域200の個数およびエッジ強度の総和を算出する。
First, the calculation unit 33 calculates the brightness average, the average edge strength of the
ここで、ペア領域200の個数およびエッジ強度の総和を算出する場合について、図5および図6を用いて説明する。図5および図6は、算出部33の処理内容を示す図(その3)および(その4)である。 Here, a case of calculating the total number of pair regions 200 and the edge strength will be described with reference to FIGS. 5 and 6. 5 and 6 are diagrams (No. 3) and (No. 4) showing the processing contents of the calculation unit 33.
なお、図5では、2つのペア領域200が、セル100を共有していない場合を示し、図6では、2つのペア領域200が、セル100を共有している場合を示している。
Note that FIG. 5 shows a case where the two pair areas 200 do not share the
図5に示すように、算出部33は、単位領域UAの左右方向および上下方向に配列された複数のセル100について、左右方向および上下方向に走査し、ペア領域200を探索する。すなわち、算出部33は、単位領域UAにおけるセル100のうち、隣接し、エッジ向きが互いに逆向きであるセル100同士をペア領域200として抽出する。
As shown in FIG. 5, the calculation unit 33 scans a plurality of
そして、算出部33は、抽出されたペア領域200の個数、および、ペア領域200におけるエッジ強度の総和を算出する。なお、図5に示すように、算出部33は、抽出されたたとえば2つのペア領域200がセル100を共有していない場合、ペア領域200の個数を2つと算出し、エッジ強度の総和を、2つのペア領域200に含まれる4つのセル100のエッジ強度を合計した値として算出する。
Then, the calculation unit 33 calculates the number of the extracted pair regions 200 and the total edge strength in the pair regions 200. As shown in FIG. 5, when the extracted two pair areas 200 do not share the
また、図6に示すように、算出部33は、抽出されたたとえば2つのペア領域200がセル100を共有している場合、ペア領域200の個数を2つと算出し、エッジ強度の総和を、2つのペア領域200に含まれる3つのセル100のエッジ強度を合計した値として算出する。
Further, as shown in FIG. 6, when the extracted two pair areas 200 share the
なお、算出部33は、上述した「上下左右4分類」の角度分類だけでなく、たとえば「斜め4分類」の角度分類に基づいて、1つのセル100について2種類以上のエッジ向きの代表値を割り当て、領域特徴量を算出してもよい。かかる点について、図7および図8を用いて説明する。図7および図8は、算出部33の処理内容を示す図(その5)および(その6)である。
In addition, the calculation unit 33 calculates representative values for two or more types of edges for one
算出部33は、「上下左右4分類」を第1の角度分類とし、これに基づくエッジ向きの代表値を第1代表値とすれば、図7に示すように、「斜め4分類」を第2の角度分類とし、これに基づくエッジ向きの代表値を第2代表値として算出することができる。 If the calculation unit 33 uses "up, down, left, and right 4 classifications" as the first angle classification and the representative value for the edge direction based on this as the first representative value, as shown in FIG. 7, the "diagonal 4 classification" is the first. The angle classification of 2 can be used, and the representative value for the edge direction based on this can be calculated as the second representative value.
かかる場合、算出部33は、セル100における各画素PXのエッジベクトルVのエッジ向き−180°〜180°を、第2の角度分類により、90°毎の斜め4方向である角度分類(4)〜(7)に分類する。
In such a case, the calculation unit 33 classifies the edge direction −180 ° to 180 ° of the edge vector V of each pixel PX in the
より具体的には、算出部33は、画素PXのエッジ向きが、0°以上90°未満の角度範囲である場合には角度分類(4)に分類し、90°以上180°未満の角度範囲である場合には角度分類(5)に分類し、−180°以上−90°未満の角度範囲である場合には角度分類(6)に分類し、−90°以上0°未満の角度範囲である場合には角度分類(7)に分類する。 More specifically, when the edge orientation of the pixel PX is in the angle range of 0 ° or more and less than 90 °, the calculation unit 33 classifies it into the angle classification (4), and the angle range of 90 ° or more and less than 180 °. If it is, it is classified into angle classification (5), if it is in the angle range of -180 ° or more and less than -90 °, it is classified in angle classification (6), and in the angle range of -90 ° or more and less than 0 °. If there is, it is classified into angle classification (7).
そして、図4の下段に示したのと同様に、算出部33は、各セル100について、角度分類(4)〜(7)を各階級とするヒストグラムを生成する。そして、算出部33は、生成したヒストグラムにおいて、最も度数が高い階級の度数が所定の閾値THa以上である場合に、かかる階級に対応する角度分類を、セル100におけるエッジ向きの第2代表値として算出する。
Then, as shown in the lower part of FIG. 4, the calculation unit 33 generates a histogram for each
これにより、図8に示すように、1つのセル100についてそれぞれ2つのエッジ向きの代表値を割り当てることができる。そして、図8に示すように、算出部33は、隣接するセル100において、エッジ向きの第1代表値、および、第2代表値の少なくとも一方が互いに逆向きである場合、かかる隣接するセル100をペア領域200として抽出する。
As a result, as shown in FIG. 8, two edge-oriented representative values can be assigned to each
つまり、算出部33は、各セル100において、エッジ向きの第1代表値および第2代表値を算出することで、1種類のエッジ向きのみでは抽出できなかったペア領域200を抽出することが可能となる。
That is, the calculation unit 33 can extract the pair area 200 that could not be extracted only by one type of edge direction by calculating the first representative value and the second representative value for the edge direction in each
たとえば、エッジ向きが140°の画素PXと、エッジ向きが−40°の画素PXとについて、第1角度範囲では逆向きとはならないが、第2角度範囲では逆向きとなることで、セル100におけるエッジ向きの変化をより高精度に検出することが可能となる。
For example, a pixel PX having an edge orientation of 140 ° and a pixel PX having an edge orientation of −40 ° are not opposite in the first angle range, but are opposite in the second angle range, so that the
また、算出部33は、領域特徴量として、パターンマッチング時の交点の数を算出する。ここで、パターンマッチング時の交点の数を算出する場合について、図9〜図12を用いて説明する。 Further, the calculation unit 33 calculates the number of intersections at the time of pattern matching as the area feature amount. Here, the case of calculating the number of intersections at the time of pattern matching will be described with reference to FIGS. 9 to 12.
図9〜図12は、算出部33の処理内容を示す図(その7)〜(その10)である。なお、図7、図9および図10に示す不定形のハッチング部分は、撮像画像Iにおいて所定のエッジ特徴量を有するパターン部分であるものとする。 9 to 12 are diagrams (No. 7) to (No. 10) showing the processing contents of the calculation unit 33. The amorphous hatched portions shown in FIGS. 7, 9 and 10 are assumed to be pattern portions having a predetermined edge feature amount in the captured image I.
算出部33は、算出したセル100のエッジ特徴量のうちのエッジ向きを用いて、所定のテンプレートと一致する所定の探索パターンを探索する。図9に示すように、探索方向は左右方向および上下方向である。
The calculation unit 33 searches for a predetermined search pattern that matches a predetermined template by using the edge orientation of the calculated edge feature amounts of the
たとえば、算出部33は、「注目する角度分類の両サイドに逆向きの角度分類が現れないこと」を条件として探索パターンを探索する。具体的には、注目する角度分類を角度分類(1)として左右方向に探索した場合に、図10に示すように、たとえば開始位置は「角度分類が逆向きでない」角度分類(2)のセル100−1に隣接する角度分類(1)のセル100−2が開始位置となる。 For example, the calculation unit 33 searches for a search pattern on the condition that "opposite angle classifications do not appear on both sides of the angle classification of interest". Specifically, when the angle classification of interest is searched in the left-right direction as the angle classification (1), as shown in FIG. 10, for example, the start position is the cell of the angle classification (2) in which the angle classification is not in the opposite direction. The starting position is cell 100-2 of the angle classification (1) adjacent to 100-1.
そして、角度分類(1)の配列がつづき、「角度分類が逆向きでない」角度分類(0)のセル100−4が現れた場合、かかるセル100−4に隣接する角度分類(1)のセル100−3が終了位置となる。かかる場合、図10の例ではマッチ長は「8」となる。なお、算出部33は、このように探索パターンとの一致があった場合、その位置とマッチ長とを保持しておく。 Then, when the array of the angle classification (1) continues and the cell 100-4 of the angle classification (0) in which "the angle classification is not in the opposite direction" appears, the cell of the angle classification (1) adjacent to the cell 100-4 appears. 100-3 is the end position. In such a case, the match length is "8" in the example of FIG. When there is a match with the search pattern in this way, the calculation unit 33 holds the position and the match length.
また、図10に示した探索パターンでの一致があった場合、開始位置と終了位置には、角度分類4種のうち、隣り合う分類間での輝度変化が見られることになる。 Further, when there is a match in the search pattern shown in FIG. 10, the brightness changes between the adjacent classifications among the four types of angle classifications can be seen at the start position and the end position.
そして、算出部33は、図11に示すように、左右方向と上下方向で探索パターンの一致が交わる際には、その交点に対応する単位領域UAに対応する記憶情報として、角度分類別に水平マッチ長および上下マッチ長の積を累積加算する。 Then, as shown in FIG. 11, when the search patterns match in the left-right direction and the up-down direction, the calculation unit 33 horizontally matches each angle classification as storage information corresponding to the unit area UA corresponding to the intersection. Cumulatively add the product of length and top and bottom match lengths.
具体的に図10および図11の例に沿った場合、算出部33は、図12に示すように、当該単位領域の角度分類(1)に紐づけて、5×8を累積加算する。また、図示していないが、算出部33は、同じく当該単位領域の角度分類(1)に紐づけて、交点の数も累積加算する。 Specifically, according to the examples of FIGS. 10 and 11, as shown in FIG. 12, the calculation unit 33 cumulatively adds 5 × 8 in association with the angle classification (1) of the unit area. Further, although not shown, the calculation unit 33 also cumulatively adds the number of intersections in association with the angle classification (1) of the unit area.
こうしたマッチング処理を繰り返し、後述する判定部34は、所定の検出条件に基づき、当該単位領域UAの各角度分類(0)〜(3)に紐づく累積加算結果のうち、たとえば3種以上が所定の閾値以上であった場合、当該単位領域UAの付着状態は「付着」と判定する。また、かかる判定条件を満たさなければ「非付着」と判定する。なお、図9〜図12に示したマッチング処理の処理内容はあくまで一例であって、処理内容を限定するものではない。 By repeating such a matching process, the determination unit 34, which will be described later, determines, for example, three or more of the cumulative addition results associated with the angle classifications (0) to (3) of the unit region UA based on the predetermined detection conditions. If it is equal to or more than the threshold value of, the adhered state of the unit region UA is determined to be “adhered”. Further, if the determination condition is not satisfied, it is determined to be "non-adherent". The processing contents of the matching processing shown in FIGS. 9 to 12 are merely examples, and the processing contents are not limited.
図2の説明に戻る。そして、算出部33は、算出した単位領域UA毎の領域特徴量を判定部34へ出力する。 Returning to the description of FIG. Then, the calculation unit 33 outputs the calculated area feature amount for each unit area UA to the determination unit 34.
判定部34は、算出部33によって算出された領域特徴量に基づいて、単位領域UA毎の付着物の付着状態を判定する。また、判定部34は、判定した単位領域UA毎の付着状態に基づいて付着率を算出し、かかる付着率に基づいてカメラ10のレンズの埋もれ状態を判定する。 The determination unit 34 determines the adhesion state of the deposits for each unit region UA based on the region feature amount calculated by the calculation unit 33. Further, the determination unit 34 calculates the adhesion rate based on the adhesion state for each determined unit region UA, and determines the buried state of the lens of the camera 10 based on the adhesion rate.
ここで、判定部34は、単位領域UAの付着状態がそれぞれ「付着」であるか、「非付着」であるかを判定する。そして、判定部34は、その判定結果に基づき、撮像画像Iの所定の注目領域において「付着」とされた単位領域UAの面積率、すなわち付着率を算出する。 Here, the determination unit 34 determines whether the adhered state of the unit region UA is “adhered” or “non-adhered”, respectively. Then, the determination unit 34 calculates the area ratio of the unit region UA that is "adhered" in the predetermined region of interest of the captured image I, that is, the adhesion ratio, based on the determination result.
そして、判定部34は、付着率が一定以上(たとえば40%以上)である場合、「埋もれ」であるとして、上述の仮判定フラグに「1」を設定する。また、判定部34は、付着率が一定未満(たとえば30%未満)である場合、「埋もれでない」として、仮判定フラグに「−1」を設定する。また、判定部34は、付着率が上記以外である場合または判定困難である場合、「キープ」として、仮判定フラグに「0」を設定する。 Then, when the adhesion rate is a certain value or more (for example, 40% or more), the determination unit 34 considers that it is "buried" and sets "1" in the above-mentioned provisional determination flag. Further, when the adhesion rate is less than a certain value (for example, less than 30%), the determination unit 34 sets the provisional determination flag to "-1" as "not buried". Further, the determination unit 34 sets the provisional determination flag to "0" as "keep" when the adhesion rate is other than the above or when the determination is difficult.
そのうえで、判定部34は、判定履歴情報21に基づいて埋もれ状態を確定する。たとえば、判定部34は、前述の5/9条件が成立した場合に、該当するフラグ値を確定結果として埋もれフラグに反映させ、各種機器50へ通知する。判定部34は、たとえば5/9条件をフラグ値「1」が満たせば、埋もれフラグをオンする。また、判定部34は、たとえば5/9条件をフラグ値「−1」が満たせば、埋もれフラグをオフする。
Then, the determination unit 34 determines the buried state based on the
ところで、埋もれ状態の確定条件の成立は、上述したIGオンに際しての判定履歴情報21への初期値の設定によって早めることができるが、確定条件そのものを緩和することによっても早めることができる。かかる例について、図13を用いて説明する。図13は、設定部32の処理内容を示す図である。
By the way, the establishment of the confirmation condition of the buried state can be accelerated by setting the initial value in the
図13に示すように、判定履歴情報21に「1」が続いていた車両が停車中であるものとする。かかる場合、「1=埋もれ」を通知され続けていたユーザが付着物を拭き取ったことが想定される。
As shown in FIG. 13, it is assumed that the vehicle in which the
もし、拭き取りが行われたのであれば、早期に「埋もれでない」ことが確定して通知され、大半が「1」で埋まった判定履歴情報21がクリアされることが好ましい。
If the wiping is performed, it is preferable that the "not buried" is confirmed and notified at an early stage, and the
したがって、かかる場合、設定部32は、車両の状況としてたとえば車速センサ30を介して車両の停車中が通知されたならば、拭き取り発生を想定し、前述の5/9条件を3/5条件(5履歴中、3個以上)へ変更する。
Therefore, in such a case, if the setting unit 32 notifies that the vehicle is stopped, for example, via the
すると、これにより、変更後、判定部34によって最短3フレーム目で「埋もれでない」との確定が可能となる。すなわち、実施形態に係る付着物検出方法では、車両の停車中に際しては、埋もれ状態の判定結果の確定条件の成立が早まるように、確定条件を緩和することとした。 Then, after the change, the determination unit 34 can determine that "it is not buried" in the shortest third frame. That is, in the deposit detection method according to the embodiment, when the vehicle is stopped, the confirmation condition is relaxed so that the determination condition of the determination result of the buried state is quickly established.
これにより、実施形態に係る付着物検出方法によれば、付着物の検出性能を向上させることができる。 As a result, according to the deposit detection method according to the embodiment, the deposit detection performance can be improved.
また、設定部32は、確定条件の緩和後、「埋もれでない」と確定されたならば、判定履歴情報21を「0」でクリアする。なお、かかるクリア後、設定部32は、緩和した確定条件を元に戻すとよい。
Further, the setting unit 32 clears the
なお、判定履歴情報21に「1」が続いていた車両が停車中であったとしても、実際に拭き取りが行われるとは限らない。ただし、仮に拭き取りが行われなかったとしても、確定条件の緩和で早期に「埋もれ」が確定されるので、埋もれ状態の判定処理そのものに支障はない。
Even if the vehicle whose
次に、図14を用いて、実施形態に係る付着物検出装置1が実行する処理手順について説明する。図14は、実施形態に係る付着物検出装置1が実行する処理手順を示すフローチャートである。なお、図14では、1フレーム分の撮像画像Iについての処理手順を示している。
Next, the processing procedure executed by the
図14に示すように、まず、取得部31が、車両の状況を取得する(ステップS101)。ここで、IGオン直後である場合(ステップS102,Yes)、設定部32が、確定条件の成立が早まるように判定履歴情報21へ初期値を設定し(ステップS103)、ステップS106へ移行する。
As shown in FIG. 14, first, the acquisition unit 31 acquires the status of the vehicle (step S101). Here, when the IG is turned on (step S102, Yes), the setting unit 32 sets an initial value in the
また、IGオン直後でない場合で(ステップS102,No)、車両が停車中である場合(ステップS104,Yes)、設定部32が、確定条件の成立が早まるように確定条件を緩和する(ステップS105)。 Further, when the vehicle is not stopped immediately after the IG is turned on (step S102, No) and the vehicle is stopped (step S104, Yes), the setting unit 32 relaxes the confirmation condition so that the confirmation condition is satisfied earlier (step S105). ).
なお、車両が停車中でない場合(ステップS104,No)、そのままステップS106へ移行する。 If the vehicle is not stopped (steps S104, No), the process proceeds to step S106 as it is.
そして、取得部31が、撮像画像Iを取得する(ステップS106)。あわせて取得部31は、撮像画像Iに対してグレースケール化処理および平滑化処理を施す。 Then, the acquisition unit 31 acquires the captured image I (step S106). At the same time, the acquisition unit 31 performs grayscale processing and smoothing processing on the captured image I.
つづいて、算出部33が、撮像画像Iのセル100毎のエッジ特徴量を算出する(ステップS107)。また、算出部33は、算出したエッジ特徴量に基づいて、単位領域UA毎の領域特徴量を算出する(ステップS108)。
Subsequently, the calculation unit 33 calculates the edge feature amount for each
そして、判定部34が、算出部33によって算出された領域特徴量に基づいて単位領域UA毎の付着状態を判定し(ステップS109)、判定した付着状態および判定履歴情報21に基づいて埋もれ状態を確定する(ステップS110)。
Then, the determination unit 34 determines the adhesion state for each unit area UA based on the area feature amount calculated by the calculation unit 33 (step S109), and determines the buried state based on the determined adhesion state and the
そして、判定部34は、確定結果を各種機器50へ通知して(ステップS111)、処理を終了する。なお、図14では図示を略しているが、車両が停車中で緩和された確定条件に基づいて埋もれ状態が確定された場合は、設定部32が判定履歴情報21を「0」でクリアすることとなる。
Then, the determination unit 34 notifies the
上述してきたように、実施形態に係る付着物検出装置1は、算出部33と、判定部34と、設定部32とを備える。算出部33は、撮像画像Iに含まれる所定数の画素PXからなる単位領域UA毎に、各画素PXのエッジベクトルに基づく領域特徴量を算出する。判定部34は、上記領域特徴量に基づいて付着物によるカメラ10の埋もれ状態を仮判定するとともに、直近分を含む所定数の過去分の仮判定履歴である判定履歴情報21において所定の確定条件が成立した場合に、該当する上記埋もれ状態を確定結果として確定させる。設定部32は、カメラ10が搭載された車両がIGオンされた場合に、かかるIGオンの直後に、上記確定条件の成立が早まるように所定の初期値を判定履歴情報21に設定する。
As described above, the
したがって、実施形態に係る付着物検出装置1によれば、付着物の検出性能を向上させることができる。
Therefore, according to the
また、設定部32は、IGオンの直後に上記初期値を設定する場合に、判定履歴情報21の直近分から過去分へ向けて所定個数分、上記初期値を設定する。
Further, when the setting unit 32 sets the initial value immediately after the IG is turned on, the setting unit 32 sets the initial value by a predetermined number from the latest portion to the past portion of the
したがって、実施形態に係る付着物検出装置1によれば、IGオンの直後の埋もれ状態判定の応答性能を向上させることができる。
Therefore, according to the
また、設定部32は、IGオンの直後に上記初期値を設定する場合に、カメラ10が埋もれていることを示すフラグ値「1」を前記初期値として設定する。 Further, when the setting unit 32 sets the initial value immediately after the IG is turned on, the setting unit 32 sets the flag value “1” indicating that the camera 10 is buried as the initial value.
したがって、実施形態に係る付着物検出装置1によれば、IGオンの直後の「埋もれ」検出の応答性能を向上させることができる。
Therefore, according to the
また、設定部32は、車両が停車中である場合に、上記確定条件の成立が早まるようにかかる確定条件を緩和する。 Further, the setting unit 32 relaxes the definite condition so that the definite condition is satisfied earlier when the vehicle is stopped.
したがって、実施形態に係る付着物検出装置1によれば、ユーザが拭き取りを行ったことが想定される場合に、早期に「埋もれでない」ことを確定して通知することができる。また、これに伴い、早期に判定履歴情報21をクリアすることが可能となる。
Therefore, according to the
なお、上述した実施形態では、IGオンに際して判定履歴情報21に初期値を設定する場合の設定個数が2個である場合を例に挙げたが、パラメータとして調整可能な数値であり、1であってもよいし、3以上であってもよい。
In the above-described embodiment, the case where the initial value is set in the
また、上述した実施形態では、判定履歴情報21が直近分を含む過去9フレーム分であることとしたが、複数であればよく、フレーム数を限定するものではない。また、上述した5/9条件や3/5条件もあくまで一例であり、確定条件の内容を限定するものではない。
Further, in the above-described embodiment, the
また、上述した実施形態では、−180°〜180°を90°毎の角度範囲で分割した4方向に角度分類する場合を示したが、角度範囲は90°に限定されず、たとえば60°毎の角度範囲で分割した6方向に角度分類してもよい。 Further, in the above-described embodiment, the case where −180 ° to 180 ° is divided into four directions divided by an angle range of 90 ° is shown, but the angle range is not limited to 90 °, for example, every 60 °. The angle may be classified into 6 directions divided by the angle range of.
また、第1の角度分類および第2の角度分類でそれぞれの角度範囲の幅が異なってもよい。たとえば、第1の角度分類では90°毎で角度分類し、第2の角度分類では、60°毎で角度分類してもよい。また、第1の角度分類および第2の角度分類では、角度範囲の角度の境界を45°ずらしたが、ずらす角度が45°を超える、もしくは、45°未満であってもよい。 Further, the width of each angle range may be different between the first angle classification and the second angle classification. For example, in the first angle classification, the angle may be classified by 90 °, and in the second angle classification, the angle may be classified by 60 °. Further, in the first angle classification and the second angle classification, the boundary of the angle in the angle range is shifted by 45 °, but the shifting angle may be more than 45 ° or less than 45 °.
さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 Further effects and variations can be easily derived by those skilled in the art. For this reason, the broader aspects of the invention are not limited to the particular details and representative embodiments expressed and described as described above. Therefore, various modifications can be made without departing from the spirit or scope of the general concept of the invention as defined by the appended claims and their equivalents.
1 付着物検出装置
2 記憶部
3 制御部
10 カメラ
21 判定履歴情報
22 テンプレート情報
23 閾値情報
31 取得部
32 設定部
33 算出部
34 判定部
50 各種機器
100 セル
200 ペア領域
I 撮像画像
PX 画素
UA 単位領域
1
Claims (5)
前記領域特徴量に基づいて付着物によるカメラの埋もれ状態を仮判定するとともに、直近分を含む所定数の過去分の仮判定履歴において所定の確定条件が成立した場合に、該当する前記埋もれ状態を確定結果として確定させる判定部と、
前記カメラが搭載された車両がイグニッションオンされた場合に、該イグニッションオンの直後に、前記確定条件の成立が早まるように所定の初期値を前記仮判定履歴に設定する設定部と
を備えることを特徴とする付着物検出装置。 A calculation unit that calculates a region feature amount based on the edge vector of each pixel for each unit region consisting of a predetermined number of pixels included in the captured image.
The buried state of the camera due to the deposits is tentatively determined based on the region feature amount, and when a predetermined definite condition is satisfied in a predetermined number of tentative determination histories including the latest portion, the corresponding buried state is determined. Judgment unit to confirm as a confirmation result and
When the vehicle equipped with the camera is ignited, immediately after the ignition is turned on, a setting unit for setting a predetermined initial value in the provisional determination history is provided so that the determination condition is satisfied earlier. A featured deposit detection device.
前記イグニッションオンの直後に前記初期値を設定する場合に、前記仮判定履歴の直近分から過去分へ向けて所定個数分、前記初期値を設定する
ことを特徴とする請求項1に記載の付着物検出装置。 The setting unit
The deposit according to claim 1, wherein when the initial value is set immediately after the ignition is turned on, the initial value is set by a predetermined number from the latest portion to the past portion of the provisional determination history. Detection device.
前記イグニッションオンの直後に前記初期値を設定する場合に、前記カメラが埋もれていることを示すフラグ値を前記初期値として設定する
ことを特徴とする請求項1または2に記載の付着物検出装置。 The setting unit
The deposit detection device according to claim 1 or 2, wherein when the initial value is set immediately after the ignition is turned on, a flag value indicating that the camera is buried is set as the initial value. ..
前記車両が停車中である場合に、前記確定条件の成立が早まるように該確定条件を緩和する
ことを特徴とする請求項1、2または3に記載の付着物検出装置。 The setting unit
The deposit detection device according to claim 1, 2 or 3, wherein when the vehicle is stopped, the definite condition is relaxed so that the definite condition is satisfied earlier.
前記領域特徴量に基づいて付着物によるカメラの埋もれ状態を仮判定するとともに、直近分を含む所定数の過去分の仮判定履歴において所定の確定条件が成立した場合に、該当する前記埋もれ状態を確定結果として確定させる判定工程と、
前記カメラが搭載された車両がイグニッションオンされた場合に、該イグニッションオンの直後に、前記確定条件の成立が早まるように所定の初期値を前記仮判定履歴に設定する設定工程と
を含むことを特徴とする付着物検出方法。 A calculation process for calculating a region feature amount based on the edge vector of each pixel for each unit region consisting of a predetermined number of pixels included in the captured image, and a calculation process.
The buried state of the camera due to the deposits is tentatively determined based on the region feature amount, and when a predetermined definite condition is satisfied in a predetermined number of tentative determination histories including the latest portion, the corresponding buried state is determined. Judgment process to confirm as a confirmation result and
Immediately after the ignition is turned on, when the vehicle equipped with the camera is ignited, a setting step of setting a predetermined initial value in the provisional determination history so that the determination condition is quickly satisfied is included. A characteristic deposit detection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019172212A JP7172932B2 (en) | 2019-09-20 | 2019-09-20 | Attached matter detection device and attached matter detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019172212A JP7172932B2 (en) | 2019-09-20 | 2019-09-20 | Attached matter detection device and attached matter detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021050935A true JP2021050935A (en) | 2021-04-01 |
JP7172932B2 JP7172932B2 (en) | 2022-11-16 |
Family
ID=75157554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019172212A Active JP7172932B2 (en) | 2019-09-20 | 2019-09-20 | Attached matter detection device and attached matter detection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7172932B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008019795A (en) * | 2006-07-13 | 2008-01-31 | Toyota Motor Corp | Failure determining device of negative pressure generating device |
WO2019003314A1 (en) * | 2017-06-27 | 2019-01-03 | 本田技研工業株式会社 | Notification system and control method therefor, vehicle, and program |
JP2019029901A (en) * | 2017-08-01 | 2019-02-21 | トヨタ自動車株式会社 | Surrounding environment monitoring device |
JP2019128798A (en) * | 2018-01-24 | 2019-08-01 | 株式会社デンソーテン | Adhered matter detection apparatus and adhered matter detection method |
-
2019
- 2019-09-20 JP JP2019172212A patent/JP7172932B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008019795A (en) * | 2006-07-13 | 2008-01-31 | Toyota Motor Corp | Failure determining device of negative pressure generating device |
WO2019003314A1 (en) * | 2017-06-27 | 2019-01-03 | 本田技研工業株式会社 | Notification system and control method therefor, vehicle, and program |
JP2019029901A (en) * | 2017-08-01 | 2019-02-21 | トヨタ自動車株式会社 | Surrounding environment monitoring device |
JP2019128798A (en) * | 2018-01-24 | 2019-08-01 | 株式会社デンソーテン | Adhered matter detection apparatus and adhered matter detection method |
Also Published As
Publication number | Publication date |
---|---|
JP7172932B2 (en) | 2022-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6755161B2 (en) | Adhesion detection device and deposit detection method | |
JP7259676B2 (en) | Attached matter detection device and attached matter detection method | |
JP3651387B2 (en) | White line detector | |
US10227062B2 (en) | Liquid-droplet detecting apparatus, liquid-droplet detecting method, and computer-readable recording medium | |
JP7230507B2 (en) | Deposit detection device | |
JP7206909B2 (en) | Attached matter detection device and attached matter detection method | |
US10997743B2 (en) | Attachable matter detection apparatus | |
JP7234630B2 (en) | Deposit detection device | |
JP7200893B2 (en) | Attached matter detection device and attached matter detection method | |
JP7283081B2 (en) | Attached matter detection device and attached matter detection method | |
JP7200894B2 (en) | Attached matter detection device and attached matter detection method | |
JP2021050935A (en) | Attached matter detector and attached matter detecting method | |
JP7274867B2 (en) | Attached matter detection device and attached matter detection method | |
JP2021050932A (en) | Attached matter detection device and attached matter detection method | |
JP7172931B2 (en) | Attached matter detection device and attached matter detection method | |
JP7243546B2 (en) | Attached matter detection device and attached matter detection method | |
JPH07129886A (en) | Traffic lane recognition device | |
JP7156225B2 (en) | Attached matter detection device and attached matter detection method | |
JP7175188B2 (en) | Attached matter detection device and attached matter detection method | |
JP7172930B2 (en) | Attached matter detection device and attached matter detection method | |
JP7265693B2 (en) | Attached matter detection device and attached matter detection method | |
JP7234884B2 (en) | Attached matter detection device and attached matter detection method | |
JP7234885B2 (en) | Attached matter detection device and attached matter detection method | |
JP7234886B2 (en) | Attached matter detection device and attached matter detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20211116 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211214 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20220217 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220830 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220831 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220914 |
|
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: 20221004 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221017 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7172932 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |