JP2732860B2 - Vehicle detection method and vehicle detection device - Google Patents

Vehicle detection method and vehicle detection device

Info

Publication number
JP2732860B2
JP2732860B2 JP63218446A JP21844688A JP2732860B2 JP 2732860 B2 JP2732860 B2 JP 2732860B2 JP 63218446 A JP63218446 A JP 63218446A JP 21844688 A JP21844688 A JP 21844688A JP 2732860 B2 JP2732860 B2 JP 2732860B2
Authority
JP
Japan
Prior art keywords
vehicle
difference
parking
processing
area
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
Application number
JP63218446A
Other languages
Japanese (ja)
Other versions
JPH0268698A (en
Inventor
勇夫 堀場
浩次 上田
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.)
Nagoya Electric Works Co Ltd
Original Assignee
Nagoya Electric Works Co 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 Nagoya Electric Works Co Ltd filed Critical Nagoya Electric Works Co Ltd
Priority to JP63218446A priority Critical patent/JP2732860B2/en
Publication of JPH0268698A publication Critical patent/JPH0268698A/en
Application granted granted Critical
Publication of JP2732860B2 publication Critical patent/JP2732860B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Traffic Control Systems (AREA)

Description

【発明の詳細な説明】 〔概 要〕 数10ミリ秒ないし数秒程度の一定時間間隔で撮影した
階調を有する2つの画像同士の濃度データの差分と、こ
の差分から得られる差分像によって車両を抽出し、さら
にその正負の極性によって移動方向を判定するようにし
た。
DETAILED DESCRIPTION OF THE INVENTION [Summary] A vehicle is determined by a difference between density data of two images having gradations photographed at a fixed time interval of about several tens of milliseconds to several seconds and a difference image obtained from the difference. The moving direction is determined based on the positive and negative polarities.

また、この結果発生する正と負の差分の極性の幅が等
しいことを判定の条件に加え、あるいは車両の背景との
濃度差を大きくすることによって判定精度を高めること
ができる。
In addition, the accuracy of the determination can be improved by adding that the widths of the polarities of the positive and negative differences generated as a result are equal to each other as a determination condition, or by increasing the density difference from the background of the vehicle.

〔産業上の利用分野〕[Industrial applications]

駐車場あるいは道路上の所定区域における車の移動を
検知し、駐車場管理,違法駐車監視および交通渋滞監視
などに適用し得る車両検知方法に関する。
The present invention relates to a vehicle detection method that detects the movement of a vehicle in a parking lot or a predetermined area on a road, and is applicable to parking lot management, illegal parking monitoring, traffic congestion monitoring, and the like.

〔従来の技術〕[Conventional technology]

特開昭60−27997号公報には、交通流を計測するため
にテレビカメラによって撮影された道路などのビデオ信
号をある閾値を基準として2値化した画像を生成し、こ
の2値化された画像を用いて移動する車両を識別する装
置が開示されている。
Japanese Patent Application Laid-Open No. 60-27997 discloses a method of generating a binary image of a video signal of a road or the like taken by a television camera in order to measure a traffic flow, based on a certain threshold value. An apparatus for identifying a moving vehicle using an image is disclosed.

また、駐車場の専用出入口にセンサを設け、入庫台数
と出庫台数を計数し、駐車車両台数を演算する方式が実
用化されている。
Further, a system has been put to practical use in which a sensor is provided at a dedicated entrance of a parking lot, the number of entering and exiting vehicles is counted, and the number of parked vehicles is calculated.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、初めに2値化を行いその差分演算を行
う方法にあっては、車両と背景との濃度差が小さい場合
に安定に測定ができなくなる。
However, in the method of first performing binarization and performing the difference calculation, stable measurement cannot be performed when the density difference between the vehicle and the background is small.

また、屋外の場合においては背景の明るさが天候およ
び時間帯によって大幅に変化することから、このように
テレビカメラで撮影された画像を2値化するための閾値
を適当な値に設定・維持することは困難であり、正確な
画像を得ることができなかった。
In addition, in the case of outdoors, the brightness of the background greatly changes depending on the weather and the time zone, and thus the threshold value for binarizing the image taken by the television camera is set and maintained at an appropriate value. It was difficult to obtain an accurate image.

さらに、従来の駐車場管理にあっては、駐車場入出部
のセンサによって車両の入出台数を計数しているため計
数誤差を生じた場合には、この誤差が累積して実際の駐
車台数と異なってしまうという問題点があった。
Furthermore, in the conventional parking lot management, since the number of vehicles entering and exiting is counted by the sensor at the parking lot entrance / exit section, if a counting error occurs, this error accumulates and the actual There was a problem of being different.

〔問題点を解決するための手段〕[Means for solving the problem]

数10ミリ秒ないし数秒程度の一定時間間隔毎に撮影し
た画像を階調を有するディジタル濃度データに変換する
とともに、前後2つの画像の同一位置における濃度デー
タの差分を求めることによって車両の抽出を行ない、ま
た、これによって得られる差分像中の差分の正負の極性
によって車両の移動方向を判定するようにした。
Images are taken at regular time intervals of about several tens of milliseconds to several seconds into digital density data having gradations, and the difference between the density data at the same position of the two preceding and succeeding images is determined to extract the vehicle. Further, the moving direction of the vehicle is determined based on the positive and negative polarities of the difference in the difference image obtained thereby.

もし、背景と車両との濃度差が小さくて車両の識別が
困難な場合には、撮影した画像中の車両の輪郭部分を強
調するとともにこの輪郭内部の階調変換を行って背景と
の濃度差が大きくすることにより判定の精度を高めるこ
とができる。
If the density difference between the background and the vehicle is small and it is difficult to identify the vehicle, the outline of the vehicle in the captured image is emphasized and the gradation conversion inside the outline is performed to perform the density difference between the background and the vehicle. Is increased, the accuracy of the determination can be increased.

また、上記の差分の正と負の極性の幅が等しいことを
判定の条件に加えることによって判定の精度を高めるこ
とができる。
In addition, the accuracy of the determination can be improved by adding to the determination conditions that the widths of the positive and negative polarities of the difference are equal.

本発明による車両検知方法を具体化するための装置の
例としては、所定区域を数10ミリ秒ないし数秒の一定時
間間隔毎に撮影する撮影手段と、この撮影手段によって
撮影された画像信号を階調を有するディジタル濃度デー
タに変換するA/D変換器と、上記一定時間間隔毎に撮影
された前後2つの画像の同一位置のディジタル濃度デー
タにおける差分演算を行い、この結果得られた差分像中
の正負の極性によって車両を抽出しその移動方向を判定
するマイクロプロセッサとによって車両検知装置を構成
することができる。
As an example of an apparatus for embodying the vehicle detection method according to the present invention, a photographing means for photographing a predetermined area at predetermined time intervals of several tens of milliseconds to several seconds, and an image signal photographed by the photographing means are stored in a floor. An A / D converter for converting to digital density data having a tone, and a difference operation between digital density data at the same position of two images before and after taken at the above-mentioned fixed time interval, and a difference image obtained as a result is obtained. A vehicle detection device can be constituted by a microprocessor that extracts a vehicle based on the positive and negative polarities of the vehicle and determines the moving direction of the vehicle.

なお、上記マイクロプロセッサに所定区域に対する車
両入出所定,駐車・空車判定,車両台数演算機能を付加
することにより駐車場の駐車状況,駐車台数および占有
率を判定することができ、また、マイクロプロセッサに
駐車・停車の判定機能を付加することにより道路上の違
法駐車を監視する。
The parking condition, the number of parked vehicles and the occupancy of the parking lot can be determined by adding the functions of vehicle entry / exit to a predetermined area, parking / vacancy determination, and vehicle number calculation functions to the microprocessor. It monitors illegal parking on the road by adding a parking / stop judgment function.

さらに、マイクロプロセッサに車両の速度および車間
距離の判定機能を付加することにより道路上における車
両の渋滞を監視する機能を持たせることができる。
Further, by adding a function of determining the speed and the distance between vehicles to the microprocessor, a function of monitoring traffic congestion on the road can be provided.

〔作 用〕(Operation)

第1図は本発明の原理を示す図であって、同図(a)
は時刻Tにおける移動車両Mの画像位置、(b)は時刻
T+tにおける上記車両Mの画像位置を示すものであ
り、この(a)の画像データから(b)の画像データを
減算すると同図(c)に示すように差分像中に正の極性
を持つ領域mと負の極性を持つ領域m′とを生じ、移動
車両のみが抽出される。
FIG. 1 is a view showing the principle of the present invention.
Shows the image position of the moving vehicle M at time T, and (b) shows the image position of the vehicle M at time T + t. When the image data of (b) is subtracted from the image data of (a), FIG. As shown in c), a region m having a positive polarity and a region m 'having a negative polarity are generated in the difference image, and only the moving vehicle is extracted.

従来の手法においては最初に画像の2値化処理を行う
ため、背景の輝度変化に追従した2値化の閾値制御を必
要とし、しかも不鮮明な車両抽出しか得られないという
問題点があった。
In the conventional method, since the binarization processing of the image is performed first, there is a problem that threshold control of the binarization following the change in the luminance of the background is required, and only an unclear vehicle can be extracted.

これに対して、本発明においては数10ミリ秒ないし数
秒程度の短い時間間隔tにおける前後2つの原画像間の
差分を求めているために、背景の明るさの変化に影響さ
れることなく移動車両のみが安定に抽出されるので、上
記のごとき従来の手法が持つ問題点は解決される。
On the other hand, in the present invention, since the difference between the two original images before and after at a short time interval t of about several tens of milliseconds to several seconds is obtained, the movement without being affected by the change in the brightness of the background. Since only the vehicle is stably extracted, the problems of the conventional method as described above are solved.

同図(d)は上記(c)図の走査線L上での濃度値を
示すものであり、もし上記車両Mの異同方向が同図
(b)から(a)の方向に移動する上述とは逆方向の移
動であれば、上記領域の差分は同図(d)にn′,nで示
した正(+)と負(−)の領域が逆になり、この極性の
違いによって車両の移動方向を判定することができる。
FIG. 9D shows the density value on the scanning line L in FIG. 9C, and the above-described case where the different direction of the vehicle M moves from the direction of FIG. 9B to the direction of FIG. If the movement is in the opposite direction, the difference between the above areas is reversed between the positive (+) and negative (-) areas indicated by n 'and n in FIG. The moving direction can be determined.

なお、上記したところは前の画像データから後の画像
データを差引く前方差分演算による方法について説明し
たが、後の画像から前の画像を引く後方差分演算を行っ
ても移動方向に対する正負の極性が逆に生じる以外は同
じである。
In the above description, the method using the forward difference operation of subtracting the subsequent image data from the previous image data has been described. However, even if the backward difference operation of subtracting the previous image from the subsequent image is performed, the polarity is positive or negative with respect to the moving direction. Is the same except that the reverse occurs.

また、1台の車両が移動した場合には同図(c)に示
した領域m,m′の幅は等しく、したがって同図(d)にx
1,x2で示したこれら差分の阻も等しいが、もし複数の車
両が同時に移動したことによってこのような差分が生じ
た場合にはこれら差分領域x1,x2の幅が一般的に等しく
ないことから1台の車両が移動したか否かを判定するこ
とができる。
When one vehicle moves, the widths of the areas m and m 'shown in FIG.
1 is equal Habamo These differences indicated by x 2, if a plurality of vehicles such when the difference occurs is the width of these differential area x 1, x 2 generally equally by the simultaneous movement Since there is no vehicle, it can be determined whether or not one vehicle has moved.

なお、道路,駐車場などの舗装に通常用いられている
アスファルトの濃度値は車両の濃度値よりも一般に小さ
い(黒に近い)ため、アスファルト上を車両が移動する
場合には、上記第1図(c)のように車両が存在しなく
なった部分mで濃度値の差分が明方向、すなわち明るく
なったことを示す値となる。
Since the density value of asphalt generally used for pavement such as roads and parking lots is generally smaller than the density value of the vehicle (close to black), when the vehicle moves on the asphalt, the above-mentioned FIG. As shown in (c), the difference between the density values at the portion m where the vehicle is no longer present becomes a value indicating that the vehicle has become brighter, that is, has become brighter.

仮に、車両の濃度値がアスファルトの濃度値にほぼ等
しいときでは、車両には窓ガラスやバンパのように明る
い部分が存在するために識別が不可能になることは少な
いが、もし車両自体の識別が困難であればこの移動方向
の判定も困難になり、また、車両の濃度値がアスファル
トの濃度値より低いと上記のような移動判定では逆方向
の移動と判定してしまうことになる。
If the density value of the vehicle is almost equal to the density value of asphalt, it is unlikely that the vehicle will be indistinguishable due to the presence of bright parts such as windowpanes and bumpers. If the density of the vehicle is lower than the density value of the asphalt, it is determined that the vehicle is moving in the opposite direction.

このような問題を解決するためには、撮影した画像か
ら車両の輪郭を強調するとともにこの輪郭内部を道路な
どの背景との濃度差を大きくするような階調変換を行な
った画像を生成し、その差分を求めることで移動方向の
判定を行うことができる。
In order to solve such a problem, an image in which the outline of the vehicle is emphasized from the captured image and a gradation conversion is performed so as to increase the density difference between the outline and the background such as a road is generated, By determining the difference, the moving direction can be determined.

〔実施例〕〔Example〕

第2図ないし第4図は本発明の車両検知方法を適用し
た駐車場管理システムの例を示すもので、第2図および
第3図によってその原理を先ず説明する。
FIGS. 2 to 4 show an example of a parking lot management system to which the vehicle detection method of the present invention is applied. The principle will be described first with reference to FIGS. 2 and 3. FIG.

第2図には駐車場全体の見渡せる位置に設けたテレビ
カメラCと1台の車両を収容し得るような広さごとに区
切られた駐車領域S11,S12……S1n,S21,S22……S2nが示
されており、この実施例ではこれらの駐車領域ごとに駐
車車両の管理を行う。
FIG. 2 shows a parking area S 11 , S 12 ... S 1n , S 21 , which is separated by a size such that a television camera C provided at a position overlooking the entire parking lot and one vehicle can be accommodated. S 22 ... S 2n are shown. In this embodiment, management of parked vehicles is performed for each of these parking areas.

第3図は説明のためにこのテレビカメラCによって撮
影された画像をモニタした画面の例を示すもので、駐車
領域S11,S12……S1nを含む第1の車両入出検知領域S
1と、駐車領域S21,S22……S2nを含む第2の車両入出検
知領域S2が表示されており、これら駐車領域のそれぞれ
の座標および最大駐車可能台数を予めこの管理システム
に入力しておく。
FIG. 3 shows an example of a screen on which an image taken by the television camera C is monitored for explanation, and a first vehicle entry / exit detection area S including parking areas S 11 , S 12 ... S 1n.
1, the parking area S 21, S 22 ...... second vehicle and out detection region S 2 containing the S 2n are displayed, enter the respective coordinates and the maximum available parking number of parking areas in advance in the management system Keep it.

なお、この検知領域の座標はラスタスキャンニングの
容易性を考慮して第3図に点線で示したように各駐車領
域を含む長方形の領域として設定しておくことが好まし
い。もし、カメラの設置位置の都合上などでラスタスキ
ャンにそぐわない場合でも、それぞれの検知領域が対応
する駐車領域を含む長方形となるようにするのが好まし
い。
It is preferable that the coordinates of the detection area be set as a rectangular area including each parking area as shown by a dotted line in FIG. 3 in consideration of ease of raster scanning. Even if it is not suitable for raster scanning due to the installation position of the camera, it is preferable that each detection area be a rectangle including the corresponding parking area.

また、本発明では移動中の車両などの移動物体のみを
差分処理によって画像から抽出しているため、この処理
後の画像を表示した場合には、この第3図に実線で示し
た駐車領域を示す線などの静止部分が画面上に表示され
ないことはいうまでもない。
Further, in the present invention, only a moving object such as a moving vehicle is extracted from the image by the difference processing. Therefore, when the image after this processing is displayed, the parking area shown by the solid line in FIG. It goes without saying that a stationary portion such as a line shown is not displayed on the screen.

この第3図の画面上の第1の車両入出検知領域S1にお
いては、ある駐車領域にあった車両が図に「→A」で示
す右方向に移動してこの車両入出検知領域S1をはずれた
場合には、駐車していた車両がいなくなったものと判定
することができるので、この駐車領域を空車として記憶
し、逆に車両が図に「←B」として示した左方向に移動
した後、停車することによって極性反転成分がなくなっ
て画面から消えた場合には車両が駐車したものとして、
この駐車領域が駐車中であることを記憶するようにす
る。
The third in the first vehicle and out detection region S 1 on the screen of the figure, the vehicle input and detection area S 1 moves to the right of the vehicle had been in a certain parking area indicated by "→ A" in FIG. If the vehicle deviates, it can be determined that the parked vehicle has disappeared, so this parking area is stored as an empty vehicle, and conversely, the vehicle has moved to the left indicated by “← B” in the figure. Later, when the vehicle stops and the polarity reversal component disappears and disappears from the screen, it is assumed that the vehicle is parked,
The fact that this parking area is parked is stored.

さらに、車高の高い車両などの陰になる駐車領域に車
両が入出する場合でも、第3図に点線で示した各駐車領
域に対応する検知領域を車両の入出方向(この図では左
右方向)へ長くとることによって手前側の車両の陰とな
る以前に車両の駐車領域への入出を判定できるため、こ
の駐車領域の駐車,空車が推定できる。
Furthermore, even when a vehicle enters or exits a parking area that is shaded by a high vehicle or the like, the detection area corresponding to each parking area indicated by a dotted line in FIG. By taking longer, it is possible to determine whether the vehicle enters or exits the parking area before it becomes behind the vehicle on the near side, so that it is possible to estimate whether the parking area is vacant or empty.

このような処理によって各駐車領域における車両の存
否を知ることができ、駐車中の駐車領域の数を加算する
ことによって当該時刻における駐車中の車両台数を、ま
た、始めに入力した最大駐車可能台数から駐車中の車両
台数を減算することによって更に駐車が可能な台数を検
出・表示することができる。
By such processing, it is possible to know the presence or absence of vehicles in each parking area, and by adding the number of parked parking areas, the number of parked vehicles at that time, and the maximum number of parkable cars initially input By subtracting the number of parked vehicles from, the number of vehicles that can be parked can be detected and displayed.

第4図は本発明の車両検知方法を適用した上述の駐車
場管理に使用される処理システムの実施例を示すもので
ある。
FIG. 4 shows an embodiment of a processing system used for the above-mentioned parking lot management to which the vehicle detection method of the present invention is applied.

ITVカメラなどのテレビカメラ1によって撮影された
ビデオ信号に対してローパスフィルタ2により雑音成分
の除去を行う。このローパスフィルタの機能は、一般に
撮像系に含まれる増幅器等から発生する雑音は高い周波
数成分から低い周波数成分までほぼ均一に存在するの
で、この高い周波数成分を除去することでランダム雑音
成分の減少を図るものであり、このとき、A/D変換器で
の折り返し雑音の発生を防止するため、サンプリング定
理を満足するような範囲で高域周波数成分の除去を行
う。
A low-pass filter 2 removes noise components from a video signal captured by a television camera 1 such as an ITV camera. The function of this low-pass filter is that noise generated by an amplifier or the like included in an imaging system generally exists almost uniformly from high frequency components to low frequency components.Therefore, by removing these high frequency components, random noise components can be reduced. At this time, in order to prevent generation of aliasing noise in the A / D converter, high-frequency components are removed within a range that satisfies the sampling theorem.

この雑音除去後の出力をA/D変換器3によって階調を
有するディジタル濃度データに変換し、続く輪郭強調お
よび階調変換処理部4においてはこの濃度データに対し
て例えば4ないし8近傍ラプラシアンフィルタを用いて
輪郭強調処理などによる輪郭成分の強調を行い、この結
果得られる輪郭線を微分演算により抽出してこの輪郭線
内部を一定の濃度値で塗りつぶしたりあるいはオフセッ
ト値を与えることによって、背景との濃度差が小さい車
両においても車両と背景の明暗の差を大きくして車両の
識別が容易となるように考慮した階調変換を行う。
The output from which the noise has been removed is converted into digital density data having a gradation by an A / D converter 3, and a subsequent edge enhancement and gradation conversion processing section 4 applies a 4 to 8 neighborhood Laplacian filter to this density data. The contour component is emphasized by contour emphasis processing using, and the resulting contour is extracted by differential operation, and the inside of the contour is filled with a constant density value or given an offset value, so that the background and the Even in a vehicle having a small density difference, gradation conversion is performed so as to make the difference between the lightness and darkness of the vehicle and the background large so that the vehicle can be easily identified.

なお、上記の輪郭強調および階調変換処理は、輪郭強
調および階調変換処理部4を別個に設けるのに代えてマ
イクロプロセッサ11の処理によって代替することができ
る。
Note that the above-described contour enhancement and gradation conversion processing can be replaced by processing of the microprocessor 11 instead of providing the contour enhancement and gradation conversion processing unit 4 separately.

以上のような前処理を行った後の階調を有するディジ
タル濃度データに対して、以下に示すような順序で処理
が行われる。
The digital density data having the gradation after the pre-processing as described above is processed in the following order.

(1) 初期状態では、画像メモリ6,7のいずれにも画
像データが存在しないため、メモリコントロール部5は
画像メモリ6に対して画像メモリ選択信号dを出力し、
上記の前処理が済んだ出力データaを画像メモリ入力バ
スbを通じて画像メモリ6に書込む。
(1) In the initial state, since no image data exists in any of the image memories 6 and 7, the memory control unit 5 outputs an image memory selection signal d to the image memory 6,
The output data a having been subjected to the above preprocessing is written into the image memory 6 through the image memory input bus b.

(2) この書込後、メモリコントロール部5は直ちに
タイマ開始信号fを出力し、初期状態において数10ミリ
秒から数秒程度に設定されて、差分をとるべき時間間隔
tを定めるためのサンプリングタイマ8を起動する。
(2) After the writing, the memory control unit 5 immediately outputs the timer start signal f, and is set to about several tens of milliseconds to several seconds in the initial state, and a sampling timer for determining a time interval t for obtaining a difference. 8 is started.

(3) この時間間隔tの経過後、サンプリングタイマ
8はタイマアップ信号eをメモリコントロール部5へ出
力する。
(3) After the elapse of the time interval t, the sampling timer 8 outputs a timer up signal e to the memory control unit 5.

(4) メモリコントロール部5はこのタイマアップ信
号eを受信すると同時に画像メモリ選択信号cを画像メ
モリ7に出力し、一定時間間隔t経過後の出力データa
を画像メモリ入力バスbを通じ画像メモリ7へ書込む。
(4) The memory control unit 5 outputs the image memory selection signal c to the image memory 7 at the same time as receiving the timer up signal e, and outputs the output data a after a certain time interval t has elapsed.
Is written into the image memory 7 through the image memory input bus b.

(5) この画像メモリ7への書込終了後、メモリコン
トロール部5は差分処理部9に対して差分処理信号iを
出力し、この信号を受信した差分処理部9は画像メモリ
出力バスg,hから画像メモリ6,7の内容を入力して差分処
理を行い、その処理結果を出力バスjを通じて出力メモ
リ10へ出力する。
(5) After the writing to the image memory 7 is completed, the memory control unit 5 outputs a difference processing signal i to the difference processing unit 9, and the difference processing unit 9 that has received this signal outputs the image memory output bus g, The contents of the image memories 6 and 7 are input from h, and the difference processing is performed, and the processing result is output to the output memory 10 through the output bus j.

そして、この画像メモリ6,7の内容についての差分処
理が終了した後に差分処理終了信号1をマイクロプロセ
ッサ11ヘ出力する。
Then, after the difference processing for the contents of the image memories 6 and 7 is completed, a difference processing end signal 1 is output to the microprocessor 11.

(6) マイクロプロセッサ11はこの差分処理終了信号
1が入力されると、第5図のフローチャートに示し後に
詳細に説明する処理を行い、これら処理の終了後の処理
終了信号mを出力する。
(6) When the difference processing end signal 1 is input, the microprocessor 11 performs the processing shown in the flowchart of FIG. 5 and described in detail later, and outputs the processing end signal m after the end of these processings.

(7) 処理終了信号mは受信したメモリコントロール
部5は画像メモリ7の内容を画像メモリバスbを介して
画像メモリ6へ転送して書込み、さらにタイマ開始信号
fをサンプリングタイマ8に送出してこのタイマを起動
する。
(7) Upon receiving the processing end signal m, the memory control unit 5 transfers and writes the contents of the image memory 7 to the image memory 6 via the image memory bus b, and sends a timer start signal f to the sampling timer 8. Start this timer.

(8) (3)以降の処理を繰り返す。(8) (3) The subsequent processing is repeated.

第5図は上記(6)で述べたように、差分処理終了信
号1が入力されてからのマイクロプロセッサ11の処理を
示すフローチャートであり、その処理手順の詳細は以下
のとおりである。
FIG. 5 is a flowchart showing the processing of the microprocessor 11 after the difference processing end signal 1 is input, as described in (6) above, and the details of the processing procedure are as follows.

ステップ〔1〕は駐車場のそれぞれの車両駐車領域、
すなわち第3図の例えばS11,S12,……S1n,S21,S22……S
2nにそれぞれ相当する検知領域を処理した回数を“0"に
クリアして初期化するステップであり、この検知領域を
先に第3図に点線で示したように車両駐車領域S11,S12,
…S1n,S21,S22,……S2nよりも例えば左右方向に大きく
設定しつおくことによって、他の車両などの陰の部分と
なる駐車領域での車両の駐車,空車を推定できることは
先に述べたとおりである。
Step [1] is the respective vehicle parking area of the parking lot,
That is, for example, S 11 , S 12 ,... S 1n , S 21 , S 22.
This is a step of clearing and initializing the number of times the detection areas corresponding to 2n have been processed to “0”, respectively, and as shown by the dotted lines in FIG. 3, the vehicle parking areas S 11 , S 12 ,
.. S 1n , S 21 , S 22 ,... By setting a value larger in the left-right direction than that of S 2n , for example, it is possible to estimate the parking and empty of a vehicle in a parking area that is a shadow area of another vehicle. Is as described above.

次のステップ[2]は検知領域処理回数が車両駐車領
域の数、すなわち第3図では車両駐車領域S11,S12,……
S1n,S21,S22……S2nの合計数より大きいか否かを判断す
るものであり、この処理回数が車両駐車領域の数より大
きければ1回の処理が終了したことになるから後述する
ステップ[11]以降の処理に移るが、車両駐車領域の数
以下であれば次の車両駐車領域に対応する検知領域の処
理を行なうためにステップ[3]の処理を行なう。
In the next step [2], the number of detection area processes is the number of vehicle parking areas, that is, in FIG. 3, the vehicle parking areas S 11 , S 12 ,.
S 1n , S 21 , S 22 ... It is determined whether or not the total number is larger than the total number of S 2n. If the number of times of processing is larger than the number of vehicle parking areas, one processing is completed. The process proceeds to step [11] and subsequent steps. If the number is equal to or less than the number of vehicle parking areas, the processing of step [3] is performed to perform processing of a detection area corresponding to the next vehicle parking area.

このステップ[3]の極性判定処理においては当該検
知領域内における正負および負正の極性反転成分の存否
をこの領域内をラスタスキャンすることにより検出する
が、このラスタスキャンを容易とするためにはこの検知
領域の範囲を長方形にすることが望ましい。
In the polarity determination process in step [3], the presence or absence of the positive / negative and negative / positive polarity reversal components in the detection area is detected by raster-scanning this area. To facilitate this raster scan, It is desirable that the range of the detection area be rectangular.

このとき、この検知領域内で極性反転が検出された走
査線の数を計数し、この計数値が例えば10に設定された
閾値を超えることによって車両か否かを判定し、もし車
両による極性反転と判定された場合には極性反転を示す
フラグメモリに有りを示すフラグ“1"を、そうでない場
合は無しを示すフラグ“0"をセットする。
At this time, the number of scanning lines in which the polarity inversion is detected in this detection area is counted, and it is determined whether or not the vehicle is a vehicle by the counted value exceeding a threshold value set to, for example, 10. If it is determined that the flag is "1", the flag memory indicating the polarity inversion is set to "1" indicating the presence, otherwise the flag "0" indicating the absence is set.

次のステップ[4]においては上記のフラグをチェッ
クし、フラグが極性反転有りを示す“1"であれば車両が
移動中と判定し、ステップ[5]で当該車両の移動方向
を記憶する。すなわち、第3図図示のS11の検知領域を
例にとれば、濃度値の極性変化が負から正に変化した時
は車両が進入方向に移動しているとして“+1"を、逆に
正から負に変化した時は退出方向に移動しているとして
“−1"を移動方向フラグとして記憶する。
In the next step [4], the flag is checked. If the flag is "1" indicating that the polarity is reversed, it is determined that the vehicle is moving, and the moving direction of the vehicle is stored in step [5]. That is, taking the detection region of the S 11 of FIG. 3 shown as an example, a "+1" as when the polarity change of the density value changes from negative to positive is moving vehicle in approach direction, positive conversely When it changes from "-" to "negative", it is determined that it is moving in the exit direction, and "-1" is stored as the moving direction flag.

この記憶が終了すれば1つの検知領域、例えばS11
処理が完了したことになるから、ステップ[10]で検知
領域処理回数を+1してから前記ステップ[2]に戻っ
て次の検知領域、例えばS12についての処理を行なう。
One sensing region if this storage is finished, for example, from so that the processing of S 11 is completed, the next detection area back the detection area processing number in step [10] after +1 to step [2] , for example, performs processing for S 12.

上記ステップ[4]においてフラグが極性反転無しを
示す“0"である場合には、ステップ[6]で前回の処理
の際にステップ[5]で記憶しておいた移動方向フラグ
の状態をチェックし、そのフラグが車両移動中であるこ
とを示す。“±1"であった場合には、前のフラグのセッ
トが車両の進入によるものでその後駐車したか、あるい
は前のフラグのセットが車両の退出によるものでその後
空車となったのかをこの前のフラグをセットしたときの
車両の移動方向によって判定することができる。
If the flag is “0” indicating no polarity reversal in step [4], the state of the movement direction flag stored in step [5] during the previous process is checked in step [6]. The flag indicates that the vehicle is moving. If it was “± 1”, it was determined whether the previous flag set was due to the entry of the vehicle and then parked, or whether the previous flag set was due to the exit of the vehicle and became empty thereafter. Can be determined based on the moving direction of the vehicle when the flag is set.

また、前回の処理の際の移動方向フラグも“0"であっ
た場合には状態に変化がなかったことになるので、前記
ステップ[10]に移って処理した検知領域数として“1"
を加算してからステップ[2]に戻る。
If the moving direction flag at the time of the previous processing is also “0”, it means that there is no change in the state, so that the processing proceeds to the step [10] and the number of detection areas processed is “1”.
And returns to step [2].

次のステップ[7]では上記移動方向フラグの“+”
あるいは“−”の符号によって前のフラグセット時の車
両の移動方向をチェックし、その移動方向が進入方向で
あった場合にその車両が駐車したと判定してステップ
[8]で駐車車両メモリに“1"をセットし、逆に退出方
向へ移動していた場合には車両を退出したと判定してス
テップ[9]で駐車車両メモリを“0"にリセットし、い
ずれの場合でも前記ステップ[10]に移って検知領域処
理回数に“+1"してからステップ[2]に戻る。
In the next step [7], the movement direction flag is set to “+”.
Alternatively, the moving direction of the vehicle at the time of the previous flag setting is checked by the sign of "-", and if the moving direction is the approach direction, it is determined that the vehicle is parked, and the parked vehicle memory is stored in step [8]. If "1" is set, and if the vehicle is moving in the exit direction, it is determined that the vehicle has exited, and the parked vehicle memory is reset to "0" in step [9]. 10], the number of times of detection area processing is set to “+1”, and the process returns to step [2].

このステップ[2]で検知領域処理回数が検知領域
数、すなわち車両駐車領域S11,S12,……S1n,S21,S22
…S2nの総数より大きくなったことが判定された場合に
は、ステップ[3]以下の各々の検知領域に対する処理
を終了し、次のステップ[11]以下の総合管理的な処理
へ移行する。
In this step [2], the number of times of detection area processing is the number of detection areas, that is, the vehicle parking areas S 11 , S 12 ,... S 1n , S 21 , S 22 .
When it is determined that the total number has become larger than the total number of S 2n, the processing for each detection area after step [3] is completed, and the process proceeds to the comprehensive management processing following step [11]. .

このステップ[11]では前記ステップ[8]で“1"に
セットされた駐車車両メモリの数、あるいはすべての駐
車車両メモリに格納されている数を加算して駐車中の車
両総数を算出する。
In step [11], the number of parked vehicles is calculated by adding the number of parked vehicle memories set to "1" in step [8] or the number stored in all parked vehicle memories.

さらに、ステップ[12]ではこの総駐車車両台数を当
該駐車場の最大駐車台数で除算することにより、この駐
車場における車両の占有率を算出し、その終了後、ステ
ップ[13]で第4図のメモリコントロール部5へ演算処
理終了信号mを出力する。
Further, in step [12], the total number of parked vehicles is divided by the maximum number of parked parking lots to calculate the occupancy of the vehicles in this parking lot. After that, in step [13], FIG. Output the computation processing end signal m to the memory control unit 5 of FIG.

この第3図ないし第5図に図示・説明した駐車場管理
システムによれば、車両の入出に際して車両駐車領域ご
とに車両の存否が更新されるので、駐車場全体としての
出入りを計数して駐車台数を把握する従来の方法に比し
て台数誤差が累積するのを防止することができ、また、
車高の高い車の影となる部分の駐車・空車についても判
定が可能となる利点がある。
According to the parking lot management system shown and described in FIGS. 3 to 5, the presence or absence of a vehicle is updated for each vehicle parking area when the vehicle enters and exits. It is possible to prevent the number error from accumulating as compared with the conventional method of grasping the number,
There is an advantage that it is possible to determine whether a parked or empty vehicle is shadowed by a high vehicle.

第6図ないし第7図は、本発明による車両検知方法を
適用した道路の交差点部における交通管理システムの実
施例を示すものであり、第6図(a)にA1〜A8として示
した駐車車両等により交通流を妨害するような領域中の
A1の領域での違法駐車の監視を行うもので、前記の交通
管理システムにおけると同様の方法を用いて車両の移動
とその移動方向を画像の濃度値の正負、負正の変化によ
りとらえ、さらにその変化を追跡することによってこの
交通流妨害領域に停止した車両が違法駐車であるかある
いは交通信号機の停車表示などによる適法は車両停車で
あるかの判定をその停車時間によって行うようにしたも
のである。
Figure 6 through Figure 7 are those showing an embodiment of a traffic management system at intersections of roads to which the vehicle detection method according to the invention, shown as A 1 to A 8 in FIG. 6 (a) In areas where traffic flow is obstructed by parked vehicles, etc.
A1 is to monitor illegal parking in the area of 1 , captures the movement of the vehicle and its movement direction by the positive and negative changes in the image density value, negative and positive, using the same method as in the traffic management system, Further, by tracking the change, it is determined whether the vehicle stopped in this traffic flow obstruction area is illegal parking or the stoppage of the traffic signal is legal based on the stop time. It is.

第6図(b)は、交通流を妨害するような領域(以
下、妨害領域、という)例えばA1を監視し得る位置に設
けた同図(a)のテレビカメラCによって撮影された画
像をモニタした画面を示すもので、破線で囲った部分が
上記妨害領域A1に相当する。また、同図(c)は前記の
交通管理システムにおけると同様の処理によって数10ミ
リ秒から数秒程度毎の一定時間間隔tで差分処理を行っ
た差分像を示すものである。
Figure 6 (b), the region, such as to interfere with the traffic flow the images taken by the television camera C in FIG provided (hereinafter, the interference region, hereinafter) for example, the position that can monitor the A 1 (a) indicates the monitored screen, the portion surrounded by a broken line corresponding to the interference area a 1. FIG. 9C shows a difference image obtained by performing a difference process at a constant time interval t every several tens of milliseconds to several seconds by the same processing as that in the traffic management system.

第7図はこの交通管理システムの例を示すもので、第
4図に図示説明した駐車場管理システムにおけるマイク
ロプロセッサ11の機能を追加・修正するとともに、交通
信号などによる適法な停車と違法な駐車とを区別するた
めの時間的閾値を設定する駐停車タイマ15、外部インタ
ーフェイス12、および中央局の交通管理システム14に管
制情報を伝送するための伝送装置13を付加したものであ
り、その他の構成要素の構成・作用については第4図の
システムと同様であるから詳細な説明は省略する。
FIG. 7 shows an example of this traffic management system. In addition to adding and modifying the function of the microprocessor 11 in the parking lot management system shown and described in FIG. A transmission / reception device 13 for transmitting control information to a parking / stopping timer 15, an external interface 12, and a traffic management system 14 of a central office, which are added to the configuration, The configuration and operation of the elements are the same as those of the system shown in FIG. 4, so that detailed description will be omitted.

第8図は第4図の駐車場管理システムについて先に説
明したような差分処理終了信号1が入力された以後のマ
イクロプロセッサ11の処理のフローチャートを示すもの
で、その処理手順について以下に説明する。
FIG. 8 shows a flowchart of the processing of the microprocessor 11 after the difference processing end signal 1 as described above is inputted in the parking lot management system of FIG. 4, and the processing procedure will be described below. .

ステップ[21]の極性判定処理においては、当該妨害
領域内における正負および負正の極性反転成分の存否を
この領域内をラスタスキャンすることにより検出する。
このとき、妨害領域内の車両を正確に検知するためにこ
の検知領域を妨害領域より広くすること、ラスタスキャ
ンを容易とするためにこの妨害領域の範囲を長方形にす
ること、および、この妨害領域内で極性反転が検出され
た走査線の数を計数してこの計数値が例えば10に設定さ
れた閾値を超えることによって車両か否かを判定するこ
と、などについて配慮するのが望ましいことは第5図の
フローチャートについて前述したとおりである。
In the polarity determination processing in step [21], the presence or absence of positive / negative and negative / positive polarity reversal components in the disturbance area is detected by raster-scanning this area.
At this time, in order to accurately detect the vehicle in the obstruction area, the detection area is made wider than the obstruction area, and the range of the obstruction area is made rectangular to facilitate raster scanning. It is desirable to consider the number of scanning lines in which polarity reversal is detected within and determine whether or not the vehicle is a vehicle based on a count value exceeding a threshold value set to, for example, 10. The flowchart of FIG. 5 is as described above.

その結果車両による極性反転と判定された場合には極
性反転を示すフラグメモリに有りを示すフラグ“1"を、
そうでない場合を無しを示すフラグ“0"をセットする。
As a result, when it is determined that the polarity is reversed by the vehicle, a flag “1” indicating presence is stored in the flag memory indicating the polarity reversal,
Otherwise, a flag "0" indicating no case is set.

次のステップ[22]においては上記の極性反転フラグ
をチェックし、このフラグを極性反転有りを示す“1"で
あれば車両が移動中と判定し、ステップ[23]で当該車
両の移動方向を記憶する。すなわち、濃度値の極性変化
によってこの妨害領域に車両が進入したことが検知され
たときには“+1"を、逆に妨害領域内から外に移動した
ことが検知されたときには“−1"を移動方向フラグとし
て記憶する。
In the next step [22], the polarity reversal flag is checked. If the flag is "1" indicating that the polarity is reversed, it is determined that the vehicle is moving, and in step [23], the moving direction of the vehicle is changed. Remember. In other words, when it is detected that the vehicle has entered the obstruction area due to the change in the polarity of the density value, “+1” is set. When it is detected that the vehicle has moved out of the obstruction area, “−1” is set. Store as a flag.

この記憶が終了したとき、ステップ[24]では第7図
の駐停車タイマ15にリセット信号nを送出してこのタイ
マの計時値を“0"とし、その終了後にステップ[25]で
1回の処理が終了したことを示す処理終了信号mをメモ
リコントロール部5に出力する。
When this storage is completed, in step [24], a reset signal n is sent to the parking / stopping timer 15 in FIG. 7 to set the time value of this timer to "0". A process end signal m indicating that the process has been completed is output to the memory control unit 5.

このメモリコントロール部5はこの処理終了信号を受
けると次の画像の組について差分処理を行い、この処理
が終了すると差分処理終了信号1が差分処理部9からこ
のマイクロプロセッサ11に送られてくる。
Upon receiving this processing end signal, the memory control unit 5 performs difference processing on the next set of images. When this processing ends, a difference processing end signal 1 is sent from the difference processing unit 9 to the microprocessor 11.

上記ステップ[22]で極性反転フラグをチェックした
ときにこのフラグが極性反転無しを示す“0"である場合
にはステップ[26]に移り、前回の処理の際にステップ
[23]で記憶しておいた移動方向フラグの状態をチェッ
クする。この移動方向フラグが車両移動中であることを
示す“±1"であった場合には、ステップ[26]でこの前
のフラグのセットが車両の進入によるものでその後駐車
したものであるかをフラグによってチェックし、そうで
なければ、前のフラグのセットが車両の退出によるもの
でその後空車となったのかをステップ[27]で同様にチ
ェックする。
When the polarity reversal flag is checked in step [22], if the flag is "0" indicating no polarity reversal, the process proceeds to step [26], and is stored in step [23] in the previous process. Check the status of the set moving direction flag. If the moving direction flag is “± 1” indicating that the vehicle is moving, it is determined in step [26] whether the previous flag set was due to the approach of the vehicle and was subsequently parked. A check is made by the flag, and if not, it is similarly checked in step [27] whether the previous flag was set due to the exit of the vehicle and became empty.

ステップ[26]でこの前のフラグをセットしたときの
車両の移動方向が進入方向であったことが判定される
と、ステップ[28]で駐停車タイマ15が既に起動されて
いるか否かをチェックして起動されていなければステッ
プ[29]で駐停車タイマ起動信号nをこの駐停車タイマ
15に送出してこのタイマを起動する。
If it is determined in step [26] that the moving direction of the vehicle when the previous flag was set was the approach direction, it is checked in step [28] whether the parking / stop timer 15 has already been started. If it has not been started, in step [29] the parking / stop timer start signal n is
Send to 15 to start this timer.

ステップ[28]でこのタイマ15が既に起動されている
と判断されたときには、ステップ[30]でこのタイマ15
のタイマアップ信号oを取込み、ステップ[31]でチェ
ックした結果、タイマアップしていなければこの妨害領
域に停車している時間が違法駐車とするに足りないもの
としてステップ[25]に移って前述のように処理終了信
号をメモリコントロール部5に送出するが、タイムアッ
プ信号oが存在している場合にはステップ[32]で違法
駐車と判定してステップ[33]で車両違法駐車信号qを
第7図の外部インターフェイス部12へ送出する。
If it is determined in step [28] that this timer 15 has already been started, then in step [30] this timer 15
As a result of checking the timer up signal o of step [31], if the timer is not up, it is determined that the time during which the vehicle is stopped in the obstruction area is not sufficient for illegal parking, and the process proceeds to step [25]. Is sent to the memory control unit 5 as shown in the above. If the time-up signal o is present, it is determined that the vehicle is illegally parked in step [32], and the vehicle illegal parking signal q is generated in step [33]. It is sent to the external interface unit 12 in FIG.

前記ステップ[26],[27]で前の処理時に退出中で
あったことが判断された場合には、ステップ[34]で車
両が停車後にこの妨害領域から退出したものと判定し、
ステップ[35]で駐停車タイマリセット信号pを出力す
るとともに車両違法駐車信号qが送出されていればこれ
をリセットして、前記ステップ[25]で処理終了信号m
をメモリコントロール部5に送出して初期状態に戻る。
If it is determined in steps [26] and [27] that the vehicle was exiting during the previous process, it is determined in step [34] that the vehicle has exited from the obstruction area after stopping.
In step [35], the parking / stop timer reset signal p is output, and if the vehicle illegal parking signal q has been transmitted, this is reset, and in step [25], the processing end signal m
To the memory control unit 5 to return to the initial state.

また、前記ステップ[26],[27]で前の処理時に進
入中でも退出中でもなかったと判断された場合には、こ
の妨害領域に車両が存在していないかあるいは駐車状態
に変化がなしとして処理を終了し、前記ステップ[25]
から初期状態に戻る。
If it is determined in steps [26] and [27] that the vehicle has not entered or exited during the previous processing, the processing is performed on the assumption that no vehicle exists in this obstruction area or that the parking state has not changed. Finished and said step [25]
To return to the initial state.

この実施例においては、交差点の入出部における妨害
領域の駐車車両を監視することによって交通流の円滑な
走行管理を行うことができるばかりでなく、外部インタ
ーフェース部12からの上記システムによって得られた妨
害領域での駐車情報、さらにはこの駐車情報に加えてテ
レビカメラ1からのその時点での画像情報を伝送装置13
を介して中央局14へ送信することが可能となり、中央局
の交通管理システムと組み合わせることによって違法駐
車の自動遠方管理へも応用できるなど実用上の価値は大
きなものである。
In this embodiment, it is possible to not only perform a smooth running control of the traffic flow by monitoring the parked vehicles in the obstruction area at the entrance and exit of the intersection, but also to obtain the obstruction obtained by the above system from the external interface unit 12. The parking information in the area, and in addition to this parking information, the image information at that time from the television camera 1 is transmitted to the transmission device 13.
It can be transmitted to the central office 14 via the central office, and can be applied to automatic remote management of illegal parking by being combined with the traffic management system of the central office.

第9図ないし第11図は本発明による車両検知方法を適
用した道路上における交通管理システムの例を示すもの
で、第9図(a)にはこのシステムによって車両渋滞管
理を行う車両監視領域Aと、この車両監視領域を監視す
る位置に設けたテレビカメラCとが示してある。
FIGS. 9 to 11 show an example of a traffic management system on a road to which the vehicle detection method according to the present invention is applied. FIG. 9 (a) shows a vehicle monitoring area A in which vehicle congestion management is performed by this system. And a television camera C provided at a position for monitoring the vehicle monitoring area.

第9図(b)はこの監視領域Aを数10ミリ秒から数秒
程度の一定時間間隔で撮影して差分処理を行って背景の
成分が消えて移動車両のみが抽出されている差分像を示
してあり、同図(c)には同図(b)の走査線L上にお
ける濃度値分布を示してある。
FIG. 9 (b) shows a difference image in which the monitoring area A is photographed at a fixed time interval of about several tens of milliseconds to several seconds, a difference process is performed, a background component disappears, and only a moving vehicle is extracted. FIG. 3C shows the density value distribution on the scanning line L in FIG.

この第9図(c)においてはそれぞれの車両による極
性反転変化成分の幅はほぼ等しくx1≒x2,x3≒x4,x5≒x6
であり、さらに、各々の車両の移動速度v1,v2,v3と極性
反転変化成分の幅との関係は次式で示すことができる。
In FIG. 9 (c), the widths of the polarity inversion change components of the respective vehicles are substantially equal, and x 1 ≒ x 2 , x 3 ≒ x 4 , x 5 ≒ x 6
Further, the relationship between the moving speeds v 1 , v 2 , v 3 of each vehicle and the width of the polarity inversion change component can be expressed by the following equation.

v1=x1/t≒x2/t v2=x3/t≒x4/t v3=x5/t≒x6/t ここで、tは前述したように、あらかじめ定められた
数10ミリ秒から数秒程度の差分をとるための時間間隔で
既知であり、x1,x2,x3,x4,x5,x6のそれぞれの差分の幅
は差分像中の濃度値0の変化座標点を検出することで知
ることができるため、各々の移動車両の速度を検出する
ことができる。なお、このときカメラの設置位置、角度
等による差分の幅xの補正が必要であることはいうまで
もない。
v 1 = x 1 / t ≒ x 2 / tv 2 = x 3 / t ≒ x 4 / tv 3 = x 5 / t ≒ x 6 / t where t is a predetermined number 10 as described above. known in the time interval for obtaining a difference of a few seconds milliseconds, of x 1, x 2, x 3 , x 4, x 5, each of the difference between the width concentration values in the difference image x 6 0 Since it can be known by detecting the changing coordinate point, the speed of each moving vehicle can be detected. At this time, it is needless to say that it is necessary to correct the difference width x depending on the installation position, the angle, and the like of the camera.

この監視領域内の移動車両の速度を法定速度と比較
し、著しく小さいか又は移動が無い状態が例えば10分以
上のような一定時間継続したときには車両が渋滞してい
るものとして判定することができる。また、渋滞時にお
いては通常の車両走行に比べて車間距離が短い状態が持
続されるから、第9図(c)に示す同一極性の差分の間
隔D1,D2があらかじめ設定された通常の車両走行時の車
間距離の場合の差分の間隔に比べて著しく短い状態を検
知することによって渋滞判定の精度を向上させることが
できる。
The speed of the moving vehicle in the monitoring area is compared with the legal speed, and if the speed is extremely low or if there is no movement for a certain period of time such as 10 minutes or more, it can be determined that the vehicle is congested. . Further, during traffic congestion, the state in which the inter-vehicle distance is shorter than that of normal vehicle running is maintained, and therefore, the normal distances D 1 and D 2 of the same polarity difference shown in FIG. By detecting a state that is significantly shorter than the interval of the difference in the case of the inter-vehicle distance when the vehicle is traveling, the accuracy of congestion determination can be improved.

第10図は本発明による車両検知方式を適用した交通監
視システムの例を示すもので、第4図に図示説明した駐
車場管理システムにおけるマイクロプロセッサ11の機能
を追加・変更するとともに、外部インターフェイス12、
および中央局の交通管理システム14に管制情報を伝送す
るための伝送装置13を付加したものであり、その他の構
成要素の構成・作用については第4図のシステムと同様
であるから詳細な説明は省略する。
FIG. 10 shows an example of a traffic monitoring system to which the vehicle detection system according to the present invention is applied. The function of the microprocessor 11 in the parking lot management system shown and described in FIG. ,
And a transmission device 13 for transmitting traffic control information to the traffic management system 14 of the central office. The configuration and operation of other components are the same as those of the system of FIG. Omitted.

第11図は差分処理終了信号1が差分処理部9から入力
された後のマイクロプロセッサ11の処理を示すフローチ
ャートであり、その処理手順について以下に説明する。
FIG. 11 is a flowchart showing the processing of the microprocessor 11 after the difference processing end signal 1 is input from the difference processing section 9, and the processing procedure will be described below.

ステップ[41]の極性判定処理においては、当該監視
領域内における正→負および負→正の極性反転成分の存
否をこの領域内をラスタスキャンすることにより検出す
るものであり、妨害領域内の車両を正確に検知するため
にこの検知領域を妨害領域より広くすること、ラスタス
キャンを容易とするためにこの妨害領域の範囲を長方形
にすること、および、この妨害領域内で極性反転が検出
された走査線の数を計数してこの計数値が例えば10に設
定された閾値を超えることによって車両か否かを判定す
ること、などについて配慮するのが望ましいことは第5
図のフローチャートについて前述したとおりである。
In the polarity determination processing in step [41], the presence or absence of the positive-to-negative and negative-to-positive polarity inversion components in the monitoring area is detected by raster-scanning this area, and the vehicle in the obstruction area is detected. The detection area must be wider than the interference area to accurately detect the area, the area of the interference area must be rectangular to facilitate raster scanning, and polarity reversal has been detected in the interference area. It is desirable to take into account the fact that the number of scan lines is counted and that the count value exceeds a threshold value set to, for example, 10 to determine whether or not the vehicle is a vehicle.
This is as described above with reference to the flowchart of FIG.

上記処理の結果、車両による極性反転と判定された場
合には極性反転を示すフラグメモリに有りを示すフラグ
“1"を、そうでない場合は無しを示すフラグ“0"をセッ
トする。
As a result of the above processing, when it is determined that the polarity is inverted by the vehicle, a flag “1” indicating presence is set in a flag memory indicating polarity inversion, and otherwise a flag “0” indicating absence is set.

次のステップ[42]においては上記の極性反転フラグ
をチェックし、このフラグが極性反転なしを示す“0"で
あれば直接ステップ[51]に移って処理終了信号mをメ
モリコントロール部5に送出して次の差分処理を行なわ
せるが、このフラグが極性反転有りを示す“1"であれば
監視領域内で車両が移動中と判定し、次のステップ[4
3]の移動方向監視処理で車両が交通流を移動すべき方
向と同一方向に移動しているかどうかを極性反転成分が
ラスタスキャン方向から見て正から負、あるいはその逆
に負から正に変化することで監視する。なお、第9図
(a)の例ではラスタスキャン方向が左から右の場合、
正から負へ移動したとき交通流の方向と一致することに
なる。
In the next step [42], the polarity reversal flag is checked. If the flag is "0" indicating no polarity reversal, the flow directly proceeds to step [51] to send the processing end signal m to the memory control unit 5. When the flag is “1” indicating that the polarity is reversed, it is determined that the vehicle is moving within the monitoring area, and the next step [4] is performed.
In the moving direction monitoring process in 3], it is determined whether the vehicle is moving in the same direction as the direction in which the traffic flow should move. The polarity reversal component changes from positive to negative as viewed from the raster scan direction, or vice versa. Monitor by doing. In the example of FIG. 9A, when the raster scan direction is from left to right,
When moving from positive to negative, it will match the direction of traffic flow.

ステップ[44]では上記の処理結果で交通流の方向と
車両の検知方法が一致するか否かを判断し、これらの方
向が一致している場合には次の車両位置検出処理ステッ
プ[45]において移動車両の座標位置および車間距離を
検出する。この車両位置および車間距離は、第9図
(c)の濃度値に対する正および負の変化点として示さ
れる車両位置x1,x2,……x6と車間距離D1,D2から求める
ことができる。
In step [44], it is determined whether or not the traffic flow direction and the vehicle detection method match based on the above processing result. If these directions match, the next vehicle position detection processing step [45] Detects the coordinate position and the inter-vehicle distance of the moving vehicle. The vehicle position and the inter-vehicle distance are obtained from the vehicle positions x 1 , x 2 ,... X 6 shown as positive and negative change points with respect to the density value in FIG. 9 (c) and the inter-vehicle distances D 1 and D 2. Can be.

次の車両速度演算処理ステップ[46]では、上記の車
両位置x1,x2,……x6とサンプリング時間間隔tを前記の
式に代入した演算を行って車両の速度v1,v2,v3を算出
し、ステップ[47]ではこれによって得られた車両速度
vを法令で定められている速度と比較・判断し、さらに
次のステップ[48]では車間距離D1,D2が通常走行時の
車間距離が基づいて予め定めた車間距離より小さいか否
かを比較・判断する。
In the next vehicle speed calculation processing step [46], the above vehicle position x 1, x 2, ...... x 6 and the vehicle speed v 1 of the sampling time interval t by performing an arithmetic operation of substituting the expression of the, v 2 , v 3 , and in step [47], the obtained vehicle speed v is compared and determined with the speed prescribed by law. In the next step [48], the inter-vehicle distances D 1 , D 2 are calculated. It is compared and determined whether or not the inter-vehicle distance during normal traveling is smaller than a predetermined inter-vehicle distance.

このステップ[47]の処理結果から車両の移動速度が
法定速度に比して著しく遅く、かつステップ[48]の処
理結果から車間距離D1,D2が通常走行時の車間距離より
短い場合にはステップ[49]で「車両渋滞」と判定し
て、ステップ[50]で第10図にnで示した渋滞信号を外
部インターフェース12へ出力し、また車両の移動速度が
法令速度に比して特に遅くはないか、あるいは車間距離
D1,D2が通常走行時の車間距離より短くない場合にはス
テップ[52]で「車両渋滞」の状態を解除するとともに
ステップ[53]で上記渋滞信号nをリセットする。
From the processing result of step [47], if the moving speed of the vehicle is significantly lower than the legal speed, and if the inter-vehicle distances D 1 and D 2 are shorter than the inter-vehicle distance during normal traveling, Determines "vehicle congestion" in step [49], outputs a congestion signal indicated by n in FIG. 10 to the external interface 12 in step [50], and determines whether the moving speed of the vehicle is lower than the legal speed. Isn't particularly slow or the distance between cars
If D 1 and D 2 are not shorter than the inter-vehicle distance during normal running, the state of “vehicle congestion” is canceled in step [52], and the congestion signal n is reset in step [53].

そして、上記ステップ[50]あるいは[53]の処理が
終了すると前記のステップ[51]によってメモリコント
ロール部5へ処理終了信号mを送出して次の差分処理を
行なわせる。
When the processing in step [50] or [53] is completed, a processing end signal m is sent to the memory control unit 5 in step [51] to perform the next difference processing.

なお、前記外部インタフェース部12および伝送装置13
を経て道路の渋滞状況ならびにその時点の画像情報を中
央局14へ送信することができ、これによって、本発明を
適用した渋滞監視システムと中央局の交通管理システム
と組み合わせて交通流の遠方監視・制御に使用すること
ができる。
The external interface unit 12 and the transmission device 13
The traffic congestion status of the road and the image information at that time can be transmitted to the central office 14 through this, and in combination with the traffic congestion monitoring system to which the present invention is applied and the traffic management system of the central office, remote monitoring of traffic flow can be performed. Can be used for control.

〔効 果〕(Effect)

本発明の車両検知方法においては、10ミリ秒から数秒
程度というごとく短い時間間隔の差分をとり、この差分
を用いて処理を行っているので、実際上、昼夜・天候の
変化等による輝度変化の影響を受けることがない。
In the vehicle detection method of the present invention, a difference in a time interval as short as about 10 milliseconds to several seconds is obtained, and processing is performed using this difference. Not affected.

したがって、従来技術における最大の問題点であった
輝度変化により生じる閾値・基準値の制御を行なう必要
がなく、安定な処理・判定が可能になるという格別の効
果が達成される。
Therefore, there is no need to control the threshold value and the reference value caused by the luminance change, which is the biggest problem in the prior art, and a special effect that stable processing and determination can be achieved is achieved.

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

第1図は本発明の原理を説明する図、 第2図は本発明を適用した駐車場管理システムを設置す
る駐車場の例を示す図、 第3図はこの駐車場をモニタした画面を示す図、 第4図は本発明を適用した駐車場管理システムの実施例
を示すブロック図、 第5図はそのマイクロプロセッサの処理を示すフローチ
ャート、 第6図は本発明を交通管理に適用した例を示す図、 第7図は本発明を適用した交通管理システムの実施例を
示すブロック図、 第8図はそのマイクロプロセッサの処理を示すフローチ
ャート、 第9図は本発明を交通監視に適用した例を示す図、 第10図は本発明を適用した交通監視システムの実施例を
示すブロック図、 第11図はそのマイクロプロセッサの処理を示すフローチ
ャートである。
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a diagram showing an example of a parking lot in which a parking lot management system to which the present invention is applied is installed, and FIG. 3 is a screen monitoring this parking lot. FIG. 4, FIG. 4 is a block diagram showing an embodiment of a parking lot management system to which the present invention is applied, FIG. 5 is a flowchart showing the processing of the microprocessor, and FIG. 6 is an example in which the present invention is applied to traffic management. FIG. 7 is a block diagram showing an embodiment of a traffic management system to which the present invention is applied. FIG. 8 is a flowchart showing the processing of the microprocessor. FIG. 9 is an example in which the present invention is applied to traffic monitoring. FIG. 10 is a block diagram showing an embodiment of a traffic monitoring system to which the present invention is applied, and FIG. 11 is a flowchart showing processing of the microprocessor.

フロントページの続き (56)参考文献 特開 昭63−40862(JP,A) 特開 昭63−174198(JP,A) 特開 昭62−220884(JP,A) 特開 昭60−69786(JP,A) 実開 昭50−108237(JP,U) 特公 昭43−24875(JP,B1) 特公 昭41−635(JP,B1)Continuation of front page (56) References JP-A-63-40862 (JP, A) JP-A-63-174198 (JP, A) JP-A-62-220884 (JP, A) JP-A-60-69786 (JP) , A) Japanese Utility Model Showa 50-108237 (JP, U) JP-B 43-24875 (JP, B1) JP-B 41-635 (JP, B1)

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】数10ミリ秒ないし数秒程度の一定時間間隔
毎に撮影した画像を階調を有するディジタル濃度データ
に変換するとともに、これら前後2つの画像の同一位置
における濃度データの差分を求め、差分の正負の極性に
よって車両の抽出を行なうことを特徴とする車両検知方
1. An image photographed at regular time intervals of about several tens of milliseconds to several seconds is converted into digital density data having gradations, and a difference between density data at the same position of the two preceding and succeeding images is obtained. Vehicle detection method characterized by extracting a vehicle according to the positive and negative polarities of the difference
【請求項2】前記差分の正負の極性によって車両の移動
方向を判定するようにしたことを特徴とする請求項1記
載の車両検知方法。
2. The vehicle detecting method according to claim 1, wherein the moving direction of the vehicle is determined based on the positive and negative polarities of the difference.
【請求項3】前記撮影した画像中の車両の輪郭部分を強
調するとともに輪郭内部の階調変換を行い、背景との濃
度差を大きくすることにより判定の精度を高めたことを
特徴とする請求項1記載の車両検知方法。
3. The accuracy of determination is enhanced by enhancing a contour portion of the vehicle in the photographed image and performing tone conversion inside the contour to increase a density difference from a background. Item 4. The vehicle detection method according to Item 1.
【請求項4】前記差分の正と負の極性の幅が等しいこと
を判定の条件に加えることによって判定の精度を高めた
ことを特徴とする請求項1,2または3記載の車両検知方
法。
4. The vehicle detecting method according to claim 1, wherein the accuracy of the determination is enhanced by adding to the determination condition that the widths of the positive and negative polarities of the difference are equal.
【請求項5】所定区域を数10ミリ秒ないし数秒の一定時
間間隔毎に撮影する撮影手段と、この撮影手段によって
撮影された画像信号を階調を有するディジタル濃度デー
タに変換するA/D変換器と、上記一定時間間隔毎に撮影
された前後2つの画像の同一位置にディジタル濃度デー
タにおける差分演算を行い、この結果得られた差分像中
の正負の極性によって車両を抽出しその移動方向を判定
するマイクロプロセッサとにより構成することを特徴と
する車両検知装置。
5. A photographing means for photographing a predetermined area at fixed time intervals of several tens of milliseconds to several seconds, and an A / D converter for converting an image signal photographed by the photographing means into digital density data having a gradation. And a difference calculation of the digital density data at the same position of the two images taken before and after the fixed time interval. A vehicle is extracted based on the positive and negative polarities in the resulting difference image, and the moving direction is determined. A vehicle detection device, comprising: a microprocessor for determining.
【請求項6】前記所定区域は駐車場であり、前記マイク
ロプロセッサに車両入出判定,駐車・空車判定,車両台
数演算機能を付加したことを特徴とする請求項5記載の
車両検知装置。
6. The vehicle detecting device according to claim 5, wherein the predetermined area is a parking lot, and a function of judging vehicle entrance / exit, judging parking / vacancy, and calculating the number of vehicles is added to the microprocessor.
【請求項7】前記所定区域は交差点近傍の道路上であ
り、前記マイクロプロセッサに駐車・停車の判定機能を
付加したことを特徴とする請求項5記載の車両検知装
置。
7. The vehicle detection device according to claim 5, wherein the predetermined area is on a road near an intersection, and a function of determining whether the vehicle is parked or stopped is added to the microprocessor.
【請求項8】前記所定区域を道路上の一部分であり、前
記マイクロプロセッサにその区域を通過する車両の速度
および車間距離の判定機能を付加したことを特徴とする
請求項5記載の車両検知装置。
8. A vehicle detecting apparatus according to claim 5, wherein said predetermined area is a part on a road, and said microprocessor is provided with a function of judging a speed and an inter-vehicle distance of a vehicle passing through said area. .
JP63218446A 1988-09-02 1988-09-02 Vehicle detection method and vehicle detection device Expired - Fee Related JP2732860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63218446A JP2732860B2 (en) 1988-09-02 1988-09-02 Vehicle detection method and vehicle detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63218446A JP2732860B2 (en) 1988-09-02 1988-09-02 Vehicle detection method and vehicle detection device

Publications (2)

Publication Number Publication Date
JPH0268698A JPH0268698A (en) 1990-03-08
JP2732860B2 true JP2732860B2 (en) 1998-03-30

Family

ID=16720041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63218446A Expired - Fee Related JP2732860B2 (en) 1988-09-02 1988-09-02 Vehicle detection method and vehicle detection device

Country Status (1)

Country Link
JP (1) JP2732860B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3382529B2 (en) 1998-02-13 2003-03-04 名古屋電機工業株式会社 Method and apparatus for evaluating rainfall and snow conditions

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04148298A (en) * 1990-10-08 1992-05-21 Matsushita Electric Ind Co Ltd Illegal parking detecting/alarming device
JPH0552933A (en) * 1991-08-29 1993-03-02 Japan Radio Co Ltd System and device for measuring position of traveling object
JP2624117B2 (en) * 1993-05-31 1997-06-25 日本電気株式会社 Vehicle detection device, vehicle tracking device, and vehicle monitoring device
JPH0916897A (en) * 1995-07-03 1997-01-17 Sanyo Electric Co Ltd Method and system for parking lot management
JPH113492A (en) * 1997-06-10 1999-01-06 Mitsubishi Precision Co Ltd Vehicle discriminating device
JP3704562B2 (en) * 2002-07-18 2005-10-12 独立行政法人産業技術総合研究所 Vehicle interval measurement method
KR101972421B1 (en) * 2018-08-22 2019-04-25 주식회사 사라다 System and method for predicting occurrence of traffic congestion

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50108237U (en) * 1974-02-12 1975-09-04
JPS6069786A (en) * 1983-09-26 1985-04-20 Oki Electric Ind Co Ltd Picture recognizing device
JPS62220884A (en) * 1986-03-22 1987-09-29 Tech Res & Dev Inst Of Japan Def Agency Infrared image tracking device
JPS6340862A (en) * 1986-08-06 1988-02-22 Omron Tateisi Electronics Co Vehicle speed measuring apparatus
JP2541531B2 (en) * 1987-01-13 1996-10-09 住友電気工業株式会社 Parking detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3382529B2 (en) 1998-02-13 2003-03-04 名古屋電機工業株式会社 Method and apparatus for evaluating rainfall and snow conditions

Also Published As

Publication number Publication date
JPH0268698A (en) 1990-03-08

Similar Documents

Publication Publication Date Title
US7460691B2 (en) Image processing techniques for a video based traffic monitoring system and methods therefor
EP0567059B1 (en) Object recognition system using image processing
JP2732860B2 (en) Vehicle detection method and vehicle detection device
JPH08233525A (en) Vehicle-type discriminating apparatus
JP3007019B2 (en) Traffic flow measurement device
WO2002052523A1 (en) Method and apparatus for monitoring vehicle
JP2001043383A (en) Image monitoring system
WO2016143854A1 (en) Tire pattern assessment device, vehicle model determining device, tire pattern assessment method, and program
JPH1131296A (en) Parking lot managing method/device
JP3771729B2 (en) Traffic flow measurement system
JP3875889B2 (en) Image speed detection system and image speed detection method
JP2924063B2 (en) Image processing type traffic flow measurement device
JPH0752480B2 (en) Vehicle detection device
KR100261065B1 (en) Vehicle classification method and apparatus using image analysis
JP3207696B2 (en) Vehicle type identification device
JP2541531B2 (en) Parking detection method
JP3021269B2 (en) Vehicle detection device
JP2003322684A (en) Method and apparatus for detecting vehicle
KR960016355B1 (en) Method and apparatus for detecting traffic information
JP2724465B2 (en) Railroad crossing obstacle detection method
JP2664054B2 (en) Vehicle recognition method
JPH07166729A (en) Vehicle family discriminating device
KR100250886B1 (en) Method and apparatus of forwardness / backwardness detecting and counting for moving object
JPH04313198A (en) Mobile objection measuring device
JPH04315299A (en) Road object detector

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees