JP2010122931A - Similar area retrieval method, similar area retrieval device, and similar area retrieval program - Google Patents

Similar area retrieval method, similar area retrieval device, and similar area retrieval program Download PDF

Info

Publication number
JP2010122931A
JP2010122931A JP2008296315A JP2008296315A JP2010122931A JP 2010122931 A JP2010122931 A JP 2010122931A JP 2008296315 A JP2008296315 A JP 2008296315A JP 2008296315 A JP2008296315 A JP 2008296315A JP 2010122931 A JP2010122931 A JP 2010122931A
Authority
JP
Japan
Prior art keywords
image
region
partial
similarity
similar
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.)
Pending
Application number
JP2008296315A
Other languages
Japanese (ja)
Inventor
Katsuyoshi Tanabe
勝義 田邊
Hiroki Machihara
宏毅 町原
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2008296315A priority Critical patent/JP2010122931A/en
Publication of JP2010122931A publication Critical patent/JP2010122931A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve retrieval accuracy by properly reflecting intention of a user in retrieval. <P>SOLUTION: An input image is selected as a key image to be retrieved (S101), and a user selects partial areas and an attention degree in the key image (S102). After selecting all partial areas (S103), image characteristics are extracted from the partial areas (S104). After that, an area having a size equal to those of the partial areas in images stored in a data storing part 205 is processed in the same way as S103(S105). Next, S105 is applied to all the areas while sequentially shifting the area to be processed by S105 for each stored image (S106). After S104 to S106 are applied to all the areas (S107), image characteristics of the areas of both images are compared, and a similarity is calculated in consideration of the attention degree (S108). The stored images are rearranged and displayed in order of the similarity (S109). <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理技術を使って検索対象の目的画像に類似する画像をデータベース中から検索する技術に関する。   The present invention relates to a technique for searching an image similar to a target image to be searched from a database using an image processing technique.

近年、デジタルカメラの普及や記録媒体の大容量化・低価格化、さらに大容量高速ネットワークの普及により容易に大容量のデジタル画像を取得して保存する環境が整備され、大量の画像群から所望の画像を検索する技術の必要性が高まっている。   In recent years, an environment for easily acquiring and storing large-capacity digital images has been improved by the spread of digital cameras, the increase in storage capacity and price, and the spread of large-capacity and high-speed networks. There is a growing need for technology to search for images.

例えば、画像データベースに蓄積された画像群の中から、特定人物の顔が撮影されている画像を検出する技術や、特定の物体や建造物などが撮影されている画像を含むホームページを検索する技術が要求されている。この技術としては特許文献1の部分画像検索方法が公知となっている。   For example, a technique for detecting an image in which a face of a specific person is photographed from a group of images stored in an image database, or a technique for searching a home page including an image in which a specific object or building is photographed Is required. As this technique, the partial image search method of Patent Document 1 is known.

特許文献1の技術は、参照して検索したいキー画像(目的画像)とデータベースの蓄積画像とを小領域に分割し、抽出した特徴をベクトル量子化して検索している。このとき事前に画像特徴の典型的なパターンに関する見本特徴セットを準備し、この見本特徴それぞれの間の距離を事前に計算し、蓄積画像に対応する見本特徴を選択しておくことで、キー画像に対応する見本特徴を見つけて、照合時間を節約している。
特開2006−011622号公報
The technique of Patent Document 1 divides a key image (target image) to be searched by reference and a stored image in a database into small regions, and searches the extracted features by vector quantization. At this time, a sample feature set relating to a typical pattern of image features is prepared in advance, a distance between each of the sample features is calculated in advance, and a sample feature corresponding to the stored image is selected, thereby obtaining a key image. Find sample features corresponding to, and save matching time.
JP 2006-011622 A

しかしながら、キー画像および蓄積画像の特徴について見本特徴の対応する符号を割り当てていることから、用意された見本特徴セットに検索精度が影響されるおそれがある。   However, since the code corresponding to the sample feature is assigned to the feature of the key image and the stored image, the prepared sample feature set may affect the search accuracy.

すなわち、キー画像が想定範囲内の場合にはその画像を特徴づけるパターンを用意しておけば足りるが、想定していない未知の画像に対しては適切なパターンが用意されないため、対応づけることが困難な場合が生じてしまう。   In other words, if the key image is within the assumed range, it is sufficient to prepare a pattern that characterizes the image. However, since an appropriate pattern is not prepared for an unknown image that is not assumed, it can be correlated. Difficult cases arise.

また、人間の目視では類似しているパターンでも、物理的な特徴量が類似していない場合には、対応する見本特徴セットが見つけられずに検索が実行できないおそれもある。   In addition, even if the pattern is similar to human eyes, if the physical feature quantity is not similar, the corresponding sample feature set may not be found and the search may not be executed.

本発明は、このような事情に鑑みてなされたものであり、事前に準備された見本特徴セットと対応付けることなく、ユーザの検索意図を反映した検索を実現し、検索の精度を向上させることを解決課題としている。   The present invention has been made in view of such circumstances, and realizes a search that reflects the user's search intention without associating with a sample feature set prepared in advance, and improves the search accuracy. It is a problem to be solved.

そこで、請求項1〜9記載の発明は、前記課題を解決するために、キー画像中の注目すべき部分領域の画像特徴を抽出した後に、該部分領域と同等な大きさごとに蓄積画像の画像特徴を抽出し、両画像の画像特徴同士を比較して全体的な類似度を算出している。その際に部分領域に指定された注目度を考慮して類似度を求める設定にすることもできる。この注目度は段階的に指定させる態様や、また検索結果に反映させたくないネガティブ領域を負値で指定させる態様としてもよい。   Therefore, in order to solve the above-described problems, the invention according to claims 1 to 9 extracts the image features of the partial area to be noted in the key image, and then stores the accumulated image for each size equivalent to the partial area. Image features are extracted, and the image features of both images are compared to calculate the overall similarity. At this time, it is also possible to set the degree of similarity in consideration of the degree of attention specified for the partial area. The attention level may be specified in a stepwise manner, or a negative region that is not desired to be reflected in the search result may be specified as a negative value.

具体的には、請求項1記載の発明は、データベース中の蓄積画像から検索対象の目的画像中に類似した部分領域を含む画像を検索する方法であって、領域選択手段が、入力された前記目的画像中からユーザに注目すべき部分領域を選択させる第1ステップと、特徴抽出手段が、前記目的画像中から部分領域の画像特徴を抽出し、前記各蓄積画像について前記目的画像の部分領域と同等の大きさの領域毎に画像特徴を抽出する第2ステップと、類似度計算手段が、前記目的画像中の部分領域の画像特徴と前記各蓄積画像中の各領域の画像特徴とを比較して類似度を算出する第3ステップと、画像ソート手段が、前記第3ステップで算出された類似度順に並べ替えた検索結果をユーザに提示する第4ステップと、を備えることを特徴としている。   Specifically, the invention described in claim 1 is a method for searching for an image including a similar partial area in a target image to be searched from an accumulated image in a database, wherein the area selection means is configured to input the input A first step for allowing a user to select a partial area to be noted from the target image; and a feature extracting unit extracts an image feature of the partial area from the target image, and for each accumulated image, a partial area of the target image; The second step of extracting image features for each region having the same size, and the similarity calculation means compare the image features of the partial region in the target image with the image features of each region in each accumulated image. And a fourth step in which the image sorting means presents the search results rearranged in the order of similarity calculated in the third step to the user.

請求項2記載の発明は、前記第2ステップは、複数の部分領域が選択されたときに前記画像特徴を部分領域ごとに抽出し、前記第3ステップは、各部分領域の画像特徴を前記各領域の各画像特徴と比較することを特徴としている。   In the second aspect of the present invention, the second step extracts the image feature for each partial region when a plurality of partial regions are selected, and the third step extracts the image feature of each partial region. It is characterized by comparing with each image feature of the region.

請求項3記載の発明は、前記第3ステップは、選択された各部分領域に注目度が段階的に指定されているときに、前記注目度の段階を前記類似度に反映させることを特徴としている。   The invention according to claim 3 is characterized in that, when the degree of attention is specified in a stepwise manner in each selected partial region, the third step reflects the stage of the degree of attention in the similarity. Yes.

請求項4記載の発明は、前記第3ステップは、前記注目度に正値が指定されているときに前記画像特徴の比較結果を類似の方向に作用させる一方、前記注目度に負値が指定されているときに前記画像特徴の比較結果を非類似の方向に作用させることを特徴としている。   According to a fourth aspect of the present invention, in the third step, when a positive value is specified for the attention level, the comparison result of the image features acts in a similar direction, while a negative value is specified for the attention level. In this case, the comparison result of the image features is caused to act in a dissimilar direction.

請求項5記載の発明は、データベース中の蓄積画像から検索対象の目的画像中に類似した部分領域を含む画像を検索する装置であって、入力された前記目的画像中からユーザに注目すべき部分領域を選択させる領域選択手段と、前記目的画像中から選択された部分領域の画像特徴を抽出し、前記各蓄積画像について前記目的画像の部分領域と同等の大きさの領域毎に画像特徴を抽出する特徴抽出手段と、前記目的画像中の部分領域の画像特徴と前記各蓄積画像中の各領域の画像特徴とを比較して類似度を算出する類似度計算手段と、算出された前記類似度順に並べ替えた検索結果をユーザに提示する画像ソート手段と、を備えることを特徴としている。   The invention according to claim 5 is an apparatus for searching for an image including a similar partial region in a target image to be searched from stored images in a database, and a portion to be noted by the user from the input target image An area selection means for selecting an area, and an image feature of a partial area selected from the target image are extracted, and an image feature is extracted for each of the accumulated images for each area having the same size as the partial area of the target image. A feature extraction unit that compares the image feature of the partial region in the target image with the image feature of each region in each accumulated image, and calculates the similarity, and the calculated similarity Image sorting means for presenting the search results rearranged in order to the user.

請求項6記載の発明は、前記領域選択手段は、前記目的画像中からユーザが複数の部分領域の選択を可能に設定され、前記特徴抽出手段は、複数選択された部分領域ごとに前記画像特徴を抽出し、前記類似度計算手段は、各部分領域の画像特徴を前記各領域の各画像特徴と比較することを特徴としている。   According to a sixth aspect of the present invention, the area selecting means is set so that a user can select a plurality of partial areas from the target image, and the feature extracting means is configured to select the image feature for each of the selected partial areas. And the similarity calculation means compares the image feature of each partial region with each image feature of each region.

請求項7記載の発明は、前記領域選択手段は、複数選択された各部分領域に注目度を段階的に指定可能に設定され、前記類似度計算手段は、前記注目度の段階を前記類似度に反映させることを特徴としている。   In the seventh aspect of the present invention, the region selecting means is set so that attention can be specified in a stepwise manner for each of the plurality of selected partial regions, and the similarity calculating means sets the attention degree step to the similarity. It is characterized by being reflected in.

請求項8記載の発明は、前記領域選択手段は、前記段階的な注目度に正値と負値のいずれもが指定可能に設定され、前記類似度計算手段は、前記注目度に正値が指定されているときに前記画像特徴の比較結果を類似の方向に作用させる一方、前記注目度に負値が指定されているときに前記画像特徴の比較結果を非類似の方向に作用させることを特徴としている。   In the invention according to claim 8, the region selecting means is set so that either a positive value or a negative value can be specified for the stepwise attention degree, and the similarity calculating means has a positive value for the attention degree. The comparison result of the image feature acts in a similar direction when specified, and the comparison result of the image feature acts in a dissimilar direction when a negative value is specified for the degree of attention. It is a feature.

請求項9記載の発明は、請求項5〜8のいずれか1項に記載の類似領域検索装置としてコンピュータを機能させることを特徴とする類似領域検索プログラムに関する。   A ninth aspect of the present invention relates to a similar region search program that causes a computer to function as the similar region search device according to any one of the fifth to eighth aspects.

請求項1〜記載9の発明によれば、事前に準備した見本特徴セットと対応付けることなく、ユーザの意図を反映した類似画像が検索され、検索精度が向上する。   According to the first to ninth aspects of the invention, a similar image reflecting the user's intention is searched without being associated with a sample feature set prepared in advance, and the search accuracy is improved.

図1は、本発明の実施形態に係る類似領域検索装置200の一構成例を示し、該検索装置200は、データベース中から検索対象の目的画像に類似したカラー領域を含む画像を検索している。   FIG. 1 shows an example of the configuration of a similar area search apparatus 200 according to an embodiment of the present invention. The search apparatus 200 searches an image including a color area similar to a target image to be searched from a database. .

具体的には、前記類似領域検索装置200は、コンピュータにより構成され、入力部202,領域選択部204,データ蓄積部205,特徴抽出部206,領域移動部207,特徴量計算部208,類似度計算部209,類似度比較部210,画像ソート部211,表示部212,制御部213を有している。この各部202〜213はソフトウェアとハードウェアとの協働によって機能している。   Specifically, the similar region search apparatus 200 is configured by a computer, and includes an input unit 202, a region selection unit 204, a data storage unit 205, a feature extraction unit 206, a region movement unit 207, a feature amount calculation unit 208, a similarity degree. A calculation unit 209, a similarity comparison unit 210, an image sorting unit 211, a display unit 212, and a control unit 213 are included. These units 202 to 213 function by cooperation of software and hardware.

すなわち、前記入力部202は、外部記憶装置などから画像データをネットワーク経由で入力する通信デバイスや入出力ポートなどで実現されている。ここで入力された入力画像201を前記目的画像、即ち検索対象のキー画像とする。前記領域選択部204は、キー画像中からユーザに注目すべき部分領域を表示部212上で選択させる。   That is, the input unit 202 is realized by a communication device or an input / output port for inputting image data from an external storage device or the like via a network. The input image 201 input here is set as the target image, that is, a key image to be searched. The region selection unit 204 causes the display unit 212 to select a partial region that should be noted by the user from the key image.

前記データ蓄積部205は、検索する対象の蓄積画像群を蓄積するデータベースとして構築されている。このデータベースの構築には、コンピュータのハードディスクドライブ装置などの保存手段が用いられている。なお、前記データ蓄積部207は、必ずしも前記検索装置200に内蔵されている必要はなく、ネットワーク経由で接続されたデータベースであってもよい。   The data storage unit 205 is constructed as a database for storing a stored image group to be searched. For the construction of this database, storage means such as a hard disk drive of a computer is used. The data storage unit 207 is not necessarily built in the search device 200, and may be a database connected via a network.

前記特徴抽出部206は、キー画像中の各部分領域から画像特徴を抽出している。また、前記データ蓄積部205の蓄積画像中に存在する前記各部分領域と同等の大きさの領域から画像特徴を抽出する。このとき前記領域移動部207にて処理領域の範囲をずらしながら蓄積画像の全領域の画像特徴が抽出される。   The feature extraction unit 206 extracts image features from each partial area in the key image. In addition, image features are extracted from an area having the same size as each of the partial areas existing in the stored image of the data storage unit 205. At this time, the region moving unit 207 extracts the image features of the entire region of the accumulated image while shifting the range of the processing region.

前記特徴量計算部208は、前記特徴抽出206の抽出した各画像特徴の特徴量を算出する。前記類似度計算部209は、前記特徴量算出部208の算出した特徴量を比較して各蓄積画像の類似度を求める。   The feature amount calculation unit 208 calculates the feature amount of each image feature extracted by the feature extraction 206. The similarity calculation unit 209 compares the feature amounts calculated by the feature amount calculation unit 208 to obtain the similarity of each accumulated image.

前記類似度比較部210は、前記類似度を利用して前記キー画像の部分領域の画像特徴を含む蓄積画像を求める。前記画像ソート部211は、前記類似度比較部210の求めた蓄積画像から類似度順にソートする。前記表示部212は、前記画像ソート部211でソートされた画像を表示するモニタであればよい。   The similarity comparison unit 210 obtains an accumulated image including image features of a partial area of the key image using the similarity. The image sorting unit 211 sorts the stored images obtained by the similarity comparison unit 210 in order of similarity. The display unit 212 may be a monitor that displays the images sorted by the image sorting unit 211.

前記制御部213は、前記各部202〜212の処理を指示する演算手段(例えばCPU:Central Processor Unit)により構成されている。   The control unit 213 includes arithmetic means (for example, CPU: Central Processor Unit) that instructs the processing of each of the units 202 to 212.

なお、前記類似領域検索装置200は、通常のコンピュータの構成要素、例えば前記各部202〜212の処理データを一時記憶するメモリ(RAM)や、ポインティングデバイス(マウスなど)・キーボードなどの入力手段も備えている。以下、前記類似領域検索装置200の処理ステップを、図2のフローチャートに基づき具体的に説明する。   The similar area search apparatus 200 also includes an input unit such as a normal computer component, for example, a memory (RAM) for temporarily storing processing data of each of the units 202 to 212, a pointing device (such as a mouse), and a keyboard. ing. Hereinafter, the processing steps of the similar area search apparatus 200 will be described in detail with reference to the flowchart of FIG.

S101:前記入力部202に入力された画像201を、検索対象のキー画像に選択し、これを表示部212に表示する。ここでは複数枚の入力画像201中からキー画像を選択処理させてもよい。   S101: The image 201 input to the input unit 202 is selected as a key image to be searched and displayed on the display unit 212. Here, a key image may be selected from a plurality of input images 201.

S102:前記制御部213は、S101でキー画像が表示されると、前記領域選択部204に部分領域の選択処理の開始を指示する。このとき前記領域選択部204は、ユーザに表示画像中から注目すべき部分領域の選択を促す。   S102: When the key image is displayed in S101, the control unit 213 instructs the region selection unit 204 to start a partial region selection process. At this time, the area selection unit 204 prompts the user to select a partial area to be noted from the display image.

ここで部分領域の選択方法は、図3に示すように、前記表示部212に表示されているキー画像に対して、注目すべき部分領域をポインティングデバイスにて始点・終点を指定して行われる。図3(a)は矩形指定例を示し、図3(b)は楕円指定例を示し、図4はキー画像中の外接矩形の指定例を示している。   Here, as shown in FIG. 3, the method of selecting a partial area is performed by designating a partial area to be noted with respect to the key image displayed on the display unit 212 by specifying a start point and an end point with a pointing device. . FIG. 3A shows an example of specifying a rectangle, FIG. 3B shows an example of specifying an ellipse, and FIG. 4 shows an example of specifying a circumscribed rectangle in the key image.

このとき部分領域は、複数個選択することを可能とする。実現システム上は有限個の部分領域を選択することとなるが、理論上は選択個数に制限はない。複数領域の選択例を図5(a)に示す。ここでは部分領域Aは、黄色と青色の隣接領域の選択を示し、部分領域Bは黄色領域の選択を示し、部分領域Cは青色領域の選択を示しているものとする。   At this time, a plurality of partial areas can be selected. In the realization system, a finite number of partial regions are selected, but the number of selection is theoretically unlimited. An example of selecting a plurality of areas is shown in FIG. Here, it is assumed that the partial area A indicates selection of an adjacent area of yellow and blue, the partial area B indicates selection of a yellow area, and the partial area C indicates selection of a blue area.

この部分領域の選択の際に注目度を併せて指定することもできる。ここでは注目度は、重み係数として数値(例えば1〜9など)がキーボード入力で指定されるものとする。例えば図5(a)では、前記部分領域Aは「重み=1」と指定され、前記部分領域Bは「重み=2」と指定され、前記部分領域Cは「重み=1」と指定されている。   The degree of attention can also be specified when selecting the partial area. Here, the degree of attention is assumed to be specified by a keyboard input as a numerical value (for example, 1 to 9) as a weighting coefficient. For example, in FIG. 5A, the partial area A is designated as “weight = 1”, the partial area B is designated as “weight = 2”, and the partial area C is designated as “weight = 1”. Yes.

この注目度は、正値あるいは負値のどちらも指定することができる。正値・負値の指定方法は、プラス・マイナスの数字を入力する方法や、互いに異なるカラーの数字を入力する方法を用いることができる。図6(a)は、数字のカラーの相違によって正負を区別した一例を示している。ここではキー画像Xの部分領域Aは黄色の数字「2」が入力され、部分領域Bは赤色の数字「1」が入力され、赤色は正値(プラス)を示し、黄色は負値(マイナス)を示しているものとする。   As the attention level, either a positive value or a negative value can be specified. As a method for specifying the positive value / negative value, a method of inputting plus / minus numbers or a method of inputting numbers of different colors can be used. FIG. 6A shows an example in which positive and negative are distinguished by the difference in the color of numbers. Here, a yellow numeral “2” is input to the partial area A of the key image X, a red numeral “1” is input to the partial area B, red indicates a positive value (plus), and yellow indicates a negative value (minus). ).

部分領域に指定された正値は、該部分領域に類似した領域を含む画像を前記データ蓄積部205中から探索することを示している。一方、負値は、該部分領域に類似した領域を含む画像を前記データ蓄積部205中から探索しないこと、即ち負値の部分領域を含まない領域を探索することを示している。   A positive value designated as a partial area indicates that an image including an area similar to the partial area is searched from the data storage unit 205. On the other hand, a negative value indicates that an image including an area similar to the partial area is not searched from the data storage unit 205, that is, an area that does not include a negative partial area is searched.

すなわち、通常の部分領域の指定に際しては、検索のために指定する部分領域は欲しい領域を含んでいる画像を指定することが一般的であるが、ここでは負値の指定されたネガティブな重み付けを導入することで、正値の指定されたポジティブな重み付けを重要視させている。   In other words, when specifying a normal partial area, it is common to specify an image including the desired area as a partial area to be specified for search. Here, a negative weight with a negative value is specified. Introducing positive weighting with positive values is important.

S103:前記制御部213は、注目したい部分領域を全て選択したか否かをユーザに質問する。「Yes」の回答を確認した場合にはS104に進む。一方、「No」の回答を確認した場合にはS102に戻って、ユーザに再度部分領域を選択させる。   S103: The control unit 213 asks the user whether or not all the partial areas to be noticed have been selected. If the answer “Yes” is confirmed, the process proceeds to S104. On the other hand, if the answer of “No” is confirmed, the process returns to S102 to allow the user to select a partial area again.

S104:前記制御部213の指示に基づき前記特徴抽出部206は、キー画像中の各部分領域データから色,テクチャ,モーメントなどの画像特徴を抽出する。   S104: Based on an instruction from the control unit 213, the feature extraction unit 206 extracts image features such as color, texture, and moment from each partial area data in the key image.

ここで抽出された画像特徴の特徴量は、前記特徴量計算部208にて算出される。例えば各部分領域をHSB(色相:Hue,彩度:Saturation,明度:Brightness,or,Value)カラーモデルで表し、色相,彩度,明度に関する特徴量を算出することもできる。また、各部分領域をHSIカラーモデルで表してもよい。   The feature amount of the image feature extracted here is calculated by the feature amount calculation unit 208. For example, each partial region is represented by an HSB (hue: Hue, saturation: Saturation, brightness: Brightness, or, Value) color model, and feature quantities relating to hue, saturation, and brightness can be calculated. Further, each partial region may be represented by an HSI color model.

S105:前記制御部213の指示に基づき、前記特徴抽出部206がデータ蓄積部205を参照して、各蓄積画像中においてS12で選択した部分領域と同等の大きさの領域にS104の処理を実行して画像特徴を抽出する。   S105: Based on the instruction from the control unit 213, the feature extraction unit 206 refers to the data storage unit 205 and executes the process of S104 on an area of the same size as the partial area selected in S12 in each stored image. To extract image features.

S106:前記制御部213は、前記特徴抽出部206に各蓄積画像の全範囲の画像特徴の抽出を指示する。このとき前記領域移動部207にて各蓄積画像上で部分領域の範囲を事前に定めた距離nずつ順次ずらしながら領域毎にS105の処理が実施される。この距離nはプログラムなどに定義された任意値でよい。   S106: The control unit 213 instructs the feature extraction unit 206 to extract image features of the entire range of each accumulated image. At this time, the region moving unit 207 performs the processing of S105 for each region while sequentially shifting the range of the partial region on each accumulated image by a predetermined distance n. This distance n may be an arbitrary value defined in a program or the like.

S107:前記制御部213は、キー画像の全部分領域および各蓄積画像の全領域にS104〜S106の処理を施したか否か確認し、すべて処理した場合(Yes)にはS108に進む。一方、未処理の場合(No)にはS104に戻って再度処理を実行する。なお、算出したすべての特徴量をメモリ(RAM)に一時記憶してS108以降の処理が開始される。   S107: The control unit 213 confirms whether or not the processes of S104 to S106 have been performed on all the partial areas of the key image and all the areas of the accumulated images. If all the processes have been processed (Yes), the process proceeds to S108. On the other hand, if it is not processed (No), the process returns to S104 and the process is executed again. Note that all the calculated feature values are temporarily stored in a memory (RAM), and the processing after S108 is started.

S108:前記制御部213の指示に基づき類似度計算部209は、キー画像中の各部分領域の特徴量と各蓄積画像中の各領域の画像特徴量とを比較して類似度を計算する。   S108: Based on the instruction from the control unit 213, the similarity calculation unit 209 calculates the similarity by comparing the feature amount of each partial region in the key image with the image feature amount of each region in each accumulated image.

ここで類似度は正値をとり、数値が大きいほど類似しているとする。また、非類似度は正値をとり、数値が小さいほど類似しているものとする。なお、同一の画像は、100%、完全に類似していると扱い、類似度を百分率(%)で表すこともできる。   Here, it is assumed that the similarity is a positive value, and the similarity is higher as the numerical value is larger. Further, the dissimilarity takes a positive value, and the smaller the numerical value, the more similar. Note that the same image can be treated as 100% completely similar, and the degree of similarity can be expressed as a percentage (%).

類似度計算の処理例を図6に基づき説明する。ここではキー画像X中から選択された部分領域Aと部分領域Bに重み係数をWA,WBが指定されている。この重み係数はポジティブ指定を正値、ネガティブ指定を負値とする。 A processing example of similarity calculation will be described with reference to FIG. Here subregion selected from among key image X A and part regions B in the weighting factor W A, W B is designated. The weighting coefficient is positive for positive designation and negative for negative designation.

また、図6(b)に示すように、部分領域Aと比較する蓄積画像Yの領域数を、説明を簡単にするために5個として、領域RA1〜RA5とする。同様に部分領域Bの比較対象となる蓄積画像Yの領域をRB1〜RB5とする。 Further, as shown in FIG. 6 (b), the number of regions of the stored image Y to be compared with the partial areas A, as five in order to simplify the explanation, the region RA 1 to RA 5. Similarly, the regions of the stored image Y that are the comparison targets of the partial region B are denoted by RB 1 to RB 5 .

そして、まず部分領域Aと比較する領域RA1〜RA5の(非)類似度VA1〜VA5と、部分領域Bと比較する領域RB1〜RB5の(非)類似度VB1〜VB5を、それぞれ計算する。 Then, the region RA 1 to RA 5 for comparing the first partial region A (dis) similarity VA 1 to VA 5, the region RB 1 ~RB 5 for comparing the partial region B (dis) similarity VB 1 through Vb Calculate 5 respectively.

これらの中で最も類似しているもの(類似度が最大か、非類似度が最小のもの)を部分領域Aに関するキー画像Xと蓄積画像Yの(非)類似度をVAとする。同様に部分領域Bに関する(非)類似度VBを求める。この類似度VA.VBを総合した類似度SYを画像X.Y間の類似度とする。この総合類似度SYは、以下の式(1)で求められる。 Among these, the most similar (the one with the highest similarity or the smallest dissimilarity) is denoted by VA as the (non) similarity between the key image X and the stored image Y related to the partial area A. Similarly, the (non-) similarity VB for the partial region B is obtained. This similarity VA. Similarity S Y combining VB is represented by image X. The similarity between Y is assumed. This total similarity S Y is obtained by the following equation (1).

Figure 2010122931
Figure 2010122931

ここでWAは部分領域Aの注目度を示し、WBは部分領域Bの注目度を示している。もし、類似度を百分率で表している場合で、WBがネガティブ指定の場合は、式(2)となる。この式(1)(2)はプログラムなどに事前に定義しておけばよい。   Here, WA indicates the degree of attention of the partial area A, and WB indicates the degree of attention of the partial area B. If the degree of similarity is expressed as a percentage and WB is negatively specified, Expression (2) is obtained. Expressions (1) and (2) may be defined in advance in a program or the like.

Figure 2010122931
Figure 2010122931

なお、部分領域A.Bの類似度VA.VB、総合類似度SYなどをメモリ(RAM)に一時記憶してS109の処理を実行する。 The partial areas A. B similarity VA. VB, executes the processing of S109 and overall similarity S Y temporarily stored in a memory (RAM).

S109:前記制御部213に基づき前記類似度比較部210は、前記類似度を比較する。この比較結果に基づき前記画像ソート部211は、蓄積画像を類似度順(類似度の大きい順あるいは非類似度の小さい順)に並べ、表示部212を通じてユーザに提示する。   S109: Based on the control unit 213, the similarity comparison unit 210 compares the similarities. Based on the comparison result, the image sorting unit 211 arranges the stored images in the order of similarity (in descending order of similarity or in descending order of dissimilarity) and presents them to the user through the display unit 212.

すなわち、類似度比較部209は、キー画像・各蓄積画像間の類似度を比較し、画像ソート部210にてキー画像と最も近い部分領域の特徴を有する蓄積画像(複数の部分領域の重みも加味)から類似度順に並べ、その結果が最後に表示部212に表示される。このとき表示する枚数を事前に設定しておいてもよい。   That is, the similarity comparison unit 209 compares the similarity between the key image and each stored image, and the image sorting unit 210 stores the stored image having the characteristics of the partial region closest to the key image (including the weights of the plurality of partial regions). The results are arranged on the display unit 212 in the order of similarity. At this time, the number of sheets to be displayed may be set in advance.

このように前記類似領域検索装置200によれば、キー画像中からユーザの関心ある領域を重視した検索が実行されることから、ユーザの検索意図を的確に反映させた検索結果が得られ、検索の精度が向上する。   As described above, according to the similar area search device 200, a search that emphasizes the area of interest of the user from the key image is executed, so that a search result that accurately reflects the user's search intention is obtained. Improves accuracy.

特に、部分領域の注目度を考慮し、部分領域から得られた特徴量の注目度を加味することでユーザの検索意図を検索結果により詳細に反映させることができる。また、ユーザサイドとしても、注目度を指定することで検索結果への反映度を自在に制御可能なメリットが得られる。すなわち、キー画像の部分領域Bよりも部分領域Aの重みが高い場合には、ユーザは部分領域Aの要素を必ず含み、部分領域Bの要素を多少含む検索結果を期待しているので、かかるユーザの意図を反映した検索結果が提示できる。   In particular, the user's search intention can be reflected in the search result in detail by taking into consideration the attention level of the partial area and taking into consideration the attention level of the feature amount obtained from the partial area. Also, the user side can obtain an advantage that the degree of attention can be freely controlled by specifying the degree of attention. That is, when the weight of the partial area A is higher than the partial area B of the key image, the user always expects a search result including the elements of the partial area A and somewhat including the elements of the partial area B. Search results reflecting the user's intention can be presented.

例えば図5(a)の選択指定によれば、部分領域A〜Cを含む蓄積画像がデータ蓄積部205中から検索されるものの、重みは部分領域Bの黄色領域が重要視されるので、図6(b)の検索結果には前記重み付けが反映され、黄色領域を多く含む画像の順に表示される。   For example, according to the selection designation in FIG. 5A, the accumulated image including the partial areas A to C is searched from the data storage unit 205, but the weight of the yellow area of the partial area B is emphasized. The search results in 6 (b) reflect the weighting and are displayed in the order of images including many yellow areas.

また、図6(a)の選択指定は、部分領域A(重み=2)が青色領域を示し、部分領域B(重み=−1)が緑色領域の領域を示している。この場合には青色の領域を含むことが重要視され、図6(b)の検索結果には青色領域を含み緑色領域を含まない画像が表示される。   In addition, in the selection designation in FIG. 6A, the partial area A (weight = 2) indicates a blue area, and the partial area B (weight = −1) indicates a green area. In this case, it is important to include the blue region, and an image including the blue region and not including the green region is displayed in the search result of FIG. 6B.

図7にネガティブ指定とポジティブ指定の比較例を示す。ここでは部分領域Aをポジティブ指定(重み=1)した場合とネガティブ指定(重み=−1)した場合について比較している。図7(a)は、部分領域Aをポジティブ指定した場合を示している。ここでは部分領域Aは緑色の領域を示し、部分領域Bは青色の領域を示し、部分領域Cは白色の領域を示し、部分領域B.Cは「重み=1」とする。この場合の検索結果は、図7(b)に示すように、青色と白色と緑色を含む画像が検索結果に表示される。   FIG. 7 shows a comparative example of negative designation and positive designation. Here, a comparison is made between partial area A when positive designation (weight = 1) and negative designation (weight = −1). FIG. 7A shows a case where the partial area A is positively designated. Here, the partial area A indicates a green area, the partial area B indicates a blue area, the partial area C indicates a white area, and the partial areas B.B. C is “weight = 1”. As a search result in this case, as shown in FIG. 7B, an image including blue, white, and green is displayed in the search result.

一方、図7(c)では、部分領域Aは破線で表示されている。ここでは部分領域1はネガティブ指定に変更されているものとする。この場合の検索結果には、図7(d)に示すように、緑色を含まず、青色と白色を含む画像が検索結果に表示される。このように部分領域の注目度にネガティブ指定を取り入れることにより、ネガティブ指定領域を含まない画像の検索が可能となる。したがって、ネガティブ指定とポジティブ指定とを適宜組み合わせて使用させることで、ユーザの意図を詳細に絞り込むことができる。   On the other hand, in FIG. 7C, the partial area A is indicated by a broken line. Here, it is assumed that the partial area 1 is changed to negative designation. In the search result in this case, as shown in FIG. 7D, an image that does not include green but includes blue and white is displayed in the search result. In this way, by incorporating negative designation into the attention level of the partial area, it is possible to search for an image that does not include the negative designation area. Therefore, the user's intention can be narrowed down in detail by appropriately using negative designation and positive designation in combination.

なお、本発明は、前記実施形態に限定されるものではなく、例えば装置構成などは各請求項に記載した範囲内で変更することができる。また、本発明は、前記類似領域検索装置200としてコンピュータを機能させるプログラムとしても構築することができる。このプログラムは、S101〜S109のすべてのステップをコンピュータに実行させるものでもよく、またS108.S109などの一部のステップのみを実行させるものであってもよい。   In addition, this invention is not limited to the said embodiment, For example, an apparatus structure etc. can be changed within the range described in each claim. The present invention can also be constructed as a program that causes a computer to function as the similar region search apparatus 200. This program may cause the computer to execute all steps of S101 to S109. Only some of the steps such as S109 may be executed.

このプログラムは、Webサイトなどからのダウンロードによってコンピュータに提供することができる。また、前記プログラムは、CD−ROM,DVD−ROM,CD−R,CD−RW,DVD−R,DVD−RW,MO,HDD,Blu−ray Disk(登録商標)などの記録媒体に格納してコンピュータに提供してもよい。この記録媒体から読み出されたプログラムコード自体が前記実施形態の処理を実現するので、該記録媒体も本発明を構成する。   This program can be provided to a computer by downloading from a website or the like. The program is stored in a recording medium such as a CD-ROM, DVD-ROM, CD-R, CD-RW, DVD-R, DVD-RW, MO, HDD, Blu-ray Disk (registered trademark). It may be provided to a computer. Since the program code itself read from the recording medium realizes the processing of the above embodiment, the recording medium also constitutes the present invention.

本発明の実施形態に係る類似領域検索装置の構成図。The block diagram of the similar area | region search apparatus which concerns on embodiment of this invention. 同 処理ステップのフローチャート。The flowchart of the processing step. (a)は部分領域の矩形指定例を示す概略図、(b)は部分領域の楕円指定例を示す概略図。(A) is a schematic diagram showing a rectangular designation example of a partial area, (b) is a schematic diagram showing an elliptic designation example of a partial area. キー画像中の外接矩形の指定例を示す概略図。Schematic which shows the example of designation | designated of the circumscribed rectangle in a key image. (a)は重み付き外接矩形領域の複数指定例を示す図、(b)は(a)の検索結果を示す図。(A) is a figure which shows the example of multiple designation | designated of the weighted circumscribed rectangular area | region, (b) is a figure which shows the search result of (a). (a)は画像X上のネガティブな重み付き外接矩形領域の指定例を示す図、(b)は画像Y上の比較対象部分領域を示す図。(A) is a figure which shows the example of designation | designated of the negative weighted circumscribed rectangular area on the image X, (b) is a figure which shows the comparison object partial area | region on the image Y. (a)は複数のポジティブ指定例を示す比較図、(b)は(a)の検索結果を示す比較図、(c)は部分領域Aをネガティブ指定に変更した比較図、(d)は(c)の検索結果を示す比較図。(A) is a comparison diagram showing a plurality of positive designation examples, (b) is a comparison diagram showing the search results of (a), (c) is a comparison diagram in which partial area A is changed to negative designation, and (d) is ( The comparison figure which shows the search result of c).

符号の説明Explanation of symbols

200…類似領域検索装置
201…入力画像
202…入力部
203…領域選択部
204…特徴抽出部
205…データ蓄積部
206…特徴抽出部
207…領域移動部
208…特徴量計算部
209…類似度計算部
210…類似度比較部
211…画像ソート部
212…表示部
213…制御部
DESCRIPTION OF SYMBOLS 200 ... Similar area search apparatus 201 ... Input image 202 ... Input part 203 ... Area selection part 204 ... Feature extraction part 205 ... Data storage part 206 ... Feature extraction part 207 ... Area movement part 208 ... Feature-value calculation part 209 ... Similarity calculation Unit 210 ... Similarity comparison unit 211 ... Image sorting unit 212 ... Display unit 213 ... Control unit

Claims (9)

データベース中の蓄積画像から検索対象の目的画像中に類似した部分領域を含む画像を検索する方法であって、
領域選択手段が、入力された前記目的画像中からユーザに注目すべき部分領域を選択させる第1ステップと、
特徴抽出手段が、前記目的画像中から部分領域の画像特徴を抽出し、前記各蓄積画像について前記目的画像の部分領域と同等の大きさの領域毎に画像特徴を抽出する第2ステップと、
類似度計算手段が、前記目的画像中の部分領域の画像特徴と前記各蓄積画像中の各領域の画像特徴とを比較して類似度を算出する第3ステップと、
画像ソート手段が、前記第3ステップで算出された類似度順に並べ替えた検索結果をユーザに提示する第4ステップと、
を備えることを特徴とする類似領域検索方法。
A method for searching for an image including a similar partial area in a target image to be searched from stored images in a database,
A first step of causing the region selection means to select a partial region to be noticed by the user from the inputted target image;
A second step in which feature extraction means extracts image features of a partial area from the target image, and extracts an image feature for each area having the same size as the partial area of the target image for each stored image;
A third step of calculating a similarity by comparing the image feature of the partial region in the target image with the image feature of each region in each accumulated image;
A fourth step in which the image sorting means presents to the user the search results sorted in the order of similarity calculated in the third step;
A similar region search method comprising:
前記第2ステップは、複数の部分領域が選択されたときに前記画像特徴を部分領域ごとに抽出し、
前記第3ステップは、各部分領域の画像特徴を前記各領域の各画像特徴と比較することを特徴とする請求項1記載の類似領域検索方法。
The second step extracts the image features for each partial area when a plurality of partial areas are selected,
The similar region search method according to claim 1, wherein the third step compares an image feature of each partial region with each image feature of each region.
前記第3ステップは、選択された各部分領域に注目度が段階的に指定されているときに、
前記注目度の段階を前記類似度に反映させることを特徴とする請求項2記載の類似領域検索方法。
In the third step, when the degree of attention is specified stepwise for each selected partial region,
The similar region search method according to claim 2, wherein the attention level is reflected in the similarity.
前記第3ステップは、前記注目度に正値が指定されているときに前記画像特徴の比較結果を類似の方向に作用させる一方、
前記注目度に負値が指定されているときに前記画像特徴の比較結果を非類似の方向に作用させることを特徴とする請求項3記載の類似領域検索方法。
The third step causes the comparison result of the image features to act in a similar direction when a positive value is designated for the degree of attention,
The similar region search method according to claim 3, wherein the comparison result of the image features is applied in a dissimilar direction when a negative value is designated for the degree of attention.
データベース中の蓄積画像から検索対象の目的画像中に類似した部分領域を含む画像を検索する装置であって、
入力された前記目的画像中からユーザに注目すべき部分領域を選択させる領域選択手段と、
前記目的画像中から選択された部分領域の画像特徴を抽出し、前記各蓄積画像について前記目的画像の部分領域と同等の大きさの領域毎に画像特徴を抽出する特徴抽出手段と、
前記目的画像中の部分領域の画像特徴と前記各蓄積画像中の各領域の画像特徴とを比較して類似度を算出する類似度計算手段と、
算出された前記類似度順に並べ替えた検索結果をユーザに提示する画像ソート手段と、
を備えることを特徴とする類似領域検索装置。
An apparatus for searching for an image including a similar partial area in a target image to be searched from stored images in a database,
A region selecting means for allowing the user to select a partial region to be noted from the input target image;
Feature extraction means for extracting image features of a partial area selected from the target image, and extracting an image feature for each of the accumulated images for each area having the same size as the partial area of the target image;
Similarity calculation means for calculating the similarity by comparing the image feature of the partial region in the target image and the image feature of each region in each accumulated image;
Image sorting means for presenting to the user the search results sorted in the calculated order of similarity;
A similar region search device comprising:
前記領域選択手段は、前記目的画像中からユーザが複数の部分領域の選択を可能に設定され、
前記特徴抽出手段は、複数選択された部分領域ごとに前記画像特徴を抽出し、
前記類似度計算手段は、各部分領域の画像特徴を前記各領域の各画像特徴と比較することを特徴とする請求項5記載の類似領域検索装置。
The region selection means is set so that a user can select a plurality of partial regions from the target image,
The feature extraction means extracts the image features for each of a plurality of selected partial areas,
6. The similar region search apparatus according to claim 5, wherein the similarity calculation unit compares the image feature of each partial region with each image feature of each region.
前記領域選択手段は、複数選択された各部分領域に注目度を段階的に指定可能に設定され、
前記類似度計算手段は、前記注目度の段階を前記類似度に反映させることを特徴とする請求項2記載の類似領域検索方法。
The area selection means is set so that the degree of attention can be specified in stages for each of the selected partial areas.
3. The similar region search method according to claim 2, wherein the similarity calculation unit reflects the attention level in the similarity.
前記領域選択手段は、前記段階的な注目度に正値と負値のいずれもが指定可能に設定され、
前記類似度計算手段は、前記注目度に正値が指定されているときに前記画像特徴の比較結果を類似の方向に作用させる一方、
前記注目度に負値が指定されているときに前記画像特徴の比較結果を非類似の方向に作用させることを特徴とする請求項7記載の類似領域検索装置。
The region selecting means is set so that either a positive value or a negative value can be specified for the stepwise attention degree,
The similarity calculation means causes the comparison result of the image features to act in a similar direction when a positive value is designated for the attention level,
The similar region search device according to claim 7, wherein the comparison result of the image features is applied in a dissimilar direction when a negative value is designated for the attention degree.
請求項5〜8のいずれか1項に記載の類似領域検索装置としてコンピュータを機能させることを特徴とする類似領域検索プログラム。   A similar region search program that causes a computer to function as the similar region search device according to claim 5.
JP2008296315A 2008-11-20 2008-11-20 Similar area retrieval method, similar area retrieval device, and similar area retrieval program Pending JP2010122931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008296315A JP2010122931A (en) 2008-11-20 2008-11-20 Similar area retrieval method, similar area retrieval device, and similar area retrieval program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008296315A JP2010122931A (en) 2008-11-20 2008-11-20 Similar area retrieval method, similar area retrieval device, and similar area retrieval program

Publications (1)

Publication Number Publication Date
JP2010122931A true JP2010122931A (en) 2010-06-03

Family

ID=42324213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008296315A Pending JP2010122931A (en) 2008-11-20 2008-11-20 Similar area retrieval method, similar area retrieval device, and similar area retrieval program

Country Status (1)

Country Link
JP (1) JP2010122931A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013152543A (en) * 2012-01-24 2013-08-08 Fujitsu Ltd Image storage program, method and device
WO2016139964A1 (en) * 2015-03-05 2016-09-09 オムロン株式会社 Region-of-interest extraction device and region-of-interest extraction method
JP2017504861A (en) * 2013-11-12 2017-02-09 ピンタレスト,インコーポレイテッド Image-based search
JP2017041205A (en) * 2015-08-21 2017-02-23 株式会社リコー Image management system, image communication system, image management method, and program
JP2017519285A (en) * 2014-05-16 2017-07-13 マイクロソフト テクノロジー ライセンシング,エルエルシー Natural language image search

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013152543A (en) * 2012-01-24 2013-08-08 Fujitsu Ltd Image storage program, method and device
JP2017504861A (en) * 2013-11-12 2017-02-09 ピンタレスト,インコーポレイテッド Image-based search
JP2018152094A (en) * 2013-11-12 2018-09-27 ピンタレスト,インコーポレイテッド Image-based search
US10515110B2 (en) 2013-11-12 2019-12-24 Pinterest, Inc. Image based search
US11436272B2 (en) 2013-11-12 2022-09-06 Pinterest, Inc. Object based image based search
JP2017519285A (en) * 2014-05-16 2017-07-13 マイクロソフト テクノロジー ライセンシング,エルエルシー Natural language image search
US11222044B2 (en) 2014-05-16 2022-01-11 Microsoft Technology Licensing, Llc Natural language image search
WO2016139964A1 (en) * 2015-03-05 2016-09-09 オムロン株式会社 Region-of-interest extraction device and region-of-interest extraction method
JP2017041205A (en) * 2015-08-21 2017-02-23 株式会社リコー Image management system, image communication system, image management method, and program

Similar Documents

Publication Publication Date Title
US8498473B2 (en) System for computationally quantifying similarities between images
US6690828B2 (en) Method for representing and comparing digital images
JP5212610B2 (en) Representative image or representative image group display system, method and program thereof, and representative image or representative image group selection system, method and program thereof
US20080162469A1 (en) Content register device, content register method and content register program
WO2011161889A1 (en) Image evaluation device, image evaluation method, program, and integrated circuit
JP2005535952A (en) Image content search method
JP3538147B2 (en) Representative color specification method using reliability
JP2004334594A (en) Image searching device, image searching method, image searching program, and recording medium with the program recorded thereon
JP4374902B2 (en) Similar image search device, similar image search method, and similar image search program
JP4253498B2 (en) Image search program, storage medium storing the program, image search device, and image search method
JP2010122931A (en) Similar area retrieval method, similar area retrieval device, and similar area retrieval program
JP2004005303A (en) Image search system, image searching method, and image search program
JP2004192555A (en) Information management method, device and program
JPH01103735A (en) Resembling image retrieving system
US20110249873A1 (en) Finger/palm-print image processing apparatus, finger/palm-print image processing method, and recording medium in which finger/palm-print image processing program has been recorded
JP2005293367A (en) Image processing method and device
JP5794001B2 (en) Information search method, information search device, and information search program
JP2009104533A (en) Information management device, information management method, and program
CN111026935B (en) Cross-modal retrieval reordering method based on adaptive measurement fusion
JPH08263522A (en) Image retrieving method
JP2005190401A (en) Face image layout method, system, and program
JP2000048041A (en) Data retrieval system and device to be used for the system
EP2869213A1 (en) Media content ordering system and method for ordering media content
KR100319150B1 (en) Method for image checking by weight automatic decision for each type and element feature element
JPH0573625A (en) Similar scale constitution processing method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100610