JP2002259953A - Congestion status determining method and its device - Google Patents

Congestion status determining method and its device

Info

Publication number
JP2002259953A
JP2002259953A JP2001051707A JP2001051707A JP2002259953A JP 2002259953 A JP2002259953 A JP 2002259953A JP 2001051707 A JP2001051707 A JP 2001051707A JP 2001051707 A JP2001051707 A JP 2001051707A JP 2002259953 A JP2002259953 A JP 2002259953A
Authority
JP
Japan
Prior art keywords
image
template
pseudo
edge
template image
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
JP2001051707A
Other languages
Japanese (ja)
Other versions
JP4762421B2 (en
Inventor
Hideki Takei
秀樹 武井
Koji Ueda
浩次 上田
Tetsuya Tanizaki
徹也 谷嵜
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 JP2001051707A priority Critical patent/JP4762421B2/en
Publication of JP2002259953A publication Critical patent/JP2002259953A/en
Application granted granted Critical
Publication of JP4762421B2 publication Critical patent/JP4762421B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a congestion status determining method and its device capable of improving determination accuracy of a vacant state to almost 100%. SOLUTION: The device is provided with a camera 1 shooting an overview of an object area, an image memory 3 storing the shot image as an luminance image, an edge image transforming part 4 transforming the stored image into an edge image, a template image storing part 5 stored beforehand with template images of each congestion status such as vacancy, congested, and full, a correlation value calculating part 6 calculating correlation values with each template image by determining cross-correlations between the template images and the image of the object area converted into the edge image, and a determining part 7 comparing the calculated correlation values and determining the congestion status of the object area from their magnitudes. As the vacancy template image, a pseudo vacancy template image is used provided by applying edge processing to a pseudo image with white lines such as parking grids drawn in respective widths in accordance with the actual object area and then subjecting it to gradation processing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、撮影画像とテンプ
レート画像との相互相関を利用して混雑状況を判定する
混雑状況判定方法とその装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a congestion state determination method and apparatus for determining a congestion state using a cross-correlation between a captured image and a template image.

【0002】[0002]

【従来の技術】従来の画像処理を用いた駐車場システム
としては、駐車マス毎に輝度変化やエッジ情報などを用
いて車両の有無を判定し、それら個々の検出結果を積み
上げることにより、駐車場全体の混雑状況を推定して決
定する方法が知られている。この方法は、個々の駐車マ
ス毎の車両判定精度が基本となり、車両の細部の情報が
多いほど判定精度は向上する。したがって、判定精度を
上げるには車両を画面上により大きく映し出す必要があ
る。しかしながら、車両を画面上により大きく映し出せ
ば出すほど、1台のカメラでは広い範囲を一度に検出す
ることができなくなり、駐車場全体を撮影するために多
数のカメラが必要であった。
2. Description of the Related Art In a conventional parking lot system using image processing, the presence or absence of a vehicle is determined for each parking square by using a luminance change, edge information, and the like, and the results of individual detections are accumulated to obtain a parking lot system. A method of estimating and determining the overall congestion state is known. This method is based on the vehicle determination accuracy for each parking space, and the more information on the details of the vehicle, the higher the determination accuracy. Therefore, it is necessary to project the vehicle larger on the screen in order to increase the determination accuracy. However, the larger the vehicle is projected on the screen, the more it becomes impossible for one camera to detect a wide range at a time, and a large number of cameras are required to photograph the entire parking lot.

【0003】そこで、上記問題を解決するため、本発明
者は対象領域の撮影画像とテンプレート画像との相互相
関によって混雑状況を判定する手法を先に提案した(特
願2000−098083号)。この混雑状況判定手法
は、予め用意しておいた空車、混雑、満車等の各混雑状
況のテンプレート画像とカメラから取り込んだ対象画像
との相互相関をとり、得られた相関値の相対的な大小関
係からテンプレート画像により近い混雑状況を見出すよ
うにしたものであった。そのため、これまでの画像処理
を用いた駐車場システムのように駐車車両1台1台に注
目すること無く、全体の状況のみで広範囲な駐車状況を
判断することができる。
In order to solve the above-mentioned problem, the present inventor has previously proposed a method of determining the congestion state based on a cross-correlation between a captured image of a target area and a template image (Japanese Patent Application No. 2000-098083). This congestion status determination method takes a cross-correlation between a template image of each congestion status such as empty, congested, full, etc. prepared in advance and a target image captured from a camera, and determines the relative magnitude of the obtained correlation value. The congestion situation closer to the template image is found from the relationship. For this reason, it is possible to determine a wide-ranging parking situation only from the entire situation without paying attention to each parked vehicle as in the conventional parking lot system using image processing.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記先
願の混雑状況判定手法を実際に試験運用してみたとこ
ろ、空車、混雑、満車などの各混雑状況のうち、特に空
車状態時の判定精度が落ちるという問題があることがわ
かった。本発明は、このような問題を解決するためにな
されたもので、空車状態の判定精度をほぼ100%まで
向上することができる混雑状況判定方法とその装置を提
供することを課題とするものである。
However, when the congestion status determination method of the prior application was actually tested and operated, it was found that among the congestion statuses such as empty, congested, and full, the determination accuracy particularly when the vehicle is empty is low. It turned out that there was a problem of falling. The present invention has been made in order to solve such a problem, and an object of the present invention is to provide a congestion state determination method and apparatus capable of improving the determination accuracy of an empty state to almost 100%. is there.

【0005】[0005]

【課題を解決するための手段】本発明は、上記課題を解
決するために次のような手段を採用した。すなわち、本
発明の混雑状況判定方法は、混雑状況を判定すべき対象
領域を俯瞰撮影し、該撮影した対象画像を予め用意した
空車、混雑、満車などの各混雑状況を表すテンプレート
画像との相互相関をとることによって各テンプレート画
像との間の相関値を算出し、該算出された相関値の大小
から混雑状況を判定するようにした混雑状況判定方法に
おいて、前記空車テンプレート画像として、人工的に作
成した疑似空車テンプレート画像を用いたことを特徴と
するものである。
The present invention employs the following means in order to solve the above problems. In other words, the congestion state determination method of the present invention performs bird's-eye view photographing of the target area for which the congestion state is to be determined, and interoperates the photographed target image with a template image representing each congestion state such as empty, congested, or full, prepared in advance. In the congestion situation determination method in which a correlation value between each template image is calculated by taking a correlation and the congestion situation is determined from the magnitude of the calculated correlation value, the empty vehicle template image is artificially used. It is characterized in that the created pseudo empty vehicle template image is used.

【0006】また、本発明の混雑状況判定装置は、混雑
状況を判定すべき対象領域を俯瞰撮影する撮影手段と、
該撮影手段で撮影した対象領域の撮影画像を輝度画像と
して格納記憶する画像記憶手段と、該画像記憶手段に格
納記憶された対象領域の輝度画像をエッジ画像に変換す
るエッジ画像変換部と、空車、混雑、満車などの各混雑
状況を表すテンプレート画像を予め格納記憶したテンプ
レート画像記憶部と、前記エッジ画像変換部でエッジ画
像に変換された対象領域の画像と前記テンプレート画像
記憶部に格納されているすべてのテンプレート画像との
相互相関をとり、各テンプレート画像との相関値を算出
する相関値算出部と、該相関値算出部で算出された相関
値を比較してその大小から対象領域の混雑状況を判定す
る判定部とを備え、前記テンプレート画像記憶部に格納
する空車テンプレート画像として、人工的に作成した疑
似空車テンプレート画像を用いたことを特徴とするもの
である。
Further, the congestion state determination device of the present invention includes a photographing means for bird's-eye view photographing of a target area where the congestion state is to be determined,
Image storage means for storing a captured image of the target area captured by the image capturing means as a luminance image, an edge image conversion unit for converting the luminance image of the target area stored and stored in the image storage means into an edge image, A template image storage unit that stores in advance a template image representing each congestion state such as congestion and fullness, an image of a target area converted into an edge image by the edge image conversion unit, and the template image storage unit. A cross-correlation with all the template images that are present and calculating a correlation value with each template image, and comparing the correlation values calculated by the correlation value calculation unit, and comparing the correlation value with the correlation value to determine whether the target area is congested. A determination unit for determining a situation, wherein a pseudo empty vehicle template created artificially as an empty vehicle template image stored in the template image storage unit. It is characterized in that using the image.

【0007】そして、前記混雑状況判定方法および装置
において用いる疑似空車テンプレート画像として、実際
の対象領域に合わせて駐車マスなどの白線をそれぞれの
太さで引いた疑似画像にエッジ処理を施した後、ぼかし
処理を行なった画像、あるいは実際の対象領域に合わせ
て駐車マスなどの区画線を1本の細い白線で引いた疑似
画像に膨張処理を施した後、エッジ処理し、さらに該エ
ッジ画像にぼかし処理を施した画像を用いたものであ
る。
[0007] As a pseudo empty vehicle template image used in the congestion state determination method and apparatus, edge processing is performed on a pseudo image in which a white line such as a parking space is drawn at each thickness in accordance with an actual target area. After subjecting the blurred image or a pseudo image in which a partition line such as a parking space is drawn with a single thin white line in accordance with the actual target area to an expansion process, edge processing is performed, and the edge image is further blurred. This is the one using the processed image.

【0008】本発明者は、先願の混雑状況判定手法にお
いて空車状態時の判定精度が落ちるという問題を解決す
べく種々実験と検討を重ねた。まず、従来手法による空
車時の混雑状況の判定状態を図7に、その時の空車判定
精度を表1に示す。この従来手法は、空車テンプレート
画像として実際に撮影して得られた代表的な空車状態画
像のエッジ画像(図7(a))を、また、満車テンプレ
ート画像として実際に撮影して得られた代表的な満車状
態画像のエッジ画像(図7(b))をそれぞれ用いたも
のであって、これらのテンプレート画像と空車状態の対
象画像(図7(c))との間で相互相関をとったもので
ある。
The present inventor has repeatedly conducted various experiments and studies to solve the problem that the accuracy of determination in an empty state is reduced in the congestion state determination method of the prior application. First, FIG. 7 shows the state of congestion determination when the vehicle is empty according to the conventional method, and Table 1 shows the accuracy of the empty vehicle determination at that time. According to this conventional technique, an edge image (FIG. 7A) of a representative empty state image actually obtained by photographing as an empty vehicle template image and a representative image obtained by actually photographing an empty vehicle template image are used. 7 (b)), and a cross-correlation was obtained between these template images and the target image in an empty state (FIG. 7 (c)). Things.

【0009】[0009]

【表1】 [Table 1]

【0010】表1から明らかなように、従来手法の場合
でも97.6%という高い空車判定精度が得られてはい
るが、それでも100%とはなっていない。これは、空
車画像同士の相互相関においては、駐車マスなどの白線
が相関値に大きく影響するが、一般に混雑状況を判定す
る装置は駐車場が供用開始された後に設置されるため
に、空車テンプレート画像として実際の撮影画像を用い
た場合、予め用意される複数の空車テンプレート画像中
にはいくらかの駐車車両が常に存在しており、この駐車
車両が駐車マスなどの白い区画線を隠してしまっている
ことが原因の1つであることが分かった。すなわち、先
願の混雑状況判定手法において空車時にその判定精度が
落ちるのは、空車テンプレート画像に実際の撮影画像を
採用していることが大きな原因であった。
As is clear from Table 1, even in the case of the conventional method, a high empty vehicle judgment accuracy of 97.6% is obtained, but it is still not 100%. This is because, in the cross-correlation between empty vehicle images, a white line such as a parking space greatly affects the correlation value. However, since an apparatus for determining the congestion state is generally installed after the parking lot is put into service, the empty vehicle template is used. When an actual photographed image is used as an image, some parked vehicles are always present in a plurality of empty vehicle template images prepared in advance, and this parked vehicle hides a white division line such as a parking space. Was found to be one of the causes. That is, in the congestion situation determination method of the prior application, the determination accuracy decreases when the vehicle is empty, which is largely due to the fact that an actual photographed image is used as the empty vehicle template image.

【0011】そこで、本発明者らは上記観点に立って種
々実験を重ねた結果、空車のテンプレート画像として、
車両が1台も駐車していない理想的な空車画像を用いれ
ば、判定精度が格段に向上することを確認した。空車テ
ンプレート画像として、車両が1台も駐車していない理
想的な実際の撮影画像をテンプレート画像として用いて
相互相関による空車判定精度を行った場合の判定状態を
図3に、その時の空車判定精度を表2に示す。
The present inventors have conducted various experiments from the above viewpoint, and as a result, as a template image of an empty vehicle,
It was confirmed that the determination accuracy was significantly improved by using an ideal empty vehicle image in which no vehicle was parked. FIG. 3 shows a determination state when the empty vehicle determination accuracy by the cross-correlation is performed using an ideal actual photographed image in which no vehicle is parked as a template image as an empty vehicle template image, and the empty vehicle determination accuracy at that time. Are shown in Table 2.

【0012】[0012]

【表2】 [Table 2]

【0013】表2から明らかなように、テンプレート画
像として車両が1台も駐車していない理想的な実際の撮
影画像をテンプレート画像として用いた場合、100%
の空車判定精度を得ることができる。すなわち、車両が
一台も駐車していない理想的なテンプレート画像を空車
テンプレート画像に用いて相互相関による相関値の相対
比較を行なえば、完全な空車検出が可能である。
As is apparent from Table 2, when an ideal actual photographed image in which no vehicle is parked is used as a template image, 100%
Can be obtained. That is, if an ideal template image in which no vehicle is parked is used as an empty template image and the relative comparison of the correlation values by the cross-correlation is performed, the complete empty detection can be performed.

【0014】上記結果から、理想的には、車両が1台も
駐車していない実際の撮影画像を空車テンプレート画像
として用いることが望ましいことが分かる。しかしなが
ら、供用中の駐車場でそのような画像を実際に得ること
は困難な場合が多い。そこで、本発明者は、空車状態の
画像を何枚か撮影し、これらの撮影画像中から車両が存
在していない領域を切り出し、これらをつなぎ合わせる
ことによって駐車車両が1台も存在しない空車テンプレ
ート画像を作成し、相互相関を行ってみたところ、同じ
ように100%の空車判定率を得ることができることが
分かった。
From the above results, it can be seen that it is ideally desirable to use an actual photographed image in which no vehicle is parked as an empty vehicle template image. However, it is often difficult to actually obtain such an image in a parking lot in service. The inventor of the present invention has taken several images of an empty vehicle state, cuts out regions where no vehicles exist from these captured images, and connects these to form an empty vehicle template in which no parked vehicle exists. When an image was created and cross-correlation was performed, it was found that an empty vehicle judgment rate of 100% could be obtained in the same manner.

【0015】しかしながら、上記のように実際に撮影し
た複数の空車画像を切り貼り合成して空車テンプレート
画像を作成した場合には、作業量が膨大であまりに時間
がかかりすぎ、簡単に採用することは困難であることも
分かった。そこで、本発明者はさらに実験と検討を重
ね、コンピュータ画面上で、実際の画像から得られる駐
車マスの座標を用いて各々の白線の太さで駐車区画やゼ
ブラの線を引き、白線やゼブラなどの描き込まれた疑似
空車画像を人工的に作成し、この画像にエッジ処理とぼ
かし処理を順に施すことによって駐車車両の1台も存在
しない疑似空車テンプレート画像を作成し、この疑似空
車テンプレート画像を用いて空車判定を行なってみた。
However, when an empty vehicle template image is created by cutting and pasting a plurality of empty vehicle images actually photographed as described above, the amount of work is enormous, it takes too much time, and it is difficult to easily adopt the image. I also found out. Therefore, the present inventor further repeated experiments and studies, and drawn a parking section or zebra line with the thickness of each white line on the computer screen using the coordinates of the parking square obtained from the actual image, and the white line and the zebra A pseudo empty vehicle image in which none of the parked vehicles is present is created by artificially creating an image of a drawn empty vehicle drawn in such as an image, and sequentially performing edge processing and blurring processing on this image. I tried to determine the empty car using.

【0016】上記疑似空車テンプレート画像を用いて相
互相関による空車判定精度を行った場合の判定状態を図
4に、その時の空車判定精度を表3に示す。このように
人工的に作成した疑似空車テンプレート画像を用いて
も、100%の空車判定精度を得ることができること分
かった。すなわち、人工的に作成した疑似空車テンプレ
ート画像は、理想的な空車テンプレート画像と同等の精
度を得ることができ、空車テンプレート画像として用い
ることが可能である。さらに、実際に撮影した駐車車両
が1台も存在しない理想的な空車テンプレート画像と比
べてより簡単に作成できるという利点も持っている。
FIG. 4 shows a determination state when the empty vehicle determination accuracy is determined by the cross-correlation using the pseudo empty vehicle template image. It has been found that even if the pseudo empty vehicle template image created artificially in this way is used, 100% empty vehicle determination accuracy can be obtained. That is, a pseudo empty vehicle template image created artificially can obtain the same accuracy as an ideal empty vehicle template image, and can be used as an empty vehicle template image. Furthermore, there is an advantage that it can be created more easily than an ideal empty template image in which no actually parked vehicle exists.

【0017】[0017]

【表3】 [Table 3]

【0018】本発明は、上記知見に基づいてなされたも
ので、空車テンプレート画像に人工的に作成した疑似空
車テンプレート画像を用いたものである。そして、この
人工的に作成した疑似空車テンプレート画像として、具
体的には、実際の対象領域に合わせて駐車マスなどの区
画線を白線で引いた疑似画像にエッジ処理を施した後、
ぼかし処理を行なった画像、あるいは実際の対象領域に
合わせて駐車マスなどの区画線を1本の細い白線で引い
た議事画像に膨張処理を施した後、エッジ処理し、さら
に、該エッジ画像にぼかし処理を施した画像を採用した
ものである。このように空車テンプレート画像に、人工
的に作成した疑似空車テンプレート画像を用いた場合、
空車状態の判定精度をほぼ100%まで向上することが
できる。
The present invention has been made based on the above findings, and uses a pseudo empty vehicle template image artificially created as an empty vehicle template image. Then, as an artificially created pseudo empty vehicle template image, specifically, after performing edge processing on a pseudo image in which a lane marking such as a parking space is drawn with a white line in accordance with the actual target area,
After subjecting the blurred image or the proceeding image in which a partition line such as a parking space is drawn with one thin white line in accordance with the actual target area to an inflating process, edge processing is performed, and the edge image is further processed. This is an image adopting a blurred image. In this way, when an artificially created pseudo empty vehicle template image is used for the empty vehicle template image,
The determination accuracy of the empty state can be improved to almost 100%.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明に係る混雑状
況判定装置の一実施の形態を示すもので、1は駐車場を
俯瞰撮影するカメラ(撮影手段)、2はカメラ1から出
力されるアナログ画像信号をデジタル画像信号に変換す
るAD変換器、3はカメラ1の撮影画像を一連の判定処
理が終わるまで格納記憶する画像メモリ(撮影画像記憶
手段)、4は画像メモリ3に格納記憶された撮影画像
(輝度画像)をエッジ画像に変換するエッジ画像変換
部、5はテンプレート画像記憶部、6はエッジ画像変換
部4でエッジ画像に変換された対象領域の画像と前記テ
ンプレート画像記憶部5に格納されているすべてのテン
プレート画像との相互相関をとり、その相関値を算出す
る相関値算出部、7は相関値算出部6で算出された相関
値を比較してその大小から対象領域の混雑状況を判定す
る判定部である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of a congestion state determination device according to the present invention, wherein 1 is a camera (photographing means) for taking a bird's-eye view of a parking lot, and 2 is a digital image signal output from an analog image signal output from the camera 1. An AD converter 3 for converting the image into an image memory 3 (an image memory for storing an image captured by the camera 1 until a series of determination processes is completed); Is an edge image conversion unit that converts the image into an edge image, 5 is a template image storage unit, 6 is an image of the target area converted into the edge image by the edge image conversion unit 4, and all the images stored in the template image storage unit 5. A correlation value calculator 7 calculates a cross-correlation with the template image and calculates the correlation value. The correlation value calculator 7 compares the correlation values calculated by the correlation value calculator 6 to determine the congestion state of the target area based on the magnitude. It is a determination section for.

【0020】テンプレート画像記憶部5には、予め空
車、混雑、満車などの各混雑状況を表すテンプレート画
像が格納されているが、本発明ではこれらの各テンプレ
ート画像のうち、空車テンプレート画像として、図5に
示すような方法で作成した人工的な疑似空車テンプレー
ト画像を用いた。
The template image storage unit 5 previously stores template images representing congestion states such as empty, congested, and full. In the present invention, among these template images, an empty car template image is used as an empty car template image. An artificial pseudo empty vehicle template image created by the method shown in FIG. 5 was used.

【0021】図5の疑似テンプレート画像の作成方法を
説明すると、先ず最初に、コンピュータ画面上などにお
いて、図5(a)に示すように実際の対象領域の駐車マ
スなどの座標を用いて白線をそれぞれの太さで引いた疑
似画像を作る。そして、この疑似画像に,図5(b)に
示すようにエッジ処理を施した後、図5(c)に示すよ
うにぼかし処理を施し、このぼかし処理を施した画像を
疑似空車テンプレート画像としたものである。
The method of creating the pseudo template image shown in FIG. 5 will be described. First, as shown in FIG. 5A, a white line is drawn on a computer screen or the like using the coordinates of an actual target area such as a parking space. Make a pseudo image subtracted by each thickness. Then, the pseudo image is subjected to edge processing as shown in FIG. 5 (b), and then subjected to blur processing as shown in FIG. 5 (c), and the image subjected to this blur processing is referred to as a pseudo empty vehicle template image. It was done.

【0022】なお、図5(c)のぼかし画像は、ガウス
フィルタなどの画像ぼかし処理手段によって求められ
る。ただし、ぼかし処理に関してはエッジ部分のデータ
を滑らかにして実際の白線をエッジ処理した場合のエッ
ジ画像に近づけることを目的とするため比較的少ない画
素数によるぼかし処理を実行する。
The blurred image shown in FIG. 5C is obtained by an image blur processing means such as a Gaussian filter. However, as for the blurring process, the blurring process is performed with a relatively small number of pixels in order to smooth the data of the edge portion so that the actual white line approaches the edge image when the edge processing is performed.

【0023】次に、前記混雑状況判定装置の判定動作に
ついて図2のフローチャートを参照して説明する。カメ
ラ1によって判定対象となる駐車場が俯瞰撮影されると
(ステップS1)、その画像信号はAD変換器2でデジ
タル信号に変換され、画像メモリ3に送られて輝度画像
として格納記憶される。
Next, the determination operation of the congestion state determination device will be described with reference to the flowchart of FIG. When the camera 1 takes a bird's-eye view of the parking lot to be determined (step S1), the image signal is converted to a digital signal by the AD converter 2, sent to the image memory 3, and stored as a luminance image.

【0024】画像メモリ3に格納記憶された輝度画像か
らなる対象画像はエッジ画像変換部4に送られ、ロバー
ツフィルタやラプラシアンフィルタなどのエッジ抽出フ
ィルタによって画像中からエッジ成分のみが抽出され、
エッジ画像に変換される(ステップS2)。そして、エ
ッジ画像に変換された対象画像は相関値算出部6に送ら
れる。
The target image composed of the luminance image stored and stored in the image memory 3 is sent to an edge image conversion unit 4, where only an edge component is extracted from the image by an edge extraction filter such as a Roberts filter or a Laplacian filter.
It is converted to an edge image (step S2). Then, the target image converted into the edge image is sent to the correlation value calculation unit 6.

【0025】相関値算出部6は、エッジ画像変換部4に
よってエッジ画像に変換された後の対象画像と、テンプ
レート画像記憶部5に格納されている空車、混雑、満車
などの各混雑状況を表すテンプレート画像との相互相関
をとり、それぞれのテンプレート画像との相関値を算出
し(ステップS3,S4、S5)、その結果を判定部7
に送る。
The correlation value calculating section 6 represents the target image converted into the edge image by the edge image converting section 4 and each congestion state such as empty, congested, full or the like stored in the template image storing section 5. A cross-correlation with the template image is obtained, and a correlation value with each template image is calculated (steps S3, S4, S5), and the result is determined by the determination unit 7.
Send to

【0026】判定部7は、相関値演算部6から送られて
くる各相関値を比較して最も値の大きな相関値を選択
し、該選択した相関値に対応するテンプレート画像が表
す混雑状況を当該時点における駐車場の混雑状況として
決定する(ステップS6)。
The determination unit 7 compares the correlation values sent from the correlation value calculation unit 6 and selects the correlation value having the largest value, and determines the congestion status represented by the template image corresponding to the selected correlation value. The congestion state of the parking lot at the time is determined (step S6).

【0027】このようにして、駐車車両の1台1台に注
目することなく、駐車場全体の状況に基づいて混雑状況
を判定することができる。しかも、前述したように空車
テンプレート画像として、実際の対象領域に合わせて駐
車マスなどの白線をそれぞれの太さで引いた疑似画像に
エッジ処理を施した後、ぼかし処理を行なった画像を用
いているので、空車状態の判定精度をほぼ100%まで
向上することができる。
In this manner, the congestion state can be determined based on the state of the entire parking lot without paying attention to each parked vehicle. In addition, as described above, as an empty vehicle template image, a pseudo image in which a white line such as a parking space is drawn at each thickness in accordance with an actual target area is subjected to edge processing, and then an image subjected to blur processing is used. Therefore, the determination accuracy of the empty vehicle state can be improved to almost 100%.

【0028】なお、実際の対象領域に合わせて各々の白
線の太さで線を引く代わりに細い1本の線で白線を引
き、その画像に膨張処理を行なって白線を太くする方法
で作成した疑似空車テンプレート画像を用いても同等の
判定精度を得ることができる。図6にこの疑似空車テン
プレート画像の作成方法を示す。
In addition, instead of drawing a line with the thickness of each white line according to the actual target area, a white line is drawn with one thin line, and the image is subjected to expansion processing to make the white line thick. The same determination accuracy can be obtained even if a pseudo empty vehicle template image is used. FIG. 6 shows a method of creating the pseudo empty vehicle template image.

【0029】図6の疑似テンプレート画像の作成方法を
説明すると、先ず最初に、コンピュータ画面上などにお
いて、図6(a)に示すように実際の対象領域に合わせ
て駐車マスなどの白線を同じ太さからなる1本の細い線
で引いた疑似画像を作る。そして、この1本の細い白線
からなる疑似画像に、図6(b)に示すよう膨張処理を
施した後、図6(c)(d)に示すように図5に説明し
たエッジ処理とぼかし処理を施し、このぼかし処理を施
した画像を疑似空車テンプレート画像としたものであ
る。
The method of creating the pseudo template image shown in FIG. 6 will be described. First, as shown in FIG. A pseudo image drawn with a single thin line is created. Then, after performing a dilation process as shown in FIG. 6 (b) on the pseudo image composed of one thin white line, as shown in FIGS. 6 (c) and 6 (d), the edge processing and the blurring described in FIG. After performing the processing, the image subjected to the blur processing is used as a pseudo empty vehicle template image.

【0030】[0030]

【発明の効果】以上説明したように、本発明の混雑状況
判定方法方法と装置によれば、先願の混雑状況判定手法
で問題になっていた空車状態の判定精度をほぼ100%
まで向上することができる他、複数の空車テンプレート
画像との比較が不要となるため検査時間を短縮できる等
の効果を有するものである。
As described above, according to the method and apparatus for judging congestion status according to the present invention, the accuracy of judging the empty state which has been a problem in the congestion status judgment method of the prior application is almost 100%.
In addition to this, there is an effect that the inspection time can be shortened because comparison with a plurality of empty vehicle template images is not required.

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

【図1】本発明に係る混雑状況判定装置の実施の形態を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a congestion state determination device according to the present invention.

【図2】同上のブロック図の判定動作を説明するための
フローチャートである。
FIG. 2 is a flowchart for explaining a determination operation of the block diagram of the above.

【図3】理想的な実際の撮影画像を空車テンプレート画
像として用いた場合の判定状態の説明図であって、
(a)は理想的な空車テンプレート画像、(b)は満車
のテンプレート画像、(c)は対象画像である。
FIG. 3 is an explanatory diagram of a determination state when an ideal actual photographed image is used as an empty vehicle template image,
(A) is an ideal empty vehicle template image, (b) is a full template image, and (c) is a target image.

【図4】人工的に作成した疑似空車テンプレート画像を
用いた場合の判定状態の説明図であって、(a)は疑似
空車テンプレート画像、(b)は満車のテンプレート画
像、(c)は対象画像である。
4A and 4B are explanatory diagrams of a determination state when an artificially created pseudo empty vehicle template image is used, wherein FIG. 4A is a pseudo empty vehicle template image, FIG. 4B is a full template image, and FIG. It is an image.

【図5】疑似空車テンプレート画像の作成方法の一例を
示すもので、(a)は実際の対象領域に合わせて駐車マ
スなどの白線をそれぞれの太さで引いた疑似画像(原画
像)、(b)はエッジ処理後の画像、(c)ぼかし処理
後の画像である。
5A and 5B show an example of a method for creating a pseudo empty vehicle template image. FIG. 5A shows a pseudo image (original image) in which white lines such as a parking space are drawn at respective thicknesses in accordance with an actual target area, and FIG. b) is an image after edge processing, and (c) is an image after blur processing.

【図6】疑似空車テンプレート画像の他の作成方法を示
すもので、(a)は実際の対象領域に合わせて駐車マス
などの区画線を1本の細い白線で引いた疑似画像(原画
像)、(b)膨張処理後の画像、(c)はエッジ処理後
の画像、(d)ぼかし処理後の画像である。
FIG. 6 shows another method of creating a pseudo empty vehicle template image, in which (a) is a pseudo image (original image) in which a demarcation line such as a parking space is drawn with one thin white line in accordance with an actual target area. , (B) the image after the dilation processing, (c) the image after the edge processing, and (d) the image after the blurring processing.

【図7】先願の混雑状況判定手法の説明図であって、
(a)は実際の撮影画像からなる空車テンプレート画
像、(b)は満車のテンプレート画像、(c)は対象画
像である。
FIG. 7 is an explanatory diagram of a congestion state determination method of the prior application,
(A) is an empty vehicle template image including an actual photographed image, (b) is a full template image, and (c) is a target image.

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

1 カメラ(撮影手段) 2 AD変換器 3 画像メモリ(画像記憶手段) 4 エッジ画像変換部 5 テンプレート画像記憶部 6 相関値算出部 7 判定部 DESCRIPTION OF SYMBOLS 1 Camera (photographing means) 2 AD converter 3 Image memory (image storage means) 4 Edge image conversion part 5 Template image storage part 6 Correlation value calculation part 7 Judgment part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 谷嵜 徹也 愛知県海部郡美和町大字篠田字面徳29−1 名古屋電機工業株式会社内 Fターム(参考) 5B057 AA16 BA02 CA08 CA12 CA16 CE04 DA06 DC16 DC34 5H180 AA01 CC04 KK06 5L096 BA04 CA02 EA02 FA06 HA09 JA03 JA09  ────────────────────────────────────────────────── ─── Continuing from the front page (72) Inventor Tetsuya Tanizaki 29-1 Otonoku Shinoda, Miwa-cho, Kaifu-gun, Aichi Prefecture F-term in Nagoya Electric Industries Co., Ltd. 5B057 AA16 BA02 CA08 CA12 CA16 CE04 DA06 DC16 DC34 5H180 AA01 CC04 KK06 5L096 BA04 CA02 EA02 FA06 HA09 JA03 JA09

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 混雑状況を判定すべき対象領域を俯瞰撮
影し、該撮影した対象画像を予め用意した空車、混雑、
満車などの各混雑状況を表すテンプレート画像との相互
相関をとることによって各テンプレート画像との間の相
関値を算出し、該算出された相関値の大小から混雑状況
を判定するようにした混雑状況判定方法において、 前記空車テンプレート画像として、人工的に作成した疑
似空車テンプレート画像を用いたことを特徴とする混雑
状況判定方法。
1. A bird's-eye view of a target area for which a congestion state is to be determined, and the taken target image is used for an empty vehicle, a congestion,
A congestion state in which a correlation value between each template image is calculated by calculating a cross-correlation with a template image representing each congestion state such as fullness, and the congestion state is determined from the magnitude of the calculated correlation value. In the determination method, an artificially created pseudo empty vehicle template image is used as the empty vehicle template image.
【請求項2】 前記疑似空車テンプレート画像が、実際
の対象領域に合わせて駐車マスなどの白線をそれぞれの
太さで引いた疑似画像にエッジ処理を施した後、ぼかし
処理を行なった画像であることを特徴とする請求項1記
載の混雑状況判定方法。
2. The pseudo empty vehicle template image is an image obtained by performing an edge process on a pseudo image in which a white line such as a parking space is drawn at each thickness in accordance with an actual target area and then performing a blur process. The congestion status determination method according to claim 1, wherein:
【請求項3】 前記疑似空車テンプレート画像が、実際
の対象領域に合わせて駐車マスなどの区画線を1本の細
い白線で引いた疑似画像に膨張処理を施した後、エッジ
処理し、さらに該エッジ画像にぼかし処理を施した画像
であることを特徴とする請求項1記載の混雑状況判定方
法。
3. The pseudo empty vehicle template image is subjected to an expansion process on a pseudo image in which a partition line such as a parking space is drawn with one thin white line in accordance with an actual target area, and then subjected to edge processing. 2. The congestion state determination method according to claim 1, wherein the edge image is an image obtained by performing a blurring process.
【請求項4】 混雑状況を判定すべき対象領域を俯瞰撮
影する撮影手段と、該撮影手段で撮影した対象領域の撮
影画像を輝度画像として格納記憶する画像記憶手段と、 該画像記憶手段に格納記憶された対象領域の輝度画像を
エッジ画像に変換するエッジ画像変換部と、 空車、混雑、満車などの各混雑状況を表すテンプレート
画像を予め格納記憶したテンプレート画像記憶部と、 前記エッジ画像変換部でエッジ画像に変換された対象領
域の画像と前記テンプレート画像記憶部に格納されてい
るすべてのテンプレート画像との相互相関をとり、各テ
ンプレート画像との相関値を算出する相関値算出部と、 該相関値算出部で算出された相関値を比較してその大小
から対象領域の混雑状況を判定する判定部とを備え、 前記テンプレート画像記憶部に格納する空車テンプレー
ト画像として、人工的に作成した疑似空車テンプレート
画像を用いたことを特徴とする混雑状況判定装置。
4. A photographing means for bird's-eye view photographing of a target area for which a congestion state is to be determined, an image storing means for storing a photographed image of the target area photographed by the photographing means as a luminance image, and storing the image in the image storing means. An edge image conversion unit that converts the stored luminance image of the target area into an edge image; a template image storage unit that stores in advance a template image representing each congestion state such as empty, congested, and full, and the edge image conversion unit A correlation value calculating unit that calculates a cross-correlation between the image of the target area converted into the edge image and all template images stored in the template image storage unit, and calculates a correlation value with each template image; A determination unit that compares the correlation values calculated by the correlation value calculation unit and determines the congestion state of the target area based on the magnitude of the correlation value; As unladen template image to pay, congestion status determining apparatus characterized by using a pseudo unladen template images created artificially.
【請求項5】 前記疑似空車テンプレート画像が、実際
の対象領域に合わせて駐車マスなどの白線をそれぞれの
太さで引いた疑似画像にエッジ処理を施した後、ぼかし
処理を行なった画像であることを特徴とする請求項4記
載の混雑状況判定装置。
5. The pseudo empty vehicle template image is an image obtained by performing an edge process on a pseudo image in which a white line such as a parking space is drawn at each thickness in accordance with an actual target area and then performing a blur process. The congestion status determination device according to claim 4, wherein:
【請求項6】 前記疑似空車テンプレート画像が、実際
の対象領域に合わせて駐車マスなどの区画線を1本の細
い白線で引いた疑似画像に膨張処理を施した後、エッジ
処理し、さらに該エッジ画像にぼかし処理を施した画像
であることを特徴とする請求項4記載の混雑状況判定装
置。
6. The pseudo empty vehicle template image is subjected to an expansion process on a pseudo image in which a partition line such as a parking space is drawn with one thin white line in accordance with an actual target area, and then subjected to edge processing. 5. The congestion state determination device according to claim 4, wherein the edge image is an image obtained by performing a blurring process.
JP2001051707A 2001-02-27 2001-02-27 Method and apparatus for determining congestion status Expired - Fee Related JP4762421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001051707A JP4762421B2 (en) 2001-02-27 2001-02-27 Method and apparatus for determining congestion status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001051707A JP4762421B2 (en) 2001-02-27 2001-02-27 Method and apparatus for determining congestion status

Publications (2)

Publication Number Publication Date
JP2002259953A true JP2002259953A (en) 2002-09-13
JP4762421B2 JP4762421B2 (en) 2011-08-31

Family

ID=18912445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001051707A Expired - Fee Related JP4762421B2 (en) 2001-02-27 2001-02-27 Method and apparatus for determining congestion status

Country Status (1)

Country Link
JP (1) JP4762421B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013924A (en) * 2009-07-02 2011-01-20 Osaka Prefecture Univ Detection system and detection method for vehicle in parking lot
JP2020095628A (en) * 2018-12-14 2020-06-18 株式会社デンソーテン Image processing device and image processing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03161898A (en) * 1989-11-20 1991-07-11 Neptune:Kk Parking zone managing device
JPH1097625A (en) * 1996-09-20 1998-04-14 Fujitsu General Ltd Parking vehicle detecting system
JP2001283218A (en) * 2000-03-31 2001-10-12 Nagoya Electric Works Co Ltd Congestion state deciding method and device therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03161898A (en) * 1989-11-20 1991-07-11 Neptune:Kk Parking zone managing device
JPH1097625A (en) * 1996-09-20 1998-04-14 Fujitsu General Ltd Parking vehicle detecting system
JP2001283218A (en) * 2000-03-31 2001-10-12 Nagoya Electric Works Co Ltd Congestion state deciding method and device therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013924A (en) * 2009-07-02 2011-01-20 Osaka Prefecture Univ Detection system and detection method for vehicle in parking lot
JP2020095628A (en) * 2018-12-14 2020-06-18 株式会社デンソーテン Image processing device and image processing method
JP7203587B2 (en) 2018-12-14 2023-01-13 株式会社デンソーテン Image processing device and image processing method

Also Published As

Publication number Publication date
JP4762421B2 (en) 2011-08-31

Similar Documents

Publication Publication Date Title
US11156564B2 (en) Dirt detection on screen
CN109635800B (en) Image focusing method and related equipment thereof
CN108335272B (en) Method and device for shooting picture
CN112991374A (en) Canny algorithm-based edge enhancement method, device, equipment and storage medium
CN111917991A (en) Image quality control method, device, equipment and storage medium
US9258490B2 (en) Smoothing of ghost maps in a ghost artifact detection method for HDR image creation
US20030031376A1 (en) Image enhancement method
CN114708532A (en) Monitoring video quality evaluation method, system and storage medium
JP2008033818A (en) Object tracking device and its control method, object tracking system, object tracking program, and recording medium recording the program
CN112200775A (en) Image definition detection method and device, electronic equipment and storage medium
JP2002259953A (en) Congestion status determining method and its device
JP7345035B1 (en) Aerial image change extraction device
CN115334250B (en) Image processing method and device and electronic equipment
JP2020095621A (en) Image processing device and image processing method
CN115761668A (en) Camera stain recognition method and device, vehicle and storage medium
CN110012351B (en) Label data acquisition method, memory, terminal, vehicle and Internet of vehicles system
CN110751618B (en) Floater detection method and device and electronic equipment
CN109314776B (en) Image processing method, image processing apparatus, and storage medium
JP4464523B2 (en) Congestion status judgment device
CN105635596A (en) System for controlling exposure of camera and method thereof
CN112132879A (en) Image processing method, device and storage medium
JP2021047710A (en) Image processing apparatus, image processing method, image processing system, and program
JP3198258B2 (en) Parked vehicle detection method and device
CN111311498A (en) Image ghost eliminating method and device, storage medium and terminal
CN111382736A (en) License plate image acquisition method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110421

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110608

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

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4762421

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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