Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7835564B2 - Information processing device, vehicle behavior determination method, and vehicle behavior determination program - Google Patents
[go: Go Back, main page]

JP7835564B2 - Information processing device, vehicle behavior determination method, and vehicle behavior determination program - Google Patents

Information processing device, vehicle behavior determination method, and vehicle behavior determination program

Info

Publication number
JP7835564B2
JP7835564B2 JP2022005104A JP2022005104A JP7835564B2 JP 7835564 B2 JP7835564 B2 JP 7835564B2 JP 2022005104 A JP2022005104 A JP 2022005104A JP 2022005104 A JP2022005104 A JP 2022005104A JP 7835564 B2 JP7835564 B2 JP 7835564B2
Authority
JP
Japan
Prior art keywords
vehicle
image
vex
region
movement
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.)
Active
Application number
JP2022005104A
Other languages
Japanese (ja)
Other versions
JP2023104235A (en
Inventor
太郎 長▲瀬▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pioneer Corp
Original Assignee
Pioneer Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Corp filed Critical Pioneer Corp
Priority to JP2022005104A priority Critical patent/JP7835564B2/en
Publication of JP2023104235A publication Critical patent/JP2023104235A/en
Application granted granted Critical
Publication of JP7835564B2 publication Critical patent/JP7835564B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Navigation (AREA)
  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、情報処理装置、車両挙動判定方法および車両挙動判定プログラムに関する。 This invention relates to an information processing device, a vehicle behavior determination method, and a vehicle behavior determination program.

従来、動画像のフレーム間の差分を利用して物体の動きを検出することが行われているが、その代表的なものとして、テンプレートマッチングを行って物体を検出する技術が提案されている。例えば、駅のホーム及び線路に関する監視対象の領域の画像を撮像する。そして、監視対象の領域について用意した背景画像と撮像された画像とについて、画像内の複数の部分領域毎にテンプレートマッチングを行って画像間の相関値を部分領域毎に算出する。そして、部分領域毎の相関値に基づいて監視対象の領域における電車などの車両の存在の状況を判定する。 Traditionally, object movement has been detected by utilizing the difference between frames in video. A representative technique proposed for this is template matching. For example, images of a monitored area, such as a train station platform and tracks, are captured. Then, template matching is performed on multiple sub-regions within the captured images, comparing them to a prepared background image of the monitored area. Correlation values between these sub-regions are calculated for each sub-region. Based on these correlation values, the presence of vehicles such as trains within the monitored area is then determined.

特許第5386744号公報Patent No. 5386744

ところで、ドライブレコーダーなどの車両内から外部を撮影して記録する録画装置が知られている。 By the way, recording devices that capture and record the outside view from inside a vehicle, such as dashcams, are well known.

しかしながら、上記の従来技術は、テンプレートマッチングを行って、撮像した画像内に車両などの動くものがあるかを検出するものである。上記の従来技術では、例えば、録画装置などにより車両内から外部を撮影した動画像から車両の挙動を求めることができない。 However, the conventional technology described above uses template matching to detect whether there are moving objects, such as vehicles, within the captured image. This conventional technology cannot, for example, determine the vehicle's behavior from video footage captured from inside the vehicle (e.g., using a recording device).

本発明は、車両内から外部を撮影した動画像から車両の挙動を求めることができる情報処理装置、車両挙動判定方法および車両挙動判定プログラムの実現を目的とする。 The present invention aims to realize an information processing device, a vehicle behavior determination method, and a vehicle behavior determination program that can determine the behavior of a vehicle from video footage captured from inside the vehicle looking outwards.

請求項1に記載の情報処理装置は、車両内から外部を撮影した動画像を取得する取得部と、前記取得部により取得した前記動画像のフレームの画像を、前記画像の所定の領域ごとに、フレーム間で比較する比較部と、前記比較部の比較結果に基づいて、前記車両の挙動を判定する判定部と、を備えることを特徴とする。 The information processing device described in claim 1 is characterized by comprising: an acquisition unit that acquires a moving image of the outside taken from inside a vehicle; a comparison unit that compares the images of frames of the moving image acquired by the acquisition unit, for each predetermined region of the image, between frames; and a determination unit that determines the behavior of the vehicle based on the comparison result of the comparison unit.

請求項8に記載の車両挙動判定方法は、情報処理装置が実行する車両挙動判定方法であって、車両内から外部を撮影した動画像を取得する取得工程と、取得した前記動画像のフレームの画像を、前記画像の所定の領域ごとに、フレーム間で比較する比較工程と、比較結果に基づいて、前記車両の挙動を判定する判定工程と、を含むことを特徴とする。 The vehicle behavior determination method described in claim 8 is a vehicle behavior determination method executed by an information processing device, characterized by comprising: an acquisition step of acquiring a moving image of the outside from inside the vehicle; a comparison step of comparing the images of frames of the acquired moving image between frames for each predetermined region of the image; and a determination step of determining the behavior of the vehicle based on the comparison result.

請求項9に記載の車両挙動判定プログラムは、車両内から外部を撮影した動画像を取得する取得手順と、取得した前記動画像のフレームの画像を、前記画像の所定の領域ごとに、フレーム間で比較する比較手順と、比較結果に基づいて、前記車両の挙動を判定する判定手順と、を情報処理装置に実行させるための車両挙動判定プログラムである。 The vehicle behavior determination program described in claim 9 is a vehicle behavior determination program that causes an information processing device to execute an acquisition procedure for acquiring a video image of the outside of a vehicle from inside the vehicle; a comparison procedure for comparing images of frames of the acquired video image across predetermined regions of the image; and a determination procedure for determining the behavior of the vehicle based on the comparison results.

図1は、実施形態に係る情報処理システムの一例を示す図である。Figure 1 shows an example of an information processing system according to the embodiment. 図2は、実施形態に係る情報処理装置の構成例を示す図である。Figure 2 shows an example of the configuration of an information processing device according to the embodiment. 図3は、実施形態に係るフレーム間での画像の比較を説明する図である。Figure 3 illustrates the comparison of images between frames according to the embodiment. 図4は、実施形態に係るテンプレートマッチングを説明する図である。Figure 4 is a diagram illustrating template matching according to an embodiment. 図5は、実施形態に係る車両の挙動の判定を説明する図である。Figure 5 is a diagram illustrating the determination of the vehicle's behavior according to this embodiment. 図6は、実施形態に係る車両の挙動の判定を説明する図である。Figure 6 illustrates the determination of the vehicle's behavior according to this embodiment. 図7は、実施形態に係る車両VExの挙動によるフレームの画像の領域の移動位置を説明する図である。Figure 7 illustrates the movement of the image region within the frame due to the behavior of the vehicle VEx according to this embodiment. 図8は、実施形態に係る車両VExの挙動によるフレームの画像の領域の移動位置を説明する図である。Figure 8 illustrates the movement of the image region within the frame due to the behavior of the vehicle VEx according to this embodiment. 図9は、実施形態に係る車両VExの挙動によるフレームの画像の領域の移動位置を説明する図である。Figure 9 illustrates the movement of the image region within the frame due to the behavior of the vehicle VEx according to this embodiment. 図10は、実施形態に係る車両の挙動の判定を説明する図である。Figure 10 is a diagram illustrating the determination of the vehicle's behavior according to the embodiment. 図11は、実施形態に係る車両の挙動の判定を説明する図である。Figure 11 is a diagram illustrating the determination of the vehicle's behavior according to this embodiment. 図12は、車両の挙動を判定する車両挙動判定処理の手順を示すフローチャートである。Figure 12 is a flowchart showing the procedure for the vehicle behavior determination process, which determines the behavior of a vehicle. 図13は、情報処理装置の機能を実現するコンピュータの一例を示すハードウェア構成図である。Figure 13 is a hardware configuration diagram showing an example of a computer that implements the functions of an information processing device.

以下に、情報処理装置、車両挙動判定方法および車両挙動判定プログラムを実施するための形態(以下、「実施形態」と記載する)の一例について図面を参照しつつ詳細に説明する。なお、この実施形態により情報処理装置、車両挙動判定方法および車両挙動判定プログラムが限定されるものではない。また、以下の実施形態において同一の部位には同一の符号を付し、重複する説明は省略する。 Below, an example of an embodiment for implementing the information processing device, vehicle behavior determination method, and vehicle behavior determination program (hereinafter referred to as "embodiment") will be described in detail with reference to the drawings. Note that the information processing device, vehicle behavior determination method, and vehicle behavior determination program are not limited by this embodiment. Furthermore, the same parts are denoted by the same reference numerals in the following embodiments, and redundant descriptions are omitted.

〔1.システム構成〕
まず、図1を用いて、実施形態に係る情報処理システムの構成を説明する。図1は、実施形態に係る情報処理システムの一例を示す図である。図1には、実施形態に係る情報処理システムの一例として、情報処理システム1が示される。
[1. System Configuration]
First, the configuration of the information processing system according to the embodiment will be explained using Figure 1. Figure 1 is a diagram showing an example of the information processing system according to the embodiment. Figure 1 shows information processing system 1 as an example of the information processing system according to the embodiment.

図1に示すように、情報処理システム1は、車載装置10と、情報処理装置100とを備えてよい。また、車載装置10と、情報処理装置100とは、ネットワークNを介して、有線または無線により通信可能に接続される。また、図1に示す情報処理システム1には、任意の数の車載装置10と、任意の数の情報処理装置100とが含まれてもよい。 As shown in Figure 1, the information processing system 1 may comprise an in-vehicle device 10 and an information processing device 100. The in-vehicle device 10 and the information processing device 100 are connected via a network N, either by wired or wireless communication. Furthermore, the information processing system 1 shown in Figure 1 may include any number of in-vehicle devices 10 and any number of information processing devices 100.

車載装置10は、車両VExに内蔵あるいは外付けされる専用のナビゲーション装置であってよいし、防犯や煽り運転対策のために車両VExに設置される録画装置(ドライブレコーダー)であってもよい。 The in-vehicle device 10 may be a dedicated navigation system built into or attached to the vehicle VEx, or it may be a recording device (dashcam) installed in the vehicle VEx for security purposes or to prevent aggressive driving.

また、車載装置10は、ナビゲーション装置と、録画装置とで構成されてもよい。この一例として、車載装置10は、互いに独立したナビゲーション装置および録画装置が通信可能に接続された複合的な装置であってよい。また、他の例として、車載装置10は、ナビゲーション機能と、録画機能とを有する1つの装置であってもよい。 Furthermore, the in-vehicle device 10 may consist of a navigation device and a recording device. As an example, the in-vehicle device 10 may be a composite device in which an independent navigation device and a recording device are communicated with each other. Another example is that the in-vehicle device 10 may be a single device having both navigation and recording functions.

また、利用者は、日常的に使用している携帯型端末装置(例えば、スマートフォン、タブレット型端末、ノート型PC、デスクトップPC、PDA等)に所定のアプリケーションを導入することで、これを車載装置10として代用することもできる。例えば、所定のナビアプリや所定の録画アプリがインストールされた携帯型端末装置は、ここでいう車載装置10と解せることができる。携帯型端末装置が車載装置10として活用される場合、例えば、運転時において車両VExのダッシュボード等に設置される。 Furthermore, users can substitute their everyday portable devices (e.g., smartphones, tablet devices, notebook PCs, desktop PCs, PDAs, etc.) with the in-vehicle device 10 by installing a predetermined application on them. For example, a portable device with a predetermined navigation application or recording application installed can be considered the in-vehicle device 10 as described herein. When a portable device is used as the in-vehicle device 10, it is installed, for example, on the dashboard of the vehicle VEx while driving.

また、車載装置10は、各種のセンサを備えていてよい。例えば、車載装置10は、カメラ、加速度センサ、ジャイロセンサ、GPSセンサ、気圧センサ等の各種センサを備えていてよい。 Furthermore, the in-vehicle device 10 may be equipped with various sensors. For example, the in-vehicle device 10 may be equipped with various sensors such as a camera, accelerometer, gyroscope, GPS sensor, and barometric pressure sensor.

情報処理装置100は、これらセンサによって検知されたセンサ情報に基づいて(例えば、センサ情報を解析することで)、各種のデータを取得してよい。例えば、情報処理装置100は、カメラにより車両VEx内から外部を撮影した動画像のデータを取得する。また、情報処理装置100は、GPSセンサから位置情報を取得する。情報処理装置100は、車載装置10に備えられるセンサだけでなく、車両VEx自体に備えられるセンサが検知したセンサ情報を取得してよい。 The information processing device 100 may acquire various types of data based on the sensor information detected by these sensors (for example, by analyzing the sensor information). For example, the information processing device 100 may acquire video data of the outside world captured from inside the vehicle VEx by a camera. The information processing device 100 may also acquire location information from a GPS sensor. The information processing device 100 may acquire sensor information detected not only by sensors provided in the in-vehicle device 10, but also by sensors provided in the vehicle VEx itself.

情報処理装置100は、実施形態に係る情報処理を行う装置である。例えば、情報処理装置100は、取得した動画像のフレームの画像を、画像の所定の領域ごとに、フレーム間で比較し、比較結果に基づいて、車両VExの挙動を判定する。また、情報処理装置100は、判定した車両VExの挙動に基づいて、利用者に対して各種の運転支援も行うことができる。 The information processing device 100 is a device that performs information processing according to the embodiment. For example, the information processing device 100 compares images of acquired video frames between frames, for each predetermined region of the image, and determines the behavior of the vehicle VEx based on the comparison results. Furthermore, the information processing device 100 can also provide various driving assistance to the user based on the determined behavior of the vehicle VEx.

ここで、車載装置10を利用者の近くでエッジ処理を行うエッジコンピュータとするなら、情報処理装置100は、例えば、クラウド側で処理を行うクラウドコンピュータであってよい。すなわち、情報処理装置100は、サーバ装置であってよい。 Here, if the in-vehicle device 10 is considered an edge computer that performs edge processing near the user, then the information processing device 100 may be, for example, a cloud computer that performs processing on the cloud side. In other words, the information processing device 100 may be a server device.

また、以下の実施形態では、車載装置10と情報処理装置100との間で情報の送受信が行われることで、情報処理システム1において、実施形態に係る情報処理が実現される例を示す。しかしながら、実施形態に係る情報処理は、エッジ側すなわち車載装置10のみで実現されてもよい。この場合、車載装置10は、例えば、実施形態に係る車両挙動判定プログラムによって、情報処理装置100のように振る舞うよう構成されてよい。 Furthermore, the following embodiment shows an example in which information processing according to the embodiment is realized in the information processing system 1 by transmitting and receiving information between the in-vehicle device 10 and the information processing device 100. However, the information processing according to the embodiment may also be realized on the edge side, i.e., only on the in-vehicle device 10. In this case, the in-vehicle device 10 may be configured to behave like the information processing device 100, for example, by the vehicle behavior determination program according to the embodiment.

車載装置10は、センサによって検知されたセンサ情報を情報処理装置100に送信する。例えば、車載装置10は、カメラにより車両VEx内から外部を撮影する。例えば、カメラは、車両VExの前方に向けて配置され、車両VEx内から車両VExの前方を撮影する。車載装置10は、カメラにより車両VEx内から外部を撮影した動画像のデータを情報処理装置100に送信する。また、車載装置10は、GPSセンサにより検出された車両VExの現在位置を示す位置情報を情報処理装置100に送信する。車載装置10は、カメラにより撮影した動画像やセンサ情報をリアルタイムに送信してもよく、一定期間ごとのタイミングなど周期的なタイミングで送信してもよい。 The in-vehicle device 10 transmits sensor information detected by the sensors to the information processing device 100. For example, the in-vehicle device 10 uses a camera to capture images of the outside from inside the vehicle VEx. For instance, the camera is positioned facing forward of the vehicle VEx, capturing images of the area in front of the vehicle VEx from inside the vehicle VEx. The in-vehicle device 10 transmits the video data of the images captured by the camera from inside the vehicle VEx to the information processing device 100. Furthermore, the in-vehicle device 10 transmits location information indicating the current position of the vehicle VEx, detected by the GPS sensor, to the information processing device 100. The in-vehicle device 10 may transmit the video images and sensor information captured by the camera in real time, or it may transmit them at periodic intervals, such as at regular intervals.

情報処理装置100は、車両VExから取得した動画像のデータやセンサ情報を蓄積する。情報処理装置100は、以下の手順で実施形態に係る情報処理を行って、蓄積した動画像から車両VExの挙動を判定する。 The information processing device 100 stores video data and sensor information acquired from the vehicle VEx. The information processing device 100 performs information processing according to the following procedure to determine the behavior of the vehicle VEx from the stored video data.

〔2.情報処理装置100の構成〕
図2を用いて、実施形態に係る情報処理装置100について説明する。図2は、実施形態に係る情報処理装置100の構成例を示す図である。図2に示すように、情報処理装置100は、通信部110と、記憶部120と、制御部130とを有する。
[2. Configuration of the Information Processing Device 100]
An information processing device 100 according to an embodiment will be described using Figure 2. Figure 2 is a diagram showing an example of the configuration of the information processing device 100 according to an embodiment. As shown in Figure 2, the information processing device 100 has a communication unit 110, a storage unit 120, and a control unit 130.

(通信部110について)
通信部110は、例えば、NIC(Network Interface Card)等によって実現される。そして、通信部110は、ネットワークNと有線または無線で接続され、例えば、車載装置10との間で情報の送受信を行う。
(Regarding Communications Unit 110)
The communication unit 110 is implemented, for example, by a NIC (Network Interface Card). The communication unit 110 is connected to the network N by wire or wireless connection and performs information transmission and reception, for example, with the in-vehicle device 10.

(記憶部120について)
記憶部120は、例えば、RAM(Random Access Memory)、フラッシュメモリ等の半導体メモリ素子またはハードディスク、光ディスク等の記憶装置によって実現される。記憶部120は、動画像データ121と、センサ情報データベース122と、地図情報データベース123とを有する。
(Regarding memory unit 120)
The storage unit 120 is implemented by, for example, a semiconductor memory element such as RAM (Random Access Memory) or flash memory, or a storage device such as a hard disk or optical disc. The storage unit 120 includes dynamic image data 121, a sensor information database 122, and a map information database 123.

動画像データ121は、車載装置10が有するカメラで撮影された動画像のデータである。センサ情報データベース122は、車載装置10が有するセンサ、あるいは、車両VEx自体が有するセンサによって検知されたセンサ情報を記憶するデータベースである。地図情報データベース123は、地図に関する各種の情報を記憶するデータベースである。 The video data 121 is video data captured by the camera of the in-vehicle device 10. The sensor information database 122 is a database that stores sensor information detected by sensors in the in-vehicle device 10 or sensors in the vehicle VEx itself. The map information database 123 is a database that stores various types of map-related information.

(制御部130について)
制御部130は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって、情報処理装置100内部の記憶装置に記憶されている各種プログラム(例えば、実施形態に係る車両挙動判定プログラム)がRAMを作業領域として実行されることにより実現される。また、制御部130は、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現される。
(Regarding the control unit 130)
The control unit 130 is implemented by a CPU (Central Processing Unit) or MPU (Micro Processing Unit), etc., which executes various programs (for example, a vehicle behavior determination program according to the embodiment) stored in the memory device inside the information processing device 100 using RAM as the working area. The control unit 130 is also implemented by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array).

制御部130は、取得部131と、比較部132と、判定部133と、格納部134と、出力部135とを有し、以下に説明する情報処理の機能や作用を実現または実行する。なお、制御部130の内部構成は、図2に示した構成に限られず、後述する情報処理を行う構成であれば他の構成であってもよい。 The control unit 130 comprises an acquisition unit 131, a comparison unit 132, a determination unit 133, a storage unit 134, and an output unit 135, and realizes or executes the information processing functions and operations described below. Note that the internal configuration of the control unit 130 is not limited to the configuration shown in Figure 2; other configurations are also acceptable as long as they perform the information processing described later.

(取得部131について)
取得部131は、車載装置10から各種の情報を取得する。例えば、取得部131は、車載装置10のカメラにより車両VEx内から外部を撮影した動画像のデータを取得する。また、取得部131は、車両VExが有するセンサ(例えば、車両VExに備えられる車載装置10が有するセンサ、あるいは、車両VEx自体が有するセンサ)によって検知されたセンサ情報を取得する。取得部131は、取得した動画像のデータを動画像データ121に記憶する。また、取得部131は、取得したセンサ情報をセンサ情報データベース122に記憶する。
(Regarding acquisition unit 131)
The acquisition unit 131 acquires various types of information from the in-vehicle device 10. For example, the acquisition unit 131 acquires video data of the outside taken from inside the vehicle VEx by the camera of the in-vehicle device 10. The acquisition unit 131 also acquires sensor information detected by sensors of the vehicle VEx (for example, sensors of the in-vehicle device 10 installed in the vehicle VEx, or sensors of the vehicle VEx itself). The acquisition unit 131 stores the acquired video data in video data 121. The acquisition unit 131 also stores the acquired sensor information in the sensor information database 122.

(比較部132について)
比較部132は、各種の比較を行う。例えば、比較部132は、取得部131により取得した動画像のフレームの画像を、画像の所定の領域ごとに、フレーム間で比較する。
(Regarding comparison section 132)
The comparison unit 132 performs various comparisons. For example, the comparison unit 132 compares the images of frames of the video acquired by the acquisition unit 131 between frames, for each predetermined region of the image.

フレーム間での画像の比較の具体的な一例を説明する。図3は、実施形態に係るフレーム間での画像の比較を説明する図である。図3には、動画像のフレームの画像150一例が示されている。比較部132は、動画像のフレームの画像150を所定の複数の領域を区分する。図3では、画像150の周辺を除いた中央部分を縦横に所定の行列状に区分することで、画像150を複数の矩形状の領域160に区分している。 A specific example of comparing images between frames will be explained. Figure 3 is a diagram illustrating the comparison of images between frames according to the embodiment. Figure 3 shows an example of an image 150 from a frame of a moving image. The comparison unit 132 divides the image 150 from the frame of the moving image into a predetermined number of regions. In Figure 3, the central portion of the image 150, excluding the periphery, is divided vertically and horizontally in a predetermined matrix, thereby dividing the image 150 into multiple rectangular regions 160.

比較部132は、動画像のフレームの画像150を領域160ごとに、フレーム間での相関または類似度を判定する、例えばテンプレートマッチングであり、以下テンプレートマッチングとして説明するが、これに限定されない。例えば、比較部132は、動画像のフレームの画像150を領域160ごとに、次のフレームの画像とテンプレートマッチングを行う。図4は、実施形態に係るテンプレートマッチングを説明する図である。図4は、画像の比較対象とする中央の領域160を注目領域160aとして示している。比較部132は、動画像のフレームの画像を領域160ごとに、最初に、次のフレームの画像の同じ位置の領域160とテンプレートマッチングを行う。例えば、比較部132は、フレームの画像の図4に示した注目領域160aとした領域160を、次のフレームの画像の同じ位置の領域160と比較を行い、一致するか否か判定する。比較部132は、比較の結果、一致する領域160については、テンプレートマッチングを終了する。一方、比較部132は、比較の結果、一致しない領域160については、次のフレームの画像の同じ位置の領域160を中心として周辺部分と比較を行い、一致する部分があるか否か判定する。例えば、比較部132は、フレームの画像の図4に示した注目領域160aとした領域160について、次のフレームの画像の同じ位置の領域160を中心として周辺の領域160の範囲をテンプレートマッチングの探索領域とする。比較部132は、注目領域160aとした領域160の画像を、次のフレームの画像の同じ位置の領域160を中心に探索領域の範囲内で移動させて一致する部分があるか否か判定する。比較部132は、一致する部分がない領域160については、テンプレートマッチングを終了する。一方、比較部132は、一致する部分がある場合、一致する部分を、注目領域160aとした領域160についての次のフレームの画像での移動位置と特定して、テンプレートマッチングを終了する。 The comparison unit 132 determines the correlation or similarity between frames for each region 160 of the image 150 of the video frame, for example, using template matching, which will be described below as template matching, but is not limited to this. For example, the comparison unit 132 performs template matching on each region 160 of the image 150 of the video frame with the image of the next frame. Figure 4 is a diagram illustrating template matching according to an embodiment. In Figure 4, the central region 160 to be compared in the images is shown as the region of interest 160a. The comparison unit 132 first performs template matching on each region 160 of the image of the video frame with the region 160 at the same position in the image of the next frame. For example, the comparison unit 132 compares the region 160 designated as the region of interest 160a in Figure 4 of the image of the frame with the region 160 at the same position in the image of the next frame and determines whether they match or not. As a result of the comparison, the comparison unit 132 terminates template matching for the matching regions 160. On the other hand, the comparison unit 132, for regions 160 that do not match as a result of the comparison, compares them with the surrounding area centered on the region 160 at the same position in the image of the next frame, and determines whether or not there is a matching area. For example, the comparison unit 132 uses the area 160 designated as the area of interest 160a in Figure 4 of the image of the frame, and sets the range of the surrounding area 160, centered on the region 160 at the same position in the image of the next frame, as the template matching search area. The comparison unit 132 moves the image of the area 160 designated as the area of interest 160a within the range of the search area, centered on the region 160 at the same position in the image of the next frame, and determines whether or not there is a matching area. The comparison unit 132 terminates template matching for regions 160 where there is no matching area. On the other hand, if there is a matching area, the comparison unit 132 identifies the matching area as the moved position of the area 160 designated as the area of interest 160a in the image of the next frame, and terminates template matching.

なお、動画像のフレームの画像に空や道路の路面などの特徴が乏しい部分が含まれる場合、特徴が乏しい部分の領域160は、フレーム間でテンプレートマッチングを行っても、特徴が乏しいため、精度のよいマッチングが難しい。そこで、比較部132は、特徴が乏しい部分の領域160を比較の対象から除外してもよい。例えば、比較部132は、フレームの画像の各領域160の画素の輝度値の標準偏差を求め、標準偏差が所定値よりも小さい領域160を比較の対象から除外してもよい。所定値は、特徴が乏しいとみなす標準偏差の上限値に定める。これにより、フレーム間での同じ画像部分の領域160を精度よくマッチングできる。 Furthermore, if the image frame of a moving image includes areas with few features, such as the sky or road surface, accurate matching of these featureless areas 160 is difficult even when performing template matching between frames because the features are sparse. Therefore, the comparison unit 132 may exclude these featureless areas 160 from the comparison. For example, the comparison unit 132 may calculate the standard deviation of the luminance values of the pixels in each area 160 of the frame's image and exclude areas 160 whose standard deviation is smaller than a predetermined value from the comparison. The predetermined value is set as the upper limit of the standard deviation considered to be featureless. This allows for accurate matching of the same image area 160 between frames.

(判定部133について)
判定部133は、各種の判定を行う。例えば、判定部133は、比較部132の比較結果に基づいて、車両VExの挙動を判定する。例えば、判定部133は、一致する領域の数に基づいて車両VExの停止を判定する。例えば、判定部133は、一致する領域の数が所定の条件を満たした場合、車両VExが停止していると判定する。また、判定部133は、動画像のフレームの画像の各領域の移動の結果に基づいて車両VExの移動方向を判定する。
(Regarding the determination unit 133)
The determination unit 133 performs various determinations. For example, the determination unit 133 determines the behavior of the vehicle VEx based on the comparison result of the comparison unit 132. For example, the determination unit 133 determines whether the vehicle VEx is stopped based on the number of matching regions. For example, the determination unit 133 determines that the vehicle VEx is stopped if the number of matching regions satisfies a predetermined condition. The determination unit 133 also determines the direction of movement of the vehicle VEx based on the result of the movement of each region of the image in the frame of the moving image.

ここで、車両VExの挙動を判定する具体例を説明する。最初に、図5及び図6を用いて、車両VExの停止を判定する具体例を説明する。 Here, we will explain a specific example of determining the behavior of the vehicle VEx. First, we will explain a specific example of determining when the vehicle VEx is stopped, using Figures 5 and 6.

図5は、実施形態に係る車両の挙動の判定を説明する図である。図5は、駐車場に停車中の車両VEx内から車両VExの前方を撮影した画像151が示されている。画像151には、停車中の車両VExの前方の建物151a、151bが写っている。 Figure 5 illustrates the determination of the vehicle's behavior according to this embodiment. Figure 5 shows an image 151 taken from inside a parked vehicle VEx, looking forward to the front of the vehicle VEx. Image 151 shows buildings 151a and 151b in front of the parked vehicle VEx.

比較部132は、画像151を複数の矩形状の領域160に区分する。比較部132は、画像151の各領域160の画素の輝度値の標準偏差を求める。比較部132は、標準偏差が所定値よりも小さい領域160を比較の対象から除外し、標準偏差が所定値以上の領域160を次のフレームの画像とテンプレートマッチングを行う。図5には、テンプレートマッチングの結果、一致する領域161が示されている。また、図5には、比較の対象から除外された、又は、一致する部分が無かった領域162が示されている。図5では、路面の領域160などが、特徴が乏しいため、比較の対象から除外されている。 The comparison unit 132 divides the image 151 into multiple rectangular regions 160. The comparison unit 132 calculates the standard deviation of the luminance values of the pixels in each region 160 of the image 151. The comparison unit 132 excludes regions 160 with a standard deviation smaller than a predetermined value from the comparison, and performs template matching with the image of the next frame for regions 160 with a standard deviation greater than or equal to the predetermined value. Figure 5 shows the regions 161 that match as a result of template matching. Figure 5 also shows regions 162 that were excluded from the comparison or where no matching parts were found. In Figure 5, regions such as the road surface 160 are excluded from the comparison because they lack distinctive features.

図6は、実施形態に係る車両の挙動の判定を説明する図である。図6は、道路を走行中の車両VEx内から車両VExの前方を撮影した画像152が示されている。画像152には、車両VExが走行中の道路152aや道路周辺の建物152bが写っている。 Figure 6 illustrates the determination of the vehicle's behavior according to this embodiment. Figure 6 shows an image 152 taken from inside the vehicle VEx while it is traveling on a road, showing the area in front of the vehicle VEx. Image 152 shows the road 152a and surrounding buildings 152b.

比較部132は、画像152を複数の矩形状の領域160に区分する。比較部132は、画像152の各領域160の画素の輝度値の標準偏差を求める。比較部132は、標準偏差が所定値よりも小さい領域160を比較の対象から除外し、標準偏差が所定値以上の領域160を次のフレームの画像とテンプレートマッチングを行う。これにより、テンプレートマッチングに適さない特徴の小さい領域を除外できる。輝度値の標準偏差以外にも、特徴点が抽出されない、エッジが抽出されないことによる除外を行っても良い。図6には、テンプレートマッチングの結果、一致する領域161が示されている。図6では、車両VExが走行中であるため、道路152aの遠方付近の領域160などが一致する領域161として示されている。また、図6には、テンプレートマッチングの結果、領域160と一致する部分がある場合の次のフレームでの移動位置がマッチング領域163として示されている。また、図6には、マッチング領域163への移動方向が矢印164により示されている。例えば、図6では、建物152b付近の領域160でマッチング領域163が特定され、移動方向が矢印164により示されている。また、図6には、比較の対象から除外された、又は、一致する部分が無かった領域162が示されている。図6では、車両VExが走行中であるため、多くの領域160が領域162となっている。 The comparison unit 132 divides the image 152 into multiple rectangular regions 160. The comparison unit 132 calculates the standard deviation of the luminance values of the pixels in each region 160 of the image 152. The comparison unit 132 excludes regions 160 with a standard deviation smaller than a predetermined value from the comparison, and performs template matching with the image of the next frame for regions 160 with a standard deviation greater than or equal to the predetermined value. This allows for the exclusion of regions with few features that are unsuitable for template matching. In addition to the standard deviation of luminance values, exclusion may also be performed if feature points are not extracted or edges are not extracted. Figure 6 shows the matching regions 161 as a result of template matching. In Figure 6, since the vehicle VEx is moving, regions 160 near the far end of the road 152a are shown as matching regions 161. Also in Figure 6, the movement position in the next frame when there is a part that matches region 160 as a result of template matching is shown as a matching region 163. Also in Figure 6, the direction of movement to the matching region 163 is indicated by an arrow 164. For example, in Figure 6, a matching region 163 is identified in region 160 near building 152b, and the direction of movement is indicated by an arrow 164. Figure 6 also shows regions 162 that were excluded from the comparison or where no matching parts were found. In Figure 6, since the vehicle VEx is moving, many regions 160 become regions 162.

判定部133は、比較部132の比較結果に基づいて、車両VExの挙動を判定する。例えば、判定部133は、一致する領域161の数に基づいて車両VExの停止を判定する。例えば、判定部133は、一致する領域161の数が、所定の閾値以上、又は、比較の対象とした領域160の数の所定の割合以上である場合、車両VExが停止していると判定する。所定の閾値又は所定の割合は、車両VExが停止しているとみなせる値に定める。例えば、所定の割合を30~60%の何れかとする。これにより、判定部133は、図5に示した画像151から車両VExが停止していると判定でき、図6に示した画像152から車両VExが停止していないと判定できる。また、図5は、一致する領域161の数が78個である。一方、図6は、一致する領域161の数が4個である。例えば、閾値を30~78の何れかの値(または30~60%の割合)とすることで、判定部133は、図5に示した画像151から車両VExが停止していると判定でき、図6に示した画像152から車両VExが停止していないと判定できる。 The determination unit 133 determines the behavior of the vehicle VEx based on the comparison result of the comparison unit 132. For example, the determination unit 133 determines whether the vehicle VEx is stopped based on the number of matching regions 161. For example, the determination unit 133 determines that the vehicle VEx is stopped if the number of matching regions 161 is greater than or equal to a predetermined threshold, or greater than or equal to a predetermined percentage of the number of regions 160 that were compared. The predetermined threshold or predetermined percentage is set to a value that allows the vehicle VEx to be considered stopped. For example, the predetermined percentage is set to either 30% or 60%. As a result, the determination unit 133 can determine that the vehicle VEx is stopped from the image 151 shown in Figure 5, and that the vehicle VEx is not stopped from the image 152 shown in Figure 6. Also, in Figure 5, the number of matching regions 161 is 78. On the other hand, in Figure 6, the number of matching regions 161 is 4. For example, by setting the threshold to a value between 30 and 78 (or a percentage between 30 and 60%), the determination unit 133 can determine from image 151 shown in Figure 5 that the vehicle VEx is stopped, and from image 152 shown in Figure 6 that the vehicle VEx is not stopped.

次に、図7~図11を用いて、車両VExの移動方向を判定する具体例を説明する。図7~図9は、実施形態に係る車両VExの挙動によるフレームの画像の領域160の移動位置を説明する図である。図7~図9には、車両VExの挙動による、Nフレームの画像の領域160のN+1フレームでの移動位置が概略的に示されている。図7~図9では、画像の中央に位置する領域160の縦列を列Cとする。また、図7~図9では、列Cに対して、右側に1列となりの領域160の縦列を列R1とし、右側に2列となりの領域160の縦列を列R2とする。また、図7~図9では、列Cに対して、左側に1列となりの領域160の縦列を列L1とし、左側に2列となりの領域160の縦列を列L2とする。 Next, we will explain a specific example of determining the direction of movement of the vehicle VEx using Figures 7 to 11. Figures 7 to 9 illustrate the movement position of the image region 160 in the frame due to the behavior of the vehicle VEx according to the embodiment. Figures 7 to 9 schematically show the movement position of the image region 160 in N frames over N+1 frames due to the behavior of the vehicle VEx. In Figures 7 to 9, the vertical column of region 160 located in the center of the image is designated as column C. Also in Figures 7 to 9, the vertical column of region 160 one column to the right of column C is designated as column R1, and the vertical column of region 160 two columns to the right is designated as column R2. Also in Figures 7 to 9, the vertical column of region 160 one column to the left of column C is designated as column L1, and the vertical column of region 160 two columns to the left is designated as column L2.

図7は、車両VExが直進している場合の領域160の移動を示している。車両VExが直進している場合、領域160は、画像の中心から放射状に移動する。例えば、Nフレームの画像の領域160は、N+1フレームにおいて、列Cを中央として、列R1、列R2の領域160が右側に移動し、列L1、列L2の領域160が左側に移動する。また、列C、列R1、列R2、列L1、列L2の領域160は、縦方向にも移動する。また、Nフレームの画像の領域160は、中央の列Cから離れるほど、移動量が大きくなる。例えば、N+1フレームにおいて、列L2の領域160は、列L1の領域160よりも大きく移動する。 Figure 7 shows the movement of region 160 when the vehicle VEx is moving in a straight line. When the vehicle VEx is moving in a straight line, region 160 moves radially from the center of the image. For example, in an N-frame image, in N+1 frames, with column C as the center, the regions 160 of columns R1 and R2 move to the right, and the regions 160 of columns L1 and L2 move to the left. Furthermore, the regions 160 of columns C, R1, R2, L1, and L2 also move vertically. Additionally, the amount of movement of region 160 in an N-frame image increases as it moves further away from the central column C. For example, in N+1 frames, the region 160 of column L2 moves more than the region 160 of column L1.

図8は、車両VExが左折している場合の領域160の移動を示している。車両VExが左折している場合、領域160は、画像の右側へ上下に広がりつつ移動する。例えば、Nフレームの画像の領域160は、N+1フレームにおいて、列L2、列L1、列C1、列R1、列R2の領域160が右側に移動する。また、領域160は、画像の縦方向の中心位置から離れているほど縦方向にも移動する。また、右側の例の領域160ほど、移動量が大きくなる。例えば、N+1フレームにおいて、列R2の領域160は、列R1の領域160よりも右側に大きく移動する。 Figure 8 shows the movement of region 160 when vehicle VEx is turning left. When vehicle VEx is turning left, region 160 moves vertically and expands to the right of the image. For example, in an N-frame image, in N+1 frames, regions 160 in columns L2, L1, C1, R1, and R2 move to the right. Furthermore, the further region 160 is from the vertical center of the image, the greater its vertical movement. Also, the further to the right the region 160 is, the greater its movement. For example, in N+1 frames, region 160 in column R2 moves further to the right than region 160 in column R1.

図9は、車両VExが右折している場合の領域160の移動を示している。車両VExが右折している場合、領域160は、画像の左側へ上下に広がりつつ移動する。例えば、Nフレームの画像の領域160は、N+1フレームにおいて、列L2、列L1、列C1、列R1、列R2の領域160が左側に移動する。また、領域160は、画像の縦方向の中心位置から離れているほど縦方向にも移動する。また、車両VExが右折している場合、左側の例の領域160ほど、移動量が大きくなる。例えば、N+1フレームにおいて、列L2の領域160は、列L1の領域160よりも左側に大きく移動する。 Figure 9 shows the movement of region 160 when vehicle VEx is turning right. When vehicle VEx is turning right, region 160 moves while expanding vertically to the left of the image. For example, in an N-frame image, in N+1 frames, the regions 160 of columns L2, L1, C1, R1, and R2 move to the left. Furthermore, the further region 160 is from the vertical center of the image, the greater its vertical movement. Also, when vehicle VEx is turning right, the amount of movement is greater for the region 160 on the left side of the example. For example, in N+1 frames, the region 160 of column L2 moves significantly to the left than the region 160 of column L1.

よって、動画像のフレームの画像の各領域160の移動の結果に基づいて車両VExの移動方向を判定できる。 Therefore, the direction of movement of the vehicle VEx can be determined based on the movement of each region 160 of the image within the video frame.

図10は、実施形態に係る車両VExの挙動の判定を説明する図である。図10は、左折中の車両VEx内から車両VExの前方を撮影した画像153が示されている。画像153には、交差点の横断歩道153aや、街路樹153b、車両153cなどが写っている。 Figure 10 illustrates the determination of the behavior of the vehicle VEx according to this embodiment. Figure 10 shows an image 153 taken from inside the vehicle VEx while it is turning left, showing the view in front of the vehicle VEx. Image 153 includes a pedestrian crossing 153a at an intersection, street trees 153b, and a vehicle 153c.

比較部132は、画像153を複数の矩形状の領域160に区分する。比較部132は、画像153の各領域160の画素の輝度値の標準偏差を求める。比較部132は、標準偏差が所定値よりも小さい領域160を比較の対象から除外し、標準偏差が所定値以上の領域160を次のフレームの画像とテンプレートマッチングを行う。例えば、比較部132は、領域160を、次のフレームの画像の同じ位置の領域160と比較を行い、一致するか否か判定する。比較部132は、領域160の類似度を示す相関値を求め、相関値が閾値より大きい場合、一致すると判定する。比較部132は、比較の結果、一致する領域160については、テンプレートマッチングを終了する。一方、比較部132は、比較の結果、一致しない領域160については、次のフレームの画像の同じ位置の領域160を中心として周辺部分と比較を行い、一致する部分があるか否か判定する。比較部132は、周辺部分について、領域160の類似度を示す相関値を求め、相関値が閾値より大きい部分を一致する部分と判定する。比較部132は、一致する部分がある場合、一致する部分を、領域160についての次のフレームの画像での移動位置と特定する。一致の判定に用いる閾値は、変更してもよい。例えば、領域160を次のフレームの画像の同じ位置と比較する場合、閾値を高くすることで、高い精度での一致を判定できる。一方、領域160を次のフレームの周辺部分と比較する場合、閾値を低くすることで、移動位置を特定しやすくすることができる。図10には、テンプレートマッチングの結果、一致する領域161が示されている。図10では、車両VExが左折中であり、画像に写る物体が全体的に右に移動するため、一致する領域161が少なく、画像153の右下の領域160が一致する領域161として示されている。また、図10には、テンプレートマッチングの結果、領域160と一致する部分がある場合の次のフレームでの移動位置がマッチング領域163として示されている。例えば、図10では、横断歩道153aや車両153cの付近の領域160でマッチング領域163が特定されている。また、図10には、比較の対象から除外された、又は、一致する部分が無かった領域162が示されている。 The comparison unit 132 divides the image 153 into multiple rectangular regions 160. The comparison unit 132 calculates the standard deviation of the brightness values of the pixels in each region 160 of the image 153. The comparison unit 132 excludes regions 160 whose standard deviation is smaller than a predetermined value from the comparison, and performs template matching with the image of the next frame for regions 160 whose standard deviation is greater than or equal to the predetermined value. For example, the comparison unit 132 compares region 160 with region 160 at the same position in the image of the next frame and determines whether they match. The comparison unit 132 calculates a correlation value indicating the similarity of the regions 160, and determines that they match if the correlation value is greater than a threshold. The comparison unit 132 terminates template matching for regions 160 that match as a result of the comparison. On the other hand, for regions 160 that do not match as a result of the comparison, the comparison unit 132 compares the surrounding area with the region 160 at the same position in the image of the next frame as the center and determines whether there is a matching part. The comparison unit 132 calculates a correlation value indicating the similarity of region 160 to the surrounding area, and determines that the area with a correlation value greater than a threshold is a matching area. If a matching area is found, the comparison unit 132 identifies the matching area as the movement position of region 160 in the next frame's image. The threshold used for determining the match may be changed. For example, when comparing region 160 to the same position in the next frame's image, a higher threshold can be used to determine the match with higher accuracy. On the other hand, when comparing region 160 to the surrounding area of the next frame, a lower threshold can be used to make it easier to identify the movement position. Figure 10 shows the matching area 161 as a result of template matching. In Figure 10, the vehicle VEx is turning left, and the objects in the image are generally moving to the right, so there are few matching areas 161, and the lower right area 160 of image 153 is shown as the matching area 161. Also in Figure 10, the movement position in the next frame when there is a matching area with region 160 as a result of template matching is shown as the matching area 163. For example, in Figure 10, a matching area 163 is identified in area 160 near the pedestrian crossing 153a and vehicle 153c. Figure 10 also shows areas 162 that were excluded from the comparison or where no matching portions were found.

図11は、実施形態に係る車両VExの挙動の判定を説明する図である。図11は、右折中の車両VEx内から車両VExの前方を撮影した画像154が示されている。画像154には、交差点の角に建つ建物154aや、車両154b、右折先の道路154c、道路154cの脇に沿った線路154dが写っている。 Figure 11 illustrates the determination of the behavior of the vehicle VEx according to the embodiment. Figure 11 shows an image 154 taken from inside the vehicle VEx while it is turning right, showing the view in front of the vehicle VEx. Image 154 shows a building 154a at the corner of the intersection, the vehicle 154b, the road 154c ahead of the right turn, and the railway tracks 154d running alongside the road 154c.

比較部132は、画像154を複数の矩形状の領域160に区分する。比較部132は、画像154の各領域160の画素の輝度値の標準偏差を求める。比較部132は、標準偏差が所定値よりも小さい領域160を比較の対象から除外し、標準偏差が所定値以上の領域160を次のフレームの画像とテンプレートマッチングを行う。図11には、テンプレートマッチングの結果、一致する領域161が示されている。図11では、車両VExが右折中であり、画像に写る物体が全体的に左に移動するため、一致する領域161が少なく、画像154の右下の領域160が一致する領域161として示されている。また、図11には、テンプレートマッチングの結果、領域160と一致する部分がある場合の次のフレームでの移動位置がマッチング領域163として示されている。例えば、図11では、建物154a付近の領域160でマッチング領域163が特定されている。また、図11には、比較の対象から除外された、又は、一致する部分が無かった領域162が示されている。 The comparison unit 132 divides the image 154 into multiple rectangular regions 160. The comparison unit 132 calculates the standard deviation of the brightness values of the pixels in each region 160 of the image 154. The comparison unit 132 excludes regions 160 with a standard deviation smaller than a predetermined value from the comparison, and performs template matching with the image of the next frame for regions 160 with a standard deviation greater than or equal to the predetermined value. Figure 11 shows the regions 161 that match as a result of template matching. In Figure 11, the vehicle VEx is turning right, and the objects in the image are generally moving to the left, so there are few matching regions 161, and the lower right region 160 of the image 154 is shown as a matching region 161. Also in Figure 11, the movement position in the next frame when there is a part that matches a region 160 as a result of template matching is shown as a matching region 163. For example, in Figure 11, a matching region 163 is identified in the region 160 near the building 154a. Furthermore, Figure 11 shows the regions 162 that were excluded from the comparison or for which no matching parts were found.

判定部133は、比較部132の比較結果に基づいて、車両VExの挙動を判定する。例えば、判定部133は、各領域160の移動の結果に基づいて車両VExの移動方向を判定する。例えば、判定部133は、動画像のフレームの画像全体において、右側への移動する領域の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが左折していると判定する。また、判定部133は、動画像のフレームの画像全体において、左側への移動する領域の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが右折していると判定する。所定の閾値又は所定の割合は、車両VExが右左折しているとみなせる値に定める。例えば、図10は、動画像のフレームの画像全体において、右側への移動する領域160の数が22個である。一方、図11は、動画像のフレームの画像全体において、左側への移動する領域160の数が24個である。例えば、閾値を10~20程度の値とすることで、判定部133は、図10に示した画像153から車両VExが左折していると判定でき、図10に示した画像154から車両VExが右折していないと判定できる。 The determination unit 133 determines the behavior of the vehicle VEx based on the comparison result of the comparison unit 132. For example, the determination unit 133 determines the direction of movement of the vehicle VEx based on the movement results of each region 160. For example, the determination unit 133 determines that the vehicle VEx is turning left if the number of regions moving to the right in the entire image of the video frame is greater than or equal to a predetermined threshold or a predetermined percentage. Also, the determination unit 133 determines that the vehicle VEx is turning right if the number of regions moving to the left in the entire image of the video frame is greater than or equal to a predetermined threshold or a predetermined percentage. The predetermined threshold or predetermined percentage is set to a value that allows the vehicle VEx to be considered to be turning right or left. For example, in Figure 10, the number of regions 160 moving to the right in the entire image of the video frame is 22. On the other hand, in Figure 11, the number of regions 160 moving to the left in the entire image of the video frame is 24. For example, by setting the threshold value to approximately 10 to 20, the determination unit 133 can determine from image 153 in Figure 10 that vehicle VEx is turning left, and from image 154 in Figure 10 that vehicle VEx is not turning right.

ここで、図7~図9に示したように、動画像のフレームの画像の左側半分に位置する領域160は、直進や右折の場合、左側へ移動し、左折の場合、右側へ移動する。また、動画像のフレームの画像の右側半分に位置する領域160は、直進や左折の場合、右側へ移動し、右折の場合、左側へ移動する。 Here, as shown in Figures 7 to 9, the region 160 located in the left half of the image frame of the moving image moves to the left when moving straight or turning right, and to the right when turning left. Similarly, the region 160 located in the right half of the image frame of the moving image moves to the right when moving straight or turning left, and to the left when turning right.

そこで、判定部133は、動画像のフレームの画像の左側半分に位置する領域160の右側への移動に基づいて右折を判定し、動画像のフレームの画像の右側半分に位置する領域160の左側への移動に基づいて左折を判定してもよい。例えば、判定部133は、動画像のフレームの画像の左側半分において、右側への移動する領域160の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが左折していると判定する。また、判定部133は、動画像のフレームの画像の右側半分において、左側への移動する領域160の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが右折していると判定する。所定の閾値又は所定の割合は、車両VExが右左折しているとみなせる値に定める。もしくは、移動量のみに着目し、直進時よりも移動量が多い事により右左折を判定しても良い。 Therefore, the determination unit 133 may determine a right turn based on the movement of the region 160 located in the left half of the image frame to the right, and determine a left turn based on the movement of the region 160 located in the right half of the image frame to the left. For example, the determination unit 133 determines that the vehicle VEx is turning left if the number of regions 160 moving to the right in the left half of the image frame is greater than or equal to a predetermined threshold or a predetermined percentage. Also, the determination unit 133 determines that the vehicle VEx is turning right if the number of regions 160 moving to the left in the right half of the image frame is greater than or equal to a predetermined threshold or a predetermined percentage. The predetermined threshold or percentage is set to a value that allows the vehicle VEx to be considered to be turning right or left. Alternatively, the determination of a right or left turn may be made by focusing only on the amount of movement, and if the amount of movement is greater than when moving straight.

また、判定部133は、領域160の縦列ごとに移動の平均を求めて車両VExの挙動を判定してもよい。例えば、判定部133は、領域160の縦列ごとに、平均の移動量及び移動方向を求める。判定部133は、領域160の縦列ごとの平均の移動量及び移動方向に基づいて、車両VExの挙動を判定する。 Furthermore, the determination unit 133 may determine the behavior of the vehicle VEx by calculating the average movement for each column of region 160. For example, the determination unit 133 calculates the average amount of movement and direction of movement for each column of region 160. Based on the average amount of movement and direction of movement for each column of region 160, the determination unit 133 determines the behavior of the vehicle VEx.

例えば、図10には、画像153の下側に、領域160の縦列ごとに、平均の移動量及び移動方向がバー170により示されている。 For example, in Figure 10, below image 153, the average displacement and direction of movement are indicated by bars 170 for each column of region 160.

また、図11には、画像154の下側に、領域160の縦列ごとに、平均の移動量及び移動方向がバー170により示されている。 Furthermore, in Figure 11, below image 154, the average displacement and direction of movement are indicated by bars 170 for each vertical column of region 160.

判定部133は、動画像のフレームの画像全体において、移動方向が右側かつ平均の移動量が一定値以上となった縦列の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが左折していると判定する。また、判定部133は、動画像のフレームの画像全体において、移動方向が左側かつ平均の移動量が一定値以上となった縦列の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが右折していると判定する。所定の閾値又は所定の割合は、車両VExが右左折しているとみなせる値に定める。例えば、閾値を10~30程度の値とすることで、判定部133は、図10に示した画像153から車両VExが左折していると判定でき、図10に示した画像154から車両VExが右折していないと判定できる。 The determination unit 133 determines that the vehicle VEx is turning left if, in the entire frame of the moving image, the number of columns where the direction of movement is to the right and the average amount of movement is greater than or equal to a certain value is greater than or equal to a predetermined threshold or a predetermined percentage. Furthermore, the determination unit 133 determines that the vehicle VEx is turning right if, in the entire frame of the moving image, the number of columns where the direction of movement is to the left and the average amount of movement is greater than or equal to a predetermined threshold or a predetermined percentage. The predetermined threshold or percentage is set to a value that allows the vehicle VEx to be considered to be turning left or left. For example, by setting the threshold to a value of approximately 10 to 30, the determination unit 133 can determine from image 153 shown in Figure 10 that the vehicle VEx is turning left, and from image 154 shown in Figure 10 that the vehicle VEx is not turning right.

また、判定部133は、動画像のフレームの画像の左側半分と右側半分でそれぞれ領域160の縦列ごとに移動量の平均を求めて車両VExの挙動を判定してもよい。 Furthermore, the determination unit 133 may determine the behavior of the vehicle VEx by calculating the average of the movement amounts for each column of region 160 in the left and right halves of the image frame of the moving image.

例えば、図10には、画像153の下側に、左折と判定された縦列の数と、右折と判定された縦列の数とが「L:8、R:0」として示されている。左折と判定された縦列の数は、画像153の右側半分において、移動方向が右側かつ平均の移動量が一定値以上となった縦列の数をカウントした値である。右折と判定された縦列の数は、画像153の左側半分において、移動方向が右側かつ平均の移動量が一定値以上となった縦列の数をカウントした値である。 For example, in Figure 10, the number of columns determined to be left turns and the number of columns determined to be right turns are shown as "L: 8, R: 0" below Image 153. The number of columns determined to be left turns is the count of columns in the right half of Image 153 where the direction of movement was to the right and the average movement amount was above a certain value. The number of columns determined to be right turns is the count of columns in the left half of Image 153 where the direction of movement was to the right and the average movement amount was above a certain value.

また、図11には、画像154の下側に、左折と判定された縦列の数と、右折と判定された縦列の数とが「L:0、R:8」として示されている。左折と判定された縦列の数は、画像154の右側半分において、移動方向が右側かつ平均の移動量が一定値以上となった縦列の数をカウントした値である。右折と判定された縦列の数は、画像154の左側半分において、移動方向が左側かつ平均の移動量が一定値以上となった縦列の数をカウントした値である。 Furthermore, Figure 11 shows the number of columns determined to be left turns and the number of columns determined to be right turns, labeled "L: 0, R: 8," below Image 154. The number of columns determined to be left turns is the count of columns in the right half of Image 154 where the direction of movement was to the right and the average movement amount was above a certain value. The number of columns determined to be right turns is the count of columns in the left half of Image 154 where the direction of movement was to the left and the average movement amount was above a certain value.

判定部133は、動画像のフレームの画像の左側半分において、移動方向が右側かつ平均の移動量が一定値以上となった縦列の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが左折していると判定する。また、判定部133は、動画像のフレームの画像の右側半分において、移動方向が左側かつ平均の移動量が一定値以上となった縦列の数が所定の閾値以上、又は、所定の割合以上である場合、車両VExが右折していると判定する。所定の閾値又は所定の割合は、車両VExが右左折しているとみなせる値に定める。例えば、閾値を5程度の値とすることで、判定部133は、図10に示した画像153から車両VExが左折していると判定でき、図11に示した画像154から車両VExが右折していないと判定できる。なお、判定部133は、左折と判定された縦列の数と右折と判定された縦列の数との差分から、右左折を判定してもよい。例えば、判定部133は、左折と判定された縦列の数から右折と判定された縦列の数を引いた差分の値が所定の閾値以上、又は、所定の割合以上である場合、車両VExが左折していると判定してもよい。また、判定部133は、右折と判定された縦列の数から左折と判定された縦列の数を引いた差分の値が所定の閾値以上、又は、所定の割合以上である場合、車両VExが右折していると判定してもよい。例えば、左折と判定された縦列の数を2とする。右折と判定された縦列の数を8とする。閾値を5とする。この場合、右折と判定された縦列の数から左折と判定された縦列の数を引いた差分の値は、6となる。判定部133は、差分の値である6が閾値の5以上であることから、右折と判定する。 The determination unit 133 determines that the vehicle VEx is turning left if, in the left half of the image of the frame of the moving image, the number of columns where the direction of movement is to the right and the average amount of movement is greater than or equal to a certain value is greater than or equal to a predetermined threshold or a predetermined percentage. The determination unit 133 also determines that the vehicle VEx is turning right if, in the right half of the image of the frame of the moving image, the number of columns where the direction of movement is to the left and the average amount of movement is greater than or equal to a certain value is greater than or equal to a predetermined threshold or a predetermined percentage. The predetermined threshold or predetermined percentage is set to a value that allows the vehicle VEx to be considered to be turning left or right. For example, by setting the threshold to a value of about 5, the determination unit 133 can determine that the vehicle VEx is turning left from image 153 shown in Figure 10, and that the vehicle VEx is not turning right from image 154 shown in Figure 11. Alternatively, the determination unit 133 may determine whether a turn is left or right based on the difference between the number of columns determined to be turning left and the number of columns determined to be turning right. For example, the determination unit 133 may determine that vehicle VEx is turning left if the difference between the number of columns determined to be turning left and the number of columns determined to be turning right is greater than or equal to a predetermined threshold or a predetermined percentage. Alternatively, the determination unit 133 may determine that vehicle VEx is turning right if the difference between the number of columns determined to be turning right and the number of columns determined to be turning left is greater than or equal to a predetermined threshold or a predetermined percentage. For example, suppose the number of columns determined to be turning left is 2, the number of columns determined to be turning right is 8, and the threshold is 5. In this case, the difference between the number of columns determined to be turning right and the number of columns determined to be turning left is 6. Since the difference of 6 is greater than or equal to the threshold of 5, the determination unit 133 determines that it is turning right.

なお、複数車線の道路において車両VExと他の車両が同じ速度で並走している場合、動画像には、並走する他の車両が同様の位置に写り、一致する領域161の数が多くなるため、車両VExが停止していると判定される場合がある。そこで、判定部133は、一致する領域161の数が所定の条件を満たすフレームが所定数連続した場合、車両VExが停止した判定してもよい。例えば、判定部133は、一致する領域161の数が、所定の閾値以上、又は、比較の対象とした領域160の数の所定の割合以上であるフレームが、例えば、5フレーム連続した場合、車両VExが停止した判定する。これにより、車両VExと他の車両が一時的に同じ速度で並走した場合に車両VExが停止したと判定されることを抑制でき、車両VExの停止を精度よく判定できる。判定部133は、右折、左折についても、所定数連続したフレームで右折、左折と判定された場合、車両VExが右折、左折したと判定してもよい。所定数は、可変としてもよく、小さな値とすることで短い時間で車両VExの挙動を判定できる。 Furthermore, when a vehicle VEx and another vehicle are traveling side-by-side at the same speed on a multi-lane road, the video image may show the other vehicles traveling alongside at similar positions, resulting in a large number of matching regions 161. Therefore, the determination unit 133 may determine that the vehicle VEx has stopped if a predetermined number of consecutive frames satisfy a predetermined condition regarding the number of matching regions 161. For example, the determination unit 133 determines that the vehicle VEx has stopped if, for example, five consecutive frames have a number of matching regions 161 equal to or greater than a predetermined threshold, or equal to or greater than a predetermined ratio of the number of regions 160 used for comparison. This suppresses the misjudgment that the vehicle VEx has stopped when it is temporarily traveling side-by-side at the same speed as another vehicle, and allows for accurate determination of the vehicle VEx's stopping. The determination unit 133 may also determine that the vehicle VEx has made a right or left turn if a predetermined number of consecutive frames indicate a right or left turn. The predetermined number may be variable; setting it to a small value allows for quick determination of the vehicle's VEx behavior.

(格納部134について)
格納部134は、判定部133による判定結果を記憶する。例えば、格納部134は、判定部133により判定された車両VExの挙動を、挙動が判定された動画像のフレームや撮影時刻に対応付けて、動画像データ121又は動画像データ121に関連付けられたデータに記憶する。なお、格納部134は、判定部133による判定結果を挙動が検出された地図の位置に対応付けて地図情報データベース123に記憶させてもよい。
(Regarding the storage unit 134)
The storage unit 134 stores the determination result made by the determination unit 133. For example, the storage unit 134 stores the behavior of the vehicle VEx determined by the determination unit 133 in the video data 121 or data associated with the video data 121, associating it with the frame and time of capture of the video in which the behavior was determined. Alternatively, the storage unit 134 may store the determination result made by the determination unit 133 in the map information database 123, associating it with the location on the map where the behavior was detected.

(出力部135について)
出力部135は、各種の出力を行う。例えば、出力部135は、判定部133による判定結果に基づいて、各種の情報を車載装置10に送信する。例えば、出力部135は、地図情報データベース123に記憶された一時停止が必要な箇所において、判定部133により停止との判定が得られない場合、警告を車載装置10に送信する。
(Regarding the output unit 135)
The output unit 135 performs various outputs. For example, the output unit 135 transmits various information to the in-vehicle device 10 based on the determination result by the determination unit 133. For example, if the determination unit 133 does not determine that a stop is required at a location stored in the map information database 123, the output unit 135 transmits a warning to the in-vehicle device 10.

このように、実施形態に係る情報処理装置100は、車両VEx内から外部を撮影した動画像から車両VExの挙動を求めることができる。例えば、情報処理装置100は、動画像から車両VExの停止や、右折、左折の挙動を求めることができる。例えば、情報処理装置100は、GPSの位置情報では判別できないような一時停止などの車両VExの瞬時の停止などの挙動を動画像から求めることができる。これにより、情報処理装置100は、次のように利用することもできる。例えば、情報処理装置100により、ドライブレコーダーなどの録画装置で撮影された動画像から車両VExの挙動を求めることで、事故の検証を行うことができる。例えば、車両VExが一時停止を行った否かを動画像から検証できる。また、情報処理装置100により、動画像から車両VExの挙動を求めることで、ドライバが安全運転を行っているかを評価でき、例えば、保険会社がテレマスティック保険などでドライバの運転の評価に利用できる。 As described above, the information processing device 100 according to this embodiment can determine the behavior of the vehicle VEx from video footage captured from inside the vehicle VEx looking outwards. For example, the information processing device 100 can determine the vehicle VEx's stopping, right turns, and left turns from the video footage. For example, the information processing device 100 can determine from the video footage behaviors of the vehicle VEx, such as momentary stops that cannot be determined by GPS location information alone. Therefore, the information processing device 100 can also be used in the following ways. For example, by determining the behavior of the vehicle VEx from video footage captured by a recording device such as a drive recorder using the information processing device 100, accident verification can be performed. For example, it can be verified from the video footage whether or not the vehicle VEx made a stop. Furthermore, by determining the behavior of the vehicle VEx from video footage using the information processing device 100, it is possible to evaluate whether the driver is driving safely, and this can be used, for example, by insurance companies to evaluate driver performance in telemastic insurance.

〔3.処理手順〕
続いて、図12を用いて、情報処理装置100が実施する情報処理の手順について説明する。図12は、車両の挙動を判定する車両挙動判定処理の手順を示すフローチャートである。
[3. Processing Procedure]
Next, the information processing procedure performed by the information processing device 100 will be explained using Figure 12. Figure 12 is a flowchart showing the procedure for the vehicle behavior determination process, which determines the behavior of the vehicle.

図12の例によれば、取得部131は、車載装置10から各種の情報を取得する(ステップS10)。例えば、取得部131は、車載装置10のカメラにより車両VEx内から外部を撮影した動画像のデータを取得する。 According to the example in Figure 12, the acquisition unit 131 acquires various types of information from the in-vehicle device 10 (step S10). For example, the acquisition unit 131 acquires video data of the outside of the vehicle VEx, captured by the camera of the in-vehicle device 10.

比較部132は、取得部131により取得した動画像のフレームの画像を、画像の所定の領域ごとに、フレーム間で比較する(ステップS11)。例えば、比較部132は、動画像のフレームの画像を複数の領域160を区分する。比較部132は、動画像のフレームの画像を領域160ごとに、フレーム間でテンプレートマッチングを行う。 The comparison unit 132 compares the images of the video frames acquired by the acquisition unit 131 across frames, for each predetermined region of the image (step S11). For example, the comparison unit 132 divides the video frame images into multiple regions 160. The comparison unit 132 performs template matching across frames for each region 160 of the video frame images.

判定部133は、比較部132の比較結果に基づいて、車両VExの挙動を判定する(ステップS12)。例えば、判定部133は、一致する領域161の数が所定の条件を満たした場合、車両VExが停止していると判定する。また、判定部133は、動画像のフレームの画像の各領域160の移動の結果に基づいて車両VExの移動方向を判定する。 The determination unit 133 determines the behavior of the vehicle VEx based on the comparison result of the comparison unit 132 (step S12). For example, the determination unit 133 determines that the vehicle VEx is stopped if the number of matching regions 161 satisfies a predetermined condition. The determination unit 133 also determines the direction of movement of the vehicle VEx based on the movement of each region 160 of the image in the frame of the moving image.

格納部134は、判定部133による判定結果を記憶する(ステップS13)。例えば、格納部134は、判定部133により判定された車両VExの挙動を、挙動が判定された動画像のフレームや撮影時刻に対応付けて、動画像データ121又は動画像データ121に関連付けられたデータに記憶する。 The storage unit 134 stores the determination result from the determination unit 133 (step S13). For example, the storage unit 134 stores the behavior of the vehicle VEx determined by the determination unit 133 in the video image data 121 or data associated with the video image data 121, associating it with the frame and shooting time of the video image in which the behavior was determined.

出力部135は、判定部133による判定結果に基づいて、各種の情報を車載装置10に送信する(ステップS14)。例えば、出力部135は、地図情報データベース123に記憶された一時停止が必要な箇所において、判定部133により停止との判定が得られない場合、警告を車載装置10に送信する。 The output unit 135 transmits various information to the in-vehicle device 10 based on the determination result from the determination unit 133 (step S14). For example, if the determination unit 133 does not determine that a stop is required at a location stored in the map information database 123, the output unit 135 transmits a warning to the in-vehicle device 10.

このように、実施形態に係る情報処理装置100は、車両VEx内から外部を撮影した動画像から車両VExの挙動を求めることができる。 Thus, the information processing device 100 according to this embodiment can determine the behavior of the vehicle VEx from video footage captured from inside the vehicle VEx looking outwards.

なお、実施形態では、情報処理装置100において、上述した車両挙動判定処理を行って、車両VEx内から外部を撮影した動画像から車両VExの挙動を判定する場合を説明した。しかし、これに限定されるものではない。車載装置10が、上述した車両挙動判定処理を行って、車両VEx内から外部を撮影した動画像から車両VExの挙動を判定してもよい。 In this embodiment, the vehicle behavior determination process described above was performed in the information processing device 100 to determine the behavior of the vehicle VEx from video footage captured from inside the vehicle VEx looking outwards. However, the embodiment is not limited to this. The in-vehicle device 10 may also perform the vehicle behavior determination process described above to determine the behavior of the vehicle VEx from video footage captured from inside the vehicle VEx looking outwards.

また、実施形態では、領域160の形状を矩形とした場合を例に説明した。しかし、これに限定されるものではない。領域160の形状は、矩形以外であってもよい。例えば、比較部132は、動画像のフレームの画像を正三角形や正六角形の形状に区分して領域160を正三角形や正六角形の形状としてもよい。また、例えば、比較部132は、動画像のフレームの画像を複数種類の多角形で区分して領域160を複数種類の多角形の形状としてもよい。また、比較部132は、動画像のフレームの画像に写る物体の輪郭を認識し、フレームの画像を物体の輪郭で領域160に区分してもよい。 Furthermore, in this embodiment, the case where the shape of region 160 is rectangular was described as an example. However, it is not limited to this. The shape of region 160 may be other than rectangular. For example, the comparison unit 132 may divide the image of the video frame into equilateral triangles or regular hexagons and make region 160 into the shape of equilateral triangles or regular hexagons. Alternatively, for example, the comparison unit 132 may divide the image of the video frame into multiple types of polygons and make region 160 into multiple types of polygons. Furthermore, the comparison unit 132 may recognize the outlines of objects in the image of the video frame and divide the image of the frame into regions 160 based on the outlines of the objects.

また、実施形態では、車両VExの移動方向として、右折及び左折を判定する場合を例に説明した。しかし、これに限定されるものではない。比較部132によるテンプレートマッチングによりマッチング領域163を特定することで、上下方向の移動も求めることができる。判定部133は、上下方向に対する車両VExの挙動を判定してもよい。これにより、例えば、車両VExが坂道を登っているかや、坂道を降っているかなどを判定することができる。 Furthermore, in this embodiment, the case of determining right and left turns as the direction of movement of the vehicle VEx was described as an example. However, it is not limited to this. By identifying the matching region 163 through template matching by the comparison unit 132, vertical movement can also be determined. The determination unit 133 may also determine the behavior of the vehicle VEx in the vertical direction. This allows, for example, to determine whether the vehicle VEx is going uphill or downhill.

また、実施形態では、動画像を、車両VExの前方に向けてカメラが配置され、車両VEx内から車両VExの前方を撮影したものと場合を例に説明した。しかし、これに限定されるものではない。動画像は、車両VEx内から外部を撮影したものであればよい。例えば、動画像は、車両VExの後方に向けてカメラが配置され、車両VEx内から車両VExの後方を撮影してものであってもよい。車両VEx内から外部を撮影した動画像であれば、車両VExの挙動として、車両VExの停止を判定できる。また、車両VEx内から車両VExの前方又は後方又は側方を撮影した動画像であれば、車両VExの挙動として、車両VExの右左折などの移動方向を精度よく判定できる。 Furthermore, in this embodiment, the video was described using an example where a camera is positioned facing the front of the vehicle VEx, and the video is captured from inside the vehicle VEx, showing the front of the vehicle VEx. However, it is not limited to this. The video can be any video captured from inside the vehicle VEx, showing the outside. For example, the video could be a video where a camera is positioned facing the rear of the vehicle VEx, and the video is captured from inside the vehicle VEx, showing the rear of the vehicle VEx. If the video is a video captured from inside the vehicle VEx, the vehicle VEx's behavior, such as stopping, can be determined. Also, if the video is a video captured from inside the vehicle VEx, showing the front, rear, or side of the vehicle VEx, the vehicle VEx's movement direction, such as turning right or left, can be accurately determined.

また、実施形態では、図4に示したように、注目領域160aとした領域160について、注目領域160aを中心として周辺の領域160の範囲をテンプレートマッチングの探索領域の範囲とした場合を例に説明した。しかし、これに限定されるものではない。比較部132は、車両VExの速度に応じて探索領域の範囲を変えてもよい。例えば、比較部132は、車両VExの速度が速いほど探索領域の範囲を左右に広げてもよい。 Furthermore, in this embodiment, as shown in Figure 4, the search area for template matching was described using the region 160a as the focus area, with the surrounding region 160 as the center. However, it is not limited to this. The comparison unit 132 may change the search area range according to the vehicle VEx speed. For example, the comparison unit 132 may widen the search area range horizontally as the vehicle VEx speed increases.

また、車両VEx内から外部を撮影した場合、動画像には、車両VExの一部が写る場合がある。例えば、車両VEx内から車両VExの前方を撮影する場合、動画像には、車両VExのボンネットなどが写る場合がある。動画像に車両VExの一部が写った場合、フレーム画像に写る車両VEx部分の領域160は、同じ像となるため、テンプレートマッチングの結果、常に一致する領域161と判定される。そこで、情報処理装置100は、常に一致する領域161を除外して、車両VExの挙動を判定してもよい。例えば、判定部133は、複数の異なる挙動で常に領域161となっている領域160を除外して、車両VExの挙動を判定してもよい。また、フレーム画像に写る車両VEx部分が大きい場合、車両VExの周囲が写る領域161が少なくなり、車両VExの挙動の判定の精度が低下する場合がある。そこで、情報処理装置100は、フレーム画像に写る車両VEx部分が大きい場合、車載装置10へ警告を出力してもよい。例えば、出力部135は、常に一致する領域161の数が許容値を超えた場合、カメラの画角の調整を促す警告を車載装置10へ出力してもよい。または、対象となる矩形領域を無効とするようにしても良い。 Furthermore, when filming the exterior from inside the vehicle VEX, a portion of the vehicle VEX may be captured in the video. For example, when filming the front of the vehicle VEX from inside the vehicle VEX, the hood of the vehicle VEX may be captured in the video. When a portion of the vehicle VEX is captured in the video, the region 160 of the vehicle VEX portion captured in the frame image will be the same image, and as a result of template matching, it will always be determined to be a matching region 161. Therefore, the information processing device 100 may exclude the always matching region 161 and determine the behavior of the vehicle VEX. For example, the determination unit 133 may exclude the region 160 that is always region 161 in multiple different behaviors and determine the behavior of the vehicle VEX. Also, if the portion of the vehicle VEX captured in the frame image is large, the region 161 capturing the area around the vehicle VEX will be smaller, and the accuracy of determining the behavior of the vehicle VEX may decrease. Therefore, the information processing device 100 may output a warning to the in-vehicle device 10 if the vehicle VEx portion in the frame image is large. For example, the output unit 135 may output a warning to the in-vehicle device 10 prompting adjustment of the camera's field of view if the number of consistently matching regions 161 exceeds an acceptable value. Alternatively, the target rectangular region may be disabled.

〔4.まとめ〕
実施形態に係る情報処理装置100は、取得部131と、比較部132と、判定部133とを備える。取得部131は、車両VEx内から外部を撮影した動画像を取得する。比較部132は、取得部131により取得した動画像のフレームの画像を、画像の所定の領域160ごとに、フレーム間で比較する。判定部133は、比較部132の比較結果に基づいて、車両VExの挙動を判定する。これにより、情報処理装置100は、車両VEx内から外部を撮影した動画像から車両VExの挙動を求めることができる。
[4. Summary]
The information processing device 100 according to this embodiment includes an acquisition unit 131, a comparison unit 132, and a determination unit 133. The acquisition unit 131 acquires moving images of the outside taken from inside the vehicle VEx. The comparison unit 132 compares the images of the frames of the moving images acquired by the acquisition unit 131 between frames, for each predetermined region 160 of the image. The determination unit 133 determines the behavior of the vehicle VEx based on the comparison result of the comparison unit 132. As a result, the information processing device 100 can determine the behavior of the vehicle VEx from moving images taken from inside the vehicle VEx.

また、比較部132は、動画像のフレームの画像を領域160ごとに、次のフレームの画像の同じ位置の領域160とテンプレートマッチングを行う。判定部133は、一致する領域161の数に基づいて車両VExの停止を判定する。また、判定部133は、一致する領域161の数が所定の条件を満たした場合、車両VExが停止していると判定する。これにより、情報処理装置100は、車両VEx内から外部を撮影した動画像から車両VExが停止したかを判定できる。 Furthermore, the comparison unit 132 performs template matching on each region 160 of the image in the video frame with the region 160 at the same position in the image of the next frame. The determination unit 133 determines that the vehicle VEx has stopped based on the number of matching regions 161. The determination unit 133 also determines that the vehicle VEx has stopped if the number of matching regions 161 satisfies a predetermined condition. This allows the information processing device 100 to determine whether the vehicle VEx has stopped from video footage captured from inside the vehicle VEx looking outwards.

また、判定部133は、一致する領域161の数が所定の条件を満たすフレームが所定数連続した場合、車両VExが停止した判定する。これにより、情報処理装置100は、車両VExが停止したかを精度よく判定できる。 Furthermore, the determination unit 133 determines that the vehicle VEx has stopped if a predetermined number of consecutive frames satisfy a predetermined condition regarding the number of matching regions 161. This allows the information processing device 100 to accurately determine whether the vehicle VEx has stopped.

また、比較部132は、フレームの画像の各領域160の画素の輝度値の標準偏差を求め、標準偏差が所定値よりも小さい領域160を比較の対象から除外する。これにより、情報処理装置100は、フレーム間での同じ画像部分の領域160を精度よくマッチングできる。 Furthermore, the comparison unit 132 calculates the standard deviation of the luminance values of the pixels in each region 160 of the frame's image, and excludes regions 160 whose standard deviation is smaller than a predetermined value from the comparison. This allows the information processing device 100 to accurately match the same image regions 160 across frames.

また、比較部132は、動画像のフレームの画像を、領域160ごとに次のフレームの画像とテンプレートマッチングを行って、次のフレームの画像内での領域160ごとの移動位置を特定する。判定部133は、各領域160の移動の結果に基づいて車両VExの移動方向を判定する。これにより、情報処理装置100は、車両VEx内から外部を撮影した動画像から車両VExの移動方向を判定できる。 Furthermore, the comparison unit 132 performs template matching on the image of each frame of the video, region 160 at a time, with the image of the next frame to determine the movement position of each region 160 within the image of the next frame. The determination unit 133 determines the direction of movement of the vehicle VEx based on the movement results of each region 160. This allows the information processing device 100 to determine the direction of movement of the vehicle VEx from video footage captured from inside the vehicle VEx looking outwards.

判定部133は、動画像のフレームの画像の左側半分に位置する領域160の右側への移動に基づいて右折を判定し、当該画像の右側半分に位置する領域160の左側への移動に基づいて左折を判定する。これにより、情報処理装置100は、車両VEx内から外部を撮影した動画像から車両VExの右左折を精度良く判定できる。 The determination unit 133 determines a right turn based on the movement of region 160 located in the left half of the image frame to the right, and determines a left turn based on the movement of region 160 located in the right half of the image to the left. This allows the information processing device 100 to accurately determine whether the vehicle VEx is turning right or left from a video image captured from inside the vehicle VEx looking outwards.

〔5.ハードウェア構成〕
また、上述してきた実施形態に係る情報処理装置100は、例えば、図13に示すような構成のコンピュータ1000によって実現される。図13は、情報処理装置100の機能を実現するコンピュータの一例を示すハードウェア構成図である。コンピュータ1000は、CPU1100、RAM1200、ROM1300、HDD1400、通信インターフェイス(I/F)1500、入出力インターフェイス(I/F)1600、及びメディアインターフェイス(I/F)1700を有する。
[5. Hardware Configuration]
Furthermore, the information processing device 100 according to the above-described embodiment is realized by a computer 1000 having the configuration shown in Figure 13. Figure 13 is a hardware configuration diagram showing an example of a computer that realizes the functions of the information processing device 100. The computer 1000 has a CPU 1100, RAM 1200, ROM 1300, HDD 1400, communication interface (I/F) 1500, input/output interface (I/F) 1600, and media interface (I/F) 1700.

CPU1100は、ROM1300またはHDD1400に格納されたプログラムに基づいて動作し、各部の制御を行う。ROM1300は、コンピュータ1000の起動時にCPU1100によって実行されるブートプログラムや、コンピュータ1000のハードウェアに依存するプログラム等を格納する。 The CPU 1100 operates based on programs stored in the ROM 1300 or HDD 1400, controlling various components. The ROM 1300 stores boot programs executed by the CPU 1100 when the computer 1000 starts up, as well as programs dependent on the computer 1000's hardware.

HDD1400は、CPU1100によって実行されるプログラム、及び、かかるプログラムによって使用されるデータ等を格納する。通信インターフェイス1500は、所定の通信網を介して他の機器からデータを受信してCPU1100へ送り、CPU1100が生成したデータを所定の通信網を介して他の機器へ送信する。 The HDD 1400 stores programs executed by the CPU 1100, as well as data used by such programs. The communication interface 1500 receives data from other devices via a predetermined communication network and sends it to the CPU 1100, and transmits data generated by the CPU 1100 to other devices via the predetermined communication network.

CPU1100は、入出力インターフェイス1600を介して、ディスプレイやプリンタ等の出力装置、及び、キーボードやマウス等の入力装置を制御する。CPU1100は、入出力インターフェイス1600を介して、入力装置からデータを取得する。また、CPU1100は、生成したデータを入出力インターフェイス1600を介して出力装置へ出力する。 The CPU 1100 controls output devices such as displays and printers, and input devices such as keyboards and mice, via the input/output interface 1600. The CPU 1100 acquires data from input devices via the input/output interface 1600. Furthermore, the CPU 1100 outputs the generated data to output devices via the input/output interface 1600.

メディアインターフェイス1700は、記録媒体1800に格納されたプログラムまたはデータを読み取り、RAM1200を介してCPU1100に提供する。CPU1100は、かかるプログラムを、メディアインターフェイス1700を介して記録媒体1800からRAM1200上にロードし、ロードしたプログラムを実行する。記録媒体1800は、例えばDVD(Digital Versatile Disc)、PD(Phase change rewritable Disk)等の光学記録媒体、MO(Magneto-Optical disk)等の光磁気記録媒体、テープ媒体、磁気記録媒体、または半導体メモリ等である。 The media interface 1700 reads programs or data stored in the recording medium 1800 and provides them to the CPU 1100 via the RAM 1200. The CPU 1100 loads such programs from the recording medium 1800 onto the RAM 1200 via the media interface 1700 and executes the loaded programs. The recording medium 1800 can be, for example, an optical recording medium such as a DVD (Digital Versatile Disc) or PD (Phase Change Rewritable Disk), a magneto-optical recording medium such as an MO (Magneto-Optical Disk), tape media, magnetic recording media, or semiconductor memory.

例えば、コンピュータ1000が実施形態に係る情報処理装置100として機能する場合、コンピュータ1000のCPU1100は、RAM1200上にロードされたプログラムを実行することにより、制御部130の機能を実現する。コンピュータ1000のCPU1100は、これらのプログラムを記録媒体1800から読み取って実行するが、他の例として、他の装置から所定の通信網を介してこれらのプログラムを取得してもよい。 For example, when the computer 1000 functions as an information processing device 100 according to the embodiment, the CPU 1100 of the computer 1000 realizes the functions of the control unit 130 by executing a program loaded onto the RAM 1200. The CPU 1100 of the computer 1000 reads and executes these programs from the recording medium 1800, but as another example, these programs may be obtained from other devices via a predetermined communication network.

〔6.その他〕
また、上記各実施形態において説明した処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。例えば、各図に示した各種情報は、図示した情報に限られない。
[6. Other]
Furthermore, among the processes described in each of the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by known methods. In addition, the processing procedures, specific names, and information including various data and parameters shown in the above document and drawings can be changed at will unless otherwise specified. For example, the various information shown in each figure is not limited to the information shown.

また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 Furthermore, the components of each illustrated device are functionally conceptual and do not necessarily need to be physically configured as shown. In other words, the specific forms of distribution and integration of each device are not limited to those illustrated; all or part of them can be functionally or physically distributed and integrated in any unit according to various loads and usage conditions.

また、上記各実施形態は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 Furthermore, the above embodiments can be combined as appropriate, provided that the processing content is not contradictory.

以上、本願の実施形態のいくつかを図面に基づいて詳細に説明したが、これらは例示であり、発明の開示の欄に記載の態様を始めとして、当業者の知識に基づいて種々の変形、改良を施した他の形態で本発明を実施することが可能である。 Although several embodiments of this application have been described in detail based on the drawings, these are illustrative examples, and the present invention can be implemented in various modified and improved forms based on the knowledge of those skilled in the art, starting with the embodiments described in the disclosure section of the invention.

1 情報処理システム
10 車載装置
100 情報処理装置
120 記憶部
121 動画像データ
122 センサ情報データベース
123 地図情報データベース
130 制御部
131 取得部
132 比較部
133 判定部
134 格納部
135 出力部
160、161、162 領域
163 マッチング領域
VEx 車両
1 Information Processing System 10 In-vehicle Device 100 Information Processing Device 120 Storage Unit 121 Moving Image Data 122 Sensor Information Database 123 Map Information Database 130 Control Unit 131 Acquisition Unit 132 Comparison Unit 133 Judgment Unit 134 Storage Unit 135 Output Unit 160, 161, 162 Area 163 Matching Area VEx Vehicle

Claims (4)

車両内から外部を撮影した動画像を取得する取得部と、
前記取得部により取得した前記動画像のフレームの画像を、前記画像の所定の領域ごとに次のフレームの画像との対応関係を求め、当該領域ごとの次のフレームにおける移動位置を特定し、前記動画像のフレームの画像の左側に位置する領域の右側への移動に基づいて左折を判定し、当該画像の右側に位置する領域の左側への移動に基づいて右折を判定する判定部と、
を備えることを特徴とする情報処理装置。
An acquisition unit that acquires video footage of the outside taken from inside the vehicle,
A determination unit that, for each predetermined region of the image of the frame of the moving image acquired by the acquisition unit , determines the correspondence between the image and the image of the next frame, identifies the movement position in the next frame for each region, determines a left turn based on the movement to the right of the region located on the left side of the image of the frame of the moving image, and determines a right turn based on the movement to the left of the region located on the right side of the image ,
An information processing device characterized by comprising:
前記判定部は、前記領域の縦列ごとに、平均の移動量及び移動方向を求め、前記動画像のフレームの画像の左側半分において、移動方向が右側かつ平均の移動量が一定値以上となった縦列の数が所定の閾値以上、又は、所定の割合以上である場合、前記車両が左折していると判定し、前記動画像のフレームの画像の右側半分において、移動方向が左側かつ平均の移動量が一定値以上となった縦列の数が所定の閾値以上、又は、所定の割合以上である場合、前記車両が右折していると判定する
ことを特徴とする請求項1に記載の情報処理装置。
The determination unit determines the average amount of movement and direction of movement for each column in the region, and determines that the vehicle is turning left if the number of columns in the left half of the image of the frame of the moving image where the direction of movement is to the right and the average amount of movement is greater than or equal to a certain value is greater than or equal to a predetermined threshold or a predetermined percentage, and determines that the vehicle is turning right if the number of columns in the right half of the image of the frame of the moving image where the direction of movement is to the left and the average amount of movement is greater than or equal to a certain value is greater than or equal to a predetermined threshold or a predetermined percentage.
情報処理装置が実行する車両挙動判定方法であって、
車両内から外部を撮影した動画像を取得する取得工程と、
取得した前記動画像のフレームの画像を、前記画像の所定の領域ごとに次のフレームの画像との対応関係を求め、当該領域ごとの次のフレームにおける移動位置を特定し、前記動画像のフレームの画像の左側に位置する領域の右側への移動に基づいて左折を判定し、当該画像の右側に位置する領域の左側への移動に基づいて右折を判定する判定工程と、
を含むことを特徴とする車両挙動判定方法。
A method for determining vehicle behavior performed by an information processing device,
The acquisition process involves obtaining video footage of the exterior from inside the vehicle,
The acquired video frame image is used to determine the correspondence between the image of the next frame and a predetermined region of the image, the movement position in the next frame for each region is identified, a left turn is determined based on the movement to the right of the region located on the left side of the video frame, and a right turn is determined based on the movement to the left of the region located on the right side of the image .
A method for determining vehicle behavior, characterized by including the following:
車両内から外部を撮影した動画像を取得する取得手順と、
取得した前記動画像のフレームの画像を、前記画像の所定の領域ごとに次のフレームの画像との対応関係を求め、当該領域ごとの次のフレームにおける移動位置を特定し、前記動画像のフレームの画像の左側に位置する領域の右側への移動に基づいて左折を判定し、当該画像の右側に位置する領域の左側への移動に基づいて右折を判定する判定手順と、
を情報処理装置に実行させるための車両挙動判定プログラム。
The procedure for acquiring video footage of the exterior from inside the vehicle,
A determination procedure that involves determining the correspondence between the image of the acquired video frame, for each predetermined region of the image, and the image of the next frame, identifying the movement position in the next frame for each region, determining a left turn based on the movement to the right of the region located on the left side of the video frame, and determining a right turn based on the movement to the left of the region located on the right side of the image ,
A vehicle behavior determination program to be executed by an information processing device.
JP2022005104A 2022-01-17 2022-01-17 Information processing device, vehicle behavior determination method, and vehicle behavior determination program Active JP7835564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022005104A JP7835564B2 (en) 2022-01-17 2022-01-17 Information processing device, vehicle behavior determination method, and vehicle behavior determination program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022005104A JP7835564B2 (en) 2022-01-17 2022-01-17 Information processing device, vehicle behavior determination method, and vehicle behavior determination program

Publications (2)

Publication Number Publication Date
JP2023104235A JP2023104235A (en) 2023-07-28
JP7835564B2 true JP7835564B2 (en) 2026-03-25

Family

ID=87379515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022005104A Active JP7835564B2 (en) 2022-01-17 2022-01-17 Information processing device, vehicle behavior determination method, and vehicle behavior determination program

Country Status (1)

Country Link
JP (1) JP7835564B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016151978A1 (en) 2015-03-26 2016-09-29 パナソニックIpマネジメント株式会社 Image processing device, driving assistance system, and image processing method
WO2016151977A1 (en) 2015-03-26 2016-09-29 パナソニックIpマネジメント株式会社 Moving body detection device, image processing device, moving body detection method, and integrated circuit
JP2016224649A (en) 2015-05-29 2016-12-28 トヨタ自動車東日本株式会社 Object detection device, object detection method, and object detection program
US20190019298A1 (en) 2017-07-13 2019-01-17 Hanwha Land Systems Co., Ltd. Real-time image processing system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5321540B2 (en) * 2010-06-25 2013-10-23 株式会社Jvcケンウッド Image correction processing apparatus, image correction processing method, and image correction processing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016151978A1 (en) 2015-03-26 2016-09-29 パナソニックIpマネジメント株式会社 Image processing device, driving assistance system, and image processing method
WO2016151977A1 (en) 2015-03-26 2016-09-29 パナソニックIpマネジメント株式会社 Moving body detection device, image processing device, moving body detection method, and integrated circuit
JP2016224649A (en) 2015-05-29 2016-12-28 トヨタ自動車東日本株式会社 Object detection device, object detection method, and object detection program
US20190019298A1 (en) 2017-07-13 2019-01-17 Hanwha Land Systems Co., Ltd. Real-time image processing system and method

Also Published As

Publication number Publication date
JP2023104235A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
US8452103B2 (en) Scene matching reference data generation system and position measurement system
CN111016921B (en) System and method for determining familiarity of a vehicle dataset
US8428362B2 (en) Scene matching reference data generation system and position measurement system
US11361555B2 (en) Road environment monitoring device, road environment monitoring system, and road environment monitoring program
CN110188482B (en) Test scene creating method and device based on intelligent driving
US11587372B2 (en) Abnormality detection method, abnormality detection apparatus, and abnormality detection system
WO2018153211A1 (en) Method and apparatus for obtaining traffic condition information, and computer storage medium
JP6418574B2 (en) Risk estimation device, risk estimation method, and computer program for risk estimation
CN109427191B (en) A driving detection method and device
JP2015230694A (en) Driving context information generator
JP6700373B2 (en) Apparatus and method for learning object image packaging for artificial intelligence of video animation
CN111505690A (en) Method and device for detecting emergency vehicle in real time and planning driving path
US20190263418A1 (en) Driver's driving tendency determination apparatus and method thereof
JP7363717B2 (en) Object detection system, object detection method and program
JP2022502750A (en) Methods and devices for analyzing sensor data flows, as well as methods for guiding vehicles.
CN115050203A (en) Map generation device and vehicle position recognition device
JP7835564B2 (en) Information processing device, vehicle behavior determination method, and vehicle behavior determination program
JP2008186343A (en) Object detection device
CN119939905A (en) Driving simulation scene generation method, device, equipment and storage medium
WO2025213739A1 (en) Screening method and apparatus for crossing vehicle target, vehicle, and storage medium
CN115641569B (en) Driving scene processing method, device, equipment and medium
JP7095391B2 (en) Anomaly detection device
CN108025747B (en) Enhanced lane passing
KR102286250B1 (en) Vehicle number recognition system using cctv
JP7001795B1 (en) Data generators, methods and computer programs for simulation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20241204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20251120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260312

R150 Certificate of patent or registration of utility model

Ref document number: 7835564

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150