JP2004139246A - Image search system, image search method, program, and storage medium - Google Patents

Image search system, image search method, program, and storage medium Download PDF

Info

Publication number
JP2004139246A
JP2004139246A JP2002301794A JP2002301794A JP2004139246A JP 2004139246 A JP2004139246 A JP 2004139246A JP 2002301794 A JP2002301794 A JP 2002301794A JP 2002301794 A JP2002301794 A JP 2002301794A JP 2004139246 A JP2004139246 A JP 2004139246A
Authority
JP
Japan
Prior art keywords
image
search
image data
keyword
classification
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
JP2002301794A
Other languages
Japanese (ja)
Inventor
Mikiko Sugiyama
杉山 幹子
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002301794A priority Critical patent/JP2004139246A/en
Publication of JP2004139246A publication Critical patent/JP2004139246A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To make classified subsidiary information easily understood visually to enhance operability of image search, in the image search wherein the subsidiary information imparted to an image data is hierarchized, and wherein a search condition is set based on the hierarchized subsidiary information to conduct the search. <P>SOLUTION: A CPU 12 of an image search system 11 classifies the image data based on the registration-objective image data and keywords imparted to the image data, sets the keyword as a search condition sentence to conduct keyword search, sets as a representative image the most specious image data out of an image data group provided by the keyword search, displays on a CRT 15 the keyword conformed with a classification name of the image data, and the representative image corresponding to the keyword, searches the image based on the search condition set according to the display, and display-controls the image data provided by the image search on the CRT 15. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、電子カメラやビデオカメラ等の電子スチルカメラで撮影された複数の画像データを表示し画像データの検索を行う場合に好適な画像検索装置、画像検索方法、プログラム、及び記憶媒体に関する。
【0002】
【従来の技術】
近年、写真等の画像データをデジタル信号としてメモリカード等に記憶する電子カメラやビデオカメラ等の電子スチルカメラが提供されている。これらの電子スチルカメラで撮影された写真等の画像データは、光メモリなどの可搬性メモリに記憶することにより、従来の銀塩フィルムを用いたカメラで撮影された写真と比べ、物理的なスペースを必要とすることなく大量に保持することが可能になっている。
【0003】
従来、上記のような大量に蓄積された画像データの中から所望とする画像データを検索する手段として、蓄積されている個々の画像データにキーワードを付与し、操作者が指定した検索条件と画像データに付与されたキーワードとを比較することで、所望とする画像データの検索を行う手法がある。以降、前記検索手法をキーワード検索と呼ぶ。この検索手法では、表示装置における予め用意された入力フィールドに操作者が検索条件を入力する。この場合、検索条件において、自然言語文での記述や論理演算子などでキーワードを複数指定することも可能である。また、キーワードを指定する手段として、操作者が先頭文字を入力すると、その先頭文字と同じキーワードが画像データベースから検索され、操作者が検索結果リストから選択する方法も存在する。
【0004】
また、キーワードを用いて画像データを検索する手法として、キーワードを階層化することで画像データを検索する手法が存在する。即ち、キーワードを階層化して画像データを検索する手法において、予め意味的に階層化したディレクトリ構造を持ちその階層化名をキーワードとし、これらの階層を提示してキーワードを付与するか、もしくはキーワードを分類させることで画像データを検索する手法が存在する(例えば、特許文献1参照。)。
【0005】
【特許文献1】
特開平7−129621号公報
【0006】
【発明が解決しようとする課題】
しかしながら、上記従来技術における画像データ検索方法では、特にキーワードを用いて画像データの検索を行う場合、所望とする画像データに適切なキーワードを見出して検索条件文において指定することが必要である。例えば、キーワード検索において、蓄積された画像データのキーワードを予め認知していれば、簡単に所望の画像データを検索することは可能であるが、蓄積された画像データのキーワードを認知していない場合、操作者が適切なキーワードを試行錯誤しながら指定することで画像データ検索を行わなければならない。
【0007】
また、予め階層化したディレクトリ構造を持ちその階層化名をキーワードとし、これらの階層を提示してキーワードを付与するか、もしくはキーワードを分類させることで画像データを検索する手法については、分類されたキーワードのみを表示するとそのキーワードの内容が分からない場合がある。特に、コンテンツビジネスで取り扱われる画像データに付与されるキーワードなどは、キーワードを付与する人と画像データを検索する人が異なるため、このような状況が起こりやすい。
【0008】
本発明は、上述した点に鑑みなされたものであり、画像データに付与されている付帯情報を予め階層化しその階層化した付帯情報より検索条件を設定して検索する画像検索において、分類された付帯情報を視覚的に分かりやすくすることにより画像検索の操作性を向上させることを可能とした画像検索装置、画像検索方法、プログラム、及び記憶媒体を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するため、本発明は、画像データの検索を行う画像検索装置において、登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行う画像分類手段と、前記付帯情報に対する代表画像を設定する代表画像設定手段と、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示する付帯情報表示手段と、前記表示に従い検索条件を設定する検索条件設定手段と、前記検索条件に基づき画像検索を行う画像検索手段と、前記画像検索で取得した画像データを表示する検索結果表示手段とを有することを特徴とする。
【0010】
また、本発明は、画像データの検索を行う画像検索方法において、登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行う画像分類工程と、前記付帯情報に対する代表画像を設定する代表画像設定工程と、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示する付帯情報表示工程と、前記表示に従い検索条件を設定する検索条件設定工程と、前記検索条件に基づき画像検索を行う画像検索工程と、前記画像検索で取得した画像データを表示する検索結果表示工程とを有することを特徴とする。
【0011】
また、本発明は、登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行う機能と、前記付帯情報に対する代表画像を設定する機能と、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示する機能と、前記表示に従い検索条件を設定する機能と、前記検索条件に基づき画像検索を行う機能と、前記画像検索で取得した画像データを表示する機能を、コンピュータに実現させるためのプログラムであることを特徴とする。
【0012】
また、本発明は、画像データの検索を行う画像検索方法を実行するプログラムを記憶したコンピュータにより読み出し可能な記憶媒体において、前記画像検索方法は、登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行うステップと、前記付帯情報に対する代表画像を設定するステップと、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示するステップと、前記表示に従い検索条件を設定するステップと、前記検索条件に基づき画像検索を行うステップと、前記画像検索で取得した画像データを表示するステップとを有することを特徴とする。
【0013】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて詳細に説明する。
【0014】
[第1の実施の形態]
図1は本発明の第1の実施の形態に係る画像検索装置の構成例を示すブロック図である。画像検索装置11は、CPU12、ROM13、RAM14、周辺コントローラ部16を装置本体内部に備えると共に、表示装置(CRT)15、外部記憶装置17、入力装置20を装置本体外部に付設した構成となっている。図中18はデジタルカメラ、19はデジタルビデオカメラである。
【0015】
CPU12は、画像検索装置11の制御の中心となる中央処理装置であり、ROM13に格納されたプログラムに基づき後述の各フローチャートに示す処理を実行する。ROM13は、画像検索を行うためのプログラム及びデータテーブル等を保存しておくための読み出し専用メモリである。RAM14は、ROM13に格納されたプログラムを実行するための作業領域等を提供する随時書き込み読み出しメモリである。表示装置15は、画像検索装置11の処理状況を表示するためのものであり、例えばCRTディスプレイ(以後CRT)から構成されている。尚、表示装置15はCRTに限定されず液晶でもよい。
【0016】
周辺コントローラ部16は、外部記憶装置17や、入力装置20、デジタルカメラ18、デジタルビデオカメラ19等の外部入出力装置と接続するためのものである。外部記憶装置17は、画像データを保存するための記憶装置である。デジタルカメラ18は、被写体を撮影し画像データを生成する撮像装置である。デジタルビデオカメラ19は、被写体を撮影し画像データを生成する撮像装置である。操作者がデジタルカメラ18やデジタルビデオカメラ19等で撮影し取得した画像データは、外部記憶装置17やROM13に保持される。入力装置20は、マウスやキーボードなどから構成されており、各種指示や各種データ入力に用いる。
【0017】
図2は画像検索装置における画像情報テーブルの構成例を示す図である。この画像情報テーブルは、画像検索装置のROM13もしくは外部記憶装置17において保持されている。画像情報テーブルは、操作者がデジタルカメラ18やデジタルビデオカメラ19等で撮像し取得した画像データのファイル名を示す画像データファイル名22と、その画像データを識別する画像ID21とから構成されている。
【0018】
図2における例で説明すると、例えば画像データファイル「000_0001.jpg」には、画像ID「001」が割り当てられている。この場合、画像IDには任意の数値(連番)を用いているが、画像データファイル名が一意となる場合、画像データファイル名を画像IDとして用いてもよい。
【0019】
図3は画像検索装置におけるキーワード情報テーブルの構成例を示す図である。このキーワード情報テーブルは、画像検索装置のROM13もしくは外部記憶装置17において保持されている。キーワード情報テーブルは、画像データを識別する画像ID31と、その画像データに付与されているキーワード32と、そのキーワードの重要度を示すキーワード重要度33とから構成されている。
【0020】
本実施の形態では、キーワードの重要度は、画像の主題的な言葉の場合は「3」が、その言葉で検索して表示された場合に満足である場合は「2」が、重要ではないが妥当なキーワードである場合は「1」が付与されている。本実施の形態では、このような基準においてキーワードに重要度を付加しているが、画像に付与されたキーワードの重要度を示すものであれば上記例に限定されるものではない。図3における例で説明すると、画像ID「001」には、キーワードである「花」、「赤い」、「公園」が付与されており、それぞれのキーワードにおいて「(花=)3」、「(赤い=)1」、「(公園=)1」と重要度が付与されている。
【0021】
図17は画像検索装置における意味分類情報テーブルの構成例を示す図である。この意味分類情報テーブルは、画像検索装置のROM13もしくは外部記憶装置17において保持されている。意味分類情報テーブルは、画像データを識別する画像ID171と、その画像データに付与されているキーワード172と、そのキーワードの分類173とから構成されている。尚、本実施の形態では、意味分類情報テーブルとキーワード情報テーブルを別構成のテーブルとしているが、意味分類情報とキーワード情報を同じテーブル上で構成してもよい。
【0022】
図4は画像検索装置におけるシソーラス(Thesaurus)辞書の構成例を示す図である。このシソーラス辞書は、画像検索装置のROM13もしくは外部記憶装置17において保持されている。シソーラス辞書は、単語表記を示す見出し語41と、その意味的分類を示す意味分類42と、品詞43とから構成されている。
【0023】
図4における例で説明すると、見出し語「公園」は、品詞が「名詞」、意味分類が「具体物:製造物:抽象物:場所」を示す。また、この場合、「具体物(第一階層)、製造物(第二階層)」と「抽象物(第一階層)、場所(第二階層)」の2つの意味を持つことを示す。また、見出し語「赤い」は、品詞が「形容詞」、意味分類は無しになっている。尚、本実施の形態では、シソーラス辞書内において品詞も構成要素となっているが、シソーラス辞書とは別に品詞を単語辞書として構成してもよい。
【0024】
図5は画像検索装置におけるキーワード分類情報テーブルの構成例を示す図である。このキーワード分類情報テーブルは、画像検索装置のROM13もしくは外部記憶装置17において保持されている。キーワード分類情報テーブルは、分類内容を示す分類名51と、その分類に当てはまるキーワード52と、そのキーワードにおける代表画像の画像ID53と、蓄積された画像のキーワードにおけるそのキーワードの重要度を加算した値であるレベル54とから構成されている。このレベル54は、重要度が高くなお且つそのキーワードが多くの画像に付与されている場合に高くなる。
【0025】
図5における例で説明すると、キーワード「魚」は、「動物」に分類され、代表画像は「039」、レベルは「12」となっている。この代表画像としては、蓄積された画像の中からキーワード「魚」が存在している画像の1つが選択される。また、キーワード「魚」(レベル12)は、キーワード「象」(レベル10)やキーワード「犬」(レベル2)よりも重要度が高い値で格納されている。
【0026】
図6は画像検索装置における検索画面の表示例を示す図である。この検索画面は、画像検索装置のCPU12の制御によりCRT15において表示される。検索画面の表示内容は、分類内容を示す分類名61と、その分類に当てはまるキーワード数を示すキーワード数62と、その分類に当てはまるキーワードを示すキーワードコントロール63と、そのキーワードに対する画像データ例を表示する代表画像コントロール64と、検索条件のキーワードを入力するための検索条件コントロール65と、検索の実行を指示するための検索実行コントロール66とから構成されている。
【0027】
キーワードコントロール63は、本実施の形態ではチェックボックスコントロールで構成されているものとする。しかし、キーワードコントロール63の構成は本例に限定されず、ボタンコントロールなど、キーワードが指定されたかどうかを判断できるようになっているコントロールであればよい。もしくは、キーワードをマウスもしくはキーボード等の入力装置20により選択し、検索条件コントロール65にドラッグ及びドロップすることにより、そのキーワードが自動的に入力されても構わない。また、代表画像コントロール64においても、該当代表画像が選択されたかどうかを判断できるコントロールで構成されており、本実施の形態ではボタンコントロール上に画像データが表示されるようになっている。
【0028】
図6における例で説明すると、画像データは大きく分類名61「動物」、「人間」、「植物」、「場所」、「製造物」、「抽象物」に分類される。尚、それぞれの分類にあてはまるキーワード数62は、「動物」が「50」、「人間」が「100」、「植物」が「40」、「場所」が「99」、「製造物」が「12」、「抽象物」が「50」存在している。そして、分類名61「動物」にあてはまる画像に付与されているキーワード63には、「魚」、「象」、「犬」が存在している。各々のキーワードコントロール63の隣には、それぞれ、代表画像を示す代表画像コントロール64が表示されている。
【0029】
図12は画像検索装置における異表記同義語辞書の構成例を示す図である。この異表記同義語辞書は、画像検索装置のROM13もしくは外部記憶装置17において保持されている。異表記同義語辞書は、見出し語121と、その見出し語にあてはまる異表記もしくは同義語122とから構成されている。図12における例で説明すると、見出し語「花」に対しては、「フラワー」、「お花」、「flower」などの異表記もしくは同義語が存在している。
【0030】
図13は画像検索装置における下位概念単語辞書の構成例を示す図である。この下位概念単語辞書は、画像検索装置のROM13もしくは外部記憶装置17において保持されている。下位概念単語辞書は、見出し語131と、その見出し語にあてはまる下位概念を示す単語132と、その階層を示すレベル133とから構成されている。図13における例で説明すると、見出し語「車」に対しては、「ポルシェ」、「バイク」、「車輪」などの下位概念の単語が存在しており、それぞれレベル「ポルシェ(0.8)」「バイク(0.64)」「車輪(0.55)」が付与されている。
【0031】
次に、第1の実施の形態の画像検索装置における画像検索方法について図1〜図17を参照しながら詳細に説明する。
【0032】
<キーワードの登録処理を行ったときの動作例>
図7及び図8は画像検索装置におけるキーワードの登録処理を行ったときの動作例を示すフローチャートである。本フローチャートに示す処理は画像検索装置のCPU12がROM13に格納されたプログラムに基づき実行する。
【0033】
先ず、ステップS11において、画像検索装置のCPU12はキーワードの登録が終了したかどうかを判断する。ステップS11でキーワードの登録が終了していないと判断した場合は、ステップS12において、CPU12は入力装置20からの操作者による所定操作に基づき、登録対象の画像データとして、外部記憶装置17またはROM13に既に格納されている画像データ、もしくはデジタルカメラ18やデジタルビデオ19等で撮像された画像データを周辺コントローラ部16を経由して取得する。次に、ステップS13において、CPU12は上記ステップS12で取得した画像データに付与するキーワードを、入力装置20からの操作者によるキーワード入力により取得する。
【0034】
次に、ステップS14において、CPU12は上記ステップS13で取得したキーワードにおける重要度を、入力装置20からの操作者による重要度入力により取得する。本実施の形態では、重要度を入力装置20からの操作者による入力により取得することとしているが、キーワードの入力順位により重要度を自動的に付与してもよい。そして、ステップS15及びステップS16において、CPU12は上記ステップS13で取得したキーワードに対する意味分類及び品詞を図4のシソーラス辞書を用いて取得する。
【0035】
次に、ステップS17において、CPU12は分類名を決定する。この詳細については図15及び図16において説明を行う。また、本実施の形態においては、分類項目としては、「人間」「植物」「動物」「場所」「製造物」「抽象物」と分類しているが、この分類だけに限定されるものではない。そして、ステップS18において、CPU12は上記ステップS12で取得した画像データに付与するキーワードが終了するまで、上記ステップS13からステップS18の処理を繰り返す。また、上記ステップS12で取得した画像データ、上記ステップS13で取得したキーワード、上記ステップS14で取得した重要度、及び上記ステップS17で取得した分類名は、それぞれRAM14に保持する。
【0036】
そして、上記ステップS11でキーワードを付与する画像が終了したと判断した場合は、ステップS19において、CPU12はRAM14に保持したそれぞれのデータをデータベースに登録する。このデータベースは、本実施の形態のテーブルをデータベースとして登録したものであり、外部記憶装置17もしくはROM13に保持されている。また、上記各テーブルは、インデックスを作成することでアクセスの高速化を可能とする構成になっている。
【0037】
ステップS19では、先ず、CPU12は上記ステップS12で取得した画像データを、図2に示す画像情報テーブルの画像データファイル名に登録し、画像IDを割り当てる。次に、CPU12は上記ステップS13で取得したキーワードと上記ステップS14で取得した重要度を、図3に示すキーワード情報テーブルに保持する。また、上記ステップS17で取得した分類名は、図17に示す意味分類情報テーブルに登録する。次に、ステップS20において、CPU12は登録したキーワードを取得する。このとき、予め登録されたキーワードにおいて分類名とキーワードが同じものは重複を取り除いておく。次に、ステップS21において、CPU12は図5に示すキーワード分類情報テーブルにおいてキーワードが登録されているかどうかを判断する。
【0038】
上記ステップS21でキーワードが登録されていないと判断した場合は、ステップS24へ進む。上記ステップS21でキーワードが登録されていると判断した場合は、ステップS22において、CPU12は登録したキーワードを検索条件文として設定しキーワード検索を行い、代表画像の取得を行う。この詳細については図11において説明を行う。次に、ステップS23において、CPU12はキーワード検索して求めた画像データ群の中で一番もっともらしい画像データを代表画像として設定する。取得した代表画像は、図5に示すキーワード分類情報テーブルにおける代表画像53に登録する。また、このとき、分類名及びキーワードも登録する。
【0039】
ステップS24において、CPU12は登録キーワードが終了するまで上記ステップS21からステップS24までの処理を繰り返す。次に、ステップS25において、CPU12は分類内でキーワードが増えた分類に限り意味分類順位処理を行う。この詳細については図14において説明を行う。この処理で取得したキーワードの順位は、図5に示すキーワード分類情報テーブルにおけるレベルに反映される。
【0040】
<分類決定処理を行ったときの動作例>
図15及び図16は画像検索装置における分類決定処理を行ったときの動作例を示すフローチャートである。本フローチャートに示す処理は画像検索装置のCPU12がROM13に格納されたプログラムに基づき実行する。
【0041】
先ず、ステップS71において、CPU12は上記図7の意味分類取得処理(ステップS15)において取得した意味分類が存在するかどうかを判断する。上記ステップS71で意味分類が存在していないと判断した場合は、ステップS72において、CPU12は分類設定を行う品詞かどうかを、上記図7の品詞取得処理(ステップS16)において取得した品詞により判断する。品詞が助詞、助動詞、接続詞、代名詞などの意味を持たない単語については、分類名を取得しない。上記ステップS72で分類設定を行う品詞であると判断した場合は、ステップS73において、CPU12は分類名を「抽象物」と設定する。ここで分類名を「抽象物」と設定したが、分類名は限定されるものではなく他の分類と区別できればよい。
【0042】
上記ステップS71で意味分類が存在していると判断した場合は、ステップS74において、CPU12は上記図7のステップS15において取得した意味分類で、第一階層となる意味分類が2以上存在するかどうかを判断する。上記ステップS74で第一階層となる意味分類が存在しない場合は、ステップS80において、CPU12は上記取得した意味分類を分類名に設定する。上記ステップS74で第一階層となる意味分類が1つであった場合は、ステップS80において、CPU12は当該1つの意味分類を分類名に設定する。
【0043】
上記ステップS74で第一階層となる意味分類が2つ以上であった場合は、ステップS75において、CPU12は判断分類名の取得を行う。この判断分類名とは、上記図7のステップS15で取得した意味分類において、第一階層ごとの意味分類の分類を示す。例えば、キーワード「マウス」についての意味分類は、「具体物(第一階層)、動物(第二階層)、具体物(第一階層)、製造物(第二階層)」となり、判断分類名は、「動物」及び「製造物」となる。
【0044】
次に、ステップS76において、CPU12は上記ステップS75で取得した分類名により類似内容検索を行う。類似内容検索の詳細については、従来方法と同様に行うため詳細な説明は省略する。次に、ステップS77において、CPU12は上記ステップS76の類似内容検索を行った結果において、当該キーワードを設定した画像が存在するか判断する。画像が存在した場合は、ステップS78において、CPU12は分類名を判断分類名で設定する。画像が存在しなかった場合は、CPU12は分類名を設定しない。ステップS79において、意味分類に存在する判断分類名が終了するまで、上記ステップS75からステップS79の処理を繰り返す。
【0045】
<キーワード検索処理を行ったときの動作例>
図11は画像検索装置におけるキーワード検索処理を行ったときの動作例を示すフローチャートである。本フローチャートに示す処理は画像検索装置のCPU12がROM13に格納されたプログラムに基づき実行する。
【0046】
先ず、ステップS51において、CPU12は画像検索を行うための検索条件文(キーワード)を取得する。次に、ステップS52において、CPU12は自然言語処理により検索条件文を単語に分割する。この自然言語処理については既存の自然言語処理を用いることとし説明を省略する。上記分割された単語において、品詞を参照した結果、助詞や助動詞などの具体物もしくは抽象物を示さない単語は、この分割単語より削除する。次に、ステップS53において、CPU12は上記ステップS52で単語分割されたそれぞれの単語において、異表記及び同義語を図12の異表記同義語辞書により取得する。そして、ステップS54において、CPU12は下位概念単語及びそのレベルを図13の下位概念単語辞書により取得する。
【0047】
次に、ステップS55において、CPU12は分割された単語が終了するまで異表記同義語の検索キーの作成、下位概念検索キーの作成を繰り返す。次に、ステップS56において、上記ステップS52で分割された単語と、上記ステップS53で取得した異表記同義語単語と、上記ステップS54で取得した下位概念単語を検索キーとして、図3に示すキーワード情報テーブルを参照することで、上記ステップS51で取得したキーワードと検索キーとを比較し、両者が同じであればその画像データを取得する。
【0048】
次に、ステップS57において、CPU12は取得した画像データについてスコア計算を行う。このスコア計算は、キーワードをレベル3、キーワードから展開された異表記同義語単語をレベル2、キーワードから展開された下位概念単語をレベル1+下位概念辞書から取得したレベルとすることで行う。そして、CPU12は画像データに付与されているキーワードの重要度と前記レベルの値とに基づきスコア値を計算する。ここでのスコア値の求め方は前記の例に限定されるものではない。次に、ステップS58において、CPU12は上記ステップS56で取得した画像データのスコア計算が終了するまで、ステップS57の処理を繰り返す。スコア計算が終了した場合、ステップS59において、CPU12はスコア値により画像データを降順に並べる。これにより、指定された検索条件におけるキーワード検索を行う。
【0049】
<意味分類順位処理を行ったときの動作例>
図14は画像検索装置における上記図7及び図8の意味分類順位処理を行ったときの動作例を示すフローチャートである。本フローチャートに示す処理は画像検索装置のCPU12がROM13に格納されたプログラムに基づき実行する。
【0050】
先ず、ステップS61において、CPU12は順位を変更する分類名の取得を行う。次に、ステップS62において、CPU12はその分類名に存在するキーワードを図5のキーワード分類情報テーブルより取得する。次に、ステップS63において、CPU12は図3のキーワード情報テーブルを参照し、上記ステップS62で取得したキーワードにおける全ての重要度を加算し合計を求める。次に、ステップS64において、CPU12は分類内のキーワードが終了するまで重要度の合計を求める。取得した合計値は、図5のキーワード分類情報テーブルのレベル54に格納する。
【0051】
これらの処理により、画像にキーワードを付与し、図6に示す検索画面をCRT15に表示するための前処理を行う。
【0052】
<画像検索処理を行ったときの動作例>
図9及び図10は画像検索装置における画像検索処理を行ったときの動作例を示すフローチャートである。本フローチャートに示す処理は画像検索装置のCPU12がROM13に格納されたプログラムに基づき実行する。
【0053】
先ず、ステップS31において、CPU12は図5のキーワード分類情報テーブルより、分類名、キーワード及び代表画像をレベルの降順に取得し、RAM14に保持する。また、CPU12は各分類にあてはまるキーワード数も取得し、RAM14に保持する。次に、ステップS32において、CPU12は上記ステップS31で取得した分類名の重複を取り除き、図6に示す検索画面の表示領域である分類名61に表示する。次に、ステップS33において、CPU12は上記ステップS32で表示した分類名に対するキーワード数を取得し、図6に示す検索画面の表示領域であるキーワード数62に表示する。次に、ステップS34及びステップS35において、キーワードとその代表画像を図6に示す検索画面のキーワードコントロール63及び代表画像コントロール64に、上記ステップS31で取得した順位(降順)で表示する。
【0054】
次に、ステップS36において、CPU12は上記ステップS32の分類内におけるキーワードが終了するまで、ステップS34及びステップS35の処理を繰り返す。また、ステップS37において、CPU12は表示する分類が終了するまで、ステップS32からステップS36の処理を繰り返す。ここまでの処理により、図6に示す検索画面がCRT15に表示される。尚、検索画面における他のコントロールの表示処理は特に記載していないが同様に検索画面に表示されることとする。
【0055】
次に、ステップS38において、操作者から検索条件及び検索実行が入力されるまで入力待ち状態になる。操作者から何からの入力が行われたとき次の処理を行う。ステップS39において、CPU12はキーワードが追加指定されたかどうかを判断する。このキーワードが追加指定されたかどうかの判断は、図6に示す検索画面上のキーワードコントロール63において検索条件の追加が指定されたかどうかを判断することで行う。そのため、検索画面において構成されたコントロールにより判断する処理が異なる。本実施の形態ではチェックボックスコントロールを例としているため、チェックボックスがオンされたことにより判断する。
【0056】
上記ステップS39でキーワードが追加指定されたと判断した場合は、ステップS40において、CPU12は検索画面の検索条件コントロール65にそのキーワードを追加する表示を行う。上記ステップS39でキーワードの追加指定でないと判断した場合は、ステップS41において、CPU12はキーワードが削除指定されたかどうかを判断する。このキーワードが削除指定されたかどうかの判断は、図6に示す検索画面上のキーワードコントロール63において検索条件の削除が指定されたかどうかを判断することで行う。そのため、検索画面において構成されたコントロールにより判断する処理が異なる。本実施の形態ではチェックボックスコントロールを例としているため、チェックボックスがオフされたことにより判断する。
【0057】
上記ステップS41でキーワードが削除指定されたと判断した場合は、ステップS42において、CPU12は検索条件コントロール65にそのキーワードを削除する表示を行う。上記ステップS41でキーワードの削除指定でないと判断した場合は、ステップS43において、CPU12は代表画像が指定(選択)されたかどうかを判断する。この代表画像が指定されたかどうかの判断は、図6に示す検索画面に表示されている代表画像が入力装置20(例えばマウス)により指示(押下)されたかどうかに基づき行う。
【0058】
上記ステップS43で代表画像が指定されたと判断した場合は、ステップS44において、CPU12は検索条件コントロール65にそのキーワードを検索条件文とし代入する。そして、ステップS47の図11に示すキーワード検索処理に移行する。また、上記ステップS43で代表画像の指定でないと判断した場合は、ステップS45において、CPU12は検索実行であるかどうかを判断する。ステップS45で入力装置20において図6の検索画面における検索実行コントロール66が指定され、検索実行であると判断した場合は、ステップS46において、CPU12は検索条件の設定を検索条件コントロール65より取得し、ステップS47の図11に示すキーワード検索処理に移行する。
【0059】
ステップS47において、CPU12は図6の検索画面における検索条件コントロール65より検索条件を取得し、その検索条件においてキーワード検索を行う。次に、ステップS48において、CPU12はキーワード検索において取得した順に画像IDより画像ファイル名を取得し、検索された結果としての画像データを検索画面に表示する。
【0060】
<キーワード登録処理の具体例>
次に、画像検索装置における具体的な動作について例を挙げて説明する。キーワードを登録する処理を各図を参照しながら説明する。例えば、「000_0002.jpg」の画像データにキーワード「マウス」「キーボード」「パソコン」を付与し、「001_0002.jpg」の画像データにキーワード「マウス」、「ドッグ」、「ペットショップ」を付与することとする。図7のステップS12において、登録する画像データ「000_0002.jpg」を取得する。取得した画像データより、図2の画像情報テーブルの画像データファイル名に「001_0002.jpg」を登録し、画像IDに「002」を登録する。次に、ステップS13において、登録するキーワード「パソコン」を取得し、ステップS14において重要度「2」を取得する。そして、ステップS15において、キーワード「マウス」に対する意味分類を図4のシソーラス辞書により求める。
【0061】
図4より、「マウス」に対する意味分類は取得されているため、図15のステップS74において、取得した意味分類「具体物:動物:具体物:製造物」において第一階層が2つ以上存在するかどうかを判断する。「具体物」の第一階層が2以上あるため、図16のステップS75に移行する。ステップS75において、判断分類名の「動物」を取得する。そして、検索条件を「動物」+「マウス」とし、類似内容検索を行う。ここで、類似内容検索として、「動物」の「マウス」に関わる内容を示す画像データが検索される。そのため、本実施の形態の図3に示す画像データの場合、検索結果は無しになる。そして、ステップS77において、キーワード「マウス」と登録する画像ID「002」が、ステップS76の類似内容検索において検索結果として表示されたかどうかを判断する。画像ID「002」は検索結果に存在しないため、分類「動物」は付与されない。
【0062】
次に、ステップS75において、判断分類名の「製造物」を取得する。そして、検索条件を「製造物」+「マウス」とし、類似内容検索を行う。ここで、類似内容検索として、「製造物」の「マウス」に関わる内容を示す画像データが検索される。そのため、本実施の形態の図3に示す画像データの場合、画像ID「002」が検索される。そして、ステップS77において、キーワード「マウス」と登録する画像ID「002」が、ステップS76の類似内容検索において検索結果として表示されたかどうかを判断する。画像ID「002」は検索結果に存在するため、分類「製造物」が付与される。
【0063】
同様に、「000_0002.jpg」の画像データにキーワード「キーボード」「パソコン」を付与し、また、「001_0002.jpg」の画像データにキーワード「マウス」、「ドッグ」、「ペットショップ」を付与する。この場合、画像データ「001_0002.jpg」のキーワード「マウス」は、分類名「動物」が付与され、「製造物」は付与されない。図8のステップS19において、図2の画像情報テーブルには、画像ID「002」画像データファイル名「000_0002.jpg」を格納し、画像ID「006」画像データファイル名「001_0002.jpg」を格納する。
【0064】
また、図3のキーワード情報テーブルには、画像ID「002」において、キーワード「マウス」重要度「3」、キーワード「キーボード」重要度「2」、キーワード「パソコン」重要度「2」で登録し、画像ID「006」において、キーワード「マウス」重要度「2」、キーワード「ドッグ」重要度「2」、キーワード「ペットショップ」重要度「1」で登録する。
【0065】
また、図17の意味分類情報テーブルには、画像ID「002」において、キーワード「マウス」分類「動物」、キーワード「キーボード」分類「製造物」、キーワード「パソコン」分類「製造物」で登録し、画像ID「006」において、キーワード「マウス」分類「動物」、キーワード「ドッグ」分類「動物」、キーワード「ペットショップ」分類「製造物」及び分類「場所」で登録する。
【0066】
次に、図5のキーワード分類情報テーブルにおいて、代表画像及び分類内キーワードを取得する。図8のステップS20において、登録したキーワード及びその分類名を取得し重複を取り除く。次に、ステップS21において、登録した分類名におけるキーワードが、図5のキーワード分類情報テーブルに格納されているかどうかを判断する。この場合、キーワード分類情報テーブルに格納されているデータは何も存在しないとする。次に、ステップS22において、検索条件を「マウス」としキーワード検索を行う。次に、ステップS23において、検索結果から一番もっともらしい画像を取得する。そして、ステップS21からステップS24の処理を繰り返す。同様に登録した分類名に対するキーワードの代表画像の取得を行い、データベースに登録する。図5において、分類名「動物」キーワード「マウス」代表画像「006」、分類名「製造物」キーワード「キーボード」代表画像「006」、と繰り返す。
【0067】
変更された分類及びそのキーワードは、分類「製造物」キーワード「マウス」、分類「製造物」キーワード「キーボード」、分類「製造物」キーワード「パソコン」、分類「動物」キーワード「マウス」、キーワード「動物」「ドッグ」、「ペットショップ」である。そのため、ステップS24において、意味分類は「動物」「製造物」が変更されたので次に変更された順位を求める。
【0068】
上記図14を用いて説明する。ステップS61において、変更された分類名「製造物」を取得する。次に、ステップS62において、追加変更されたキーワード「マウス」を取得する。次に、ステップS63において、キーワード「マウス」が付与されている画像の重要度を加算し合計を求める。求めた値は、図5に示すキーワード分類情報テーブルのレベルに格納する。このようにステップS61からステップS64において重要度の加算を行い重要度の合計を求める。
【0069】
<画像検索処理の具体例>
次に、上記図9及び図10に示した画像検索処理を具体例を挙げて説明する。図9のステップS31において、図5のキーワード分類情報テーブルより分類名を取得し、重複を取り除き表示する分類名を取得する。この場合、「動物」「人間」「植物」「場所」「製造物」「抽象物」を取得する。また、その分類名ごとにレベルの降順にキーワードと代表画像を取得する。また、この際に、分類名におけるキーワードの加算も行う。そして、ステップS32において、先ず、分類名「動物」を図6の検索画面において分類名61に表示する。また、ステップS33において、キーワード数62にキーワード数「50」を表示する。
【0070】
そして、ステップS34及びステップS35において、「動物」の分類に存在するキーワード及び代表画像を取得した順に表示する。分類名「動物」の場合、付帯情報「魚」とその代表画像(画像ID「039」の画像ファイル)、付帯情報「象」とその代表画像(画像ID「091」の画像ファイル)、付帯情報「犬」とその代表画像(画像ID「033」の画像ファイル)を順番に表示する。全ての分類に対し、同様に表示を行う。上記により、図6に示す検索画面がCRT15に表示される。
【0071】
次に、実際の検索画面での処理を説明する。既に図6の検索画面における検索条件コントロール63において「走っている」が設定され、また、検索条件に対し「子供」を追加する場合、操作者は図6の検索画面におけるキーワードコントロール63においてチェックボックスをオンする。その場合、図10のステップS39において、キーワードの追加指定が行われたと判断し、ステップS40において、検索条件コントロール65にキーワード「子供」を追加し、「走っている 子供」と表示する。
【0072】
同様に、検索条件コントロール63に既に「走っている 子供」が設定されている場合に、検索条件に対し「子供」を削除する場合、操作者は図6の検索画面におけるキーワードコントロール63においてチェックボックスをオフする。その場合、ステップS39において、キーワードの削除指定が行われたと判断し、ステップS40において、検索条件コントロール65にキーワード「子供」を削除し「走っている」と表示する。
【0073】
次に、代表画像を利用して「花」を検索する場合、操作者は図6の検索画面における代表画像コントロール64を選択する。その場合、ステップS43において、代表画像より検索が起動されたとし、検索条件コントロール65にキーワード「花」を設定する。そして、ステップS46において、検索条件文に「花」を設定し、キーワード検索を行う。次に、ステップS47において、検索された画像データを表示する。
【0074】
また、検索実行コントロール66を利用して検索を行う場合、ステップS45において、検索実行を判断し、ステップS46において、検索条件コントロール65に存在する検索条件を取得し、キーワード検索を行う。例えば、検索条件コントロール65に「街を走っている」と入力されている状態で、キーワード「車」のキーワードコントロール63が選択された場合、検索条件は、「街を走っている 車」で検索される。
【0075】
以上説明したように、第1の実施の形態によれば、画像データに付与されているキーワードを予め階層化しその階層化したキーワードより検索条件を設定して検索する画像検索において、分類されたキーワードを視覚的に分かりやすくすることにより、画像検索の操作性を向上させることが可能となる。
【0076】
[第2の実施の形態]
上記第1の実施の形態においては、代表画像の求め方として、その付帯情報を検索条件とし検索した結果より代表画像を求める方法をとったが、第2の実施の形態として次のような方法をとる。即ち、第2の実施の形態では、代表画像の求め方として、付帯情報を登録したとき、その付帯情報の代表画像として、登録した付帯情報が付与された画像データを登録するものである。尚、第2の実施の形態の画像検索装置の構成及び各種テーブルの構成は上記第1の実施の形態と同様であり、説明を省略する。
【0077】
次に、第2の実施の形態の画像検索装置における上記第1の実施の形態と異なる部分であるキーワード登録処理について図1〜図5、図17〜図18等を参照しながら詳細に説明する。
【0078】
<キーワードの登録処理を行ったときの動作例>
図18は画像検索装置におけるキーワードの登録処理を行ったときの動作例を示すフローチャートである。本フローチャートに示す処理は画像検索装置のCPU12がROM13に格納されたプログラムに基づき実行する。
【0079】
先ず、ステップS81において、CPU12はキーワードの登録が終了したかどうかを判断する。ステップS81でキーワードの登録が終了していない場合、ステップS82において、CPU12は入力装置20からの操作者による所定操作に基づき、登録対象の画像データとして、外部記憶装置17またはROM13に既に格納されている画像データ、もしくはデジタルカメラ18やデジタルビデオ19等で撮像された画像データを周辺コントローラ部16を経由して取得する。次に、ステップS83において、CPU12は上記ステップS12で取得した画像データに付与するキーワードを、入力装置20からの操作者によるキーワード入力により取得する。
【0080】
次に、ステップS84において、CPU12は上記ステップS83で取得したキーワードにおける重要度を、入力装置20からの操作者による重要度入力により取得する。本実施の形態では、重要度を入力装置20からの操作者による入力により取得することとしているが、キーワードの入力順位により重要度を自動的に付与してもよい。そして、ステップS85、ステップS86において、CPU12は上記ステップS83で取得したキーワードに対する意味分類及び品詞を図4のシソーラス辞書を用いて取得する。
【0081】
次に、ステップS87において、CPU12は分類名を決定する。この詳細は、第1の実施の形態における図15及び図16に示した処理と同様である。そして、ステップS88において、CPU12は上記ステップS83で取得したキーワードで、上記ステップS87で取得した分類名において、図5のキーワード分類情報テーブルを検索する。代表画像が存在する場合は、CPU12はその代表画像を上記ステップS82で取得した画像の画像IDに変更する。代表画像が存在しない場合は、CPU12はその分類名、キーワードにおいて、代表画像を上記ステップS82で取得した画像の画像IDで登録する。
【0082】
次に、ステップS89において、CPU12は上記ステップS82で取得した画像データに付与するキーワードが終了するまで、ステップS83からステップS89の処理を繰り返す。また、CPU12は上記ステップS82で取得した画像データ、上記ステップS83で取得したキーワード、上記ステップS84で取得した重要度、及び上記ステップS87で取得した分類名は、それぞれ、RAM14に保持する。
【0083】
そして、上記ステップS81でキーワードを付与する画像が終了したと判断した場合、ステップS90において、CPU12はRAM14に保持したそれぞれのデータをデータベースに登録する。このデータベースは、本実施の形態のテーブルをデータベースとして登録したものであり、外部記憶装置17もしくはROM13に保持されている。また、上記各テーブルは、インデックスを作成することでアクセスの高速化を可能とする構成になっている。
【0084】
ステップS90では、先ず、CPU12は上記ステップS82で取得した画像データを、図2に示す画像情報テーブルの画像データファイル名に登録し、画像IDを割り当てる。次に、CPU12は上記ステップS83で取得したキーワードと上記ステップS84で取得した重要度を、図3に示すキーワード情報テーブルに保持する。また、上記ステップS87で取得した分類名は、図17に示す意味分類情報テーブルに登録する。次に、ステップS91において、CPU12は分類内でキーワードが増えた分類に限り意味分類順位処理を行う。この詳細は、上記第1の実施の形態における図14に示した処理と同様である。
【0085】
以上説明したように、第2の実施の形態によれば、上記第1の実施の形態とは異なり処理時間が短縮され、また、登録された画像が代表画像として表示されるため、画像検索の操作性を向上させることが可能となる。
【0086】
[他の実施の形態]
本発明の目的は、実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。
【0087】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0088】
また、プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0089】
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0090】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0091】
【発明の効果】
以上説明したように、本発明によれば、登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行い、付帯情報に対する代表画像を設定し、画像データの分類に基づき付帯情報と代表画像を表示し、表示に従い検索条件を設定し、検索条件に基づき画像検索を行い、画像検索で取得した画像データを表示する。これにより、画像データに付与されている付帯情報を予め階層化しその階層化した付帯情報より検索条件を設定して検索する画像検索において、分類された付帯情報を視覚的に分かりやすくすることにより、画像検索の操作性を向上させることが可能となる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係る画像検索装置の構成例を示すブロック図である。
【図2】画像検索装置における画像情報テーブルの構成例を示す図である。
【図3】画像検索装置におけるキーワード情報テーブルの構成例を示す図である。
【図4】画像検索装置におけるシソーラス辞書の構成例を示す図である。
【図5】画像検索装置におけるキーワード分類情報テーブルの構成例を示す図である。
【図6】画像検索装置における検索画面の表示例を示す図である。
【図7】画像検索装置におけるキーワード登録の処理を行ったときの動作例を示すフローチャートである。
【図8】図7のフローチャートの続きである。
【図9】画像検索装置における画像検索の処理を行ったときの動作例を示すフローチャートである。
【図10】図9のフローチャートの続きである。
【図11】画像検索装置におけるキーワード検索の処理を行ったときの動作例を示すフローチャートである。
【図12】画像検索装置における異表記同義語辞書の構成例を示す図である。
【図13】画像検索装置における下位概念単語辞書の構成例を示す図である。
【図14】画像検索装置におけるキーワード登録処理時の意味分類順位処理を行ったときの動作例を示すフローチャートである。
【図15】画像検索装置におけるキーワード登録処理時の分類名決定処理を行ったときの動作例を示すフローチャートである。
【図16】図15のフローチャートの続きである。
【図17】画像検索装置における意味分類情報テーブルの構成例を示す図である。
【図18】本発明の第2の実施の形態に係る画像検索装置におけるキーワード登録の処理を行ったときの動作例を示すフローチャートである。
【符号の説明】
11 画像検索装置
12 CPU(画像分類手段、代表画像設定手段、画像検索手段)
13 ROM(記憶装置)
15 CRT(付帯情報表示手段、検索条件設定手段、検索結果表示手段)
16 周辺コントローラ部
17 外部記憶装置(記憶装置)
18 デジタルカメラ(撮像装置)
19 デジタルビデオカメラ(撮像装置)
20 入力装置(検索条件設定手段)
61 分類名
62 キーワード数
63 キーワードコントロール
64 代表画像コントロール
65 検索条件コントロール
66 検索実行コントロール
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image search device, an image search method, a program, and a storage medium suitable for displaying a plurality of image data shot by an electronic still camera such as an electronic camera or a video camera and searching for the image data.
[0002]
[Prior art]
In recent years, electronic still cameras such as electronic cameras and video cameras that store image data such as photographs as digital signals in a memory card or the like have been provided. By storing image data such as photographs taken by these electronic still cameras in a portable memory such as an optical memory, physical space can be reduced compared to photographs taken by a camera using a conventional silver halide film. It can be held in large quantities without need.
[0003]
Conventionally, as means for searching for desired image data from a large amount of stored image data as described above, a keyword is assigned to each stored image data, and a search condition and image specified by an operator are assigned. There is a method of searching for desired image data by comparing a keyword assigned to data with the keyword. Hereinafter, the search method is referred to as a keyword search. In this search method, an operator inputs search conditions into an input field prepared in advance on a display device. In this case, it is also possible to specify a plurality of keywords by a description in a natural language sentence or a logical operator in the search condition. As a means for specifying a keyword, there is a method in which when an operator inputs a first character, the same keyword as the first character is searched from the image database, and the operator selects from a search result list.
[0004]
As a method of searching for image data using a keyword, there is a method of searching for image data by hierarchizing keywords. That is, in the method of searching for image data by hierarchizing keywords, a directory structure is semantically hierarchized in advance, and the hierarchized name is used as a keyword. These hierarchies are presented and keywords are assigned, or keywords are classified. There is a method of searching for image data by causing the image data to be searched (for example, see Patent Document 1).
[0005]
[Patent Document 1]
JP-A-7-129621
[0006]
[Problems to be solved by the invention]
However, in the image data search method according to the related art, particularly when searching for image data using a keyword, it is necessary to find a keyword suitable for desired image data and specify the keyword in a search condition sentence. For example, in a keyword search, if the keyword of the stored image data is recognized in advance, it is possible to easily search for the desired image data, but the keyword of the stored image data is not recognized. Then, the operator must perform image data search by designating an appropriate keyword through trial and error.
[0007]
In addition, a method of searching for image data by providing a hierarchical structure having a hierarchical structure in advance and using the hierarchical name as a keyword and presenting these hierarchies or assigning a keyword or classifying the keyword is referred to as a classified keyword. If you only display the keyword, you may not know the content of the keyword. In particular, for a keyword or the like assigned to image data handled in the content business, a person who assigns a keyword is different from a person who searches for image data, and such a situation is likely to occur.
[0008]
The present invention has been made in view of the above points, and has been classified in an image search in which additional information attached to image data is hierarchized in advance and a search condition is set and searched based on the hierarchized additional information. It is an object of the present invention to provide an image search device, an image search method, a program, and a storage medium that can improve operability of image search by making supplementary information visually easy to understand.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides an image search device for searching image data, comprising: image classification means for classifying image data based on image data to be registered and incidental information added to the image data; A representative image setting means for setting a representative image for, a supplementary information display means for displaying the supplementary information and the representative image based on the classification of the image data, a search condition setting means for setting a search condition according to the display, It is characterized by having image search means for performing an image search based on search conditions, and search result display means for displaying image data acquired by the image search.
[0010]
According to the present invention, in an image search method for searching image data, an image classification step of classifying image data based on image data to be registered and additional information to be added to the image data, and setting a representative image for the additional information A representative image setting step, an additional information display step of displaying the additional information and the representative image based on the classification of the image data, a search condition setting step of setting a search condition according to the display, and an image based on the search condition. An image search step for performing a search and a search result display step for displaying the image data obtained by the image search are provided.
[0011]
In addition, the present invention provides a function of classifying image data based on image data to be registered and additional information to be added to the image data, a function of setting a representative image for the additional information, and the additional data based on the classification of the image data. A function of displaying information and the representative image, a function of setting a search condition according to the display, a function of performing an image search based on the search condition, and a function of displaying image data acquired by the image search, to a computer It is characterized by being a program for realizing.
[0012]
According to the present invention, there is provided a computer-readable storage medium storing a program for executing an image search method for searching for image data, wherein the image search method includes image data to be registered and additional information to be added to the image data. Classifying the image data according to the above, setting a representative image for the additional information, displaying the additional information and the representative image based on the classification of the image data, and setting a search condition according to the display A step of performing an image search based on the search condition; and a step of displaying image data obtained by the image search.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0014]
[First Embodiment]
FIG. 1 is a block diagram showing a configuration example of the image search device according to the first embodiment of the present invention. The image search device 11 has a configuration in which a CPU 12, a ROM 13, a RAM 14, and a peripheral controller 16 are provided inside the device main body, and a display device (CRT) 15, an external storage device 17, and an input device 20 are provided outside the device main body. I have. In the figure, reference numeral 18 denotes a digital camera, and 19 denotes a digital video camera.
[0015]
The CPU 12 is a central processing unit that is the center of control of the image search device 11, and executes processing shown in each flowchart described below based on a program stored in the ROM 13. The ROM 13 is a read-only memory for storing a program for performing an image search, a data table, and the like. The RAM 14 is a random access memory that provides a work area and the like for executing a program stored in the ROM 13. The display device 15 is for displaying the processing status of the image search device 11, and includes, for example, a CRT display (hereinafter, CRT). The display device 15 is not limited to a CRT and may be a liquid crystal.
[0016]
The peripheral controller unit 16 is for connecting to an external storage device 17, an input device 20, a digital camera 18, an external input / output device such as a digital video camera 19 and the like. The external storage device 17 is a storage device for storing image data. The digital camera 18 is an imaging device that captures a subject and generates image data. The digital video camera 19 is an imaging device that photographs a subject and generates image data. Image data captured and acquired by the operator with the digital camera 18 or the digital video camera 19 is held in the external storage device 17 or the ROM 13. The input device 20 includes a mouse, a keyboard, and the like, and is used for various instructions and various data inputs.
[0017]
FIG. 2 is a diagram illustrating a configuration example of an image information table in the image search device. This image information table is held in the ROM 13 or the external storage device 17 of the image search device. The image information table includes an image data file name 22 indicating a file name of image data captured and acquired by the operator using the digital camera 18 or the digital video camera 19, and an image ID 21 for identifying the image data. .
[0018]
In the example of FIG. 2, for example, an image ID “001” is assigned to the image data file “000 — 0001.jpg”. In this case, an arbitrary numerical value (serial number) is used for the image ID. However, if the image data file name is unique, the image data file name may be used as the image ID.
[0019]
FIG. 3 is a diagram illustrating a configuration example of a keyword information table in the image search device. This keyword information table is held in the ROM 13 or the external storage device 17 of the image search device. The keyword information table includes an image ID 31 for identifying image data, a keyword 32 assigned to the image data, and a keyword importance 33 indicating the importance of the keyword.
[0020]
In the present embodiment, the importance of the keyword is “3” in the case of the subject word of the image, and “2” if the user is satisfied with the search and display using the word, but is not important. Is a valid keyword, “1” is assigned. In the present embodiment, keywords are assigned importance in such a criterion. However, the present invention is not limited to the above example as long as they indicate the importance of keywords attached to images. Explaining with the example in FIG. 3, keywords “flower”, “red”, and “park” are assigned to the image ID “001”, and “(flower =) 3” and “( Red =) 1 ”and“ (park =) 1 ”are assigned importance.
[0021]
FIG. 17 is a diagram illustrating a configuration example of a semantic classification information table in the image search device. This semantic classification information table is held in the ROM 13 or the external storage device 17 of the image search device. The semantic classification information table includes an image ID 171 for identifying image data, a keyword 172 assigned to the image data, and a classification 173 of the keyword. In the present embodiment, the semantic classification information table and the keyword information table are configured separately, but the semantic classification information and the keyword information may be configured on the same table.
[0022]
FIG. 4 is a diagram showing a configuration example of a thesaurus (Thesaurus) dictionary in the image search device. This thesaurus dictionary is stored in the ROM 13 or the external storage device 17 of the image search device. The thesaurus dictionary is composed of a headword 41 indicating a word notation, a semantic classification 42 indicating a semantic classification thereof, and a part of speech 43.
[0023]
Explaining with the example in FIG. 4, the headword “park” indicates that the part of speech is “noun” and the semantic classification is “specific object: product: abstract object: place”. Also, in this case, it has two meanings, “specific object (first layer), manufactured product (second layer)” and “abstract object (first layer), place (second layer)”. The headword “red” has the part of speech “adjective” and no semantic classification. In the present embodiment, the part of speech is also a constituent element in the thesaurus dictionary, but the part of speech may be configured as a word dictionary separately from the thesaurus dictionary.
[0024]
FIG. 5 is a diagram showing a configuration example of a keyword classification information table in the image search device. This keyword classification information table is held in the ROM 13 or the external storage device 17 of the image search device. The keyword classification information table is a value obtained by adding the classification name 51 indicating the classification content, the keyword 52 applicable to the classification, the image ID 53 of the representative image in the keyword, and the importance of the keyword in the stored image keywords. And a certain level 54. This level 54 increases when the importance is high and the keyword is assigned to many images.
[0025]
In the example of FIG. 5, the keyword “fish” is classified as “animal”, the representative image is “039”, and the level is “12”. As the representative image, one of the images in which the keyword “fish” is present is selected from the stored images. In addition, the keyword “fish” (level 12) is stored with a higher value than the keyword “elephant” (level 10) and the keyword “dog” (level 2).
[0026]
FIG. 6 is a diagram showing a display example of a search screen in the image search device. This search screen is displayed on the CRT 15 under the control of the CPU 12 of the image search device. The display contents of the search screen include a classification name 61 indicating the classification contents, a keyword number 62 indicating the number of keywords corresponding to the classification, a keyword control 63 indicating the keywords corresponding to the classification, and an example of image data for the keywords. It is composed of a representative image control 64, a search condition control 65 for inputting a keyword of the search condition, and a search execution control 66 for instructing execution of the search.
[0027]
In this embodiment, the keyword control 63 is configured by a check box control. However, the configuration of the keyword control 63 is not limited to this example, and may be any control such as a button control that can determine whether a keyword has been designated. Alternatively, the keyword may be automatically input by selecting the keyword with the input device 20 such as a mouse or a keyboard and dragging and dropping the keyword to the search condition control 65. The representative image control 64 also includes a control that can determine whether the corresponding representative image has been selected. In the present embodiment, image data is displayed on the button control.
[0028]
Explaining with the example in FIG. 6, the image data is roughly classified into classification names 61 “animal”, “human”, “plant”, “place”, “manufactured product”, and “abstract object”. The number of keywords 62 that apply to each category is “50” for “animal”, “100” for “human”, “40” for “plant”, “99” for “place”, and “99” for “manufactured product”. 12 ”and“ 50 ”of“ abstract objects ”. The keywords 63 assigned to the images corresponding to the classification name 61 “animal” include “fish”, “elephant”, and “dog”. Next to each keyword control 63, a representative image control 64 indicating a representative image is displayed.
[0029]
FIG. 12 is a diagram illustrating a configuration example of a different notation synonym dictionary in the image search device. This synonym dictionary is stored in the ROM 13 or the external storage device 17 of the image search device. The heterologous synonym dictionary is composed of headwords 121 and synonyms or synonyms 122 that apply to the headwords. In the example illustrated in FIG. 12, for the headword "flower", different notations or synonyms such as "flower", "flower", and "flower" exist.
[0030]
FIG. 13 is a diagram illustrating a configuration example of a lower concept word dictionary in the image search device. This lower concept word dictionary is stored in the ROM 13 or the external storage device 17 of the image search device. The lower concept word dictionary includes a headword 131, a word 132 indicating a lower concept applicable to the headword, and a level 133 indicating the hierarchy. Explaining with the example in FIG. 13, for the headword “car”, words of lower concepts such as “Porsche”, “motorcycle”, and “wheel” exist, and each level has a level of “Porsche (0.8)”. "Motorcycle (0.64)" and "wheels (0.55)".
[0031]
Next, an image search method in the image search apparatus according to the first embodiment will be described in detail with reference to FIGS.
[0032]
<Operation example when keyword registration processing is performed>
FIGS. 7 and 8 are flowcharts showing an operation example when a keyword registration process is performed in the image search device. The processing shown in this flowchart is executed by the CPU 12 of the image search device based on a program stored in the ROM 13.
[0033]
First, in step S11, the CPU 12 of the image search device determines whether the registration of the keyword has been completed. If it is determined in step S11 that the registration of the keyword has not been completed, in step S12, the CPU 12 stores the image data in the external storage device 17 or the ROM 13 as image data to be registered based on a predetermined operation by the operator from the input device 20. The image data already stored or the image data captured by the digital camera 18 or the digital video 19 is acquired via the peripheral controller 16. Next, in step S13, the CPU 12 acquires a keyword to be added to the image data acquired in step S12 by inputting a keyword from the input device 20 by the operator.
[0034]
Next, in step S14, the CPU 12 acquires the importance of the keyword acquired in step S13 by inputting the importance from the input device 20 by the operator. In the present embodiment, the importance is acquired by the input from the input device 20 by the operator, but the importance may be automatically given according to the input order of the keywords. Then, in steps S15 and S16, the CPU 12 obtains the semantic classification and part of speech for the keyword obtained in step S13 using the thesaurus dictionary of FIG.
[0035]
Next, in step S17, the CPU 12 determines a classification name. This will be described in detail with reference to FIGS. Further, in the present embodiment, the classification items are classified as “human”, “plant”, “animal”, “place”, “manufactured product”, and “abstract object”, but are not limited to this classification. Absent. Then, in step S18, the CPU 12 repeats the processing from step S13 to step S18 until the keyword assigned to the image data acquired in step S12 ends. The image data acquired in step S12, the keyword acquired in step S13, the importance acquired in step S14, and the classification name acquired in step S17 are stored in the RAM 14.
[0036]
If it is determined in step S11 that the image to which the keyword is to be added is completed, in step S19, the CPU 12 registers each data held in the RAM 14 in the database. This database is obtained by registering the table of the present embodiment as a database, and is stored in the external storage device 17 or the ROM 13. In addition, each of the above tables is configured so that access can be speeded up by creating an index.
[0037]
In step S19, first, the CPU 12 registers the image data acquired in step S12 in the image data file name of the image information table shown in FIG. 2, and assigns an image ID. Next, the CPU 12 stores the keyword acquired in step S13 and the importance acquired in step S14 in the keyword information table shown in FIG. The classification name acquired in step S17 is registered in the semantic classification information table shown in FIG. Next, in step S20, the CPU 12 acquires the registered keyword. At this time, duplication is removed for keywords registered in advance and having the same classification name and keyword. Next, in step S21, the CPU 12 determines whether a keyword is registered in the keyword classification information table shown in FIG.
[0038]
If it is determined in step S21 that the keyword has not been registered, the process proceeds to step S24. If it is determined in step S21 that a keyword has been registered, in step S22, the CPU 12 sets the registered keyword as a search condition sentence, performs a keyword search, and acquires a representative image. This will be described in detail with reference to FIG. Next, in step S23, the CPU 12 sets the most plausible image data in the image data group obtained by keyword search as a representative image. The acquired representative image is registered as the representative image 53 in the keyword classification information table shown in FIG. At this time, a classification name and a keyword are also registered.
[0039]
In step S24, the CPU 12 repeats the processing from step S21 to step S24 until the registered keyword ends. Next, in step S25, the CPU 12 performs the semantic classification order processing only for the classification in which the keywords have increased in the classification. This will be described in detail with reference to FIG. The ranking of the keywords acquired in this process is reflected on the level in the keyword classification information table shown in FIG.
[0040]
<Operation example when performing classification determination process>
FIG. 15 and FIG. 16 are flowcharts illustrating an operation example when the classification determination process is performed in the image search device. The processing shown in this flowchart is executed by the CPU 12 of the image search device based on a program stored in the ROM 13.
[0041]
First, in step S71, the CPU 12 determines whether or not the semantic classification acquired in the semantic classification acquisition process (step S15) in FIG. 7 exists. If it is determined in step S71 that the semantic classification does not exist, in step S72, the CPU 12 determines whether or not the part of speech is to be subjected to the classification setting based on the part of speech acquired in the part of speech acquisition processing (step S16) in FIG. . Classification names are not acquired for words whose parts of speech have no meaning, such as particles, auxiliary verbs, conjunctions, and pronouns. If it is determined in step S72 that the part of speech is to be classified, the CPU 12 sets the classification name to "abstract" in step S73. Here, the classification name is set as "abstract object", but the classification name is not limited and may be any type as long as it can be distinguished from other classifications.
[0042]
If it is determined in step S71 that a semantic class exists, in step S74, the CPU 12 determines whether there are two or more first-level semantic classes in the semantic class acquired in step S15 in FIG. Judge. If there is no semantic classification to be the first hierarchy in step S74, in step S80, the CPU 12 sets the acquired semantic classification to the classification name. If there is only one semantic classification in the first layer in step S74, in step S80, the CPU 12 sets the one semantic classification as the classification name.
[0043]
If there are two or more semantic classifications in the first hierarchy in step S74, in step S75, the CPU 12 obtains a judgment classification name. The judgment classification name indicates the classification of the semantic classification for each first hierarchy in the semantic classification acquired in step S15 of FIG. For example, the semantic classification for the keyword “mouse” is “concrete (first level), animal (second level), specific substance (first level), product (second level)”, and the judgment classification name is , "Animals" and "products".
[0044]
Next, in step S76, the CPU 12 performs a similar content search using the classification name acquired in step S75. The details of the similar content search are performed in the same manner as in the conventional method, and a detailed description thereof will be omitted. Next, in step S77, the CPU 12 determines whether there is an image in which the keyword is set as a result of the similar content search in step S76. If an image exists, in step S78, the CPU 12 sets a classification name as a judgment classification name. If no image exists, the CPU 12 does not set a classification name. In step S79, the processes in steps S75 to S79 are repeated until the judgment classification name existing in the semantic classification ends.
[0045]
<Operation example when keyword search processing is performed>
FIG. 11 is a flowchart illustrating an operation example when a keyword search process is performed in the image search device. The processing shown in this flowchart is executed by the CPU 12 of the image search device based on a program stored in the ROM 13.
[0046]
First, in step S51, the CPU 12 acquires a search condition sentence (keyword) for performing an image search. Next, in step S52, the CPU 12 divides the search condition sentence into words by natural language processing. For this natural language processing, the existing natural language processing is used, and the description is omitted. As a result of referring to the part of speech in the above-mentioned divided words, words that do not show concrete or abstract objects such as particles and auxiliary verbs are deleted from the divided words. Next, in step S53, the CPU 12 obtains a different notation and a synonym for each word divided in the above step S52 using the different notation synonym dictionary of FIG. Then, in step S54, the CPU 12 acquires the lower concept word and its level from the lower concept word dictionary of FIG.
[0047]
Next, in step S55, the CPU 12 repeats creation of a search key of a synonym of a different notation and creation of a lower-level concept search key until the divided word ends. Next, in step S56, the word divided in step S52, the synonymous word in different notation acquired in step S53, and the lower concept word acquired in step S54 are used as search keys, and the keyword information shown in FIG. By referring to the table, the keyword acquired in step S51 and the search key are compared, and if they are the same, the image data is acquired.
[0048]
Next, in step S57, the CPU 12 calculates a score for the acquired image data. This score calculation is performed by setting the keyword to level 3, the synonym word expanded from the keyword to level 2, and the lower concept word expanded from the keyword to level 1 + the level acquired from the lower concept dictionary. Then, the CPU 12 calculates a score value based on the importance of the keyword assigned to the image data and the value of the level. The method of obtaining the score value here is not limited to the above example. Next, in step S58, the CPU 12 repeats the processing in step S57 until the score calculation of the image data acquired in step S56 is completed. When the score calculation is completed, in step S59, the CPU 12 arranges the image data in descending order according to the score value. Thus, a keyword search is performed under the specified search conditions.
[0049]
<Operation example when semantic classification order processing is performed>
FIG. 14 is a flowchart showing an operation example when the semantic classification order processing of FIGS. 7 and 8 is performed in the image search device. The processing shown in this flowchart is executed by the CPU 12 of the image search device based on a program stored in the ROM 13.
[0050]
First, in step S61, the CPU 12 obtains a classification name whose order is to be changed. Next, in step S62, the CPU 12 acquires a keyword existing in the classification name from the keyword classification information table in FIG. Next, in step S63, the CPU 12 refers to the keyword information table of FIG. 3 and adds all the degrees of importance of the keywords acquired in step S62 to obtain a total. Next, in step S64, the CPU 12 obtains the total importance until the keywords in the classification are completed. The obtained total value is stored in the level 54 of the keyword classification information table in FIG.
[0051]
Through these processes, a keyword is assigned to the image, and preprocessing for displaying the search screen shown in FIG.
[0052]
<Operation example when image search processing is performed>
9 and 10 are flowcharts showing an operation example when the image search processing is performed in the image search device. The processing shown in this flowchart is executed by the CPU 12 of the image search device based on a program stored in the ROM 13.
[0053]
First, in step S31, the CPU 12 acquires the classification name, the keyword, and the representative image from the keyword classification information table in FIG. Further, the CPU 12 also obtains the number of keywords corresponding to each classification, and stores the number in the RAM 14. Next, in step S32, the CPU 12 removes the duplication of the category name acquired in step S31 and displays the same on the category name 61 which is a display area of the search screen shown in FIG. Next, in step S33, the CPU 12 acquires the number of keywords for the classification name displayed in step S32, and displays it in the number of keywords 62 which is a display area of the search screen shown in FIG. Next, in steps S34 and S35, the keywords and their representative images are displayed on the keyword control 63 and the representative image control 64 of the search screen shown in FIG. 6 in the order (descending order) obtained in step S31.
[0054]
Next, in step S36, the CPU 12 repeats the processing in steps S34 and S35 until the keyword in the classification in step S32 ends. In step S37, the CPU 12 repeats the processing from step S32 to step S36 until the classification to be displayed ends. With the processing so far, the search screen shown in FIG. 6 is displayed on the CRT 15. The display processing of other controls on the search screen is not particularly described, but is also displayed on the search screen.
[0055]
Next, in step S38, an input wait state is entered until a search condition and a search execution are input by the operator. The following processing is performed when an input is made from the operator. In step S39, the CPU 12 determines whether a keyword has been additionally specified. The determination as to whether or not this keyword has been additionally specified is made by determining whether or not addition of a search condition has been specified in the keyword control 63 on the search screen shown in FIG. Therefore, the processing to be determined differs depending on the control configured on the search screen. In the present embodiment, since the check box control is taken as an example, it is determined that the check box is turned on.
[0056]
If it is determined in step S39 that a keyword has been additionally specified, in step S40, the CPU 12 performs a display for adding the keyword to the search condition control 65 on the search screen. If it is determined in step S39 that the keyword has not been added, the CPU 12 determines in step S41 whether the keyword has been designated for deletion. The determination as to whether or not this keyword has been designated for deletion is made by determining whether or not the deletion of the search condition has been designated in the keyword control 63 on the search screen shown in FIG. Therefore, the processing to be determined differs depending on the control configured on the search screen. In the present embodiment, since the check box control is taken as an example, it is determined that the check box is turned off.
[0057]
If it is determined in step S41 that the keyword has been designated for deletion, in step S42, the CPU 12 displays a display for deleting the keyword on the search condition control 65. If it is determined in step S41 that the keyword is not designated to be deleted, in step S43, the CPU 12 determines whether a representative image has been designated (selected). The determination as to whether or not the representative image has been designated is made based on whether or not the representative image displayed on the search screen shown in FIG. 6 has been instructed (pressed) by the input device 20 (for example, a mouse).
[0058]
If it is determined in step S43 that the representative image has been designated, in step S44, the CPU 12 substitutes the keyword into the search condition control 65 as a search condition sentence. Then, the process proceeds to the keyword search process shown in FIG. 11 in step S47. If it is determined in step S43 that the representative image has not been designated, in step S45, the CPU 12 determines whether the search is to be executed. When the search execution control 66 in the search screen of FIG. 6 is designated in the input device 20 in step S45 and it is determined that the search is to be executed, the CPU 12 acquires the setting of the search condition from the search condition control 65 in step S46, The process proceeds to the keyword search process shown in FIG. 11 in step S47.
[0059]
In step S47, the CPU 12 acquires a search condition from the search condition control 65 on the search screen in FIG. 6, and performs a keyword search under the search condition. Next, in step S48, the CPU 12 acquires image file names from the image IDs in the order acquired in the keyword search, and displays image data as a result of the search on the search screen.
[0060]
<Specific example of keyword registration processing>
Next, a specific operation of the image search device will be described with an example. The process of registering a keyword will be described with reference to the drawings. For example, keywords “mouse”, “keyboard”, and “personal computer” are assigned to image data of “000_0002.jpg”, and keywords “mouse”, “dog”, and “pet shop” are assigned to image data of “001_0002.jpg”. It shall be. In step S12 of FIG. 7, the image data “000_0002.jpg” to be registered is acquired. From the acquired image data, “001 — 0002.jpg” is registered as the image data file name and “002” is registered as the image ID in the image information table of FIG. Next, in step S13, the keyword "PC" to be registered is acquired, and in step S14, the importance "2" is acquired. Then, in step S15, a semantic classification for the keyword "mouse" is obtained from the thesaurus dictionary of FIG.
[0061]
From FIG. 4, since the semantic classification for “mouse” has been acquired, two or more first hierarchical levels exist in the acquired semantic classification “specific object: animal: specific object: product” in step S74 of FIG. Determine whether or not. Since there are two or more first layers of the “specific object”, the flow shifts to step S75 in FIG. In step S75, "animal" of the judgment classification name is obtained. Then, the search condition is set to “animal” + “mouse”, and a similar content search is performed. Here, as the similar content search, image data indicating the content related to “mouse” of “animal” is searched. Therefore, in the case of the image data shown in FIG. 3 of the present embodiment, there is no search result. Then, in a step S77, it is determined whether or not the image ID “002” to be registered as the keyword “mouse” is displayed as a search result in the similar content search in the step S76. Since the image ID “002” does not exist in the search result, the classification “animal” is not assigned.
[0062]
Next, in step S75, "manufactured product" of the judgment classification name is acquired. Then, the search condition is set to “product” + “mouse”, and a similar content search is performed. Here, as a similar content search, image data indicating the content related to “mouse” of “manufactured product” is searched. Therefore, in the case of the image data shown in FIG. 3 of the present embodiment, the image ID “002” is searched. Then, in a step S77, it is determined whether or not the image ID “002” to be registered as the keyword “mouse” is displayed as a search result in the similar content search in the step S76. Since the image ID “002” exists in the search result, the classification “product” is assigned.
[0063]
Similarly, keywords “keyboard” and “personal computer” are assigned to image data of “000_0002.jpg”, and keywords “mouse”, “dog”, and “pet shop” are assigned to image data of “001_0002.jpg”. . In this case, the keyword “mouse” of the image data “001 — 0002.jpg” is given the classification name “animal” and not “product”. In step S19 in FIG. 8, the image information table in FIG. 2 stores the image ID “002” image data file name “000_0002.jpg”, and stores the image ID “006” image data file name “001_0002.jpg”. I do.
[0064]
In the keyword information table of FIG. 3, the image ID “002” is registered with the keyword “mouse” importance “3”, the keyword “keyboard” importance “2”, and the keyword “PC” importance “2”. In the image ID “006”, the keyword “mouse” is registered with importance “2”, the keyword “dog” is registered with importance “2”, and the keyword “pet shop” is registered with importance “1”.
[0065]
In the semantic classification information table of FIG. 17, the image ID “002” is registered with the keyword “mouse” classification “animal”, the keyword “keyboard” classification “manufactured product”, and the keyword “PC” classification “manufactured product”. In the image ID “006”, the keyword “mouse” classification “animal”, the keyword “dog” classification “animal”, the keyword “pet shop” classification “manufactured product”, and the classification “place” are registered.
[0066]
Next, in the keyword classification information table of FIG. 5, the representative image and the keyword in the classification are acquired. In step S20 in FIG. 8, the registered keyword and its classification name are acquired and duplication is removed. Next, in step S21, it is determined whether the keyword in the registered category name is stored in the keyword category information table of FIG. In this case, it is assumed that there is no data stored in the keyword classification information table. Next, in step S22, a keyword search is performed with the search condition set to “mouse”. Next, in step S23, the most plausible image is obtained from the search result. Then, the processing from step S21 to step S24 is repeated. Similarly, a representative image of a keyword for the registered classification name is obtained and registered in the database. In FIG. 5, the classification name "animal" keyword "mouse" representative image "006" and the classification name "product" keyword "keyboard" representative image "006" are repeated.
[0067]
The changed classification and its keywords are classified into the categories "product" keyword "mouse", classification "product" keyword "keyboard", classification "product" keyword "PC", classification "animal" keyword "mouse", and keyword " Animals, dogs, and pet shops. Therefore, in step S24, the semantic classification is changed to "animal" or "manufactured product", and the next changed order is obtained.
[0068]
This will be described with reference to FIG. In step S61, the changed classification name “product” is acquired. Next, in step S62, the keyword “mouse” added and changed is acquired. Next, in step S63, the importance of the image to which the keyword "mouse" is assigned is added to obtain a total. The obtained value is stored in the level of the keyword classification information table shown in FIG. As described above, in steps S61 to S64, the importance is added to obtain the total importance.
[0069]
<Specific example of image search processing>
Next, the image search processing shown in FIGS. 9 and 10 will be described with a specific example. In step S31 in FIG. 9, the classification name is obtained from the keyword classification information table in FIG. 5, and the classification name to be removed and displayed is obtained. In this case, “animal”, “human”, “plant”, “place”, “product”, and “abstract object” are acquired. In addition, a keyword and a representative image are acquired in descending order of level for each classification name. At this time, addition of the keyword in the classification name is also performed. Then, in step S32, first, the category name "animal" is displayed as the category name 61 on the search screen of FIG. In step S33, the number of keywords “50” is displayed as the number of keywords 62.
[0070]
Then, in steps S34 and S35, keywords and representative images present in the classification of "animal" are displayed in the order in which they were acquired. In the case of the classification name "animal", additional information "fish" and its representative image (image file of image ID "039"), additional information "elephant" and its representative image (image file of image ID "091"), additional information “Dog” and its representative image (image file of image ID “033”) are displayed in order. The same display is performed for all classifications. As a result, the search screen shown in FIG.
[0071]
Next, processing on the actual search screen will be described. When “running” is already set in the search condition control 63 on the search screen in FIG. 6 and “child” is added to the search condition, the operator must select the check box in the keyword control 63 on the search screen in FIG. Turn on. In this case, it is determined in step S39 of FIG. 10 that the additional keyword has been specified, and in step S40, the keyword “child” is added to the search condition control 65, and “running child” is displayed.
[0072]
Similarly, in the case where “running child” is already set in the search condition control 63 and the “child” is deleted from the search condition, the operator selects the check box in the keyword control 63 on the search screen of FIG. Turn off. In that case, it is determined in step S39 that the keyword deletion has been designated, and in step S40, the keyword "child" is deleted and displayed as "running" in the search condition control 65.
[0073]
Next, when searching for “flower” using the representative image, the operator selects the representative image control 64 on the search screen of FIG. In this case, in step S43, it is assumed that the search has been started from the representative image, and the keyword “flower” is set in the search condition control 65. Then, in step S46, "flower" is set in the search condition sentence, and a keyword search is performed. Next, in step S47, the searched image data is displayed.
[0074]
When a search is performed using the search execution control 66, the execution of the search is determined in step S45, and the search condition existing in the search condition control 65 is obtained in step S46, and a keyword search is performed. For example, if the keyword control 63 of the keyword “car” is selected while “running in the city” is entered in the search condition control 65, the search condition is “car running in the city”. Is done.
[0075]
As described above, according to the first embodiment, in an image search in which keywords assigned to image data are pre-hierarchized and a search condition is set based on the hierarchized keywords, the classified keywords are used. , The operability of image search can be improved.
[0076]
[Second embodiment]
In the above-described first embodiment, a method of obtaining a representative image from a result of a search using the incidental information as a search condition is used as a method of obtaining a representative image. However, the following method is used as a second embodiment. Take. That is, in the second embodiment, when additional information is registered as a method for obtaining a representative image, image data to which the registered additional information is added is registered as a representative image of the additional information. Note that the configuration of the image search device and the configurations of various tables according to the second embodiment are the same as those of the first embodiment, and a description thereof will be omitted.
[0077]
Next, a keyword registration process in the image search device according to the second embodiment, which is different from the first embodiment, will be described in detail with reference to FIGS. 1 to 5 and FIGS. .
[0078]
<Operation example when keyword registration processing is performed>
FIG. 18 is a flowchart illustrating an operation example when a keyword registration process is performed in the image search device. The processing shown in this flowchart is executed by the CPU 12 of the image search device based on a program stored in the ROM 13.
[0079]
First, in step S81, the CPU 12 determines whether the registration of the keyword has been completed. If the registration of the keyword has not been completed in step S81, in step S82, the CPU 12 has already been stored in the external storage device 17 or the ROM 13 as image data to be registered based on a predetermined operation by the operator from the input device 20. Image data or image data captured by a digital camera 18 or a digital video 19 or the like is acquired via the peripheral controller 16. Next, in step S83, the CPU 12 acquires a keyword to be added to the image data acquired in step S12 by inputting a keyword from the input device 20 by the operator.
[0080]
Next, in step S84, the CPU 12 obtains the importance of the keyword obtained in step S83 by inputting the importance from the input device 20 by the operator. In the present embodiment, the importance is acquired by the input from the input device 20 by the operator, but the importance may be automatically given according to the input order of the keywords. Then, in steps S85 and S86, the CPU 12 acquires the meaning classification and the part of speech for the keyword acquired in step S83 using the thesaurus dictionary of FIG.
[0081]
Next, in step S87, the CPU 12 determines a classification name. The details are the same as the processing shown in FIGS. 15 and 16 in the first embodiment. Then, in step S88, the CPU 12 searches the keyword classification information table of FIG. 5 using the keyword acquired in step S83 and the classification name acquired in step S87. If there is a representative image, the CPU 12 changes the representative image to the image ID of the image acquired in step S82. If the representative image does not exist, the CPU 12 registers the representative image with the image ID of the image acquired in step S82 using the classification name and the keyword.
[0082]
Next, in step S89, the CPU 12 repeats the processing from step S83 to step S89 until the keyword assigned to the image data acquired in step S82 ends. Further, the CPU 12 stores the image data acquired in step S82, the keyword acquired in step S83, the importance acquired in step S84, and the classification name acquired in step S87 in the RAM 14, respectively.
[0083]
If it is determined in step S81 that the image to which the keyword is to be added is completed, in step S90, the CPU 12 registers each data held in the RAM 14 in the database. This database is obtained by registering the table of the present embodiment as a database, and is stored in the external storage device 17 or the ROM 13. In addition, each of the above tables is configured so that access can be speeded up by creating an index.
[0084]
In step S90, first, the CPU 12 registers the image data acquired in step S82 in the image data file name of the image information table shown in FIG. 2, and assigns an image ID. Next, the CPU 12 stores the keyword acquired in step S83 and the importance acquired in step S84 in the keyword information table shown in FIG. The classification name acquired in step S87 is registered in the semantic classification information table shown in FIG. Next, in step S91, the CPU 12 performs the semantic classification order processing only for the classification in which the keywords have increased in the classification. The details are the same as the processing shown in FIG. 14 in the first embodiment.
[0085]
As described above, according to the second embodiment, unlike the first embodiment, the processing time is reduced, and the registered image is displayed as a representative image. Operability can be improved.
[0086]
[Other embodiments]
An object of the present invention is to supply a storage medium storing program codes of software for realizing the functions of the embodiments to a system or an apparatus, and a computer (or CPU, MPU, or the like) of the system or apparatus stores the storage medium in the storage medium. This is also achieved by reading and executing the program code thus set.
[0087]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0088]
Examples of a storage medium for supplying the program code include a floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, and DVD. -RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM, and the like can be used.
[0089]
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. This also includes a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0090]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This also includes the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0091]
【The invention's effect】
As described above, according to the present invention, the image data is classified based on the image data to be registered and the supplementary information added to the image data, a representative image for the supplementary information is set, and the supplementary information is set based on the classification of the image data. And a representative image are displayed, a search condition is set according to the display, an image search is performed based on the search condition, and image data obtained by the image search is displayed. Thereby, in the image search in which the additional information attached to the image data is pre-hierarchized and the search condition is set and searched from the hierarchized additional information, the classified additional information is visually easily understood. The operability of image search can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of an image search device according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating a configuration example of an image information table in the image search device.
FIG. 3 is a diagram illustrating a configuration example of a keyword information table in the image search device.
FIG. 4 is a diagram illustrating a configuration example of a thesaurus dictionary in the image search device.
FIG. 5 is a diagram illustrating a configuration example of a keyword classification information table in the image search device.
FIG. 6 is a diagram illustrating a display example of a search screen in the image search device.
FIG. 7 is a flowchart showing an operation example when keyword registration processing is performed in the image search device.
FIG. 8 is a continuation of the flowchart of FIG. 7;
FIG. 9 is a flowchart illustrating an operation example when an image search process is performed in the image search device.
FIG. 10 is a continuation of the flowchart in FIG. 9;
FIG. 11 is a flowchart illustrating an operation example when a keyword search process is performed in the image search device.
FIG. 12 is a diagram illustrating a configuration example of a different notation synonym dictionary in the image search device.
FIG. 13 is a diagram illustrating a configuration example of a lower concept word dictionary in the image search device.
FIG. 14 is a flowchart illustrating an operation example when the image search device performs a semantic classification order process during a keyword registration process.
FIG. 15 is a flowchart illustrating an operation example when a classification name determination process is performed in a keyword registration process in the image search device.
FIG. 16 is a continuation of the flowchart in FIG. 15;
FIG. 17 is a diagram illustrating a configuration example of a semantic classification information table in the image search device.
FIG. 18 is a flowchart illustrating an operation example when keyword registration processing is performed in the image search device according to the second embodiment of the present invention.
[Explanation of symbols]
11 Image retrieval device
12 CPU (image classification means, representative image setting means, image search means)
13 ROM (storage device)
15 CRT (Additional information display means, search condition setting means, search result display means)
16 Peripheral controller
17 External storage device (storage device)
18 Digital Camera (Imaging Device)
19 Digital video camera (imaging device)
20 input device (search condition setting means)
61 Classification name
62 keywords
63 Keyword Control
64 representative image control
65 Search condition control
66 Search execution control

Claims (9)

画像データの検索を行う画像検索装置において、
登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行う画像分類手段と、前記付帯情報に対する代表画像を設定する代表画像設定手段と、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示する付帯情報表示手段と、前記表示に従い検索条件を設定する検索条件設定手段と、前記検索条件に基づき画像検索を行う画像検索手段と、前記画像検索で取得した画像データを表示する検索結果表示手段とを有することを特徴とする画像検索装置。
In an image search device that searches for image data,
Image classification means for classifying image data according to image data to be registered and additional information added to the image data; representative image setting means for setting a representative image for the additional information; and the additional information based on the classification of the image data. And additional information display means for displaying the representative image, search condition setting means for setting a search condition according to the display, image search means for performing an image search based on the search condition, and image data acquired by the image search. An image search device comprising: a search result display unit for displaying.
前記代表画像設定手段は、前記付帯情報を検索条件として設定し、前記検索条件に基づき画像検索を行い、前記画像検索で取得した画像データ群の中で一番もっともらしい画像データを前記代表画像として設定することを特徴とする請求項1記載の画像検索装置。The representative image setting means sets the incidental information as a search condition, performs an image search based on the search condition, and sets the most plausible image data in the image data group obtained by the image search as the representative image. 2. The image search device according to claim 1, wherein the image search device is set. 前記代表画像設定手段は、画像データに付与する前記付帯情報を登録する際に、登録する前記付帯情報が付与された画像データを前記代表画像として設定することを特徴とする請求項1記載の画像検索装置。2. The image according to claim 1, wherein, when registering the additional information to be added to the image data, the representative image setting unit sets, as the representative image, image data to which the additional information to be registered is added. 3. Search device. 前記付帯情報表示手段は、複数の画像データの分類名にそれぞれ対応した前記付帯情報を表示すると共に、複数の前記付帯情報にそれぞれ対応した前記代表画像を表示することを特徴とする請求項1乃至3の何れかに記載の画像検索装置。The said additional information display means displays the said additional information respectively corresponding to the classification | category name of several image data, and displays the said representative image respectively respectively corresponding to several said additional information. 3. The image search device according to any one of 3. 前記画像分類手段は、登録対象の画像データ及び画像データに付与する前記付帯情報によりシソーラス辞書を用いて画像データの分類を行うことを特徴とする請求項1記載の画像検索装置。2. The image search device according to claim 1, wherein the image classification unit classifies the image data using a thesaurus dictionary based on the image data to be registered and the supplementary information added to the image data. 前記登録対象の画像データは、撮像装置もしくは記憶装置から取得する画像データを含むことを特徴とする請求項1記載の画像検索装置。2. The image search device according to claim 1, wherein the image data to be registered includes image data obtained from an imaging device or a storage device. 画像データの検索を行う画像検索方法において、
登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行う画像分類工程と、前記付帯情報に対する代表画像を設定する代表画像設定工程と、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示する付帯情報表示工程と、前記表示に従い検索条件を設定する検索条件設定工程と、前記検索条件に基づき画像検索を行う画像検索工程と、前記画像検索で取得した画像データを表示する検索結果表示工程とを有することを特徴とする画像検索方法。
In an image search method for searching image data,
An image classification step of classifying image data based on image data to be registered and additional information to be added to the image data; a representative image setting step of setting a representative image for the additional information; and the additional information based on the classification of the image data. And an additional information display step of displaying the representative image, a search condition setting step of setting a search condition according to the display, an image search step of performing an image search based on the search condition, and image data acquired by the image search. And displaying a search result.
登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行う機能と、前記付帯情報に対する代表画像を設定する機能と、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示する機能と、前記表示に従い検索条件を設定する機能と、前記検索条件に基づき画像検索を行う機能と、前記画像検索で取得した画像データを表示する機能を、コンピュータに実現させるためのプログラム。A function of classifying the image data according to the image data to be registered and the additional information to be added to the image data, a function of setting a representative image for the additional information, and the additional information and the representative image based on the classification of the image data. A program for causing a computer to realize a function of displaying, a function of setting a search condition according to the display, a function of performing an image search based on the search condition, and a function of displaying image data acquired by the image search. 画像データの検索を行う画像検索方法を実行するプログラムを記憶したコンピュータにより読み出し可能な記憶媒体であって、
前記画像検索方法は、登録対象の画像データ及び画像データに付与する付帯情報により画像データの分類を行うステップと、前記付帯情報に対する代表画像を設定するステップと、前記画像データの分類に基づき前記付帯情報と前記代表画像を表示するステップと、前記表示に従い検索条件を設定するステップと、前記検索条件に基づき画像検索を行うステップと、前記画像検索で取得した画像データを表示するステップとを有することを特徴とする記憶媒体。
A computer-readable storage medium storing a program for executing an image search method for searching for image data,
The image search method includes a step of classifying image data based on image data to be registered and additional information to be added to the image data; a step of setting a representative image for the additional information; and a step of setting the additional image based on the classification of the image data. Displaying information and the representative image, setting a search condition according to the display, performing an image search based on the search condition, and displaying image data acquired by the image search. A storage medium characterized by the above-mentioned.
JP2002301794A 2002-10-16 2002-10-16 Image search system, image search method, program, and storage medium Pending JP2004139246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002301794A JP2004139246A (en) 2002-10-16 2002-10-16 Image search system, image search method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002301794A JP2004139246A (en) 2002-10-16 2002-10-16 Image search system, image search method, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2004139246A true JP2004139246A (en) 2004-05-13

Family

ID=32450050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002301794A Pending JP2004139246A (en) 2002-10-16 2002-10-16 Image search system, image search method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2004139246A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007094518A (en) * 2005-09-27 2007-04-12 Nec Personal Products Co Ltd Portable information terminal device, information processing apparatus, and method of sorting image
JP2007188404A (en) * 2006-01-16 2007-07-26 Nikon Corp Image search device, image search method, and image search program
JP2011028534A (en) * 2009-07-27 2011-02-10 Sony Corp Device, method and program for processing display
JP2019049898A (en) * 2017-09-11 2019-03-28 大日本印刷株式会社 Image map creating device, display device and program
WO2019240144A1 (en) * 2018-06-13 2019-12-19 ソニー株式会社 Information processing device and information processing method
CN117555858A (en) * 2023-12-14 2024-02-13 河北因朵科技有限公司 Digital archive safe storage and retrieval system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007094518A (en) * 2005-09-27 2007-04-12 Nec Personal Products Co Ltd Portable information terminal device, information processing apparatus, and method of sorting image
JP2007188404A (en) * 2006-01-16 2007-07-26 Nikon Corp Image search device, image search method, and image search program
JP2011028534A (en) * 2009-07-27 2011-02-10 Sony Corp Device, method and program for processing display
JP2019049898A (en) * 2017-09-11 2019-03-28 大日本印刷株式会社 Image map creating device, display device and program
WO2019240144A1 (en) * 2018-06-13 2019-12-19 ソニー株式会社 Information processing device and information processing method
CN117555858A (en) * 2023-12-14 2024-02-13 河北因朵科技有限公司 Digital archive safe storage and retrieval system

Similar Documents

Publication Publication Date Title
US6735583B1 (en) Method and system for classifying and locating media content
JP3883810B2 (en) Information management, retrieval and display system and related methods
McDonald et al. Search strategies in content-based image retrieval
JP2009009461A (en) Keyword inputting-supporting system, content-retrieving system, content-registering system, content retrieving and registering system, methods thereof, and program
JPWO2004034282A1 (en) Content reuse management device and content reuse support device
JP5455232B2 (en) Image selection apparatus, method and program
JP2004139246A (en) Image search system, image search method, program, and storage medium
Hollink Semantic annotation for retrieval of visual resources
JP3367174B2 (en) Document group analysis apparatus and method
JP2004102818A (en) Retrieval support method and retrieval support device
JP2004139401A (en) Information processor, image search system, image search method, medium for providing control program, and control program
JPH1166078A (en) Retrieval request embodiment method/device and storage medium storing retrieval, request embodiment program
JP2004102792A (en) Image retrieval device and image retrieval method, program, and medium
JP2009146013A (en) Content retrieval method, its device, and program
Barai et al. Image Annotation System Using Visual and Textual Features.
JPH10162011A (en) Information retrieval method, information retrieval system, information retrieval terminal equipment, and information retrieval device
JP2003076694A (en) Image retrieval device, and method and program therefor
JP3578045B2 (en) Full-text search method and apparatus, and storage medium storing full-text search program
JP2005004564A (en) Image classifying and processing system
JPH07175811A (en) Electronic document control device
JP2003076695A (en) Image retrieval device, and method and program therefor
JP4034503B2 (en) Document search system and document search method
JP2003173343A (en) Document management device and document display method
JPH06337899A (en) Information retrieving method and its device
JPH10312387A (en) Processor and method for information processing and recording medium where information processing program is recorded