JP3767571B2 - Method and apparatus for controlling exposure of camera-type vehicle detector - Google Patents
Method and apparatus for controlling exposure of camera-type vehicle detector Download PDFInfo
- Publication number
- JP3767571B2 JP3767571B2 JP2003132083A JP2003132083A JP3767571B2 JP 3767571 B2 JP3767571 B2 JP 3767571B2 JP 2003132083 A JP2003132083 A JP 2003132083A JP 2003132083 A JP2003132083 A JP 2003132083A JP 3767571 B2 JP3767571 B2 JP 3767571B2
- Authority
- JP
- Japan
- Prior art keywords
- luminance
- pixels
- low
- camera
- brightness
- 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
- 238000000034 method Methods 0.000 title claims description 26
- 238000009826 distribution Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 9
- 230000007423 decrease Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Landscapes
- Exposure Control For Cameras (AREA)
- Image Processing (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、カメラにて道路を撮影して画像処理することにより、道路上の車両を検知することができるカメラ式車両感知器に関し、特にそのカメラの露光制御方法及び装置に関するものである。
【0002】
【従来の技術】
道路上の車両を感知する車両感知器として、超音波式のものがよく知られている。この超音波式は道路の上から下に向けて超音波を発射し、その反射波の到達時間を検出することにより車両の計測を行うものであるが、一台ごとの車両の特徴を検出することまではできない。
そこで、カメラにて道路を撮影して画像処理することにより、車両の特徴を検出し、車両のナンバープレートなどの特定もできるカメラ式車両感知器が知られている。
【0003】
【特許文献1】
特開2001-021958号公報
【0004】
【発明が解決しようとする課題】
このカメラ式車両感知器で行われる露光制御は、夜間、昼間、朝夕で、制御内容を変えている。夜間はヘッドライトの検出を目的としてカメラの露光時間を短めに設定し、昼間は車体の撮影を目的として、撮影した画面の輝度が一定になるように制御している。そして、夜間から昼間に移る朝の時間帯では、露出を徐々に開いていく過渡的な制御を行っている。
【0005】
ところが、夜明け時刻を間違って検知し、制御切り替えのタイミングをずらしてしまうと、朝になっているのに画面が暗くて車体の検出ができなかったり、まだ夜なのに露出オーバーの画面になってヘッドライトの正しい検出ができなかったりする。
そこで、本発明は、正確な夜明け判定が行えるカメラ式車両感知器の露光制御方法及び装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明のカメラ式車両感知器の露光制御方法は、カメラ式車両感知器で撮影した画面を所定時間ごとに入力し、入力された画面の輝度データ、又は過去の時間にわたって入力された複数の画面の輝度データに基づいて、輝度が低輝度しきい値以下の画素数(低輝度画素数という)を算出し、過去のある時刻から現時点までに取得された低輝度画素数の中から最大値を求め、前記算出された低輝度画素数が、前記低輝度画素数の最大値から、所定割合よりも低下したかどうかを判定し、前記所定割合よりも低下したことが一定時間以上継続した時点で、露出制御を夜間制御から、朝の時間帯の制御に切り替えることを特徴とする(請求項1)。
【0007】
前記の方法によれば、低輝度画素数の最大値を求めておき、夜が明けていくにつれて低輝度画素数が減っていくので、低輝度画素数が最大値から、所定割合よりも低下したことが一定時間以上継続した時点で夜が明けたと判定して、露出制御を夜間制御から、朝の時間帯の制御に切り替える。
なお、前記最大値は、過去のある時刻から現時点までに取得された低輝度画素数の中から求められるので、低輝度画素数が上がっていく場合は、最大値は新しい値に更新されることになる。このように最大値を固定せずに、更新可能としているので、その日の夜間の画面の明るさが微妙に変動している場合でも、明け方の判定が正確に行える。
【0008】
前記低輝度画素数は、入力された画面に基づいて、画素数対輝度のヒストグラムを作成することにより算出することができる(請求項2)。
前記低輝度しきい値は、夜間において、画面中で輝度の低いほうから画素を抽出し、所定数を超えた画素の輝度を前記低輝度しきい値とすることができる(請求項3)。また、夜間において、画面中で輝度の低いほうから画素を抽出し、所定数を超えた画素の輝度より一段階低い輝度を前記低輝度しきい値とすることもできる(請求項4)。後者は、所定数の前後で画素数が大きく変化する場合、所定数を超えた画素の輝度を低輝度しきい値とすると低輝度画素数が異常に多く算出されてしまうので、この現象を防止するために、所定数を超えた画素の輝度より一段階低い輝度を低輝度しきい値とするのである。
【0009】
また、夜間において、低輝度しきい値を決めても、夜間に天候が変化すれば、低輝度しきい値が変動することがある。このときは、夜明け判定をする直前の時間帯の低輝度しきい値を採用することが好ましい。そこで、夜間において低輝度しきい値を新しい値に更新していくことが好ましい(請求項5)。
また、本発明の露光制御装置は、請求項1記載の露光制御方法と同一の発明に係る装置である(請求項6)。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態を、添付図面を参照しながら詳細に説明する。
図1は、本発明の露光制御装置を適用したカメラ式車両感知システムの概略構成図である。
道路の近傍に設置されたポール2の上部にカメラ式車両感知器1が取り付けられている。このカメラ式車両感知器1から、道路の交通状態を収集する交通情報センター3のパーソナルコンピュータ4まで通信回線5が接続されている。通信回線5は、有線/無線のいずれか又はこれらの結合でもよく、専用回線、公衆通信回線を問わない。
【0011】
図2は、カメラ式車両感知器1の内部構成を示すブロック図である。カメラ式車両感知器1は、カメラ11と、カメラ11の動作を制御するカメラDSP(Digital Signal Processor)と、画像処理装置13と、通信インターフェイス14とを有する。
カメラ11は、レンズ系15とイメージセンサ16とを含んでいる。レンズ系15における開口絞り量は、カメラDSP12からの絞り制御信号に基づいて調整される。
【0012】
カメラ11の視野は、道路(図示せず)に向けられており、カメラ11は道路状態を撮影しその撮影画像をイメージセンサ16に形成する。イメージセンサ16上に形成された画像のデータは、カメラDSP12へ出力される。イメージセンサ16の露光時間(シャッタ速度に相当)は、カメラDSP12からの露光時間制御信号に基づいて調整される。
画像処理装置13は、カメラ11の撮影画像データに基づき、車両の検出、ナンバープレート読取り、車両の速度検出、渋滞長検出などを行い、交通流を把握するための各種の情報を得る。これらの情報は、通信インターフェイス14、通信回線5を通して交通情報センター3まで伝送される。
【0013】
また画像処理装置13は、カメラ11の撮影画像データから車両を消去することにより、車両が存在しない路面領域の画像データを生成する。この車両が存在しない路面領域の画像を「基準画像」という。そして、画像処理装置13は、この基準画像データに基づき、カメラ11の露光制御を実行する。露光制御の結果は、カメラDSP12を通してイメージセンサ16の露光時間制御やレンズ系15の絞り制御に用いられる。基準画像データの作成取り込み時間間隔を、以下、k(秒)と表記する。
【0014】
図3は、画像処理装置13の行う露光制御の概要を説明するためのグラフである。横軸に時刻、縦軸に輝度と露光時間をとっている。露光制御は、夜間、朝、昼間、夕方別に実行される。夜間はヘッドライトの撮影が目的であり、図3に示すように露光時間固定の制御が行われる。昼間は車体やナンバープレートの撮影が目的であり、基準画像の輝度を一定とするための制御が行われる。この一定の輝度を「目標輝度」という。
【0015】
朝は、夜間制御から昼間制御につなぐため露光時間を長くしていく制御を行う。露光時間を長くしていくのは、夜間はヘッドライトの撮影が目的なので露光時間が比較的短くてよいが、朝は、車体等の撮影のためにイメージセンサ16の露光量を増大させる必要があり、このために露光時間を徐々に長くしていく必要があるからである。夕方は、昼間制御から夜間制御につなぐため露光時間を短くしていく制御を行う。
【0016】
以下、夜間制御から朝制御に移行するタイミングを判定する本発明の手順を詳細に説明する。この手順は、夜間制御中に行う低輝度しきい値決定手順と、この決定された低輝度しきい値を用いて夜間制御から朝制御に移行するタイミングを判定する明け方判定手順とに分かれる。
図4は、夜間制御中に行う低輝度しきい値決定手順を説明するためのフローチャートである。まず、「基準画像分布数」を決定する(ステップS1)。これは、夜間撮影した画面全体の画素数のうち、輝度の低いほうから数えて何%以下の画素を低輝度画素とみなすかの基準となる画素数である。
【0017】
以上の基準画像分布数決定手順を、図5、図6を用いて詳しく説明する。
図5(a)は、基準画面の画素の輝度に基づいて作製したヒストグラムである。横軸に輝度、縦軸に画素数をとっている。この輝度は、例えば256などの階調数で表されるものである。図5(b)は、前記ヒストグラムの各画素数を輝度で積分した値(画素分布数という)を示すグラフである。
図6は、基準画像分布数を決定する手順を示すフローチャートである。図6のステップT1で、前記ヒストグラムの輝度0から順に画素分布数を足していく。これは、図5(b)の曲線を輝度0からたどっていくことと同じことである。定数A(例えば20%)を設定しておき、画素分布数が定数Aを超えたときの画素分布数をyとおく(ステップT2;図5(b)参照)。そしてyの一つ低い輝度の画素分布数をxとおく(ステップT3)。yと2Aとを比較し(ステップT4)、y<2Aであればyを基準画像分布数とする(ステップT5)。
【0018】
ところで、夜間の撮影であるから、基準画面の画素の輝度は同じような値になっていることが多い。したがって定数A付近で画素分布数が急峻に立ち上がることがある。このときyが2A以上となることがあり、このときは、yを基準画像分布数とすれば、yが大きすぎるので、一つ前のxを基準画素分布数とする(ステップT6)。
つぎに、図4にもどって、この基準画像分布数に対応する画素の輝度の上限値を、低輝度しきい値の候補とする(ステップS2)。そして、前記のようにして決定された低輝度しきい値候補を、最近のN枚(例えばN=10とする)の基準画像について互いに比較し、多数決をとって、最も多く低輝度しきい値候補となった値を「低輝度しきい値」として設定する(ステップS3)。
【0019】
さらに、このように設定された低輝度しきい値と、前回設定された低輝度しきい値とが等しいかどうか調べる(ステップS4)。等しければ、カメラ11の視野における夜間の暗さが安定していると判断できるので、前記低輝度しきい値を画像処理装置13のメモリに保存する(ステップS5)。以前にメモリに保存されていた低輝度しきい値があれば、上書き保存する。このようにして、いつも最新の、かつ安定した夜間環境下での低輝度しきい値が保存される。
【0020】
ステップS4で、前回設定された低輝度しきい値と今回設定された低輝度しきい値とが等しくなければ、夜間に環境の変化が起こったと考えられる。例えば、雨又は雪が降り出した、曇りから晴れになって月が出た、などである。この場合は、安定した夜間環境とはいえないので、低輝度しきい値をリセットし、スタートに戻って低輝度しきい値をまた作成する。
つぎに、明け方判定に移行する直前の時刻になったかどうかを判定する(ステップS6)。この判定は、カメラ式車両感知システムが時計を持っていれば、そろそろ夜の明ける時刻かどうかに基づいて判定すればよい。しかし時計を持っていなければ、予め基準画像データの作成取り込み時間間隔k(秒)が分かっているので、基準画像データを取り込んだ回数を、例えば夜になった時点からカウントしていけば判定することができる。
【0021】
明け方判定に移行する直前の時刻になれば、メモリに保存された最新の低輝度しきい値を固定する。これにより、夜の明ける直前の夜間環境下での低輝度しきい値を用いて、明け方判定に移行することになる。
図7は、明け方判定の制御手順を説明するためのフローチャートである。この明け方判定の制御手順を簡単に説明すると、低輝度しきい値よりも輝度の低い画素数を数えて、明るくなるに従って、その画素数が減っていくので、ある割合よりも減った時点を明け方と判定する。
【0022】
まず、「最大値」という変数を0とおく(ステップU1)。基準画面を構成する画素において、前記低輝度しきい値よりも輝度の低い画素の数を算出し、これを最近のN画像(Nは1以上の整数;N=1でもよく、2以上でもよい)ごとに総和する(ステップU2)。この低輝度しきい値よりも輝度の低い画素数を「低輝度画素数」という。その低輝度画素数が最大値よりも多いかどうかを判定する(ステップU3)。最初、最大値=0とおいたので、低輝度画素数は最大値よりも多いことになる。この最大値をメモリに上書き保存して更新する(ステップU4)。
【0023】
次に、低輝度画素数が最大値から一定比率よりも低下したかどうかを判定する(ステップU5)。一定比率は例えば40%に設定される。一定比率よりも低下した状態が一定時間続いたかどうか判定する(ステップU6)。例えば一定時間を5分とすると、これは、基準画像の取り込み周期kを1秒、N=10とすると、前記低下判定が30回継続することに相当する。また、一定時間を30分、基準画像の取り込み周期kを1秒、N=10とすると、前記低下判定が180回継続することに相当する。
【0024】
一定時間続けば、明け方と判定し、カメラ11の露光制御を朝制御(図3参照)に切り替える(ステップU7)。続かない場合は、ステップU2にもどって、最大値の更新と最大値から一定比率低下の判定を続ける。
図8は、低輝度画素数を時刻に対してプロットしたグラフである。横軸に時刻t、縦軸に低輝度画素数をとっている。更新され続けている低輝度画素数の最大値を縦軸に「最大値」と表している。この最大値から一定比率40%よりも低下する状態が一定時間T続いた時点t0で、夜が明けたと判定する。
【0025】
以上の判定手順によって、夜が明けていくにつれて低輝度画素数が減っていくので、低輝度画素数が最大値から、所定割合よりも低下したことが一定時間以上継続した時点で夜が明けたと判定して、露出制御を夜間制御から、朝の時間帯の制御に切り替えることができる。
以上で、本発明の実施の形態を説明したが、本発明の実施は、前記の形態に限定されるものではない。例えば、前記のカメラ式車両感知システムでは、画像処理装置13はカメラ式車両感知器1に設けられていたが、これに限定されるものではなく、カメラ式車両感知器1と通信回線5でつながったパーソナルコンピュータ4の中に設けてもよい。その他、本発明の範囲内で種々の変更を施すことが可能である。
【0026】
【発明の効果】
以上のように本発明によれば、正確な夜明け判定が行えるので、露出制御ロジックを夜間制御から明け方制御にスムーズに切り替えることができる。
【図面の簡単な説明】
【図1】本発明の露光制御装置を適用したカメラ式車両感知システムの概略構成図である。
【図2】カメラ式車両感知器1の内部構成を示すブロック図である。
【図3】露光制御の概要を説明するためのグラフである。
【図4】夜間制御中に行う低輝度しきい値決定手順を説明するためのフローチャートである。
【図5】 (a)は、基準画面の画素の輝度に基づいて作製したヒストグラムであり、(b)は、前記ヒストグラムの各画素数を輝度で積分した画素分布数を示すグラフである。
【図6】基準画像分布数を決定する手順を示すフローチャートである。
【図7】明け方判定の制御手順を説明するためのフローチャートである。
【図8】低輝度画素数を時刻に対してプロットしたグラフである。
【符号の説明】
1 カメラ式車両感知器
2 ポール
3 交通情報センター
4 パーソナルコンピュータ
5 通信回線
11 カメラ
12 カメラDSP
13 画像処理装置
14 通信インターフェイス
15 レンズ系
16 イメージセンサ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a camera-type vehicle detector that can detect a vehicle on a road by photographing a road with a camera and processing the image, and particularly relates to an exposure control method and apparatus for the camera.
[0002]
[Prior art]
As a vehicle detector for detecting a vehicle on a road, an ultrasonic type is well known. This ultrasonic type measures the vehicle by emitting ultrasonic waves from the top to the bottom of the road and detecting the arrival time of the reflected wave, but detects the characteristics of each vehicle. I can't do that.
Therefore, a camera-type vehicle detector is known that detects the characteristics of a vehicle and identifies a vehicle license plate by photographing a road with a camera and processing the image.
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-021958
[Problems to be solved by the invention]
The exposure control performed by this camera-type vehicle sensor changes the control contents at night, daytime, and morning and evening. At night, the exposure time of the camera is set to be short for the purpose of detecting the headlight, and for the purpose of photographing the vehicle body during the day, the brightness of the photographed screen is controlled to be constant. And in the morning time zone, when the daytime shifts from daytime to daytime, transient control is performed to gradually open the exposure.
[0005]
However, if the dawn time is mistakenly detected and the control switching timing is shifted, the screen will be dark even though it is in the morning and the body cannot be detected, or the head will be overexposed even at night. The light cannot be detected correctly.
SUMMARY OF THE INVENTION An object of the present invention is to provide an exposure control method and apparatus for a camera-type vehicle sensor that can accurately determine dawn.
[0006]
[Means for Solving the Problems]
In the exposure control method for a camera-type vehicle sensor according to the present invention, a screen shot by the camera-type vehicle sensor is input every predetermined time, and brightness data of the input screen or a plurality of screens input over the past time are input. Based on the luminance data, calculate the number of pixels whose luminance is less than or equal to the low luminance threshold (referred to as low luminance pixels), and set the maximum value from the number of low luminance pixels acquired from a certain past time to the present And determining whether or not the calculated number of low luminance pixels is lower than a predetermined ratio from the maximum value of the number of low luminance pixels, and when the lower than the predetermined ratio has continued for a certain time or longer. The exposure control is switched from night control to morning time zone control (claim 1).
[0007]
According to the above method, the maximum value of the number of low-luminance pixels is obtained, and the number of low-luminance pixels decreases as the night goes on, so the number of low-luminance pixels decreases from the maximum value below a predetermined ratio. Therefore, it is determined that the day has come to a dawn when it continues for a certain time or more, and the exposure control is switched from night control to control in the morning time zone.
The maximum value is obtained from the number of low luminance pixels acquired from a certain past time to the present time. Therefore, when the number of low luminance pixels increases, the maximum value is updated to a new value. become. Since the maximum value can be updated without being fixed in this way, the dawn can be accurately determined even when the brightness of the screen at night changes slightly.
[0008]
The number of low luminance pixels can be calculated by creating a histogram of the number of pixels versus luminance based on the input screen.
The low-brightness threshold can be obtained by extracting pixels from the lower luminance in the screen at night and setting the luminance of pixels exceeding a predetermined number as the low-brightness threshold. Further, at night, pixels can be extracted from the lower luminance in the screen, and the luminance that is one step lower than the luminance of the pixels exceeding the predetermined number can be set as the low luminance threshold. In the latter case, when the number of pixels changes greatly before and after the predetermined number, if the luminance of the pixels exceeding the predetermined number is set to the low luminance threshold value, the number of low luminance pixels is abnormally large, and this phenomenon is prevented. In order to achieve this, the luminance that is one step lower than the luminance of the pixels exceeding the predetermined number is set as the low luminance threshold.
[0009]
Even if the low brightness threshold is determined at night, the low brightness threshold may fluctuate if the weather changes at night. In this case, it is preferable to employ a low brightness threshold value in a time zone immediately before the dawn determination. Therefore, it is preferable to update the low luminance threshold value to a new value at night.
An exposure control apparatus according to the present invention is an apparatus according to the same invention as the exposure control method according to claim 1 (claim 6).
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a schematic block diagram of a camera type vehicle sensing system to which an exposure control apparatus of the present invention is applied.
A camera-type vehicle sensor 1 is attached to an upper portion of a
[0011]
FIG. 2 is a block diagram showing the internal configuration of the camera-type vehicle detector 1. The camera-type vehicle sensor 1 includes a
The
[0012]
The field of view of the
The
[0013]
Moreover, the
[0014]
FIG. 3 is a graph for explaining an outline of exposure control performed by the
[0015]
In the morning, control is performed to increase the exposure time in order to connect from night control to daytime control. The purpose of increasing the exposure time is to shoot a headlight at night, so the exposure time may be relatively short. However, in the morning, it is necessary to increase the exposure amount of the
[0016]
Hereinafter, the procedure of the present invention for determining the timing for shifting from night control to morning control will be described in detail. This procedure is divided into a low-luminance threshold determination procedure performed during nighttime control, and a daylight determination procedure for determining the timing for shifting from nighttime control to morning control using the determined low-luminance threshold.
FIG. 4 is a flowchart for explaining a low-luminance threshold value determination procedure performed during nighttime control. First, the “reference image distribution number” is determined (step S1). This is the number of pixels serving as a reference for how many percent or less of the pixels of the entire screen shot at night counted from the lowest luminance are regarded as low luminance pixels.
[0017]
The procedure for determining the reference image distribution number will be described in detail with reference to FIGS.
FIG. 5A is a histogram created based on the luminance of the pixels on the reference screen. The horizontal axis represents luminance, and the vertical axis represents the number of pixels. This luminance is expressed by the number of gradations such as 256, for example. FIG. 5B is a graph showing a value obtained by integrating the number of pixels in the histogram with luminance (referred to as pixel distribution number).
FIG. 6 is a flowchart showing a procedure for determining the reference image distribution number. In step T1 in FIG. 6, the number of pixel distributions is added in order from the
[0018]
By the way, since the shooting is performed at night, the luminance of the pixels on the reference screen often has the same value. Therefore, the pixel distribution number may rise steeply near the constant A. At this time, y may be 2A or more. In this case, if y is the reference image distribution number, y is too large, and the previous x is set as the reference pixel distribution number (step T6).
Next, referring back to FIG. 4, the upper limit value of the luminance of the pixel corresponding to the reference image distribution number is set as a low luminance threshold candidate (step S2). Then, the low-luminance threshold candidates determined as described above are compared with each other with respect to the latest N (for example, N = 10) reference images, and the majority of the low-luminance threshold candidates is determined. The candidate value is set as the “low luminance threshold” (step S3).
[0019]
Further, it is checked whether or not the low luminance threshold set in this way is equal to the previously set low luminance threshold (step S4). If they are equal, it can be determined that the night darkness in the field of view of the
[0020]
In step S4, if the previously set low luminance threshold is not equal to the low luminance threshold set this time, it is considered that the environment has changed at night. For example, it has started to rain or snow, the moon has gone from cloudy to sunny. In this case, since it cannot be said that it is a stable night environment, the low luminance threshold is reset, and the low luminance threshold is created again by returning to the start.
Next, it is determined whether or not the time immediately before shifting to the dawn determination is reached (step S6). If the camera type vehicle sensing system has a clock, this determination may be made based on whether it is time for dawn. However, if the timepiece does not have a clock, the reference image data creation and capture time interval k (seconds) is known in advance, so the number of times the reference image data has been captured is determined, for example, by counting from the time of night. be able to.
[0021]
When the time immediately before shifting to the dawn judgment is reached, the latest low-luminance threshold value stored in the memory is fixed. As a result, the process shifts to dawn determination using the low brightness threshold value in the night environment immediately before dawn.
FIG. 7 is a flowchart for explaining the control procedure of the dawn determination. Briefly explaining the control procedure of this daylight determination, the number of pixels with lower luminance than the low luminance threshold is counted, and the number of pixels decreases as it becomes brighter. Is determined.
[0022]
First, the variable “maximum value” is set to 0 (step U1). In the pixels constituting the reference screen, the number of pixels having a luminance lower than the low luminance threshold is calculated, and this is calculated as the latest N images (N is an integer of 1 or more; N = 1 or 2 or more) ) For each (step U2). The number of pixels whose luminance is lower than the low luminance threshold is called “low luminance pixel number”. It is determined whether or not the number of low luminance pixels is greater than the maximum value (step U3). Since the maximum value is initially set to 0, the number of low luminance pixels is larger than the maximum value. This maximum value is overwritten in the memory and updated (step U4).
[0023]
Next, it is determined whether or not the number of low luminance pixels has decreased from a maximum value below a certain ratio (step U5). The constant ratio is set to 40%, for example. It is determined whether or not the state in which the ratio is lower than the predetermined ratio has continued for a predetermined time (step U6). For example, if the fixed time is 5 minutes, this corresponds to the above-described decrease determination being continued 30 times when the reference image capturing period k is 1 second and N = 10. Further, assuming that the predetermined time is 30 minutes, the reference image capturing period k is 1 second, and N = 10, this corresponds to the reduction determination being continued 180 times.
[0024]
If it continues for a certain period of time, it is determined to be dawn, and exposure control of the
FIG. 8 is a graph in which the number of low luminance pixels is plotted against time. The horizontal axis represents time t, and the vertical axis represents the number of low luminance pixels. The maximum value of the number of low-luminance pixels that is continuously updated is represented as “maximum value” on the vertical axis. It is determined that the dawn has ended at a time point t0 when a state where the ratio falls below 40% from the maximum value continues for a certain time T.
[0025]
By the above determination procedure, the number of low-luminance pixels decreases as the night dawns. Therefore, when the number of low-luminance pixels has decreased from the maximum value to a predetermined percentage, the night has come By determining, the exposure control can be switched from night control to control in the morning time zone.
Although the embodiments of the present invention have been described above, the embodiments of the present invention are not limited to the above-described embodiments. For example, in the camera type vehicle sensing system, the
[0026]
【The invention's effect】
As described above, according to the present invention, since accurate dawn determination can be performed, the exposure control logic can be smoothly switched from night control to dawn control.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a camera type vehicle sensing system to which an exposure control apparatus of the present invention is applied.
FIG. 2 is a block diagram showing an internal configuration of the camera-type vehicle detector 1;
FIG. 3 is a graph for explaining an outline of exposure control;
FIG. 4 is a flowchart for explaining a low-luminance threshold value determination procedure performed during nighttime control.
5A is a histogram created based on the luminance of pixels on a reference screen, and FIG. 5B is a graph showing the number of pixel distributions obtained by integrating the number of pixels in the histogram with luminance.
FIG. 6 is a flowchart illustrating a procedure for determining a reference image distribution number.
FIG. 7 is a flowchart for explaining a control procedure for dawn determination;
FIG. 8 is a graph in which the number of low luminance pixels is plotted against time.
[Explanation of symbols]
1 camera
13
Claims (6)
入力された画面の輝度データ、又は過去の時間にわたって入力された複数の画面の輝度データに基づいて、輝度が低輝度しきい値以下の画素数(低輝度画素数という)を算出し、
過去のある時刻から現時点までに取得された低輝度画素数の中から最大値を求め、
前記算出された低輝度画素数が、前記低輝度画素数の最大値から、所定割合よりも低下したかどうかを判定し、
前記所定割合よりも低下したことが一定時間以上継続した時点で、露出制御を夜間制御から、朝の時間帯の制御に切り替えることを特徴とするカメラ式車両感知器の露光制御方法。Enter the screen shot with the camera-type vehicle detector every predetermined time,
Based on the luminance data of the input screen or the luminance data of a plurality of screens input over the past time, the number of pixels whose luminance is equal to or lower than the low luminance threshold (referred to as the low luminance pixel number) is calculated.
Find the maximum value from the number of low luminance pixels acquired from a certain past time to the present,
Determining whether the calculated number of low luminance pixels is lower than a predetermined ratio from the maximum value of the number of low luminance pixels;
An exposure control method for a camera-type vehicle detector, wherein the exposure control is switched from night control to morning time zone control when the lowering of the predetermined ratio continues for a predetermined time or more.
画面輝度算出手段によって算出された、画面の輝度データ、又は過去の時間にわたって入力された複数の画面の輝度データに基づいて、輝度が低輝度しきい値以下の画素数(低輝度画素数という)を算出する低輝度画素数算出手段と、
過去のある時刻から現時点までに取得された低輝度画素数の中から最大値を求め、前記算出された低輝度画素数が、前記低輝度画素数の最大値から、所定割合よりも低下したかどうかを判定し、前記所定割合よりも低下したことが一定時間以上継続した時点で、露出制御を夜間制御から、朝の時間帯の制御に切り替える制御切り替え手段とを有することを特徴とするカメラ式車両感知器の露光制御装置。Screen luminance calculating means for calculating the luminance of the screen based on the data of the image taken by the camera of the camera-type vehicle detector;
Based on the screen brightness data calculated by the screen brightness calculation means or the brightness data of a plurality of screens input over the past time, the number of pixels whose brightness is lower than the low brightness threshold (referred to as the number of low brightness pixels) Low luminance pixel number calculating means for calculating
The maximum value is obtained from the number of low luminance pixels acquired from a certain past time to the present time, and the calculated number of low luminance pixels is lower than a predetermined ratio from the maximum value of the low luminance pixels And a control switching means for switching the exposure control from night control to morning time zone control when it has been determined that it has fallen below the predetermined ratio for a certain period of time or longer. An exposure control device for a vehicle sensor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003132083A JP3767571B2 (en) | 2003-05-09 | 2003-05-09 | Method and apparatus for controlling exposure of camera-type vehicle detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003132083A JP3767571B2 (en) | 2003-05-09 | 2003-05-09 | Method and apparatus for controlling exposure of camera-type vehicle detector |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004334042A JP2004334042A (en) | 2004-11-25 |
| JP3767571B2 true JP3767571B2 (en) | 2006-04-19 |
Family
ID=33507084
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003132083A Expired - Fee Related JP3767571B2 (en) | 2003-05-09 | 2003-05-09 | Method and apparatus for controlling exposure of camera-type vehicle detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3767571B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4901651B2 (en) * | 2007-08-31 | 2012-03-21 | アマノ株式会社 | License plate imaging system for vehicles |
| GB2495269B (en) * | 2011-08-15 | 2014-02-05 | Qatar Foundation | Real-time solar observations |
| US8477189B2 (en) | 2011-08-16 | 2013-07-02 | Qatar Foundation | Real-time solar observations |
| CN105187731B (en) * | 2015-09-18 | 2018-03-16 | 中电海康集团有限公司 | A kind of switching method round the clock and device based on preceding anti-collision warning |
| CN105979153B (en) * | 2016-06-28 | 2019-03-12 | 深圳市新国都支付技术有限公司 | A method and system for day and night pattern recognition and switching |
-
2003
- 2003-05-09 JP JP2003132083A patent/JP3767571B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004334042A (en) | 2004-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5127317B2 (en) | camera | |
| CN107948538B (en) | Imaging method, device, mobile terminal and storage medium | |
| CN114727024A (en) | Automatic exposure parameter adjusting method and device, storage medium and shooting equipment | |
| CN105933610B (en) | A method and device for optimizing exposure of license plate trailing | |
| JP4523629B2 (en) | Imaging device | |
| JP3767571B2 (en) | Method and apparatus for controlling exposure of camera-type vehicle detector | |
| CN104782115B (en) | Image processor for vehicles | |
| JP5036334B2 (en) | Imaging apparatus, imaging method, and program for causing computer to execute the method | |
| JP3952989B2 (en) | Method and apparatus for controlling exposure of camera-type vehicle detector | |
| JP4304610B2 (en) | Method and apparatus for adjusting screen brightness in camera-type vehicle detector | |
| KR101615381B1 (en) | Image acquisition method and digital camera system | |
| JP3700207B2 (en) | Automatic exposure control device, automatic exposure control method, and imaging device | |
| CN120547441A (en) | Image acquisition method, storage medium, device and computer program product | |
| JP2003143486A (en) | Image pickup device | |
| JP3985005B2 (en) | IMAGING DEVICE, IMAGE PROCESSING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE CONTROL METHOD | |
| JP3385475B2 (en) | Image monitoring device | |
| JPH11220652A (en) | Imaging device | |
| JP7297441B2 (en) | ELECTRONIC DEVICE, CONTROL METHOD AND PROGRAM FOR ELECTRONIC DEVICE | |
| JP4052299B2 (en) | Exposure control method and apparatus for camera-type vehicle detector | |
| JP2002268116A (en) | Automatic exposure control device and external storage medium incorporating the program | |
| JPH02250472A (en) | Exposure control circuit for camera | |
| JP3547203B2 (en) | Electronic exposure control device | |
| JPH11337998A (en) | Image processor | |
| JP2009044451A (en) | Image processor, on-vehicle image processor, and on-vehicle image processing method | |
| JP2026037629A (en) | Image recording system, vehicle, program, and image recording method for image recording system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051227 |
|
| 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: 20060110 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060123 |
|
| 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: 20090210 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100210 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110210 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110210 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120210 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120210 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130210 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140210 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |