JPH04314199A - Vehicle dynamics measurement method - Google Patents
Vehicle dynamics measurement methodInfo
- Publication number
- JPH04314199A JPH04314199A JP3079587A JP7958791A JPH04314199A JP H04314199 A JPH04314199 A JP H04314199A JP 3079587 A JP3079587 A JP 3079587A JP 7958791 A JP7958791 A JP 7958791A JP H04314199 A JPH04314199 A JP H04314199A
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- leading edge
- headlights
- road
- determined
- 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
Landscapes
- Traffic Control Systems (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】本発明は、道路上に設置され、車
両の速度、通過台数、車種(普通車/大型車)等必要な
交通情報を計測、収集する車両動態計測装置における計
測方法に関する。[Field of Industrial Application] The present invention relates to a measurement method in a vehicle dynamic measuring device installed on a road to measure and collect necessary traffic information such as vehicle speed, number of passing vehicles, vehicle type (regular vehicle/large vehicle), etc. .
【0002】0002
【従来の技術】従来、この種の車両動態計測装置は、ビ
デオカメラを用いて、道路上の車両の動向を俯瞰するよ
うに撮影した原画像データと背景データとを画像処理し
て、車両の速度、通過台数、車種(普通車/大型車)な
どを計測し、出力できるように構成されている。[Prior Art] Conventionally, this type of vehicle dynamic measuring device uses a video camera to image-process original image data and background data photographed to give an overview of the movement of vehicles on the road. It is configured to measure and output information such as speed, number of vehicles passing, and vehicle type (regular/large vehicle).
【0003】0003
【発明が解決しようとする課題】しかしながら、上記従
来の車両動態計測装置では、夜間はヘッドライトをペア
検出して車両の追跡、計測を行なっているが、雨天時に
起きるヘッドライトの路面反射を車両と判定してしまう
場合があった。[Problems to be Solved by the Invention] However, the conventional vehicle dynamic measurement device described above detects a pair of headlights at night to track and measure the vehicle, but it is difficult to track and measure the vehicle by detecting pairs of headlights at night. There were cases where it was determined that
【0004】また、画角の関係上ヘッドライトが斜めに
存在するため、走査線毎に処理を行なうとヘッドライト
をペアで検出することが難しく、特にヘッドランプに代
えてまたは同時に点灯するスモールランプ等のような輝
度が低く画素数の少ないランプの場合困難であった。Furthermore, because the headlights are located diagonally due to the angle of view, it is difficult to detect headlights in pairs if processing is performed for each scanning line, especially for small lamps that are lit in place of or at the same time as the headlights. This was difficult for lamps with low brightness and a small number of pixels, such as .
【0005】本発明は、このような従来の問題点を解決
するものであり、夜間雨天時のヘッドライトの路面反射
等に影響を受けずに正確な車両の速度、通過台数、車種
(普通車/大型車)など必要な交通情報を計測、収集す
ることのできる車両動態計測方法を提供することを目的
とするものである。[0005] The present invention solves these conventional problems and allows accurate vehicle speed, number of passing vehicles, and vehicle types (regular vehicles, regular vehicles, The purpose of this project is to provide a method for measuring vehicle dynamics that can measure and collect necessary traffic information such as large vehicles.
【0006】[0006]
【課題を解決するための手段】本発明は、上記目的を達
成するために、走査線毎の平均輝度をもとにした閾値を
用いて夜間雨天時のヘッドライトの路面反射の影響を除
去するようにしたものである。[Means for Solving the Problems] In order to achieve the above object, the present invention eliminates the influence of road surface reflection of headlights during nighttime rainy weather using a threshold value based on the average brightness of each scanning line. This is how it was done.
【0007】本発明はまた、画角によるずれを上下のみ
を補正する簡易座標変換を行なうことによりスモールラ
ンプ等の検出ができるようにしたものである。The present invention also makes it possible to detect small lamps and the like by performing simple coordinate transformation that corrects only the vertical deviation due to the angle of view.
【0008】[0008]
【作用】本発明は、上記のような構成により、第1には
、夜間雨天時のヘッドライトの路面反射の影響を受ける
ことなく、正確な車両の計測ができる効果がある。[Function] With the above-described configuration, the present invention has the advantage that, first, accurate vehicle measurements can be made without being affected by road surface reflections of headlights during nighttime and rainy weather.
【0009】第2には、ヘッドライトだけでなく、輝度
が低く画素数の少ないスモールランプ等の検出ができる
ようになり、正確な車両の計測ができる効果がある。Second, it is possible to detect not only headlights but also small lamps with low brightness and a small number of pixels, which has the effect of allowing accurate vehicle measurements.
【0010】0010
第1実施例
図1は本発明の第1の実施例の構成を示すものである。
図1において、1はビデオカメラ、2は車両動態計測装
置本体、3は第1の入力画像のための画像メモリ、4は
第2の入力画像のための画像メモリ、5は第3の入力画
像のための画像メモリ、6は第4の入力画像のための画
像メモリ、7は映像データA/D変換部、8は画像デー
タ処理部、9はデータ出力部である。First Embodiment FIG. 1 shows the configuration of a first embodiment of the present invention. In FIG. 1, 1 is a video camera, 2 is a main body of the vehicle dynamic measurement device, 3 is an image memory for a first input image, 4 is an image memory for a second input image, and 5 is a third input image. 6 is an image memory for the fourth input image, 7 is a video data A/D conversion section, 8 is an image data processing section, and 9 is a data output section.
【0011】次に上記実施例の動作について説明する。
上記実施例において、ビデオカメラ1を用いて撮像した
映像情報を車両動態計測装置本体2に伝送する。車両動
態計測装置本体2では、この情報を映像データA/D変
換部7を用いてデジタルデータに変換する。そして、あ
る一定の間隔で撮像された2画面分のデジタルデータを
画像メモリ3,4に格納する。また、画像メモリ5には
、車両の存在していない状態の情報(背景データ)が格
納される。そして、これら画像メモリ3,4,5のデー
タを用いて画像データ処理部8で、夜間の場合は走査線
毎の平均輝度をもとにした閾値を用いて画像処理を行な
い、画像メモリ6に処理結果を書き込む。そしてこの画
像データから車両の抽出を行ない、この処理を連続的に
行なうことによって、車両の追跡、走行速度等をデータ
出力部9から出力するとともに、現在の道路上の状態を
判定し、この情報をもとに背景データの更新を行なう。Next, the operation of the above embodiment will be explained. In the embodiment described above, video information captured using the video camera 1 is transmitted to the vehicle dynamic measurement device main body 2. In the vehicle dynamic measurement device main body 2, this information is converted into digital data using the video data A/D converter 7. Then, digital data for two screens captured at a certain interval is stored in the image memories 3 and 4. Further, the image memory 5 stores information (background data) regarding a state in which a vehicle is not present. Then, using the data in these image memories 3, 4, and 5, an image data processing unit 8 performs image processing using a threshold value based on the average brightness of each scanning line in the case of nighttime, and stores the data in the image memory 6. Write the processing results. Then, by extracting the vehicle from this image data and continuously performing this processing, the tracking of the vehicle, the running speed, etc. are outputted from the data output unit 9, and the current road condition is determined, and this information Update the background data based on.
【0012】次に、夜間雨天時のヘッドライトの路面反
射を除去して計測する方法について説明する。図2は夜
間雨天時のヘッドライトの路面反射を示したものである
。この図から分かるように、自動車等の車両21のヘッ
ドライトの路面反射22は、ビデオカメラ1から遠い撮
像位置では路面に長く延びた状態になっており、路面反
射22の輝度は比較的低い。車両21が次第にビデオカ
メラ1に近づいてくると、路面反射22は短くなり、路
面反射の輝度は高くなっていく。そして車両21が2番
目の撮像位置に達すると、その位置での車両21’のヘ
ッドライトの路面反射22’はスポット状態になり、そ
の輝度はヘッドライト並に高くなる。[0012] Next, a method of measuring by removing the road surface reflection of headlights during nighttime rainy weather will be explained. Figure 2 shows the road surface reflection of headlights during nighttime and rainy weather. As can be seen from this figure, the road surface reflection 22 of the headlight of a vehicle 21 such as an automobile extends long on the road surface at an imaging position far from the video camera 1, and the brightness of the road surface reflection 22 is relatively low. As the vehicle 21 gradually approaches the video camera 1, the road reflection 22 becomes shorter and the brightness of the road reflection becomes higher. When the vehicle 21 reaches the second imaging position, the road surface reflection 22' of the headlight of the vehicle 21' at that position becomes a spot, and its brightness becomes as high as that of the headlight.
【0013】22のような路面反射に対しては、画像デ
ータの輝度の閾値を走査線毎の平均値を用いて変化させ
ることにより、ヘッドライトの光か路面反射による光か
の区別ができるので、その影響を取り除くことが可能で
ある。また22’のような路面反射に対しては、車両の
前縁候補と判定された位置から後方に平均車長分だけ前
縁候補を計測していき、その後方の位置に車両の前縁候
補が存在する場合は、前部の前縁候補は路面反射、後部
の前縁候補は車両と判定することができる。[0013] For road reflections such as 22, by changing the brightness threshold of image data using the average value for each scanning line, it is possible to distinguish between headlight light and road reflection light. , it is possible to remove that influence. In addition, for road surface reflections such as 22', the leading edge candidates are measured backward by the average vehicle length from the position determined to be the leading edge candidate of the vehicle, and the leading edge candidates of the vehicle are measured at the position behind that position. If there is, it can be determined that the leading edge candidate at the front is a road surface reflection, and the leading edge candidate at the rear is determined to be a vehicle.
【0014】次に、このような夜間雨天時のヘッドライ
トの路面反射を除去する方法の基本アルゴリズムについ
て図3を参照しながら説明する。まず、走査線毎の輝度
の平均値を求める(ステップ31,32)。次に、この
輝度平均値をもとに走査線毎の閾値を作成し、加工画面
作成を行なう(ステップ33)。これを計測走査線分行
なう(ステップ34,35,36)。次に、走査線毎に
車両の前縁(ヘッドライト部)の抽出を行なう(ステッ
プ37)。そして、その走査線上に前縁候補が存在する
かどうかを判定する(ステップ38)。存在すると判定
した場合には、平均車長分後方分について車両の前縁(
ヘッドライト部)の検出を行ない(ステップ39)、前
縁候補が存在するかどうかの判定を行ない(ステップ4
0)、平均車長分後方に前縁候補が存在しなければ、検
出した前縁候補は車両の前縁と判定する。そして車両の
前縁と判定されたものについて車両の追跡処理を行ない
(ステップ41)、これを計測走査線分行なう(ステッ
プ42,43)。Next, a basic algorithm of a method for removing the road surface reflection of headlights during night and rainy weather will be explained with reference to FIG. First, the average value of luminance for each scanning line is determined (steps 31 and 32). Next, a threshold value for each scanning line is created based on this brightness average value, and a processing screen is created (step 33). This is performed for each measurement scanning line (steps 34, 35, 36). Next, the leading edge (headlight portion) of the vehicle is extracted for each scanning line (step 37). Then, it is determined whether a leading edge candidate exists on the scanning line (step 38). If it is determined that it exists, the leading edge of the vehicle (
headlight section) (step 39), and determines whether a leading edge candidate exists (step 4).
0), if there is no leading edge candidate behind the average vehicle length, the detected leading edge candidate is determined to be the leading edge of the vehicle. Then, vehicle tracking processing is performed for what is determined to be the leading edge of the vehicle (step 41), and this is performed for each measurement scanning line (steps 42, 43).
【0015】このように、上記実施例によれば、夜間雨
天時にはヘッドライトの路面反射の影響を除去すること
ができるので、天候にかかわらず正確な車両の先頭位置
を抽出することができ、夜間の車両の計測速度精度を高
めることができるという利点を有する。As described above, according to the above embodiment, the influence of the road surface reflection of the headlights can be removed during nighttime rainy weather, so the accurate leading position of the vehicle can be extracted regardless of the weather. This has the advantage of increasing the accuracy of vehicle speed measurements.
【0016】第2実施例
図4は本発明の第2実施例における簡易座標変換の概念
を示したものである。一般に、車両動態計測装置での画
像データは、車線の正面から撮像できる場合は少なく、
(a)に示すように斜めからの映像が多い。従来におい
て、夜間の場合は車両のペアのヘッドライトを追跡する
わけであるが、画像処理が走査線単位で行なわれるので
、加工画面を座標変換して両方のヘッドライトを同じ走
査線上にのせるようにしている。座標変換する前の座標
を(X,Y)、座標変換した座標を(X’,Y’)、回
転角度をθとすると、座標変換は通常は次式(1)を用
いて行なわれている。Second Embodiment FIG. 4 shows the concept of simple coordinate transformation in a second embodiment of the present invention. In general, image data from vehicle dynamic measurement devices can rarely be captured from the front of the lane;
As shown in (a), there are many images taken from an oblique angle. Conventionally, the headlights of a pair of vehicles are tracked at night, but since image processing is performed in units of scanning lines, the processed screen is coordinate transformed to place both headlights on the same scanning line. That's what I do. If the coordinates before coordinate transformation are (X, Y), the coordinates after coordinate transformation are (X', Y'), and the rotation angle is θ, coordinate transformation is usually performed using the following equation (1). .
【0017】
X’=Xcosθ+Ysinθ
Y’=Xsinθ+Ycosθ
・・・(1)X'=Xcosθ+Ysinθ Y'=Xsinθ+Ycosθ
...(1)
【0018】しか
しながら、このような式を用いて変換を行なうと処理時
間が多くかかり、リアルタイムで処理を行なう本装置で
は不適当である。したがって本発明では、(b)に示す
ように、同じ走査線上にのせるように車線中央を基準と
して上下座標のみを移動させる方法を用いる。これを簡
易座標変換と呼ぶ。この簡易座標変換は、画角上の傾き
をm、車線中央のX方向の座標をcとすると、次式(2
)のように表すことができる。However, converting using such a formula requires a lot of processing time, and is not suitable for this apparatus which performs processing in real time. Therefore, in the present invention, as shown in (b), a method is used in which only the vertical coordinates are moved with the center of the lane as a reference so that they are placed on the same scanning line. This is called simple coordinate transformation. This simple coordinate transformation can be performed using the following formula (2
) can be expressed as:
【0019】
X’=X
Y’=Y+m*(X−c)
・・・(2)X'=X Y'=Y+m*(X-c)
...(2)
【0020】
次に、このような簡易座標変換を用いてスモールランプ
等を検出するための基本アルゴリズムについて、図5を
参照しながら説明する。まず、上記第1の実施例に示し
た方法を用い、微分処理、背景差分、フレーム差分等を
行なって車両前部の抽出を行ない、抽出データを作成す
る(ステップ51)。次に画素単位で車両抽出データと
閾値との比較を行なう(ステップ52,53,54)。
次に閾値より大きい場合には“0”を式2を用いて簡易
座標変換を行なった座標位置に書き込む(ステップ55
,56)。これを全車両抽出データについて行ない、加
工画面を作成する(ステップ57,58,59,60)
。[0020]
Next, a basic algorithm for detecting small lamps and the like using such simple coordinate transformation will be described with reference to FIG. 5. First, using the method shown in the first embodiment, the front part of the vehicle is extracted by performing differential processing, background difference, frame difference, etc., and extraction data is created (step 51). Next, the vehicle extraction data is compared with the threshold value in units of pixels (steps 52, 53, and 54). Next, if it is larger than the threshold value, "0" is written at the coordinate position where simple coordinate transformation was performed using Equation 2 (step 55
, 56). This is done for all vehicle extraction data to create a processing screen (steps 57, 58, 59, 60)
.
【0021】このように、上記実施例によれば、ヘッド
ライトだけでなく、輝度が低く画素数の少ないスモール
ランプ等の検出ができるようになり、夜間の車両の計測
速度精度を高めることができるという利点を有する。As described above, according to the above embodiment, it is possible to detect not only headlights but also small lamps with low brightness and a small number of pixels, and it is possible to improve the accuracy of measuring vehicle speed at night. It has the advantage of
【0022】[0022]
【発明の効果】本発明は、上記実施例から明らかなよう
に、以下に示す効果を有する。第1に夜間雨天時のヘッ
ドライトの路面反射の影響を除去することができるので
、天候にかかわらず正確な車両の先頭位置を抽出するこ
とができ、夜間の車両の計測速度精度を高めることがで
きる。Effects of the Invention As is clear from the above embodiments, the present invention has the following effects. First, it is possible to remove the influence of road reflections from headlights during rainy nights, making it possible to accurately determine the leading position of a vehicle regardless of the weather, thereby increasing the accuracy of vehicle speed measurements at night. can.
【0023】第2にヘッドライトだけでなく、輝度が低
く画素数の少ないスモールランプ等の検出ができるよう
になり、正確な車両の計測ができる。Second, it is now possible to detect not only headlights but also small lamps with low brightness and a small number of pixels, making it possible to accurately measure the vehicle.
【図1】本発明の第1の実施例を実施するための車両動
態計測装置のブロック図FIG. 1 is a block diagram of a vehicle dynamic measurement device for implementing a first embodiment of the present invention.
【図2】同第1の実施例における夜間雨天時のヘッドラ
イトの路面反射を示す模式図[Fig. 2] A schematic diagram showing the road surface reflection of headlights during rainy weather at night in the first embodiment.
【図3】同第1の実施例における動作フローチャート[Figure 3] Operation flowchart in the first embodiment
【
図4】本発明の第2の実施例における簡易座標変換の概
念を示す模式図
(a)は原画
(b)は簡易座標変換した図[
FIG. 4: Schematic diagram showing the concept of simple coordinate transformation in the second embodiment of the present invention (a) is an original image (b) is a diagram after simple coordinate transformation
Claims (3)
の動向を俯瞰するように撮影した画像データを画像処理
して、車両の動態を計測、収集する際に、夜間雨天時に
は、走査線毎の平均輝度をもとにした閾値を用いてヘッ
ドライトの光か路面反射の光かを判定する車両動態計測
方法。Claim 1: When measuring and collecting vehicle dynamics by processing image data taken using a video camera to provide a bird's-eye view of vehicle movements on the road, at night and in rainy weather, each scanning line is A vehicle dynamic measurement method that uses a threshold value based on the average brightness of the vehicle to determine whether the light is from headlights or reflected from the road surface.
候補と判定された場合に、その位置から後方に平均車長
分だけ前縁候補を計測していき、その後方の位置に車両
の前縁候補が存在する場合には、前方の位置で前縁候補
と判定されたヘッドライトの光は路面反射の光と判定す
る請求項1記載の車両動態計測方法。[Claim 2] When it is determined that the light from the headlights is the leading edge candidate of the vehicle, the leading edge candidate is measured backward from that position by the average vehicle length, and the leading edge of the vehicle is located at the position behind that position. 2. The vehicle dynamics measuring method according to claim 1, wherein when a candidate exists, the light from a headlight determined to be a leading edge candidate at a position ahead is determined to be light reflected from a road surface.
の動向を俯瞰するように撮影した画像データを画像処理
して、車両の動態を計測、収集する際に、夜間雨天時に
は、走査線毎の平均輝度をもとにした閾値を用いる請求
項1記載の方法を用いるとともに、画角によるずれを上
下方向のみを補正する簡易座標変換を行なうことにより
、ヘッドライトによる車両の追跡、計測を容易にする車
両動態計測方法。[Claim 3] When measuring and collecting vehicle dynamics by processing image data taken using a video camera to provide an overview of the movements of vehicles on the road, at night and in rainy weather, the data is processed for each scanning line. By using the method according to claim 1, which uses a threshold value based on the average luminance of Vehicle dynamics measurement method.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7958791A JP2876493B2 (en) | 1991-04-12 | 1991-04-12 | Vehicle dynamics measurement method |
| US08/272,377 US5590217A (en) | 1991-04-08 | 1994-07-06 | Vehicle activity measuring apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7958791A JP2876493B2 (en) | 1991-04-12 | 1991-04-12 | Vehicle dynamics measurement method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04314199A true JPH04314199A (en) | 1992-11-05 |
| JP2876493B2 JP2876493B2 (en) | 1999-03-31 |
Family
ID=13694126
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7958791A Expired - Fee Related JP2876493B2 (en) | 1991-04-08 | 1991-04-12 | Vehicle dynamics measurement method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2876493B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001021958A (en) * | 1999-07-02 | 2001-01-26 | Sumitomo Electric Ind Ltd | Camera aperture control method and apparatus, and recording medium |
| JP2009032030A (en) * | 2007-07-26 | 2009-02-12 | Koito Ind Ltd | Vehicle detection device |
| CN113132006A (en) * | 2021-04-23 | 2021-07-16 | 湖南大学 | High-precision visible light positioning method for moving vehicle based on image sensor |
-
1991
- 1991-04-12 JP JP7958791A patent/JP2876493B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001021958A (en) * | 1999-07-02 | 2001-01-26 | Sumitomo Electric Ind Ltd | Camera aperture control method and apparatus, and recording medium |
| JP2009032030A (en) * | 2007-07-26 | 2009-02-12 | Koito Ind Ltd | Vehicle detection device |
| CN113132006A (en) * | 2021-04-23 | 2021-07-16 | 湖南大学 | High-precision visible light positioning method for moving vehicle based on image sensor |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2876493B2 (en) | 1999-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3167752B2 (en) | Vehicle distance detection device | |
| US8041079B2 (en) | Apparatus and method for detecting obstacle through stereovision | |
| JPH072022A (en) | Distance detecting device for vehicle | |
| Jiang et al. | Lane line detection optimization algorithm based on improved Hough transform and R-least squares with dual removal | |
| CN107506739A (en) | To vehicle detection and distance-finding method before a kind of night | |
| JP2024174425A (en) | Puddle detection device, puddle detection method, and puddle detection program | |
| JPH04314199A (en) | Vehicle dynamics measurement method | |
| JP4469980B2 (en) | Image processing method for tracking moving objects | |
| JP3771729B2 (en) | Traffic flow measurement system | |
| JPH11219493A (en) | Traffic information processing method | |
| JPH0757200A (en) | RUNWAY RECOGNITION DEVICE AND RUNWAY RECOGNITION METHOD | |
| JP2000163691A (en) | Traffic flow measuring instrument | |
| JP3452076B2 (en) | Vehicle distance detection device | |
| JP2002163645A (en) | Vehicle detection apparatus and method | |
| JP2924063B2 (en) | Image processing type traffic flow measurement device | |
| JP2946620B2 (en) | Automatic number reading device with speed measurement function | |
| JP2855770B2 (en) | Image processing type traffic flow measurement device | |
| JP4334744B2 (en) | Traffic flow measuring device | |
| JP2924256B2 (en) | Vehicle dynamics measurement device | |
| JP2853367B2 (en) | Vehicle dynamics measurement device | |
| JP2000163692A (en) | Car type discriminating device | |
| JP2007058282A (en) | Image recognition processor | |
| JP2853361B2 (en) | Vehicle dynamics measurement device | |
| CN118334619B (en) | Intelligent networking bus multi-vehicle formation sensing method and device based on monocular camera | |
| JP2814315B2 (en) | Vehicle dynamics measurement device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |