JP2995803B2 - Parking detection device - Google Patents

Parking detection device

Info

Publication number
JP2995803B2
JP2995803B2 JP2161317A JP16131790A JP2995803B2 JP 2995803 B2 JP2995803 B2 JP 2995803B2 JP 2161317 A JP2161317 A JP 2161317A JP 16131790 A JP16131790 A JP 16131790A JP 2995803 B2 JP2995803 B2 JP 2995803B2
Authority
JP
Japan
Prior art keywords
image data
image
vehicle
parked
road
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
JP2161317A
Other languages
Japanese (ja)
Other versions
JPH0452999A (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.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Priority to JP2161317A priority Critical patent/JP2995803B2/en
Publication of JPH0452999A publication Critical patent/JPH0452999A/en
Application granted granted Critical
Publication of JP2995803B2 publication Critical patent/JP2995803B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Traffic Control Systems (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 技術分野 この発明は,道路等の車両の通行路上に駐停車してい
る車両を画像処理により検出する装置に関する。
Description: TECHNICAL FIELD The present invention relates to an apparatus for detecting a vehicle parked and stopped on a traffic path of a vehicle such as a road by image processing.

従来技術とその問題点 道路等の車両の通行路を上方または斜め上方から撮像
することにより,駐停車しているおよび走行中の車両を
含む画像データを得,この画像データを処理することに
より,駐停車している車両を検出するための装置とし
て,従来からフレーム差分と空間差分法を利用したもの
がある。この画像処理法を利用した駐停車検出装置は,
時間差をおいて取り込んだ複数枚の入力画像においてフ
レーム差分を施して走行している車両を抽出し,それに
より走行車両存在領域以外の範囲について空間差分を施
して駐停車車両の線や輪郭を強調し,その画像の中から
駐停車車両を抽出するものである。
2. Description of the Related Art Conventional technology and its problems By capturing an image of a vehicle such as a road from above or diagonally from above, image data including vehicles parked and stopped and running is obtained, and this image data is processed. 2. Description of the Related Art As a device for detecting a parked vehicle, there is a device that uses a frame difference method and a spatial difference method. A parking / stop detection device using this image processing method
A frame difference is applied to a plurality of input images captured with a time difference to extract a running vehicle, and thereby a spatial difference is applied to a region other than the region where the running vehicle exists to emphasize the lines and contours of the parked and stopped vehicles. Then, parked and stopped vehicles are extracted from the image.

しかしながら,このような従来の装置では,車両の線
や輪郭を抽出するために十分な明るさが必要であり,夜
間に車両の線や輪郭を検出するために大がかりな照明装
置が必要となる。また,フレーム差分により走行車両の
抽出を行なっているので2枚の画像間で走行車両はある
程度変化(移動)していなければならない。したがっ
て,渋滞などの低速走行時にはフレーム差分による変化
量が少なくなるので駐停車車両か走行車両かの判定が難
しくなる。
However, such a conventional device requires sufficient brightness to extract the lines and contours of the vehicle, and requires a large-scale lighting device to detect the lines and contours of the vehicle at night. In addition, since the traveling vehicle is extracted based on the frame difference, the traveling vehicle must change (move) to some extent between the two images. Therefore, when the vehicle is traveling at a low speed such as a traffic jam, the amount of change due to the frame difference is small, and it is difficult to determine whether the vehicle is a parked or stopped vehicle or a traveling vehicle.

発明の目的 この発明は,明るさ等に影響されることなく,低速走
行の車両を排除して正しく駐停車車両のみを検出しうる
装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a device capable of correctly detecting only parked and stopped vehicles by excluding a vehicle traveling at a low speed without being affected by brightness or the like.

発明の構成,作用および効果 この発明による駐停車検出装置は,道路等の車両の通
行路を一定時間ごとに撮像し,撮像した通行路上に駐停
車しているおよび走行中の車両の像を含む画像を表わす
映像信号を撮像ごとに出力する撮像手段,上記撮像手段
から出力される映像信号をディジタル画像データに変換
する手段,変換されたディジタル画像データを1シーン
撮像ごとに対応画素の間で加算し,かつ加算された累積
画像データを記憶する手段,ならびに所定シーン数の画
像データの累積加算が終了したのち,上記記憶手段に記
憶されている累積画像データから,駐停車している車両
に関する情報を抽出するための画像処理手段を備えてい
ることを特徴とする。
Configuration, operation, and effect of the present invention A parking / parking detection device according to the present invention captures an image of a vehicle such as a road at regular intervals, and includes images of vehicles parked and stopped on the captured road and running. Imaging means for outputting a video signal representing an image for each imaging, means for converting the video signal output from the imaging means to digital image data, and adding the converted digital image data between corresponding pixels for each scene imaging Means for storing the added cumulative image data, and, after the cumulative addition of the image data of the predetermined number of scenes is completed, the information on the parked vehicle based on the cumulative image data stored in the storage means. Is provided with an image processing means for extracting

この発明の装置によると,撮像した画像を累積加算し
ている。したがって,昼間においては,多くの画像を累
積加算することにより,移動しない背景および駐停車車
両に対して,移動する車両がノイズ成分として平滑化さ
れるために駐停車車両が浮きでてくることになる。この
ような累積画像からノイズ成分を除去したのち,車両の
特徴となる輪郭線などを空間微分法などを用いて抽出す
ることにより,駐停車車両を検出できる。
According to the device of the present invention, the taken images are cumulatively added. Therefore, in the daytime, by adding a large number of images, the parked and parked vehicles appear floating because the moving vehicle is smoothed as a noise component against the background and the parked vehicles that do not move. Become. After the noise component is removed from such an accumulated image, a parked or stopped vehicle can be detected by extracting a contour line or the like which is a feature of the vehicle by using a spatial differentiation method or the like.

また夜間においては,ヘッド・ライトやテール・ライ
トの光跡を加算していくことにより,その光跡を明瞭に
識別できるようになり,交通流を妨げるような駐停車車
両などが存在する場合,それらの駐停車車両をライト光
跡の変化により間接的に検知することができる。
Also, at night, by adding the light trails of the headlights and tail lights, the light trails can be clearly identified, and when there are parked and stopped vehicles that obstruct traffic flow, These parked and stopped vehicles can be indirectly detected by changes in the light trace of the light.

以上のようにしてこの発明によると,夜間においては
車両のライトの光跡を利用できるので,夜間において照
明装置を必要としない。また,画像データの累積加算中
に天候などの急変が起きて画面の明るさが変化してもノ
イズとして扱え影響を浮けにくい。さらに,渋滞などの
原因により移動車両が低速の場合でも十分な枚数の画像
を累積加算する事により,影響を受けにくくなる。そし
て,連続に高速で画像処理をする必要がないので,画像
伝送により処理を別の場所でおこなうことも可能で,こ
の場合低容量の通信回線などを利用することができる。
As described above, according to the present invention, since the light trace of the vehicle light can be used at night, no illumination device is required at night. Further, even if the brightness of the screen changes due to a sudden change in the weather or the like during the cumulative addition of the image data, it can be treated as noise and the influence is hard to appear. Further, even when the moving vehicle is at a low speed due to traffic congestion or the like, a sufficient number of images are cumulatively added, so that the image is less affected. Since there is no need to continuously perform high-speed image processing, it is possible to perform processing in another place by image transmission, and in this case, a low-capacity communication line or the like can be used.

実施例の説明 第1図は道路に駐停車している車両を検出する実施例
の配置構成を示している。
FIG. 1 shows an arrangement of an embodiment for detecting vehicles parked and stopped on a road.

道路Lの側部に立設された支柱の上部にテレビ(ビデ
オ)カメラ9が設置されている。カメラ9は道路Lを俯
瞰し,道路Lの所定範囲を撮像し,撮像した画像を表わ
す映像信号を出力する。カメラ9によって道路L,道路L
に駐停車している車両,道路Lを走行している車両が撮
像される。カメラ9から出力される映像信号は画像処理
装置10に入力する。道路の両側に支柱を立て,これらの
支柱の上部に横棧を渡し,この横棧にカメラ9を設置す
るようにしてもよい。また,陸橋,その他の構造物にカ
メラ9を取付けて道路を上方から撮像することもでき
る。
A television (video) camera 9 is installed on an upper part of a column erected on the side of the road L. The camera 9 looks down on the road L, captures an image of a predetermined range of the road L, and outputs a video signal representing the captured image. Road L, Road L by camera 9
Vehicles that are parked and stopped on the road L and vehicles running on the road L are imaged. The video signal output from the camera 9 is input to the image processing device 10. It is also possible to stand uprights on both sides of the road, pass a horizontal line on top of these columns, and install the camera 9 on this horizontal line. Further, the camera 9 can be attached to an overpass or other structure to take an image of a road from above.

第2図は,画像処理装置10の電気的構成を示してい
る。
FIG. 2 shows an electrical configuration of the image processing apparatus 10.

カメラ9から出力される1シーン(1フレームまたは
1フィールド)分の映像信号はA/D変換器11でディジタ
ル画像データに変換され,必要ならばビット変換回路12
を通して加算器13に与えられる。加算器13は画像メモリ
14に記憶されている累積画像データと,A/D変換器11から
与えられる画像データを,各画素ごとに加算する。この
加算された画像データは画像メモリ14に記憶される。第
1番目のシーンの画像データは加算されることなく画像
メモリ14に記憶される。このようにして,所定シーン数
の画像データが加算器11で加算され,この加算結果が累
積画像データとして画像メモリ14に記憶される。累積シ
ーン数は,画像データの階調(ビット数)と画像メモリ
の容量(データ・ビット数)に応じて,また駐停車車両
抽出処理に応じて決めることができる。たとえば画像メ
モリが16ビット,画像データの階調を8ビットとすれ
ば,8ビット分,すなわち256シーンの累積加算が可能で
ある。極度の渋滞などで駐停車車両抽出処理のためによ
り多くの累積加算が必要な場合には変換回路12によって
8ビット画像データを7ビット画像データに変換すれば
512シーンの累積加算が可能となる。
A video signal for one scene (one frame or one field) output from the camera 9 is converted into digital image data by an A / D converter 11 and, if necessary, a bit conversion circuit 12.
To the adder 13 through. The adder 13 is an image memory
The accumulated image data stored in 14 and the image data provided from the A / D converter 11 are added for each pixel. The added image data is stored in the image memory 14. The image data of the first scene is stored in the image memory 14 without being added. In this manner, the image data of the predetermined number of scenes is added by the adder 11, and the result of the addition is stored in the image memory 14 as the accumulated image data. The number of accumulated scenes can be determined according to the gradation (number of bits) of the image data and the capacity of the image memory (number of data bits), and according to the parked and stopped vehicle extraction processing. For example, if the image memory is 16 bits and the gradation of the image data is 8 bits, cumulative addition of 8 bits, that is, 256 scenes is possible. If more accumulated additions are required for the process of extracting parked and stopped vehicles due to extreme congestion, etc., the conversion circuit 12 converts the 8-bit image data into 7-bit image data.
Cumulative addition of 512 scenes becomes possible.

CPU15は,必要シーン数の画像データが画像メモリ14
に累積加算されたのち,この累積加算された画像データ
を用いて,所定の画像処理アルゴリズムにしたがって駐
停車車両に関する情報を抽出する。
The CPU 15 stores image data of the required number of scenes in the image memory 14.
After that, the information on the parked / stopped vehicle is extracted according to a predetermined image processing algorithm using the image data obtained by the cumulative addition.

昼間において好適に利用可能な駐停車車両抽出のため
の画像処理アルゴリズムの一例が第3図に示されてい
る。
FIG. 3 shows an example of an image processing algorithm for extracting parked and stopped vehicles that can be suitably used in the daytime.

1シーンが縦,横125×512画素からなり,各画素が8
ビット(256階調)で表わされる画像データが256シーン
累積加算される。1シーン当り1/15秒の時間がかかると
すると,約17秒で256シーンの累積加算画像データ(512
×512×16ビット)が得られる。走行(移動)している
車両の像はあたかもカメラがぶれたように記憶され,長
時間にわたって累積されると,ノイズ成分となる。これ
に対して背景および駐停車車両の像は加算により強め合
い,はっきりと現われてくる。
One scene consists of vertical and horizontal 125 × 512 pixels, each pixel is 8
Image data represented by bits (256 gradations) is cumulatively added for 256 scenes. Assuming that it takes 1/15 second per scene, the cumulative added image data (512
× 512 × 16 bits). An image of a running (moving) vehicle is stored as if the camera was shaken, and when accumulated for a long time, becomes an noise component. On the other hand, the background and the image of the parked vehicle reinforce each other by addition and clearly appear.

走行車両の像の累積データのようなノイズ成分を除去
するために,各画素16ビットの画像データを8ビット・
シフトして,下位8ビットを捨て,上位8ビットのみを
残す。画像データは512×512×8ビットとなる。
In order to remove noise components such as the accumulated data of the image of the traveling vehicle, the image data of 16 bits per pixel is converted into 8 bits.
Shift, discard lower 8 bits, and leave only upper 8 bits. The image data is 512 × 512 × 8 bits.

背景を除去するために,計測エリア・マスクを用いて
演算を行なう。これにより,道路上の駐停車車両の像の
みが残る。さらにこのようにして得いられた画像データ
に対して空間微分(空間差分)演算等を行ない車の輪郭
線のような特徴量の抽出を行ない,この特徴量に基づい
て駐停車車両を検出する。
An operation is performed using the measurement area mask to remove the background. As a result, only the image of the parked vehicle on the road remains. Further, the image data obtained in this manner is subjected to a spatial differentiation (spatial difference) calculation or the like to extract a feature amount such as a contour of the vehicle, and a parked or stopped vehicle is detected based on the feature amount. .

第4図は夜間において好適に利用可能な駐停車車両抽
出のための画像処理アルゴリズムを説明するためのもの
である。
FIG. 4 is a diagram for explaining an image processing algorithm for extracting parked and stopped vehicles that can be suitably used at night.

この夜間アルゴリズムの概要は次の通りである。 The outline of this nighttime algorithm is as follows.

夜間において車両を確認できる手がかかりとしてヘッ
ド・ライトやテール・ライトがある。これらの光点の画
像を累積加算していくことにより走行車両の進行状況が
光跡となって記憶されていく。長時間にわたって累積加
算していくことにより,集団としての交通流の状況を把
握することができる。すなわち交通流の妨げとなるよう
な駐停車車両がない場合には,各車線にそった光跡が得
られ,その部分では画像の精度が大きくなる。これに対
して,交通流の妨げとなるような障害物(駐停車車両な
ど)が存在すると,それらの障害物を避けるように交通
流がカーブを描いて変化し,障害物付近の画像の精度が
低下するので,これを検知することにより間接的に駐停
車車両を検出することができる。
Headlights and taillights can be used to identify vehicles at night. By accumulating the images of these light spots, the progress of the traveling vehicle is stored as light trails. By performing cumulative addition over a long period of time, it is possible to grasp the traffic flow situation as a group. That is, when there is no parked or stopped vehicle that hinders the traffic flow, a light trace is obtained along each lane, and the accuracy of the image is increased in that part. On the other hand, if there are obstacles (such as parked and stopped vehicles) that hinder the traffic flow, the traffic flow changes in a curve so as to avoid those obstacles, and the accuracy of the image near the obstacles increases. , The parked / stopped vehicle can be indirectly detected by detecting this.

第4図を参照して,8ビット画像データを256シーン累
積加算することにより16ビットの累積画像データを得
る。各シーンの画像データをビット変換してより少ない
ビットとすることによりより多くのシーンの加算が可能
である。たとえば各シーンの画像データにおいてテール
・ライト(またはヘッド・ライト)を抽出することによ
り,1シーン当り2ビットで表現できる。この場合には16
ビットの累積加算画像データを得るために65536シーン
の加算が可能である。1シーンの計測のために1/15秒を
要するとすると,256シーン加算して8ビット画像データ
から16ビット累積画像データを得るためには約17秒,655
36シーン加算して2ビット画像データから16ビット累積
画像データを得るためには約73分の時間を要する。ビッ
ト変換を適当に選ぶことにより加算するシーン数を全計
測時間とのかねあいで最適に設定することができる。
Referring to FIG. 4, 16-bit accumulated image data is obtained by cumulatively adding 256 scenes of 8-bit image data. More scenes can be added by converting the image data of each scene into fewer bits by performing bit conversion. For example, by extracting a tail light (or a head light) from image data of each scene, it is possible to express two bits per scene. 16 in this case
Addition of 65536 scenes is possible in order to obtain the cumulative addition image data of bits. If it takes 1/15 second to measure one scene, it takes about 17 seconds and 655 seconds to add 256 scenes and obtain 16-bit cumulative image data from 8-bit image data.
It takes about 73 minutes to obtain 16-bit accumulated image data from 2-bit image data by adding 36 scenes. By appropriately selecting the bit conversion, the number of scenes to be added can be set optimally in consideration of the total measurement time.

次に,累積加算シーン数または時間等に応じて所定ビ
ット数の右シフト処理を累積画像データに施して8ビッ
ト画像データを得る。この画像データには車両のテール
・ライトまたはヘッド・ライトによる光跡が明瞭に現わ
れる。
Next, a right shift process of a predetermined number of bits is performed on the accumulated image data in accordance with the number of accumulated scenes or the time to obtain 8-bit image data. In this image data, light trails from the tail light or headlight of the vehicle clearly appear.

続いて計測エリア・マスクを用いて背景を除去する。
最後に,道路上に車線にそって小さなエリアを設定し
(実線で示す),各小エリア内の輝度をチェックする。
駐停車車両が存在するところでは光跡がカーブを描いて
曲るので,その部分に設定された小エリア(Aで示す)
の輝度は相対的に低く,この小エリアAに交通流を妨げ
る駐停車車両が存在することが分る。
Subsequently, the background is removed using the measurement area mask.
Finally, a small area is set on the road along the lane (shown by a solid line), and the luminance in each small area is checked.
Where the parked and parked vehicles are present, the light trace curves and turns, so a small area set at that portion (indicated by A)
It can be seen that there are parked and stopped vehicles in this small area A that hinder traffic flow.

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

第1図はこの発明を道路上の駐停車検出に適用した場合
の配置構成を示す図である。 第2図は画像処理装置の電気的構成を示すブロック図で
ある。 第3図は昼間における駐停車検出に好適なアルゴリズム
を説明するための図,第4図は夜間における駐停車検出
に好適なアルゴリズムを説明するための図である。 9……テレビ(ビデオ)カメラ, 10……画像処理装置, 11……A/D変換器, 13……加算器, 14……画像メモリ, 15……CPU。
FIG. 1 is a diagram showing an arrangement configuration in a case where the present invention is applied to detection of parking and stopping on a road. FIG. 2 is a block diagram showing an electrical configuration of the image processing apparatus. FIG. 3 is a diagram for explaining an algorithm suitable for detecting parking and stopping at daytime, and FIG. 4 is a diagram for explaining an algorithm suitable for detecting parking and stopping at night. 9: TV (video) camera, 10: Image processing device, 11: A / D converter, 13: Adder, 14: Image memory, 15: CPU.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】道路等の車両の通行路を一定時間ごとに撮
像し,撮像した通行路上に駐停車しているおよび走行中
の車両の像を含む画像を表わす映像信号を撮像ごとに出
力する撮像手段, 上記撮像手段から出力される映像信号をディジタル画像
データに変換する手段, 変換されたディジタル画像データを1シーン撮像ごとに
対応画素の間で加算し,かつ加算された累積画像データ
を記憶する手段,ならびに 所定シーン数の画像データの累積加算が終了したのち,
上記記憶手段に記憶されている累積画像データから,駐
停車している車両に関する情報を抽出するための画像処
理手段, を備えた駐停車検出装置。
An image of a vehicle such as a road is taken at regular time intervals, and a video signal representing an image including an image of a vehicle parked and stopped on the taken road and a running vehicle is output for each image taking. Imaging means, means for converting a video signal output from the imaging means into digital image data, adding the converted digital image data between corresponding pixels for each scene, and storing the added cumulative image data And after the cumulative addition of the image data of the predetermined number of scenes is completed,
An image processing means for extracting information on the parked vehicle from the accumulated image data stored in the storage means.
JP2161317A 1990-06-21 1990-06-21 Parking detection device Expired - Fee Related JP2995803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2161317A JP2995803B2 (en) 1990-06-21 1990-06-21 Parking detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2161317A JP2995803B2 (en) 1990-06-21 1990-06-21 Parking detection device

Publications (2)

Publication Number Publication Date
JPH0452999A JPH0452999A (en) 1992-02-20
JP2995803B2 true JP2995803B2 (en) 1999-12-27

Family

ID=15732799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2161317A Expired - Fee Related JP2995803B2 (en) 1990-06-21 1990-06-21 Parking detection device

Country Status (1)

Country Link
JP (1) JP2995803B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5590217A (en) * 1991-04-08 1996-12-31 Matsushita Electric Industrial Co., Ltd. Vehicle activity measuring apparatus

Also Published As

Publication number Publication date
JPH0452999A (en) 1992-02-20

Similar Documents

Publication Publication Date Title
KR19980701568A (en) METHOD AND APPARATUS FOR DETECTING OBJECT MOVEMENT WITHIN AN IMAGE SEQUENCE
KR20070005553A (en) Imaging system
JP5260696B2 (en) Edge point extraction device, lane detection device, and program
US9313427B2 (en) Image sensor with improved dynamic range
JP2015148887A (en) Image processing device, object recognition device, moving body instrument control system and object recognition program
JP3914447B2 (en) Image-type vehicle detection system and image-type vehicle detection method
JP2004312402A (en) System and apparatus for road monitoring
JP2995803B2 (en) Parking detection device
JP3272694B2 (en) Outside monitoring device with fail-safe function
JPH05189694A (en) Vehicle detector
JP2861638B2 (en) Travel lane detection device
JP4071610B2 (en) Traveling vehicle detection system
JPH0757200A (en) Method and device for recognizing travel course
JP3377180B2 (en) Image recognition device
JP2924063B2 (en) Image processing type traffic flow measurement device
JPH11219493A (en) Method for processing traffic information
JP2853361B2 (en) Vehicle dynamics measurement device
JP4995555B2 (en) Image processing device
JP2001216598A (en) Traffic flow measuring instrument
JP2557350B2 (en) Speed measurement method
JP4204708B2 (en) Object extraction device
JP3184077B2 (en) A preceding vehicle detection device with a vehicle steering detection function
JP3090744B2 (en) License plate extraction method
JP6669062B2 (en) Image processing device
JP2814315B2 (en) Vehicle dynamics measurement device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071029

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091029

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees