JP2015041188A - Image analyzing device and image analyzing method - Google Patents

Image analyzing device and image analyzing method Download PDF

Info

Publication number
JP2015041188A
JP2015041188A JP2013171168A JP2013171168A JP2015041188A JP 2015041188 A JP2015041188 A JP 2015041188A JP 2013171168 A JP2013171168 A JP 2013171168A JP 2013171168 A JP2013171168 A JP 2013171168A JP 2015041188 A JP2015041188 A JP 2015041188A
Authority
JP
Japan
Prior art keywords
image
traffic volume
abnormal
current
unit
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
JP2013171168A
Other languages
Japanese (ja)
Other versions
JP5835287B2 (en
Inventor
渡辺 孝弘
Takahiro Watanabe
孝弘 渡辺
規景 今中
Norihiro Imanaka
規景 今中
孝宏 前
Takahiro Mae
孝宏 前
増田 誠
Makoto Masuda
誠 増田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2013171168A priority Critical patent/JP5835287B2/en
Publication of JP2015041188A publication Critical patent/JP2015041188A/en
Application granted granted Critical
Publication of JP5835287B2 publication Critical patent/JP5835287B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Alarm Devices (AREA)
  • Traffic Control Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology that allows an inspector to easily confirm whether or not a camera is normal, which is used in measurement of a traveling state of a vehicle.SOLUTION: There is provided an image analyzing device 20 that outputs analysis data obtained by analyzing an image photographed by an imaging unit 170, and includes a display control unit 213 that displays, when a result of measurement conducted on the basis of the current image in which a plane on the road is photographed by the imaging unit 170 is determined to be abnormal, an abnormal candidate image and a reference image in which the plane of the road is photographed in advance by the imaging unit 170.

Description

本発明は、画像分析装置および画像分析方法に関するものである。   The present invention relates to an image analysis apparatus and an image analysis method.

近年、カメラによって道路平面が撮像されて得られた撮像画像から車両の走行状況を計測する技術が開発されている。車両の走行状況の例としては、交通量、車両速度などが挙げられる。車両の走行状況を計測している間にカメラに異常が生じた場合には、車両の走行状況の計測結果も異常となってしまう状況が起こり得る。一例として、カメラの撮像範囲が正常範囲から外れてしまった場合などには計測結果が異常となり得る。   2. Description of the Related Art In recent years, a technique has been developed for measuring the traveling state of a vehicle from a captured image obtained by capturing a road plane with a camera. Examples of the running situation of the vehicle include traffic volume and vehicle speed. If an abnormality occurs in the camera while measuring the traveling state of the vehicle, a situation may occur in which the measurement result of the traveling state of the vehicle also becomes abnormal. As an example, the measurement result may be abnormal when the imaging range of the camera is out of the normal range.

カメラの異常を検出する技術としては、様々な技術が開示されている。例えば、あるカメラによって撮像された撮像画像に映っている他のカメラの設置位置が正常範囲を超えた場合に、当該他のカメラが異常であると判定する技術が開示されている(例えば、特許文献1参照)。   Various techniques have been disclosed as techniques for detecting camera abnormalities. For example, there is disclosed a technique for determining that another camera is abnormal when the installation position of another camera shown in a captured image captured by a camera exceeds a normal range (for example, a patent) Reference 1).

特開2011−76573号公報JP 2011-76573 A

しかし、特許文献1に記載された技術を用いる場合には、撮像画像に他のカメラが映るようにしてカメラを設置する必要が生じるため、車両の走行状況の計測に用いられるカメラに適用するのは困難である。カメラが正常であるか否かを確認するためには、検査員が撮像画像を検査したりカメラを直接検査したりするのが一般的であるため、カメラが正常であるか否かを検査員が容易に確認することができない。
そして、特許文献1に記載された技術を用いる場合には、撮像画像に他のカメラが映るようにしてカメラを設置する必要が生じるため、1台のカメラのみを用いる場合や、撮影画像に他のカメラが映らないカメラを用いる場合に適用することはできない。
また、カメラが正常であるか否かを確認するためには、検査員が撮像画像を検査したりカメラを直接検査したりするのが一般的である。特許文献1に記載された技術では、カメラに異常があるか否かは検査員が常に確認し続けなければならない。またカメラが異常であるか否かの判断は、現在撮影されている1枚の画像に基づき、しかも目視によって行うため、検査員の経験に左右され、判断のブレや過誤も生じやすい。さらに、検査員によってカメラが異常であると判断される場合にも、計測には影響を及ぼさないケースもある。
However, when the technique described in Patent Document 1 is used, it is necessary to install a camera so that another camera appears in the captured image. It is difficult. In order to confirm whether the camera is normal, the inspector generally inspects the captured image or directly inspects the camera. Therefore, the inspector determines whether the camera is normal. Can not be easily confirmed.
When the technique described in Patent Document 1 is used, it is necessary to install a camera so that another camera appears in the captured image. It cannot be applied when using a camera that does not show the camera.
In order to confirm whether or not the camera is normal, the inspector generally inspects the captured image or directly inspects the camera. In the technique described in Patent Document 1, it is necessary for an inspector to constantly check whether there is an abnormality in the camera. In addition, the determination of whether or not the camera is abnormal is based on a single image that is currently being taken and is made by visual observation, so that it depends on the experience of the inspector and is likely to cause blurring and error. Furthermore, even when the inspector determines that the camera is abnormal, there are cases where the measurement is not affected.

そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、車両の走行状況の計測に用いられるカメラが正常であるか否かを検査員に容易に確認させることが可能な技術を提供することにある。
そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、車両の走行状況の計測に用いられるカメラが正常であるか否かを、計測に悪影響が生じるタイミングで検査員に確認させ、また容易により正確に判断させることが可能な技術を提供することにある。
Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to easily confirm with an inspector whether or not a camera used for measurement of a running state of a vehicle is normal. It is to provide a technique that can be performed.
Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to determine whether or not a camera used for measurement of the traveling state of a vehicle is normal. It is an object of the present invention to provide a technique that allows an inspector to check at a timing and to make it easier and more accurate.

上記問題を解決するために、本発明のある観点によれば、所定の撮像部によって撮像された画像を分析した分析データを出力する画像分析装置であって、前記所定の撮像部によって道路平面が撮像された現画像に基づいて計測された計測結果が異常であると判定された場合、前記所定の撮像部によって前記道路平面があらかじめ撮像された基準画像と所定の異常候補画像とを表示させる表示制御部を備える、画像分析装置が提供される。   In order to solve the above problem, according to an aspect of the present invention, there is provided an image analysis apparatus that outputs analysis data obtained by analyzing an image captured by a predetermined imaging unit, and a road plane is generated by the predetermined imaging unit. A display for displaying a reference image in which the road plane is captured in advance by the predetermined imaging unit and a predetermined abnormality candidate image when it is determined that the measurement result measured based on the captured current image is abnormal An image analysis apparatus including a control unit is provided.

前記計測結果は、少なくとも現交通量および現車両速度の少なくともいずれか一方を含んでもよい。   The measurement result may include at least one of current traffic volume and current vehicle speed.

前記画像分析装置は、前記計測結果が異常であるか否かを判定する判定部をさらに備えてもよい。   The image analysis apparatus may further include a determination unit that determines whether or not the measurement result is abnormal.

前記判定部は、前記現交通量と過去に計測された旧交通量との関係に基づいて、前記現交通量が異常であるか否かを判定してもよい。   The determination unit may determine whether or not the current traffic volume is abnormal based on a relationship between the current traffic volume and the old traffic volume measured in the past.

前記判定部は、前記現車両速度と過去に計測された旧車両速度との関係に基づいて、前記現車両速度が異常であるか否かを判定してもよい。   The determination unit may determine whether or not the current vehicle speed is abnormal based on a relationship between the current vehicle speed and an old vehicle speed measured in the past.

前記判定部は、前記現交通量と前記所定の撮像部に隣接する他の撮像部によって撮像された撮像画像に基づいて計測された交通量との関係に基づいて、前記現交通量が異常であるか否かを判定してもよい。   The determination unit determines that the current traffic volume is abnormal based on a relationship between the current traffic volume and a traffic volume measured based on a captured image captured by another imaging unit adjacent to the predetermined imaging unit. It may be determined whether or not there is.

前記表示制御部は、前記計測結果が異常であると判定された場合、前記基準画像と前記現画像との比較結果に基づいて、前記基準画像と前記異常候補画像とを表示させるか否かを判定してもよい。   If it is determined that the measurement result is abnormal, the display control unit determines whether to display the reference image and the abnormal candidate image based on a comparison result between the reference image and the current image. You may judge.

前記表示制御部は、前記計測結果が異常であると判定された場合、前記基準画像から算出された道路平面パラメータと前記現画像から算出された道路平面パラメータとの比較結果に基づいて、前記基準画像と前記異常候補画像とを表示させるか否かを判定してもよい。   When it is determined that the measurement result is abnormal, the display control unit, based on a comparison result between a road plane parameter calculated from the reference image and a road plane parameter calculated from the current image, It may be determined whether to display an image and the abnormality candidate image.

前記表示制御部は、前記計測結果が異常であると判定された場合、前記基準画像から算出された道路平面パラメータに応じた道路情報および前記異常候補画像から算出された道路平面パラメータに応じた道路情報の少なくともいずれか一方を表示させてもよい。   The display control unit, when it is determined that the measurement result is abnormal, the road information according to the road plane parameter calculated from the reference image and the road according to the road plane parameter calculated from the abnormality candidate image At least one of the information may be displayed.

前記表示制御部は、前記基準画像と前記異常候補画像とを重畳して表示させてもよい。   The display control unit may superimpose and display the reference image and the abnormality candidate image.

また、本発明のある観点によれば、所定の撮像部によって撮像された画像を分析した分析データを出力する画像分析方法であって、前記所定の撮像部によって道路平面が撮像された現画像に基づいて計測された計測結果が異常であると判定された場合、前記所定の撮像部によって前記道路平面があらかじめ撮像された基準画像と所定の異常候補画像とを表示させるステップを含む、画像分析方法が提供される。   According to another aspect of the present invention, there is provided an image analysis method for outputting analysis data obtained by analyzing an image captured by a predetermined imaging unit, wherein the current image obtained by capturing a road plane by the predetermined imaging unit is used. An image analysis method including a step of displaying a reference image in which the road plane is captured in advance by the predetermined imaging unit and a predetermined abnormality candidate image when it is determined that the measurement result measured based on the abnormality is abnormal Is provided.

以上説明したように本発明によれば、車両の走行状況の計測に用いられるカメラが正常であるか否かを検査員に容易に確認させることが可能である。   As described above, according to the present invention, it is possible to make an inspector easily check whether or not a camera used for measurement of a traveling state of a vehicle is normal.

本発明の実施形態の概要を説明するための図である。It is a figure for demonstrating the outline | summary of embodiment of this invention. 本発明の実施形態に係る交通量計測装置の機能構成例を示す図である。It is a figure which shows the function structural example of the traffic measuring device which concerns on embodiment of this invention. 本発明の実施形態に係る画像分析装置の機能構成例を示す図である。It is a figure which shows the function structural example of the image analyzer which concerns on embodiment of this invention. 設定部により使用されるパラメータの例を示す図である。It is a figure which shows the example of the parameter used by the setting part. 設定部の機能の例を説明するための図である。It is a figure for demonstrating the example of the function of a setting part. 計測部および出力制御部の動作例を示すフローチャートである。It is a flowchart which shows the operation example of a measurement part and an output control part. 本発明の実施形態に係る画像分析装置の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the image analyzer which concerns on embodiment of this invention. 判定部による第一の判定例を示すフローチャートである。It is a flowchart which shows the 1st determination example by a determination part. 判定部による第二の判定例を示すフローチャートである。It is a flowchart which shows the 2nd determination example by a determination part. 判定部による第三の判定例を説明するための図である。It is a figure for demonstrating the 3rd determination example by the determination part. 判定部による第三の判定例を説明するための図である。It is a figure for demonstrating the 3rd determination example by the determination part. 判定部による第三の判定例の変形例を説明するための図である。It is a figure for demonstrating the modification of the 3rd determination example by the determination part. 表示制御部によって表示制御される第一の画面例を示す図である。It is a figure which shows the example of the 1st screen display-controlled by a display control part. 表示制御部によって表示制御される第二の画面例を示す図である。It is a figure which shows the example of the 2nd screen display-controlled by a display control part.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書および図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。   Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the present specification and drawings, components having substantially the same functional configuration are denoted by the same reference numerals, and redundant description is omitted.

また、本明細書および図面において、実質的に同一の機能構成を有する複数の構成要素を、同一の符号の後に異なるアルファベットまたは数字を付して区別する場合もある。ただし、実質的に同一の機能構成を有する複数の構成要素の各々を特に区別する必要がない場合、同一符号のみを付する。   In the present specification and drawings, a plurality of constituent elements having substantially the same functional configuration may be distinguished by attaching different alphabets or numbers after the same reference numeral. However, when it is not necessary to particularly distinguish each of a plurality of constituent elements having substantially the same functional configuration, only the same reference numerals are given.

[概要の説明]
続いて、本発明の実施形態の概要を説明する。図1は、本発明の実施形態の概要を説明するための図である。図1に示すように、交通量計測システム1および道路平面が実空間に存在する。交通量計測システム1は、少なくとも交通量計測装置10および画像分析装置20を有しており、交通量計測装置10には撮像部が組み込まれている。撮像部が組み込まれた交通量計測装置10は、撮像方向が道路平面に向けられた状態で設置されている。交通量計測装置10により撮像された撮像画像Img’には道路に設けられたレーンの境界線が映っている。また、図1に示すように、交通量計測装置10のレンズの中心が原点Oに設定されている。
[Description of overview]
Subsequently, an outline of an embodiment of the present invention will be described. FIG. 1 is a diagram for explaining an outline of an embodiment of the present invention. As shown in FIG. 1, the traffic measurement system 1 and the road plane exist in real space. The traffic measurement system 1 has at least a traffic measurement device 10 and an image analysis device 20, and an imaging unit is incorporated in the traffic measurement device 10. The traffic volume measuring device 10 incorporating the imaging unit is installed in a state where the imaging direction is directed to the road plane. The captured image Img ′ captured by the traffic measuring device 10 shows the boundary line of the lane provided on the road. Further, as shown in FIG. 1, the center of the lens of the traffic measuring device 10 is set to the origin O.

図1には、交通量計測装置10に撮像部が組み込まれている例が示されているが、撮像部は交通量計測装置10に組み込まれておらず交通量計測装置10の外部に設置されていてもよい。かかる場合、例えば、交通量計測装置10は、撮像部から送信された撮像画像Img’を受信することにより撮像画像Img’を取得してもよい。また、例えば、交通量計測装置10は、記録媒体に記録された撮像画像Img’を読み込むことにより撮像画像Img’を取得してもよい。   FIG. 1 shows an example in which an imaging unit is incorporated in the traffic measurement device 10, but the imaging unit is not incorporated in the traffic measurement device 10 and is installed outside the traffic measurement device 10. It may be. In such a case, for example, the traffic measurement device 10 may acquire the captured image Img ′ by receiving the captured image Img ′ transmitted from the imaging unit. Further, for example, the traffic volume measuring device 10 may acquire the captured image Img ′ by reading the captured image Img ′ recorded on the recording medium.

交通量計測装置10に組み込まれた撮像部によって撮像された撮像画像はネットワーク30を介して画像分析装置20に提供される。画像分析装置20に提供された撮像画像が画像分析装置20によって分析されると、分析によって得られた分析データが画像分析装置20から出力される。なお、図1に示した例では、交通量計測システム1が1台の画像分析装置20を有しているが、複数台の画像分析装置20を有してもよい。   The captured image captured by the imaging unit incorporated in the traffic measuring device 10 is provided to the image analysis device 20 via the network 30. When the captured image provided to the image analysis device 20 is analyzed by the image analysis device 20, analysis data obtained by the analysis is output from the image analysis device 20. In the example illustrated in FIG. 1, the traffic volume measurement system 1 includes one image analysis device 20, but may include a plurality of image analysis devices 20.

本明細書においては、画像分析装置20に備えられた表示部によって分析データが出力される例を主に説明するが、分析データは、画像分析装置20の外部に存在する表示部に出力されてもよい。あるいは、画像分析装置20を監視する監視装置がネットワーク30に接続されている場合、分析データは画像分析装置20によってネットワーク30を介して監視装置に出力され、監視装置が分析データを表示させてもよい。   In the present specification, an example in which analysis data is output by a display unit provided in the image analysis apparatus 20 will be mainly described. However, the analysis data is output to a display unit existing outside the image analysis apparatus 20. Also good. Alternatively, when a monitoring device that monitors the image analysis device 20 is connected to the network 30, the analysis data is output to the monitoring device by the image analysis device 20 via the network 30, and the monitoring device displays the analysis data. Good.

一方、交通量計測装置10は、撮像画像から車両の走行状況を計測する。しかし、交通量計測装置10に組み込まれた撮像部に異常が生じた場合には、車両の走行状況の計測結果も異常となってしまう状況が起こり得る。一例として、カメラの撮像範囲が正常範囲から外れてしまった場合などには計測結果が異常となり得る。しかし、一般的に、撮像部が正常であるか否かを確認するためには、検査員が撮像画像を検査したり撮像部の状態を直接検査したりする必要がある。そのため、一般的には撮像部が正常であるか否かを検査員が容易に確認することができない。   On the other hand, the traffic volume measuring device 10 measures the traveling state of the vehicle from the captured image. However, when an abnormality occurs in the imaging unit incorporated in the traffic measurement device 10, a situation may occur in which the measurement result of the traveling state of the vehicle also becomes abnormal. As an example, the measurement result may be abnormal when the imaging range of the camera is out of the normal range. However, in general, in order to confirm whether or not the imaging unit is normal, it is necessary for the inspector to inspect the captured image or directly inspect the state of the imaging unit. Therefore, in general, the inspector cannot easily confirm whether or not the imaging unit is normal.

そこで、本明細書においては、車両の走行状況の計測に用いられる撮像部が正常であるか否かを検査員に容易に確認させることが可能な技術を提案する。   In view of this, the present specification proposes a technique that allows an inspector to easily check whether or not an imaging unit used for measurement of a traveling state of a vehicle is normal.

以上、本発明の実施形態の概要を説明した。   The outline of the embodiment of the present invention has been described above.

[実施形態の詳細]
続いて、本発明の実施形態の詳細について説明する。まず、本発明の実施形態に係る交通量計測装置10の機能構成について説明する。図2は、本発明の実施形態に係る交通量計測装置10の機能構成例を示す図である。図2に示すように、本発明の実施形態に係る交通量計測装置10は、制御部110、撮像部170、記憶部180および出力部190を備える。
[Details of the embodiment]
Next, details of the embodiment of the present invention will be described. First, the functional configuration of the traffic volume measuring device 10 according to the embodiment of the present invention will be described. FIG. 2 is a diagram illustrating a functional configuration example of the traffic volume measuring device 10 according to the embodiment of the present invention. As shown in FIG. 2, the traffic volume measuring device 10 according to the embodiment of the present invention includes a control unit 110, an imaging unit 170, a storage unit 180, and an output unit 190.

制御部110は、交通量計測装置10の動作全体を制御する機能を有する。撮像部170は、実空間を撮像することにより撮像画像を取得する機能を有し、例えば、単眼カメラにより構成される。記憶部180は、制御部110を動作させるためのプログラムやデータを記憶することができる。また、記憶部180は、制御部110の動作の過程で必要となる各種データを一時的に記憶することもできる。出力部190は、制御部110による制御に従って出力を行う機能を有する。出力部190の種類は特に限定されず、表示装置であってもよいし、音声出力装置であってもよい。   The control unit 110 has a function of controlling the entire operation of the traffic volume measuring device 10. The imaging unit 170 has a function of acquiring a captured image by imaging a real space, and is configured by, for example, a monocular camera. The storage unit 180 can store a program and data for operating the control unit 110. In addition, the storage unit 180 can temporarily store various data necessary in the course of the operation of the control unit 110. The output unit 190 has a function of performing output in accordance with control by the control unit 110. The type of the output unit 190 is not particularly limited, and may be a display device or an audio output device.

なお、図2に示した例では、撮像部170、記憶部180および出力部190は、交通量計測装置10の内部に存在するが、撮像部170、記憶部180および出力部190の全部または一部は、交通量計測装置10の外部に備えられていてもよい。また、制御部110は、設定部111と、計測部112と、出力制御部113とを備える。制御部110が備えるこれらの各機能部の詳細については、後に説明する。   In the example illustrated in FIG. 2, the imaging unit 170, the storage unit 180, and the output unit 190 exist inside the traffic measurement device 10, but all or one of the imaging unit 170, the storage unit 180, and the output unit 190. The unit may be provided outside the traffic measurement device 10. The control unit 110 includes a setting unit 111, a measurement unit 112, and an output control unit 113. Details of these functional units included in the control unit 110 will be described later.

以上、本発明の実施形態に係る交通量計測装置10の機能構成例について説明した。   The functional configuration example of the traffic volume measuring device 10 according to the embodiment of the present invention has been described above.

続いて、本発明の実施形態に係る画像分析装置20の機能構成について説明する。図3は、本発明の実施形態に係る画像分析装置20の機能構成例を示す図である。図3に示すように、本発明の実施形態に係る画像分析装置20は、制御部210、入力部270、記憶部280および表示部290を備える。   Subsequently, a functional configuration of the image analysis apparatus 20 according to the embodiment of the present invention will be described. FIG. 3 is a diagram illustrating a functional configuration example of the image analysis apparatus 20 according to the embodiment of the present invention. As shown in FIG. 3, the image analysis apparatus 20 according to the embodiment of the present invention includes a control unit 210, an input unit 270, a storage unit 280, and a display unit 290.

制御部210は、画像分析装置20の動作全体を制御する機能を有する。入力部270は、ユーザから操作の入力を受け付ける機能を有する。記憶部280は、制御部210を動作させるためのプログラムやデータを記憶することができる。また、記憶部280は、制御部210の動作の過程で必要となる各種データを一時的に記憶することもできる。表示部290は、制御部210による制御に従って表示を行う機能を有する。   The control unit 210 has a function of controlling the entire operation of the image analysis apparatus 20. The input unit 270 has a function of receiving an operation input from the user. The storage unit 280 can store a program and data for operating the control unit 210. In addition, the storage unit 280 can temporarily store various data necessary in the course of the operation of the control unit 210. The display unit 290 has a function of performing display according to control by the control unit 210.

なお、図3に示した例では、入力部270、記憶部280および表示部290は、画像分析装置20の内部に存在するが、入力部270、記憶部280および表示部290の全部または一部は、画像分析装置20の外部に備えられていてもよい。また、制御部210は、情報取得部211と、判定部212と、表示制御部213とを備える。制御部210が備えるこれらの各機能部の詳細については、後に説明する。   In the example illustrated in FIG. 3, the input unit 270, the storage unit 280, and the display unit 290 exist inside the image analysis apparatus 20, but all or part of the input unit 270, the storage unit 280, and the display unit 290. May be provided outside the image analyzer 20. In addition, the control unit 210 includes an information acquisition unit 211, a determination unit 212, and a display control unit 213. Details of these functional units included in the control unit 210 will be described later.

以上、本発明の実施形態に係る画像分析装置20の機能構成例について説明した。   The functional configuration example of the image analysis apparatus 20 according to the embodiment of the present invention has been described above.

続いて、交通量計測装置10および画像分析装置20それぞれの機能詳細について説明する。まず、本発明の実施形態に係る交通量計測装置10によりキャリブレーションが行われ得る。より詳細には、道路の平面式(以下、「道路平面式」とも言う)を算出する処理と車両の進行方向とを算出する処理とがキャリブレーションとして行われ得る。以下では、図4および図5を参照しながら、設定部111により行われ得るキャリブレーションについて説明する。   Subsequently, details of the functions of the traffic measurement device 10 and the image analysis device 20 will be described. First, calibration can be performed by the traffic measurement device 10 according to the embodiment of the present invention. More specifically, a process for calculating a road plane formula (hereinafter also referred to as a “road plane type”) and a process for calculating the traveling direction of the vehicle may be performed as calibration. Hereinafter, calibration that can be performed by the setting unit 111 will be described with reference to FIGS. 4 and 5.

図4は、設定部111により使用されるパラメータを示す図である。設定部111は、まず、撮像部170を構成する撮像素子のサイズと制御部110に提供される撮像画像Img’のサイズとに基づいて、撮像素子の単位pixel当たりの撮像画像Img’のサイズpix_dotをパラメータとして算出する。撮像画像Img’は、原点Oから焦点距離だけ離れた撮像素子の撮像面上に撮像された撮像画像Imgに基づいて生成される。また、制御部110に提供された撮像画像Img’は、設定部111によって利用され得る。   FIG. 4 is a diagram illustrating parameters used by the setting unit 111. The setting unit 111 first determines the size pix_dot of the captured image Img ′ per unit pixel of the image sensor based on the size of the image sensor that constitutes the image capture unit 170 and the size of the captured image Img ′ provided to the control unit 110. As a parameter. The captured image Img ′ is generated based on the captured image Img captured on the imaging surface of the image sensor that is separated from the origin O by the focal length. In addition, the captured image Img ′ provided to the control unit 110 can be used by the setting unit 111.

図4に示すように、ここでは、撮像素子がCCD(Charge Coupled Device)である場合を例として説明するが、CCDは撮像素子の一例に過ぎない。したがって、撮像素子はCMOS(Complementary Metal Oxide Semiconductor)等であってもよい。   As shown in FIG. 4, here, a case where the image pickup device is a CCD (Charge Coupled Device) will be described as an example, but the CCD is only an example of the image pickup device. Therefore, the imaging element may be a CMOS (Complementary Metal Oxide Semiconductor) or the like.

ここで、CCDサイズをccd_sizeとし、撮像画像Img’(横:width×縦:height)のサイズをimg_sizeとすると、設定部111は、以下の(数式1)によりpix_dotを算出することができる。一般的に、CCDサイズは、CCDの対角線の長さで表されるため、この(数式1)に示されるように、CCDサイズが撮像画像Img’の縦横の2乗和の平方根で除されることにより算出される。しかし、このような手法によるパラメータpix_dotの算出は一例に過ぎないため、他の手法によりパラメータpix_dotが算出されてもよい。例えば、CCDの対角線の代わりにCCDの縦または横の長さが用いられてもよい。   Here, assuming that the CCD size is ccd_size and the size of the captured image Img ′ (horizontal: width × vertical: height) is img_size, the setting unit 111 can calculate pix_dot by the following (Equation 1). In general, since the CCD size is represented by the length of the diagonal line of the CCD, the CCD size is divided by the square root of the sum of squares in the vertical and horizontal directions of the captured image Img ′ as shown in (Equation 1). Is calculated by However, the calculation of the parameter pix_dot by such a method is only an example, and the parameter pix_dot may be calculated by another method. For example, the vertical or horizontal length of the CCD may be used instead of the diagonal line of the CCD.

Figure 2015041188
Figure 2015041188

なお、CCDサイズは、例えば、撮像部170から容易に取得される。また、撮像画像Img’のサイズは、例えば、記憶部180から取得される。したがって、制御部110は、これらのサイズに基づいて、CCDの撮像面に撮像される撮像画像Imgの実空間における3次元座標と制御部110に提供される撮像画像Img’の2次元座標との対応関係を把握することができる。すなわち、制御部110は、この対応関係に基づいて、制御部110に提供される撮像画像Img’の2次元座標からCCDの撮像面に撮像される撮像画像Imgの実空間における3次元座標を把握することができる。   Note that the CCD size is easily acquired from the imaging unit 170, for example. Further, the size of the captured image Img ′ is acquired from the storage unit 180, for example. Therefore, the control unit 110 determines, based on these sizes, the three-dimensional coordinates in the real space of the captured image Img captured on the imaging surface of the CCD and the two-dimensional coordinates of the captured image Img ′ provided to the control unit 110. The correspondence can be grasped. That is, the control unit 110 grasps the three-dimensional coordinates in the real space of the captured image Img imaged on the imaging surface of the CCD from the two-dimensional coordinates of the captured image Img ′ provided to the control unit 110 based on this correspondence. can do.

このように算出されたパラメータを用いてキャリブレーションが行われ得る。以下、図5を参照しながら、設定部111によりパラメータを用いて行われるキャリブレーションについて説明する。   Calibration can be performed using the parameters thus calculated. Hereinafter, calibration performed by the setting unit 111 using parameters will be described with reference to FIG.

図5は、設定部111の機能を説明するための図である。図5に示したように、原点Oを基準としたxyz座標系(実空間)を想定する。このxyz座標系において、道路平面式をR1x+R2x+R3z+R4=0とする。また、車両の進行方向を示すベクトルである進行方向ベクトルvを(vx,vy,vz)とする。なお、以下の説明では、図5に示したように、原点Oから焦点距離fだけ離れた点(焦点)をy軸上に設定し、この焦点を通りy軸に垂直な平面を撮像面とし、この撮像面上に撮像画像Imgが撮像されるものとして説明を続けるが、各座標軸の設定はこのような例に限定されない。   FIG. 5 is a diagram for explaining the function of the setting unit 111. As shown in FIG. 5, an xyz coordinate system (real space) with the origin O as a reference is assumed. In this xyz coordinate system, the road plane expression is R1x + R2x + R3z + R4 = 0. Further, a traveling direction vector v that is a vector indicating the traveling direction of the vehicle is defined as (vx, vy, vz). In the following description, as shown in FIG. 5, a point (focal point) that is separated from the origin O by the focal length f is set on the y axis, and a plane that passes through this focal point and is perpendicular to the y axis is defined as an imaging surface. The description will be continued assuming that the captured image Img is captured on the imaging surface, but the setting of each coordinate axis is not limited to such an example.

道路平面上には、平行な2直線があらかじめ描かれている。したがって、撮像画像Imgには、この平行な2直線が映されている。また、道路平面上には、既知の大きさQ_dis離れた2点Q1,Q2があらかじめ描かれている。撮像画像Imgには、2点Q1,Q2が、Q1’(xs1,f,zs1),Q2’(xs2,f,zs2)として映される。なお、図5に示した例では、Q1,Q2が道路平面上の平行な2直線の各々上の点として描かれているが、Q1,Q2は、道路平面上の点であれば、特に限定されない。   Two parallel straight lines are drawn in advance on the road plane. Therefore, the parallel two straight lines are shown in the captured image Img. On the road plane, two points Q1 and Q2 that are separated by a known size Q_dis are drawn in advance. In the captured image Img, two points Q1 and Q2 are displayed as Q1 '(xs1, f, zs1) and Q2' (xs2, f, zs2). In the example shown in FIG. 5, Q1 and Q2 are drawn as points on each of two parallel straight lines on the road plane. However, Q1 and Q2 are not particularly limited as long as they are points on the road plane. Not.

また、撮像画像Imgに映る2直線のうち、第1の直線が通る2点をT1(x1,y1,z1)およびT4(x4,y4,z4)とし、第2の直線が通る2点をT2(x2,y2,z2)およびT3(x3,y3,z3)とする。すると、図5に示すように、T1、T2、T3およびT4の各々と原点Oとを結ぶ直線と道路平面との交点の座標は、t1・T1、t2・T2、t3・T3およびt4・T4と表される。設定部111は、例えば、以下に示す(前提条件1)に基づいて、キャリブレーションを行うことができる。   Of the two straight lines shown in the captured image Img, the two points through which the first straight line passes are T1 (x1, y1, z1) and T4 (x4, y4, z4), and the two points through which the second straight line passes are T2. Let (x2, y2, z2) and T3 (x3, y3, z3). Then, as shown in FIG. 5, the coordinates of the intersection of the straight line connecting each of T1, T2, T3 and T4 and the origin O and the road plane are t1 · T1, t2 · T2, t3 · T3 and t4 · T4. It is expressed. For example, the setting unit 111 can perform calibration based on the following (Precondition 1).

(前提条件1)
(条件1)道路平面上の平行な2直線の方向ベクトルは同じである。
(条件2)撮像部170のロールは0である。
(条件3)原点Oから道路平面までの距離を高さHとする。
(条件4)道路平面上にQ_dis離れたQ1およびQ2が存在する。
なお、上記ロールが0であるとは、道路平面に対して垂直な方向に設置されている物体が撮像画像Img上においても縦方向に映るように撮像部170が設置されている状態を意味する。
(Prerequisite 1)
(Condition 1) The direction vectors of two parallel straight lines on the road plane are the same.
(Condition 2) The roll of the imaging unit 170 is zero.
(Condition 3) The distance from the origin O to the road plane is the height H.
(Condition 4) Q1 and Q2 that are Q_dis apart exist on the road plane.
Note that the roll being 0 means that the imaging unit 170 is installed so that an object installed in a direction perpendicular to the road plane is reflected in the vertical direction on the captured image Img. .

設定部111は、以上に示したように取得される各種データと(条件1)とに基づいて、以下の(数式2)および(数式3)に示される関係式を導き出すことができる。   The setting unit 111 can derive the relational expressions shown in the following (Equation 2) and (Equation 3) based on the various data acquired as described above and (Condition 1).

Figure 2015041188
Figure 2015041188
Figure 2015041188
Figure 2015041188

また、設定部111は、以上に示したように取得される各種データと(条件2)とに基づいて、以下の(数式4)に示される関係式を導き出すことができる。なお、ロールが0の状態であれば、道路平面式と平行な軸方向(図5に示した例では、x軸方向)への道路平面に対する垂線の成分が0になるため、計算式が簡略化される(例えば、x軸方向への垂線の成分が0であれば、R1=0として計算できる)。   Further, the setting unit 111 can derive a relational expression represented by the following (Expression 4) based on the various data acquired as described above and (Condition 2). If the roll is in the 0 state, the perpendicular component to the road plane in the axial direction parallel to the road plane formula (in the example shown in FIG. 5, the x-axis direction) is 0, so the calculation formula is simplified. (For example, if the perpendicular component in the x-axis direction is 0, R1 = 0 can be calculated).

Figure 2015041188
Figure 2015041188

また、設定部111は、以上に示したように取得される各種データと(条件3)とに基づいて、以下の(数式5)に示される関係式を導き出すことができる。   Further, the setting unit 111 can derive a relational expression represented by the following (Formula 5) based on the various data acquired as described above and (Condition 3).

Figure 2015041188
Figure 2015041188

また、設定部111は、以上に示したように取得される各種データと(条件4)とに基づいて、以下の(数式6)および(数式7)に示される関係式を導き出すことができる。   Further, the setting unit 111 can derive the relational expressions shown in the following (Expression 6) and (Expression 7) based on the various data acquired as described above and (Condition 4).

Figure 2015041188
Figure 2015041188
Figure 2015041188
Figure 2015041188

ここで、K1は、原点Oから道路平面上のQ1(xr1,yr1,zr1)までの距離が原点Oから撮像画像Img上のQ1’(xs1,f,zs1)までの距離の何倍になっているかを示す値である。同様に、K2は、原点Oから道路平面上のQ2(xr2,yr2,zr2)までの距離が原点Oから撮像画像Img上のQ2’(xs2,f,zs2)までの距離の何倍になっているかを示す値である。したがって、以下の(数式8)に示される関係式を導き出すことができる。   Here, in K1, the distance from the origin O to Q1 (xr1, yr1, zr1) on the road plane is a multiple of the distance from the origin O to Q1 ′ (xs1, f, zs1) on the captured image Img. It is a value indicating whether or not Similarly, in K2, the distance from the origin O to Q2 (xr2, yr2, zr2) on the road plane is a multiple of the distance from the origin O to Q2 ′ (xs2, f, zs2) on the captured image Img. It is a value indicating whether or not Therefore, the relational expression shown in the following (Formula 8) can be derived.

Figure 2015041188
Figure 2015041188

設定部111は、(数式8)に示される関係式から、道路平面上の2点(Q1およびQ2)の距離の測定値Q_dis’を、以下の(数式9)により算出することができる。   The setting unit 111 can calculate the measured value Q_dis ′ of the distance between two points (Q1 and Q2) on the road plane from the relational expression shown in (Formula 8) by the following (Formula 9).

Figure 2015041188
Figure 2015041188

設定部111は、測定値Q_dis’と既知の大きさQ_disとの差分が最も小さくなる場合におけるR1、R2、R3およびR4を、(数式1)〜(数式9)に基づいて算出することができる。このようにR1、R2、R3およびR4が算出されることにより、道路平面式R1x+R2x+R3z+R4=0が決定される。   The setting unit 111 can calculate R1, R2, R3, and R4 when the difference between the measured value Q_dis ′ and the known magnitude Q_dis is smallest based on (Equation 1) to (Equation 9). . By calculating R1, R2, R3 and R4 in this way, the road plane formula R1x + R2x + R3z + R4 = 0 is determined.

以上に説明したような道路平面式の算出手法は、一例に過ぎない。したがって、設定部111は、他の手法により道路平面式を算出することも可能である。例えば、道路平面上の平行な2直線間の距離が既知であれば、この道路平面上の平行な2直線間の距離を用いることにより、(条件2)を使用しないで道路平面式を算出することができる。   The road plane calculation method described above is merely an example. Therefore, the setting unit 111 can also calculate the road plane equation by another method. For example, if the distance between two parallel straight lines on the road plane is known, the road plane formula is calculated without using (Condition 2) by using the distance between the two parallel straight lines on the road plane. be able to.

また、設定部111は、進行方向ベクトルv(vx,vy,vz)を算出することもできる。より詳細には、設定部111は、道路平面上の平行な2直線のうちの少なくともいずれか一方の直線の方向を算出することにより、進行方向ベクトルvを算出することができる。例えば、設定部111は、座標t2・T2と座標t3・T3との差分を進行方向ベクトルvとして算出してもよいし、座標t1・T1と座標t4・T4との差分を進行方向ベクトルvとして算出してもよい。   The setting unit 111 can also calculate a traveling direction vector v (vx, vy, vz). More specifically, the setting unit 111 can calculate the traveling direction vector v by calculating the direction of at least one of two parallel straight lines on the road plane. For example, the setting unit 111 may calculate the difference between the coordinates t2 · T2 and the coordinates t3 · T3 as the traveling direction vector v, or the difference between the coordinates t1 · T1 and the coordinates t4 · T4 as the traveling direction vector v. It may be calculated.

以上に説明したような手法により、設定部111は、キャリブレーションを行うことができる。このようなキャリブレーションにより算出された道路平面式R1x+R2x+R3z+R4=0および進行方向ベクトルv(vx,vy,vz)を交通量および車両速度の計測のために利用することができる。また、道路平面式R1x+R2x+R3z+R4=0および進行方向ベクトルv(vx,vy,vz)は、画像分析装置20によって利用されてもよい。   The setting unit 111 can perform calibration by the method described above. The road plane equation R1x + R2x + R3z + R4 = 0 and the traveling direction vector v (vx, vy, vz) calculated by such calibration can be used for measuring the traffic volume and the vehicle speed. Further, the road plane type R1x + R2x + R3z + R4 = 0 and the traveling direction vector v (vx, vy, vz) may be used by the image analysis device 20.

また、図5に示すように、設定部111は、計測範囲E1を設定してもよい。そうすれば、計測範囲E1から抽出される車両領域に基づいて交通量が計測され得る。例えば、設定部111は、入力操作に基づいて計測範囲E1を設定してもよいし、進行方向ベクトルv(vx,vy,vz)に基づいて自動的に計測範囲E1を設定してもよい。ただし、撮像範囲自体を計測範囲とする場合などには、計測範囲の設定は特になされなくてもよい。以下では、説明を簡便にするため、撮像範囲自体を計測範囲とする場合を主に説明する。出力制御部113は、設定部111によって設定された各種情報を出力部190に出力させてもよい。   Further, as illustrated in FIG. 5, the setting unit 111 may set a measurement range E1. If it does so, traffic volume may be measured based on the vehicle area | region extracted from the measurement range E1. For example, the setting unit 111 may set the measurement range E1 based on the input operation, or may automatically set the measurement range E1 based on the traveling direction vector v (vx, vy, vz). However, when the imaging range itself is the measurement range, the measurement range need not be set. Below, in order to demonstrate easily, the case where the imaging range itself is made into a measurement range is mainly demonstrated. The output control unit 113 may cause the output unit 190 to output various information set by the setting unit 111.

以上、設定部111により行われるキャリブレーションについて説明した。   The calibration performed by the setting unit 111 has been described above.

続いて、計測部112および出力制御部113の機能について説明する。図6は、計測部112および出力制御部113の動作例を示すフローチャートである。まず、計測部112は、基準画像を取得する(ステップS11)。基準画像は、撮像部170によって道路平面があらかじめ撮像された画像であれば特に限定されない。例えば、基準画像には、車両が映っていなくてもよいし、車両が映っていてもよい。   Next, functions of the measurement unit 112 and the output control unit 113 will be described. FIG. 6 is a flowchart illustrating an operation example of the measurement unit 112 and the output control unit 113. First, the measurement unit 112 acquires a reference image (step S11). The reference image is not particularly limited as long as it is an image in which a road plane is previously captured by the imaging unit 170. For example, the vehicle may not be reflected in the reference image, or the vehicle may be reflected.

また、基準画像が撮像されるタイミングも特に限定されず、基準画像は、撮像部170の設置時に撮像された画像であってもよいし、所定時間ごとに撮像が行われる場合には最新の撮像画像によって更新された画像であってもよい。あるいは、基準画像は、撮像部170によって道路平面があらかじめ撮像された複数枚の画像が合成された合成画像であってもよい。出力制御部113は、画像分析装置20に基準画像を提供する(ステップS12)。   Also, the timing at which the reference image is captured is not particularly limited, and the reference image may be an image captured at the time of installing the imaging unit 170, or the latest imaging when imaging is performed every predetermined time. It may be an image updated by an image. Alternatively, the reference image may be a composite image in which a plurality of images in which a road plane is captured in advance by the imaging unit 170 are combined. The output control unit 113 provides the reference image to the image analysis device 20 (step S12).

続いて、計測部112は、撮像部170によって現在撮像された現画像に基づいて道路平面の車両の走行状況を計測する(ステップS13)。車両の走行状況は特に限定されず、現在の交通量を示す現交通量であってもよいし、現在の車両速度を示す現車両速度であってもよいし、他の走行状況であってもよい。計測部112によって得られる計測結果には、少なくとも現交通量および現車両速度の少なくともいずれか一方が含まれてよい。   Subsequently, the measurement unit 112 measures the traveling state of the vehicle on the road plane based on the current image currently captured by the imaging unit 170 (step S13). The driving situation of the vehicle is not particularly limited, and may be the current traffic volume indicating the current traffic volume, the current vehicle speed indicating the current vehicle speed, or another driving situation. Good. The measurement result obtained by the measurement unit 112 may include at least one of the current traffic volume and the current vehicle speed.

交通量の計測手法も特に限定されない。例えば、計測部112は、現画像から背景差分法に基づいて車両シルエット領域を抽出し、車両シルエット領域を追跡しながら撮像範囲を通過した車両シルエット領域の数をカウントすることによって交通量を計測してもよいし、他の手法によって交通量を計測してもよい。   The traffic measurement method is not particularly limited. For example, the measurement unit 112 measures the traffic volume by extracting the vehicle silhouette area from the current image based on the background difference method, and counting the number of the vehicle silhouette areas that have passed through the imaging range while tracking the vehicle silhouette area. Alternatively, the traffic volume may be measured by other methods.

また、車両速度の計測手法も特に限定されない。例えば、計測部112は、道路平面式を用いて現画像に映る車両の移動を実空間における道路平面上の車両の移動に置き換えた上で、実空間における道路平面上の単位時間あたりの移動量を車両速度として計測してもよいし、他の手法によって車両速度を計測してもよい。出力制御部113は、現画像と計測結果とを画像分析装置20に提供する(ステップS14)。   Further, the vehicle speed measurement method is not particularly limited. For example, the measurement unit 112 replaces the movement of the vehicle shown in the current image with the movement of the vehicle on the road plane in the real space using the road plane formula, and then the movement amount per unit time on the road plane in the real space. May be measured as the vehicle speed, or the vehicle speed may be measured by other methods. The output control unit 113 provides the current image and the measurement result to the image analysis device 20 (step S14).

制御部110は、動作を継続する場合には(ステップS15で「No」)、ステップS13に動作を移行させるが、動作を終了する場合には(ステップS15で「No」)、動作を終了する。   When the operation is continued (“No” in Step S15), the control unit 110 shifts the operation to Step S13, but when the operation is finished (“No” in Step S15), the operation ends. .

以上、計測部112および出力制御部113の機能について説明した。   The functions of the measurement unit 112 and the output control unit 113 have been described above.

続いて、本発明の実施形態に係る画像分析装置20の動作例について説明する。図7は、本発明の実施形態に係る画像分析装置20の動作例を示すフローチャートである。なお、図7に示したフローチャートは、画像分析装置20の動作の一例を示したに過ぎない。したがって、画像分析装置20の動作は、図7のフローチャートによって示される動作例に限定されない。   Subsequently, an operation example of the image analysis apparatus 20 according to the embodiment of the present invention will be described. FIG. 7 is a flowchart showing an operation example of the image analysis apparatus 20 according to the embodiment of the present invention. Note that the flowchart shown in FIG. 7 only shows an example of the operation of the image analysis apparatus 20. Therefore, the operation of the image analysis apparatus 20 is not limited to the operation example shown by the flowchart of FIG.

図7に示すように、情報取得部211は、交通量計測装置10から基準画像を取得する(ステップS21)。続いて、情報取得部211は、計測結果と現画像とを交通量計測装置10から取得し(ステップS22)、判定部212は、計測結果が異常であるか否かを判定する(ステップS23)。計測結果が異常であるか否かの判定は特に限定されないが、具体的な例は後に説明する。制御部210は、計測結果が正常であると判定された場合(ステップS23で「No」)、ステップS22に動作を移行させる。   As illustrated in FIG. 7, the information acquisition unit 211 acquires a reference image from the traffic measurement device 10 (step S21). Subsequently, the information acquisition unit 211 acquires the measurement result and the current image from the traffic measurement device 10 (step S22), and the determination unit 212 determines whether the measurement result is abnormal (step S23). . The determination of whether or not the measurement result is abnormal is not particularly limited, but a specific example will be described later. When it is determined that the measurement result is normal (“No” in step S23), the control unit 210 shifts the operation to step S22.

一方、表示制御部213は、計測結果が異常であると判定された場合(ステップS23で「Yes」)、基準画像と異常候補画像とを表示部290に表示させる(ステップS24)。異常候補画像は、判定部212によって計測結果が異常であると判定された画像自体であってもよいし、判定部212によって計測結果が異常であると判定された後に撮像部170によって撮像された画像であってもよい。   On the other hand, when it is determined that the measurement result is abnormal (“Yes” in step S23), the display control unit 213 displays the reference image and the abnormality candidate image on the display unit 290 (step S24). The abnormality candidate image may be an image itself that is determined to have an abnormal measurement result by the determination unit 212 or may be captured by the imaging unit 170 after the determination unit 212 determines that the measurement result is abnormal. It may be an image.

以上に説明したように、表示制御部213が基準画像と異常候補画像とを表示部290に表示させることによって、車両の走行状況の計測に用いられる撮像部が正常であるか否かを検査員に容易に確認させることが可能となる。なお、ここでは、画像分析装置20に備えられた表示部290に基準画像と異常候補画像とを表示させる例を説明したが、表示制御部213は、画像分析装置20の外部に存在する表示部290に基準画像と異常候補画像とを表示させてもよい。   As described above, the display control unit 213 displays the reference image and the abnormality candidate image on the display unit 290, thereby inspecting whether or not the imaging unit used for measuring the traveling state of the vehicle is normal. Can be easily confirmed. Although an example in which the reference image and the abnormality candidate image are displayed on the display unit 290 provided in the image analysis device 20 has been described here, the display control unit 213 is a display unit that exists outside the image analysis device 20. The reference image and the abnormal candidate image may be displayed on 290.

あるいは、監視装置がネットワーク30に接続されている場合、表示制御部213は、基準画像と異常候補画像とをネットワーク30を介して監視装置に出力させ、監視装置が基準画像と異常候補画像とを表示させてもよい。なお、基準画像はあらかじめ監視装置に記憶させておくことも可能である。かかる場合には、交通量計測装置10から画像分析装置20への基準画像の提供、画像分析装置20から監視装置への基準画像の出力などは省略されてよい。   Alternatively, when the monitoring device is connected to the network 30, the display control unit 213 outputs the reference image and the abnormality candidate image to the monitoring device via the network 30, and the monitoring device outputs the reference image and the abnormality candidate image. It may be displayed. The reference image can be stored in advance in the monitoring device. In such a case, provision of a reference image from the traffic volume measuring device 10 to the image analysis device 20, output of the reference image from the image analysis device 20 to the monitoring device, and the like may be omitted.

続いて、判定部212による判定例についてより詳細に説明する。まず、第一の判定例について説明する。図8は、判定部212による第一の判定例を示すフローチャートである。第一の判定例においては、計測結果の一例として現交通量を使用する。なお、図8に示したフローチャートは、判定部212による判定の一例を示したに過ぎない。したがって、判定部212による判定は、図8のフローチャートによって示される動作例に限定されない。   Subsequently, a determination example by the determination unit 212 will be described in more detail. First, the first determination example will be described. FIG. 8 is a flowchart illustrating a first determination example by the determination unit 212. In the first determination example, the current traffic volume is used as an example of the measurement result. Note that the flowchart shown in FIG. 8 merely shows an example of determination by the determination unit 212. Therefore, the determination by the determination unit 212 is not limited to the operation example shown by the flowchart of FIG.

図8に示すように、判定部212は、情報取得部211によって取得された現交通量を取得する(ステップS31)。続いて、判定部212は、現交通量と過去に計測された旧交通量との関係に基づいて、現交通量が異常であるか否かを判定する。具体的には、判定部212は、現交通量と基準画像から計測された旧交通量との差分値が閾値を超えているか否かを判定すればよい(ステップS32)。旧交通量は基準画像に基づいて交通量計測装置10によって計測されてよい。   As illustrated in FIG. 8, the determination unit 212 acquires the current traffic volume acquired by the information acquisition unit 211 (step S31). Subsequently, the determination unit 212 determines whether or not the current traffic volume is abnormal based on the relationship between the current traffic volume and the old traffic volume measured in the past. Specifically, the determination unit 212 may determine whether or not the difference value between the current traffic volume and the old traffic volume measured from the reference image exceeds a threshold value (step S32). The old traffic volume may be measured by the traffic volume measuring device 10 based on the reference image.

判定部212は、差分値が閾値を超えている場合には(ステップS32で「Yes」)、計測結果が異常であると判定してよい(ステップS33)。一方、判定部212は、差分値が閾値を超えていない場合には(ステップS32で「No」)、計測結果が正常であると判定してよい(ステップS34)。   If the difference value exceeds the threshold (“Yes” in step S32), the determination unit 212 may determine that the measurement result is abnormal (step S33). On the other hand, when the difference value does not exceed the threshold value (“No” in step S32), the determination unit 212 may determine that the measurement result is normal (step S34).

続いて、第二の判定例について説明する。図9は、判定部212による第二の判定例を示すフローチャートである。第二の判定例においては、計測結果の一例として現車両速度を使用する。なお、図9に示したフローチャートは、判定部212による判定の一例を示したに過ぎない。したがって、判定部212による判定は、図9のフローチャートによって示される動作例に限定されない。   Subsequently, a second determination example will be described. FIG. 9 is a flowchart illustrating a second determination example by the determination unit 212. In the second determination example, the current vehicle speed is used as an example of the measurement result. The flowchart shown in FIG. 9 only shows an example of determination by the determination unit 212. Therefore, the determination by the determination unit 212 is not limited to the operation example shown by the flowchart of FIG.

図9に示すように、判定部212は、情報取得部211によって取得された現車両速度を取得する(ステップS41)。続いて、判定部212は、現車両速度と過去に計測された旧車両速度との関係に基づいて、現車両速度が異常であるか否かを判定する。具体的には、判定部212は、現車両速度と基準画像から計測された旧車両速度との差分値が閾値を超えているか否かを判定すればよい(ステップS42)。旧車両速度は基準画像に基づいて交通量計測装置10によって計測されてよい。   As shown in FIG. 9, the determination unit 212 acquires the current vehicle speed acquired by the information acquisition unit 211 (step S41). Subsequently, the determination unit 212 determines whether or not the current vehicle speed is abnormal based on the relationship between the current vehicle speed and the old vehicle speed measured in the past. Specifically, the determination unit 212 may determine whether or not the difference value between the current vehicle speed and the old vehicle speed measured from the reference image exceeds a threshold value (step S42). The old vehicle speed may be measured by the traffic measuring device 10 based on the reference image.

判定部212は、差分値が閾値を超えている場合には(ステップS42で「Yes」)、計測結果が異常であると判定してよい(ステップS43)。一方、判定部212は、差分値が閾値を超えていない場合には(ステップS42で「No」)、計測結果が正常であると判定してよい(ステップS44)。   When the difference value exceeds the threshold value (“Yes” in step S42), the determination unit 212 may determine that the measurement result is abnormal (step S43). On the other hand, when the difference value does not exceed the threshold (“No” in step S42), the determination unit 212 may determine that the measurement result is normal (step S44).

続いて、第三の判定例について説明する。図10および図11は、判定部212による第三の判定例を説明するための図である。第三の判定例においては、複数の交通量計測装置10がネットワーク30に接続されている。図10には、ネットワーク30に接続されている複数の交通量計測装置10として、交通量計測装置10A〜10Eが示されているが、交通量計測装置10の数は特に限定されない。また、図10には、道路に分岐地点や合流地点が存在していない例が示されている。   Subsequently, a third determination example will be described. 10 and 11 are diagrams for explaining a third determination example by the determination unit 212. FIG. In the third determination example, a plurality of traffic volume measuring devices 10 are connected to the network 30. Although FIG. 10 shows the traffic volume measuring devices 10A to 10E as the plurality of traffic volume measuring devices 10 connected to the network 30, the number of the traffic volume measuring devices 10 is not particularly limited. FIG. 10 shows an example in which there are no branch points or junctions on the road.

図10に示したように、交通量計測装置10Aと交通量計測装置10Bとは隣接しており、交通量計測装置10Bと交通量計測装置10Cとは隣接しており、交通量計測装置10Cと交通量計測装置10Dとは隣接しており、交通量計測装置10Dと交通量計測装置10Eとは隣接している。交通量計測装置10A〜10Eそれぞれにおいては、撮像部170によって道路平面が撮像された現画像が取得される。   As shown in FIG. 10, the traffic volume measuring device 10A and the traffic volume measuring device 10B are adjacent to each other, the traffic volume measuring device 10B and the traffic volume measuring device 10C are adjacent to each other, and the traffic volume measuring device 10C and The traffic measurement device 10D is adjacent, and the traffic measurement device 10D and the traffic measurement device 10E are adjacent. In each of the traffic measurement devices 10A to 10E, a current image in which a road plane is imaged by the imaging unit 170 is acquired.

続いて、交通量計測装置10A〜10Eそれぞれにおいて、計測部112によって現交通量が計測され、出力制御部113によって現交通量が画像分析装置20に提供される。続いて、画像分析装置20において、交通量計測装置10A〜10Eそれぞれから提供された現交通量が情報取得部211によって取得され、判定部212によって現交通量が異常であるか否かが判定される。ここでは、交通量計測装置10Cから提供された現交通量が異常であるか否かを判定する場合を例として説明する。   Subsequently, in each of the traffic volume measuring devices 10 </ b> A to 10 </ b> E, the current traffic volume is measured by the measurement unit 112, and the current traffic volume is provided to the image analysis device 20 by the output control unit 113. Subsequently, in the image analysis device 20, the current traffic volume provided from each of the traffic volume measuring devices 10A to 10E is acquired by the information acquisition unit 211, and the determination unit 212 determines whether or not the current traffic volume is abnormal. The Here, a case where it is determined whether or not the current traffic volume provided from the traffic volume measuring device 10C is abnormal will be described.

具体的には、判定部212は、交通量計測装置10Cから提供された現交通量と交通量計測装置10Cに隣接する交通量計測装置10Bおよび交通量計測装置10Dから提供された現交通量との関係に基づいて、交通量計測装置10Cから提供された現交通量が異常であるか否かを判定する。なお、以下では、交通量計測装置10A〜10Eそれぞれから提供された現交通量を、単に現交通量a〜eと示す場合もある。また、交通量計測装置10A〜10Eそれぞれの撮像部170が設置された地点を、単に地点A〜Eと示す場合もある。   Specifically, the determination unit 212 determines the current traffic volume provided from the traffic volume measuring device 10C and the current traffic volume provided from the traffic volume measuring device 10B and the traffic volume measuring device 10D adjacent to the traffic volume measuring device 10C. Based on the relationship, it is determined whether or not the current traffic volume provided from the traffic volume measuring device 10C is abnormal. In the following description, the current traffic volume provided from each of the traffic volume measuring devices 10A to 10E may be simply indicated as current traffic volumes a to e. In addition, the points where the imaging units 170 of the traffic volume measuring devices 10A to 10E are installed may be simply indicated as points A to E.

図10に示した例では、道路に分岐地点や合流地点が存在していないため、判定部212は、現交通量bから現交通量dまでがすべて等しい場合には、現交通量cが正常であると判定してよい。一方、判定部212は、現交通量bと現交通量cとが異なっている場合であり、かつ、現交通量cと現交通量dとが異なっている場合には、現交通量bと現交通量dとが等しいか否かによって、現交通量cが正常であるか否かを決めればよい。具体的には、現交通量bと現交通量dとが等しい場合には、現交通量bと現交通量dとが共に正常であり、現交通量cが異常であると判定してよい。   In the example shown in FIG. 10, since there is no branching point or junction point on the road, the determination unit 212 determines that the current traffic volume c is normal when the current traffic volume b to the current traffic volume d are all equal. It may be determined that On the other hand, if the current traffic volume b and the current traffic volume c are different, and the current traffic volume c and the current traffic volume d are different, the determination unit 212 determines that the current traffic volume b and Whether or not the current traffic volume c is normal may be determined depending on whether or not the current traffic volume d is equal. Specifically, when the current traffic volume b and the current traffic volume d are equal, it may be determined that both the current traffic volume b and the current traffic volume d are normal and the current traffic volume c is abnormal. .

一方、現交通量bと現交通量dとが異なっている場合には、現交通量bから現交通量dまでのうちいずれが異常であるのかを判定するのは困難である。そこで、判定部212は、現交通量bと現交通量cとが異なっている場合であり、かつ、現交通量cと現交通量dとが異なっている場合であり、かつ、現交通量bと現交通量dとが異なっている場合には、現交通量aおよび現交通量eをさらに判定に用いるとよい。   On the other hand, when the current traffic volume b and the current traffic volume d are different, it is difficult to determine which of the current traffic volume b to the current traffic volume d is abnormal. Therefore, the determination unit 212 is a case where the current traffic volume b and the current traffic volume c are different, and a case where the current traffic volume c and the current traffic volume d are different, and the current traffic volume. If b and the current traffic volume d are different, the current traffic volume a and the current traffic volume e may be further used for the determination.

例えば、判定部212は、現交通量aから現交通量eまでのうち所定数を超える数の現交通量が等しい場合には、それらの現交通量は正常であると判定してよい。一方、判定部212は、残りの現交通量は異常であると判定してよい。所定数は特に限定されないが、例えば、現交通量の数の半数であってもよい。ここでは、現交通量の数が現交通量aから現交通量eまでの5つであるため、判定部212は、3つの現交通量が等しければ、それらの現交通量は正常であると判定し、残りの現交通量は異常であると判定してよい。   For example, the determination unit 212 may determine that the current traffic volume is normal when the current traffic volume exceeding the predetermined number is equal among the current traffic volume a to the current traffic volume e. On the other hand, the determination unit 212 may determine that the remaining current traffic volume is abnormal. The predetermined number is not particularly limited, but may be, for example, half of the current traffic volume. Here, since the number of the current traffic volume is five from the current traffic volume a to the current traffic volume e, the determination unit 212 determines that the current traffic volume is normal if the three current traffic volumes are equal. It may be determined that the remaining current traffic volume is abnormal.

具体例を参照して説明する。図11に示した例では、判定部212は、地点Bにおける現交通量「20」と地点Cにおける現交通量「90」とが異なっており、かつ、地点Cにおける現交通量「90」と地点Dにおける現交通量「50」とが異なっていると判定する。そのため、判定部212は、地点Bにおける現交通量「20」と地点Dにおける現交通量「50」とが等しいか否かを判定する。   This will be described with reference to a specific example. In the example illustrated in FIG. 11, the determination unit 212 determines that the current traffic volume “20” at the point B is different from the current traffic volume “90” at the point C, and the current traffic volume “90” at the point C It is determined that the current traffic volume “50” at the point D is different. Therefore, the determination unit 212 determines whether or not the current traffic volume “20” at the point B is equal to the current traffic volume “50” at the point D.

しかし、判定部212は、地点Bにおける現交通量「20」と地点Dにおける現交通量「50」とが異なると判定し、地点Aにおける現交通量「50」および地点Eにおける現交通量「50」をさらに判定に用いる。判定部212は、地点A、地点Dおよび地点Eそれぞれにおける現交通量3つがすべて「50」であり等しいため、これらの現交通量は正常であると判定してよい。一方、判定部212は、残りの地点Bおよび地点Cそれぞれにおける現交通量は異常であると判定してよい。   However, the determination unit 212 determines that the current traffic volume “20” at the point B is different from the current traffic volume “50” at the point D, and the current traffic volume “50” at the point A and the current traffic volume “at the point E”. 50 "is further used for determination. The determination unit 212 may determine that these current traffic volumes are normal because the three current traffic volumes at the points A, D, and E are all equal to “50”. On the other hand, the determination unit 212 may determine that the current traffic volume at each of the remaining points B and C is abnormal.

なお、ここでは、現交通量aから現交通量eまでのうち所定数を超える数の現交通量が等しい場合について説明したが、判定部212は、現交通量aから現交通量eまでのうち所定数を超える数の現交通量が等しいという状況でない場合には、交通量計測装置10Aおよび交通量計測装置10Eそれぞれに隣接する図示しない交通量計測装置10からの現交通量をさらに用いて同様の判定を行ってよい。   In addition, although the case where the number of current traffic exceeding the predetermined number is equal among the current traffic a to e is described here, the determination unit 212 determines whether the current traffic a to current traffic e. If the current traffic volume exceeding the predetermined number is not equal, the current traffic volume from the traffic volume measuring apparatus 10 (not shown) adjacent to each of the traffic volume measuring apparatus 10A and the traffic volume measuring apparatus 10E is further used. A similar determination may be made.

以上においては、道路に分岐地点や合流地点が存在していない例について説明したが、本発明の実施形態に係る交通量計測システム1は、道路に分岐点や合流地点が存在する場合にも適用され得る。続いては、第三の判定例の変形例について説明する。図12は、判定部212による第三の判定例の変形例を説明するための図である。第三の判定例においては、図12には、複数の交通量計測装置10として、交通量計測装置10A〜10Gが示されているが、交通量計測装置10の数は特に限定されない。また、図12には、道路に分岐地点や合流地点が存在する例が示されている。   In the above description, an example in which a branch point or a merge point does not exist on the road has been described. However, the traffic measurement system 1 according to the embodiment of the present invention is also applicable to a case where a branch point or a merge point exists on the road. Can be done. Subsequently, a modified example of the third determination example will be described. FIG. 12 is a diagram for explaining a modification of the third determination example by the determination unit 212. In the third determination example, FIG. 12 shows the traffic volume measuring devices 10A to 10G as the plurality of traffic volume measuring devices 10, but the number of the traffic volume measuring devices 10 is not particularly limited. In addition, FIG. 12 shows an example in which there are branch points and merge points on the road.

図12に示したように、交通量計測装置10A〜10Cと交通量計測装置10Dとは隣接しており、交通量計測装置10Dと交通量計測装置10E〜10Gとは隣接している。しかし、交通量計測装置10A〜10Cと交通量計測装置10Dとの間で道路が合流しており、交通量計測装置10Dと交通量計測装置10E〜10Gとの間で道路が分岐している。交通量計測装置10A〜10Gそれぞれにおいては、撮像部170によって道路平面が撮像された現画像が取得される。   As shown in FIG. 12, the traffic volume measuring devices 10A to 10C and the traffic volume measuring device 10D are adjacent to each other, and the traffic volume measuring device 10D and the traffic volume measuring devices 10E to 10G are adjacent to each other. However, the road merges between the traffic measurement devices 10A to 10C and the traffic measurement device 10D, and the road branches between the traffic measurement device 10D and the traffic measurement devices 10E to 10G. In each of the traffic volume measuring devices 10A to 10G, the current image obtained by imaging the road plane by the imaging unit 170 is acquired.

続いて、交通量計測装置10A〜10Gそれぞれにおいて、計測部112によって現交通量が計測され、出力制御部113によって現交通量が画像分析装置20に提供される。続いて、画像分析装置20において、交通量計測装置10A〜10Gそれぞれから提供された現交通量が情報取得部211によって取得され、判定部212によって現交通量が異常であるか否かが判定される。ここでは、交通量計測装置10Dから提供された現交通量が異常であるか否かを判定する場合を例として説明する。   Subsequently, in each of the traffic volume measuring devices 10 </ b> A to 10 </ b> G, the current traffic volume is measured by the measurement unit 112, and the current traffic volume is provided to the image analysis device 20 by the output control unit 113. Subsequently, in the image analysis device 20, the current traffic volume provided from each of the traffic volume measuring devices 10A to 10G is acquired by the information acquisition unit 211, and the determination unit 212 determines whether or not the current traffic volume is abnormal. The Here, a case where it is determined whether or not the current traffic volume provided from the traffic volume measuring device 10D is abnormal will be described.

具体的には、判定部212は、交通量計測装置10Dから提供された現交通量と交通量計測装置10Dに隣接する交通量計測装置10A〜10Cおよび交通量計測装置10E〜10Gから提供された現交通量との関係に基づいて、交通量計測装置10Dから提供された現交通量が異常であるか否かを判定する。なお、以下では、交通量計測装置10A〜10Gそれぞれから提供された現交通量を、単に現交通量a〜gと示す場合もある。   Specifically, the determination unit 212 is provided from the current traffic volume provided from the traffic volume measuring device 10D and the traffic volume measuring devices 10A to 10C and the traffic volume measuring devices 10E to 10G adjacent to the traffic volume measuring device 10D. Based on the relationship with the current traffic volume, it is determined whether or not the current traffic volume provided from the traffic volume measuring device 10D is abnormal. In the following, the current traffic volume provided from each of the traffic volume measuring devices 10A to 10G may be simply indicated as current traffic volumes a to g.

図12に示した例では、交通量計測装置10A〜10Cと交通量計測装置10Dとの間で道路が合流しており、交通量計測装置10Dと交通量計測装置10E〜10Gとの間で道路が分岐している。そこで、判定部212は、現交通量aから現交通量cまでの合計値と現交通量dとが等しい場合であり、かつ、現交通量eから現交通量gまでの合計値と現交通量dとが等しい場合には、現交通量dが正常であると判定してよい。   In the example shown in FIG. 12, roads merge between the traffic volume measuring devices 10A to 10C and the traffic volume measuring device 10D, and the roads between the traffic volume measuring device 10D and the traffic volume measuring devices 10E to 10G. Is branched. Therefore, the determination unit 212 is a case where the total value from the current traffic volume a to the current traffic volume c is equal to the current traffic volume d, and the total value from the current traffic volume e to the current traffic volume g and the current traffic volume. If the amount d is equal, it may be determined that the current traffic amount d is normal.

一方、判定部212は、現交通量aから現交通量cまでの合計値と現交通量dとが異なっている場合であり、かつ、現交通量dと現交通量eから現交通量gまでの合計値とが異なっている場合には、現交通量aから現交通量cまでの合計値と現交通量eから現交通量gまでの合計値とが等しいか否かによって、現交通量dが正常であるか否かを決めればよい。具体的には、現交通量aから現交通量cまでの合計値と現交通量eから現交通量gまでの合計値とが等しい場合には、現交通量aから現交通量cまでと現交通量eから現交通量gまでとがすべて正常であり、現交通量dが異常であると判定してよい。   On the other hand, the determination unit 212 is a case where the total value from the current traffic volume a to the current traffic volume c is different from the current traffic volume d, and the current traffic volume g from the current traffic volume d and the current traffic volume e. If the total value from the current traffic volume a to the current traffic volume c and the total value from the current traffic volume e to the current traffic volume g are equal, What is necessary is just to determine whether the quantity d is normal. Specifically, when the total value from the current traffic volume a to the current traffic volume c is equal to the total value from the current traffic volume e to the current traffic volume g, the current traffic volume a to the current traffic volume c It may be determined that the current traffic volume e to the current traffic volume g are all normal and the current traffic volume d is abnormal.

一方、現交通量aから現交通量cまでの合計値と現交通量eから現交通量gまでの合計値とが異なっている場合には、現交通量aから現交通量gまでのうちいずれが異常であるのかを判定するのは困難である。   On the other hand, if the total value from the current traffic volume a to the current traffic volume c is different from the total traffic volume from the current traffic volume e to the current traffic volume g, the current traffic volume a to the current traffic volume g It is difficult to determine which is abnormal.

そこで、判定部212は、現交通量aから現交通量cまでの合計値と現交通量dとが異なっている場合であり、かつ、現交通量dと現交通量eから現交通量gまでの合計値とが異なっている場合であり、かつ、現交通量aから現交通量cまでの合計値と現交通量eから現交通量gまでの合計値とが異なっている場合には、交通量計測装置10A〜10Cのいずれかに隣接する図示しない交通量計測装置10および交通量計測装置10E〜10Gのいずれかに隣接する図示しない交通量計測装置10からの現交通量をさらに用いて、上記したような等しい現交通量の数の判定をしてもよい。   Therefore, the determination unit 212 is a case where the total value from the current traffic volume a to the current traffic volume c is different from the current traffic volume d, and the current traffic volume g is calculated from the current traffic volume d and the current traffic volume e. And the total value from the current traffic volume a to the current traffic volume c is different from the total value from the current traffic volume e to the current traffic volume g. Further, the traffic volume measuring device 10 (not shown) adjacent to any one of the traffic volume measuring devices 10A to 10C and the current traffic volume from the traffic volume measuring device 10 (not shown) adjacent to any one of the traffic volume measuring devices 10E to 10G are further used. Thus, the number of equal current traffic volumes as described above may be determined.

以上、判定部212による判定例について説明した。続いて、表示制御部213が基準画像と異常候補画像とを表示させる例についてより詳細に説明する。   The determination example by the determination unit 212 has been described above. Subsequently, an example in which the display control unit 213 displays the reference image and the abnormality candidate image will be described in more detail.

図13は、表示制御部213によって表示制御される第一の画面例を示す図である。また、図14は、表示制御部213によって表示制御される第二の画面例を示す図である。図13および図14に示したように、表示制御部213は、計測結果が異常であると判定された場合、基準画像Im1と異常候補画像Im2とを表示部290に表示させる。上記したように、計測結果は、正常であり続けるとは限らず、異常となってしまう状況も起こり得るが、一例として、撮像部170の撮像範囲が正常範囲から外れてしまった場合などには計測結果が異常となり得る。   FIG. 13 is a diagram illustrating a first screen example whose display is controlled by the display control unit 213. FIG. 14 is a diagram illustrating a second screen example whose display is controlled by the display control unit 213. As illustrated in FIGS. 13 and 14, the display control unit 213 causes the display unit 290 to display the reference image Im1 and the abnormality candidate image Im2 when it is determined that the measurement result is abnormal. As described above, the measurement result does not always remain normal, and a situation in which the measurement result may be abnormal may occur. However, as an example, when the imaging range of the imaging unit 170 is out of the normal range, etc. Measurement results can be abnormal.

しかし、基準画像Im1と異常候補画像Im2とが表示されれば、撮像部170が正常であるか否かを検査員に容易に確認させることが可能となる。図13に示した例においては、撮像部170の撮像方向が変わってしまったために、基準画像Im1と異常候補画像Im2とにおいて道路平面の傾きが異なっており、撮像部170が異常であることを検査員が容易に確認することが可能となる。
表示制御部213によって表示制御される画像しては、他に、基準画像Im1と異常候補画像Im2を併記するのではなく、それぞれを50%の濃度で重畳させた1枚の画像とした画像を表示してもよい。このように表示することで、併記しただけでは見分けの付かない画像の平行移動や回転を容易に検出することが可能となる。また、かかる画像と、図13または図14に示す画像を併記して表示してもよい。図13または図14のように併記して表示することは、画像中に含まれる異常の有無を、両画像を対比しながら検査員に判断させることを可能とする。
However, if the reference image Im1 and the abnormal candidate image Im2 are displayed, it is possible for the inspector to easily check whether the imaging unit 170 is normal. In the example shown in FIG. 13, since the imaging direction of the imaging unit 170 has changed, the inclination of the road plane is different between the reference image Im1 and the abnormal candidate image Im2, and the imaging unit 170 is abnormal. The inspector can easily check.
Other than the reference image Im1 and the abnormal candidate image Im2, the image that is displayed and controlled by the display control unit 213 is not an image, but an image obtained by superimposing each image at a density of 50%. It may be displayed. By displaying in this way, it becomes possible to easily detect parallel movement and rotation of an image that cannot be distinguished by just writing together. Further, such an image and the image shown in FIG. 13 or 14 may be displayed together. Displaying together as shown in FIG. 13 or FIG. 14 allows the inspector to determine whether or not there is an abnormality included in the image while comparing both images.

また、表示制御部213は、計測結果が異常であると判定された場合、基準画像から算出された道路平面パラメータに応じた道路情報および異常候補画像から算出された道路平面パラメータに応じた道路情報の少なくともいずれか一方を表示させてもよい。道路平面パラメータは、設定部111によって算出された進行方向ベクトルvであってもよいし、道路平面式であってもよい。   Further, when the display control unit 213 determines that the measurement result is abnormal, the display information according to the road plane parameter calculated from the reference image and the road information according to the road plane parameter calculated from the abnormality candidate image At least one of these may be displayed. The road plane parameter may be a traveling direction vector v calculated by the setting unit 111 or a road plane type.

図13に示した例では、表示制御部213が、基準画像Im1から算出された進行方向ベクトルに対応する基準画像Im1における2次元ベクトルを算出し、2次元ベクトルを示す道路情報M1を基準画像Im1および異常候補画像Im2それぞれに重畳させている。また、図14に示した例では、表示制御部213が、異常候補画像Im2から算出された進行方向ベクトルに対応する異常候補画像Im2における2次元ベクトルを算出し、2次元ベクトルを示す道路情報M2を基準画像Im1および異常候補画像Im2それぞれに重畳させている。このようにして同一の道路情報を基準画像Im1および異常候補画像Im2それぞれに重畳させれば、撮像部170の異常を検査員にさらに容易に確認させることが可能となる。   In the example shown in FIG. 13, the display control unit 213 calculates a two-dimensional vector in the reference image Im1 corresponding to the traveling direction vector calculated from the reference image Im1, and uses the road information M1 indicating the two-dimensional vector as the reference image Im1. And it superimposes on each abnormal candidate image Im2. In the example illustrated in FIG. 14, the display control unit 213 calculates a two-dimensional vector in the abnormal candidate image Im2 corresponding to the traveling direction vector calculated from the abnormal candidate image Im2, and road information M2 indicating the two-dimensional vector. Are superimposed on the reference image Im1 and the abnormal candidate image Im2, respectively. Thus, if the same road information is superimposed on each of the reference image Im1 and the abnormality candidate image Im2, it is possible to make the inspector more easily check the abnormality of the imaging unit 170.

以上においては、計測結果が異常であると判定された場合に、追加的な条件が満されたか否かに関わらず、表示制御部213が基準画像および異常候補画像を表示部290に表示させる例を説明した。しかし、撮像部170が異常であることがより確実になった場合に、表示制御部213が基準画像および異常候補画像を表示部290に表示させるようにしてもよい。   In the above, when it is determined that the measurement result is abnormal, the display control unit 213 displays the reference image and the abnormal candidate image on the display unit 290 regardless of whether or not the additional condition is satisfied. Explained. However, when it is more certain that the imaging unit 170 is abnormal, the display control unit 213 may display the reference image and the abnormal candidate image on the display unit 290.

例えば、表示制御部213は、追加的に基準画像と現画像とを直接比較するようにしてもよい。すなわち、表示制御部213は、計測結果が異常であると判定された場合、基準画像と現画像との比較結果に基づいて、基準画像と異常候補画像とを表示させるか否かを判定してもよい。より詳細には、表示制御部213は、計測結果が異常であると判定された場合、基準画像と現画像との差分が閾値を超える場合に、基準画像と異常候補画像とを表示させると判定してもよい。   For example, the display control unit 213 may additionally directly compare the reference image and the current image. That is, when it is determined that the measurement result is abnormal, the display control unit 213 determines whether to display the reference image and the abnormal candidate image based on the comparison result between the reference image and the current image. Also good. More specifically, when it is determined that the measurement result is abnormal, the display control unit 213 determines to display the reference image and the abnormal candidate image when the difference between the reference image and the current image exceeds a threshold value. May be.

例えば、表示制御部213は、基準画像と現画像との差分に対して二値化処理を施した上で二値化領域の大きさが閾値を超える場合に、基準画像と異常候補画像とを表示させると判定してもよい。あるいは、表示制御部213は、基準画像と現画像との間で特徴点の対応付けを行い、対応付けられた特徴点同士のずれが閾値を超える場合に、基準画像と異常候補画像とを表示させると判定してもよい。   For example, the display control unit 213 performs binarization processing on the difference between the reference image and the current image, and if the size of the binarized area exceeds the threshold value, the display control unit 213 displays the reference image and the abnormality candidate image. You may determine with displaying. Alternatively, the display control unit 213 associates feature points between the reference image and the current image, and displays the reference image and the abnormal candidate image when the difference between the associated feature points exceeds a threshold value. It may be determined to be performed.

また、例えば、表示制御部213は、追加的に道路平面パラメータ同士を比較するようにしてもよい。すなわち、表示制御部213は、計測結果が異常であると判定された場合、基準画像から算出された道路平面パラメータと現画像から算出された道路平面パラメータとの比較結果に基づいて、基準画像と異常候補画像とを表示させるか否かを判定してもよい。   For example, the display control unit 213 may additionally compare road plane parameters. That is, when it is determined that the measurement result is abnormal, the display control unit 213 determines the reference image and the reference image based on the comparison result between the road plane parameter calculated from the reference image and the road plane parameter calculated from the current image. It may be determined whether or not to display an abnormal candidate image.

より詳細には、表示制御部213は、計測結果が異常であると判定された場合、基準画像から算出された道路平面パラメータと現画像から算出された道路平面パラメータとの差分が閾値を超える場合に、基準画像と異常候補画像とを表示させると判定してもよい。   More specifically, when the display control unit 213 determines that the measurement result is abnormal, the display control unit 213 determines that the difference between the road plane parameter calculated from the reference image and the road plane parameter calculated from the current image exceeds the threshold value. In addition, it may be determined that the reference image and the abnormality candidate image are displayed.

[効果の説明]
以上に説明したように、本発明の実施形態によれば、撮像部170によって撮像された画像を分析した分析データを出力する画像分析装置20であって、撮像部170によって道路平面が撮像された現画像に基づいて計測された計測結果が異常であると判定された場合、撮像部170によって道路平面があらかじめ撮像された基準画像と異常候補画像とを表示させる表示制御部213を備える、画像分析装置20が提供される。
[Description of effects]
As described above, according to the embodiment of the present invention, the image analysis device 20 outputs analysis data obtained by analyzing the image captured by the imaging unit 170, and the road plane is captured by the imaging unit 170. When it is determined that the measurement result measured based on the current image is abnormal, the image analysis unit includes a display control unit 213 that displays a reference image in which a road plane is captured in advance by the imaging unit 170 and an abnormality candidate image. An apparatus 20 is provided.

かかる構成によれば、車両の走行状況の計測に用いられるカメラが正常であるか否かを検査員に容易に確認させることが可能となる。
かかる構成によれば、車両の走行状況の計測に用いられるカメラが正常であるか否かを、計測に悪影響が生じるタイミングで検査員に確認させ、また容易により正確に判断させることが可能となる。
According to such a configuration, it is possible for the inspector to easily check whether or not the camera used for measuring the traveling state of the vehicle is normal.
According to such a configuration, it is possible to allow an inspector to confirm whether or not the camera used for measurement of the traveling state of the vehicle is normal at a timing when the measurement has an adverse effect, and to easily determine more accurately. .

[変形例の説明]
以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。
[Description of modification]
The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to such examples. It is obvious that a person having ordinary knowledge in the technical field to which the present invention pertains can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present invention.

例えば、上記では、基準画像に基づいて計測された過去の計測結果と現画像に基づいて計測された現在の計測結果との比較結果に基づいて、現在の計測結果が異常であるか否かを判定する例を示した。しかし、時間帯によって計測結果が変化する可能性を考慮し、比較される基準画像と現画像とは、対応する時間帯において撮像された画像であってもよい。時間帯は、昼の時間帯、夜の時間帯などといったように、所定の時間ごとに区切りがあってもよいし、平日、休日などといったように、日ごとに区切りがあってもよい。   For example, in the above, based on the comparison result between the past measurement result measured based on the reference image and the current measurement result measured based on the current image, whether or not the current measurement result is abnormal is determined. An example of determination is shown. However, in consideration of the possibility that the measurement result changes depending on the time zone, the reference image and the current image to be compared may be images captured in the corresponding time zone. The time zone may be divided every predetermined time such as a day time zone or a night time zone, or may be divided every day such as a weekday or a holiday.

制御部110を構成する各ブロックは、例えば、CPU(Central Processing Unit)、RAM(Random Access Memory)などから構成され、記憶部180により記憶されているプログラムがCPUによりRAMに展開されて実行されることにより、その機能が実現され得る。あるいは、制御部110を構成する各ブロックは、専用のハードウェアにより構成されていてもよいし、複数のハードウェアの組み合わせにより構成されてもよい。   Each block configuring the control unit 110 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like, and a program stored in the storage unit 180 is expanded on the RAM and executed by the CPU. Thus, the function can be realized. Or each block which comprises the control part 110 may be comprised by the hardware for exclusive use, and may be comprised by the combination of several hardware.

制御部210を構成する各ブロックは、例えば、CPU(Central Processing Unit)、RAM(Random Access Memory)などから構成され、記憶部280により記憶されているプログラムがCPUによりRAMに展開されて実行されることにより、その機能が実現され得る。あるいは、制御部210を構成する各ブロックは、専用のハードウェアにより構成されていてもよいし、複数のハードウェアの組み合わせにより構成されてもよい。   Each block constituting the control unit 210 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like, and a program stored in the storage unit 280 is expanded into the RAM and executed by the CPU. Thus, the function can be realized. Or each block which comprises the control part 210 may be comprised by the hardware for exclusive use, and may be comprised by the combination of several hardware.

尚、本明細書において、フローチャートに記述されたステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的に又は個別的に実行される処理をも含む。また時系列的に処理されるステップでも、場合によっては適宜順序を変更することが可能であることは言うまでもない。   In this specification, the steps described in the flowcharts are executed in parallel or individually even if they are not necessarily processed in time series, as well as processes performed in time series in the described order. Including processing to be performed. Further, it goes without saying that the order can be appropriately changed even in the steps processed in time series.

1 交通量計測システム
10(10A〜10G) 交通量計測装置
20 画像分析装置
30 ネットワーク
110 制御部
111 設定部
112 計測部
113 出力制御部
170 撮像部
180 記憶部
190 出力部
210 制御部
211 情報取得部
212 判定部
213 表示制御部
270 入力部
280 記憶部
290 表示部
E1 計測範囲
Im1 基準画像
Im2 異常候補画像
M1、M2 道路情報
DESCRIPTION OF SYMBOLS 1 Traffic volume measurement system 10 (10A-10G) Traffic volume measuring apparatus 20 Image analyzer 30 Network 110 Control part 111 Setting part 112 Measurement part 113 Output control part 170 Imaging part 180 Storage part 190 Output part 210 Control part 211 Information acquisition part 212 Determination Unit 213 Display Control Unit 270 Input Unit 280 Storage Unit 290 Display Unit E1 Measurement Range Im1 Reference Image Im2 Abnormality Candidate Image M1, M2 Road Information

Claims (11)

所定の撮像部によって撮像された画像を分析した分析データを出力する画像分析装置であって、
前記所定の撮像部によって道路平面が撮像された現画像に基づいて計測された計測結果が異常であると判定された場合、前記所定の撮像部によって前記道路平面があらかじめ撮像された基準画像と所定の異常候補画像とを表示させる表示制御部を備える、
画像分析装置。
An image analyzer that outputs analysis data obtained by analyzing an image captured by a predetermined imaging unit,
When it is determined that the measurement result measured based on the current image in which the road plane is captured by the predetermined imaging unit is abnormal, the reference image in which the road plane is previously captured by the predetermined imaging unit and the predetermined image A display control unit for displaying the abnormal candidate images of
Image analysis device.
前記計測結果は、少なくとも現交通量および現車両速度の少なくともいずれか一方を含む、
請求項1に記載の画像分析装置。
The measurement result includes at least one of current traffic volume and current vehicle speed,
The image analysis apparatus according to claim 1.
前記画像分析装置は、
前記計測結果が異常であるか否かを判定する判定部をさらに備える、
請求項2に記載の画像分析装置。
The image analyzer is
A determination unit for determining whether or not the measurement result is abnormal;
The image analysis apparatus according to claim 2.
前記判定部は、前記現交通量と過去に計測された旧交通量との関係に基づいて、前記現交通量が異常であるか否かを判定する、
請求項3に記載の画像分析装置。
The determination unit determines whether or not the current traffic volume is abnormal based on the relationship between the current traffic volume and the old traffic volume measured in the past.
The image analysis apparatus according to claim 3.
前記判定部は、前記現車両速度と過去に計測された旧車両速度との関係に基づいて、前記現車両速度が異常であるか否かを判定する、
請求項3に記載の画像分析装置。
The determination unit determines whether or not the current vehicle speed is abnormal based on a relationship between the current vehicle speed and an old vehicle speed measured in the past.
The image analysis apparatus according to claim 3.
前記判定部は、前記現交通量と前記所定の撮像部に隣接する他の撮像部によって撮像された撮像画像に基づいて計測された交通量との関係に基づいて、前記現交通量が異常であるか否かを判定する、
請求項3に記載の画像分析装置。
The determination unit determines that the current traffic volume is abnormal based on a relationship between the current traffic volume and a traffic volume measured based on a captured image captured by another imaging unit adjacent to the predetermined imaging unit. Determine if there is,
The image analysis apparatus according to claim 3.
前記表示制御部は、前記計測結果が異常であると判定された場合、前記基準画像と前記現画像との比較結果に基づいて、前記基準画像と前記異常候補画像とを表示させるか否かを判定する、
請求項1に記載の画像分析装置。
If it is determined that the measurement result is abnormal, the display control unit determines whether to display the reference image and the abnormal candidate image based on a comparison result between the reference image and the current image. judge,
The image analysis apparatus according to claim 1.
前記表示制御部は、前記計測結果が異常であると判定された場合、前記基準画像から算出された道路平面パラメータと前記現画像から算出された道路平面パラメータとの比較結果に基づいて、前記基準画像と前記異常候補画像とを表示させるか否かを判定する、
請求項1に記載の画像分析装置。
When it is determined that the measurement result is abnormal, the display control unit, based on a comparison result between a road plane parameter calculated from the reference image and a road plane parameter calculated from the current image, Determining whether to display an image and the abnormal candidate image;
The image analysis apparatus according to claim 1.
前記表示制御部は、前記計測結果が異常であると判定された場合、前記基準画像から算出された道路平面パラメータに応じた道路情報および前記異常候補画像から算出された道路平面パラメータに応じた道路情報の少なくともいずれか一方を表示させる、
請求項1に記載の画像分析装置。
The display control unit, when it is determined that the measurement result is abnormal, the road information according to the road plane parameter calculated from the reference image and the road according to the road plane parameter calculated from the abnormality candidate image Display at least one of the information,
The image analysis apparatus according to claim 1.
前記表示制御部は、前記基準画像と前記異常候補画像とを重畳して表示させる、
請求項1に記載の画像分析装置。
The display control unit superimposes and displays the reference image and the abnormality candidate image.
The image analysis apparatus according to claim 1.
所定の撮像部によって撮像された画像を分析した分析データを出力する画像分析方法であって、
前記所定の撮像部によって道路平面が撮像された現画像に基づいて計測された計測結果が異常であると判定された場合、前記所定の撮像部によって前記道路平面があらかじめ撮像された基準画像と所定の異常候補画像とを表示させるステップを含む、
画像分析方法。
An image analysis method for outputting analysis data obtained by analyzing an image captured by a predetermined imaging unit,
When it is determined that the measurement result measured based on the current image in which the road plane is captured by the predetermined imaging unit is abnormal, the reference image in which the road plane is previously captured by the predetermined imaging unit and the predetermined image Including a step of displaying an abnormal candidate image of
Image analysis method.
JP2013171168A 2013-08-21 2013-08-21 Image analysis apparatus and image analysis method Expired - Fee Related JP5835287B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013171168A JP5835287B2 (en) 2013-08-21 2013-08-21 Image analysis apparatus and image analysis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013171168A JP5835287B2 (en) 2013-08-21 2013-08-21 Image analysis apparatus and image analysis method

Publications (2)

Publication Number Publication Date
JP2015041188A true JP2015041188A (en) 2015-03-02
JP5835287B2 JP5835287B2 (en) 2015-12-24

Family

ID=52695328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013171168A Expired - Fee Related JP5835287B2 (en) 2013-08-21 2013-08-21 Image analysis apparatus and image analysis method

Country Status (1)

Country Link
JP (1) JP5835287B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112166456A (en) * 2018-05-30 2021-01-01 雅马哈株式会社 Image processing method and image processing apparatus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11144192A (en) * 1997-11-04 1999-05-28 Aisin Aw Co Ltd Traffic information display device and image display device
JP2000331279A (en) * 1999-05-25 2000-11-30 Oki Electric Ind Co Ltd Wide area monitoring device
JP2001126182A (en) * 1999-10-28 2001-05-11 Matsushita Electric Ind Co Ltd Traffic flow measurement system by image recognition and measurement area correcting method
JP2001297327A (en) * 2000-04-12 2001-10-26 Oki Electric Ind Co Ltd Seal impression collating method
JP2004172878A (en) * 2002-11-19 2004-06-17 Sumitomo Electric Ind Ltd Image processing system using turnable monitoring camera
JP2006067272A (en) * 2004-08-27 2006-03-09 Matsushita Electric Ind Co Ltd Apparatus and method for camera calibration
JP2007208513A (en) * 2006-01-31 2007-08-16 Matsushita Electric Ind Co Ltd Apparatus and method for detecting image shift
WO2008120774A1 (en) * 2007-03-30 2008-10-09 Toyota Jidosha Kabushiki Kaisha Temperature measuring device and temperature measuring method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11144192A (en) * 1997-11-04 1999-05-28 Aisin Aw Co Ltd Traffic information display device and image display device
JP2000331279A (en) * 1999-05-25 2000-11-30 Oki Electric Ind Co Ltd Wide area monitoring device
JP2001126182A (en) * 1999-10-28 2001-05-11 Matsushita Electric Ind Co Ltd Traffic flow measurement system by image recognition and measurement area correcting method
JP2001297327A (en) * 2000-04-12 2001-10-26 Oki Electric Ind Co Ltd Seal impression collating method
JP2004172878A (en) * 2002-11-19 2004-06-17 Sumitomo Electric Ind Ltd Image processing system using turnable monitoring camera
JP2006067272A (en) * 2004-08-27 2006-03-09 Matsushita Electric Ind Co Ltd Apparatus and method for camera calibration
JP2007208513A (en) * 2006-01-31 2007-08-16 Matsushita Electric Ind Co Ltd Apparatus and method for detecting image shift
WO2008120774A1 (en) * 2007-03-30 2008-10-09 Toyota Jidosha Kabushiki Kaisha Temperature measuring device and temperature measuring method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112166456A (en) * 2018-05-30 2021-01-01 雅马哈株式会社 Image processing method and image processing apparatus

Also Published As

Publication number Publication date
JP5835287B2 (en) 2015-12-24

Similar Documents

Publication Publication Date Title
JP6767642B2 (en) Measuring device and measuring method
JP6322817B1 (en) Rigidity measuring apparatus and rigidity measuring method
JP6197388B2 (en) Distance measuring device, distance measuring method, and program
US20170132806A1 (en) System and method for augmented reality and virtual reality applications
JP6171593B2 (en) Object tracking method and system from parallax map
JP4556798B2 (en) Image processing device
US9514542B2 (en) Moving object tracking device, moving object tracking system and moving object tracking method
JP2008299458A (en) Vehicle monitoring apparatus and vehicle monitoring method
JPWO2020179188A1 (en) Displacement amount measuring device for structures
JP2017142613A (en) Information processing device, information processing system, information processing method and information processing program
JP7427615B2 (en) Information processing device, information processing method and program
JP5783211B2 (en) Traffic volume measuring apparatus and traffic volume measuring method
JP5835287B2 (en) Image analysis apparatus and image analysis method
JP6699323B2 (en) Three-dimensional measuring device and three-dimensional measuring method for train equipment
US20220076399A1 (en) Photographing guide device
JP2010009236A (en) Plane area estimation device and program
US10062155B2 (en) Apparatus and method for detecting defect of image having periodic pattern
JP7364269B2 (en) Object detection device, image processing display method and program
JP5783304B1 (en) Information processing apparatus, information processing method, and program
JP7418734B2 (en) smoke detection device
JP6620846B2 (en) 3D intrusion detection system and 3D intrusion detection method
JP2022078434A (en) Road surface inspection work support system
JP2015069261A (en) Information processing apparatus and information processing method
JP2024066079A (en) Measurement device, measurement system, and measurement method
JP2024013469A (en) Duplicate state determination device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150723

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151019

R150 Certificate of patent or registration of utility model

Ref document number: 5835287

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees