JP2016103084A - Image search apparatus and image search system - Google Patents

Image search apparatus and image search system Download PDF

Info

Publication number
JP2016103084A
JP2016103084A JP2014240030A JP2014240030A JP2016103084A JP 2016103084 A JP2016103084 A JP 2016103084A JP 2014240030 A JP2014240030 A JP 2014240030A JP 2014240030 A JP2014240030 A JP 2014240030A JP 2016103084 A JP2016103084 A JP 2016103084A
Authority
JP
Japan
Prior art keywords
search
feature vector
similarity
image
feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014240030A
Other languages
Japanese (ja)
Other versions
JP6341843B2 (en
Inventor
智明 吉永
Tomoaki Yoshinaga
智明 吉永
廣池 敦
Atsushi Hiroike
敦 廣池
隆一 神
Ryuichi Jin
隆一 神
大輔 松原
Daisuke Matsubara
大輔 松原
裕樹 渡邉
Hiroki Watanabe
裕樹 渡邉
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.)
Hitachi Industry and Control Solutions Co Ltd
Original Assignee
Hitachi Industry and Control Solutions Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Industry and Control Solutions Co Ltd filed Critical Hitachi Industry and Control Solutions Co Ltd
Priority to JP2014240030A priority Critical patent/JP6341843B2/en
Publication of JP2016103084A publication Critical patent/JP2016103084A/en
Application granted granted Critical
Publication of JP6341843B2 publication Critical patent/JP6341843B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image search apparatus configured to prevent reduction in search accuracy even when similarity between categories is high.SOLUTION: An image search apparatus includes: a search object storage section which stores feature vectors of images to be searched; a dictionary information storage section for storing a first feature vector corresponding to each of search keys; a first search section 305 which calculates first similarity between a feature vector of an image and the first feature vector corresponding to an input search key; a second search section 306 which calculates second similarity between the feature vector of the image and a second feature vector, which is a first feature vector corresponding to a search key other than the input search key, to calculate general similarity of feature vector images, on the basis of the first and second similarities; and an output section 307 which outputs the feature vector images in the order of general similarity. The second search section 306 calculates general similarity so that a feature vector having higher second similarity may have lower general similarity of feature vectors.SELECTED DRAWING: Figure 3

Description

本発明は、検索キーに対応する画像を検索する画像検索装置に関する。   The present invention relates to an image search apparatus that searches for an image corresponding to a search key.

近年、安全意識の高まり、カメラのデジタル化、及び記録装置の大規模化に伴って、映像監視システムの普及が進んでいる。様々な場所に設置されたカメラは、人物、車、バイク、標識、又は店舗内の商品など様々なオブジェクトを撮影する。   In recent years, with the increasing awareness of safety, the digitalization of cameras, and the increase in the scale of recording devices, video surveillance systems have become popular. Cameras installed in various places shoot various objects such as people, cars, motorcycles, signs, or products in stores.

多数のカメラから取得した膨大な画像データを効率的に管理するために画像検索システムに対するニーズが高まっている。画像検索システムは、画像から顔等の特定オブジェクトを検出し、検出した特定オブジェクトから特徴量を算出し、データベース化する。画像検索システムにユーザが検索したいデータが入力された場合、画像検索システムは、入力されたデータに対応する特徴量とデータベース内の特徴量との間の類似度を算出することによって、入力されたデータに類似する画像を検索する。   There is an increasing need for an image search system in order to efficiently manage enormous amounts of image data acquired from a large number of cameras. The image search system detects a specific object such as a face from an image, calculates a feature amount from the detected specific object, and creates a database. When data that the user wants to search is input to the image search system, the image search system calculates the similarity between the feature amount corresponding to the input data and the feature amount in the database. Search for images similar to the data.

画像検索システムにおいて、記録された膨大な画像の中から、特定のカテゴリに属するオブジェクトの画像だけを検索したいというニーズがある。例えば、画像中のオブジェクトが車両である場合には、セダン、ワゴン、又はコンパクトカー等のカテゴリから特定のカテゴリの車両だけを検索したいというニーズがある。他にも画像中のオブジェクトが人物である場合には、10代又は20代等の年齢を属性とした検索、及び大柄又は小柄等の体格を属性とした検索に関するニーズがある。   In an image search system, there is a need to search only images of objects belonging to a specific category from a large number of recorded images. For example, when the object in the image is a vehicle, there is a need to search only a vehicle in a specific category from a category such as a sedan, a wagon, or a compact car. In addition, when an object in an image is a person, there is a need for a search using an attribute such as a teenager or a twenties as an attribute, and a search using a physique such as large or small.

このニーズを実現する方式として、二つの方式が知られている。   Two methods are known as methods for realizing this need.

一つ目の方式では、画像を登録する場合に、Support Vector Machine等の識別器を用いて、画像がどのカテゴリに属するかを判定し、判定結果をタグ情報として特徴量に紐付けて画像を登録する。入力されたデータと一致するタグ情報を検索することによって、所望のカテゴリに属する画像を取得できる。しかし、この方式では、データ登録時に判定処理を実行する必要があり、複数のカメラから膨大な画像が入力される場合等には、データ登録に時間がかかりすぎるという問題がある。   In the first method, when an image is registered, a discriminator such as Support Vector Machine is used to determine which category the image belongs to, and the determination result is associated with a feature amount as tag information. sign up. By searching for tag information that matches the input data, an image belonging to a desired category can be acquired. However, in this method, it is necessary to execute determination processing at the time of data registration, and there is a problem that it takes too much time to register data when a large number of images are input from a plurality of cameras.

二つ目の方式では、データ登録時にカテゴリの判定処理を実行せず、画像の特徴量だけをデータベースに登録しておき、検索時にカテゴリの判定処理を実行する。この方式では、検索処理に時間を要するが、データ登録にカテゴリの判定処理を実行しないので、複数のカメラから膨大な画像がリアルタイムに入力されるシステムに適している。   In the second method, the category determination process is not executed at the time of data registration, but only the image feature amount is registered in the database, and the category determination process is executed at the time of retrieval. This method requires time for search processing, but does not execute category determination processing for data registration, and is therefore suitable for a system in which enormous images are input from a plurality of cameras in real time.

このような画像検索を高精度に実現する技術として、特開2013−246739号公報(特許文献1)及び特開2011−107795号公報(特許文献2)が知られている。   As a technique for realizing such an image search with high accuracy, JP 2013-246739 A (Patent Document 1) and JP 2011-107795 A (Patent Document 2) are known.

特許文献1の公報には、「クエリコンテンツの各特徴ベクトルqiに類似した、リファレンスコンテンツの特徴ベクトルの集合Dを探索する類似ベクトル探索手段と、混合パラメータλを用いて、クエリコンテンツの各特徴ベクトルqiが、各リファレンスコンテンツから生成される確率λ・p(qi|Rj)と、当該リファレンスコンテンツと無関係な背景モデルから生成される確率(1-λ)・p(qi)との確率比に基づいて、リファレンスコンテンツ毎にスコアを加算することを、当該クエリコンテンツの全ての特徴ベクトルqiについて実行し、上位のスコアを得たリファレンスコンテンツを検索結果とする投票手段とを有する。」と記載されている(要約参照)。   The gazette of Japanese Patent Application Laid-Open No. 2005-228561 uses a similar vector search means for searching for a set D of reference content feature vectors similar to each feature vector q i of query content and each feature vector of query content using a mixture parameter λ. qi is based on a probability ratio between a probability λ · p (qi | Rj) generated from each reference content and a probability (1-λ) · p (qi) generated from a background model unrelated to the reference content. And adding voting means for each reference content for all the feature vectors qi of the query content, and having a voting unit that uses the reference content with the higher score as a search result. (See summary).

特許文献2の公報には、「本発明を実現するシステムは、単一の画像から多数個の画像特徴量ベクトルを生成する手段と、生成された多数個の画像特徴量ベクトルをクラスタリング処理によって少数個の代表ベクトルに集約する手段と、集約された各代表ベクトルを検索クエリーとした類似ベクトル検索を行い、予め生成されている各画像特徴量ベクトルの最近接データを取得する手段を持つ。」と記載されている(要約参照)。   Patent Document 2 states that “a system that realizes the present invention is a means for generating a large number of image feature quantity vectors from a single image and a small number of generated image feature quantity vectors by clustering processing. A means for aggregating each representative vector, and a means for performing a similar vector search using each aggregated representative vector as a search query and obtaining closest data of each image feature vector generated in advance ”. (See summary).

特開2013−246739号公報JP 2013-246739 A 特開2011−107795号公報JP 2011-107995 A

特許文献1は検索対象と無関係な背景部分の特徴をモデル化する技術であり、特許文献2はカテゴリ毎に少数個の特徴量ベクトルを代表ベクトルとして辞書データベースに登録しておき、少ない代表ベクトルで検索することで、検索処理の高速化を図る技術である。   Patent Document 1 is a technique for modeling the features of a background portion unrelated to a search target. Patent Document 2 registers a small number of feature vectors as representative vectors for each category in a dictionary database, and uses a small number of representative vectors. This is a technique for speeding up the search process by searching.

例えば、車両の種類におけるカテゴリ「セダン」とカテゴリ「コンパクトカー」との間のようにカテゴリ間の類似性が高い場合、カテゴリ「セダン」の画像を検索したにもかかわらず、「コンパクトカー」の画像が検索結果の上位に出現するというように、検索精度が低下するという問題がある。   For example, if the similarity between categories is high, such as between the category “sedan” and the category “compact car” in the type of vehicle, the image of the category “sedan” is searched, but the “compact car” There is a problem that the search accuracy is lowered, such that an image appears at the top of the search result.

本発明は、カテゴリ間の類似性が高い場合であっても画像の検索精度の低下を抑制する画像検索装置を提供することを目的とする。   It is an object of the present invention to provide an image search apparatus that suppresses a decrease in image search accuracy even when the similarity between categories is high.

本発明の代表的な一例を示せば、検索対象の画像の特徴ベクトルが記憶される検索対象記憶部と、前記検索対象記憶部を検索するための各検索キーと前記各検索キーに対応する第一特徴ベクトルとが対応付けて記憶される辞書情報記憶部と、検索キーの入力を受け付ける検索キー入力受付部と、前記入力された検索キーに対応する第一特徴ベクトルを前記辞書情報記憶部から取得し、前記取得した第一特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの第一類似度を算出する第一検索部と、前記入力された検索キー以外の検索キーに対応する第一特徴ベクトルである第二特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの第二類似度を算出し、前記第一類似度及び前記第二類似度に基づいて、前記特徴ベクトルの画像と前記入力された検索キーとの類似度を示す総合類似度を算出する第二検索部と、前記検索対象記憶部に記憶される特徴ベクトルの画像を前記総合類似度順に並べて出力する出力部と、を備え、前記第二検索部は、前記第二類似度が高い特徴ベクトルほど、当該特徴ベクトルの総合類似度を低くするように前記総合類似度を算出することを特徴とする。   If a typical example of the present invention is shown, a search target storage unit that stores a feature vector of an image to be searched, search keys for searching the search target storage unit, and first search keys corresponding to the search keys. A dictionary information storage unit in which one feature vector is stored in association with each other, a search key input receiving unit that receives an input of a search key, and a first feature vector corresponding to the input search key from the dictionary information storage unit A first search unit that calculates the first similarity between the acquired first feature vector and the feature vector of the image stored in the search target storage unit, and a search key other than the input search key Calculate a second similarity between the second feature vector corresponding to the first feature vector and the feature vector of the image stored in the search target storage unit, and based on the first similarity and the second similarity The above A second search unit for calculating a total similarity indicating a similarity between the image of the collection vector and the input search key, and an image of feature vectors stored in the search target storage unit arranged in the order of the total similarity and output And the second search unit calculates the overall similarity so that the feature vector having the higher second similarity has a lower overall similarity of the feature vector. .

本願において開示される発明のうち代表的なものによって得られる効果を簡潔に説明すれば、下記の通りである。すなわち、カテゴリ間の類似性が高い場合であっても画像の検索精度の低下を抑制する画像検索装置を提供できる。   The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows. That is, it is possible to provide an image search apparatus that suppresses a decrease in image search accuracy even when the similarity between categories is high.

上記した以外の課題、構成、及び効果は、以下の実施形態の説明により明らかにされる。   Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

実施例1の検索システムの全体構成の説明図である。It is explanatory drawing of the whole structure of the search system of Example 1. FIG. 実施例1の画像検索装置のハードウェア構成図である。1 is a hardware configuration diagram of an image search apparatus according to Embodiment 1. FIG. 実施例1のカテゴリ検索部の機能ブロック図である。FIG. 3 is a functional block diagram of a category search unit according to the first embodiment. 実施例1の画像登録部の処理の説明図である。6 is an explanatory diagram of processing of an image registration unit of Embodiment 1. FIG. 実施例1の辞書データベース(DB)の説明図である。It is explanatory drawing of the dictionary database (DB) of Example 1. FIG. 実施例1の各カテゴリの画像から算出された特徴ベクトルの特徴空間上での分布の説明図である。It is explanatory drawing of distribution on the feature space of the feature vector calculated from the image of each category of Example 1. FIG. 実施例1の第一方法を用いて決定された第二検索ベクトルの説明図である。It is explanatory drawing of the 2nd search vector determined using the 1st method of Example 1. FIG. 実施例1の第二方法を用いて決定された第二検索ベクトルの説明図である。It is explanatory drawing of the 2nd search vector determined using the 2nd method of Example 1. FIG. 実施例1の検索結果テーブルの説明図である。It is explanatory drawing of the search result table of Example 1. FIG. 実施例1の第二検索部によって実行される第二検索処理のフローチャートである。It is a flowchart of the 2nd search process performed by the 2nd search part of Example 1. FIG. 実施例1の画像検索装置による検索処理の説明図である。It is explanatory drawing of the search process by the image search device of Example 1. 実施例1の検索結果確認画面の説明図である。It is explanatory drawing of the search result confirmation screen of Example 1. FIG. 実施例2の第二検索部による第二検索処理のフローチャートである。10 is a flowchart of a second search process by a second search unit according to the second embodiment. 実施例2の変形例の第二検索処理のフローチャートである。12 is a flowchart of a second search process according to a modification of the second embodiment. 実施例3の縮約画面の表示の説明図である。FIG. 10 is an explanatory diagram of a reduced screen display according to the third embodiment. 実施例4の検索結果確認画面の説明図である。It is explanatory drawing of the search result confirmation screen of Example 4. FIG.

本実施例では、検索キー以外の検索キーに対応する特徴ベクトルとの類似度を考慮して画像を検索する画像検索装置の例を説明する。   In the present embodiment, an example of an image search apparatus that searches for an image in consideration of the similarity with a feature vector corresponding to a search key other than the search key will be described.

図1は、実施例1の検索システムの全体構成の説明図である。   FIG. 1 is an explanatory diagram of the overall configuration of the search system according to the first embodiment.

検索システムは、端末装置101、カメラ102、及び画像検索装置200を有する。端末装置101、カメラ102、及び画像検索装置200は、それぞれネットワーク103を介して接続される。端末装置101は検索システム全体を管理する。具体的には、端末装置101は、カメラ102の設定を指示し、画像検索装置200に検索指示を送信し、画像検索装置200から検索結果を表示する。カメラ102が撮影した画像は、ネットワーク103を介して画像検索装置200に送信され、画像検索装置200は、受信した画像を記憶する。なお、カメラ102が撮影した画像はオフラインで端末装置101に入力され、端末装置101は、入力された画像をネットワーク103を介して画像検索装置200に送信してもよい。   The search system includes a terminal device 101, a camera 102, and an image search device 200. The terminal device 101, the camera 102, and the image search device 200 are connected via the network 103, respectively. The terminal device 101 manages the entire search system. Specifically, the terminal device 101 instructs setting of the camera 102, transmits a search instruction to the image search device 200, and displays a search result from the image search device 200. An image taken by the camera 102 is transmitted to the image search device 200 via the network 103, and the image search device 200 stores the received image. Note that an image captured by the camera 102 may be input to the terminal device 101 offline, and the terminal device 101 may transmit the input image to the image search device 200 via the network 103.

画像検索装置200は、端末装置101からの検索指示に基づいて、記憶された画像から、検索指示に含まれる検索キーに対応する画像を検索し、検索結果を端末装置101に送信する。本実施例では、検索対象となるオブジェクトとして車両を例に説明するが、これに限定されない。検索対象となるオブジェクトは、人物、動物、植物、及び標章等であってもよい。検索対象となるオブジェクトが車両である場合、検索指示に含まれる検索キーは、例えば、セダン又はワゴンのように車両のカテゴリ等であるが、これに限定されない。   Based on the search instruction from the terminal apparatus 101, the image search apparatus 200 searches the stored image for an image corresponding to the search key included in the search instruction, and transmits the search result to the terminal apparatus 101. In this embodiment, a vehicle is described as an example of an object to be searched, but the present invention is not limited to this. The object to be searched may be a person, an animal, a plant, a mark, or the like. When the object to be searched is a vehicle, the search key included in the search instruction is, for example, a vehicle category such as a sedan or a wagon, but is not limited thereto.

なお、カメラ102の個数は図1で示す個数に限定されず、検索システムは少なくとも一つのカメラ102を有すればよい。また、端末装置101及び画像検索装置200は一つの筐体に実装されてもよい。   The number of cameras 102 is not limited to the number shown in FIG. 1, and the search system only needs to have at least one camera 102. In addition, the terminal device 101 and the image search device 200 may be mounted on one housing.

図2は、実施例1の画像検索装置200のハードウェア構成図である。   FIG. 2 is a hardware configuration diagram of the image search apparatus 200 according to the first embodiment.

画像検索装置200は、インタフェース(I/F)210、CPU(プロセッサ)220、補助記憶装置230、ネットワークインタフェース(I/F)240、及びメモリ250を有する。   The image search apparatus 200 includes an interface (I / F) 210, a CPU (processor) 220, an auxiliary storage device 230, a network interface (I / F) 240, and a memory 250.

I/F210は、図示しないキーボード及びマウス等の入力デバイス、及び図示しないディスプレイ等の出力デバイスに接続されるインタフェースである。CPU220は、メモリ250に記憶された各種プログラムを実行し、メモリ250に記憶されたデータを読み書きする。補助記憶装置230は不揮発性の記憶領域であり、補助記憶装置230には、検索対象データベース(DB)302、及び辞書データベース(DB)304が記憶される。検索対象DB302には、画像検索装置200が受信した画像と当該画像から算出された特徴ベクトルとが登録される。なお、検索対象DB302に登録された画像の特徴ベクトルが検索キーに対する検索対象となる。特徴ベクトルは、画像から算出される少なくとも一つの特徴量全体を示す。辞書DB304には、各検索キーとなるカテゴリに対応する代表ベクトル(第一特徴ベクトル)及び第二検索ベクトル(第二特徴ベクトル)が登録される辞書DB304は図5で詳細に説明する。検索対象DB302及び辞書DB304は、テーブル形式等で情報が登録されてもよく、データベース形式に限定されない。このため、特許請求の範囲では、検索対象DB302を検索対象記憶部と記載し、辞書DB304を辞書情報記憶部と記載する。   The I / F 210 is an interface connected to an input device such as a keyboard and a mouse (not shown) and an output device such as a display (not shown). The CPU 220 executes various programs stored in the memory 250 and reads / writes data stored in the memory 250. The auxiliary storage device 230 is a non-volatile storage area, and the auxiliary storage device 230 stores a search target database (DB) 302 and a dictionary database (DB) 304. In the search target DB 302, an image received by the image search device 200 and a feature vector calculated from the image are registered. Note that the feature vector of the image registered in the search target DB 302 is a search target for the search key. The feature vector indicates at least one entire feature amount calculated from the image. The dictionary DB 304 in which a representative vector (first feature vector) and a second search vector (second feature vector) corresponding to each search key category are registered in the dictionary DB 304 will be described in detail with reference to FIG. The search target DB 302 and the dictionary DB 304 may register information in a table format or the like, and are not limited to the database format. Therefore, in the claims, the search target DB 302 is described as a search target storage unit, and the dictionary DB 304 is described as a dictionary information storage unit.

ネットワークI/F240は、画像検索装置200をネットワーク103に接続するインタフェースである。メモリ250は揮発性の記憶領域であり、メモリ250には、カテゴリ検索部300が記憶される。なお、カテゴリ検索部300は補助記憶装置230に記憶され、CPU220が、補助記憶装置230からメモリ250にカテゴリ検索部300をロードし、カテゴリ検索部300を実行する。カテゴリ検索部300がCPU220に実行されることによって、検索指示に含まれる検索キーに対応する画像を検索する検索処理が実行される。   The network I / F 240 is an interface that connects the image search apparatus 200 to the network 103. The memory 250 is a volatile storage area, and the category search unit 300 is stored in the memory 250. The category search unit 300 is stored in the auxiliary storage device 230, and the CPU 220 loads the category search unit 300 from the auxiliary storage device 230 to the memory 250 and executes the category search unit 300. When the category search unit 300 is executed by the CPU 220, a search process for searching for an image corresponding to the search key included in the search instruction is executed.

カテゴリ検索部300は、画像登録部301、検索キー選択部303、第一検索部305、第二検索部306、及び出力部307を有する。これらの詳細は図3で説明する。   The category search unit 300 includes an image registration unit 301, a search key selection unit 303, a first search unit 305, a second search unit 306, and an output unit 307. Details of these will be described with reference to FIG.

図3は、実施例1のカテゴリ検索部300の機能ブロック図である。   FIG. 3 is a functional block diagram of the category search unit 300 according to the first embodiment.

画像登録部301は、カメラ102で撮影された画像を受信し、受信した画像の少なくとも一つの特徴量を算出し、算出した特徴量の特徴ベクトルとして検索対象DB302に登録する。なお、画像登録部301の処理は、図4で詳細に説明する。   The image registration unit 301 receives an image photographed by the camera 102, calculates at least one feature amount of the received image, and registers it in the search target DB 302 as a feature vector of the calculated feature amount. The processing of the image registration unit 301 will be described in detail with reference to FIG.

検索キー選択部303は、端末装置101からの検索指示に含まれる検索キーとなるカテゴリの代表ベクトルを辞書DB304から取得する。辞書DB304には、各カテゴリの複数の画像から算出された特徴量ベクトルが代表ベクトルとして登録されている。例えば、検索キーが「セダン」である場合、検索キー選択部303は、カテゴリが「セダン」である代表ベクトルを取得する。   The search key selection unit 303 acquires from the dictionary DB 304 a category representative vector to be a search key included in the search instruction from the terminal device 101. In the dictionary DB 304, feature vectors calculated from a plurality of images of each category are registered as representative vectors. For example, when the search key is “sedan”, the search key selection unit 303 acquires a representative vector whose category is “sedan”.

第一検索部305は、検索キー選択部303が選択した代表ベクトルと検索対象DB302に登録された各特徴ベクトルとの距離値(第一距離値)を第一類似度として算出する。第一距離値が小さいほど、検索キーのカテゴリに特徴ベクトルの画像が類似することを示す。第二検索部306は、検索キーのカテゴリの第二検索ベクトルを辞書DB304から取得し、取得した第二検索ベクトルと検索対象DB302に登録された各特徴ベクトルとの第二距離値を第二類似度として算出する。第二距離値が小さいほど、第二ベクトルのカテゴリに特徴ベクトルの画像が類似することを示す。そして、第二検索部306は、第一検索部305が算出した第一類似度及び第二検索部306が算出した第二類似度に基づいて、検索対象DB302に登録された各特徴ベクトルの総合距離値(総合類似度)検索結果として出力部307に出力する。例えば、カテゴリが「セダン」である第二検索ベクトルは、他のカテゴリ(「コンパクトカー」及び「ワゴン」等)の代表ベクトルである。第二検索部306の処理は図8及び図9で詳細に説明する。なお、総合距離値は、第一距離値及び第二距離値を考慮した特徴ベクトルの画像の検索キーのカテゴリに対する類似度を示す。なお、本実施例では、第一類似度、第二類似度、及び総合類似度は距離値を用いて表現するが、他のパラメータを用いて表現してもよい。また、本実施例では、第一類似度、第二類似度、及び総合類似度に距離値を用いたので、距離値が小さいほど特徴ベクトルの画像のカテゴリに対する類似度が高いことを示すが、第一類似度、第二類似度、及び総合類似度に用いるパラメータによっては、当該パラメータの値が大きいほど特徴ベクトルの画像のカテゴリに対する類似度が高いことを示す場合もある。   The first search unit 305 calculates a distance value (first distance value) between the representative vector selected by the search key selection unit 303 and each feature vector registered in the search target DB 302 as a first similarity. A smaller first distance value indicates that the image of the feature vector is similar to the category of the search key. The second search unit 306 acquires the second search vector of the category of the search key from the dictionary DB 304, and sets the second distance value between the acquired second search vector and each feature vector registered in the search target DB 302 to the second similarity. Calculate as degrees. A smaller second distance value indicates that the image of the feature vector is similar to the category of the second vector. Then, the second search unit 306 integrates each feature vector registered in the search target DB 302 based on the first similarity calculated by the first search unit 305 and the second similarity calculated by the second search unit 306. A distance value (total similarity) search result is output to the output unit 307. For example, the second search vector whose category is “sedan” is a representative vector of another category (such as “compact car” and “wagon”). The processing of the second search unit 306 will be described in detail with reference to FIGS. The total distance value indicates the similarity of the feature vector image with respect to the search key category in consideration of the first distance value and the second distance value. In the present embodiment, the first similarity, the second similarity, and the total similarity are expressed using distance values, but may be expressed using other parameters. In the present embodiment, since the distance value is used for the first similarity, the second similarity, and the overall similarity, the smaller the distance value is, the higher the similarity with respect to the category of the image of the feature vector is. Depending on the parameters used for the first similarity, the second similarity, and the overall similarity, the larger the value of the parameter, the higher the similarity of the feature vector to the image category may be.

出力部307は、第二検索部306から入力された検索結果に基づいて、検索対象DB302に登録された各特徴ベクトルに対応する画像を総合距離値が小さい順に並び替えた検索結果確認画面データを生成し、生成した検索結果確認画面データを端末装置101に送信する。端末装置101は、検索結果確認画面データを受信した場合、検索結果確認画面1000を表示する。検索結果確認画面1000は、図10で詳細に説明する。   Based on the search result input from the second search unit 306, the output unit 307 displays search result confirmation screen data in which images corresponding to each feature vector registered in the search target DB 302 are rearranged in ascending order of the total distance value. The generated search result confirmation screen data is transmitted to the terminal device 101. When receiving the search result confirmation screen data, the terminal device 101 displays the search result confirmation screen 1000. The search result confirmation screen 1000 will be described in detail with reference to FIG.

第一検索部305は検索キーのカテゴリと類似するという観点で各特徴ベクトルの類似度を算出する。また、第二検索部306は、検索キーと異なるカテゴリと類似するという観点で各特徴ベクトルの類似度を算出する。このため、画像検索装置200は、二つの観点で各特徴ベクトルを評価でき、検索キーのカテゴリに類似するが、本来は他のカテゴリに属する特徴ベクトルに対応する画像の検索順位を低くすることができる。また、辞書DB304に登録された代表ベクトルと検索対象DB302に登録された各特徴ベクトルとの類似度を算出するので、辞書DB304に代表ベクトルを登録するための画像が大量であるほど、高精度な検索を実現できる。また、大量の画像に基づいて代表ベクトルを辞書DB304に登録しても、登録される各カテゴリの代表ベクトルの数を不変とすれば、検索処理の負荷の増大を抑制できる。   The first search unit 305 calculates the similarity of each feature vector from the viewpoint of being similar to the search key category. The second search unit 306 calculates the similarity of each feature vector from the viewpoint that it is similar to a category different from the search key. For this reason, the image search apparatus 200 can evaluate each feature vector from two viewpoints and is similar to the category of the search key, but the search order of images corresponding to feature vectors belonging to other categories can be lowered. it can. Also, since the similarity between the representative vector registered in the dictionary DB 304 and each feature vector registered in the search target DB 302 is calculated, the more images for registering the representative vector in the dictionary DB 304, the higher the accuracy. Search can be realized. Even if representative vectors are registered in the dictionary DB 304 based on a large number of images, an increase in the search processing load can be suppressed if the number of registered representative vectors in each category is unchanged.

図4は、実施例1の画像登録部301の処理の説明図である。   FIG. 4 is an explanatory diagram of processing of the image registration unit 301 according to the first embodiment.

画像登録部301は、例えばHaar特徴量及びAdaBoost識別器を用いて、カメラ102が撮影した画像から車両の領域を検出し、検出した車両の領域を抽出する。次に、画像登録部301は、抽出した車両の領域から特徴量を算出する。検索対象の性質に応じて適切な特徴量を選択し、選択した特徴量が算出されればよい。例えば、車種を検索する場合、車両の形状が重要な要素となる。この場合、画像登録部301は、HOG(Histogram Oriented of Gradients)又は輝度勾配方向の強度分布に基づく特徴量を算出すればよい。また、車体の色を検索する場合、画像登録部301は、色ヒストグラムに基づく特徴量を算出すればよい。なお、画像登録部301が両者の特徴量を算出することによって、「赤いセダン」等のより詳細なカテゴリを検索できる。画像登録部301がある画像から算出した特徴量の集合を特徴ベクトルという。また、画像登録部301は、算出した特徴量の特徴ベクトルを検索対象DB302に登録する。   The image registration unit 301 detects a vehicle region from an image captured by the camera 102 using, for example, a Haar feature amount and an AdaBoost classifier, and extracts the detected vehicle region. Next, the image registration unit 301 calculates a feature amount from the extracted vehicle region. An appropriate feature amount may be selected according to the property of the search target, and the selected feature amount may be calculated. For example, when searching for a vehicle type, the shape of the vehicle is an important factor. In this case, the image registration unit 301 may calculate a feature amount based on HOG (Histogram Oriented of Gradients) or intensity distribution in the luminance gradient direction. When searching for the color of the vehicle body, the image registration unit 301 may calculate a feature amount based on the color histogram. It should be noted that the image registration unit 301 can search for more detailed categories such as “red sedan” by calculating the feature amounts of both. A set of feature amounts calculated from an image with the image registration unit 301 is referred to as a feature vector. Further, the image registration unit 301 registers the feature vector of the calculated feature quantity in the search target DB 302.

図5は、実施例1の辞書DB304の説明図である。   FIG. 5 is an explanatory diagram of the dictionary DB 304 according to the first embodiment.

辞書DB304は、カテゴリ501、代表ベクトル502、第二検索カテゴリ503、及び第二検索ベクトル504を含む。   The dictionary DB 304 includes a category 501, a representative vector 502, a second search category 503, and a second search vector 504.

カテゴリ501には、検索キーとなり得る各カテゴリの識別情報が登録される。代表ベクトル502には、各カテゴリの画像から算出された少なくとも一つの特徴ベクトルが代表ベクトルとして登録される。   In the category 501, identification information of each category that can be a search key is registered. In the representative vector 502, at least one feature vector calculated from images of each category is registered as a representative vector.

代表ベクトルの抽出処理について説明する。図4で説明した画像登録部301の処理と同じく、あるカテゴリの少なくとも一つの画像から車両の領域が検出され、当該車両の領域が抽出される。そして、当該領域の画像の特徴量が算出される。算出された特徴量の集合を特徴ベクトルとする。K’個の画像から算出された特徴ベクトルが、k−meansクラスタリング等の手法を用いてクラスタリングされることによって、K個(K≦K’)の特徴ベクトルが代表ベクトルとして抽出される。なお、代表ベクトルを抽出するための画像が多いほど、適切な代表ベクトルが抽出でき、また、代表ベクトルの数は予め決められたK個であるので、K回の検索処理を実行すればよいので処理負荷の増大を抑制できる。   The representative vector extraction process will be described. Similar to the processing of the image registration unit 301 described with reference to FIG. 4, a vehicle region is detected from at least one image of a certain category, and the vehicle region is extracted. Then, the feature amount of the image in the region is calculated. A set of calculated feature values is defined as a feature vector. The feature vectors calculated from the K ′ images are clustered using a technique such as k-means clustering, so that K (K ≦ K ′) feature vectors are extracted as representative vectors. It should be noted that the more representative images are extracted, the more appropriate representative vectors can be extracted, and the number of representative vectors is a predetermined number K. Therefore, it is only necessary to execute K search processes. An increase in processing load can be suppressed.

第二検索カテゴリ503には、第二検索ベクトル504に代表ベクトルが登録されたカテゴリの識別情報が登録される。第二検索ベクトル504には、カテゴリ501に登録された識別情報によって識別されるカテゴリと異なるカテゴリの代表ベクトルが登録される。辞書DB304に第二検索ベクトル504となる代表ベクトルが登録されることによって、第二検索部306は、第二検索ベクトル504に登録された代表ベクトルと検索対象DB302に登録された特徴ベクトルとの類似度を算出するだけでよく、検索キーに対応するカテゴリと異なる全ての代表ベクトルと検索対象DB302に登録された特徴ベクトルとの類似度を算出しなくてもよい。このため、第二検索部306の検索回数を減少させることができ、検索時間を短縮できる。   In the second search category 503, the identification information of the category in which the representative vector is registered in the second search vector 504 is registered. In the second search vector 504, a representative vector of a category different from the category identified by the identification information registered in the category 501 is registered. By registering the representative vector to be the second search vector 504 in the dictionary DB 304, the second search unit 306 is similar to the representative vector registered in the second search vector 504 and the feature vector registered in the search target DB 302. It is only necessary to calculate the degree, and it is not necessary to calculate the degree of similarity between all the representative vectors different from the category corresponding to the search key and the feature vector registered in the search target DB 302. For this reason, the number of searches of the second search unit 306 can be reduced, and the search time can be shortened.

次に第二検索ベクトル504に登録される代表ベクトルの抽出方法について説明する。   Next, a method for extracting representative vectors registered in the second search vector 504 will be described.

第一方法では、画像検索装置200の管理者等によって第二検索部306が検索するカテゴリが選択され、選択されたカテゴリの代表ベクトルが第二検索ベクトル504に登録される。例えば、管理者等は、あるカテゴリ(例えばセダン)に類似すると考えるカテゴリ(例えばコンパクトカー)を選択し、画像検索装置200は、選択されたカテゴリの代表ベクトルを第二検索ベクトル504に登録する。また、管理者等は、過去の検索結果において、ある検索キーのカテゴリに対して誤って検索された画像を見て当該画像のカテゴリを特定し、特定したカテゴリを、第二検索ベクトル504に登録される代表ベクトルのカテゴリとして選択してもよい。   In the first method, a category to be searched by the second search unit 306 is selected by an administrator of the image search device 200 and the representative vector of the selected category is registered in the second search vector 504. For example, the administrator or the like selects a category (for example, a compact car) that is considered similar to a certain category (for example, a sedan), and the image search apparatus 200 registers the representative vector of the selected category in the second search vector 504. Further, the administrator or the like identifies the category of the image by looking at the image that is erroneously searched for the category of a certain search key in the past search results, and registers the specified category in the second search vector 504. It may be selected as a category of representative vectors to be displayed.

第一方法では、事前設定に手間がかかるが、実際の検索結果及び管理者等の主観的な判断を反映した検索が可能となる。   In the first method, it takes time to make a presetting, but it is possible to perform a search that reflects the actual search results and the subjective judgment of the administrator or the like.

第二方法では、画像検索装置200が、各カテゴリの代表ベクトル間の距離値を算出し、算出した距離値と予め設定された閾値とに基づいて、あるカテゴリの第二検索ベクトル504に登録される代表ベクトルを自動的に決定する。あるカテゴリの代表ベクトルと他のカテゴリの代表ベクトルとの距離値が事前に算出され、他のカテゴリの代表ベクトルのうち、あるカテゴリの代表ベクトルから距離値が予め設定された閾値以下の代表ベクトルが第二検索ベクトル504に登録される。   In the second method, the image search apparatus 200 calculates a distance value between representative vectors of each category, and is registered in the second search vector 504 of a certain category based on the calculated distance value and a preset threshold value. The representative vector is automatically determined. A distance value between a representative vector of a category and a representative vector of another category is calculated in advance. Among representative vectors of other categories, a representative vector whose distance value is less than or equal to a preset threshold value from a representative vector of a certain category It is registered in the second search vector 504.

第二方法では、代表ベクトルの算出に用いた画像に依存して第二検索ベクトルが決定されるが、自動的に第二検索ベクトルを登録できる。また、第二方法では、あるカテゴリの代表ベクトルと距離値が閾値以下の代表ベクトルが第二検索ベクトルとして登録されるので、選択されたカテゴリの全ての代表ベクトルが第二検索ベクトルとして登録される第一方法より、第二検索ベクトルとして登録される代表ベクトルの数が少なくなる。これによって、第二検索部306の検索回数を減少させることができ、検索時間を短縮できる。   In the second method, the second search vector is determined depending on the image used to calculate the representative vector, but the second search vector can be automatically registered. In the second method, a representative vector of a certain category and a representative vector whose distance value is equal to or less than the threshold value are registered as the second search vector, so that all the representative vectors of the selected category are registered as the second search vector. From the first method, the number of representative vectors registered as the second search vector is reduced. Thereby, the number of searches of the second search unit 306 can be reduced, and the search time can be shortened.

図6A〜図6Cを用いて代表ベクトル及び第二検索ベクトルについて説明する。図6Aは、実施例1の各カテゴリの画像から算出された特徴ベクトルの特徴空間上での分布の説明図である。   The representative vector and the second search vector will be described with reference to FIGS. 6A to 6C. FIG. 6A is an explanatory diagram of the distribution on the feature space of the feature vectors calculated from the images of each category according to the first embodiment.

図6Aでは、丸、三角、及び四角が各カテゴリを示し、黒く塗りつぶされた点が代表ベクトルを示す。代表ベクトルが抽出されることによって、少ない特徴ベクトルで各カテゴリに属する範囲を決定できる。   In FIG. 6A, a circle, a triangle, and a square indicate each category, and a blacked-out point indicates a representative vector. By extracting representative vectors, ranges belonging to each category can be determined with a small number of feature vectors.

図6Bは、実施例1の第一方法を用いて決定された第二検索ベクトルの説明図である。   FIG. 6B is an explanatory diagram of a second search vector determined using the first method of the first embodiment.

第一方法では、例えば、管理者等は、カテゴリ「丸」とカテゴリ「四角」とが類似する可能性が高いと判断し、カテゴリ「丸」の第二検索ベクトルに登録される代表ベクトルのカテゴリとしてカテゴリ「四角」を選択する。   In the first method, for example, the administrator determines that there is a high possibility that the category “circle” and the category “square” are similar, and the category of the representative vector registered in the second search vector of the category “circle”. Select the category “Square”.

図6Cは、実施例1の第二方法を用いて決定された第二検索ベクトルの説明図である。   FIG. 6C is an explanatory diagram of a second search vector determined using the second method of the first embodiment.

カテゴリ「丸」の代表ベクトル601とカテゴリ「四角」の代表ベクトル611との距離値が閾値以下であり、カテゴリ「丸」の代表ベクトル602とカテゴリ「四角」の代表ベクトル612との距離値が閾値以下であるとする。このため、カテゴリ「丸」の第二検索ベクトルとしてカテゴリ「四角」の代表ベクトル611及び612が登録される。   The distance value between the representative vector 601 of the category “circle” and the representative vector 611 of the category “square” is equal to or smaller than the threshold value, and the distance value between the representative vector 602 of the category “circle” and the representative vector 612 of the category “square” is the threshold value. Assume that: Therefore, the representative vectors 611 and 612 of the category “square” are registered as the second search vector of the category “circle”.

なお、図5に示すカテゴリ「セダン」は、第一方法を用いて複数のカテゴリ(「コンパクトカー」及び「軽自動車」)が、第二検索ベクトルに登録される代表ベクトルのカテゴリとして選択された例を示す。また、図5に示すカテゴリ「ワゴン」は、第一方法を用いて一つのカテゴリ(「バス」)が第二検索ベクトルに登録される代表ベクトルのカテゴリとして選択された例を示す。また、図5に示すカテゴリ「コンパクトカー」は、第二方法を用いて、カテゴリ「セダン」の代表ベクトル(V00,V02)及びカテゴリ「軽自動車」の代表ベクトル(V31)が第二検索ベクトルに登録された例を示す。 As for the category “sedan” shown in FIG. 5, a plurality of categories (“compact car” and “light car”) are selected as the representative vector categories registered in the second search vector using the first method. An example is shown. The category “wagon” shown in FIG. 5 shows an example in which one category (“bus”) is selected as the category of the representative vector registered in the second search vector using the first method. Further, the category “compact car” shown in FIG. 5 uses the second method, and the representative vector (V 00 , V 02 ) of the category “sedan” and the representative vector (V 31 ) of the category “light car” are the second. The example registered into the search vector is shown.

図7は、実施例1の検索結果テーブル700の説明図である。   FIG. 7 is an explanatory diagram of the search result table 700 according to the first embodiment.

検索結果テーブル700は、第一検索部305の検索結果が登録されるテーブルである。第一検索部305は、辞書DB304のカテゴリ501に検索キーのカテゴリの識別情報が登録されたレコードの代表ベクトル502に登録された各代表ベクトル(Vck)と、検索対象DB302に登録された各特徴ベクトル(V)との第一距離値(d)を(式1)を用いて算出する。そして、検索対象DB302に登録された特徴量ベクトルを第一距離値の小さい順に並べた検索結果テーブルを生成する。 The search result table 700 is a table in which search results of the first search unit 305 are registered. The first search unit 305 includes each representative vector (V ck ) registered in the representative vector 502 of the record in which the identification information of the search key category is registered in the category 501 of the dictionary DB 304, and each registered in the search target DB 302. The first distance value (d) with the feature vector (V n ) is calculated using (Equation 1). Then, a search result table is generated in which the feature amount vectors registered in the search target DB 302 are arranged in ascending order of the first distance value.

Figure 2016103084
Figure 2016103084

検索結果テーブル700は、順位701、管理ID702、特徴ベクトル703、及び距離値704を含む。   The search result table 700 includes a ranking 701, a management ID 702, a feature vector 703, and a distance value 704.

順位701には、第一距離値順に並べた各特徴ベクトルの順位が登録される。管理ID702には、各特徴ベクトルに対応する画像の識別情報が登録される。特徴ベクトル703には、各特徴ベクトルの識別情報が登録される。距離値704には、各特徴ベクトルと各代表ベクトルとの第一距離値のうち最小の第一距離値が登録される。第一距離値は小さいほど、特徴ベクトルに対応する画像が代表ベクトルのカテゴリに類似することを示す。   In the rank 701, the rank of each feature vector arranged in the order of the first distance value is registered. In the management ID 702, image identification information corresponding to each feature vector is registered. In the feature vector 703, identification information of each feature vector is registered. In the distance value 704, the minimum first distance value among the first distance values between each feature vector and each representative vector is registered. A smaller first distance value indicates that the image corresponding to the feature vector is similar to the category of the representative vector.

図8は、実施例1の第二検索部306によって実行される第二検索処理のフローチャートである。   FIG. 8 is a flowchart of the second search process executed by the second search unit 306 according to the first embodiment.

第二検索部306は、辞書DB304のカテゴリ501に検索キーのカテゴリの識別情報が登録されたレコードの第二検索ベクトル504に登録されたJ個の代表ベクトルを取得する(801)。なお、ステップ801の処理で取得された第二検索ベクトル504に登録された代表ベクトルは第二検索ベクトルと記載する。   The second search unit 306 acquires J representative vectors registered in the second search vector 504 of the record in which the identification information of the category of the search key is registered in the category 501 of the dictionary DB 304 (801). Note that the representative vector registered in the second search vector 504 acquired in the process of step 801 is referred to as a second search vector.

第二検索部306は、ステップ801の処理で取得したJ個の第二検索ベクトルに対して、ステップ803及び804の処理を実行する。すなわち、第二検索部306はステップ803及び804の処理をJ回実行する。まず、第二検索部306は、処理対象の第二検索ベクトルjを選択する(802)。   The second search unit 306 executes the processes in steps 803 and 804 for the J second search vectors acquired in the process in step 801. That is, the second search unit 306 executes the processes of steps 803 and 804 J times. First, the second search unit 306 selects a second search vector j to be processed (802).

そして、第二検索部306は、検索対象DB302に登録された各特徴ベクトルをステップ802の処理で選択された処理対象の第二検索ベクトルjで検索し、処理対象の第二検索ベクトルjと各特徴ベクトルとの第二距離値を計算する(803)。ステップ803の処理における第二距離値の計算には、例えば式1を用いることができる。第二検索部306は、処理対象の第二検索ベクトルjと各特徴ベクトルとの第二距離値を検索結果として取得する(804)。   Then, the second search unit 306 searches each feature vector registered in the search target DB 302 with the second search vector j of the processing target selected in the processing of Step 802, and the second search vector j of the processing target and each A second distance value from the feature vector is calculated (803). For example, Formula 1 can be used for the calculation of the second distance value in the processing of Step 803. The second search unit 306 acquires a second distance value between the second search vector j to be processed and each feature vector as a search result (804).

次に、第二検索部306は、J個の第二検索ベクトルに対してステップ803及び804の処理が実行されていなければ、次の第二検索ベクトルを処理対象の第二検索ベクトルとして選択し、ステップ803及び804の処理を実行する(805)。   Next, if the processes in steps 803 and 804 are not executed for the J second search vectors, the second search unit 306 selects the next second search vector as the second search vector to be processed. , Steps 803 and 804 are executed (805).

一方、J個の第二検索ベクトルに対してステップ804及び804の処理が実行された場合、第二検索部306は、第一検索部305が算出した検索対象DB302に登録された各特徴ベクトルと代表ベクトルとの第一距離値、及び第二検索部306が算出した各特徴ベクトルと第二検索ベクトルとの第二距離値に基づいて、各特徴ベクトルの総合距離値を算出する(806)。総合距離値は、第二距離値が小さいほど総合距離値が大きくなるように算出される。言い換えれば、第二距離値によってペナルティが課されるように総合距離値が算出される。例えば、第二検索部306は、式2を用いて各特徴ベクトルの総合距離値を算出する。   On the other hand, when the processes of steps 804 and 804 are performed on the J second search vectors, the second search unit 306 includes the feature vectors registered in the search target DB 302 calculated by the first search unit 305 and Based on the first distance value with the representative vector and the second distance value between each feature vector and the second search vector calculated by the second search unit 306, the total distance value of each feature vector is calculated (806). The total distance value is calculated so that the total distance value increases as the second distance value decreases. In other words, the total distance value is calculated so that a penalty is imposed by the second distance value. For example, the second search unit 306 calculates the total distance value of each feature vector using Expression 2.

Figure 2016103084
Figure 2016103084

式2を用いて算出される総合距離値は、検索キーのカテゴリcと検索対象DB302に登録された特徴ベクトルnとの類似度を示す。式2では、総合距離値は、第一距離値の最小値に、第二距離値の逆数の最大値を重み付けして加算することによって算出される。   The total distance value calculated using Expression 2 indicates the similarity between the search key category c and the feature vector n registered in the search target DB 302. In Equation 2, the total distance value is calculated by weighting and adding the maximum value of the reciprocal of the second distance value to the minimum value of the first distance value.

これによって、画像検索装置200は、検索キーのカテゴリと類似し、かつ検索キーのカテゴリ以外のカテゴリと類似しない画像を優先して提示できる。   Thus, the image search apparatus 200 can preferentially present an image that is similar to the category of the search key and not similar to any category other than the category of the search key.

次に、第二検索部306は、検索対象DB302に登録された各特徴ベクトルをステップ806の処理で算出した総合距離値の小さい順に並び替え、総合距離値順に並び替えた各特徴ベクトルの画像を検索結果として出力部307に入力し(807)、第二検索処理を終了する。   Next, the second search unit 306 rearranges the feature vectors registered in the search target DB 302 in ascending order of the total distance value calculated in the processing of Step 806, and displays the images of the feature vectors rearranged in the order of the total distance value. The search result is input to the output unit 307 (807), and the second search process is terminated.

出力部307は、入力された検索結果に基づいて、検索対象DB302に登録された各特徴ベクトルの画像を並び替えた検索結果確認画面データを端末装置101に送信し、端末装置101は、受信した検索結果確認画面データに基づいて検索結果確認画面1000を表示する。   The output unit 307 transmits search result confirmation screen data in which the images of the feature vectors registered in the search target DB 302 are rearranged to the terminal device 101 based on the input search result. A search result confirmation screen 1000 is displayed based on the search result confirmation screen data.

図9は、実施例1の画像検索装置200による検索処理の説明図である。   FIG. 9 is an explanatory diagram of search processing performed by the image search apparatus 200 according to the first embodiment.

図9では、検索対象DB302からカテゴリ「四角」に類似する特徴ベクトルに対応する画像を検索する例について説明する。実線で示された各図形は、各カテゴリの画像から算出された特徴ベクトルであり、図6A〜図6Cと同じであるので説明を省略する。なお、黒く塗られた図形は、各カテゴリの代表ベクトルである。破線の図形901〜904は、検索対象DB302に登録された特徴ベクトルである。なお、図形901及び902に対応する画像は、カテゴリ「四角」を撮影した画像であり、図形903及び904に対応する画像は、カテゴリ「丸」を撮影した画像である。   FIG. 9 illustrates an example of searching for an image corresponding to a feature vector similar to the category “square” from the search target DB 302. Each figure indicated by a solid line is a feature vector calculated from an image of each category, and is the same as that shown in FIGS. The figure painted in black is a representative vector of each category. Broken line graphics 901 to 904 are feature vectors registered in the search target DB 302. The images corresponding to the figures 901 and 902 are images obtained by shooting the category “square”, and the images corresponding to the figures 903 and 904 are images obtained by shooting the category “circle”.

図9に示す(A)では、第一検索部305によって算出された第一距離値に基づいて図形901〜904に付けられた順位を示す。この場合、図形903の特徴ベクトルがカテゴリ「四角」の代表ベクトルとの第一距離値が最小となるので、図形903が1位となる。また、図902が2位となり、図形901が3位となり、図形904が4位となる。   FIG. 9A shows the ranks assigned to the graphics 901 to 904 based on the first distance value calculated by the first search unit 305. In this case, since the first distance value between the feature vector of the figure 903 and the representative vector of the category “square” is the smallest, the figure 903 is ranked first. Also, FIG. 902 is second, figure 901 is third, and figure 904 is fourth.

この場合、図形903はカテゴリ「丸」を撮影した画像であり、カテゴリ「四角」を検索したのにもかかわらず、図形903が1位となる検索結果は適切ではない。   In this case, the figure 903 is an image obtained by shooting the category “circle”, and the search result in which the figure 903 is ranked first is not appropriate even though the category “square” is searched.

図9に示す(B)では、第二検索部306によって算出された総合距離値に基づいて図形901〜904に付けられた順位を示す。カテゴリ「四角」の第二検索ベクトルとして、カテゴリ「丸」の代表ベクトル及びカテゴリ「三角」の代表ベクトルが対応付けられるものとする。   (B) shown in FIG. 9 shows the ranks assigned to the figures 901 to 904 based on the total distance value calculated by the second search unit 306. Assume that the representative vector of category “circle” and the representative vector of category “triangle” are associated as the second search vector of category “square”.

カテゴリ「丸」が撮影された図形903の特徴ベクトルと、カテゴリ「四角」の第二検索ベクトルであるカテゴリ「丸」の代表ベクトルとの第二距離値が小さくなるので、図形903の総合距離値は、第一距離値より大きくなり、図形903は3位となる。また、第一距離値が図形901より小さい図形902の特徴ベクトルとカテゴリ「四角」の第二検索ベクトルであるカテゴリ「三角」の代表ベクトルとの距離値は、図形901の特徴ベクトルとカテゴリ「四角」の第二検索ベクトルであるカテゴリ「三角」の代表ベクトルとの距離値より小さいため、図形901が1位となり、図形902が2位となる。   Since the second distance value between the feature vector of the figure 903 in which the category “circle” is photographed and the representative vector of the category “circle” that is the second search vector of the category “square” is small, the total distance value of the figure 903 is reduced. Becomes larger than the first distance value, and the figure 903 is third. Further, the distance value between the feature vector of the figure 902 whose first distance value is smaller than the figure 901 and the representative vector of the category “triangle” that is the second search vector of the category “square” is the feature vector of the figure 901 and the category “square”. ”Is smaller than the distance value from the representative vector of the category“ triangle ”, which is the second search vector of“ ”, the graphic 901 is ranked first and the graphic 902 is ranked second.

これによって、検索対象のカテゴリ「四角」を撮影した画像である図形901及び902が検索結果の上位となり、検索対象でないカテゴリ「丸」を撮影した画像である図形903及び904が検索結果の下位となる。すなわち、検索キーのカテゴリと類似し、検索キーと異なるカテゴリに類似しない画像を検索結果の上位にすることができる。   As a result, the figures 901 and 902 that are images obtained by capturing the category “square” to be searched are higher in the search result, and the figures 903 and 904 that are images obtained by capturing the category “circle” that is not the search target are the lower results. Become. That is, an image that is similar to the category of the search key and not similar to the category different from the search key can be ranked higher in the search result.

図10は、実施例1の検索結果確認画面1000の説明図である。   FIG. 10 is an explanatory diagram of a search result confirmation screen 1000 according to the first embodiment.

検索結果確認画面1000は、検索キー選択領域1010、条件選択領域1020、検索結果表示領域1030、他カテゴリ除去チェックボックス1040、PREVボタン1050、及びNEXTボタン1060を含む。   The search result confirmation screen 1000 includes a search key selection area 1010, a condition selection area 1020, a search result display area 1030, an other category removal check box 1040, a PREV button 1050, and a NEXT button 1060.

検索キー選択領域1010は、端末装置101のユーザからの検索キーの選択の入力を受け付ける領域であり、検索キー選択入力受付部である。検索キー選択領域1010は、車種1011及び色1012を含む。車種1011には車両の種類(セダン、及びワゴン等)が表示され、表示された種類の中から検索キーとなる車両の種類が選択される。なお、色1012は、検索キーとなる車両の色の選択の入力を受け付ける。   The search key selection area 1010 is an area for receiving a search key selection input from the user of the terminal device 101, and is a search key selection input receiving unit. The search key selection area 1010 includes a vehicle type 1011 and a color 1012. The vehicle type 1011 displays the type of vehicle (sedan, wagon, etc.), and the type of vehicle serving as a search key is selected from the displayed types. Note that the color 1012 accepts an input of selection of the color of the vehicle serving as a search key.

条件選択領域1020は、期間1021及び検索ボタン1022を含む。期間1021には、検索対象DB302に登録された特徴ベクトルに対応する画像のうち検索対象となる画像の期間の選択の入力を受け付ける。検索ボタン1022が操作された場合、端末装置101は、検索キー選択領域1010で選択された検索キー及び期間1021で選択された期間を含む検索指示を画像検索装置200に送信する。   The condition selection area 1020 includes a period 1021 and a search button 1022. In a period 1021, an input for selecting a period of an image to be searched among images corresponding to the feature vector registered in the search target DB 302 is received. When the search button 1022 is operated, the terminal apparatus 101 transmits a search instruction including the search key selected in the search key selection area 1010 and the period selected in the period 1021 to the image search apparatus 200.

検索結果表示領域1030には、他カテゴリ除去チェックボックス1040がチェックされている場合、検索結果となる画像が総合距離値順に並べられて一覧表示される。また、検索結果表示領域1030には、他カテゴリ除去チェックボックス1040がチェックされていない場合、検索結果となる画像が第一距離値順に並べられて一覧表示される。なお、検索結果表示領域1030には、各画像の下方には、他カテゴリ除去チェックボックス1040がチェックされている場合には総合距離値が表示され、他カテゴリ除去チェックボックス1040がチェックされていない場合には第一距離値が表示される。   In the search result display area 1030, when the other category removal check box 1040 is checked, images as search results are displayed in a list in order of the total distance value. In addition, in the search result display area 1030, when the other category removal check box 1040 is not checked, images as search results are displayed in a list in the order of the first distance value. In the search result display area 1030, the total distance value is displayed below each image when the other category removal check box 1040 is checked, and the other category removal check box 1040 is not checked. The first distance value is displayed in.

これによって、端末装置101のユーザは、検索キーとなるカテゴリに類似する画像から順に確認できる。また,他カテゴリ除去チェックボックス1040がチェックされたか否かによって検索結果表示領域1030に表示される画像が並べられる距離値を変更できるので、ユーザが検索を所望する検索結果を表示できる。   Thereby, the user of the terminal device 101 can confirm in order from images similar to the category serving as the search key. Further, since the distance value at which the images displayed in the search result display area 1030 are arranged can be changed depending on whether or not the other category removal check box 1040 is checked, the search result that the user desires to search can be displayed.

PREVボタン1050が操作された場合、検索結果表示領域1030には前の検索結果が表示される。NEXTボタン1060が操作された場合、検索結果表示領域1030には次の検索結果が表示される。   When the PREV button 1050 is operated, the previous search result is displayed in the search result display area 1030. When the NEXT button 1060 is operated, the next search result is displayed in the search result display area 1030.

以上によって、第二検索部306は、第二類似度が高い特徴ベクトルほど、当該特徴ベクトルの総合類似度を低くするように総合類似度を算出する。これによって、検索キーのカテゴリに類似し、かつ検索キー以外のカテゴリにも類似する画像が検索結果の上位となることを防止でき、カテゴリ間の類似性が高い場合であっても画像の検索精度の低下を抑制できる。   As described above, the second search unit 306 calculates the total similarity so that the feature vector having the higher second similarity has a lower total similarity of the feature vector. This prevents images that are similar to the search key category and similar to categories other than the search key from being ranked higher in the search results, and even if the similarity between categories is high, the image search accuracy Can be suppressed.

また、あるカテゴリの代表ベクトルと当該カテゴリの第二検索ベクトルとが辞書DB304で予め対応付けられている。これによって、検索キーのカテゴリと異なる全てのカテゴリの代表ベクトルを第二検索ベクトルとして用いて、第二検索ベクトルと特徴ベクトルとの第二類似度を算出しなくてもよいので、検索処理時間を短縮できる。   In addition, a representative vector of a certain category and a second search vector of the category are associated in advance in the dictionary DB 304. As a result, it is not necessary to calculate the second similarity between the second search vector and the feature vector by using the representative vectors of all categories different from the category of the search key as the second search vector. Can be shortened.

また、辞書DB304に登録されたあるカテゴリの代表ベクトルと他のカテゴリの代表ベクトルの距離値を類似度として算出し、当該類似度が閾値以下である当該他のカテゴリの代表ベクトルを当該あるカテゴリの第二検索ベクトルとする。これによって、第二検索ベクトルを自動で設定でき、管理者等の手間を省略できる。   In addition, the distance value between the representative vector of a certain category registered in the dictionary DB 304 and the representative vector of another category is calculated as the similarity, and the representative vector of the other category whose similarity is equal to or less than the threshold value is calculated for the certain category. Let it be the second search vector. As a result, the second search vector can be automatically set, and the labor of the administrator or the like can be omitted.

また、ある検索キーの第二特徴ベクトルとして他の検索キーの選択の入力を受け付け、入力を受け付けた他の検索キーの代表ベクトルを当該ある検索キーの第二検索ベクトルとする。これによって、管理者等の判断結果をカテゴリの第二検索ベクトルに反映できる。   Further, an input for selecting another search key is accepted as the second feature vector of a certain search key, and the representative vector of the other search key that has received the input is set as the second search vector of the certain search key. As a result, the determination result of the administrator or the like can be reflected in the second search vector of the category.

本実施例では、第二検索処理を実行する特徴ベクトルを選択して、選択された特徴ベクトルのみに第二検索処理を実行する例について説明する。これによって、検索処理時間を短縮できる。   In the present embodiment, an example will be described in which a feature vector for executing the second search process is selected and the second search process is executed only for the selected feature vector. Thereby, the search processing time can be shortened.

図11は、実施例2の第二検索部306による第二検索処理のフローチャートである。図11では、図8に示す処理と同じ処理は同じ符号を付与し、説明を省略する。   FIG. 11 is a flowchart of the second search process performed by the second search unit 306 according to the second embodiment. In FIG. 11, the same processes as those shown in FIG.

第二検索部306は、第二検索処理を実行する特徴ベクトルを選択し(1101)、選択した特徴ベクトルに対して、ステップ801〜807の処理を実行する。   The second search unit 306 selects a feature vector for executing the second search process (1101), and executes the processes of steps 801 to 807 for the selected feature vector.

ステップ1101の処理での特徴ベクトルの選択方法には、第一方法及び第二方法がある。   There are a first method and a second method for selecting feature vectors in the processing of step 1101.

まず、第一方法について説明する。   First, the first method will be described.

第一方法では、第二検索部306は、第一距離値が最小の特徴ベクトルから第一距離値が小さい順に予め設定された数(N個)の特徴ベクトルを、第二検索処理を実行する特徴ベクトルとして選択する。そして、第二検索部306は、選択したN個の特徴ベクトルに対して第二検索処理を実行する。   In the first method, the second search unit 306 executes a second search process on a predetermined number (N) of feature vectors in ascending order of the first distance value from the feature vector having the smallest first distance value. Select as feature vector. Then, the second search unit 306 performs a second search process on the selected N feature vectors.

本実施例では、高速検索を実現するために検索対象DB302には複数のクラスタがあり、画像登録部301は、算出した画像の特徴ベクトルに基づいて、特徴ベクトルが算出された画像を対応するクラスタに登録する。このため、一つのクラスタには、類似する特徴ベクトルの画像が登録されることになる。   In this embodiment, there are a plurality of clusters in the search target DB 302 in order to realize high-speed search, and the image registration unit 301 corresponds to the cluster corresponding to the image whose feature vector is calculated based on the calculated feature vector of the image. Register with. For this reason, images of similar feature vectors are registered in one cluster.

テキスト又は撮影された位置情報等に基づいて画像がクラスタに登録されず、特徴ベクトルに基づいてクラスタに登録される。このため、第二検索部306によって選択されたN個の特徴ベクトルの画像が登録されるクラスタの数は小さくなる。これによって、第二検索部306によって選択されたN個のクラスタ全てが異なるクラスタに登録されることを防止し、検索速度が低下することを防止できる。したがって、第一の方法では、画像のクラスタへの登録及び検索も特徴ベクトルに基づいて実施されるので、第二検索部306によって選択されたN個の特徴ベクトルの画像が登録されるクラスタの数を小さくでき、検索速度が低下することを防止できる。   An image is not registered in a cluster based on text or captured position information, but is registered in a cluster based on a feature vector. For this reason, the number of clusters in which the images of the N feature vectors selected by the second search unit 306 are registered is reduced. As a result, it is possible to prevent all N clusters selected by the second search unit 306 from being registered in different clusters and to prevent the search speed from being lowered. Therefore, in the first method, registration and search of images to clusters are also performed based on feature vectors, so the number of clusters in which images of N feature vectors selected by the second search unit 306 are registered. The search speed can be prevented from being lowered.

次に、第二方法について説明する。   Next, the second method will be described.

第二方法では、第二検索部306は、第一距離値が閾値以下である特徴ベクトルを、第二検索処理を実行する第二ベクトルとして選択する。例えば、検索キーが「セダン」で、検索対象DB302に登録された画像の8割が「セダン」の画像であり、2割が「セダン」以外の画像である場合、第一方法によれば、上位5割の画像の特徴ベクトルが第二検索処理を実行する特徴ベクトルとして選択される。したがって、検索対象DB302に登録された全ての「セダン」の画像の特徴ベクトルに対して第二検索処理が実行されない。また、第一方法によれば、検索キーのカテゴリ以外の他のカテゴリの画像の特徴ベクトルに対して第二検索処理が実行され、無駄な処理が実行される可能性もある。   In the second method, the second search unit 306 selects a feature vector whose first distance value is equal to or smaller than a threshold value as a second vector for executing the second search process. For example, when the search key is “sedan”, 80% of the images registered in the search target DB 302 are “sedans”, and 20% are images other than “sedans”, according to the first method, The feature vectors of the top 50% images are selected as the feature vectors for executing the second search process. Therefore, the second search process is not executed for the feature vectors of all “sedans” images registered in the search target DB 302. In addition, according to the first method, there is a possibility that the second search process is performed on the feature vector of the image in a category other than the category of the search key, and a useless process is performed.

これに対して、第二方法では、第二検索処理を実行する特徴ベクトルの数が変化するため、検索時間も変化するというデメリットがあるが、検索対象DB302に登録された画像のカテゴリの偏りによらず、高精度な検索を実現できる。   On the other hand, the second method has a demerit that the search time also changes because the number of feature vectors for executing the second search process changes. However, the second method has a bias in the category of images registered in the search target DB 302. Regardless, high-precision search can be realized.

第二方法の閾値の設定方法の例について説明する。画像検索装置200は、辞書DB304を構築する場合に、辞書DB304の各カテゴリの全ての代表ベクトル間の距離値の最大値を算出し、各カテゴリの最大値を各カテゴリの閾値に設定する。これによって、各カテゴリに適切な閾値を自動で設定することができ、高精度かつ高速に第二検索処理を実行できる。   An example of the threshold value setting method of the second method will be described. When constructing the dictionary DB 304, the image search device 200 calculates the maximum value of the distance values between all the representative vectors of each category of the dictionary DB 304, and sets the maximum value of each category as the threshold value of each category. Thus, an appropriate threshold value can be automatically set for each category, and the second search process can be executed with high accuracy and high speed.

次に、実施例2の変形例について説明する。図12は、実施例2の変形例の第二検索処理のフローチャートである。図12では、図8及び図11に示す処理と同じ処理は同じ符号を付与し、説明を省略する。   Next, a modification of the second embodiment will be described. FIG. 12 is a flowchart of a second search process according to a modification of the second embodiment. In FIG. 12, the same processes as those shown in FIG. 8 and FIG.

実施例2では、J個の第二検索ベクトルから処理対象の第二検索ベクトルを選択し、選択した第二検索ベクトルをクエリにして、ステップ1101の処理で選択された第二検索処理を実行するN個の特徴ベクトルを検索するものである。本変形例では、ステップ1101の処理で選択された第二検索処理を実行するN個の特徴ベクトルから処理対象の特徴ベクトルを選択し、選択した特徴ベクトルをクエリにして、J個の第二検索ベクトルを検索する。   In the second embodiment, the second search vector to be processed is selected from the J second search vectors, the selected second search vector is used as a query, and the second search process selected in step 1101 is executed. N feature vectors are searched. In the present modification, a feature vector to be processed is selected from the N feature vectors for executing the second search processing selected in the processing of step 1101, and the selected second feature search is performed using the selected feature vector as a query. Search for a vector.

ステップ801の処理の実行後、第二検索部306は、ステップ1101の処理で選択されたN個の特徴ベクトルに対して、ステップ1202及び1203の処理を実行する。すなわち、第二検索部306はステップ1202及び1203の処理をN回実行する。まず、第二検索部306は、処理対象の特徴ベクトルVを選択する(1201)。 After executing the processing in step 801, the second search unit 306 performs the processing in steps 1202 and 1203 on the N feature vectors selected in the processing in step 1101. That is, the second search unit 306 executes the processing of steps 1202 and 1203 N times. First, the second searching unit 306 selects a feature vector V n of the processing target (1201).

そして、第二検索部306は、ステップ801の処理で取得したJ個の第二検索ベクトルをステップ1201の処理で選択された処理対象の特徴ベクトルVで検索し、処理対象の特徴ベクトルVと各第二検索ベクトルとの距離値を計算する(1202)。なお、ステップ1202の処理における距離値の計算には、例えば式1を用いることができる。第二検索部306は、処理対象の特徴ベクトルVと第二検索ベクトルとの距離値を検索結果として取得する(1203)。 Then, the second searching unit 306 searches the J-number of the second search vector acquired in the process of step 801 in the feature vector V n of the selected processing target in the process of step 1201, the processed feature vectors V n And a distance value between each of the second search vectors (1202). For example, Formula 1 can be used for the calculation of the distance value in the processing of Step 1202. The second searching unit 306 obtains a distance value between the feature vector V n and the second search vector of the processing target as the search result (1203).

次に、第二検索部306は、ステップ1101の処理で選択されたN個の特徴ベクトルに対して、ステップ1202及び1203の処理を実行されていなければ、次の特徴ベクトルを処理対象の特徴ベクトルとして選択し、ステップ1202及び1203の処理を実行する(1204)。   Next, if the processing of steps 1202 and 1203 is not executed for the N feature vectors selected in the processing of step 1101, the second search unit 306 uses the next feature vector as the processing target feature vector. And execute the processing of steps 1202 and 1203 (1204).

一方、ステップ1101の処理で選択されたN個の特徴ベクトルに対して、ステップ1202及び1203の処理を実行された場合、ステップ806の処理に進む。   On the other hand, when the processes of steps 1202 and 1203 are executed for the N feature vectors selected in the process of step 1101, the process proceeds to step 806.

検索される第二検索ベクトルの数は変化しないため、本変形例では、特徴ベクトルをクエリとして第二検索ベクトルを検索する。これによって、第二検索ベクトルを最適なデータアクセスが可能となるように、辞書DB304を事前に設定でき、検索処理を高速化できる。一方、図11に示す実施例2の第二検索処理では、第二検索ベクトルをクエリとして特徴ベクトルを検索する。ステップ1101の処理で選択される特徴ベクトルの数は検索対象DB302次第で変化するので、本変形例のような事前の設定はできない。   Since the number of second search vectors to be searched does not change, in this modification, the second search vector is searched using the feature vector as a query. Thus, the dictionary DB 304 can be set in advance so that the second search vector can be optimally accessed, and the search process can be speeded up. On the other hand, in the second search process of the second embodiment shown in FIG. 11, the feature vector is searched using the second search vector as a query. Since the number of feature vectors selected in the processing of step 1101 varies depending on the search target DB 302, it cannot be set in advance as in this modification.

したがって、ステップ1101の処理で選択されたN個の特徴ベクトルをクエリとしてJ個の第二検索ベクトルを検索する処理をN×J回を実行したほうが、J個の第二検索ベクトルをクエリとしてステップ1101の処理で選択されたN個の特徴ベクトルを検索する処理をJ×N回実行するよりも、検索処理を高速化できる。   Therefore, the process of searching for the J second search vectors using the N feature vectors selected in the process of step 1101 as a query is executed N × J times, and the J second search vectors are used as a query. The search process can be performed faster than the process of searching for N feature vectors selected in the process 1101 is performed J × N times.

以上によって、第一距離値に基づいて第二検索処理が実行される特徴ベクトルが選択され、選択された特徴ベクトルに対してのみ第二検索処理が実行される。これによって、検索処理時間を短縮できる。第二検索処理が実行される特徴ベクトルの選択方法の一例として、第一距離値が小さい順に所定数の第二検索処理が実行される特徴ベクトルが選択される例がある。この例によれば、第検索対象DB302の複数のクラスタに分散して登録された特徴ベクトルに、第二検索処理が実行されることを防止できる。   As described above, the feature vector on which the second search process is executed is selected based on the first distance value, and the second search process is executed only on the selected feature vector. Thereby, the search processing time can be shortened. As an example of a feature vector selection method in which the second search process is performed, there is an example in which feature vectors for which a predetermined number of second search processes are performed are selected in ascending order of the first distance value. According to this example, it is possible to prevent the second search process from being performed on the feature vector that is distributed and registered in the plurality of clusters of the first search target DB 302.

また、他の例として、第一距離値が閾値以下となる特徴ベクトルが、第二検索処理が実行される特徴ベクトルとして選択される例がある。この例によれば、検索対象DB302に登録された画像のカテゴリの偏りによらず、高精度な検索を実現できる。   As another example, there is an example in which a feature vector whose first distance value is equal to or less than a threshold is selected as a feature vector for which the second search process is executed. According to this example, a highly accurate search can be realized regardless of the bias of the category of the image registered in the search target DB 302.

また、各カテゴリの代表ベクトル間の距離値が算出され、算出された距離値に基づいて閾値が設定される。これによって、適切な閾値を自動で設定できる。   In addition, a distance value between representative vectors of each category is calculated, and a threshold is set based on the calculated distance value. Thereby, an appropriate threshold value can be automatically set.

また、第二検索処理を実行する特徴ベクトルから処理対象の特徴ベクトルが選択され、選択された処理対象の特徴ベクトルと第二特徴ベクトルとの第二距離値が算出され、この処理が第二検索処理を実行する特徴ベクトルの数だけ繰り返される。これによって、第二特徴ベクトルの数は予め決まっているので、第二特徴ベクトルを最適なデータアクセスが可能となるように事前に設定でき、検索処理時間を短縮できる。   In addition, a feature vector to be processed is selected from the feature vectors for executing the second search process, and a second distance value between the selected feature vector of the process target and the second feature vector is calculated. The process is repeated for the number of feature vectors to be processed. Accordingly, since the number of second feature vectors is determined in advance, the second feature vectors can be set in advance so that optimum data access is possible, and the search processing time can be shortened.

本実施例は、複数の特徴ベクトルにおいて第一距離値が最小となる代表ベクトルが同じである場合、当該代表ベクトルの総合距離値が最小となる一つ特徴ベクトルに対応する画像のみを縮約画面1310として表示する画像検索装置200の例である。図13は、実施例3の縮約画面1310の表示の説明図である。   In this embodiment, when a representative vector having the smallest first distance value among the plurality of feature vectors is the same, only the image corresponding to one feature vector having the smallest total distance value of the representative vector is reduced. This is an example of the image search apparatus 200 displayed as 1310. FIG. 13 is an explanatory diagram of display of the contracted screen 1310 according to the third embodiment.

(A)は第二検索結果テーブル1300を示す
第二検索結果テーブル1300には、第二検索部306によって総合距離値順に並び替えた特徴ベクトルに対応する画像の識別情報、及び、検索キーに対応するカテゴリの代表ベクトルのうち各特徴ベクトルとの距離値が最小となる代表ベクトル(最近傍代表ベクトル)が登録される。
(A) shows the second search result table 1300 The second search result table 1300 corresponds to the identification information of the image corresponding to the feature vector rearranged in the order of the total distance value by the second search unit 306 and the search key. A representative vector (nearest neighbor representative vector) having a minimum distance from each feature vector among the representative vectors of the category to be registered is registered.

第二検索結果テーブル1300は、順位1301、最近傍代表ベクトル1302,及び管理ID1303を含む。   The second search result table 1300 includes a rank 1301, a nearest representative vector 1302, and a management ID 1303.

順位1301には、総合距離値順に並べた各特徴ベクトルの順位が登録される。最近傍代表ベクトル1302には、各特徴ベクトルの最近傍代表ベクトルの識別情報が登録される。管理ID1303には、各特徴ベクトルに対応する画像の識別情報が登録される。   In the rank 1301, the rank of each feature vector arranged in the order of the total distance value is registered. In the nearest neighbor vector 1302, identification information of the nearest representative vector of each feature vector is registered. In the management ID 1303, image identification information corresponding to each feature vector is registered.

本実施例では、図10に示す検索結果確認画面1000の検索結果表示領域1030には、複数の特徴ベクトルの最近傍代表ベクトルが同じ代表ベクトルである場合には総合距離値が最小となる特徴ベクトルに対応する画像のみを縮約画面1310(図13(B))が表示される。   In the present embodiment, in the search result display area 1030 of the search result confirmation screen 1000 shown in FIG. 10, when the nearest representative vectors of a plurality of feature vectors are the same representative vector, the feature vector having the minimum total distance value is displayed. A contracted screen 1310 (FIG. 13B) is displayed only for images corresponding to.

(A)に示す第二検索結果テーブル1300では、代表ベクトル「03」は、複数の特徴ベクトル(総合距離値が小さい順に管理ID「00911」、「00831」、「12211」、及び「00443」)の最近傍代表ベクトルである。したがって、縮約画面1310では、代表ベクトル「03」については、総合距離値が最小の管理ID「00911」の画像(図13(B)1311参照)のみが表示される。また、代表ベクトル「04」については、総合距離値が最小の管理ID「00913」の画像のみが表示される。つまり、縮約画面1310では、代表ベクトルの数だけ画像が表示されることになる。これによって、端末装置101のユーザは、縮約画面1310を閲覧することによって、複数のバリエーションの画像を確認できる。また、検索キーのカテゴリの一つの代表ベクトルに対して一つの特徴ベクトルの画像が表示されるが、当該特徴ベクトルは総合類似度が最小となる特徴ベクトルであるので、検索キーのカテゴリと異なるカテゴリの画像が縮約画面1310に表示されることを防止できる。   In the second search result table 1300 shown in (A), the representative vector “03” has a plurality of feature vectors (management IDs “00911”, “00831”, “12211”, and “00443” in ascending order of the total distance value). Is the nearest representative vector. Therefore, on the contraction screen 1310, for the representative vector “03”, only the image of the management ID “00911” with the smallest total distance value (see FIG. 13B 1311) is displayed. For the representative vector “04”, only the image with the management ID “00913” having the smallest total distance value is displayed. In other words, as many images as the number of representative vectors are displayed on the contracted screen 1310. Accordingly, the user of the terminal device 101 can check a plurality of variations of images by browsing the contracted screen 1310. In addition, an image of one feature vector is displayed for one representative vector of the search key category. Since the feature vector is a feature vector having the lowest overall similarity, a category different from the category of the search key. Can be prevented from being displayed on the contracted screen 1310.

縮約画面1310に表示された各画像1311に対応してチェックボックス1312が表示される。ユーザは、検索を所望する対象に類似すると判断する画像に対応するチェックボックス1312がチェックすると、図13の(C)に示す選択代表ベクトル画面1320が表示される。   A check box 1312 is displayed corresponding to each image 1311 displayed on the contracted screen 1310. When the user checks a check box 1312 corresponding to an image that is determined to be similar to an object desired to be searched, a selected representative vector screen 1320 shown in FIG. 13C is displayed.

(C)に示す選択代表ベクトル画面1320では、代表ベクトル「03」、「04」、及び「01」を最近傍代表ベクトルとする特徴ベクトルに対応する画像のみが総合類似度順に表示される。   On the selected representative vector screen 1320 shown in (C), only images corresponding to feature vectors having representative vectors “03”, “04”, and “01” as the nearest representative vectors are displayed in the order of overall similarity.

これによって、ユーザは検索結果を段階的に確認でき、ユーザの画像検索効率を向上させることができる。   Thereby, the user can check the search result step by step, and the user's image search efficiency can be improved.

本実施例は、検索キーにおいて複数のカテゴリが指定され、複数のカテゴリに類似する画像の検索(「あいまいカテゴリ検索」)を実現する画像検索装置200の例である。車種及び車両の色の定義は曖昧であり、あきらかに「セダン」の形状をした車両がある一方で、「セダン」なのか「コンパクトカー」なのか曖昧な形状の車両も存在する。このようなカテゴリの曖昧性は車両というオブジェクトに限らず、例えば、29歳の人物を検索する場合において、「20代」のカテゴリで検索するより、「30代」のカテゴリで検索した方が発見しやすいことがある。本実施例によれば、このような複数のカテゴリの境界付近に存在するオブジェクトも検索することができる。   The present embodiment is an example of an image search apparatus 200 that realizes a search for images similar to a plurality of categories (“fuzzy category search”) by specifying a plurality of categories in a search key. The definition of the vehicle type and the color of the vehicle is ambiguous, and there is a vehicle that clearly has a “sedan” shape, but there is also a vehicle that has an ambiguous shape whether it is a “sedan” or a “compact car”. Such category ambiguity is not limited to the vehicle object. For example, in the case of searching for a 29-year-old person, the search in the “30s” category is found rather than the search in the “20s” category. It may be easy to do. According to the present embodiment, it is also possible to search for objects that exist in the vicinity of the boundaries of such a plurality of categories.

図14は、実施例4の検索結果確認画面1000の説明図である。図14では、図10と同じ構成は同じ符号を付与し、説明を省略する。   FIG. 14 is an explanatory diagram of a search result confirmation screen 1000 according to the fourth embodiment. In FIG. 14, the same components as those in FIG.

図14に示す検索結果確認画面1000は、検索キー選択領域1400が図10に示す検索キー選択領域1010と異なる。検索キー選択領域1400は、第一車種1401及び第二車種1402を含む。第一車種1401及び第二車種1402では、それぞれ検索キーとなる車両の種類が選択される。このため、本実施例では、検索キーは二つのカテゴリとなる。なお、検索キーとなるカテゴリは二つに限定されず、検索キーは三つ以上のカテゴリであってもよい。   In the search result confirmation screen 1000 shown in FIG. 14, the search key selection area 1400 is different from the search key selection area 1010 shown in FIG. The search key selection area 1400 includes a first vehicle type 1401 and a second vehicle type 1402. In the first vehicle type 1401 and the second vehicle type 1402, the type of vehicle that serves as a search key is selected. Therefore, in this embodiment, the search key has two categories. Note that the search key category is not limited to two, and the search key may be three or more categories.

ここで、第一車種1401及び第二車種1402で、「セダン」及び「コンパクトカー」が検索キーのカテゴリとして選択された場合の画像検索装置200の処理について説明する。   Here, the processing of the image search apparatus 200 when “sedan” and “compact car” are selected as the search key categories in the first vehicle type 1401 and the second vehicle type 1402 will be described.

まず、検索キー選択部303は、辞書DB304から「セダン」及び「コンパクトカー」に対応する代表ベクトルを取得する。次に、第一検索部305は、検索キー選択部303が選択した「セダン」及び「コンパクトカー」の代表ベクトルと検索対象DB302に登録された各特徴ベクトルとの距離値(第一距離値)を算出する。   First, the search key selection unit 303 acquires representative vectors corresponding to “sedans” and “compact cars” from the dictionary DB 304. Next, the first search unit 305 is a distance value (first distance value) between the representative vectors of “sedans” and “compact cars” selected by the search key selection unit 303 and each feature vector registered in the search target DB 302. Is calculated.

次に、第二検索部306は、辞書DB304から「セダン」及び「コンパクトカー」に対応する第二検索ベクトルを取得する。この場合、第二検索ベクトルが「セダン」の代表ベクトル又は「コンパクトカー」の代表ベクトルであれば、当該第二検索ベクトルは第二検索処理に用いない。図5に示す辞書DB304では、「セダン」の第二検索カテゴリ503は「コンパクトカー」及び「軽自動車」であり、「コンパクトカー」の第二検索カテゴリ503は「セダン」及び「軽自動車」である。第二検索部306は、「セダン」及び「コンパクトカー」の代表ベクトルを第二検索処理に用いず、「軽自動車」の代表ベクトルのみを第二検索処理に用いる。   Next, the second search unit 306 acquires a second search vector corresponding to “sedan” and “compact car” from the dictionary DB 304. In this case, if the second search vector is a “sedan” representative vector or a “compact car” representative vector, the second search vector is not used in the second search process. In the dictionary DB 304 shown in FIG. 5, the second search category 503 for “sedans” is “compact cars” and “light cars”, and the second search category 503 for “compact cars” is “sedans” and “light cars”. is there. The second search unit 306 does not use the representative vectors of “sedan” and “compact car” for the second search process, but uses only the representative vector of “light car” for the second search process.

そして、第二検索部306は、「軽自動車」の代表ベクトルと各特徴ベクトルとの距離値を算出し、第一距離値及び第二距離値に基づいて総合距離値を算出する。出力部307は、総合距離値順に並び替えた特徴ベクトルの画像を含む検索確認画面データを端末装置101に送信する。   Then, the second search unit 306 calculates the distance value between the representative vector of “light car” and each feature vector, and calculates the total distance value based on the first distance value and the second distance value. The output unit 307 transmits search confirmation screen data including the feature vector images rearranged in the order of the total distance value to the terminal device 101.

以上によって、「セダン」及び「コンパクトカー」以外のカテゴリに類似する画像の特徴ベクトルの総合距離値は大きくなる。また、「セダン」及び「コンパクトカー」のいずれにも類似する画像の特徴ベクトルの総合距離値は小さくなるので、適切に検索できる。   As described above, the total distance value of feature vectors of images similar to categories other than “sedans” and “compact cars” is increased. In addition, since the total distance value of the feature vector of an image similar to both “sedans” and “compact cars” is small, it can be searched appropriately.

検索結果確認画面1000において、第一距離値順に画像が並べられた場合、検索キーとなる「セダン」及び「コンパクトカー」以外の他のカテゴリの画像が大量に出現してしまう。また、この場合、「セダン」のみに類似する画像、及び「コンパクトカー」にのみに類似する画像が検索結果の上位となり、ユーザの意図に沿わない検索結果となる可能性もある。第二検索部306が第一距離値及び第二距離値に基づいて、総合距離値を算出するため、他のカテゴリの画像の出現を抑制できる。また、「セダン」及び「コンパクトカー」の両方に類似する画像の特徴ベクトルは第二検索ベクトルと距離が小さくなるので、「セダン」及び「コンパクトカー」の両方に類似する総合距離値が小さくなり、当該画像が検索結果の上位とすることも可能となる。   In the search result confirmation screen 1000, when images are arranged in the order of the first distance value, a large number of images of categories other than “sedans” and “compact cars” as search keys appear. In this case, an image similar only to “sedan” and an image similar only to “compact car” may be higher in the search result and may result in a search result that does not match the user's intention. Since the second search unit 306 calculates the total distance value based on the first distance value and the second distance value, the appearance of images of other categories can be suppressed. Also, since the feature vector of the image similar to both “sedan” and “compact car” has a smaller distance from the second search vector, the total distance value similar to both “sedan” and “compact car” becomes smaller. It is also possible for the image to be higher in the search results.

また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。また、上記の各構成、機能、処理部、処理手段などは、それらの一部または全部を、例えば集積回路で設計するなどによりハードウェアで実現してもよい。   Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment. Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit.

また、前記の各構成、機能などは、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。   Each of the above-described configurations, functions, and the like may be realized by software by interpreting and executing a program that realizes each function by the processor.

各機能を実現するプログラム、テーブル、ファイルなどの情報は、メモリや、ハードディスク、SSD(Solid State Drive)などの記録装置、または、IC(Integrated Circuit)カード、SDカード、DVD(Digital Versatile Disc)などの記録媒体に置くことができる。   Information such as programs, tables, and files for realizing each function is stored in memory, a hard disk, a recording device such as an SSD (Solid State Drive), an IC (Integrated Circuit) card, an SD card, a DVD (Digital Versatile Disc), etc. Can be placed on any recording medium.

また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際にはほとんど全ての構成が相互に接続されていると考えてもよい。   Further, the control lines and information lines indicate what is considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.

101 端末装置
102 カメラ
103 ネットワーク
200 画像検索装置
210 I/F
220 CPU
230 補助記憶装置
240 ネットワークI/F
250 メモリ
300 カテゴリ検索部
301 画像登録部
302 検索対象DB
303 検索キー選択部
304 辞書DB
305 第一検索部
306 第二検索部
307 出力部
700 検索結果テーブル
1000 検索結果確認画面
1300 第二検索結果テーブル
1310 縮約画面
101 Terminal Device 102 Camera 103 Network 200 Image Search Device 210 I / F
220 CPU
230 Auxiliary storage device 240 Network I / F
250 Memory 300 Category Search Unit 301 Image Registration Unit 302 Search Target DB
303 Search key selection unit 304 Dictionary DB
305 First search unit 306 Second search unit 307 Output unit 700 Search result table 1000 Search result confirmation screen 1300 Second search result table 1310 Reduction screen

Claims (12)

検索対象の画像の特徴ベクトルが記憶される検索対象記憶部と、
前記検索対象記憶部を検索するための各検索キーと前記各検索キーに対応する第一特徴ベクトルとが対応付けて記憶される辞書情報記憶部と、
検索キーの入力を受け付ける検索キー入力受付部と、
前記入力された検索キーに対応する第一特徴ベクトルを前記辞書情報記憶部から取得し、前記取得した第一特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの第一類似度を算出する第一検索部と、
前記入力された検索キー以外の検索キーに対応する第一特徴ベクトルである第二特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの第二類似度を算出し、前記第一類似度及び前記第二類似度に基づいて、前記特徴ベクトルの画像と前記入力された検索キーとの類似度を示す総合類似度を算出する第二検索部と、
前記検索対象記憶部に記憶される特徴ベクトルの画像を前記総合類似度順に並べて出力する出力部と、を備え、
前記第二検索部は、前記第二類似度が高い特徴ベクトルほど、当該特徴ベクトルの総合類似度を低くするように前記総合類似度を算出することを特徴とする画像検索装置。
A search target storage unit for storing a feature vector of an image to be searched;
A dictionary information storage unit in which each search key for searching the search target storage unit and a first feature vector corresponding to each search key are stored in association with each other;
A search key input accepting unit that accepts input of a search key;
A first feature vector corresponding to the input search key is acquired from the dictionary information storage unit, and a first similarity between the acquired first feature vector and an image feature vector stored in the search target storage unit A first search unit for calculating
Calculating a second similarity between a second feature vector that is a first feature vector corresponding to a search key other than the input search key and a feature vector of an image stored in the search target storage unit; A second search unit that calculates an overall similarity indicating a similarity between the image of the feature vector and the input search key based on the similarity and the second similarity;
An output unit that arranges and outputs the images of feature vectors stored in the search target storage unit in the order of the overall similarity, and
The image search apparatus according to claim 2, wherein the second search unit calculates the overall similarity so that a feature vector having a higher second similarity has a lower overall similarity.
請求項1に記載の画像検索装置であって、
前記第二検索部は、前記検索対象記憶部に記憶される画像の特徴ベクトルから前記第二類似度を算出する特徴ベクトルを前記第一類似度に基づいて選択し、前記選択した特徴ベクトルにのみ前記第二類似度を算出することを特徴とする画像検索装置。
The image search device according to claim 1,
The second search unit selects, based on the first similarity, a feature vector for calculating the second similarity from the feature vector of the image stored in the search target storage unit, and only the selected feature vector An image search apparatus for calculating the second similarity.
請求項2に記載の画像検索装置であって、
前記第二検索部は、前記検索対象記憶部に記憶される画像の特徴ベクトルから、前記第一類似度が高い順に前記第二類似度を算出する所定数の特徴ベクトルを選択することを特徴とする画像検索装置。
The image search device according to claim 2,
The second search unit selects a predetermined number of feature vectors for calculating the second similarity in descending order of the first similarity from the image feature vectors stored in the search target storage unit. Image search device.
請求項2に記載の画像検索装置であって、
前記第二検索部は、前記検索対象記憶部に記憶される画像の特徴ベクトルから、前記第一類似度が閾値より高い特徴ベクトルを、前記第二類似度を算出する特徴ベクトルとして選択することを特徴とする画像検索装置。
The image search device according to claim 2,
The second search unit selects, from the feature vectors of the image stored in the search target storage unit, a feature vector having the first similarity higher than a threshold as a feature vector for calculating the second similarity. A featured image retrieval device.
請求項4に記載の画像検索装置であって、
前記辞書情報記憶部には、一つの検索キーに対して複数の第一特徴ベクトルを記憶し、
前記各検索キーに対して、前記各検索キーに対応する前記複数の第一特徴ベクトル間の類似度を算出し、
前記算出した類似度が最も低い類似度を、前記各検索キーの前記閾値に設定することを特徴とする画像検索装置。
The image search device according to claim 4,
The dictionary information storage unit stores a plurality of first feature vectors for one search key,
For each search key, calculate the similarity between the plurality of first feature vectors corresponding to each search key;
An image search apparatus characterized in that the calculated similarity is set to the threshold value of each search key.
請求項2に記載の画像検索装置であって、
前記第二検索部は、
前記第二類似度を算出する特徴ベクトルとして選択された特徴ベクトルから処理対象の特徴ベクトルを選択し、前記選択した処理対象の特徴ベクトルと前記第二特徴ベクトルとの第二類似度を算出し、
前記第二類似度を算出する処理を、前記第二類似度を算出する特徴ベクトルの数だけ繰り返し実行することによって、前記第二類似度を算出する特徴ベクトルとして選択された全ての特徴ベクトルの第二類似度を算出することを特徴とする画像検索装置。
The image search device according to claim 2,
The second search unit
Selecting a feature vector to be processed from a feature vector selected as a feature vector for calculating the second similarity, and calculating a second similarity between the selected feature vector of the processing target and the second feature vector;
By repeatedly executing the process of calculating the second similarity by the number of feature vectors for calculating the second similarity, the first of all feature vectors selected as the feature vector for calculating the second similarity is calculated. An image search apparatus characterized by calculating a two-similarity.
請求項1に記載の画像検索装置であって、
前記辞書情報記憶部では、前記各検索キーの前記第一特徴ベクトルに対して、前記各検索キー以外の検索キーの第一特徴ベクトルが前記第二特徴ベクトルとして予め対応付けられて記憶されることを特徴とする画像検索装置。
The image search device according to claim 1,
In the dictionary information storage unit, a first feature vector of a search key other than each search key is stored in association with the first feature vector of each search key in advance as the second feature vector. An image search device characterized by the above.
請求項7に記載の画像検索装置であって、
前記辞書情報記憶部に記憶されるある検索キーの第一特徴ベクトルと他の検索キーの第一特徴ベクトルとの類似度を算出し、
前記類似度が所定の閾値より高い他の検索キーの第一特徴ベクトルを、当該ある検索キーの前記第二特徴ベクトルとして前記辞書情報記憶部に記憶することを特徴とする画像検索装置。
The image search device according to claim 7,
Calculating a similarity between a first feature vector of a search key stored in the dictionary information storage unit and a first feature vector of another search key;
An image search device, wherein a first feature vector of another search key having a similarity higher than a predetermined threshold is stored in the dictionary information storage unit as the second feature vector of the certain search key.
請求項7に記載の画像検索装置であって、
ある検索キーの第二特徴ベクトルとなる他の検索キーの選択の入力を受け付け、
前記入力を受け付けた他の検索キーの第一特徴ベクトルを当該ある検索キーの前記第二特徴ベクトルとして前記辞書情報記憶部に記憶することを特徴とする画像検索装置。
The image search device according to claim 7,
Accept input of selection of other search key that becomes the second feature vector of a certain search key,
An image search apparatus, wherein a first feature vector of another search key that has received the input is stored in the dictionary information storage unit as the second feature vector of the search key.
請求項1に記載の画像検索装置であって、
前記辞書情報記憶部には、一つの検索キーに対して複数の第一特徴ベクトルが記憶され、
前記出力部は、前記第一類似度が最も高い第一特徴ベクトルが同じ特徴ベクトルが複数存在する場合、当該特徴ベクトルのうち前記総合類似度が最も高い特徴ベクトルの画像のみを出力することを特徴とする画像検索装置。
The image search device according to claim 1,
The dictionary information storage unit stores a plurality of first feature vectors for one search key,
The output unit outputs only an image of a feature vector having the highest overall similarity among the feature vectors when there are a plurality of feature vectors having the same first feature vector having the highest first similarity. An image search device.
請求項1に記載の画像検索装置であって、
前記第一検索部は、複数の検索キーが入力された場合、前記入力された複数の検索キーのそれぞれに対応する第一特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの前記第一類似度を算出し、
前記第二検索部は、
前記入力された複数の検索キー以外の検索キーに対応する第一特徴ベクトルである第二特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの前記第二類似度を算出し、
前記第一類似度及び前記第二類似度に基づいて、前記総合類似度を算出することを特徴とする画像検索装置。
The image search device according to claim 1,
When a plurality of search keys are input, the first search unit includes a first feature vector corresponding to each of the input search keys and an image feature vector stored in the search target storage unit. Calculating the first similarity,
The second search unit
Calculating the second similarity between a second feature vector corresponding to a search key other than the plurality of input search keys and a feature vector of an image stored in the search target storage unit;
The image search device characterized in that the total similarity is calculated based on the first similarity and the second similarity.
入力された検索キーに類似する画像を検索する画像検索システムであって、
画像を撮影するカメラと、
前記検索キーの入力を受け付ける入力受付部と、
前記カメラによって撮影された画像の特徴ベクトルが記憶される検索対象記憶部と、
前記検索対象記憶部を検索するための各検索キーと前記各検索キーに対応する第一特徴ベクトルとが対応付けて記憶される辞書情報記憶部と、
前記入力受付部が受け付けた検索キーに対応する第一特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの第一類似度を算出する第一検索部と、
前記入力された検索キー以外の検索キーに対応する第一特徴ベクトルである第二特徴ベクトルと前記検索対象記憶部に記憶される画像の特徴ベクトルとの第二類似度を算出し、前記第一類似度及び前記第二類似度に基づいて、前記特徴ベクトルの画像と前記検索キーとの類似度を示す総合類似度を算出する第二検索部と、
前記検索対象記憶部に記憶される特徴ベクトルの画像を前記総合類似度順に並べて出力する出力部と、を備え、
前記第二検索部は、前記第二類似度が高い特徴ベクトルほど、当該特徴ベクトルの総合類似度を低くするように前記総合類似度を算出することを特徴とする画像検索システム。
An image search system for searching for an image similar to an input search key,
A camera for taking images,
An input receiving unit for receiving an input of the search key;
A search target storage unit for storing feature vectors of images captured by the camera;
A dictionary information storage unit in which each search key for searching the search target storage unit and a first feature vector corresponding to each search key are stored in association with each other;
A first search unit that calculates a first similarity between a first feature vector corresponding to a search key received by the input receiving unit and a feature vector of an image stored in the search target storage unit;
Calculating a second similarity between a second feature vector that is a first feature vector corresponding to a search key other than the input search key and a feature vector of an image stored in the search target storage unit; A second search unit that calculates an overall similarity indicating a similarity between the image of the feature vector and the search key based on the similarity and the second similarity;
An output unit that arranges and outputs the images of feature vectors stored in the search target storage unit in the order of the overall similarity, and
The image search system, wherein the second search unit calculates the overall similarity so that a feature vector having a higher second similarity has a lower overall similarity.
JP2014240030A 2014-11-27 2014-11-27 Image search apparatus and image search system Expired - Fee Related JP6341843B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014240030A JP6341843B2 (en) 2014-11-27 2014-11-27 Image search apparatus and image search system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014240030A JP6341843B2 (en) 2014-11-27 2014-11-27 Image search apparatus and image search system

Publications (2)

Publication Number Publication Date
JP2016103084A true JP2016103084A (en) 2016-06-02
JP6341843B2 JP6341843B2 (en) 2018-06-13

Family

ID=56088947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014240030A Expired - Fee Related JP6341843B2 (en) 2014-11-27 2014-11-27 Image search apparatus and image search system

Country Status (1)

Country Link
JP (1) JP6341843B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061890A (en) * 2019-12-09 2020-04-24 腾讯云计算(北京)有限责任公司 Method for verifying labeling information, method and device for determining category
WO2023281903A1 (en) * 2021-07-09 2023-01-12 パナソニックIpマネジメント株式会社 Image matching device, image matching method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139332A (en) * 1997-07-22 1999-02-12 Hitachi Ltd Method and device for retrieving image and retrieval service utilizing it
JP2003345830A (en) * 2002-05-29 2003-12-05 Nec Corp Video retrieval device, video retrieval method used therefor, and program therefor
JP2008186150A (en) * 2007-01-29 2008-08-14 Hitachi Ltd Template matching device and method
JP2014211730A (en) * 2013-04-18 2014-11-13 株式会社日立製作所 Image searching system, image searching device, and image searching method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139332A (en) * 1997-07-22 1999-02-12 Hitachi Ltd Method and device for retrieving image and retrieval service utilizing it
JP2003345830A (en) * 2002-05-29 2003-12-05 Nec Corp Video retrieval device, video retrieval method used therefor, and program therefor
JP2008186150A (en) * 2007-01-29 2008-08-14 Hitachi Ltd Template matching device and method
JP2014211730A (en) * 2013-04-18 2014-11-13 株式会社日立製作所 Image searching system, image searching device, and image searching method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061890A (en) * 2019-12-09 2020-04-24 腾讯云计算(北京)有限责任公司 Method for verifying labeling information, method and device for determining category
CN111061890B (en) * 2019-12-09 2023-04-07 腾讯云计算(北京)有限责任公司 Method for verifying labeling information, method and device for determining category
WO2023281903A1 (en) * 2021-07-09 2023-01-12 パナソニックIpマネジメント株式会社 Image matching device, image matching method, and program

Also Published As

Publication number Publication date
JP6341843B2 (en) 2018-06-13

Similar Documents

Publication Publication Date Title
US20220075806A1 (en) Natural language image search
JP6144839B2 (en) Method and system for retrieving images
Demner-Fushman et al. Design and development of a multimodal biomedical information retrieval system
EP2805262B1 (en) Image index generation based on similarities of image features
JP5963609B2 (en) Image processing apparatus and image processing method
CN109189991A (en) Repeat video frequency identifying method, device, terminal and computer readable storage medium
WO2018171412A1 (en) Pedestrian search method and apparatus
CN106557521A (en) Object indexing method, object search method and object indexing system
JP6767342B2 (en) Search device, search method and search program
JP6173754B2 (en) Image search system, image search apparatus, and image search method
JP2014093058A (en) Image management device, image management method, program and integrated circuit
US20220092105A1 (en) Intelligent Systems and Methods for Visual Search Queries
JP2011070244A (en) Device, method and program for retrieving image
US20170357853A1 (en) Large Scale Video Search Using Queries that Define Relationships Between Objects
JP6377917B2 (en) Image search apparatus and image search program
JP6565661B2 (en) Image processing system, image similarity determination method, and image similarity determination program
JP6341843B2 (en) Image search apparatus and image search system
JP6314071B2 (en) Information processing apparatus, information processing method, and program
JP2011100293A (en) Information processing device, method for controlling the same, and program
Kim et al. Classification and indexing scheme of large-scale image repository for spatio-temporal landmark recognition
Zhang et al. A deep neural network-based vehicle re-identification method for bridge load monitoring
JP6017277B2 (en) Program, apparatus and method for calculating similarity between contents represented by set of feature vectors
JP2022043631A (en) Information processing apparatus, information processing method, and program
CN111651625A (en) Image retrieval method, image retrieval device, electronic equipment and storage medium
Masaki et al. Distant traffic light recognition using semantic segmentation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180403

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180515

R150 Certificate of patent or registration of utility model

Ref document number: 6341843

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees