JP7227475B2 - Video search program, video search method, and video search device - Google Patents
Video search program, video search method, and video search device Download PDFInfo
- Publication number
- JP7227475B2 JP7227475B2 JP2019032904A JP2019032904A JP7227475B2 JP 7227475 B2 JP7227475 B2 JP 7227475B2 JP 2019032904 A JP2019032904 A JP 2019032904A JP 2019032904 A JP2019032904 A JP 2019032904A JP 7227475 B2 JP7227475 B2 JP 7227475B2
- Authority
- JP
- Japan
- Prior art keywords
- video
- search
- mesh
- video data
- position information
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、映像検索プログラム、映像検索方法、及び映像検索装置に関する。 The present invention relates to a video search program, video search method, and video search device.
昨今、ドライブレコーダを搭載した車両が増加してきている。例えば、事故などのイベントが発生した際の映像がドライブレコーダに記録され、その映像を表示させることで、イベント発生の確認やその証明に用いたりすることが可能となる。 Recently, the number of vehicles equipped with a drive recorder is increasing. For example, when an event such as an accident occurs, a video is recorded in the drive recorder, and by displaying the video, it is possible to confirm or prove the occurrence of the event.
ドライブレコーダには、例えば、カメラで撮影した映像の映像データとともに、GPS(Global Positioning System)を利用して取得した位置情報も記録される場合がある。そして、ドライブレコーダでは、例えば、位置情報を検索キーにして、その位置情報と一致する位置で撮影された映像を検索することも行われる。 A drive recorder may record, for example, position information acquired using a GPS (Global Positioning System) together with image data of an image captured by a camera. In the drive recorder, for example, position information is used as a search key to search for images shot at a position that matches the position information.
例えば、以下のような技術がある。すなわち、地理的範囲を示す検索条件に基づいて、画像データの公開位置情報の範囲が地理的範囲に含まれる画像データを検索結果に含め、画像データの出力を制限する必要があると判定された場合、該当する画像データの出力を制限するサーバ装置がある。 For example, there are the following technologies. That is, based on the search condition indicating the geographical range, it was determined that the image data for which the range of the public location information of the image data is included in the geographical range should be included in the search results, and the output of the image data should be restricted. In this case, there is a server device that limits the output of the corresponding image data.
この技術によれば、位置情報を隠蔽した画像の撮影地点が、類似画像に付加されている位置情報から特定されるのを回避することができる、とされる。 According to this technology, it is possible to prevent the shooting location of an image whose position information is hidden from being specified from the position information added to the similar image.
ドライブレコーダは、例えば、1分ごとなど、短い時間間隔で、映像データを1つのファイル形式にしてメモリに記録し、数百個のファイルを記録することで、数時間分の映像データをメモリに記録する場合がある。 A drive recorder records video data in a single file format in memory at short time intervals, such as every minute. By recording several hundred files, several hours of video data can be stored in memory. may be recorded.
そのため、ドライブレコーダにおいて所望の映像を検索する際、最も古い映像から順に検索すると、数百個のファイルを検索するため、検索に時間がかかる場合がある。 Therefore, when searching for a desired video in the drive recorder, if the video is searched in order from the oldest video, hundreds of files are searched, which may take a long time.
上述した画像データの出力を制限する技術では、とくに、検索時間を考慮することなく、画像データを検索している。そのため、上述した技術では、画像データの検索に時間がかかる場合がある。 In the technique for limiting the output of the image data described above, the image data is searched without considering the search time. Therefore, with the above-described technique, it may take time to search for image data.
そこで、一開示は、検索処理の高速化を図るようにした映像検索プログラム、映像検索方法、及び映像検索装置を提供することにある。 Therefore, one disclosure is to provide a video search program, a video search method, and a video search device that speed up search processing.
一開示は、位置情報と前記位置情報により表された位置において取得された映像データとが記録されたメモリを有する映像検索装置のコンピュータで実行される映像検索プログラムであって、検索開始位置の位置情報と特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データからスキップさせ、次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データからスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する処理をコンピュータに実行させる映像検索プログラムにある。 One disclosure is a video search program executed by a computer of a video search device having a memory in which position information and video data acquired at a position represented by the position information are recorded, wherein the position of the search start position Based on the information and the position information of the specific position, the video data from the search start position to the primary mesh containing the specific position is skipped from the video data at the search start position, and then skipped. Based on the position information of the acquisition position where the video data was acquired and the position information of the specific position, (n-1) (n is n An integer that satisfies ≧2) skips the video data up to the next mesh from the video data at the acquisition position, repeats this up to the n-th mesh having a size smaller than the (n−1)th-th mesh, and position information at the specific position A video search program that causes a computer to execute a process of searching from the memory for video data after skipping up to the n-th order mesh to video data at the specific position and outputting the video data at the specific position based on It is in.
一開示によれば、検索処理の高速化を図ることが可能である。 According to one disclosure, it is possible to speed up search processing.
以下、本発明を実施するための形態について説明する。なお、以下の実施例は開示の技術を限定するものではない。そして、各実施の形態は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 EMBODIMENT OF THE INVENTION Hereinafter, the form for implementing this invention is demonstrated. It should be noted that the following examples do not limit the technology disclosed. Further, each embodiment can be appropriately combined within a range in which the processing contents are not inconsistent.
[第1の実施の形態]
<通信システムの構成例>
図1は通信システム10の構成例を表す図である。
[First embodiment]
<Configuration example of communication system>
FIG. 1 is a diagram showing a configuration example of a communication system 10. As shown in FIG.
通信システム10は、映像検索装置100-1~100-4と、基地局装置(以下、「基地局」と称する場合がある。)300、及びセンター400を備える。
The communication system 10 includes video search devices 100 - 1 to 100 - 4 , a base station device (hereinafter sometimes referred to as “base station”) 300 , and a
各映像検索装置100-1~100-4は、各車両200-1~200-4にそれぞれ搭載されている。映像検索装置100-1~100-4は、例えば、ドライブレコーダであって、車両200-1~200-4に搭載可能な車載装置である。映像検索装置100-1~100-4は、基地局300を介してセンター400から送信された位置情報を受信し、受信した位置情報と一致する位置情報を有する映像データを、内部のメモリに記録した映像データの中から検索する。そして、映像検索装置100-1~100-4は、検索した映像データを、検索結果として、基地局300を介してセンター400へ送信する。映像検索装置100-1~100-4は、車両200-1~200-4が移動しているときには、周囲の映像の映像データをメモリに記録している。映像検索装置100-1~100-4は、例えば、映像記録装置でもある。
Each video retrieval device 100-1 to 100-4 is mounted on each vehicle 200-1 to 200-4. Video retrieval devices 100-1 to 100-4 are, for example, drive recorders, which are in-vehicle devices that can be mounted on vehicles 200-1 to 200-4. Video search devices 100-1 to 100-4 receive position information transmitted from
なお、映像検索装置100-1~100-4は、例えば、映像検索装置100-1~100-4を搭載した車両200-1~200-4が急ブレーキをかけたりするなどイベントが発生すると、そのときの映像の映像データを、センター400へ送信することも可能である。
For example, when an event such as sudden braking of vehicles 200-1 to 200-4 equipped with image retrieval devices 100-1 to 100-4 occurs, image retrieval devices 100-1 to 100-4 It is also possible to transmit the video data of the video at that time to the
基地局300は、例えば、センター400から送信された有線信号を無線信号に変換して映像検索装置100-1~100-4へ送信し、映像検索装置100-1~100-4から送信された無線信号を有線信号に変換してセンター400へ送信する通信装置である。基地局300は、センター400と映像検索装置100-1~100-4との間で、例えば、有線信号と無線信号の変換に関するインタフェースの役割を果たす。
センター400は、例えば、パーソナルコンピュータやサーバ装置などであって、位置情報を管理する管理装置でもある。例えば、道路上に落下物があった場合、その落下物がいつから存在したのか、どのような経緯で道路に落下したのかを調べるため、センター400は、落下物の位置を表す位置情報を、基地局300を介して各映像検索装置100-1~100-4へ送信する。センター400は、送信した位置情報に対応する映像の映像データを、各映像検索装置100-1~100-4から受信し、その映像を調査者が確認することで、その原因を調べることが可能となる。
The
また、センター400は、例えば、車両200-1~200-4においてイベントが発生したときにも、各映像検索装置100-1~100-4からそのときの映像の映像データを受信し、調査者がその映像を確認することも可能である。
Also, for example, when an event occurs in the vehicles 200-1 to 200-4, the
なお、図1の例では、4台の映像検索装置100-1~100-4の例を表しているが、映像検索装置は1台でもよいし、2~3台、5台以上であってもよい。以下では、とくに断らない限り、映像検索装置100-1~100-4を、映像検索装置100と称する場合がある。また、車両200-1~200-4も、車両200と称する場合がある。
Note that the example of FIG. 1 shows an example of four video search devices 100-1 to 100-4, but the number of video search devices may be one, two to three, or five or more. good too. Below, video search devices 100-1 to 100-4 may be referred to as
<映像検索装置の構成例>
図2は映像検索装置100の構成例を表す図である。
<Configuration example of video search device>
FIG. 2 is a diagram showing a configuration example of the
映像検索装置100は、カメラ101とセンサ102、GPS受信部103、記録部104、メモリ105、映像検索部106、及び無線部107を備える。
The
カメラ101は、車両200周囲の映像を撮像して、映像データを取得し、映像データを記録部104へ出力する。そのため、カメラ101は、内部に撮像素子を備え、光の強さに応じた電気信号へ変換することで、例えば、RGB(Red Green Blue)の映像データを取得することが可能である。カメラ101は、1秒間でF映像フレーム枚(例えば、F=14fps(frame per second))のフレームレートで、映像データを取得することが可能である。
センサ102は、例えば、速度センサや加速度センサ、ジャイロセンサなどである。センサ102は、例えば、映像検索装置100を搭載した車両200の速度情報や加速度情報、角速度情報などを検出し、検出した情報を記録部104へ出力する。また、センサ102には、例えば、タイマーも含まれてよい。この場合、センサ102は、タイマーで検出された時間情報を記録部104へ出力する。
The
GPS受信部103は、人工衛星から送信されたGPS信号を受信し、受信したGPS信号に基づいて、車両200(又は映像検索装置100)の位置を表す位置情報を取得する。GPS受信部103は、取得した位置情報を記録部104へ出力する。本第1の実施の形態では、位置情報は、緯度と経度で表され、いずれも10進数で表される。位置情報の例としては、(緯度,経度)=(35.673033,139.633546)などがある。
The
記録部104は、映像データと位置情報、時間情報、車両200の速度情報などをメモリ105へ記録(又は記憶)する。記録部104は、カメラ101で映像を撮影したときの位置情報をGPS受信部103から取得し、カメラ101で映像を撮影したときの時間情報と車両200の速度情報などをセンサ102から取得する。そして、記録部104は、取得した映像データ、位置情報、時間情報、速度情報などを、メモリ105へ記録する。例えば、記録部104は、1映像フレームごとに、位置情報をメモリ105へ記憶する。
The
この際、記録部104は、映像データと位置情報などを、ある時間単位(例えば1分など)に1つのファイル形式のデータ(以下、「ファイル」と称する場合がある。)にまとめて、メモリ105へ記録する。そして、記録部104は、数十から数百のファイルをメモリ105に記録することで、1時間や2時間など、所定時間分の映像データなどを、メモリ105へ記録することが可能である。
At this time, the
図12は、メモリ105に記録されたファイルの例を表す図である。詳細は動作例で説明するが、図12に示すように、所定時間分のファイルがメモリ105に記録可能である。
FIG. 12 is a diagram showing an example of files recorded in the
図2に戻り、メモリ105は、例えば、HDD(Hard Disk Drive)や半導体メモリなどの記憶媒体である。メモリ105は、映像データと位置情報、時間情報、車両200の速度情報などを記憶する。
Returning to FIG. 2, the
映像検索部106は、無線部107などを介してセンター400から送信された特定位置の位置情報と一致する位置情報を有する映像データを、メモリ105から検索する。その際、映像検索部106は、メッシュを利用して映像データを検索する。メッシュは、例えば、緯度と経度とに基づいて、地図上のある地域を区分けした矩形領域のことである。メッシュは、例えば、1次メッシュから3次メッシュまであり、1次メッシュが最も大きく、3次メッシュが最も小さい。メッシュは、総務省により区分けされ、各種統計に利用される場合がある。メッシュと映像検索部106における処理の詳細は後述する。
映像検索部106は、例えば、検索した映像データ(又は映像データを含むファイル)を無線部107へ出力する。
The
無線部107は、基地局300から送信された無線信号を受信し、受信した無線信号に対して周波数変換処理や復調処理などを施して、センター400から送信された位置情報などを抽出する。無線部107は、抽出した位置情報を映像検索部106へ出力する。また、無線部107は、映像検索部106から出力された映像データなどに対して、変調処理や周波数変換処理などを施して、無線信号へ変換し、変換後の無線信号を基地局300へ送信する。
なお、図2に示すように、記録部104と映像検索部106は、例えば、CPU(Central Processing Unit)110であってもよい。CPU110は、メモリ105からプログラムを読み出して、読み出したプログラムを実行することで、記録部104と映像検索部106の機能を実現することが可能となる。この場合、このような処理を実行するプログラムは、センター400から送信(又はダウンロード)されて、基地局300と無線部107を介して、CPU110によりメモリ105に記憶させることも可能である。CPUに代えて、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)やFPGA(Field-Programmable Gate Array)などのプロセッサやコントローラであってもよい。
Note that, as shown in FIG. 2, the
<メッシュについて>
図3(A)は1次メッシュから3次メッシュまでの大きさの例を表す図である。この大きさも、例えば、総務省で決められた大きさとなっている。
<About mesh>
FIG. 3(A) is a diagram showing an example of sizes from the primary mesh to the tertiary mesh. This size is also determined by, for example, the Ministry of Internal Affairs and Communications.
第1次メッシュ(又は1次メッシュ。以下、「1次メッシュ」)は、緯度方向では1つのメッシュの大きさが「40分」、経度方向では1つのメッシュの大きさが「1度」である。緯度方向で1秒の長さを「30.8m」、経度方向で1秒の長さを「25.2m」とすると、1次メッシュの大きさは、緯度方向では、約73.9km、経度方向では、約90.7kmとなり、図3(A)に示すように一辺の長さは約80kmとなる。 The primary mesh (or primary mesh, hereinafter referred to as "primary mesh") has a mesh size of "40 minutes" in the latitudinal direction and a mesh size of "1 degree" in the longitudinal direction. be. Assuming that the length of one second in the latitudinal direction is "30.8 m" and the length of one second in the longitudinal direction is "25.2 m", the size of the primary mesh is approximately 73.9 km in the latitudinal direction and approx. The direction is about 90.7 km, and the length of one side is about 80 km as shown in FIG. 3(A).
第2次メッシュ(又は2次メッシュ。以下、「2次メッシュ」)は、1つのメッシュの大きさが緯度方向で「5分」(=約9.2km)、経度方向で「7分30秒」(=約11.3km)であり、1辺の長さは約10kmとなる。 The secondary mesh (or secondary mesh, hereinafter referred to as "secondary mesh") has a size of "5 minutes" (= about 9.2 km) in the latitudinal direction and "7 minutes and 30 seconds" in the longitude direction. ” (=about 11.3 km), and the length of one side is about 10 km.
第3次メッシュ(又は3次メッシュ。以下、「3次メッシュ」)は、1つのメッシュの大きさが緯度方向で「30秒」(=約0.92km)、経度方向で「45秒」(=約1.13km)であり、一辺の長さは約1kmとなる。 The tertiary mesh (or tertiary mesh, hereinafter referred to as "tertiary mesh") has a size of "30 seconds" (=about 0.92 km) in the latitudinal direction and "45 seconds" (=about 0.92 km) in the longitudinal direction. = about 1.13 km), and the length of one side is about 1 km.
図3(B)は、1次メッシュから3次メッシュまでのメッシュ間の関係例を表す図である。図3(B)に示すように、1次メッシュ内に2次メッシュが含まれ、2次メッシュ内に3次メッシュが含まれる関係となっている。 FIG. 3B is a diagram showing an example of the relationship between meshes from the primary mesh to the tertiary mesh. As shown in FIG. 3B, the primary mesh includes the secondary mesh, and the secondary mesh includes the tertiary mesh.
このようなメッシュは、例えば、総務省によって、日本の地図上で予め決められた位置にはりめぐらされている。 Such meshes are arranged at predetermined positions on a map of Japan, for example, by the Ministry of Internal Affairs and Communications.
図4は1次メッシュの例、図5(A)は2次メッシュ、図5(B)は3次メッシュの例をそれぞれ表している。 4 shows an example of a primary mesh, FIG. 5A shows an example of a secondary mesh, and FIG. 5B shows an example of a tertiary mesh.
そして、1次メッシュから3次メッシュまでの各メッシュは、他のメッシュと識別可能なように固有のメッシュコードが割り当てられている。ある位置のメッシュコードは、その位置の緯度と経度を用いて算出可能である。算出式は動作例で説明する。 A unique mesh code is assigned to each mesh from the first mesh to the third mesh so that it can be distinguished from other meshes. A mesh code for a location can be calculated using the latitude and longitude of the location. The calculation formula will be explained in an operation example.
本第1の実施の形態では、映像検索部106では、このようなメッシュを利用して映像を検索する。
In the first embodiment, the
<動作例>
図6は、本第1の実施の形態における動作例を表すフローチャートである。本第1の実施の形態では、最初に、1次メッシュを利用して処理を行い、次に、2次メッシュを利用して処理を行い、最後に、3次メッシュを利用して処理を行う。メッシュの次数の変更はS21で行われる。以下、順番に説明することにする。
<Operation example>
FIG. 6 is a flow chart showing an operation example in the first embodiment. In the first embodiment, first, processing is performed using the primary mesh, then processing is performed using the secondary mesh, and finally processing is performed using the tertiary mesh. . The order of the mesh is changed in S21. The steps will be explained in order below.
<1.1次メッシュを利用した処理>
映像検索部106は、処理を開始すると(S10)、検索位置Pxを記録済映像の最古データ位置とする(S11)。
<1. Processing using primary mesh>
When starting the process (S10), the
図7は、メモリ105に記録された映像データが地図上でどこからどこまで記録されているかを表現したものである。図7における四角の枠は、1次メッシュにおける1つのメッシュを表している。上述したように、メモリ105に記憶された映像データには位置情報も記録されており、図7は、その位置情報を地図上で表現したものでもある。図7では、沼津市近辺の位置P1から、新宿パークタワーまでの映像データが、記録済映像の映像データとしてメモリ105に記録されている例を表している。
FIG. 7 expresses where the video data recorded in the
この場合、メモリ105に記録された映像の中で、最も古いのは位置P1の映像データである。よって、映像検索部106は、検索位置Pxとして、位置P1を最古データ位置とする。以下では、位置P1を検索位置(又は検索開始位置)P1と称する場合がある。また、映像検索部106は、xを「1」に設定する。以後、検索位置PxはP1から順番に変更することになるが、その場合、例えば、P1が検索開始位置となり、それ以降のPxが検索位置としてもよい。
In this case, the oldest video data recorded in the
なお、映像検索装置100は、本処理を行う前に、特定位置P0の位置情報も、センター400から受信しているものとする。図7には、地図上で表した特定位置P0の例も表している。本第1の実施の形態では、PO=(緯度,経度)=(35.673033,139.6333546)とする。
It is assumed that the
図12は、メモリ105に記録されたファイルデータ(以下では、「ファイル」と称する場合がある。)の例を表す図である。例えば、各ファイルには、映像データとともに時間情報(t1~t0)が記録されている。そのため、映像検索部106は、メモリ105に記録された時間情報の中で最も古い時間情報を含むファイル内の位置情報(例えば、位置情報#1=P1)を、メモリ105から読み出して、その位置情報を検索位置P1としてもよい。
FIG. 12 is a diagram showing an example of file data (hereinafter sometimes referred to as "file") recorded in the
ファイル内に含まれる位置情報は、上述したように、カメラ101で映像を撮影したときの、GPS受信部103で取得した位置情報であって、緯度と経度とがともに10進数で表されている。
As described above, the position information contained in the file is the position information obtained by the
なお、映像検索部106は、メッシュの次数を「1」に設定し、設定した次数「1」をメモリ105に記憶する。
Note that the
図6に戻り、次に、映像検索部106は、特定位置P0における地域メッシュコード(以下、「メッシュコード」と称する場合がある。)M0を算出する。
Returning to FIG. 6, next, the
映像検索部106は、例えば、特定位置(緯度Y、経度X)P0における1次メッシュのメッシュコード(以下、「1次メッシュコード」と称する場合がある。)を以下の式を用いて算出する。
The
[数1]
1次メッシュコード=M1y×100+M1y ・・・(1)
[数2]
M1y=INT(Y×(60.0÷40.0)) ・・・(2)
[数3]
M1x=INT(X-100) ・・・(3)
[Number 1]
Primary mesh code=M1y×100+M1y (1)
[Number 2]
M1y=INT (Y×(60.0÷40.0)) (2)
[Number 3]
M1x=INT(X-100) (3)
INT()は、例えば、()内の数値を超えない最大の整数を返す関数を表す。 INT( ), for example, represents a function that returns the largest integer that does not exceed the number in ( ).
例えば、P0=(緯度,経度)=(Y,X)=(35.673033,139.6333546)の場合、式(2)と式(3)を用いると、M1y=53、M1x=39となり、特定位置P0における1次メッシュコードは「5339」となる。 For example, when P0 = (latitude, longitude) = (Y, X) = (35.673033, 139.6333546), using equations (2) and (3) gives M1y = 53 and M1x = 39, The primary mesh code at the specific position P0 is "5339".
例えば、映像検索部106は、メモリ105に記憶された式(1)から式(3)を読み出して、センター400から受信した特定位置POの緯度と経度とを式(2)と式(3)に代入し、その結果を式(1)に代入することで、特定位置P0の1次メッシュコードを算出する。
For example, the
図8は、特定位置P0を含む1次メッシュコードM0(=5339)の例を表す図である。 FIG. 8 is a diagram showing an example of the primary mesh code M0 (=5339) including the specific position P0.
図6に戻り、次に、映像検索部106は、xを「1」に設定し、検索位置P1における1次メッシュコードM1を算出する(S13)。P1=(Y,X)=(35.107108,138.866221)とすると、映像検索部106は、S12と同様に式(1)から式(3)を用いて、「5238」を算出する。検索位置P1における1次メッシュコードM1は、「5238」となる。図8は、検索位置P1における1次メッシュコードM1の例を表している。
Returning to FIG. 6, next, the
図6に戻り、次に、映像検索部106は、M0=M1か否かを判定する(S14)。そして、映像検索部106は、M0=M1でないとき(S14でNo)、検索位置P1から、特定位置P0を含む1次メッシュまでの距離S1を算出する(S18)。
Returning to FIG. 6, next, the
S14では、映像検索部106は、例えば、特定位置P0と同一の1次メッシュ内に検索位置P1が含まれるか否かを判定している。図8の例では、MO=5339、M1=5238であるため、映像検索部106は、S14でNoと判定する。そのため、図8の例では、映像検索部106は、検索位置P1から、1次メッシュコードM0の1次メッシュまでの距離S1を算出することになる。
In S14, the
図9は、距離S1の例を表す図である。例えば、映像検索部106は、以下の処理により、距離S1を算出する。
FIG. 9 is a diagram showing an example of the distance S1. For example, the
すなわち、映像検索部106は、最初に、特定位置P0における1次メッシュの頂点位置M01~M04の各緯度と経度をメモリ105から読み出す。そして、映像検索部106は、検索位置P1から、各頂点位置M01~M04までの各距離を、P1,M01~M04の各経度と緯度とに基づいて計算し、その中で最も短い距離をS1として算出する。図9の例では、検索位置P1からは、頂点位置M03までの距離が最も短いので、映像検索部106は、その距離をS1として算出する。
That is, the
上述した距離S1の算出は、一例である。例えば、映像検索部106は、1次メッシュコードM0から、1次メッシュコードM0の緯度と経度とを算出し、検索位置P1の緯度と経度と、算出した緯度と経度とに基づいて、その距離S1を算出してもよい。
The calculation of the distance S1 described above is an example. For example, the
いずれの場合も、距離の計算に際して、映像検索部106では、緯度と経度とを用いている。例えば、検索位置P1の10進表示の緯度と経度を(YP1,XP1)、頂点位置M03の10進表示の緯度と経度を(YM03,XM03)とすると、映像検索部106は、以下の式(4)により、距離S1を計算することが可能である。
In either case, the
[数4]
距離S1=√{(YM03-YP1)×(30.8/3600)}2+{(XM03-XP1)×(25.2/3600)}2 ・・・(4)
[Number 4]
Distance S1=√{(YM03−YP1)×(30.8/3600)} 2 +{(XM03−XP1)×(25.2/3600)} 2 (4)
例えば、映像検索部106は、メモリ105に記憶された式(4)を読み出して、検索位置P1の緯度と経度、頂点位置M03の緯度と経度とを式(4)に代入することで、距離S1を算出することが可能である。頂点位置M03以外の他の頂点位置についても、式(4)において、頂点位置M03に代えて、他の頂点位置の緯度と経度とを代入することで、距離S1を得ることが可能となる。
For example, the
図6に戻り、次に、映像検索部106は、距離S1の移動にかかる所要時間T1を算出する(S19)。例えば、車両200の速度をVmax(例えば、180km/hなど)とし、映像検索部106は、メモリ105に記憶されたVmaxをメモリ105から読み出して、S18で算出した距離S1を速度Vmaxで除算することで、所要時間T1を算出する。
Returning to FIG. 6, next, the
図10は、検索位置P1から出発した車両200が、図10に示す道路を速度Vmaxで走行すると仮定した場合、所要時間T1経過後の車両200の位置を表す。図10において、T1における丸印の位置に車両200が位置する。 FIG. 10 shows the position of the vehicle 200 after the required time T1 has elapsed, assuming that the vehicle 200 departed from the search position P1 travels on the road shown in FIG. 10 at a speed Vmax. In FIG. 10, the vehicle 200 is positioned at the circled position at T1.
図6に戻り、次に、映像検索部106は、記録済映像を、所要時間T1分スキップした映像データの位置にPxを変更する(S20)。例えば、図10の例では、メモリ105に記憶された映像データを、検索位置P1における映像データから所要時間T1経過後の位置(T1の丸印)における映像データまで、スキップさせる。
Returning to FIG. 6, next, the
図12は、メモリ105に記憶された映像データのファイルの例を表す図である。図12に示す例では、映像検索部106は、検索位置P1における最古の映像データ#1を含むファイル#1から、所要時間T1分の映像データ(映像データ#1から映像データ#(m1-1)までの映像データ)をスキップさせる。スキップ後は、映像検索部106は、メモリ105において、映像データ#m1を含むファイル#m1へとアクセスすることになる。このファイル#m1に含まれる位置情報#m1により表される地図上の位置が、図10におけるT1の丸印の位置となる。
FIG. 12 is a diagram showing an example of a video data file stored in the
図11は、地図上におけるスキップの例を表す図である。図11に示すように、図10ではT1の丸印で表された位置が、新たな検索位置P2として変更される。例えば、映像検索部106は、図12に示すように、所要時間T1経過後のファイル#m1から位置情報#m1を抽出し、抽出した位置情報#m1を、xをインクリメントして、検索位置P2に変更する。
FIG. 11 is a diagram showing an example of skipping on a map. As shown in FIG. 11, the circled position T1 in FIG. 10 is changed as a new search position P2. For example, as shown in FIG. 12, the
図6に戻り、そして、処理はS20からS13へ移行して、映像検索部106は、上述した処理を繰り返す。図11の例では、例えば、映像検索部106は、以下の処理を行う。
Returning to FIG. 6, the process moves from S20 to S13, and the
すなわち、映像検索部106は、検索位置P2に対して、検索位置P2の1次メッシュコードM2を算出する(S13)。この場合、映像検索部106は、メモリ105から読み出した検索位置P2の位置情報#m1(緯度と経度)を、式(1)から式(3)に代入するなどして、検索位置P2の1次メッシュコード「5239」を算出する。映像検索部106は、検索位置P2を含む1次メッシュのメッシュコード「5239」と特定位置P0の1次メッシュコード「5339」とが一致しないため(S14でNo)、検索位置P2から特定位置P0までの距離S2を算出する。
That is, the
図13は、距離S2の例を表す図である。この場合、映像検索部106は、検索位置P2の緯度と経度と、1次メッシュコードM0のメッシュの頂点位置M03の緯度と経度とに基づいて、距離S2を算出する。そして、映像検索部106は、距離S2を車両200の速度Vmaxで除算した所要時間T2を算出し(S19)、検索位置P2の映像データから、所要時間T2分の映像データをスキップさせる(S20)。図13の例では、映像検索部106は、距離S2にかかる所要時間T2を算出し、その時間分、映像データをスキップすることになる。図12の例では、映像データ#m1から、所要時間T2分の映像データをスキップし、時間tm2における映像データ#m2(を含むファイルデータ#m2)へスキップする。
FIG. 13 is a diagram showing an example of the distance S2. In this case, the
図14は、検索位置P2から所要時間T2経過した後の、車両200の位置P3の例を表す図である。映像検索部106は、図12に示すように、ファイル#m1から所要時間T2経過後のファイル#m2へスキップし、ファイル#m2から位置情報#m2を抽出することで、検索位置P2の位置情報(緯度と経度)を取得する。そして、映像検索部106は、xをインクリメントして、検索位置P2をP3へ変更する。
FIG. 14 is a diagram showing an example of the position P3 of the vehicle 200 after the required time T2 has elapsed from the search position P2. As shown in FIG. 12, the
図6に戻り、次に、映像検索部106は、検索位置P3の1次メッシュコードM3を、式(1)から式(3)に、位置情報#m2を代入して算出する(S13)。この場合、映像検索部106は、検索位置P3の1次メッシュコードM3として、「5339」を算出したものとする。
Returning to FIG. 6, next, the
次に、映像検索部106は、特定位置P0を含む1次メッシュコードM0と、検索位置Pxを含む1次メッシュのメッシュコードMxとが一致するか否かを判定し(S14)、一致するとき(S14でYes)、地域メッシュ(以下、「メッシュ」と称する場合がある。)の次数が「3」より小さいか否かを判定する(S15)。
Next, the
図14の例では、M0=M3となっているため、映像検索部106は、S14でYesと判定し、メッシュの次数は「1」のため、S15でNoと判定する。例えば、映像検索部106は、メモリ105に記憶されたメッシュの次数に基づいて、S15を判定する。
In the example of FIG. 14, since M0=M3, the
図6に戻り、映像検索部106は、メッシュの次数が「3」より小さいとき(S15でYes)、メッシュの次数をインクリメントして変更する(S21)。図14の例では、映像検索部106は、メッシュの次数を「1」から「2」へ変更する。例えば、映像検索部106は、メモリ105に記憶されたメッシュの次数を「1」から「2」へ変更し、「2」をメモリ105に記憶する。本処理以降は、2次メッシュを利用した処理となる。
Returning to FIG. 6, when the degree of the mesh is smaller than "3" (Yes in S15), the
<2.2次メッシュを利用した処理>
図6に戻り、処理は、再びS12へ移行し、映像検索部106は、特定位置P0を含む2次メッシュのメッシュコード(以下、「2次メッシュコード」と称する場合がある。)M0を算出する(S12)。映像検索部106は、例えば、以下の式(5)から(7)を用いて、特定位置P0(緯度Y,経度X)を含む2次メッシュコードを算出する。
<2. Processing using secondary mesh>
Returning to FIG. 6, the process moves to S12 again, and the
[数5]
2次メッシュコード=1次メッシュコード×100+M2y+M2x ・・・(5)
[数6]
M2y=INT(((Y×60.0)-(M1y×40.0))÷5.0) ・・・(6)
[数7]
M2x=INT(((X-100)-M1x)×(60.0÷7.5)) ・・・(7)
[Number 5]
Secondary mesh code = primary mesh code x 100 + M2y + M2x (5)
[Number 6]
M2y=INT (((Y×60.0)−(M1y×40.0))÷5.0) (6)
[Number 7]
M2x=INT (((X-100)-M1x)×(60.0÷7.5)) (7)
例えば、映像検索部106は、特定位置P0の2次メッシュコードとして、「533945」を算出する。
For example, the
次に、映像検索部106は、検索位置P3の2次メッシュコードを算出する(S13)。例えば、映像検索部106は、式(5)から式(7)を用いて、検索位置P3の2次メッシュコードを算出し、「533920」を得る。
Next, the
次に、映像検索部106は、特定位置P0のメッシュコードと検索位置P3のメッシュコードが一致するか否かを判定する(S14)。例えば、映像検索部106は、特定位置P0の2次メッシュコード「533945」と検索位置P3の2次メッシュコード「533920」とは一致しない。そのため、映像検索部106は、一致しないと判定し(S14でNo)、S18からS19までの処理を行う。
Next, the
すなわち、映像検索部106は、検索位置P3から特定位置P0の3次メッシュまでの距離S3を算出し、距離S3の移動にかかる所要時間T3を算出し、所要時間T3分の映像データをスキップする(S18~S19)。
That is, the
図15(A)は、車両200が検索位置P3における映像データから、T3分の映像データがスキップされて、検索位置P4へと変更された場合の例を表している。 FIG. 15A shows an example where the vehicle 200 is shifted from the video data at the search position P3 to the search position P4 by skipping the video data for T3.
この場合も、映像検索部106は、例えば、以下の処理を行う。すなわち、映像検索部106は、検索位置P3から特定位置P0の3次メッシュの各頂点位置までの距離のうち、最小距離となる距離をS3とし、速度Vmaxをメモリ105から読み出して、距離S3を速度Vmaxで除算する。映像検索部106は、メモリ105にアクセスして、検索位置P3のファイル(又は映像データ)#m2から、所要時間T3分のファイル(又は映像データ)をスキップし、ファイル#m3へスキップする。映像検索部106は、所要時間T3経過後のファイル#m3から位置情報#m3を抽出することで、変更後の検索位置P4の位置情報(緯度と経度)を取得する(S20)。
Also in this case, the
そして、映像検索部106は、検索位置P4を含むメッシュコードを算出する(S13)。例えば、映像検索部106は、S20で取得した検索位置P4の緯度と経度とを、メモリ105から読み出した、式(5)から式(7)に代入するなどすることで、検索位置P4の2次メッシュコード「533945」を算出する。
The
次に、映像検索部106は、特定位置P0の2次メッシュコードと検索位置P4の2次メッシュコードとを比較すると(S14)、一致するため、S14でYesと判定し、メッシュの次数は「2」であるため、S15でYesと判定する。
Next, when the
そして、映像検索部106は、メッシュの次数をインクリメントして、「2」から「3」へ変更する(S21)。例えば、映像検索部106は、変更後のメッシュの次数「3」をメモリ105に記憶する。
Then, the
図15(A)に示すように、検索位置P4が特定位置P0の2次メッシュ内に位置するため、以降では、映像検索部106は、3次メッシュを利用した処理を行うことになる。
As shown in FIG. 15A, since the search position P4 is positioned within the second-order mesh of the specific position P0, the
<3.3次メッシュを利用した処理>
図6に戻り、処理は再びS12へ移行し、映像検索部106は、特定位置P0の3次メッシュのメッシュコード(以下、「3次メッシュコード」と称する場合がある。)M0を算出する。映像検索部106は、例えば、以下の式(8)から式(10)を用いて、特定位置P0=(緯度,経度)=(Y,X)に対する3次メッシュコードを算出する。
<3. Processing using tertiary mesh>
Returning to FIG. 6, the process shifts to S12 again, and the
[数8]
3次メッシュコード=2次メッシュコード×100+M3y×10+M3x ・・・(8)
[数9]
M3y=INT((((Y×60.0)-(M1y×40.0))-(M2y×5.0))×(60.0/30.0)) ・・・(9)
[数10]
M3x=INT((((X-100)-M1x)×60.0)-(M2x×7.5))×(60.0/45.0)) ・・・(10)
[Number 8]
Tertiary mesh code = secondary mesh code x 100 + M3y x 10 + M3x (8)
[Number 9]
M3y=INT ((((Y×60.0)−(M1y×40.0))−(M2y×5.0))×(60.0/30.0)) (9)
[Number 10]
M3x=INT ((((X-100)-M1x)×60.0)-(M2x×7.5))×(60.0/45.0)) (10)
特定位置PO=(35.673033,139.6333546)の3次メッシュコードは、「53394510」となる。 The tertiary mesh code for the specific position PO=(35.673033, 139.6333546) is "53394510".
式(8)から式(9)も、例えば、メモリ105に記憶されており、映像検索部106は、本処理の際にメモリ105から式(8)から式(10)を読み出して、特定位置P0の緯度と経度などを代入することで、特定位置P0における3次メッシュコードを算出する。
Equations (8) to (9) are also stored, for example, in the
次に、映像検索部106は、検索位置P4の3次メッシュコードM4を算出する(S13)。例えば、映像検索部106は、検索位置P4の3次メッシュコードM4として、「53394541」を算出する。
Next, the
そして、映像検索部106は、特定位置P0の3次メッシュコードと検索位置P4の3次メッシュコードとが異なるため(S14でNo)、検索位置P4から特定位置P0までの距離S4を算出する(S18)。この場合も、例えば、映像検索部106は、特定位置P0の3次メッシュの4つの各頂点と、検索位置P4までの各距離のうち最短距離を計算することで、距離S4を算出する。
Then, since the tertiary mesh code at the specific position P0 and the tertiary mesh code at the search position P4 are different (No in S14), the
映像検索部106は、距離S4の移動にかかる所要時間T4(=S4/Vmax)を算出し、記録済映像の検索位置P4における映像データを、所要時間T4分後の位置Pxまでスキップさせる(S19,S20)。図15(B)は、検索位置P4から所要時間T4分スキップさせた後の車両200の位置P5の例を表す図である。映像検索部106は、この位置P5を、変更後の検索位置Pxとして、以降の処理を行う。
The
図12は、所要時間T4スキップ後のファイルの例を表している。映像検索部106は、所要時間T4分のファイル(又は映像データ)をスキップして、ファイル#m4へアクセスする。
FIG. 12 shows an example of the file after skipping the required time T4. The
図6に戻り、次に、映像検索部106は、検索位置P5の3次メッシュコードを算出する(S13)。例えば、映像検索部106は、検索位置P5の3次メッシュコードとして、「53394510」を算出する。
Returning to FIG. 6, next, the
映像検索部106は、特定位置P0の3次メッシュコードと検索位置P5の3次メッシュコードが一致するため(S14でYes)、メッシュの次数が「3」より小さいか否かを判定する(S15)。この場合、メッシュの次数は「3」であるため、映像検索部106は、S15でNoと判定する。
Since the tertiary mesh code at the specific position P0 and the tertiary mesh code at the search position P5 match (Yes in S14), the
S15でNoと判定すると、映像検索部106は、検索位置P5から線形検索を実施する(S16)。図15(B)の例では、映像検索部106は、検索位置P5からは、ファイルを順次検索し、特定位置P0の位置情報を有するファイルを検索することになる。
When it is determined No in S15, the
図12は、所要時間T4分スキップ後、検索位置P5の位置情報を有するファイル#m4から順次線形検索が行われる例を表している。図12に示すように、映像検索部106は、ファイル#m4から、特定位置P0のファイル#0までを、スキップすることなく、順番に検索していくことになる。
FIG. 12 shows an example in which the linear search is sequentially performed from the file #m4 having the position information of the search position P5 after skipping for the required time T4. As shown in FIG. 12, the
映像検索部106は、例えば、線形検索を行って特定位置P0のファイルを検索すると、特定位置P0のファイルを、無線部107へ出力する。或いは、映像検索部106は、特定位置P0のファイルから映像データを抽出し、抽出した映像データを、無線部107へ出力する。これにより、検索結果として、特定位置P0の映像データが映像検索装置100からセンター400へ送信され、センター400では、指定した特定位置P0の映像データを、取得することが可能となる。
For example, when the
そして、映像検索部106は、一連の処理を終了する(S17)。
Then, the
このように、映像検索装置100は、検索開始位置P1の位置情報と特定位置P0の位置情報とに基づいて、検索開始位置P1から特定位置P0を含む1次メッシュまでの映像データを、検索開始位置P1における映像データからスキップさせる。そして、映像検索装置100は、スキップさせた後の映像データが取得された取得位置(又は検索位置)Pxの位置情報と特定位置P0の位置情報とに基づいて、映像データをスキップさせる処理を繰り返し行う。すなわち、映像検索装置100は、取得位置Pxから、特定位置P0を含む1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、取得位置Pxにおける映像データからスキップさせ、これを、(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返す。
In this way, the
上述した動作例では、n=3として、3次メッシュまで繰り返す処理を行ったが、n=4として、3次メッシュより大きさが小さい4次メッシュまで繰り返してもよい。この場合、S15におけるメッシュの次数については、「3」を「4」に変更し、「4」より小さいか否かにより判定すればよい。さらに、5次メッシュ、6次メッシュ、…など、5次より大きい次数のメッシュ(次数が大きくなるほど、メッシュの大きさは小さくなる)まで繰り返してもよく、この場合、S14の「3」を「n」(nは5以上の整数)とすればよい。あるいは、n=2として、映像検索装置100は、2次メッシュまで繰り返すようにして、3次メッシュの処理を行わないようにしてもよい。
In the operation example described above, the process is repeated up to the 3rd order mesh with n=3, but it may be repeated up to the 4th order mesh smaller than the 3rd order mesh with n=4. In this case, the order of the mesh in S15 may be changed from "3" to "4" and determined by whether or not it is smaller than "4". Furthermore, meshes of orders higher than the fifth order, such as fifth-order meshes, sixth-order meshes, etc. (the larger the order, the smaller the mesh size) may be repeated. In this case, "3" in S14 is replaced with " n" (n is an integer of 5 or more). Alternatively, with n=2, the
そして、映像検索装置100は、特定位置P0における位置情報に基づいて、スキップさせた後の映像データから特定位置P0における映像データまでを、メモリ105から検索し、特定位置P0における映像データをメモリ105から読み出して、出力する。
Then, based on the position information at the specific position P0, the
これにより、例えば、図12に示すように、本映像検索装置100は、ファイル#1からファイル#m4までスキップして、ファイル#m4から順番にファイル#0まで検索することが可能となる。従って、ファイル#1から順番にファイル#0までを検索する場合と比較して、本映像検索装置100では、ファイル(又は映像データ)をスキップしているため、検索処理の高速化を図ることが可能となる。
As a result, for example, as shown in FIG. 12, the
以上まとめると、付記のようになる。 The above is summarized as follows.
(付記1)
位置情報と前記位置情報により表された位置において取得された映像データとが記録されたメモリを有する映像検索装置のコンピュータで実行される映像検索プログラムであって、
検索開始位置の位置情報と特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データからスキップさせ、
次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データからスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、
前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する
処理をコンピュータに実行させることを特徴とする映像検索プログラム。
(Appendix 1)
A video search program executed by a computer of a video search device having a memory in which position information and video data obtained at a position represented by the position information are recorded,
Based on the position information of the search start position and the position information of the specific position, the video data from the search start position to the primary mesh including the specific position is skipped from the video data at the search start position,
Next, based on the position information of the acquisition position where the skipped video data was acquired and the position information of the specific position, (n -1) (n is an integer that satisfies n≧2) skip the image data up to the next mesh from the image data at the acquisition position, and repeat this up to the nth mesh smaller in size than the (n−1)th mesh. ,
searching the memory for video data after skipping up to the n-th order mesh to video data at the specific position based on the position information at the specific position, and outputting the video data at the specific position; A video search program characterized in that it is executed by
(付記2)
前記検索開始位置の位置情報と前記特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの第1の最短距離を算出し、前記第1の最短距離に応じた時間分の前記映像データを、前記検索開始位置における前記映像データからスキップさせ、
次に、前記取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む(n-1)次メッシュまでの第(n-1)の最短距離を算出し、前記第(n-1)の最短距離に応じた時間分の前記映像データを、前記取得位置における前記映像データからスキップさせ、これをn次メッシュまで繰り返す
ことを特徴とする付記1記載の映像検索プログラム。
(Appendix 2)
Based on the position information of the search start position and the position information of the specific position, a first shortest distance from the search start position to the primary mesh including the specific position is calculated, and the first shortest distance is calculated skipping the video data for the corresponding time from the video data at the search start position;
Next, based on the position information of the acquisition position and the position information of the specific position, calculate the (n-1)th shortest distance from the acquisition position to the (n-1) order mesh including the specific position. and skipping the image data corresponding to the (n−1)-th shortest distance from the image data at the acquisition position, and repeating this up to the n-th mesh. Video search program.
(付記3)
前記検索開始位置における前記映像データからスキップさせた後の映像データが取得された第1の検索位置を含む1次メッシュと、前記特定位置を含む1次メッシュとが一致しないとき、前記第1の検索位置の位置情報と前記特定位置の位置情報とに基づいて、前記第1の検索位置から前記映像データをスキップさせ、スキップ後の前記映像データが取得された検索位置を含む1次メッシュと、前記特定位置を含む1次メッシュとが一致するまでスキップを繰り返し、
前記検索位置を含む1次メッシュと前記特定位置を含む1次メッシュとが一致するとき、前記検索位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)次メッシュまでの映像データを、前記検索位置における前記映像データからスキップさせる
ことを特徴とする付記1記載の映像検索プログラム。
(Appendix 3)
When the primary mesh including the first search position where the video data after skipping from the video data at the search start position is acquired does not match the primary mesh including the specific position, the first a primary mesh including a search position where the video data is skipped from the first search position based on the position information of the search position and the position information of the specific position, and the video data after skipping is acquired; Repeat skipping until the primary mesh containing the specific position matches,
When the first-order mesh including the search position and the first-order mesh including the specific position match, an image from the search position to the (n-1)th-order mesh having a size smaller than the first-order mesh including the specific position. The video search program according to appendix 1, wherein data is skipped from the video data at the search position.
(付記4)
前記取得位置における前記映像データからスキップさせた後の映像データが取得された第2の検索位置を含む(n-1)次メッシュと、前記特定位置を含む(n-1)次メッシュとが一致しないとき、前記第2の検索位置の位置情報と前記特定位置の位置情報とに基づいて、前記第2の検索位置から前記映像データをスキップさせ、スキップ後の前記映像データが取得された検索位置を含む(n-1)次メッシュと、前記特定位置を含む(n-1)次メッシュとが一致するまでスキップを繰り返し、
前記検索位置を含む(n-1)次メッシュと、前記特定位置を含む(n-1)次メッシュとが一致するとき、前記検索位置から前記特定位置を含む前記n次メッシュまでの映像データを、前記検索位置における前記映像データからスキップさせる
ことを特徴とする付記1記載の映像検索プログラム。
(Appendix 4)
The (n−1) order mesh including the second search position where the video data after skipping from the video data at the acquisition position is acquired matches the (n−1) order mesh including the specific position. If not, the video data is skipped from the second search position based on the position information of the second search position and the position information of the specific position, and the search position where the skipped video data is obtained. Repeat skipping until the (n-1)th mesh containing the specific position matches the (n-1)th mesh containing the specific position,
when the (n−1)th order mesh including the search position and the (n−1)th order mesh including the specific position match each other, the image data from the search position to the nth order mesh including the specific position; , and skipping from the video data at the search position.
(付記5)
前記検索位置からスキップさせた後の映像データが取得された第3の検索位置を含むn次メッシュと、前記特定位置を含むn次メッシュとが一致しないとき、前記第3の検索位置の位置情報と前記特定位置の位置情報とに基づいて、前記第3の検索位置から前記映像データをスキップさせ、スキップ後の映像データが取得された検索位置を含むn次メッシュと、前記特定位置を含むn次メッシュとが一致するまでスキップを繰り返し、
前記検索位置を含むn次メッシュと、前記特定位置を含むn次メッシュとが一致するとき、前記n次メッシュまでスキップさせた後の前記映像データから前記特定位置における映像データまでを前記メモリから検索することを特徴とする付記1記載の映像検索プログラム。
(Appendix 5)
position information of the third search position when the n-th order mesh including the third search position from which the video data after skipping from the search position is acquired does not match the n-th order mesh including the specific position; and the position information of the specific position, the video data is skipped from the third search position, and an n-th mesh including the search position where the skipped video data was acquired, and the n-th mesh including the specific position Repeat skipping until the next mesh matches,
When the n-th order mesh including the search position and the n-th order mesh including the specific position match, the memory is searched for from the video data after skipping to the n-th order mesh to the video data at the specific position. The video search program according to Supplementary Note 1, characterized by:
(付記6)
前記第1の検索位置を含む1次メッシュのメッシュコードと、前記特定位置を含む1次メッシュのメッシュコードとに基づいて、前記第1の検索位置を含む1次メッシュと、前記特定位置を含む1次メッシュとが一致するか否かを判定する
ことを特徴とする付記3記載の映像検索プログラム。
(Appendix 6)
A primary mesh including the first search position and the specific position based on a mesh code of the primary mesh including the first search position and a mesh code of the primary mesh including the specific position. The video search program according to appendix 3, wherein it is determined whether or not the primary mesh matches.
(付記7)
前記第2の検索位置を含む(n-1)次メッシュのメッシュコードと、前記特定位置を含む(n-1)次メッシュのメッシュコードとが一致するか否かを判定する
ことを特徴とする付記4記載の映像検索プログラム。
(Appendix 7)
determining whether or not the mesh code of the (n-1)th order mesh including the second search position matches the mesh code of the (n-1)th order mesh including the specific position. A video search program according to appendix 4.
(付記8)
前記位置情報と前記映像データとを含むファイル形式のデータが所定時間ごとに前記メモリに記憶されることを特徴とする付記1記載の映像検索プログラム。
(Appendix 8)
The image search program according to claim 1, wherein file format data including the position information and the image data is stored in the memory at predetermined time intervals.
(付記9)
前記ファイル形式のデータに含まれる時間情報に基づいて、前記映像データをスキップすることを特徴とする付記8記載の映像検索プログラム。
(Appendix 9)
The video search program according to appendix 8, wherein the video data is skipped based on time information included in the file format data.
(付記10)
位置情報と前記位置情報により表された位置において取得された映像データとが記録されたメモリを有する映像検索装置における映像検索方法であって、
検索開始位置の位置情報と特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データからスキップさせ、
次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データからスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、
前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する
ことを特徴とする映像検索方法。
(Appendix 10)
A video search method in a video search device having a memory in which position information and video data acquired at a position represented by the position information are recorded,
Based on the position information of the search start position and the position information of the specific position, the video data from the search start position to the primary mesh including the specific position is skipped from the video data at the search start position,
Next, based on the position information of the acquisition position where the skipped video data was acquired and the position information of the specific position, (n -1) (n is an integer that satisfies n≧2) skip the image data up to the next mesh from the image data at the acquisition position, and repeat this up to the nth mesh smaller in size than the (n−1)th mesh. ,
Based on the position information at the specific position, the memory is searched for video data after skipping up to the n-th order mesh to the video data at the specific position, and the video data at the specific position is output. video search method.
(付記11)
位置情報と前記位置情報により表された位置において取得された映像データとが記録されたメモリと、
映像検索部とを備え、
前記映像検索部は、
検索開始位置の位置情報と特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データからスキップさせ、
次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データからスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、
前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する
ことを特徴とする映像検索装置。
(Appendix 11)
a memory in which position information and video data acquired at the position represented by the position information are recorded;
and a video search unit,
The video search unit is
Based on the position information of the search start position and the position information of the specific position, the video data from the search start position to the primary mesh including the specific position is skipped from the video data at the search start position,
Next, based on the position information of the acquisition position where the skipped video data was acquired and the position information of the specific position, (n -1) (n is an integer that satisfies n≧2) skip the image data up to the next mesh from the image data at the acquisition position, and repeat this up to the nth mesh smaller in size than the (n−1)th mesh. ,
Based on the position information at the specific position, the memory is searched for video data after skipping up to the n-th order mesh to the video data at the specific position, and the video data at the specific position is output. video search device.
10:通信システム 100(100-1~100-4):映像検索装置
101:カメラ 103:GPS受信部
104:記録部 105:メモリ
106:映像検索部 107:無線部
200(200-1~200-4):車両
300:基地局装置 400:センター
P0:特定位置 P1:検索位置(検索開始位置)
10: Communication system 100 (100-1 to 100-4): Video search device 101: Camera 103: GPS receiver 104: Recording unit 105: Memory 106: Video search unit 107: Wireless unit 200 (200-1 to 200- 4): Vehicle 300: Base station device 400: Center P0: Specific position P1: Search position (search start position)
Claims (4)
第1時刻に撮影された検索開始位置の位置情報と、前記第1時刻より後の時刻である第2時刻に撮影された特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データから時刻を進めてスキップさせ、
次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データから時刻を進めてスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、
前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから時刻を進めながら前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する
処理をコンピュータに実行させることを特徴とする映像検索プログラム。 A video search program executed by a computer of a video search device having a memory in which position information and video data obtained at a position represented by the position information are recorded,
Based on the position information of the search start position photographed at a first time and the position information of the specific position photographed at a second time that is later than the first time , from the search start position to the specific position advance the time from the video data at the search start position and skip the video data up to the first mesh including
Next, based on the position information of the acquisition position where the skipped video data was acquired and the position information of the specific position, (n -1) (n is an integer that satisfies n≧2). Repeat until the next mesh,
Based on the position information at the specific position, the memory is searched for the video data at the specific position while advancing the time from the video data skipped to the n-th order mesh, and the video data at the specific position is output. A video search program characterized by causing a computer to execute processing.
次に、前記取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む(n-1)次メッシュまでの第(n-1)の最短距離を算出し、前記第(n-1)の最短距離に応じた時間分の前記映像データを、前記取得位置における前記映像データからスキップさせ、これをn次メッシュまで繰り返す
ことを特徴とする請求項1記載の映像検索プログラム。 Based on the position information of the search start position and the position information of the specific position, a first shortest distance from the search start position to the primary mesh including the specific position is calculated, and the first shortest distance is calculated skipping the video data for the corresponding time from the video data at the search start position;
Next, based on the position information of the acquisition position and the position information of the specific position, calculate the (n-1)th shortest distance from the acquisition position to the (n-1) order mesh including the specific position. and skipping the image data corresponding to the (n-1)-th shortest distance from the image data at the acquisition position, and repeating this up to the n-th mesh. video search program.
第1時刻に撮影された検索開始位置の位置情報と、前記第1時刻より後の時刻である第2時刻に撮影された特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データから時刻を進めてスキップさせ、
次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データから時刻を進めてスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、
前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから時刻を進めながら前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する
ことを特徴とする映像検索方法。 A video search method in a video search device having a memory in which position information and video data acquired at a position represented by the position information are recorded,
Based on the position information of the search start position photographed at a first time and the position information of the specific position photographed at a second time that is later than the first time , from the search start position to the specific position advance the time from the video data at the search start position and skip the video data up to the first mesh including
Next, based on the position information of the acquisition position where the skipped video data was acquired and the position information of the specific position, (n -1) (n is an integer that satisfies n≧2). Repeat until the next mesh,
Based on the position information at the specific position, the memory is searched for the video data at the specific position while advancing the time from the video data skipped to the n-th order mesh, and the video data at the specific position is output. A video retrieval method characterized by:
映像検索部とを備え、
前記映像検索部は、
第1時刻に撮影された検索開始位置の位置情報と、前記第1時刻より後の時刻である第2時刻に撮影された特定位置の位置情報とに基づいて、前記検索開始位置から前記特定位置を含む1次メッシュまでの映像データを、前記検索開始位置における前記映像データから時刻を進めてスキップさせ、
次に、スキップさせた後の映像データが取得された取得位置の位置情報と前記特定位置の位置情報とに基づいて、前記取得位置から前記特定位置を含む前記1次メッシュより小さいサイズの(n-1)(nはn≧2を満たす整数)次メッシュまでの映像データを、前記取得位置における前記映像データから時刻を進めてスキップさせ、これを(n-1)次メッシュより小さいサイズのn次メッシュまで繰り返し、
前記特定位置における位置情報に基づいて、前記n次メッシュまでスキップさせた後の映像データから時刻を進めながら前記特定位置における映像データまでを前記メモリから検索し、前記特定位置における前記映像データを出力する
ことを特徴とする映像検索装置。 a memory in which position information and video data acquired at the position represented by the position information are recorded;
and a video search unit,
The video search unit is
Based on the position information of the search start position photographed at a first time and the position information of the specific position photographed at a second time that is later than the first time , from the search start position to the specific position advance the time from the video data at the search start position and skip the video data up to the first mesh including
Next, based on the position information of the acquisition position where the skipped video data was acquired and the position information of the specific position, (n -1) (n is an integer that satisfies n≧2). Repeat until the next mesh,
Based on the position information at the specific position, the memory is searched for the video data at the specific position while advancing the time from the video data skipped to the n-th order mesh, and the video data at the specific position is output. A video search device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019032904A JP7227475B2 (en) | 2019-02-26 | 2019-02-26 | Video search program, video search method, and video search device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019032904A JP7227475B2 (en) | 2019-02-26 | 2019-02-26 | Video search program, video search method, and video search device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020135835A JP2020135835A (en) | 2020-08-31 |
| JP7227475B2 true JP7227475B2 (en) | 2023-02-22 |
Family
ID=72263371
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019032904A Active JP7227475B2 (en) | 2019-02-26 | 2019-02-26 | Video search program, video search method, and video search device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7227475B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007164796A (en) | 2006-12-18 | 2007-06-28 | Ntt Docomo Inc | Video search method |
| JP2010160733A (en) | 2009-01-09 | 2010-07-22 | Hitachi Kokusai Electric Inc | Search result displaying method and monitoring system |
| JP2013134228A (en) | 2011-12-27 | 2013-07-08 | Nomura Research Institute Ltd | Navigation system, method, and computer program |
| JP2014143661A (en) | 2012-12-27 | 2014-08-07 | Asahi Research Corp | Video recording and reproducing device |
| WO2017208370A1 (en) | 2016-05-31 | 2017-12-07 | 富士通株式会社 | Road image display program, road image display method, and road management device |
-
2019
- 2019-02-26 JP JP2019032904A patent/JP7227475B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007164796A (en) | 2006-12-18 | 2007-06-28 | Ntt Docomo Inc | Video search method |
| JP2010160733A (en) | 2009-01-09 | 2010-07-22 | Hitachi Kokusai Electric Inc | Search result displaying method and monitoring system |
| JP2013134228A (en) | 2011-12-27 | 2013-07-08 | Nomura Research Institute Ltd | Navigation system, method, and computer program |
| JP2014143661A (en) | 2012-12-27 | 2014-08-07 | Asahi Research Corp | Video recording and reproducing device |
| WO2017208370A1 (en) | 2016-05-31 | 2017-12-07 | 富士通株式会社 | Road image display program, road image display method, and road management device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020135835A (en) | 2020-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101903742B (en) | Electronic device and navigation method | |
| CN105074493B (en) | Drive support technology | |
| US10101165B2 (en) | Electronic device and method for planning tour route | |
| EP3338058B1 (en) | Location based service tools for video illustration, selection, and synchronization | |
| US20120209518A1 (en) | Method of creating map data | |
| US20110178702A1 (en) | Optimum travel times | |
| WO2011023306A1 (en) | A method of creating map data | |
| de Frutos et al. | Using smartphones as a very low-cost tool for road inventories | |
| KR20220132006A (en) | navigation system | |
| US20170111586A1 (en) | Image processing device and method, and program | |
| CN116502182A (en) | Method, device, equipment and medium for constructing twin platform based on mapping data | |
| JP7227475B2 (en) | Video search program, video search method, and video search device | |
| CN103913175A (en) | Navigation system and interesting-place prompting method | |
| US20200074761A1 (en) | On-vehicle device, data collection system, and data collection apparatus | |
| US11816543B2 (en) | System and method for using knowledge gathered by a vehicle | |
| JP2012052851A (en) | Acceleration data correcting device and navigation system | |
| US20190234753A1 (en) | Information processing apparatus and automatic driving track management system | |
| JP2004212232A (en) | Scenery displaying dynamic image navigation system | |
| JP7694345B2 (en) | Information processing device and information processing method | |
| JP6711785B2 (en) | Information processing system, information processing apparatus, and program | |
| JP6486444B2 (en) | Information processing system, information processing apparatus, information processing method, and information processing program | |
| CN113534201B (en) | Satellite positioning test method and system | |
| JP2008292248A (en) | Route information generator | |
| Alam et al. | MUDVA: A multi-sensory dataset for the vehicular CPS applications | |
| JP6504929B2 (en) | INFORMATION PROCESSING PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20210831 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211109 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220927 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221025 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221220 |
|
| 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: 20230110 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230123 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7227475 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |