JPH10208045A - Vehicle entering detector - Google Patents
Vehicle entering detectorInfo
- Publication number
- JPH10208045A JPH10208045A JP9008797A JP879797A JPH10208045A JP H10208045 A JPH10208045 A JP H10208045A JP 9008797 A JP9008797 A JP 9008797A JP 879797 A JP879797 A JP 879797A JP H10208045 A JPH10208045 A JP H10208045A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- image
- vehicle
- memory
- 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.)
- Granted
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、駐車場や有料道路
の料金所における車両を検知する装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for detecting a vehicle at a parking lot or a tollgate on a toll road.
【0002】[0002]
【従来の技術】従来の技術を図4〜図7に示す。図4
は、従来技術による車両検知装置の第1例の構造図。図
5は、従来技術による車両検知装置の第1例の処理過程
の説明図。2. Description of the Related Art The prior art is shown in FIGS. FIG.
1 is a structural diagram of a first example of a vehicle detection device according to the related art. FIG. 5 is an explanatory diagram of a process of a first example of the vehicle detection device according to the related art.
【0003】図6は、従来技術による車両検知装置の第
2例の構造図。図7は、従来技術による車両検知装置の
第2例の処理過程の説明図である。駐車場や有料道路に
おいては、そのゲートに車両が進入してきたことを検知
し、入退場ゲートを開放したり、又は、通行券を発券し
たり、料金精算機の動作開始を指示するなどの上位装置
への情報出力を行う必要がある。FIG. 6 is a structural diagram of a second example of a vehicle detection device according to the prior art. FIG. 7 is an explanatory diagram of a process of a second example of the vehicle detection device according to the related art. In parking lots and toll roads, it is detected that a vehicle has entered the gate, and the entrance gate is opened, or a toll issuance is issued, or an instruction to start the operation of a toll settlement machine is issued. It is necessary to output information to the device.
【0004】また、進入する車両の面積や長さ、幅など
の大きさを計測し、車種の判別を行って発券する通行券
の種類や、精算する料金の変更を行わなければならな
い。このための車両検知装置としては、従来から超音波
センサを用いる方式や、電磁波、光電センサを用いる方
式などがあるが、ここでは、画像処理方式のものについ
て説明する。In addition, it is necessary to measure the size, such as the area, length, width, etc., of the vehicle entering the vehicle, determine the type of vehicle, and change the type of toll ticket to be issued and the fee to be settled. As a vehicle detection device for this purpose, a system using an ultrasonic sensor, a system using an electromagnetic wave, a photoelectric sensor, and the like have been conventionally used. Here, an image processing system will be described.
【0005】図4は、従来技術による車両検知装置の第
1の実施例の構成図であり、撮像装置1は、車線12の
進入方向に向けて、進入してくる車両10、及び、背景
11を撮像する。FIG. 4 is a configuration diagram of a first embodiment of a vehicle detection device according to the prior art. The image pickup device 1 includes a vehicle 10 entering the lane 12 and a background 11. Is imaged.
【0006】撮像された画像は、ディジタル化されて画
像メモリ2に記憶される。また、参照メモリ3には、予
め車両10の存在しないときの背景11のみが撮像され
ている画像を登録しておく。[0006] The captured image is digitized and stored in the image memory 2. In the reference memory 3, an image in which only the background 11 when the vehicle 10 does not exist is registered in advance.
【0007】画像メモリ2と参照メモリ3の内容は、差
分演算回路21に入力され、2つの入力画像の画素毎に
差の絶対値が計算される。差分演算回路21の出力は、
二値化回路6に入力され、差の絶対値が予め設定された
閾値より大きい画素の領域が検出される。[0007] The contents of the image memory 2 and the reference memory 3 are input to a difference calculation circuit 21 and the absolute value of the difference is calculated for each pixel of the two input images. The output of the difference operation circuit 21 is
An area of a pixel which is input to the binarization circuit 6 and whose absolute value of the difference is larger than a preset threshold is detected.
【0008】二値化回路6の出力は、特徴抽出回路8に
入力される。特徴抽出回路8では、二値化回路6から出
力される領域、即ち車両領域の面積や、外接四角形、重
心位置等の画像上の特徴量が計測される。[0008] The output of the binarization circuit 6 is input to a feature extraction circuit 8. The feature extraction circuit 8 measures features output from the binarization circuit 6, such as the area of the vehicle region, the circumscribed rectangle, and the position of the center of gravity.
【0009】特徴抽出回路8の出力は、表示器9により
表示されたり、また、図示していない通信手段により上
位装置に出力され、料金機械の制御が行われる。本装置
の動作を図5を用いて更に詳しく説明する。The output of the feature extracting circuit 8 is displayed on a display 9 or output to a higher-level device by a communication means (not shown) to control a charge machine. The operation of the present apparatus will be described in more detail with reference to FIG.
【0010】図4のように車両10の前方から撮像装置
1で車両を撮像すると、図5(a)に示すように車両1
0と背景11を含む画像が撮像される。この入力画像が
画像メモリ2に記憶される。When an image of the vehicle is taken by the imaging device 1 from the front of the vehicle 10 as shown in FIG. 4, as shown in FIG.
An image including 0 and the background 11 is captured. This input image is stored in the image memory 2.
【0011】また、参照メモリ3には、図5(b)に示
すような背景11のみが撮像されている画像が予め登録
されている。差分演算回路21では、画像メモリ2の内
容と参照メモリ3の内容の各画素毎の差の絶対値を求め
る。In the reference memory 3, an image of only the background 11 as shown in FIG. 5B is registered in advance. The difference calculation circuit 21 calculates the absolute value of the difference between the contents of the image memory 2 and the contents of the reference memory 3 for each pixel.
【0012】画像上の背景11の部分では、同じ画像と
なっているので差を求めると0になる。しかしながら、
車両10が進入していると、その部分の画素の濃度は変
化しており、差を求めるといくらかの値が出力される。The background 11 on the image is the same image, and the difference is calculated to be 0. However,
When the vehicle 10 enters, the density of the pixel in that part changes, and when the difference is obtained, some value is output.
【0013】ここで、車両10の塗装色が白い場合と、
黒い場合では差の値は符号が逆転するため、絶対値を求
めることにより車両10の領域のみがある値以上の出力
を示す。Here, the case where the paint color of the vehicle 10 is white,
In the case of black, since the sign of the difference value is reversed, the absolute value of the difference value indicates an output of a certain value or more only in the area of the vehicle 10.
【0014】この差分演算回路21の出力を、二値化回
路6において、予め設定される閾値と比較し、閾値以上
の画素は“H”を、閾値未満の画素は“L”を出力す
る。これにより図5(c)のように車両10の領域のみ
が“H”となる画像が得られる。The output of the difference calculation circuit 21 is compared with a preset threshold value in the binarization circuit 6, and a pixel having a threshold value or more outputs "H" and a pixel having a value less than the threshold value outputs "L". As a result, an image in which only the area of the vehicle 10 becomes “H” as shown in FIG. 5C is obtained.
【0015】特徴抽出回路8では、図5(c)に示すよ
うな車両10領域の特徴量を求める。特徴量は、図5
(c)に示す車両10領域の高さ方向の上下端jmin 、
jmax 及び、横方向の左右端imin 、imax 等の外接四
角形や、面積、即ち、“H”の領域の画素数等を用い
る。The feature extraction circuit 8 obtains feature amounts of the vehicle 10 area as shown in FIG. The features are shown in FIG.
(C) upper and lower ends j min of the vehicle 10 area in the height direction,
The circumscribed rectangle such as j max and the left and right ends i min and i max in the horizontal direction, the area, that is, the number of pixels in the “H” region, and the like are used.
【0016】特徴抽出回路8の出力は、表示器9にて操
作員に表示され、車種の判定、ゲートの開閉などが行わ
れる。この第1の従来例では、車両10の検知に差分演
算回路21を用いているが、差分の場合は日照条件の変
化などにより画像全体の濃度が変化した場合、全ての領
域を変化領域、即ち車両10と判断してしまうことがあ
る。The output of the feature extraction circuit 8 is displayed to an operator on a display 9 to determine a vehicle type, open and close a gate, and the like. In the first conventional example, the difference calculation circuit 21 is used for detecting the vehicle 10. However, in the case of a difference, if the density of the entire image changes due to a change in sunshine conditions, all the areas are changed areas, that is, It may be determined that the vehicle 10 is used.
【0017】そこで、図6に示す第2の従来例では、差
分演算回路21に変えて、相関演算回路22を用いてい
る。他の部分については第1の従来例と同一であるため
説明は省略し、相関演算回路22の動作についてのみ、
図7を用いて説明する。In the second conventional example shown in FIG. 6, a correlation operation circuit 22 is used instead of the difference operation circuit 21. The other parts are the same as those of the first conventional example, and therefore description thereof is omitted, and only the operation of the correlation operation circuit 22 is described.
This will be described with reference to FIG.
【0018】相関演算回路5は、図7(a)、(b)に
示すように画像メモリ2、及び、参照メモリ3を全く同
じようにいくつかの矩形領域に分割する。画像メモリ2
と参照メモリ3の対応する矩形領域毎に、次式で示され
る正規化相関値を計算する。The correlation calculation circuit 5 divides the image memory 2 and the reference memory 3 into several rectangular areas in exactly the same manner as shown in FIGS. 7 (a) and 7 (b). Image memory 2
Then, a normalized correlation value represented by the following equation is calculated for each corresponding rectangular area of the reference memory 3.
【0019】 正規化相関値=Σ(fg−μν)/σπN 式(1) ただし f:画像メモリ2の各矩形領域内の各画素の濃度データ g:参照メモリ3の各矩形領域内の各画素の濃度データ μ:画像メモリ2の各矩形領域内の濃度データの平均値 ν:参照メモリ3の各矩形領域内の濃度データの平均値 σ:画像メモリ2の各矩形領域内の濃度データの標準偏
差 π:参照メモリ3の各矩形領域内の濃度データの標準偏
差 N:各矩形領域内のデータ数 これは、各矩形領域毎に、その濃度を濃度の標準偏差で
正規化して差を求めているような種類の演算であり、日
照条件の変化などによる画像全体の濃度変化があって
も、それに影響されず濃度分布の変化の小さい領域は大
きい相関値を、濃度分布の変化の大きい領域は小さい相
関値を示す。Normalized correlation value = Σ (fg−μν) / σπN Expression (1) where f: density data of each pixel in each rectangular area of the image memory 2 g: each pixel in each rectangular area of the reference memory 3 Density data μ: average value of density data in each rectangular area of the image memory 2 ν: average value of density data in each rectangular area of the reference memory 3 σ: standard of density data within each rectangular area of the image memory 2 Deviation π: Standard deviation of density data in each rectangular area of reference memory 3 N: Number of data in each rectangular area This is obtained by normalizing the density of each rectangular area by the standard deviation of density to obtain a difference. Even if there is a change in the density of the entire image due to changes in the sunshine conditions, etc., a region with a small change in the density distribution is unaffected by a large correlation value and a region with a large change in the density distribution is It shows a small correlation value.
【0020】この結果、図7(c)に示すように車両1
0領域を含む矩形領域のみが小さい相関値を示し、二値
化回路6は閾値未満の領域を“H”、閾値以上の領域は
“L”となるように反転二値化し、車両10の領域が検
知できる。As a result, as shown in FIG.
Only the rectangular area including the zero area indicates a small correlation value, and the binarization circuit 6 reversely binarizes the area below the threshold to “H” and the area above the threshold to “L”. Can be detected.
【0021】[0021]
【発明が解決しようとする課題】しかし、従来の技術に
は、次のような問題がある。 (1)従来技術による差分演算回路を用いた車両検知装
置では、日照変化などにより画像全体の濃度が変化した
場合に、車両の有無にかかわらず、画像全体が車両領域
と判断され、信頼性が低い。 (2)また、従来技術による相関演算回路を用いた車両
検知装置では、最終的に得られる車両検知結果の解像力
を大きくするためには、正規化相関演算を行う矩形領域
の大きさを小さくする必要があるが、この場合は、矩形
領域内の画素数が少ないために、濃度を正規化したとき
に、画像上のノイズにより背景領域に於いても相関値が
下がったり、また、相関演算を行うための特徴的な濃度
変化領域が入らないために、相関結果の信頼性が低くな
る。 (3)逆に、相関演算の信頼性を向上するためには、矩
形領域を大きくしなければならず、最終的に得られる車
両領域の解像度が悪くなり、車種判別に用いるための特
徴量の精度が悪くなると言った課題があった。本発明
は、これらの問題を解決することができる装置を提供す
ることを目的とする。However, the prior art has the following problems. (1) In a vehicle detection device using a difference calculation circuit according to the prior art, when the density of the entire image changes due to a change in sunshine or the like, the entire image is determined to be a vehicle area regardless of the presence or absence of a vehicle, and reliability is improved. Low. (2) In the vehicle detection device using the correlation calculation circuit according to the related art, in order to increase the resolving power of the finally obtained vehicle detection result, the size of the rectangular area for performing the normalized correlation calculation is reduced. In this case, since the number of pixels in the rectangular area is small, when the density is normalized, the correlation value in the background area may be reduced due to noise on the image, or the correlation operation may not be performed. Since there is no characteristic density change area to perform, the reliability of the correlation result is low. (3) Conversely, in order to improve the reliability of the correlation calculation, the rectangular area must be enlarged, the resolution of the finally obtained vehicle area deteriorates, and the feature amount used for vehicle type determination is reduced. There was a problem that accuracy was worsened. An object of the present invention is to provide a device that can solve these problems.
【0022】[0022]
(第1の手段)本発明に係る車両検知装置は、駐車場や
有料道路の料金所におけるゲートへの車両の進入を検知
し、又は、形状を計測する装置において、(A)入口方
向の画像を撮像するための撮像装置1と、(B)撮像装
置の出力する画像を記憶する画像メモリ2と、(C)車
両の存在しないときの画像を登録する参照メモリ3と、
(D)参照メモリ3の内容と画像メモリ2の内容を縦長
矩形領域13aに分割して、それぞれの領域の正規化相
関値を求める縦相関演算回路4と、(E)参照メモリ3
の内容と画像メモリ2の内容を横長矩形領域13bに分
割して、それぞれの領域の正規化相関値を求める横相関
演算回路5と、(F)縦相関演算回路4の演算回路の出
力を予め設定された閾値により二値化する第1の二値化
回路61と、(G)横相関演算回路5の演算回路の出力
を予め設定された閾値により二値化する第2の二値化回
路62と、(H)前記第1の二値化回路61と第2の二
値化回路62の出力の論理積演算を行う論理積回路7
と、(I)論理積回路7からの信号を入力する特徴抽出
回路8を有し、(J)前記論理積回路7は、画像メモリ
2と参照メモリ3の相違点を、縦長矩形領域と横長矩形
領域のそれぞれの正規化相関値の低い領域の論理積部分
として判断し、高解像度で、かつ、信頼性高く検知する
ことを特徴とする。(First Means) A vehicle detection device according to the present invention is a device for detecting the entry of a vehicle into a gate at a tollgate on a parking lot or a toll road, or measuring the shape of the vehicle. An image pickup device 1 for picking up an image, (B) an image memory 2 for storing an image output from the image pickup device, and (C) a reference memory 3 for registering an image when no vehicle is present.
(D) a vertical correlation operation circuit 4 for dividing the content of the reference memory 3 and the content of the image memory 2 into a vertically long rectangular area 13a and obtaining a normalized correlation value of each area;
And the contents of the image memory 2 are divided into horizontally long rectangular areas 13b, and the outputs of the horizontal correlation operation circuit 5 for obtaining the normalized correlation value of each area and (F) the output of the operation circuit of the vertical correlation operation circuit 4 are obtained in advance. A first binarizing circuit 61 for binarizing with a set threshold, and a second binarizing circuit (G) for binarizing the output of the arithmetic circuit of the horizontal correlation arithmetic circuit 5 with a preset threshold. And (H) an AND circuit 7 for performing an AND operation on the outputs of the first and second binarization circuits 61 and 62
And (I) a feature extraction circuit 8 for inputting a signal from a logical product circuit 7. (J) The logical product circuit 7 compares a difference between the image memory 2 and the reference memory 3 with a vertically long rectangular area and a horizontally long rectangular area. It is characterized in that it is determined as a logical product of the regions with low normalized correlation values of the rectangular regions, and the detection is performed with high resolution and high reliability.
【0023】(第2の手段)本発明に係る車両検知装置
は、第1の手段において、縦相関演算回路4と横演算相
関回路5、及び、演算回路の出力を二値化する第1の二
値化回路61と第2の二値化回路62を、同時に演算す
ることにより高速に検知することを特徴とする。(Second Means) In the vehicle detecting apparatus according to the present invention, in the first means, the vertical correlation operation circuit 4, the horizontal operation correlation circuit 5, and the first means for binarizing the output of the operation circuit. The binarization circuit 61 and the second binarization circuit 62 are operated at the same time to detect at high speed.
【0024】すなわち、本発明は、従来技術の課題を解
決するために、入口方向の画像を撮像するための撮像装
置1と、撮像装置の出力する画像を記憶する画像メモリ
2と、車両の存在しないときの画像を登録する参照メモ
リ3と、参照メモリの内容と画像メモリの内容を縦長矩
形領域に分割してそれぞれの領域の正規化相関値を求め
る縦相関演算回路4と、参照メモリの内容と画像メモリ
の内容を横長矩形領域に分割してそれぞれの領域の正規
化相関値を求める横相関演算回路5と、それぞれの演算
回路の出力を予め設定された閾値により二値化する2つ
の二値化回路61、62と、2つの二値化回路の出力の
論理積演算を行う論理積回路7を有する。That is, in order to solve the problems of the prior art, the present invention provides an image pickup apparatus 1 for picking up an image in an entrance direction, an image memory 2 for storing an image output from the image pickup apparatus, A reference memory 3 for registering an image when not to be stored, a vertical correlation operation circuit 4 for dividing the content of the reference memory and the content of the image memory into a vertically long rectangular area and obtaining a normalized correlation value of each area, and a content of the reference memory And a horizontal correlation operation circuit 5 for dividing the contents of the image memory into a horizontally long rectangular area to obtain a normalized correlation value of each area, and two binary circuits for binarizing the output of each operation circuit with a preset threshold value. It has value converting circuits 61 and 62 and a logical product circuit 7 for performing a logical product operation of the outputs of the two binarizing circuits.
【0025】したがって、次のように作用する。以上の
ような構成において、縦相関演算回路4、及び、横相関
演算回路5では、それぞれ画像メモリ、参照メモリの内
容を縦長矩形領域、横長矩形領域に分割して正規化相関
値を求める。Therefore, the operation is as follows. In the above configuration, the vertical correlation operation circuit 4 and the horizontal correlation operation circuit 5 divide the contents of the image memory and the reference memory into a vertically long rectangular area and a horizontally long rectangular area, respectively, to obtain a normalized correlation value.
【0026】この時、矩形領域の大きさは、短辺を最終
的に必要とする車両領域の解像度に相当する程度の長さ
とし、長辺を各矩形領域の正規化相関演算の信頼性が得
られる程度の大きさとする。At this time, the size of the rectangular area is such that the short side is long enough to correspond to the resolution of the finally required vehicle area, and the long side is reliable for the normalized correlation operation of each rectangular area. To a size that can be used.
【0027】縦相関演算回路4、及び、横相関演算回路
5の出力を、それぞれに対応する二値化回路で予め設定
された閾値と比較し、閾値以上の領域は“L”に、閾値
未満の領域は“H”になるように反転に値化した後、論
理積回路7により、両出力の論理積を求めることによ
り、矩形領域の短辺に相当する解像度で、かつ、短辺と
長辺の積、即ち、矩形領域の面積に相当する画素数で計
算された、十分に信頼性のある正規化相関値での検知が
行えるようになる。The outputs of the vertical correlation operation circuit 4 and the horizontal correlation operation circuit 5 are compared with threshold values set in advance by the corresponding binarization circuits. Is converted into an inverted value so that it becomes "H", and the logical product of both outputs is obtained by the logical product circuit 7 to obtain a resolution corresponding to the short side of the rectangular area and the short side and the long side. It is possible to perform detection with a sufficiently reliable normalized correlation value calculated with the product of the sides, that is, the number of pixels corresponding to the area of the rectangular region.
【0028】[0028]
(第1の実施の形態)本発明の第1の実施の形態を図1
〜図3に示す。図1は、本発明の第1の実施の形態に係
る車両検知装置の構成図。(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
3 to FIG. FIG. 1 is a configuration diagram of a vehicle detection device according to a first embodiment of the present invention.
【0029】図2は、第1の実施の形態の係る車両検知
のための相関演算領域の説明図。図3は、相関演算結果
から、車両領域を決定する論理積演算の説明図である。
従来技術と同じ働きをする構成要素は同一の番号を記入
し、説明は省略する。FIG. 2 is an explanatory diagram of a correlation calculation area for vehicle detection according to the first embodiment. FIG. 3 is an explanatory diagram of a logical product operation for determining a vehicle area from the result of the correlation operation.
The components having the same functions as those of the related art are denoted by the same reference numerals, and description thereof is omitted.
【0030】図1において、撮像装置1により撮像され
た車両10、背景11を含む画像は、ディジタル化され
画像メモリ2に記憶される。In FIG. 1, an image including a vehicle 10 and a background 11 captured by an imaging device 1 is digitized and stored in an image memory 2.
【0031】また、参照メモリ3には、図2(c)、
(d)に示すような車両10のない、背景11のみの画
像を予め登録しておく。縦相関演算回路4は、画像メモ
リ2の内容と、参照メモリ3の内容を、図2(a)、
(c)に示すように、縦長の矩形領域に分割し、それぞ
れの正規化相関値を計算する。In the reference memory 3, FIG.
An image of only the background 11 without the vehicle 10 as shown in (d) is registered in advance. The vertical correlation operation circuit 4 compares the contents of the image memory 2 and the contents of the reference memory 3 with each other as shown in FIG.
As shown in (c), the image is divided into vertically long rectangular areas, and the respective normalized correlation values are calculated.
【0032】この時、矩形領域の短辺を最終的に必要と
する車両領域の解像度に相当する程度の長さとし、長辺
を各矩形領域の正規化相関演算の信頼性が得られる程度
の大きさとする。At this time, the short side of the rectangular area is set to a length corresponding to the resolution of the finally required vehicle area, and the long side is set to a size large enough to obtain the reliability of the normalized correlation calculation of each rectangular area. And
【0033】例えば、従来技術による正規化相関演算で
は8×8画素の領域を用いて正規化相関値の信頼性が確
保できていたとすると、ここでは、2×32画素、及
び、32×2画素の領域で正規化相関演算を行う。For example, if it is assumed that the reliability of the normalized correlation value can be ensured by using the area of 8 × 8 pixels in the normalized correlation operation according to the prior art, here, 2 × 32 pixels and 32 × 2 pixels The normalized correlation operation is performed in the region of.
【0034】これにより、従来技術による方法と同じ画
素数のデータを用いているために、得られる正規化相関
値の信頼性は同程度と言える。また、各矩形領域の位置
は画像毎に変更するものではなく、常に同一の位置でも
構わないため、各矩形領域の位置を記憶素子に記憶さ
せ、その領域のデータを読み出すように構成する。As a result, since the data having the same number of pixels as in the conventional method is used, the reliability of the obtained normalized correlation value can be said to be substantially the same. In addition, since the position of each rectangular area does not change for each image and may always be the same, the position of each rectangular area is stored in a storage element, and data in that area is read.
【0035】縦相関演算回路4の出力は、第1の二値化
回路61に入力される。第1の相関回路61では、入力
される正規化相関値と、予め設定される閾値を比較し、
閾値以上であるならば“L”を、閾値未満ならば“H”
を出力する反転二値化を行う。The output of the vertical correlation operation circuit 4 is input to a first binarization circuit 61. The first correlation circuit 61 compares the input normalized correlation value with a preset threshold value,
"L" if it is equal to or more than the threshold, "H" if less than the threshold
Is output.
【0036】同様に、横相関演算回路5は、画像メモリ
2の内容と、参照メモリ3の内容を図2(b)、(d)
に示すように、横長の矩形領域に分割し、それぞれの正
規化相関値を計算した後、第2の二値化回路62で反転
二値化が行われる。Similarly, the horizontal correlation operation circuit 5 compares the contents of the image memory 2 and the contents of the reference memory 3 with each other as shown in FIGS.
As shown in (1), after dividing into a horizontally long rectangular area and calculating the respective normalized correlation values, the second binarization circuit 62 performs inversion binarization.
【0037】縦相関演算回路4、第1の二値化回路61
の処理と、横相関演算回路5、第2の二値化回路62と
の処理は、同時に、並列に実行し、高速化を図ることも
可能である。The vertical correlation operation circuit 4 and the first binarization circuit 61
And the processing by the horizontal correlation operation circuit 5 and the second binarization circuit 62 can be simultaneously executed in parallel to increase the speed.
【0038】第1、第2の二値化回路61、62の出力
は、図2、図3の(e)、(f)のようになる。図では
“H”の領域にのみハッチングをしている。The outputs of the first and second binarization circuits 61 and 62 are as shown in FIGS. 2 and 3 (e) and (f). In the figure, hatching is applied only to the “H” region.
【0039】論理積回路7では、第1、第2の二値化回
路61、62の出力する二値化画像の論理積が計算され
る。論理積の結果は、図3(g)に示すように、太線で
示された領域が第1、第2の二値化回路61、62の出
力する二値化画像の“H”の領域であり、ハッチングを
した領域のみが出力されることになる。The AND circuit 7 calculates the logical product of the binarized images output from the first and second binarization circuits 61 and 62. As a result of the logical product, as shown in FIG. 3 (g), the region indicated by the thick line is the “H” region of the binarized image output from the first and second binarization circuits 61 and 62. Yes, only the hatched area is output.
【0040】図3より明らかなように、車両検知最終結
果は縦長矩形領域、及び、横長矩形領域の短辺で構成さ
れる升目に相当する解像度で検知されている。例えば、
従来技術による方法で8×8画素の領域を用いて正規化
相関値の演算を行っていたすると、入力画像を縦横共に
1/8倍にした解像力しか得られないが、ここでは、2
×32画素、及び、32×2画素の領域で正規化相関演
算を行うことにより、入力画像を縦横共に矩形領域の短
辺である2画素で除した、1/2倍にした解像力で車両
の検知結果が得られることになる。図3(g)の車両検
知結果が得られると、従来と同様に特徴抽出回路8で画
像上の特徴量を抽出し、表示器9に表示する。As is apparent from FIG. 3, the final result of vehicle detection is detected at a resolution corresponding to the square formed by the short sides of the vertically long rectangular area and the horizontally long rectangular area. For example,
If the calculation of the normalized correlation value is performed using the area of 8 × 8 pixels by the method according to the related art, the resolution of the input image can be obtained only by 1 / times in both the vertical and horizontal directions.
By performing a normalized correlation operation in the area of × 32 pixels and 32 × 2 pixels, the input image is divided by two pixels, which are the short sides of the rectangular area in both the vertical and horizontal directions, and the resolution of the vehicle is reduced by half. A detection result will be obtained. When the vehicle detection result of FIG. 3G is obtained, the feature amount on the image is extracted by the feature extraction circuit 8 and displayed on the display 9 as in the conventional case.
【0041】[0041]
【発明の効果】本発明は前述のように構成されているの
で、以下に記載するような効果を奏する。 (1)車両を検知するための画像処理が正規化相関演算
による処理を行うために、日照変化による誤検知は少な
い。 (2)正規化相関値の計算を行うための画素数が十分に
信頼性の高い分だけ確保できるために、得られる正規化
相関値の信頼性が高い。 (3)最終的に得られる車両領域の解像度は矩形領域の
短辺に相当する解像力となるために、本発明の検知結果
を用いて計測される画像上の特徴量の分解能も高くな
り、車種判定などに用いる場合の信頼性を向上すること
ができる。 (4)縦相関演算と横相関演算を並列に実行することが
可能であり、高速化を図ることができる。Since the present invention is configured as described above, it has the following effects. (1) Since the image processing for detecting the vehicle performs processing by the normalized correlation calculation, erroneous detection due to a change in sunlight is small. (2) Since the number of pixels for calculating the normalized correlation value can be secured by a sufficiently high reliability, the obtained normalized correlation value has high reliability. (3) Since the resolution of the vehicle region finally obtained is the resolution corresponding to the short side of the rectangular region, the resolution of the feature amount on the image measured using the detection result of the present invention also increases, and the vehicle type It is possible to improve the reliability in the case where it is used for a judgment or the like. (4) The vertical correlation operation and the horizontal correlation operation can be performed in parallel, and the speed can be increased.
【図1】本発明の第1の実施の形態に係る車両検知装置
の構成図。FIG. 1 is a configuration diagram of a vehicle detection device according to a first embodiment of the present invention.
【図2】本発明の第1の実施の形態の係る車両検知のた
めの相関演算領域の説明図。FIG. 2 is an explanatory diagram of a correlation calculation area for vehicle detection according to the first embodiment of the present invention.
【図3】相関演算結果から、車両領域を決定する論理積
演算の説明図。FIG. 3 is an explanatory diagram of an AND operation for determining a vehicle area from a correlation operation result.
【図4】従来技術による車両検知装置の第1例の構造
図。FIG. 4 is a structural diagram of a first example of a vehicle detection device according to the related art.
【図5】従来技術による車両検知装置の第1例の処理過
程の説明図。FIG. 5 is an explanatory diagram of a processing procedure of a first example of a vehicle detection device according to the related art.
【図6】従来技術による車両検知装置の第2例の構造
図。FIG. 6 is a structural diagram of a second example of a vehicle detection device according to the related art.
【図7】従来技術による車両検知装置の第2例の処理過
程の説明図。FIG. 7 is an explanatory diagram of a process of a second example of the vehicle detection device according to the related art.
1…撮像装置 2…画像メモリ 3…参照メモリ 4…縦相関演算回路 5…横相関演算回路 6…二値化回路 7…論理積回路 8…特徴抽出回路 9…表示器 10…車両 11…背景 12…車線 13a…縦長矩形領域 13b…横長矩形領域 21…差分演算回路 22…相関演算回路 61…第1の二値化回路 62…第2の二値化回路 DESCRIPTION OF SYMBOLS 1 ... Image pick-up device 2 ... Image memory 3 ... Reference memory 4 ... Vertical correlation operation circuit 5 ... Horizontal correlation operation circuit 6 ... Binarization circuit 7 ... Logical product circuit 8 ... Feature extraction circuit 9 ... Display 10 ... Vehicle 11 ... Background DESCRIPTION OF SYMBOLS 12 ... Lane 13a ... Vertical rectangular area 13b ... Horizontal rectangular area 21 ... Difference operation circuit 22 ... Correlation operation circuit 61 ... 1st binarization circuit 62 ... 2nd binarization circuit
Claims (2)
への車両の進入を検知し、又は、形状を計測する装置に
おいて、(A)入口方向の画像を撮像するための撮像装
置(1)と、(B)撮像装置の出力する画像を記憶する
画像メモリ(2)と、(C)車両の存在しないときの画
像を登録する参照メモリ(3)と、(D)参照メモリ
(3)の内容と画像メモリ(2)の内容を縦長矩形領域
(13a)に分割して、それぞれの領域の正規化相関値
を求める縦相関演算回路(4)と、(E)参照メモリ
(3)の内容と画像メモリ(2)の内容を横長矩形領域
(13b)に分割して、それぞれの領域の正規化相関値
を求める横相関演算回路(5)と、(F)縦相関演算回
路(4)の演算回路の出力を予め設定された閾値により
二値化する第1の二値化回路(61)と、(G)横相関
演算回路(5)の演算回路の出力を予め設定された閾値
により二値化する第2の二値化回路(62)と、(H)
前記第1の二値化回路(61)と第2の二値化回路(6
2)の出力の論理積演算を行う論理積回路(7)と、
(I)論理積回路(7)からの信号を入力する特徴抽出
回路(8)を有し、(J)前記論理積回路(7)は、画
像メモリ(2)と参照メモリ(3)の相違点を、縦長矩
形領域と横長矩形領域のそれぞれの正規化相関値の低い
領域の論理積部分として判断し、検知することを特徴と
する車両検知装置。An apparatus for detecting an entry of a vehicle into a gate at a tollgate on a parking lot or a toll road, or measuring a shape of the vehicle, (A) an imaging apparatus for capturing an image in an entrance direction. (B) an image memory (2) for storing an image output from the imaging device, (C) a reference memory (3) for registering an image when no vehicle is present, and (D) a reference memory (3). A vertical correlation operation circuit (4) that divides the contents and the contents of the image memory (2) into a vertically long rectangular area (13a) and obtains a normalized correlation value of each area, and (E) the contents of a reference memory (3) And the contents of the image memory (2) are divided into horizontally long rectangular areas (13b), and a horizontal correlation operation circuit (5) for obtaining a normalized correlation value of each area, and (F) a vertical correlation operation circuit (4) First binary for binarizing the output of the arithmetic circuit with a preset threshold Circuit (61), and (G) a second binarizing circuit for binarizing the preset threshold the output of the arithmetic circuit of the horizontal correlation computing circuit (5) (62), (H)
The first binarization circuit (61) and the second binarization circuit (6
An AND circuit (7) for performing an AND operation on the output of 2);
(I) a feature extraction circuit (8) for inputting a signal from an AND circuit (7); and (J) the AND circuit (7) is different from an image memory (2) and a reference memory (3). A vehicle detection device, wherein a point is determined and detected as a logical product of areas having a low normalized correlation value in each of a vertically-long rectangular area and a horizontally-long rectangular area.
(5)、及び、演算回路の出力を二値化する第1の二値
化回路(61)と第2の二値化回路(62)を、同時に
演算することにより高速に検知することを特徴とする請
求項1記載の車両検知装置。2. A vertical correlation operation circuit (4) and a horizontal operation correlation circuit (5), and a first binarization circuit (61) and a second binarization circuit for binarizing an output of the operation circuit. 2. The vehicle detecting device according to claim 1, wherein (62) is detected at a high speed by calculating at the same time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP00879797A JP3349381B2 (en) | 1997-01-21 | 1997-01-21 | Vehicle entry detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP00879797A JP3349381B2 (en) | 1997-01-21 | 1997-01-21 | Vehicle entry detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10208045A true JPH10208045A (en) | 1998-08-07 |
JP3349381B2 JP3349381B2 (en) | 2002-11-25 |
Family
ID=11702866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP00879797A Expired - Lifetime JP3349381B2 (en) | 1997-01-21 | 1997-01-21 | Vehicle entry detection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3349381B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007058674A (en) * | 2005-08-25 | 2007-03-08 | Sanyo Electric Co Ltd | Object recognition device |
WO2010058703A1 (en) * | 2008-11-18 | 2010-05-27 | 株式会社 明電舎 | Passing train imaging device using image processing |
-
1997
- 1997-01-21 JP JP00879797A patent/JP3349381B2/en not_active Expired - Lifetime
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007058674A (en) * | 2005-08-25 | 2007-03-08 | Sanyo Electric Co Ltd | Object recognition device |
US7809196B2 (en) | 2005-08-25 | 2010-10-05 | Sanyo Electric Co., Ltd | Object recognition apparatus |
WO2010058703A1 (en) * | 2008-11-18 | 2010-05-27 | 株式会社 明電舎 | Passing train imaging device using image processing |
JP2010124084A (en) * | 2008-11-18 | 2010-06-03 | Meidensha Corp | Passing train photographing device by means of image processing |
Also Published As
Publication number | Publication date |
---|---|
JP3349381B2 (en) | 2002-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112329873B (en) | Training method of target detection model, target detection method and device | |
JPH08233525A (en) | Vehicle-type discriminating apparatus | |
JPH1186185A (en) | Vehicle-type discriminating device | |
JP3349381B2 (en) | Vehicle entry detection device | |
JPH07244717A (en) | Travel environment recognition device for vehicle | |
JP3505362B2 (en) | Vehicle detection method | |
JP2851348B2 (en) | License plate reader | |
CN115019042A (en) | High-precision identification method for tunnel structure cracks | |
JPH1031797A (en) | Method for specifying vehicle in parking lot, system therefor, parking charge calculation method and system therefor | |
JP2924063B2 (en) | Image processing type traffic flow measurement device | |
JP2001126192A (en) | Method for judging parked or vacancy state in parking space of parking lot | |
JP2001297397A (en) | Method and device for counting vehicle | |
KR100459479B1 (en) | Grouping apparatus for automobile and method thereof | |
JP3534557B2 (en) | Vehicle entry detection device | |
JPH0979821A (en) | Obstacle recognizing device | |
JPH05312818A (en) | Speed measuring device and method through image processing | |
JP3207696B2 (en) | Vehicle type identification device | |
JP3021269B2 (en) | Vehicle detection device | |
JPH03276070A (en) | Automatic vehicle number reader with speed measuring function | |
JPH07166729A (en) | Vehicle family discriminating device | |
JP2001033238A (en) | Object recognizing apparatus | |
JP2001043483A (en) | System for measuring traffic flow | |
JPH05298594A (en) | Image type vehicle sensoring method | |
JP2829960B2 (en) | Background information extraction method | |
JP2845510B2 (en) | Number plate detector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20020806 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080913 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080913 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090913 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090913 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100913 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110913 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110913 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120913 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120913 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130913 Year of fee payment: 11 |
|
EXPY | Cancellation because of completion of term |