JP6904619B1 - retrieval method - Google Patents
retrieval method Download PDFInfo
- Publication number
- JP6904619B1 JP6904619B1 JP2020118009A JP2020118009A JP6904619B1 JP 6904619 B1 JP6904619 B1 JP 6904619B1 JP 2020118009 A JP2020118009 A JP 2020118009A JP 2020118009 A JP2020118009 A JP 2020118009A JP 6904619 B1 JP6904619 B1 JP 6904619B1
- Authority
- JP
- Japan
- Prior art keywords
- search
- image
- similar
- unit
- images
- 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
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Image Analysis (AREA)
Abstract
【課題】類似画像の検索を行う際に、検索結果に基づいて関連性の高い画像を迅速に把握することが難しい場合がある。【解決手段】検索装置が、類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込み、絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する。【選択図】図2When searching for similar images, it may be difficult to quickly grasp highly relevant images based on the search results. SOLUTION: A search device narrows down a target image to be a similar search target based on a search condition including position information according to a shooting position of an image for similar image search, and a target image specified as a result of the narrowing down. A similar image similar to the image for searching for a similar image is searched from among them. [Selection diagram] Fig. 2
Description
本発明は、検索方法、検索装置、プログラムに関する。 The present invention relates to a search method, a search device, and a program.
画像に基づいて、当該画像に類似する類似画像を検索する技術が知られている。 A technique for searching for a similar image similar to the image based on the image is known.
類似画像を検索する際に用いられる技術の一つとして、例えば、特許文献1がある。特許文献1には、オークションIDを指定した類似画像の検索要求を受信する手段と、各商品画像の特徴データが記録された特徴データベースから検索要求で指定されたオークションIDに対応付けられた特徴データを取得する手段と、特徴データベースを検索して、抽出した特徴データに類似した特徴データに対応付けられたオークションIDを抽出する手段と、画像データベースから、前記抽出したオークションIDに該当する画像データを取得する手段と、取得した画像データをユーザコンピュータへ送信する手段と、を備えるシステムが記載されている。 For example, Patent Document 1 is one of the techniques used when searching for similar images. Patent Document 1 describes a means for receiving a search request for a similar image for which an auction ID is specified, and feature data associated with the auction ID specified for the search request from a feature database in which feature data for each product image is recorded. The means for acquiring the auction ID, the means for searching the feature database, and the means for extracting the auction ID associated with the feature data similar to the extracted feature data, and the image data corresponding to the extracted auction ID from the image database. A system including means for acquiring and means for transmitting acquired image data to a user computer is described.
例えば、警察における捜査などにおいて、現場に残された遺留品の写真画像をもとに、他の事案において撮影された類似画像の検索を行いたい場合がある。このような犯罪、事件などでは、時空間における相関があることがあるが、特許文献1に記載のような技術では、撮影位置などに応じた調整を行っていない。そのため、単に類似画像の検索を行うと、位置的に遠く離れた事案の類似画像など、関連性が低いと想定される類似画像も検索されてしまっていた。例えば、以上の例のように、位置的な関連性が想定される状況において、単に類似画像の検索を行うと、位置的に遠く離れた類似画像など関連性が低いと想定される画像も検索されてしまう。その結果、検索結果に基づいて関連性の高い画像を迅速に把握することが難しい、という課題が生じていた。 For example, in an investigation by the police, it may be desired to search for similar images taken in other cases based on the photographic images of the leftover items left on the scene. In such crimes and cases, there may be a correlation in space and time, but the technique described in Patent Document 1 does not make adjustments according to the shooting position and the like. Therefore, when a simple search for similar images is performed, similar images that are assumed to have low relevance, such as similar images in cases that are far away from each other in position, are also searched. For example, as in the above example, if you simply search for similar images in a situation where positional relevance is expected, you can also search for images that are expected to have low relevance, such as similar images that are far away from each other. Will be done. As a result, there has been a problem that it is difficult to quickly grasp highly relevant images based on the search results.
そこで、本発明の目的は、類似画像の検索を行う際に、検索結果に基づいて関連性の高い画像を迅速に把握することが難しい場合がある、という課題を解決する検索方法、検索装置、プログラムを提供することにある。 Therefore, an object of the present invention is a search method, a search device, and a search device for solving a problem that it may be difficult to quickly grasp a highly relevant image based on a search result when searching for a similar image. To provide a program.
かかる目的を達成するため本発明の一形態である検索方法は、
検索装置が、
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込み、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する
という構成をとる。
A search method, which is an embodiment of the present invention, for achieving such an object
The search device
Narrow down the target images to be searched for similar images based on the search conditions including the position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image similar to the image for the similar image search is searched for.
また、本発明の他の形態である検索装置は、
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む絞り込み部と、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部と、
を有する
という構成をとる。
Further, the search device according to another embodiment of the present invention is
A narrowing section that narrows down the target images to be searched for similar images based on search conditions that include position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image search unit that searches for similar images similar to the image for similar image search, and a similar image search unit.
It has a structure of having.
また、本発明の他の形態であるプログラムは、
検索装置に、
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む絞り込み部と、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部と、
を実現するためのプログラムである。
In addition, the program which is another form of the present invention
In the search device
A narrowing section that narrows down the target images to be searched for similar images based on search conditions that include position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image search unit that searches for similar images similar to the image for similar image search, and a similar image search unit.
It is a program to realize.
本発明は、以上のように構成されることにより、類似画像の検索を行う際に、検索結果に基づいて関連性の高い画像を迅速に把握することが可能な検索方法、検索装置、プログラムを提供することが可能となる。 The present invention provides a search method, a search device, and a program capable of quickly grasping highly relevant images based on the search results when searching for similar images by being configured as described above. It will be possible to provide.
[第1の実施形態]
本発明の第1の実施形態を図1から図5までを参照して説明する。図1は、検索装置100の概要について説明するための図である。図2は、検索装置100の構成例を示すブロック図である。図3は、物体検出部152の処理例を説明するための図である。図4は、絞り込み部153による絞り込みの一例を説明するための図である。図5は、検索装置100の動作例を示すフローチャートである。
[First Embodiment]
The first embodiment of the present invention will be described with reference to FIGS. 1 to 5. FIG. 1 is a diagram for explaining an outline of the
本発明の第1の実施形態では、画像に類似する類似画像を検索する検索装置100について説明する。図1で示すように、検索装置100には、検索者などにより類似画像検索用の画像が入力される。この際、後述するように、検索装置100には、画像とともに、位置情報を含む検索条件を入力することが出来る。画像と位置情報を含む検索条件とが入力された場合、検索装置100は、位置情報を含む検索条件に基づいて、検索対象となる対象画像を絞りこむ。その後、検索装置100は、絞り込んだ後の対象画像の中から、類似画像検索用の画像と類似する類似画像を検索する。
In the first embodiment of the present invention, a
図2は、検索装置100の構成例を示している。図2を参照すると、検索装置100は、主な構成要素として、例えば、操作入力部110と、画面表示部120と、通信I/F部130と、記憶部140と、演算処理部150と、を有している。
FIG. 2 shows a configuration example of the
操作入力部110は、キーボードやマウスなどの操作入力装置からなる。操作入力部1110は、検索装置100を利用する利用者などの操作を検出して、演算処理部150に出力する。
The
画面表示部120は、LCD(Liquid Crystal Display、液晶ディスプレイ)などの画面表示装置からなる。画面表示部120は、演算処理部150からの指示に応じて、類似画像検索部154による類似画像検索の結果に応じた情報や記憶部140に保存された各種情報などを画面表示することが出来る。
The
通信I/F部130は、データ通信回路からなる。通信I/F部130は、無線通信などにより接続された外部装置との間でデータ通信を行う。
The communication I /
記憶部140は、ハードディスクやメモリなどの記憶装置である。記憶部140は、演算処理部150における各種処理に必要な処理情報やプログラム146を記憶する。プログラム146は、演算処理部150に読み込まれて実行されることにより各種処理部を実現する。プログラム146は、通信I/F部130などのデータ入出力機能を介して外部装置や記録媒体から予め読み込まれ、記憶部140に保存されている。記憶部140で記憶される主な情報としては、例えば、画像データ141、画像インデックス142、分類インデックス143、位置インデックス144、種別インデックス145などがある。
The
画像データ141は、後述する類似画像検索部154による類似画像検索において検索対象となる画像(対象画像)を含んでいる。画像データ141に含まれる画像は、例えば、物体検出部152が検出した各物体領域に対応するものであって構わない。画像データ141に含まれる画像は、通信I/F部130などのデータ入出力機能を介して外部装置や記録媒体などから読み込まれる、検索装置100に入力された画像に基づいて物体検出部152が検出する、などの方法により予め取得され、記憶部140に保存されている。
The
画像インデックス142は、画像データ141に含まれる画像の特徴を抽出した情報である特徴情報を保存するインデックスである。特徴情報は、例えば、通信I/F部130などのデータ入出力機能を介して画像とともに読み込まれる、検索装置100が当該検索装置100に対して入力された画像から(または、物体検出部152による検出結果を用いて)抽出する、などの方法により予め取得されている。画像インデックス142は、後述する類似画像検索部154が類似画像検索を行う際などに利用することが出来る。
The
例えば、特徴情報には、画像から抽出した色、模様、輪郭の特徴量など画像の特徴を示す情報のうちの少なくとも1つが含まれている。特徴情報に含まれる画像の特徴は、大域特徴量やSIFT(Scale-Invariant Feature Transform)などの局所特徴量など、既知の技術を用いて画像から抽出されたもので構わない。特徴情報には、上記例示した以外の画像の特徴を示す情報が含まれても構わない。 For example, the feature information includes at least one of information indicating the features of the image, such as the color, pattern, and contour feature amount extracted from the image. The features of the image included in the feature information may be those extracted from the image using a known technique such as a global feature amount or a local feature amount such as SIFT (Scale-Invariant Feature Transform). The feature information may include information indicating the features of the image other than those illustrated above.
なお、画像データ141の中には、例えば、ガラスの割れ方や足跡など、色情報が検索に不要な画像も含まれうる。このような検索に不要な特徴が含まれる画像に対応する特徴情報には、例えば、グレースケール化や画像が属する分類に特化したフィルタをかけた結果として抽出される特徴など、所定の処理を行ったうえで抽出した画像の特徴を示す情報を含むことが出来る。換言すると、特徴情報には、対応する画像が属する分類などに応じた処理をしたうえで抽出された特徴を示す情報が含まれていても構わない。
The
分類インデックス143は、画像データ141に含まれる画像が属する分類を示す情報である分類情報を保存するインデックスである。分類情報は、例えば、パソコン、マウス、車、椅子、机、ガラスなど、画像が示す物体の種類などを示している。分類情報は、壊れていないパソコン、割れたガラス、椅子の背もたれなど、上記例示した場合よりもより細分化された分類を示しても構わないし、大分類、小分類など段階的な複数の分類を含んでいても構わない。分類情報は、例えば、通信I/F部130などのデータ入出力機能を介して画像とともに読み込まれる、画像を読み込んだ後に(または、物体検出部152による検出の後に)操作入力部110に対する操作により入力される、検索装置100に入力された画像データを事前に学習したクラス分類モデルなどに入力することで検索装置100が分類する、などの方法により予め取得されている。分類インデックス143は、後述する類似画像検索部154が類似画像検索を行う際などに利用することが出来る。
The
なお、クラス分類モデルは、例えば、人間がラベル付けすることで生成した教師データを用いた学習を行うことで、生成することが出来る。例えば、クラス分類モデルは、予め用意した画像(画像の特徴量)に対して当該画像が属する分類を人間がラベル付けすることにより教師データを生成し、生成した教師データを用いた機械学習を行うことなどにより生成することが出来る。 The classification model can be generated, for example, by performing learning using teacher data generated by labeling by humans. For example, in the classification model, teacher data is generated by human labeling the classification to which the image belongs to an image (feature amount of the image) prepared in advance, and machine learning is performed using the generated teacher data. It can be generated by things such as.
位置インデックス144は、画像データ141に含まれる画像を撮影した位置を示す情報である位置情報を保存するインデックスである。位置情報は、例えば、GPS(Global Positioning System)座標などの撮影位置を特定可能な情報である。位置情報は、例えば、通信I/F部130などのデータ入出力機能を介して画像とともに読み込まれる、画像を読み込んだ後に(または、物体検出部152による検出の後に)操作入力部110に対する操作により入力される、などの方法により予め取得されている。位置インデックス144は、後述する類似画像検索部154が類似画像検索を行う際などに利用することが出来る。
The
種別インデックス145は、画像データ141に含まれる画像のカテゴリなどを示す情報であるカテゴリ情報を保存するインデックスである。カテゴリ情報は、例えば、どの種類の犯罪現場を撮影した画像であるか(または、どの事案に該当するか)、どの時期に撮影された画像であるか、どのイベントを示す画像であるか、など、画像を撮影した状況などに応じたカテゴリを示している。カテゴリ情報は、例えば、通信I/F部130などのデータ入出力機能を介して画像とともに読み込まれる、画像を読み込んだ後に(または、物体検出部152による検出の後に)操作入力部110に対する操作により入力される、などの方法により予め取得されている。種別インデックス145は、後述する類似画像検索部154が類似画像検索を行う際などに利用することが出来る。
The
演算処理部150は、MPUなどのマイクロプロセッサとその周辺回路を有する。演算処理部150は、記憶部140からプログラム146を読み込んで実行することにより、上記ハードウェアとプログラム146とを協働させて各種処理部を実現する。演算処理部150で実現される主な処理部としては、例えば、取得部151、物体検出部152、絞り込み部153、類似画像検索部154、出力部155などがある。
The
取得部151は、通信I/F部130などを介して、記憶部140に保存するための画像や類似検索を行うための画像などを取得する。
The
例えば、取得部151は、記憶部140に保存する旨を示す指示とともに、画像を取得する。取得部151は、画像とともに、特徴情報、分類情報、位置情報、カテゴリ情報などを取得しても構わない。そして、取得部151は、取得した画像などを記憶部140に保存する。換言すると、取得部151は、取得した画像を画像データ141として記憶部140に保存するとともに、画像とともに取得した情報に基づいて各種インデックスを生成して記憶部140に保存することが出来る。
For example, the
また、取得部151は、類似画像検索用の画像を取得する。この際、取得部151は、上記類似画像検索用の画像とともに、類似画像を検索する際に用いる検索条件を示す情報を取得することが出来る。ここで、本実施形態の場合、検索条件には、少なくとも位置情報が含まれている。位置情報は、GPS座標などであり、例えば撮像装置を用いて画像を取得する際に画像の撮影位置を示す情報として画像とともに取得されている。なお、検索条件には、分類情報やカテゴリ情報など、位置情報以外の情報が含まれていても構わない。例えば、以上のように、取得部151は、類似画像の検索指示とともに、検索対象の画像と、位置情報を少なくとも含む検索条件を示す情報と、を取得する。
In addition, the
物体検出部152は、取得部151が取得した画像中の物体領域を検出する。また、物体検出部152は、検出した物体領域(物体領域部分の画像)が属する分類を判定することが出来る。
The
例えば、物体検出部152は、予め学習された物体検出モデルを用いて、取得部151が取得した類似画像検索用の画像中の物体領域を検出する。図3は、物体検出部152による処理例を説明するための図である。図3で例示する場合、物体検出部152は、画像を物体検出モデルに入力することで、例えば、3つの物体領域を検出する。
For example, the
なお、物体検出部152が用いる物体検出モデルは、既知の技術を用いて生成されたもので構わない。例えば、物体検出モデルは、ディープラーニングや局所特徴量などを用いた機械学習(例えば、クラス分類モデルと同様に教師データを用いた機械学習)などにより生成することが出来る。
The object detection model used by the
また、物体検出部152は、検出した物体領域が属する分類を判定する。例えば、物体検出部152は、上述したクラス分類モデルを用いて、検出した物体領域が属する分類を判定する。図3で示す画像の場合、上述したように、物体検出部152は3つの物体領域を検出している。物体検出部152は、クラス分類モデルを用いて、検出した3つの物体領域が属する分類を判定する。例えば、図3の場合、物体検出部152は、3つの物体領域が、人、机、椅子にそれぞれ属することを判定する。なお、物体検出部152は、それぞれの物体領域が属する分類の確からしさを示す値を上記判定とともに算出しても構わない。
In addition, the
例えば、以上のように、物体検出部152は、物体領域を検出するとともに、物体領域が属する分類を判定する。なお、物体検出部152は、物体の検出と分類を同時に行う検出・分類モデルを用いて上述した処理を行っても構わない。検出・分類モデルは、クラス分類モデルや物体検出モデルなどと同様に、機械学習などを行うことで予め生成することが出来る。
For example, as described above, the
絞り込み部153は、取得部151が取得した位置情報を含む検索条件と記憶部140に格納された各種インデックスに基づいて、類似画像検索部154が類似画像検索を行う対象となる画像である対象画像の絞り込みを行う。換言すると、絞り込み部153は、位置情報を含む検索条件に基づいて、画像データ141に含まれる画像のうち類似画像検索による検索対象となる画像を絞り込む。
The narrowing-down
絞り込み部153は、検索条件に含まれる位置情報に基づく絞り込みを、位置インデックス144を参照して行う。例えば、絞り込み部153は、検索条件に含まれる位置情報と予め定められた第1条件とに基づいて、検索対象範囲を算出する。ここで、第1条件は、例えば、半径xkm、同一県内、同一市内、など、位置情報に基づいて検索範囲を指定する際に用いられる条件である。絞り込み部153は、検索条件に含まれる位置情報と予め定められた第1条件とを用いることで、検索条件に含まれる位置情報が示す位置から半径xkmなど検索対象範囲を算出する。そして、絞り込み部153は、位置インデックス144を参照して、画像データ141に含まれる画像のうち位置情報が検索対象範囲内の画像を特定する。つまり、絞り込み部153は、画像データ141に含まれる画像のうち位置情報が検索対象範囲内の画像を検索対象の画像とする。
The narrowing down
図4は、絞り込み部153による位置情報を用いた絞り込み処理の一例を示している。図4で示すように、位置情報を用いた絞り込み処理を行うことで、位置情報が示す画像撮影箇所に基づいて設定される検索対象範囲内で撮影された画像が検索対象の画像となる。言い換えると、位置情報が示す画像撮影箇所に基づいて設定される検索対象範囲よりも外側で撮影された画像が検索対象外の画像となることになる。
FIG. 4 shows an example of the narrowing down process using the position information by the narrowing down
なお、検索条件に位置情報以外が含まれる場合、絞り込み部153は、検索条件に含まれる各情報を満たすように、絞り込みを行うことが出来る。例えば、検索条件に位置情報と分類情報とが含まれるとする。この場合、絞り込み部153は、画像データ141に含まれる画像のうち、位置情報が検索対象範囲内であり、かつ、分類情報が検索条件で示されるものである画像を検索対象の画像とする。例えば、以上のように、絞り込み部153は、検索条件に含まれる複数の情報を用いて対象画像の絞り込みを行うことが出来る。検索条件に3つ以上の情報が含まれる場合も、同様である。
When the search condition includes information other than the position information, the narrowing
また、絞り込み部153は、上述した絞り込みの結果と、予め定められた上限数とに基づいて、再絞り込みを行うことが出来る。例えば、上述した処理により絞り込まれた検索対象の画像数が上限数を超えているとする。このような場合、絞り込み部153は、第1条件を変更して再絞り込みを行うことが出来る。例えば、絞り込み部153は、半径を所定値分狭くする、同一県内から隣接市内に変更する、同一市内から半径zkmに変更する、などのように、第1条件よりも狭い範囲となるように、予め定められた基準に従って第1条件を変更する。そして、絞り込み部153は、変更した第1条件に基づいて、再絞り込みを行う。再絞り込みの際にどのように第1条件を変更するかは、任意に設定して構わない。
Further, the narrowing down
なお、検索条件に位置情報以外が含まれる場合、絞り込み部153は、検索条件に含まれる各情報が示す条件を予め定められた基準に従って変更したうえで、再絞り込みを行うことが出来る。例えば、絞り込み部153は、より細かな分類にする、カテゴリをより特定する、などの方法により、条件を変更することが出来る。絞り込み部153は、検索条件に位置情報以外が含まれる場合、まず、位置情報に対応する第1条件のみを変更して再絞り込みを行い、再絞り込みの結果でも上限数を超えている場合に、その他の情報が示す条件を変更するよう構成しても構わない。
When the search condition includes information other than the position information, the narrowing
類似画像検索部154は、絞り込み部153が絞り込んだ結果として特定される対象画像の中から、類似画像検索用の画像に類似する画像を検索する。物体検出部152が類似画像検索用の画像から複数の物体領域を検出していた場合、類似画像検索部154は、物体検出部152が検出した複数の物体領域(物体領域部分の画像)それぞれについて、類似画像検索を行うことが出来る。
The similar
類似画像検索部154は、画像の内容に基づいて類似画像検索を行うCBIR(Content-based Image Retrieval)など、既知の技術を用いて類似画像検索を行うことが出来る。例えば、類似画像検索部154は、類似画像検索用の画像(例えば、物体領域部分の画像)から特徴量を算出する。この際、類似画像検索部154は、グレースケール化、画像が属する分類に特化したフィルタの適用など、類似画像検索用の画像に対して所定の前処理を行ったうえで、特徴量の算出を行うことが出来る。また、類似画像検索部154は、算出した特徴量と画像インデックス142が示す対象画像の特徴量などとに基づいて、類似画像検索用の画像と各対象画像間の類似度を算出する。そして、類似画像検索部154は、算出した類似度が類似閾値以下となる対象画像を、類似画像検索用の画像に類似する類似画像として特定する。例えば、以上のように、類似画像検索部154は、画像の特徴量など画像の内容に基づいて、絞り込み部153が絞り込んだ対象画像の中から類似画像検索用の画像に類似する類似画像を検索する。
The similar
なお、物体検出部152が画像から複数の物体領域を検出していた場合、類似画像検索部154は、物体検出部152が検出した複数の物体領域すべてに対して類似画像検索を行っても構わないし、物体検出部152が検出した複数の物体領域のうちの一部に対して類似画像検索を行っても構わない。例えば、類似画像検索部154は、物体検出部152が検出した複数の物体領域のうち、操作入力部110の操作により指定された物体領域や、予め定められた条件により指定された物体領域のみについて、類似画像検索を行っても構わない。
When the
また、類似画像検索部154は、所定の前処理を行うか否かを、物体検出部152が判定した分類などに基づいて判断するよう構成することが出来る。例えば、類似画像検索部154は、割れたガラスや足跡など、類似画像検索の対象となる画像が属する分類が予め定められたものである場合、対応する前処理を行うよう構成することが出来る。
Further, the similar
出力部155は、類似画像検索部154による類似画像検索の結果に応じた出力を行う。例えば、出力部155は、類似画像検索部154により検索される類似画像を画面表示部120に画面表示したり、外部装置に対して送信したりする。物体検出部152が複数の物体領域それぞれについて類似画像検索を行った場合、出力部155は、対応する物体領域を判別可能なように、各物体領域部分の画像に類似する類似画像を画面表示等することが出来る。なお、出力部155は、絞り込み部153が絞りこんだ結果に応じた画像数(対象画像の画像数)など、上記例示したもの以外を出力しても構わない。
The
以上が、検索装置100の構成例である。
The above is a configuration example of the
なお、取得部151が記憶部140に保存する旨を示す指示とともに画像を取得した際に、検索装置100は、各種インデックスのための情報生成などを行っても構わない。例えば、検索装置100は、物体検出部152による物体領域の検出を行って、検出した物体領域ごとの画像を画像データ141に保存することが出来る。また、検索装置100は、物体検出部152により物体領域が属する分類を判定して、判定した結果を分類インデックス143に保存することが出来る。また、検索装置100は、類似画像検索部154による特徴量の算出を行って、算出した結果を画像インデックス142に保存することが出来る。また、上述したように、検索装置100は、画像とともに取得した位置情報やカテゴリ情報に基づいて、位置インデックスや種別インデックスを保存することが出来る。なお、1つの画像に基づいて物体検出部152が複数の物体領域を検出した場合、各物体領域に対応する位置インデックス144が示す位置情報は、例えば、同一のものとなる(異なるものとしても構わない)。例えば、以上のように、取得部151が記憶部140に保存するための画像を取得した際、検索装置100は、各種インデックスのための情報生成を行って、生成した情報を各インデックスに保存することが出来る。
When the
また、検索装置100は、類似画像検索用に取得した画像、検索条件、類似画像検索の際に判定した分類、特徴量などを、別の類似画像検索の際に用いるために、記憶部140に格納するよう構成することが出来る。つまり、検索装置100は、予め格納された画像と過去の類似画像検索に用いられた画像の中から類似する画像を検索するよう構成することが出来る。
Further, the
続いて、図5を参照して、検索装置100の動作例について説明する。図5を参照すると、取得部151は、類似画像の検索指示とともに、検索対象の画像と、位置情報を少なくとも含む検索条件を示す情報と、を取得する(ステップS101)。
Subsequently, an operation example of the
物体検出部152は、取得部151が取得した類似画像検索用の画像中の、物体領域を検出する。また、物体検出部152は、検出した物体領域(物体領域部分の画像)が属する分類を判定する(ステップS102)。例えば、物体検出部152は、予め学習された物体検出モデルを用いて、取得部151が取得した類似画像検索用の画像中の物体領域を検出する。また、物体検出部152は、予め学習されたクラス分類モデルを用いて、検出した物体領域が属する分類を判定する。
The
絞り込み部153は、取得部151が取得した位置情報を含む検索条件に基づいて、類似画像検索部154が類似画像検索を行う対象となる画像の絞り込みを行う(ステップS103)。
The narrowing-down
ステップS103の処理により絞り込まれた対象画像の数が上限数を超えている場合、(ステップS104、No)、絞り込み部153は、第1条件を変更して再絞り込みを行う(ステップS105)。
When the number of target images narrowed down by the process of step S103 exceeds the upper limit (step S104, No), the narrowing down
なお、ステップS103の処理は、ステップS102の処理の前、または、ステップS102の処理と並行して、行われても構わない。 The process of step S103 may be performed before the process of step S102 or in parallel with the process of step S102.
ステップS103の処理により絞り込まれた対象画像の数が上限数以下である場合(ステップS104、Yes)、類似画像検索部154は、類似画像検索を行う(ステップS106)。類似画像検索部154は、画像の内容に基づいて類似画像検索を行うCBIR(Content-based Image Retrieval)など、既知の技術を用いて類似画像検索を行うことが出来る。なお、ステップS102の処理により物体検出部152が画像から複数の物体領域を検出した場合、類似画像検索部154は、物体検出部152が検出した複数の物体領域(物体領域部分の画像)それぞれについて、類似画像検索を行うことが出来る。
When the number of target images narrowed down by the process of step S103 is not more than the upper limit (step S104, Yes), the similar
出力部155は、類似画像検索部154による類似画像検索の結果に応じた出力を行う(ステップS107)。例えば、出力部155は、類似画像を画面表示部120に画面表示したり、類似画像を外部装置に対して送信したりすることが出来る。
The
以上が、検索装置100の動作例である。
The above is an operation example of the
このように、検索装置100は、絞り込み部153と、類似画像検索部154と、を有している。このような構成により、類似画像検索部154は、絞り込み部153が位置情報を含む検索条件に基づいて絞り込んだ結果の中から類似画像検索を行うことが出来る。これにより、より迅速な検索を実現することが出来る。また、検索条件に基づいて関連性の低いと判断される画像を事前に検索対象外とするため、関連性の高いと想定される類似画像をより精度よく検索することが出来る。その結果、類似画像の検索を行う際に、検索結果に基づいて関連性の高い画像を迅速に把握することが可能となる。
As described above, the
なお、本実施形態において、検索装置100は、絞り込み部153による絞り込みの後に、類似画像検索部154による類似画像検索を行うとした。しかしながら、検索装置100は、類似画像検索部154が画像データ141全体から類似画像検索を行った後に、絞り込み部153により類似画像検索部154による検索結果の絞り込みを行うよう構成しても構わない。絞り込み部153による絞り込みの後に類似画像検索部154による類似画像検索を行う方が、類似画像検索の際の負荷を軽減させることなどが出来るため、より好ましい方法である。しかしながら、類似画像検索を行った後に絞り込む方法でも、本発明の目的は達成できる。
In the present embodiment, the
また、検索装置100は、物体領域の検出を行わずに画像全体に対して類似画像検索を行うよう構成しても構わない。このように構成する場合、検索装置100は、物体検出部152の代わりに物体分類部を有しても構わない。
Further, the
また、本実施形態においては、1台の情報処理装置により検索装置100としての機能を実現する場合について例示した。しかしながら、検索装置100としての機能は、ネットワークを介して接続された複数台の情報処理装置により実現されても構わない。例えば、検索装置100は、クラウドなどを利用して実現されても構わない。
Further, in the present embodiment, a case where the function as the
[第2の実施形態]
次に、図6、図7を参照して、本開示の第2の実施形態について説明する。第2の実施形態では、検索装置200の構成の概要について説明する。
[Second Embodiment]
Next, a second embodiment of the present disclosure will be described with reference to FIGS. 6 and 7. In the second embodiment, the outline of the configuration of the
図6は、検索装置200のハードウェア構成例を示している。図6を参照すると、検索装置200は、一例として、以下のようなハードウェア構成を有している。
・CPU(Central Processing Unit)201(演算装置)
・ROM(Read Only Memory)202(記憶装置)
・RAM(Random Access Memory)203(記憶装置)
・RAM203にロードされるプログラム群204
・プログラム群204を格納する記憶装置205
・情報処理装置外部の記録媒体210の読み書きを行うドライブ装置206
・情報処理装置外部の通信ネットワーク211と接続する通信インタフェース207
・データの入出力を行う入出力インタフェース208
・各構成要素を接続するバス209
FIG. 6 shows a hardware configuration example of the
-CPU (Central Processing Unit) 201 (arithmetic unit)
-ROM (Read Only Memory) 202 (storage device)
-RAM (Random Access Memory) 203 (storage device)
-
-
-
-
-I /
-
また、検索装置200は、プログラム群204をCPU201が取得して当該CPU201が実行することで、図7に示す絞り込み部221、類似画像検索部222としての機能を実現することが出来る。なお、プログラム群204は、例えば、予め記憶装置205やROM202に格納されており、必要に応じてCPU201がRAM203などにロードして実行する。また、プログラム群204は、通信ネットワーク211を介してCPU201に供給されてもよいし、予め記録媒体210に格納されており、ドライブ装置206が該プログラムを読み出してCPU201に供給してもよい。
Further, the
なお、図6は、検索装置200のハードウェア構成例を示している。検索装置200のハードウェア構成は上述した場合に限定されない。例えば、検索装置200は、ドライブ装置206を有さないなど、上述した構成の一部から構成されてもよい。
Note that FIG. 6 shows an example of the hardware configuration of the
絞り込み部221は、類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む。例えば、検索装置200は、類似画像検索用の画像と、位置情報を含む検索条件と、を取得する。すると、検索装置200は、位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む。
The narrowing-down
類似画像検索部222は、絞り込んだ結果として特定される対象画像の中から、類似画像検索用の画像に類似する類似画像を検索する。
The similar
このように、検索装置200は、絞り込み部221と、類似画像検索部222と、を有している。このような構成により、類似画像検索部222は、絞り込み部221が絞り込んだ結果として特定される対象画像の中から、類似画像検索用の画像に類似する類似画像を検索することが出来る。これにより、関連性の高いと想定される類似画像をより精度よく検索することが出来る。その結果、類似画像の検索を行う際に、検索結果に基づいて関連性の高い画像を迅速に把握することが可能となる。
As described above, the
なお、上述した検索装置200は、当該検索装置200に所定のプログラムが組み込まれることで実現できる。具体的に、本発明の他の形態であるプログラムは、検索装置200に、類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む絞り込み部221と、絞り込み部221が絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部222と、を実現するためのプログラムである。
The above-mentioned
また、上述した検索装置200により実現される検索方法は、検索装置200が、類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込み、絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する、という方法である。
Further, in the search method realized by the above-mentioned
上述した構成を有する、プログラム(または記録媒体)、または、検索方法、の発明であっても、上述した検索装置200と同様の作用・効果を有するために、上述した本発明の目的を達成することが出来る。
Even the invention of the program (or recording medium) or the search method having the above-mentioned configuration achieves the above-mentioned object of the present invention in order to have the same operation and effect as the above-mentioned
<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明における検索方法などの概略を説明する。但し、本発明は、以下の構成に限定されない
<Additional notes>
Part or all of the above embodiments may also be described as in the appendix below. Hereinafter, the outline of the search method and the like in the present invention will be described. However, the present invention is not limited to the following configurations.
(付記1)
検索装置が、
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込み、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する
検索方法。
(付記2)
付記1に記載の検索方法であって、
前記位置情報に基づいて検索対象範囲を算出し、算出した検索対象範囲に基づいて対象画像を絞り込む
検索方法。
(付記3)
付記1または付記2に記載の検索方法であって、
物体の種類を示す分類情報、または、撮影した状況に応じたカテゴリを示すカテゴリ情報、のうちの少なくとも一つを用いて、対象画像を絞り込む
検索方法。
(付記4)
付記1から付記3までのいずれか1項に記載の検索方法であって、
絞り込んだ結果として特定される対象画像の数に応じて対象画像の再絞り込みを行う
検索方法。
(付記5)
付記4に記載の検索方法であって、
絞り込んだ結果として特定される対象画像の数が予め定められた上限数を超えている場合に、対象画像の再絞り込みを行う
検索方法。
(付記6)
付記4または付記5に記載の検索方法であって、
前記位置情報を用いた絞り込みを行う際に用いる条件を変更して、変更後の条件を用いて検索対象範囲を算出し、算出した検索対象範囲に基づいて対象画像の再絞り込みを行う
検索方法。
(付記7)
付記1から付記6までのうちのいずれか1項に記載の検索方法であって、
類似画像検索用の画像中の物体領域を検出し、検出した物体領域のうちの少なくとも一部に対して類似画像検索を行う
検索方法。
(付記8)
付記1から付記7までのいずれか1項に記載の検索方法であって、
検索した結果として特定される類似画像を出力する
検索方法。
(付記9)
検索装置が、
類似画像検索用の画像に類似する類似画像を検索し、
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、検索した結果を絞り込む
検索方法。
(付記10)
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む絞り込み部と、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部と、
を有する
検索装置。
(付記11)
検索装置に、
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む絞り込み部と、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部と、
を実現するためのプログラム。
(Appendix 1)
The search device
Narrow down the target images to be searched for similar images based on the search conditions including the position information according to the shooting position of the images for similar image search.
A search method for searching for similar images similar to the image for searching for similar images from the target images specified as a result of narrowing down.
(Appendix 2)
The search method described in Appendix 1
A search method in which a search target range is calculated based on the location information and a target image is narrowed down based on the calculated search target range.
(Appendix 3)
The search method described in Appendix 1 or Appendix 2,
A search method that narrows down the target image by using at least one of the classification information indicating the type of the object or the category information indicating the category according to the shooting situation.
(Appendix 4)
The search method described in any one of Appendix 1 to Appendix 3, which is the search method.
A search method that re-filters the target images according to the number of target images identified as the result of narrowing down.
(Appendix 5)
The search method described in Appendix 4
A search method for re-narrowing down the target images when the number of target images specified as a result of narrowing down exceeds a predetermined upper limit.
(Appendix 6)
The search method described in Appendix 4 or Appendix 5.
A search method in which the conditions used when narrowing down using the position information are changed, the search target range is calculated using the changed conditions, and the target image is re-narrowed based on the calculated search target range.
(Appendix 7)
The search method according to any one of Supplementary Note 1 to Supplementary Note 6.
A search method that detects an object area in an image for similar image search and performs a similar image search on at least a part of the detected object area.
(Appendix 8)
The search method according to any one of Supplementary note 1 to Supplementary note 7.
A search method that outputs similar images identified as the result of a search.
(Appendix 9)
The search device
Search for similar images that are similar to the images for similar image search,
A search method that narrows down the search results based on search conditions that include position information according to the shooting position of the image for similar image search.
(Appendix 10)
A narrowing section that narrows down the target images to be searched for similar images based on search conditions that include position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image search unit that searches for similar images similar to the image for similar image search, and a similar image search unit.
Search device with.
(Appendix 11)
In the search device
A narrowing section that narrows down the target images to be searched for similar images based on search conditions that include position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image search unit that searches for similar images similar to the image for similar image search, and a similar image search unit.
A program to realize.
なお、上記各実施形態及び付記において記載したプログラムは、記憶装置に記憶されていたり、コンピュータが読み取り可能な記録媒体に記録されていたりする。例えば、記録媒体は、フレキシブルディスク、光ディスク、光磁気ディスク、及び、半導体メモリ等の可搬性を有する媒体である。 The programs described in each of the above embodiments and appendices may be stored in a storage device or recorded in a computer-readable recording medium. For example, the recording medium is a portable medium such as a flexible disk, an optical disk, a magneto-optical disk, and a semiconductor memory.
以上、上記各実施形態を参照して本願発明を説明したが、本願発明は、上述した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の範囲内で当業者が理解しうる様々な変更をすることが出来る。 Although the present invention has been described above with reference to each of the above embodiments, the present invention is not limited to the above-described embodiments. Various changes that can be understood by those skilled in the art can be made to the structure and details of the present invention within the scope of the present invention.
100 検索装置
110 操作入力部
120 画面表示部
130 通信I/F部
140 記憶部
141 画像データ
142 画像インデックス
143 分類インデックス
144 位置インデックス
145 種別インデックス
146 プログラム
150 演算処理部
151 取得部
152 物体検出部
153 絞り込み部
154 類似画像検索部
155 出力部
200 検索装置
201 CPU
202 ROM
203 RAM
204 プログラム群
205 記憶装置
206 ドライブ装置
207 通信インタフェース
208 入出力インタフェース
209 バス
210 記録媒体
211 通信ネットワーク
221 絞り込み部
222 類似画像検索部
100
202 ROM
203 RAM
204
Claims (8)
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込み、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索し、
絞り込んだ結果として特定される対象画像の数が予め定められた上限数を超えている場合に、対象画像の再絞り込みを行う
検索方法。 The search device
Narrow down the target images to be searched for similar images based on the search conditions including the position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image similar to the image for the similar image search is searched for, and the image is searched .
A search method for re-narrowing down target images when the number of target images specified as a result of narrowing down exceeds a predetermined upper limit.
前記位置情報に基づいて検索対象範囲を算出し、算出した検索対象範囲に基づいて対象画像を絞り込む
検索方法。 The search method according to claim 1.
A search method in which a search target range is calculated based on the location information and a target image is narrowed down based on the calculated search target range.
物体の種類を示す分類情報、または、撮影した状況に応じたカテゴリを示すカテゴリ情報、のうちの少なくとも一つを用いて、対象画像を絞り込む
検索方法。 The search method according to claim 1 or 2.
A search method that narrows down the target image by using at least one of the classification information indicating the type of the object or the category information indicating the category according to the shooting situation.
前記位置情報を用いた絞り込みを行う際に用いる条件を変更して、変更後の条件を用いて検索対象範囲を算出し、算出した検索対象範囲に基づいて対象画像の再絞り込みを行う
検索方法。 The search method according to any one of claims 1 to 3.
A search method in which the conditions used when narrowing down using the position information are changed, the search target range is calculated using the changed conditions, and the target image is re-narrowed based on the calculated search target range.
類似画像検索用の画像中の物体領域を検出し、検出した物体領域のうちの少なくとも一部に対して類似画像検索を行う
検索方法。 The search method according to any one of claims 1 to 4.
A search method that detects an object area in an image for similar image search and performs a similar image search on at least a part of the detected object area.
検索した結果として特定される類似画像を出力する
検索方法。 The search method according to any one of claims 1 to 5.
A search method that outputs similar images identified as the result of a search.
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部と、
を有し、
前記絞り込み部は、絞り込んだ結果として特定される対象画像の数が予め定められた上限数を超えている場合に、対象画像の再絞り込みを行う
検索装置。 A narrowing section that narrows down the target images to be searched for similar images based on search conditions that include position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image search unit that searches for similar images similar to the image for similar image search, and a similar image search unit.
Have a,
The narrowing unit is a search device that re-narrows down the target images when the number of target images specified as a result of narrowing down exceeds a predetermined upper limit.
類似画像検索用の画像の撮影位置に応じた位置情報を含む検索条件に基づいて、類似検索対象となる対象画像を絞り込む絞り込み部と、
絞り込んだ結果として特定される対象画像の中から、前記類似画像検索用の画像に類似する類似画像を検索する類似画像検索部と、
を実現させ、
前記絞り込み部は、絞り込んだ結果として特定される対象画像の数が予め定められた上限数を超えている場合に、対象画像の再絞り込みを行う
プログラム。
In the search device
A narrowing section that narrows down the target images to be searched for similar images based on search conditions that include position information according to the shooting position of the images for similar image search.
From the target images identified as the result of narrowing down, a similar image search unit that searches for similar images similar to the image for similar image search, and a similar image search unit.
Realized ,
The narrowing down unit is a program that re-narrows down the target images when the number of target images specified as a result of narrowing down exceeds a predetermined upper limit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020118009A JP6904619B1 (en) | 2020-07-08 | 2020-07-08 | retrieval method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020118009A JP6904619B1 (en) | 2020-07-08 | 2020-07-08 | retrieval method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6904619B1 true JP6904619B1 (en) | 2021-07-21 |
JP2022015285A JP2022015285A (en) | 2022-01-21 |
Family
ID=76918204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020118009A Active JP6904619B1 (en) | 2020-07-08 | 2020-07-08 | retrieval method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6904619B1 (en) |
-
2020
- 2020-07-08 JP JP2020118009A patent/JP6904619B1/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2022015285A (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10402448B2 (en) | Image retrieval with deep local feature descriptors and attention-based keypoint descriptors | |
US20130121535A1 (en) | Detection device and method for transition area in space | |
CN101930444A (en) | Image search system and method | |
US9576218B2 (en) | Selecting features from image data | |
US9773023B2 (en) | Image selection using automatically generated semantic metadata | |
US8582872B1 (en) | Place holder image detection via image clustering | |
KR20170007747A (en) | Natural language image search | |
Guan et al. | On-device mobile landmark recognition using binarized descriptor with multifeature fusion | |
GB2402535A (en) | Face recognition | |
KR101835333B1 (en) | Method for providing face recognition service in order to find out aging point | |
US20080222113A1 (en) | Image search method, apparatus, and program | |
CN115115825B (en) | Method, device, computer equipment and storage medium for detecting object in image | |
KR20200112681A (en) | Intelligent video analysis | |
JP2011070244A (en) | Device, method and program for retrieving image | |
Sumbul et al. | Plasticity-stability preserving multi-task learning for remote sensing image retrieval | |
JP2021086438A (en) | Image searching apparatus, image searching method, and program | |
US10909167B1 (en) | Systems and methods for organizing an image gallery | |
JP2022043631A (en) | Information processing apparatus, information processing method, and program | |
JP6904619B1 (en) | retrieval method | |
WO2021145030A1 (en) | Video search system, video search method, and computer program | |
JP6341843B2 (en) | Image search apparatus and image search system | |
KR20190064288A (en) | Sketch-based media plagiarism inspection method and apparatus | |
CN113111206A (en) | Image searching method and device, electronic equipment and storage medium | |
JP5347897B2 (en) | Annotation apparatus, method and program | |
CN113111689A (en) | Sample mining method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200715 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200923 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20200923 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210113 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20210120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210127 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210326 |
|
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: 20210525 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210617 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6904619 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |