JPH0944788A - Vehicle sensor and vehicle sensing method - Google Patents

Vehicle sensor and vehicle sensing method

Info

Publication number
JPH0944788A
JPH0944788A JP18931795A JP18931795A JPH0944788A JP H0944788 A JPH0944788 A JP H0944788A JP 18931795 A JP18931795 A JP 18931795A JP 18931795 A JP18931795 A JP 18931795A JP H0944788 A JPH0944788 A JP H0944788A
Authority
JP
Japan
Prior art keywords
vehicle
image
vehicles
time
detector
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
Application number
JP18931795A
Other languages
Japanese (ja)
Other versions
JP3605892B2 (en
Inventor
Kazuto Nishiyama
和人 西山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP18931795A priority Critical patent/JP3605892B2/en
Publication of JPH0944788A publication Critical patent/JPH0944788A/en
Application granted granted Critical
Publication of JP3605892B2 publication Critical patent/JP3605892B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Traffic Control Systems (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To exactly recognize the locations of two vehicles at a point of time when the two vehicles are acquired as the image of a vehicle. SOLUTION: The main processor 22 detects the location of the same vehicle from the image of which input screen is binarized, and tracks the location. In a local memory 23, the detected location is stored. When the main processor 22 detects that two vehicles are acquired as the image of a vehicle by the change of the type of a vehicle at a moving expected location, the distance between the two vehicles at a point of previous time is determined and the location of the vehicle which becomes impossible to be detected at a point of present time is determined from the location of the vehicle at the point of present time and the distance between the vehicles.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、CCDカメラ等の
撮像装置により撮影した画像の中の車両画像を認識する
ことにより走行中の車両を感知する車両感知器およびそ
の車両感知方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle detector for detecting a running vehicle by recognizing a vehicle image in an image taken by an image pickup device such as a CCD camera, and a vehicle detection method thereof.

【0002】[0002]

【従来の技術】交通の流れを計測する目的で、画像処理
技術を用いて走行中の車両を感知する車両感知器が開発
されてきている。従来、この種装置ではCCDカメラを
用いて走行中の車両を撮影する。図5に示すように一定
周期で得られる撮影画面の中から車両の特徴点(車両の
前端や後端)を示す画像およびその位置を検出する。次
に所定回数分得られた画面において時間の経過に沿って
上記車両の特徴点を追跡する。予めCCDカメラの計測
領域に最初に車両が進入した時刻(図5の時刻t)、そ
の時の特徴点の検出位置、計測領域から車両が退出する
時刻(図5の時刻t+n)、その時の特徴点の検出位置
から車両が計測領域を通過したことを認識する。この処
理を繰り返すことにより車両感知器は計測領域を通過す
る車両の台数を計数したり、速度の計測を行うためのパ
ラメータを算出する。
2. Description of the Related Art For the purpose of measuring the flow of traffic, a vehicle detector for detecting a running vehicle has been developed by using image processing technology. Conventionally, in this type of device, a CCD camera is used to capture an image of a running vehicle. As shown in FIG. 5, an image showing a characteristic point of the vehicle (front end or rear end of the vehicle) and its position are detected from the photographing screen obtained in a constant cycle. Next, the characteristic points of the vehicle are tracked over time on the screen obtained a predetermined number of times. The time when the vehicle first enters the measurement area of the CCD camera in advance (time t in FIG. 5), the detection position of the characteristic point at that time, the time when the vehicle leaves the measurement area (time t + n in FIG. 5), the characteristic point at that time It is recognized that the vehicle has passed the measurement area from the detection position of. By repeating this process, the vehicle detector counts the number of vehicles passing through the measurement area and calculates parameters for measuring speed.

【0003】[0003]

【発明が解決しようとする課題】前述の通り、従来技術
では車両の通過を確認するためには計測領域に進入した
車両の特徴点が以後、所定回数、撮影された撮影画面の
中に存在し、車両の追跡を行えることが必要条件とな
る。しかしながら、ある特定車両の後続車が大型車両で
あると撮影画面中では特定車両の特徴点が大型車両の特
徴点に隠されてしまう。その結果として、特徴点が隠さ
れた時点において所定回数分の撮影画面が得られない場
合には車両の特徴点の追跡ができずに車両の通過を認識
できなくなる。従って、車両の台数カウントはできな
い。なお、所定回数分の撮影画面が得られた場合は、車
両が計測領域内に存在するにもかかわらず、車両感知器
はその車両が退出したと誤判断していまう。速度計測に
おいてこの事態が生じるとその車両の計測速度の値は実
際の速度の値よりも高くなる。これは計測誤差の原因と
なってしまう。
As described above, in the prior art, in order to confirm the passage of a vehicle, the characteristic point of the vehicle that has entered the measurement area is present in the photographing screen photographed a predetermined number of times thereafter. The requirement is to be able to track the vehicle. However, if the following vehicle of a certain specific vehicle is a large vehicle, the characteristic points of the specific vehicle are hidden by the characteristic points of the large vehicle in the shooting screen. As a result, if a predetermined number of shooting screens cannot be obtained at the time when the characteristic points are hidden, the characteristic points of the vehicle cannot be tracked and the passage of the vehicle cannot be recognized. Therefore, the number of vehicles cannot be counted. In addition, when the photographing screens for the predetermined number of times are obtained, the vehicle detector erroneously determines that the vehicle has exited, even though the vehicle exists in the measurement area. When this situation occurs in speed measurement, the measured speed value of the vehicle becomes higher than the actual speed value. This causes a measurement error.

【0004】なお、撮影画面から取得した車両1台分の
画像を分割し、分割した画像の中に車両の特徴を示す先
端部や後端部の画像特徴が含まれている場合には2台の
車両が近接すると判断し、画像分離を行って2台分の車
両画像を得るようにした車両感知器が提案されている
(OMRON TECHNICS Vol No.2
(通巻102号)。しかしながらこの提案では隣接する
車両の速度が低い場合には有効であるが画像分離処理を
各車両画像に対して施すので実際の車両の数倍の車両の
感知を行うのと同様の処理を行うことになり最終的に速
度等を得るまでに時間がかかる点、大型、小型の車種に
応じて分割する画像が異なるので車種の判別を誤ると車
両の感知精度が落ちるという点等の理由により高速走行
の車両の感知には好適とは言えず、未だ改善すべき点が
残っていた。
It should be noted that the image of one vehicle acquired from the photographing screen is divided, and if the divided images include the image features of the front end portion and the rear end portion showing the features of the vehicle, two images are obtained. Vehicle detectors have been proposed (OMRON TECHNICS Vol No. 2) in which it is determined that two vehicles are close to each other and image separation is performed to obtain two vehicle images.
(Vol. 102). However, this proposal is effective when the speed of the adjacent vehicle is low, but since image separation processing is performed on each vehicle image, it is necessary to perform the same processing as detecting a vehicle several times the actual vehicle. It will take a long time to finally obtain the speed, etc., and the images to be divided will differ depending on the large and small vehicle types, so if you make a mistake in distinguishing the vehicle type, the vehicle's sensing accuracy will decrease It cannot be said that it is suitable for vehicle detection, and there are still points to be improved.

【0005】そこで、本発明は、上述の点に鑑みて、車
両が隣接した場合の車両感知性能を向上させる車両感知
器およびその車両感知方法を提供することを目的とす
る。
Therefore, in view of the above points, the present invention has an object to provide a vehicle detector and a vehicle detection method thereof that improve the vehicle detection performance when vehicles are adjacent to each other.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、計測
領域に進入した車両を撮影し、その撮影画面中の車両画
像の画像位置からその車両の挙動を計測する車両感知器
において、時系列的に得られた同一車両の位置を車両追
跡のための履歴データとして記憶しておく記憶手段と、
前記計測領域内を走行する2台の車両が近接し前記撮影
画面中において1台の車両画像として撮影される異常事
態を検出する異常検出手段と、当該異常事態が検出され
た場合には、異常事態が検出された現時点より前の前記
記憶手段の履歴データから現時点の当該2台の車両の中
の1台の車両位置を補正する演算処理手段とを具え、前
記2台の車両の一方の車両位置を当該補正された車両位
置、他方の車両位置を前記1台の車両画像から得られる
車両位置と見做して現時点の前記履歴データを作成する
ことを特徴とする。
According to a first aspect of the present invention, there is provided a vehicle detector for photographing a vehicle that has entered a measurement area and measuring the behavior of the vehicle from the image position of the vehicle image on the photographing screen. Storage means for storing the position of the same vehicle obtained in series as history data for vehicle tracking,
Abnormality detection means for detecting an abnormal situation in which two vehicles traveling in the measurement region are close to each other and are photographed as one vehicle image in the photographing screen, and when the abnormal situation is detected, an abnormality is detected. One of the two vehicles, further comprising arithmetic processing means for correcting the vehicle position of one of the two vehicles at the present time based on the history data of the storage means before the present time when the situation was detected. The history data at the present time is created by regarding the position as the corrected vehicle position and the other vehicle position as the vehicle position obtained from the one vehicle image.

【0007】請求項2の発明は、請求項1の発明に加え
て、前記一方の車両位置は前記2台の車両の中の先行車
の車両位置であり、前記他方の車両位置は当該2台の車
両の中の後続車の車両位置であることを特徴とする。
According to a second aspect of the present invention, in addition to the first aspect, the one vehicle position is a vehicle position of a preceding vehicle in the two vehicles, and the other vehicle position is the two vehicles position. Is the vehicle position of the following vehicle in the vehicle.

【0008】請求項3の発明は、請求項1の演算処理手
段は前記2台の車両の車間距離を請求項1の前記履歴デ
ータと請求項2の前記後続車の車両位置から取得し、請
求項2の前記後続車の車両位置および当該取得した車間
距離から請求項2の前記先行車の車両位置を取得するこ
とを特徴とする。
According to a third aspect of the present invention, the arithmetic processing means of the first aspect obtains the inter-vehicle distance of the two vehicles from the history data of the first aspect and the vehicle position of the succeeding vehicle of the second aspect. The vehicle position of the preceding vehicle of claim 2 is obtained from the vehicle position of the following vehicle of item 2 and the obtained inter-vehicle distance.

【0009】請求項4の発明は、請求項1の発明に加え
て、前記演算処理手段は前記履歴データおよび撮影間隔
時間を用いて前記車両の速度を計算することを特徴とす
る。
According to a fourth aspect of the invention, in addition to the first aspect of the invention, the arithmetic processing means calculates the speed of the vehicle using the history data and the photographing interval time.

【0010】請求項5の発明は、計測領域に進入した車
両を撮影し、その撮影画面中の車両画像の画像位置から
その車両の挙動を計測する車両感知器において、2台の
車両が撮影画面中で1台の車両画像として捕捉された場
合の車両感知方法において、複数の撮影画面から時系列
的に得られた同一車両の位置を車両追跡のための履歴デ
ータとして車両感知器内に記憶しておき、前記計測領域
内を走行する2台の車両が近接し前記撮影画面中におい
て1台の車両画像として撮影される異常事態を検出し、
当該異常事態が検出された場合には、前記1台の車両画
像は前記2台の車両の後続車の画像と見做して当該後続
車の現時点の車両位置を取得し、前記2台の車両の車間
距離を前記履歴データから取得し、当該後続車の現時点
の車両位置および当該取得した車間距離から前記先行車
の現時点の車両位置を取得することを特徴とする。
According to a fifth aspect of the present invention, in a vehicle detector for photographing a vehicle that has entered a measurement area and measuring the behavior of the vehicle from the image position of the vehicle image in the photographing screen, two vehicles are used for the photographing screen. In the vehicle detection method when captured as one vehicle image in the vehicle, the position of the same vehicle obtained in time series from a plurality of photographing screens is stored in the vehicle detector as history data for vehicle tracking. An abnormal situation is detected in which two vehicles traveling in the measurement area approach each other and are photographed as one vehicle image in the photographing screen.
When the abnormal situation is detected, the one vehicle image is regarded as an image of the following vehicle of the two vehicles, and the current vehicle position of the following vehicle is acquired to obtain the two vehicles. Is acquired from the history data, and the current vehicle position of the preceding vehicle is acquired from the current vehicle position of the subsequent vehicle and the acquired inter-vehicle distance.

【0011】本発明では、近接の走行車両は短い時間の
間は車間距離がほぼ一定となることに着目し、請求項
1、5の発明では、2台の車両が1台の車両画像として
捕捉されてしまった異常事態を検出し、この1台の車両
画像を2台の中の1台の車両画像と見做す。また、他方
の車両画像を前時点の車間距離と現時点の車両位置から
計算する。
In the present invention, attention is paid to the fact that the distance between adjacent traveling vehicles is substantially constant for a short time, and in the inventions of claims 1 and 5, two vehicles are captured as one vehicle image. An abnormal situation that has occurred is detected, and this one vehicle image is regarded as one of the two vehicle images. Further, the other vehicle image is calculated from the inter-vehicle distance at the previous time point and the current vehicle position.

【0012】請求項2、3の発明では、小型車が計測領
域を退出する間際に後続の大型車により隠れてしまうこ
とが多いので1台の車両画像は後続車と判断し、隠れて
しまった先行車の位置を履歴データ、たとえば、車間距
離を用いて取得する。
In the second and third aspects of the present invention, a small vehicle is often hidden by a large vehicle following it when it is about to leave the measurement area. The position of the vehicle is acquired using historical data, for example, the inter-vehicle distance.

【0013】請求項4の発明では、車両位置と撮影間隔
時間から速度を求め、車両位置だけでなく、近接車両の
速度をも取得する。
According to the fourth aspect of the invention, the speed is obtained from the vehicle position and the photographing interval time, and not only the vehicle position but also the speed of the adjacent vehicle is acquired.

【0014】[0014]

【発明の実施の形態】以下、図面を参照して本発明の実
施例を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0015】図1は車両感知器の配置を示す。車両感知
器はCCDカメラ10と車両感知器本体20から構成さ
れる。CCDカメラ10は道路端部の高所に設置され、
複数車線を走行中の車両を撮影する。CCDカメラの向
きは、車両を前方から撮影する向きと車両を後方から撮
影する向きの2通りがある。車両感知器本体20はCC
Dカメラ10により撮影された画像を後述のように画像
処理することで隣接する車両においてもその車両を感知
する。
FIG. 1 shows the arrangement of vehicle detectors. The vehicle detector comprises a CCD camera 10 and a vehicle detector body 20. The CCD camera 10 is installed at a high place at the end of the road,
Take a picture of a vehicle traveling in multiple lanes. There are two CCD camera orientations, one for shooting the vehicle from the front and the other for shooting the vehicle from the rear. The vehicle detector body 20 is CC
By performing image processing on an image captured by the D camera 10 as described later, the adjacent vehicle can sense the vehicle.

【0016】図2は車両感知器のシステム構成を示す。
図2において、車両感知器本体20はデータ入出力部1
1と画像処理部21から構成される。CCDカメラ10
から送出される1画面分の画像はA/D変換器12によ
りアナログ/デジタル変換され画像メモリ26に格納さ
れる。画像処理専用のプリプロセッサ28は主に画素演
算を中心に、物体全体を抽出するための背景差分、物体
の輪郭を得るための空間差分などの従来と同様の画像処
理を実行して撮影画像を前処理する。この画像処理にお
いて用いられる各種のデータがローカルメモリ27に一
時記憶される。
FIG. 2 shows the system configuration of the vehicle detector.
In FIG. 2, the vehicle detector body 20 is a data input / output unit 1
1 and the image processing unit 21. CCD camera 10
The image for one screen sent from the A / D converter 12 is analog / digital converted and stored in the image memory 26. The preprocessor 28 dedicated to image processing mainly executes pixel processing, performs background image processing for extracting the entire object, spatial difference for obtaining the contour of the object, and other similar image processing in the related art to perform preprocessing of the captured image. To process. Various data used in this image processing are temporarily stored in the local memory 27.

【0017】上記画像処理の結果得られる車両特徴デー
タは画像バス29を介してデュアルポートメモリ25に
格納される。メインプロセッサ22はこれらの車両特徴
データをデュアルポートメモリ25から読みだしてパタ
ーンマッチング等の手法により車両の車種の判別を行う
と共に、車両のその時点の走行位置を検出し、車両の速
度、通過車両の台数を測定する。これらプリプロセッサ
28およびメインプロセッサ22において実行される処
理は図3を用いて後述する。ローカルメモリ23はメイ
ンプロセッサ22の処理において用いられる各種データ
を一時格納する。測定結果として得られる速度、通過台
数のデータは通過車両に係わる他の、たとえば、車種等
のデータと共にCPUバス24、画像入出力ポート(I
/O)13を経由して外部に送信される。
Vehicle characteristic data obtained as a result of the above image processing is stored in the dual port memory 25 via the image bus 29. The main processor 22 reads out these vehicle characteristic data from the dual port memory 25, determines the vehicle type of the vehicle by a method such as pattern matching, detects the traveling position of the vehicle at that time, and detects the vehicle speed and the passing vehicle. Measure the number of. The processing executed by the preprocessor 28 and the main processor 22 will be described later with reference to FIG. The local memory 23 temporarily stores various data used in the processing of the main processor 22. The data of the speed and the number of passing vehicles obtained as the measurement result are included in the CPU bus 24, the image input / output port (I
/ O) 13 and is transmitted to the outside.

【0018】このような構成において実行される計測処
理を図3に示す。図3を参照しながら車両感知器のシス
テム動作および本発明に係わる車両感知方法を説明して
いく。説明を容易にするために道路は1車線とする。ま
た、計測に先立って、車両の追跡を行うために用いる計
測領域(計測サンプル点)がローカルメモリ23上に設
定されているものとする(図3のステップS10)。
FIG. 3 shows the measurement process executed in such a configuration. The system operation of the vehicle detector and the vehicle detection method according to the present invention will be described with reference to FIG. The road has one lane for ease of explanation. Further, it is assumed that the measurement area (measurement sample point) used for tracking the vehicle is set on the local memory 23 prior to the measurement (step S10 in FIG. 3).

【0019】車両が計測領域に進入するとその車両がC
CDカメラ10に捕捉される。プリプロセッサ28はC
CDカメラ10により撮影された1画面分の画像を画像
メモリ26から読みだし、車両検出のための前処理を実
行する。より具体的にはCCDカメラ10からの入力画
面から予め用意してある計測領域の背景画面を差引きす
ることにより進入車両の画像を取得する。この画像にお
いて輝度値が急激に変化するエッジ部(輪郭線)を検出
するための空間差分処理を実行する。上記エッジ検出さ
れた画像は2値化処理され、メインプロセッサ22に引
き渡される(図3のステップS20〜S40)。
When a vehicle enters the measurement area, the vehicle moves to C
It is captured by the CD camera 10. The preprocessor 28 is C
An image for one screen taken by the CD camera 10 is read from the image memory 26, and pre-processing for vehicle detection is executed. More specifically, the image of the approaching vehicle is acquired by subtracting the background screen of the measurement region prepared in advance from the input screen from the CCD camera 10. Spatial difference processing is performed to detect an edge portion (contour line) in which the brightness value changes abruptly in this image. The edge-detected image is binarized and delivered to the main processor 22 (steps S20 to S40 in FIG. 3).

【0020】メインプロセッサ22は2値化処理により
得られた車両の特徴部の輪郭線画像を車種の判明してい
る基準の輪郭線画像とパターンマッチングすることによ
り車両の存在、および車種を検出する。車両と判定され
た画像の位置から撮影時点のその車両の位置をも算出す
る。メインプロセッサ22の時計機能から得られる時刻
と共にこれらの取得データがローカルメモリ23に格納
される(図3のステップS50)。車両の存在が確認さ
れた場合には(図3のステップS60の肯定判定)、そ
の車両の追跡処理をメインプロセッサ22において実行
する(図3のステップS70)。
The main processor 22 detects the presence and vehicle type of the vehicle by pattern-matching the contour image of the characteristic portion of the vehicle obtained by the binarization process with the reference contour image of the known vehicle type. . The position of the vehicle at the time of shooting is also calculated from the position of the image determined as the vehicle. These acquired data are stored in the local memory 23 together with the time obtained from the clock function of the main processor 22 (step S50 in FIG. 3). When the presence of the vehicle is confirmed (affirmative determination in step S60 of FIG. 3), the tracking process of the vehicle is executed by the main processor 22 (step S70 of FIG. 3).

【0021】この追跡処理は、同一車両の計測領域内で
の位置データや速度データを撮影画面が入力されるごと
に記憶し、2台の車両が異常接近し、画面上で1台の大
型車両とおなじような画像となる異常事態を、記憶した
履歴データを用いて予測する処理である。この処理の詳
細を図4に示す。初めて計測領域に進入した車両につい
ては上記位置や速度に関する履歴データがローカルメモ
リ23に記憶されていない。これによりメインプロセッ
サ22は車両が初めて計測領域に進入したと判断する
(図4のステップS200の肯定判定)。メインプロセ
ッサ22は初期処理のためにこの車両の追跡履歴データ
を記憶する領域をローカルメモリ23内に確保し、履歴
データの初期値として、今回、得られた車両位置、車種
を示すデータを格納する(図4のステップS210)。
また、これまでに得られた先行車両の履歴データの速度
データを参考にして進入車両が次回の画像入力時点にど
の位置(予測位置と称する)まで移動しているであろう
かを計算する。この計算は簡単な数式(現時点の車両位
置+移動距離(速度×撮影間隔時間))で実行できるの
で、詳細な説明を要しないであろう。得られた予測位置
を中心にした一定面積の領域に対応する画面中の領域が
次回における車両の検索領域、換言すると、同一車両を
追跡する画面中の領域となる(図4のステップS22
0)。
In this tracking process, position data and speed data in the measurement area of the same vehicle are stored each time a photographing screen is input, and two vehicles come close to each other abnormally and one large vehicle is displayed on the screen. This is a process of predicting an abnormal situation that produces an image similar to the above, by using the stored history data. Details of this processing are shown in FIG. For the vehicle that has entered the measurement area for the first time, the local memory 23 does not store the history data regarding the position and speed. As a result, the main processor 22 determines that the vehicle has entered the measurement region for the first time (affirmative determination in step S200 of FIG. 4). The main processor 22 secures an area for storing the tracking history data of the vehicle in the local memory 23 for the initial processing, and stores the data indicating the vehicle position and the vehicle type obtained this time as the initial value of the history data. (Step S210 of FIG. 4).
In addition, to which position (referred to as a predicted position) the approaching vehicle will move at the time of the next image input is calculated with reference to the speed data of the history data of the preceding vehicle obtained so far. Since this calculation can be executed by a simple mathematical expression (current vehicle position + movement distance (speed × imaging interval time)), detailed description will not be required. A region in the screen corresponding to a region having a constant area centered on the obtained predicted position is a vehicle search region for the next time, in other words, a region in the screen for tracking the same vehicle (step S22 in FIG. 4).
0).

【0022】計測領域に進入した車両は、計測領域を走
行中に複数回CCDカメラ10により捕捉される。第2
回目に得られた撮影画面はプリプロセッサ28により上
述のように前処理され、2値画像の形態でメインプロセ
ッサ22に引き渡される。メインプロセッサ22は入力
画面中の設定された検索領域の中で車両位置、速度等を
検出する(図3のステップS20〜S50)。処理手順
はステップS60→S70へと進み、図4の追跡処理に
おいて、前回、初めて捕捉した車両の同定処理が行われ
る。より具体的には、今回検出した車両の車種が前回検
出した車両の車種と一致することの確認のための車種判
定処理を実行する。さらに現時点より前の車両の速度の
変化を計算し、今回の車両の速度が前回よりも急激に変
化していないことを確認する。一例としては前回と今回
との速度差がしきい値よりも小さいことを比較処理によ
り確認する(図4のステップS200→S230,S2
40)。車種が一致しなかった場合または急激な速度変
化を示している場合は2台の車両が近接し、撮影画面中
では1台の車両として撮影されたと判断し、図3のステ
ップS80以降の異常対処処理に移行する。
The vehicle that has entered the measurement area is captured by the CCD camera 10 multiple times while traveling in the measurement area. Second
The photographing screen obtained at the second time is preprocessed by the preprocessor 28 as described above, and delivered to the main processor 22 in the form of a binary image. The main processor 22 detects the vehicle position, speed, etc. in the set search area on the input screen (steps S20 to S50 in FIG. 3). The processing procedure proceeds from step S60 to step S70, and in the tracking processing of FIG. 4, the identification processing of the vehicle captured for the first time last time is performed. More specifically, a vehicle type determination process for confirming that the vehicle type of the vehicle detected this time matches the vehicle type of the vehicle detected previously is executed. Furthermore, the change in the speed of the vehicle before the present time is calculated, and it is confirmed that the speed of the vehicle this time has not changed more rapidly than the previous time. As an example, it is confirmed by comparison processing that the speed difference between the previous time and this time is smaller than the threshold value (steps S200 → S230, S2 in FIG. 4).
40). If the vehicle types do not match or if a rapid speed change is indicated, it is determined that the two vehicles are close to each other and that the vehicle was photographed as one vehicle in the photographing screen, and the abnormality handling after step S80 in FIG. 3 is performed. Move to processing.

【0023】一方、上記判定処理で正常判定が得られた
場合には、検出位置、速度((現時点の車両位置−前回
の車両位置)÷撮影間隔時間の計算により取得)を履歴
データとしてローカルメモリ23に追加する。また、次
回の検索領域を設定する(図4のステップS250→S
260)。したがって、2台の車両の近接状態が生じ
ず、1台の車両が正常確認されている間は、図3の処理
手順において、ステップS20〜S80のループ処理に
より検出された位置、および速度が順次にローカルメモ
リ23に格納されて行く。車両が計測領域から退出した
ときに撮影画面からその車両画像が消失していることお
よび前回の車両位置が退出領域に位置していることを条
件にしてその退出が検出される。これにより車両の追跡
を終了し、交通流の計算、駐車/異常交通の検出等の従
来処理を実行する(図3のステップS130→S14
0)。
On the other hand, when a normal determination is obtained in the above determination process, the detected position and speed ((current vehicle position-previous vehicle position) / acquired by calculating shooting interval time) are used as history data in the local memory. Add to 23. Further, the next search area is set (step S250 → S in FIG. 4).
260). Therefore, while the proximity state of the two vehicles does not occur and one vehicle is normally confirmed, the position and speed detected by the loop processing of steps S20 to S80 in the processing procedure of FIG. 3 are sequentially performed. Stored in the local memory 23. When the vehicle exits the measurement area, the exit is detected on the condition that the vehicle image disappears from the shooting screen and the previous vehicle position is located in the exit area. As a result, the tracking of the vehicle is terminated, and the conventional processing such as traffic flow calculation and parking / abnormal traffic detection is executed (steps S130 → S14 in FIG. 3).
0).

【0024】図4の追跡処理において異常が検出された
場合には、ローカルメモリ23の履歴データ全体を検索
して、前回の撮影画面中に一定距離内に後続車両が存在
するかを判定する。一例としてはローカルメモリ23に
格納されている複数台の車両位置と、現在追跡計算して
いる車両との間の距離を計算し、その距離が一定距離よ
り小さいかを判定する。後続車両が無しの判定が得られ
た場合には、以降の追跡終了判定処理に移行する(図4
のステップS90)。
When an abnormality is detected in the tracking process of FIG. 4, the entire history data of the local memory 23 is searched to determine whether or not a following vehicle exists within a certain distance in the previous photographing screen. As an example, the distances between a plurality of vehicle positions stored in the local memory 23 and the vehicle currently being tracked and calculated are calculated, and it is determined whether or not the distances are smaller than a certain distance. If it is determined that there is no following vehicle, the process proceeds to the following tracking end determination processing (FIG. 4).
Step S90).

【0025】一方、後続車有りの判定が得られた場合、
2台の車両が1台の車両として撮影されたと判断し、異
常判定となった車両の位置および速度を以下の処理によ
り補正する。本実施例では同一方向に走行している車両
が車線を変更しない限り先行車両を追い越すことはでき
ない点および2台の車両が近接し、1秒以下の非常に短
い間は間その車間距離はほぼ一定となる点に着目し、先
行車両の追跡ができない状況が発生したときには近接の
後続車両の車両位置と、前回取得した2台の車両位置か
ら定まる車間距離から、現時点の追跡不能となった車両
(先行車両)の位置を計算する。また、速度はこの計算
により得られた補正値を用いて(今回の補正車両位置−
前回の検出車両位置)÷撮影間隔時間の演算で求める。
(図4のステップS100→S110)。このようにし
て2台の車両が近接し、1つの車両として撮影された場
合でも、従来のような複雑な画像分離処理を行うことな
く、2台の車両の感知を実行することができる。
On the other hand, if it is determined that there is a following vehicle,
It is determined that two vehicles have been photographed as one vehicle, and the position and speed of the vehicle that has been determined to be abnormal are corrected by the following processing. In this embodiment, a vehicle traveling in the same direction cannot pass the preceding vehicle unless the lane is changed, and two vehicles are close to each other, and the inter-vehicle distance is substantially short during a very short period of 1 second or less. Focusing on the point that it is constant, when a situation occurs where the preceding vehicle cannot be tracked, the vehicle that cannot be tracked at this time is determined from the vehicle position of the following vehicle in the vicinity and the inter-vehicle distance determined from the two vehicle positions acquired last time. Calculate the position of (leading vehicle). For the speed, the correction value obtained by this calculation is used (the corrected vehicle position-
Calculated by calculating the (previous detected vehicle position) ÷ shooting interval time.
(Steps S100 → S110 in FIG. 4). In this way, even when two vehicles come close to each other and are photographed as one vehicle, it is possible to detect the two vehicles without performing a complicated image separation process as in the related art.

【0026】本実施例の他に次の例を実施できる。The following example can be implemented in addition to this embodiment.

【0027】1)本実施例では車両の速度は現時点の画
面から取得した車両位置、前画面から取得した車両位置
および撮影間隔時間から算出しているが、複数時点で取
得した複数画面の車両位置を用いて速度を計算してもよ
い。
1) In the present embodiment, the speed of the vehicle is calculated from the vehicle position acquired from the current screen, the vehicle position acquired from the previous screen, and the shooting interval time. May be used to calculate velocity.

【0028】2)本実施例では1車線分の画像処理につ
いて説明したが複数車線を計測領域に含める場合には、
各車線について上述と同様の処理を施す。
2) In this embodiment, the image processing for one lane has been described, but when a plurality of lanes are included in the measurement area,
The same processing as described above is performed for each lane.

【0029】3)本実施例では車両の追跡を行う際に追
跡車両の検索を行う領域を入力画面中の道路部分のみに
設定している。これにより1画面全てが検索対象となら
ないので、高速処理が実現できる。追跡精度を向上した
い場合には車両の速度および車両の速度の変化(加速
度)に関連づけて検索領域の大きさを可変設定してもよ
い。たとえば、車両の速度が高速の場合には速度変化が
大きいので検索領域を設定し、車両が増速している場合
には検索領域を大きく設定する。
3) In this embodiment, when the vehicle is tracked, the area for searching the tracked vehicle is set only on the road portion in the input screen. As a result, one screen is not the search target, and high-speed processing can be realized. In order to improve the tracking accuracy, the size of the search area may be variably set in association with the vehicle speed and the change (acceleration) of the vehicle speed. For example, when the speed of the vehicle is high, the change in speed is large, so the search area is set, and when the speed of the vehicle is high, the search area is set large.

【0030】4)車両感知器の設置位置によって2台の
車両が1台の画像として撮影される車両位置は異なる。
また、CCDカメラの向きにより先行車が後続車により
隠される場合と、後続車が先行車に隠される場合が発生
する場合がある。車両が隠れる位置と隠れる車両の因果
関係が明確な場合には、1台となってしまった場合の位
置関係から補正するべき車両の種類(先行車/後続車)
をメインプロセッサ22により決定してもよい。
4) The vehicle positions at which two vehicles are photographed as one image differ depending on the installation position of the vehicle detector.
Further, depending on the orientation of the CCD camera, the preceding vehicle may be hidden by the following vehicle and the following vehicle may be hidden by the preceding vehicle. When the causal relationship between the hidden vehicle and the hidden vehicle is clear, the type of vehicle that should be corrected based on the positional relationship when there is only one vehicle (leading vehicle / subsequent vehicle)
May be determined by the main processor 22.

【0031】5)2台の車両が1台の車両として撮影さ
れる異常事態を検出するためには本実施例で述べた方法
以外の方法を用いることができる。たとえば、入力画面
中の車両画像の中に複数台の車両特徴を検出した場合は
異常事態の発生とする判断方法を用いることができる。
5) In order to detect an abnormal situation in which two vehicles are photographed as one vehicle, a method other than the method described in this embodiment can be used. For example, a method of determining that an abnormal situation occurs when a plurality of vehicle features are detected in the vehicle image on the input screen can be used.

【0032】[0032]

【発明の効果】以上、説明したように、請求項1、5の
発明では、2台の車両が1台の車両画像として捕捉され
てしまった異常事態を検出し、この1台の車両画像を2
台の中の1台の車両画像と見做す。また、他方の車両画
像を前時点の車両間隔と現時点の車両位置から計算する
ので、従来よりも簡単な処理で2台の車両位置を感知で
きる。また、処理時間も短縮される。
As described above, according to the first and fifth aspects of the present invention, an abnormal situation in which two vehicles are captured as one vehicle image is detected, and this one vehicle image is detected. Two
Considered as an image of one of the vehicles. Moreover, since the other vehicle image is calculated from the vehicle interval at the previous time point and the vehicle position at the current time point, the positions of the two vehicles can be detected by a simpler process than in the past. Also, the processing time is shortened.

【0033】請求項2、3の発明では、小型車が計測領
域を退出する間際に後続の大型車により隠れてしまうこ
とが多いので1台の車両画像は後続車と判断し、隠れて
しまった先行車の位置を履歴データから求まる情報、た
とえば、車間距離を用いて取得する。これにより1台の
車両画像を分離しなくても2台の車両位置を正確に把握
できる。
In the second and third aspects of the present invention, a small vehicle is often hidden by a large vehicle following it when it is about to leave the measurement area. Therefore, one vehicle image is judged as a following vehicle, and the vehicle is hidden. The position of the vehicle is acquired using information obtained from the history data, for example, the inter-vehicle distance. As a result, the positions of two vehicles can be accurately grasped without separating the images of one vehicle.

【0034】請求項4の発明では、車両位置と撮影間隔
時間から速度を求め、車両位置だけでなく、近接車両の
速度をも取得する。これにより車両感知器を速度計測装
置としても用いることができる。
According to the invention of claim 4, the speed is obtained from the vehicle position and the photographing interval time, and not only the vehicle position but also the speed of the adjacent vehicle is acquired. As a result, the vehicle detector can also be used as a speed measuring device.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明実施例のシステム設置状態を示す斜視図
である。
FIG. 1 is a perspective view showing a system installation state of an embodiment of the present invention.

【図2】本発明実施例のシステム構成を示すブロック図
である。
FIG. 2 is a block diagram showing a system configuration of an embodiment of the present invention.

【図3】本発明実施例のの処理手順を示すフローチャー
トである。
FIG. 3 is a flowchart showing a processing procedure of an embodiment of the present invention.

【図4】図3のステップS70の車両追跡処理の詳細を
示すフローチャートである。
FIG. 4 is a flowchart showing details of vehicle tracking processing in step S70 of FIG.

【図5】従来の車両感知方法を説明するための説明図で
ある。
FIG. 5 is an explanatory diagram for explaining a conventional vehicle detection method.

【符号の説明】[Explanation of symbols]

10 CCDカメラ 11 端末通信部 12 A/D変換器 13 I/O 20 車両感知器本体 21 画像処理部 22 メインプロセッサ 23 ローカルメモリ 24 CPUバス 25 デュアルポートメモリ 26 画像メモリ 27 ローカルメモリ 28 プリプロセッサ 29 画像バス 10 CCD Camera 11 Terminal Communication Unit 12 A / D Converter 13 I / O 20 Vehicle Detector Main Body 21 Image Processing Unit 22 Main Processor 23 Local Memory 24 CPU Bus 25 Dual Port Memory 26 Image Memory 27 Local Memory 28 Preprocessor 29 Image Bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/18 G06F 15/62 380 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 7/18 G06F 15/62 380

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 計測領域に進入した車両を撮影し、その
撮影画面中の車両画像の画像位置からその車両の挙動を
計測する車両感知器において、 時系列的に得られた同一車両の位置を車両追跡のための
履歴データとして記憶しておく記憶手段と、 前記計測領域内を走行する2台の車両が近接し前記撮影
画面中において1台の車両画像として撮影される異常事
態を検出する異常検出手段と、 当該異常事態が検出された場合には、異常事態が検出さ
れた現時点より前の前記記憶手段の履歴データから現時
点の当該2台の車両の中の1台の車両位置を補正する演
算処理手段とを具え、前記2台の車両の一方の車両位置
を当該補正された車両位置、他方の車両位置を前記1台
の車両画像から得られる車両位置と見做して現時点の前
記履歴データを作成することを特徴とする車両感知器。
1. A vehicle detector that photographs a vehicle that has entered a measurement region and measures the behavior of the vehicle from the image position of the vehicle image on the photographed screen shows the position of the same vehicle obtained in time series. A storage unit that stores history data for vehicle tracking, and an abnormality that detects an abnormal situation in which two vehicles traveling in the measurement area are close to each other and are photographed as one vehicle image in the photographing screen. When the abnormal situation is detected, the detecting means corrects the vehicle position of one of the two vehicles at the present time from the history data of the storage means before the current time when the abnormal situation was detected. And a processing unit, wherein one of the vehicle positions of the two vehicles is regarded as a corrected vehicle position and the other vehicle position is regarded as a vehicle position obtained from the one vehicle image, and the history at the present time is considered. Create data A vehicle detector characterized in that
【請求項2】 前記一方の車両位置は前記2台の車両の
中の先行車の車両位置であり、前記他方の車両位置は当
該2台の車両の中の後続車の車両位置であることを特徴
とする請求項1に記載の車両感知器。
2. The one vehicle position is a vehicle position of a preceding vehicle of the two vehicles, and the other vehicle position is a vehicle position of a succeeding vehicle of the two vehicles. The vehicle detector according to claim 1, characterized in that
【請求項3】 請求項1の演算処理手段は前記2台の車
両の車間距離を請求項1の前記履歴データと請求項2の
前記後続車の車両位置から取得し、請求項2の前記後続
車の車両位置および当該取得した車間距離から請求項2
の前記先行車の車両位置を取得することを特徴とする車
両感知器。
3. The arithmetic processing means of claim 1 obtains an inter-vehicle distance of the two vehicles from the history data of claim 1 and the vehicle position of the following vehicle of claim 2, and the successor of claim 2 The vehicle position of the vehicle and the acquired inter-vehicle distance,
A vehicle detector for acquiring the vehicle position of the preceding vehicle.
【請求項4】 前記演算処理手段は前記履歴データおよ
び撮影間隔時間を用いて前記車両の速度を計算すること
を特徴とする請求項1に記載の車両感知器。
4. The vehicle detector according to claim 1, wherein the arithmetic processing unit calculates the speed of the vehicle using the history data and the photographing interval time.
【請求項5】 計測領域に進入した車両を撮影し、その
撮影画面中の車両画像の画像位置からその車両の挙動を
計測する車両感知器において、2台の車両が撮影画面中
で1台の車両画像として捕捉された場合の車両感知方法
において、 複数の撮影画面から時系列的に得られた同一車両の位置
を車両追跡のための履歴データとして車両感知器内に記
憶しておき、 前記計測領域内を走行する2台の車両が近接し前記撮影
画面中において1台の車両画像として撮影される異常事
態を検出し、 当該異常事態が検出された場合には、前記1台の車両画
像は前記2台の車両の後続車の画像と見做して当該後続
車の現時点の車両位置を取得し、 前記2台の車両の車間距離を前記履歴データから取得
し、 当該後続車の現時点の車両位置および当該取得した車間
距離から前記先行車の現時点の車両位置を取得すること
を特徴とする車両感知器の車両感知方法。
5. A vehicle detector for photographing a vehicle that has entered a measurement area and measuring the behavior of the vehicle from the image position of the vehicle image on the photographing screen. In the vehicle detection method when captured as a vehicle image, the position of the same vehicle obtained in time series from a plurality of photographing screens is stored in the vehicle detector as history data for vehicle tracking, and the measurement is performed. When an abnormal situation in which two vehicles traveling in the area approach each other and is photographed as one vehicle image in the photographing screen is detected, and when the abnormal situation is detected, the one vehicle image is The current vehicle position of the following vehicle is acquired by considering it as an image of the following vehicle of the two vehicles, the inter-vehicle distance of the two vehicles is acquired from the history data, and the current vehicle of the following vehicle is acquired. Position and the acquired car Vehicle sensing method for a vehicle detector, characterized in that the distance to acquire the vehicle position at the present time of the preceding vehicle.
JP18931795A 1995-07-25 1995-07-25 Vehicle sensor and vehicle sensing method Expired - Fee Related JP3605892B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18931795A JP3605892B2 (en) 1995-07-25 1995-07-25 Vehicle sensor and vehicle sensing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18931795A JP3605892B2 (en) 1995-07-25 1995-07-25 Vehicle sensor and vehicle sensing method

Publications (2)

Publication Number Publication Date
JPH0944788A true JPH0944788A (en) 1997-02-14
JP3605892B2 JP3605892B2 (en) 2004-12-22

Family

ID=16239345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18931795A Expired - Fee Related JP3605892B2 (en) 1995-07-25 1995-07-25 Vehicle sensor and vehicle sensing method

Country Status (1)

Country Link
JP (1) JP3605892B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008046928A (en) * 2006-08-17 2008-02-28 Fujitsu Ltd Program, method and apparatus for determining reliability of tracking
JP2009087316A (en) * 2007-09-11 2009-04-23 Hitachi Ltd Traffic flow measurement system
JP2013190898A (en) * 2012-03-13 2013-09-26 Sohatsu System Kenkyusho:Kk Traffic detection system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008046928A (en) * 2006-08-17 2008-02-28 Fujitsu Ltd Program, method and apparatus for determining reliability of tracking
JP2009087316A (en) * 2007-09-11 2009-04-23 Hitachi Ltd Traffic flow measurement system
JP2013190898A (en) * 2012-03-13 2013-09-26 Sohatsu System Kenkyusho:Kk Traffic detection system

Also Published As

Publication number Publication date
JP3605892B2 (en) 2004-12-22

Similar Documents

Publication Publication Date Title
JP3503230B2 (en) Nighttime vehicle recognition device
KR100243317B1 (en) Car classification equipment
JP2000059764A (en) Vehicle position detecting device
CN109766867B (en) Vehicle running state determination method and device, computer equipment and storage medium
JPH08329393A (en) Preceding vehicle detector
CN111428642A (en) Multi-target tracking algorithm, electronic device and computer readable storage medium
CN113792586A (en) Vehicle accident detection method and device and electronic equipment
JP2003044859A (en) Device for tracing movement and method for tracing person
CN110088807B (en) Separation line identification device
JP3007019B2 (en) Traffic flow measurement device
JPH10267618A (en) Distance measuring instrument
JP2002367077A (en) Device and method for deciding traffic congestion
JP3605892B2 (en) Vehicle sensor and vehicle sensing method
JP3360163B2 (en) Traffic flow monitoring device
JPH07244717A (en) Travel environment recognition device for vehicle
CN112820141B (en) Parking space detection method and system
JPH0883392A (en) Method and device for detecting vehicle
JP3875889B2 (en) Image speed detection system and image speed detection method
JP3734594B2 (en) Abnormal event detection device and traffic flow measurement device
JP2000163691A (en) Traffic flow measuring instrument
CN113255612A (en) Preceding vehicle starting reminding method and system, electronic device and storage medium
JP3196559B2 (en) Line recognition method
JPH07280517A (en) Moving body identification device for vehicle
JP2005329765A (en) Run lane recognition device
JPH05312818A (en) Speed measuring device and method through image processing

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20040413

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20040511

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20040712

Free format text: JAPANESE INTERMEDIATE CODE: A523

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: 20040914

A61 First payment of annual fees (during grant procedure)

Effective date: 20040927

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071015

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20081015

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20101015

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20111015

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees