JP2004102792A - Image retrieval device and image retrieval method, program, and medium - Google Patents

Image retrieval device and image retrieval method, program, and medium Download PDF

Info

Publication number
JP2004102792A
JP2004102792A JP2002265470A JP2002265470A JP2004102792A JP 2004102792 A JP2004102792 A JP 2004102792A JP 2002265470 A JP2002265470 A JP 2002265470A JP 2002265470 A JP2002265470 A JP 2002265470A JP 2004102792 A JP2004102792 A JP 2004102792A
Authority
JP
Japan
Prior art keywords
keyword
classification
image data
search
obtaining
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
JP2002265470A
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 JP2002265470A priority Critical patent/JP2004102792A/en
Publication of JP2004102792A publication Critical patent/JP2004102792A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image retrieval device and an image retrieval method capable of easily retrieving image even when key words fixed to image data are not recognized, a program, and a recording medium. <P>SOLUTION: This image retrieval device 11 comprises a ROM 13 storing various types of information tables, a digital camera 18, and a peripheral controller part 16 controlling the connection thereof to a CRT 15. The image data generated by the digital camera 18 is acquired together with the key words given by an operator and the criticality thereof, and a group into which key words are classified, the representative image data thereof, and the criticality level thereof are determined by the information tables stored in the ROM 13. In a retrieval screen displayed on a CRT 15, key words are arranged in a key word display part 63 based on the group and criticality level in the state of allowing to select registration in, adding to, and deletion from the conditions for retrieving specified image data, and the representative image data of the key words is displayed in a representative image data display part 64. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像検索方法及びその方法、並びにプログラム及び媒体に関し、特に、電子カメラやビデオカメラ等の電子スチルカメラで撮影された複数の画像データを表示・検索する画像検索装置及びその方法、並びにプログラム及び媒体に関する。
【0002】
【従来の技術】
近年、写真をデジタル信号としてメモリカード等に記憶する電子スチルカメラが提供されている。これらの電子スチルカメラで撮影された写真等の画像データは、従来の銀塩フィルムを用いたカメラで撮影された写真と比べ、光メモリなどの可搬性メモリに記憶することにより物理的なスペースを必要とすることなく大量に保存することが可能になっている。
【0003】
従来、このような大量に蓄積された画像データの中から所望とする画像データを検索する(以下「画像データ検索」という。)手法として、画像データの個々にキーワードを付与し、この付与されたキーワードと操作者が指定した検索条件とを比較することにより検索を行う(以下「キーワード検索」という。)手法がある。このキーワード検索における検索条件の指定は、操作者が予め用意された入力フィールドに自然言語文や論理演算子などで指定された複数のキーワードを入力することにより行われるものである。また、入力フィールドへのキーワードの入力方法には、操作者により入力された先頭文字と同じ先頭文字のキーワードであって、画像データベースから検索・リストアップされたものの1つを操作者が選択することにより行われるものも存在する。
【0004】
また、キーワード検索の手法として、予め意味的に階層化したディレクトリ構造を持ちその階層化名をキーワードとし、これらの階層を提示してキーワードを付与、若しくは分類することにより検索を行う手法が存在する(例えば、特許文献1参照)。
【0005】
【特許文献1】
特開平7−129621号公報
【0006】
【発明が解決しようとする課題】
しかしながら、上記の画像データ検索、特に、キーワード検索では、所望する画像データを検索するためには適切なキーワードを見出して、入力フィールドに入力することが必要である。
【0007】
例えば、キーワード検索において、蓄積された画像データのキーワードを予め認知しているときは、簡単に検索をすることは可能であるが、認知していないときは、操作者が適切なキーワードを思考錯誤しながら検索を行わなければならない。
【0008】
また、予め意味的に階層化したディレクトリ構造を持ちその階層化名をキーワードとし、これらの階層を提示してキーワードを付与、若しくは分類することにより検索を行う手法については、操作者が予め階層化を理解しておく必要がある。また、キーワードを付与する度に階層構造をたどらなければならないのは面倒である。
【0009】
また、階層化されたデータを検索する手法では、検索条件として1つのキーワードしか検索が行えない。例えば、「海にいる子供」の画像データを検索するときは、上記の方法で「海」若しくは「子供」のいずれかにより検索を行い、その中で操作者が自ら「海にいる子供」を検索する必要があった。
【0010】
本発明の目的は、各画像データに付与されたキーワードを認知していなくても簡単に検索を行うことができる画像検索方法及びその方法、並びにプログラム及び媒体を提供することにある。
【0011】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の画像検索装置は、複数の画像データ及び当該画像データに付与するキーワードを登録する登録手段と、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索手段とを備える画像検索装置において、前記登録手段は、前記複数の画像データを取得する画像データ取得手段と、前記取得した画像データに付与するキーワードを取得するキーワード取得手段と、意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存する保存手段と、前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別手段と、キーワードの意味分類情報を第1の辞書から取得する意味分類取得手段と、キーワードの品詞情報を前記第2の辞書から取得する品詞取得手段と、前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得手段により当該キーワードについて取得された意味分類情報、及び前記品詞取得手段により当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定手段とを備え、前記検索手段は、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示手段を備えることを特徴とする。
【0012】
請求項2記載の画像検索装置は、請求項1記載の画像検索装置において、前記意味分類取得手段は、前記取得したキーワードの意味分類情報が前記第1の辞書により管理されていないときは、前記取得された品詞情報にのみに基づいて前記キーワードの分類を取得することを特徴とすることを特徴とする。
【0013】
請求項3記載の画像検索装置は、請求項1記載の画像検索装置において、キーワード判別手段により前記取得したキーワードがあるときは、前記情報テーブルに当該キーワードの分類として管理されている分類を当該キーワードの分類として決定する他の分類決定手段を備えることを特徴とする。
【0014】
請求項4記載の画像検索装置は、請求項3記載の画像検索装置において、前記キーワード表示手段は、前記情報テーブルにより管理されている分類を表示する分類表示手段と、分類表示手段により表示された分類毎に、前記分類決定手段により当該分類に決定されたキーワードを表示する分類内キーワード表示手段とを備えること特徴とする。
【0015】
請求項5記載の画像検索装置は、請求項4記載の画像検索装置において、前記検索手段は、前記検索条件であるキーワードに前記分類内キーワード表示手段により表示されたキーワードを追加する検索条件追加手段と、前記検索条件であるキーワードから前記分類内キーワード表示手段により表示されたキーワードを削除する検索条件削除手段と、前記検索条件であるキーワードを設定する検索条件設定手段とを備えることを特徴とする。
【0016】
上記目的を達成するために、請求項6記載の画像検索方法は、複数の画像データ及び当該画像データに付与するキーワードを登録する登録ステップと、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索ステップとを有する画像検索方法において、前記登録ステップは、前記複数の画像データを取得する画像データ取得ステップと、前記取得した画像データに付与するキーワードを取得するキーワード取得ステップと、意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存するステップと、前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別ステップと、キーワードの意味分類情報を第1の辞書から取得する意味分類取得ステップと、キーワードの品詞情報を前記第2の辞書から取得する品詞取得ステップと、前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得ステップにより当該キーワードについて取得された意味分類情報、及び前記品詞取得ステップにより当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定ステップとを有し、前記検索ステップは、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示ステップを有することを特徴とする。
【0017】
請求項7記載の画像検索方法は、請求項6記載の画像検索方法において、前記意味分類取得ステップは、前記取得したキーワードの意味分類情報が前記第1の辞書により管理されていないときは、前記取得された品詞情報にのみに基づいて前記キーワードの分類を取得することを特徴とすることを特徴とする。
【0018】
請求項8記載の画像検索方法は、請求項6記載の画像検索方法において、キーワード判別ステップにより前記取得したキーワードがあるときは、前記情報テーブルに当該キーワードの分類として管理されている分類を当該キーワードの分類として決定する他の分類決定ステップを有することを特徴とする。
【0019】
請求項9記載の画像検索方法は、請求項8記載の画像検索方法において、前記キーワード表示ステップは、前記情報テーブルにより管理されている分類を表示する分類表示ステップと、分類表示ステップにより表示された分類毎に、前記分類決定ステップにより当該分類に決定されたキーワードを表示する分類内キーワード表示ステップとを有すること特徴とする。
【0020】
請求項10記載の画像検索方法は、請求項9記載の画像検索方法において、前記検索ステップは、前記検索条件であるキーワードに前記分類内キーワード表示ステップにより表示されたキーワードを追加する検索条件追加ステップと、前記検索条件であるキーワードから前記分類内キーワード表示ステップにより表示されたキーワードを削除指定する検索条件削除する検索条件削除ステップと、前記検索条件であるキーワードを設定する検索条件設定ステップとを有することを特徴とする。
【0021】
上記目的を達成するために、請求項11記載のプログラムは、複数の画像データ及び当該画像データに付与するキーワードを登録する登録ステップと、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索ステップとをコンピュータに実行させるプログラムにおいて、前記登録ステップは、前記複数の画像データを取得する画像データ取得ステップと、前記取得した画像データに付与するキーワードを取得するキーワード取得ステップと、意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存する保存ステップと、前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別ステップと、キーワードの意味分類情報を第1の辞書から取得する意味分類取得ステップと、キーワードの品詞情報を前記第2の辞書から取得する品詞取得ステップと、前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得ステップにより当該キーワードについて取得された意味分類情報、及び前記品詞取得ステップにより当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定ステップとを有し、前記検索ステップは、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示ステップを有することを特徴とする。
【0022】
上記目的を達成するために、請求項12記載の媒体は、複数の画像データ及び当該画像データに付与するキーワードを登録する登録ステップと、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索ステップとをコンピュータに実行させるプログラムを格納するコンピュータ読取り可能な媒体において、前記登録ステップは、前記複数の画像データを取得する画像データ取得ステップと、前記取得した画像データに付与するキーワードを取得するキーワード取得ステップと、意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存する保存手段を備え、前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別ステップと、キーワードの意味分類情報を第1の辞書から取得する意味分類取得ステップと、キーワードの品詞情報を前記第2の辞書から取得する品詞取得ステップと、前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得ステップにより当該キーワードについて取得された意味分類情報、及び前記品詞取得ステップにより当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定ステップとを有し、前記取得したキーワードに基づいて前記取得した画像データを分類する画像分類ステップとを有し、前記検索ステップは、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示ステップを有することを特徴とする。
【0023】
【発明の実施の形態】
以下、本発明の実施の形態に係る画像検索装置を図面を用いて詳説する。
【0024】
図1は、本発明の実施の形態に係る画像検索装置のブロック図である。
【0025】
図1において、画像検索装置11は、画像検索を行うためのプログラム及び後述する図2及び図3の情報テーブルや後述する図4のシソーラス辞書等を保存するROM13と、ROM13に保存されたプログラムを実行するRAM14と、画像検索装置11の外部機器との接続制御を行う周辺コントローラ部16と、ROM13、RAM14、及び周辺コントローラ部16に接続され、これらを制御するCPU12とを備える。
【0026】
上記周辺コントローラ部16によって接続制御が行われる外部機器としては、画像検索装置11の処理状況をCPU12の制御に従って表示するCRT15と、画像データを保存する外部記憶装置17と、画像データを生成するデジタルカメラ18及びデジタルビデオカメラ19と、マウスやキーボードなどの入力装置20とがある。
【0027】
操作者がデジタルカメラ18やデジタルビデオカメラ19等で取得した画像データは、外部記憶装置17又はROM13に保存される。
【0028】
また、ROM13は、いずれも後述する図2の画像情報テーブル、図3のキーワード情報テーブル、図4のシソーラス辞書、図5のキーワード分類情報テーブル、図6の異表記同義語辞書、図7の下位概念単語辞書を夫々保存する。これらのテーブル及び辞書は、外部記憶装置17に保存されてもよい。
【0029】
図2は、図1におけるROM13に保存される画像情報テーブルを示す図である。
【0030】
図2において、画像情報テーブルは、操作者がデジタルカメラ18やデジタルビデオカメラ19等で取得した画像データのファイル名と、その画像データを識別する画像IDとから成る。例えば、画像情報テーブルは、1つの画像データのファイル名「flower01.jpg」及び画像ID「001」を管理する。
【0031】
本実施の形態では、画像IDとして任意の数値(連番)を用いたが、画像データのファイル名が一意となるときは、画像データのファイル名を画像IDとして用いてもよい。
【0032】
図3は、図1におけるROM13に保存されるキーワード情報テーブルを示す図である。
【0033】
図3において、キーワード情報テーブルは、図2の画像情報テーブルで管理されている画像データの画像ID、その画像データに付与されたキーワード、及びそのキーワードの重要度から成る。また、各画像データのキーワードの重要度としては、操作者が任意に決定した基準に基づいて値が付与される。例えば、画像データに付与されたキーワードがその画像データの主題的なものであるときは「3」、そのキーワードによってその画像データが検索されうるものであるときは「2」、その画像データのキーワードとして重要なものではないが妥当なものであるときは「1」がその画像データに対するキーワードの重要度として付与される。キーワードの重要度は、所定の基準に基づいて付与されるものであればよく、本実施の形態の基準に限定されるものではない。
【0034】
従って、図3に示すように、画像ID「001」の画像データには、キーワードとして「花」、「赤い」、「公園」が付与されており、また、夫々のキーワードには「(花=)3」、「(赤い=)1」、「(公園=)1」として重要度が付与されている。
【0035】
図4は、図1におけるROM13に保存されるシソーラス辞書を示す図である。
【0036】
図4において、シソーラス辞書は、見出し語、見出し語の意味分類、及び見出し語の品詞から成る。見出し語とは、後述する図9のキーワード登録処理において取得されるキーワード、又は後述する図11のキーワード検索処理において取得される異表記・同義語・下位概念単語をいう。このことは、後述する図6の異表記同義語辞書、及び後述する図7の下位概念単語辞書についても同様である。
【0037】
このシソーラス辞書において、例えば、見出し語「公園」は、品詞は「名詞」、意味分類は「具体物:製造物:抽象物:場所」を示す。また、このとき、「具体物(第1階層)、製造物(第2階層)」と「抽象物(第1階層)、場所(第2階層)」の2つの意味を持つことを示す。また、見出し語「赤い」は、品詞「形容詞」、意味分類はなしになっている。本実施の形態では、品詞は、シソーラス辞書の構成要素となっているが、シソーラス辞書の構成要素とはせず、単語辞書を別に構成し、その構成要素としてもよい。
【0038】
見出し語が図3のキーワード情報テーブル中のキーワードと一致する場合であって、意味分類が存在するときはその第2階層の名称が当該キーワードの属する分類の名称であるとして、後述する図5のキーワード分類情報テーブルのキーワードに反映される。
【0039】
一方、見出し語が図3のキーワード情報テーブル中のキーワードと一致する場合であっても、品詞が助詞、助動詞、接続詞、代名詞などに代表される意味を持たない単語は、「抽象物」として分類し、後述する図5のキーワード分類情報テーブルのキーワードに反映される。これにより、全てのキーワードの分類名を確実に取得することができる。
【0040】
また、本実施の形態では、品詞が助詞、助動詞、接続詞、代名詞などに代表される意味を持たない単語は、「抽象物」として分類することとしたが、他の品詞において設定される意味分類と区別できれば、これに限定されるものではない。また、本実施の形態においては、分類項目としては、「人間」「植物」「動物」「場所」「製造物」「抽象物」と分類したが、この分類だけに限らない。図4のシソーラス辞書は、第1の辞書及び第2の辞書を構成する。
【0041】
図5は、図1におけるROM13に保存されるキーワード分類情報テーブルを示す図である。
【0042】
図5において、キーワード分類情報テーブルは、キーワード、そのキーワードが属する分類、そのキーワードが付与された画像データのうち後述する図10のスコア値が最も高いものを示す代表画像データの画像ID、及び各画像データについて付与されたこのキーワードの重要度を加算した値である重要度レベルから成る。この重要度レベルは、このキーワードについて付与された重要度が高くなお且つそのキーワードが多くの画像データに付与されているときに高くなる。最もスコア値が高い画像データが複数存在する場合は、画像IDの番号が若い画像データが代表画像データとして選択される。
【0043】
また、1つの分類に複数のキーワードが図5のキーワード分類情報テーブルにより管理されている場合、キーワードは重要度レベルの高いものが上位となるように図5のキーワード分類情報テーブルに管理される。例えば、キーワード「魚」と同じ分類「動物」に属する「象」や「犬」は、その重要度レベルは、夫々「10」、「2」であるため、図5のキーワード分類情報テーブルには、分類「動物」のキーワードとして上位のものから順に「魚」、「象」、「犬」が管理される。
【0044】
図6は、図1におけるROM13に保存される異表記同義語辞書を示す図である。
【0045】
図6において、異表記同義語辞書は、見出し語、及びその見出し語にあてはまる異表記若しくは同義語から成る。例えば、見出し語「花」にあてはまる異表記若しくは同義語として、「フラワー」、「お花」、「flower」などが登録されている。
【0046】
図7は、図1におけるROM13に保存される下位概念単語辞書を示す図である。
【0047】
図7において、下位概念単語辞書は、見出し語、その見出し語の下位概念を示す単語、及びその階層を示す階層レベルから成る。例えば、見出し語「車」の下位概念に当てはまる単語として、「ポルシェ」、「バイク」、「車輪」が登録され、夫々の単語には()書で階層レベルが「ポルシェ(0.8)」「バイク(0.64)」「車輪(0.55)」のように付与されている。
【0048】
図8は、図1におけるCRT15に表示される検索画面を示す図である。
【0049】
CRT15に表示される検索画面は、CPU12により制御されるものであり、分類の名称を表示する分類表示部61と、分類表示部61に表示された分類に属するキーワード数を表示するキーワード数表示部62と、その分類に属するキーワードを表示するキーワード表示部63と、選択されたキーワードの代表画像データを表示する代表画像データ表示部64と、検索条件となるキーワードが入力される検索条件入力部65と、入力装置20による入力があったときに検索開始信号をCPU12に送信する検索実行部66と、チェックボックス67と、スクロールバー68とから構成される。
【0050】
検索条件入力部65は、複数の入力部があり、夫々の入力部には1つのキーワードを入力できるように構成されている。
【0051】
チェックボックス67は、各検索条件入力部65に対して設けられており、チェックボックスコントロールは、操作者が入力装置20により選択して、ONとなったチェックボックス67に対する検索条件入力部65に入力されたキーワードは検索条件であると判別し、操作者が入力装置20により選択しないか又は選択を解除して、OFFとなったチェックボックス67に対する検索条件入力部65に入力されたキーワードは検索条件でないと判別する。
【0052】
検索条件入力部65に入力されたキーワードのうちいずれが検索条件として選択されたかが判別できるものであれば、本実施の形態のように、チェックボックスコントロールに限定されるものでなく、例えば、ボタンコントロールなどであってもよい。
【0053】
スクロールバー68は、代表画像データ表示部64の両端に1部のみ表示された同一分類に属するキーワード及びその代表画像データの全てを閲覧するために設けられており、ボタンコントロールは操作者が左端のスクロールバー68を入力装置20により選択すると、代表画像データ表示部64に表示されている代表画像データより重要度レベルの高い代表画像データを表示し、操作者が右端のスクロールバー68を入力装置20により選択すると代表画像データ表示部64に表示されている代表画像データより重要度レベルの低い代表画像データを表示するように制御する表示する。
【0054】
検索条件となるキーワードは、検索条件入力部65に入力装置20により操作者が直接文字入力するか、キーワード表示部63に表示されるキーワードを入力装置20により操作者が選択して検索条件入力部65にドラッグ&ドロップすることにより、検索条件入力部65に入力される。
【0055】
図8において、画像データは、分類表示部61に表示されるように、大きく分けて「動物」、「人間」、「植物」、「場所」、「製造物」、「抽象物」に分類される。また、夫々の分類にあてはまるキーワード数は、キーワード数表示部62に表示されるように、「動物」は「50」、「人間」は「100」、「植物」は「40」、「場所」は「99」、「製造物」は「12」、「抽象物」は「50」である。さらに、分類「動物」にあてはまるキーワードは、キーワード表示部63に表示されるように、「魚」、「象」、「犬」がある。また、夫々のキーワードに対する代表画像データは、夫々のキーワード表示部63の隣の代表画像データ表示部64に表示される。
【0056】
次に、図1の画像検索装置11によって実行される画像検索方法を図面を参照しながら詳述する。本画像検索方法は、後述する図9の画像分類処理により、図8の検索画面の各キーワード表示部63に表示されるキーワード及び各代表画像データ表示部64に表示される画像データを決定した後、後述する図12の画像データ検索処理により、操作者が図8の検索画面を用いて入力したキーワードを検索条件として画像データを検索するものである。
【0057】
図9は、図1における画像データ検索装置11によって実行される画像分類処理を示すフローチャートである。
【0058】
図9において、まず、キーワードを付与する画像データの登録が終了したか否かを判別し(ステップS101)、登録の終了が終了していないときは(ステップS101でNO)、入力装置20により既に外部記憶装置17若しくはROM13に存在している画像データ、又はデジタルカメラ18若しくはデジタルビデオカメラ19などから周辺コントローラ部16を経由して直接取得した画像データの1つを登録画像データとして取得する(ステップS102)(画像データ取得手段)。このとき、同時に取得した登録画像データのファイル名及びその画像IDが取得され、図2の画像情報テーブルに登録される。
【0059】
次に、ステップS102で取得した登録画像データに付与するキーワードを入力装置20より取得し(ステップS103)(キーワード取得手段)、この取得したキーワードの重要度を取得する(ステップS104)。本実施の形態では、重要度を入力装置20で入力されたデータとして取得することとしているが、キーワードの入力順位により重要度を自動的に付与してもよい。
【0060】
その後、ステップS102で取得した登録画像データに付与する全てのキーワードの取得が終了するまでは(ステップS105でNO)、ステップS103〜S104の処理を繰り返す。
【0061】
ステップS105において、ステップS102で取得した登録画像データに付与する全てのキーワード及びその重要度の取得が終了したときに、これらのキーワード及び重要度を図3のキーワード情報テーブルに登録し(ステップS106)、ステップS101以降の処理を繰り返す。図3のキーワード情報テーブルへのキーワード及び重要度の登録は、ステップS102で取得した登録画像データに割り当てられた画像ID毎に行う。これにより、各情報テーブルへ登録されたデータのインデックスを作成して検索の高速化を図ることができる。
【0062】
上記ステップS101の判別の結果、キーワードを付与する画像データの登録がすべて終了したときは(ステップS101でYES)、各登録画像データ毎にステップS106で登録されたキーワードを登録キーワードとして取得する(ステップS107)。
【0063】
次に、ステップS107で取得した登録キーワードの1つについて、そのキーワードが図5のキーワード分類情報テーブルにより管理されているか否かを判別し(ステップS108)(キーワード判別手段)、管理されているときは(ステップS108でYES)、情報テーブルにこのキーワードの分類として管理されている分類をこのキーワードの分類として決定し、ステップS115に進む。これにより、ステップS107で取得した登録キーワードの分類の決定を速やかに行うことができる。この決定された分類を以下「決定分類」という。
【0064】
一方、ステップS108の判別の結果、ステップS107で取得した登録キーワードが管理されていないときは、図4のシソーラス辞書を用いて、登録キーワードに対する意味分類を取得すると共に(ステップS109)(意味分類取得手段)、その登録キーワードに対する品詞を取得し(ステップS110)(品詞取得手段)、ステップS109において取得された意味分類を参照して登録キーワードの決定分類を決定する(ステップS111)(分類決定手段)。
【0065】
続くステップS112では、ステップS107で取得した登録キーワード及びステップS111で決定された決定分類を図5のキーワード分類情報テーブルにおけるキーワード及びそのキーワードが属する分類として登録し、その後、登録キーワードを検索条件文として設定し後述する図10のキーワード検索処理を行い(ステップS113)、キーワード検索処理により求められた後述するスコア値の最も高い画像データを登録キーワードの代表画像データとして取得し(ステップS114)、その後、全ての登録キーワードの取得が終了するまで(ステップS115でYES)、ステップS107〜S115までの処理を繰り返す。ステップS114で取得された代表画像データは、図5のキーワード分類情報テーブルにおける代表画像データとして登録される。
【0066】
ステップS115の判別の結果、全ての登録キーワードの取得が終了すると(ステップS115でYES)、キーワードが増えた分類に限り後述する図11の意味分類順位処理を行い(ステップS116)、本処理を終了する。この意味分類順位処理により求められたキーワードの重要度レベルは、図5のキーワード分類情報テーブルの重要度レベルに反映される。図9のステップS101〜S105は、登録手段を構成する。
【0067】
図9の処理によれば、登録キーワードが図5のキーワード分類情報テーブルに格納されてないときに(ステップS108でNO)、この登録キーワードについて図4のシソーラス辞書から取得した意味分類及び品詞に基づいて登録キーワードの分類を決定するので(ステップS109〜S111)、画像データの分類を確実に行うことができる。
【0068】
図10は、図9のステップS113で実行されるキーワード検索処理を示すフローチャートである。
【0069】
図10において、まず、図9のステップS107で取得した登録キーワードを検索条件文として取得し(ステップS301)、自然言語処理により、検索条件文を単語に分割する(ステップS302)。この自然言語処理については既存の自然言語処理を用いることとし説明を省略する。また、分割された単語において、図9のステップS109の「抽象物」に分類される単語はこの分割単語より削除する。
【0070】
次に、ステップS302で単語分割された夫々の単語において異表記及び同義語を図6の異表記同義語辞書により取得し(ステップS303)、下位概念単語及びその階層レベルを図7の下位概念単語辞書により取得する(ステップS304)。
【0071】
分割されたすべての単語について、異表記、同義語、下位概念単語及びその階層レベルが取得されるまで(ステップS305でNO)、ステップS303〜S304の処理を繰り返し、全ての単語について取得されたときは(ステップS305でYES)、ステップS301〜S304の処理により取得された全ての単語を検索条件文として画像を検索する(ステップS306)。
【0072】
ステップS306において、ステップS301で取得した登録キーワード、ステップS302で分割された単語、ステップS303で取得した異表記及び同義語、及びステップS304で取得した下位概念単語と、図3のキーワード情報テーブルのキーワードとを比較し、図3のキーワード情報テーブル中に一致したキーワード(以下「一致キーワード」という。)がある場合には画像検索の結果として一致キーワードの画像データを以下のスコア計算用の画像データとして取得する。
【0073】
取得した画像データについて、スコア計算を行う(ステップS307)。スコア計算とは、ステップS301で取得した登録キーワードとステップS306で得られた一致キーワードとの一致レベルの合計値と一致キーワード毎に付与されている重要度との和であるスコア値を計算することをいう。また、本実施の形態では、登録キーワードの一致レベルは、図3のキーワード情報テーブルのキーワードと一致するときを3、キーワードから分割された単語が図6の異表記同義語辞書にあるときを2、キーワードから分割された単語が図7の下位概念単語辞書にあるときをその階層レベルに1を足したものとする。スコア値の求め方は、一定の基準に基づくものであれば、本発明の実施の形態に係る求め方に限定されるものではない。
【0074】
ステップS301で取得された全ての登録キーワードのスコア計算が終了するまで(ステップS308でNO)、ステップS307の処理を繰り返し、全ての登録キーワードのスコア計算が終了したときは(ステップS308でYES)、本処理を終了する。
【0075】
図10の処理によれば、登録キーワード、その単語分割した単語、分割された全ての単語についての異表記、同義語、下位概念単語を検索条件として画像検索し(ステップS301〜S306)、その結果得られた一致キーワードの一致レベル及び重要度の和を各登録キーワードについて求めるスコア計算を行うので(ステップS307)、スコア計算用の画像データのうち、スコア値の最も高いものを登録キーワードの代表画像データとして図8の検索画面の代表画像データ表示部64に表示することにより画像データに付与されたキーワードを認知していなくても簡単に検索を行うことができる。
【0076】
図11は、図9のステップS116で実行される意味分類順位処理を示すフローチャートである。
【0077】
本処理は、キーワードが増えた分類に限り行われるものであり、重要度レベルの初期値は0とする。
【0078】
図11において、まずステップS111で決定される決定分類の1つを図5のキーワード分類情報テーブルから取得し(ステップS401)、決定分類に属するキーワードの1つを同じく図5のキーワード分類情報テーブルより取得する(ステップS402)。
【0079】
次に、図3のキーワード情報テーブルより、ステップS402で取得したキーワードの重要度を取得し(ステップS403)、重要度レベルに加算する(ステップS404)。
【0080】
その後、ステップS401で決定分類に属する全てのキーワードについてステップS402の取得が終了するまで(ステップS404でYES)、ステップS402〜S403までの処理を繰り返す。この処理により得られた各キーワードの重要度レベルは図5のキーワード分類情報テーブルに登録される。
【0081】
次に、図9のステップS111で決定された決定分類の全てについてステップS402〜S404の処理が終了したか判別し、終了しているときは(ステップS405でYES)、本処理を終了する。
【0082】
図11の意味分類順位処理によれば、決定分類に属する各キーワードに対して重要度レベルを計算するので(ステップS401〜S404)、図8の検索画面のキーワード表示部63に表示するキーワードを重要度レベルに基づいて配列することにより画像データに付与されたキーワードを認知していなくても簡単に検索を行うことができる。
【0083】
図12は、図1における画像データ検索装置11によって実行される画像データ検索処理を示すフローチャートである。
【0084】
図12において、まず、図5のキーワード分類情報テーブルより、分類と、その分類に属するキーワードと、そのキーワードに対応する代表画像データとを重要度レベルの降順に取得し、さらに、各分類にあてはまるキーワード数も取得し、RAM14に保存する(ステップS201)。その後、ステップS201で取得した決定分類の重複を取り除いた状態で図8の検索画面の分類表示部61に表示すると共に(ステップS202)、この表示した決定分類に対するキーワード数を図8の検索画面のキーワード数表示部62に表示する(ステップS203)。
【0085】
次に、キーワード及びその代表画像データを図8の検索画面のキーワード表示部63及び代表画像データ表示部64をステップS201で取得した順位で表示し(ステップS204〜S205)、ステップS202の分類内におけるキーワードが終了するまで(ステップS206でYES)、ステップS204及びステップS205の処理を繰り返す。また、表示する分類が終了するまで(ステップS207でYES)、ステップS202〜S206の処理を繰り返す。図12のステップS201〜S207の処理は、表示手段を構成する。
【0086】
上述のステップS201〜S207の処理により、検索時に、情報テーブルにより管理されている分類と、各分類毎にその分類に属するキーワードとを表示するので(ステップS202)、予め画像検索装置11に登録された各画像データに付与されたキーワードを認知していなくても簡単に検索を行うことができる。
【0087】
また、各分類に属するキーワードを重要度レベルが高い順に表示するので(ステップS204)、予め画像検索装置11に登録された各画像データに付与されたキーワードを認知していなくても簡単に検索を行うことができる。
【0088】
図8の検索画面の検索条件入力部65、検索実行部66、及びチェックボックス67の表示処理は特に記載していないが同様に図8の検索画面に表示される。
【0089】
その後、少なくとも1つの検索条件入力部65にキーワードが入力され、且つそれに対するチェックボックス67がONになると(ステップS208でYES)、検索条件入力部65に入力されたキーワードを後述するステップS217で行う図10のキーワード検索において取得される検索条件文とする。
【0090】
また、キーワード表示部63に表示されるキーワードを入力装置20により操作者が選択して検索条件入力部65にドラッグ&ドロップすることによっても、検索条件入力部65に検索条件文として設定されるキーワードが入力される。
【0091】
次に、キーワードが検索条件入力部65に追加指定されたか否かを判別する(ステップS209)。具体的には、ステップS208の判断以降に新たにONとなったチェックボックス67があるか否か判別する。キーワードを追加指定する方法は、本実施の形態に限定されるものではなく、検索画面によって異なる方法を用いてもよい。
【0092】
ステップS209の判別の結果、キーワードが追加指定されたときは、このキーワードについても後述するステップS217で行う図10のキーワード検索において取得される検索条件文とする(ステップS210)。一方、ステップS209の判別の結果、キーワードが追加指定されていないときは、キーワードが削除指定されたか否かを判別する(ステップS211)。具体的には、ステップS208の判断時にONであったチェックボックス67のうち、OFFとなったものがあるか否かを判別する。キーワードを削除指定する方法においても、キーワードを追加指定する方法と同様に、本実施の形態に限定されるものではなく、検索画面によって異なるもの方法を用いてもよい。
【0093】
ステップS211の判別の結果、キーワードが削除指定されたときは、このキーワードについては後述するステップS217で行う図10のキーワード検索において取得される検索条件文から削除する(ステップS212)。一方、ステップS211の判別の結果、キーワードが削除指定されていないときは、検索実行状態が確立されているか否かを判別する(ステップS215)。この判別は、具体的には、検索実行部66が選択されたか否かを判別することにより実行される。
【0094】
ステップS215の結果、検索実行状態であるときは、現在チェックボックス67がONとなっている検索条件入力部65内のキーワードを検索条件文として取得する(ステップS216)。一方、ステップS215の判別の結果、検索実行状態でないときは、ステップS208以降の処理を行う。
【0095】
その後、ステップS216で取得したキーワードを検索条件文として前述した図10のキーワード検索処理を行い(ステップS217)、本処理において取得された順に画像IDより画像データファイル名を取得し、検索された結果の画像データを表示して(ステップS218)、本処理を終了する。図12のステップS208〜S218の処理は、検索手段を構成する。
【0096】
上述のステップS208〜S218の処理により、検索の際、検索条件であるキーワードに分類内のキーワードとして表示されたキーワードを追加し(ステップS210)、検索条件であるキーワードから分類内のキーワードとして表示されたキーワードを削除し(ステップS212)、検索条件であるキーワードを設定するので(ステップS216)、検索条件を複数指定することができ、もって画像検索の操作性を向上できる。
【0097】
以下、前述した各処理について具体例を用いて説明する。
【0098】
まず、図9の画像分類処理の具体例を示す。
【0099】
本実施の形態においては、デジタルカメラ18で撮影した公園に咲いている赤い花についてこの画像分類処理を行う。
【0100】
まず、図9のステップS102において、デジタルカメラ18で撮影した撮影画像データをデータファイル名「flower01.jpg」とし、登録画像データとして取得する。具体的には、取得された登録画像データについて、図2の画像情報テーブルに画像データファイル名「flower01.jpg」と、画像ID「001」とが登録される。
【0101】
次に、ステップS103〜S104において、キーワード「花」及びその重要度「3」が操作者により入力装置20で入力されると、この入力されたキーワード及び重要度をステップS102の登録画像データに付与するキーワード及び重要度として取得する。
【0102】
操作者によるキーワード及びその重要度の入力が終るまで(ステップS106でNO)、ステップS103〜S104の処理を繰り返し、キーワード「赤い」及びその重要度「1」、キーワード「公園」及びその重要度「1」についても、ステップS102の登録画像データに付与するキーワード及び重要度として取得する。
【0103】
次に、ステップS106に進み、図3のキーワード情報テーブルに画像ID「001」、キーワード「花」及び重要度「3」と、画像ID「001」、キーワード「赤い」及び重要度「1」と、画像ID「001」、キーワード「公園」及び重要度「1」とが登録される。
【0104】
画像データの登録は、本実施の形態では、1つの画像データについてのみ行うため、上記処理が行われた後、ステップS101で画像データの登録が終了したと判別し、ステップS107の処理に進む。
【0105】
次に、登録されたキーワードについて分類処理を行う。
【0106】
まず、ステップS107において、図3のキーワード情報テーブルに登録されたキーワード「花」、「赤い」及び「公園」を取得する。ステップS108において、キーワード「花」について、このキーワードが図5のキーワード分類情報テーブルにより管理されているか否かを判別する。このとき、図5のキーワード分類情報テーブルではキーワード及び画像データは1つも管理していないものとする。従って、キーワード「花」はキーワード分類情報テーブルに登録されていないと判別して(ステップS108でNO)、ステップS109に進み、キーワード「花」に対する分類を図4のシソーラス辞書により求め、「花」に対する意味分類「具体物:植物:」が取得される。
【0107】
次に、ステップS110より、品詞「名詞」が取得される。次のステップS111において、「花」が属する分類を、その意味分類の第2階層の分類である「植物」に決定する。
【0108】
ステップS112により、図5のキーワード分類情報テーブルの分類として、決定分類「植物」、その決定分類に属するキーワードに「花」が登録された後、「花」の代表画像データを取得するために、ステップS113において、検索条件を「花」として、図9のキーワード検索処理を行い、ステップS114において、ステップS113で検索された画像データのうちスコア値の最も高かったものを「花」の代表画像データとする。
【0109】
上記ステップS108〜S114の処理を、残りの登録されたキーワード「赤い」及び「公園」についても(ステップS115でNO)行う。このとき、前述したように図5のキーワード分類情報テーブルにより管理されているデータは1つもないので、キーワード「赤い」及び「公園」についてもステップS109〜S114までの処理が行われる。
【0110】
ステップS109において、「赤い」に対する意味分類は存在せず、かつ品詞は「形容詞」であっため、「赤い」の決定分類として「抽象物」が決定され、「公園」に対する意味分類は、「具体物:製造物:抽象物:場所」で第2階層の分類が2つ存在しているので、「公園」の決定分類として「製造物」と「場所」の2つが決定される。
【0111】
ここまでの処理によって、図5のキーワード分類情報テーブルにより管理される分類及びそのキーワードとして、分類「植物」及びそのキーワード「花」、分類「抽象物」及びそのキーワード「赤い」、分類「製造物」及びそのキーワード「公園」、分類「場所」及びそのキーワード「公園」が新たに登録される。
【0112】
ステップS108〜S114の処理が全ての登録したキーワードに対して終了したときは(ステップS115でYES)、ステップS116において意味分類順位処理を行う。
【0113】
まず、図11のステップS401において、決定分類の1つである「植物」を図5のキーワード分類情報テーブルから取得する。
【0114】
次に、ステップS402において、この取得された決定分類「植物」に属するキーワードである「花」を取得する。
【0115】
ステップS403において、キーワード「花」の重要度レベルを図5のキーワード分類情報テーブルに登録する。
【0116】
ステップS404において、決定分類「植物」内のキーワードについて、図5のキーワード分類情報テーブルの重要度レベルがすべて登録されたか判別する。このとき、決定分類「植物」にはキーワードが「花」しか登録されていないため、キーワード「花」の重要度レベルが登録されると、次に、ステップS402〜S404の処理を残りの全ての決定分類「抽象物」「場所」及び「製造物」について行い(ステップS405でYES)、本処理を終了する。
【0117】
以上の処理により、各決定分類「植物」、「抽象物」、「場所」、及び「製造物」の属する各キーワードの重要度レベルが図5のキーワード分類情報テーブルに登録される。
【0118】
上記意味分類順位処理が終了すると、デジタルカメラ18で撮影した公園に咲いている赤い花の画像データについて、図9の画像分類処理が終了する。
【0119】
次に、図12の画像データ検索処理を具体例を用いて説明する。
【0120】
ステップS201より、図5のキーワード分類情報テーブルより、分類を取得し、重複を取り除き表示する分類を取得する。この場合、「動物」「人間」「植物」「場所」「製造物」「抽象物」が取得される。また、その分類ごとに重要度レベルの降順にキーワードと代表画像データを取得する。また、この際に、分類にあてはまるキーワード数も取得する。
【0121】
次に、ステップS202より、分類「動物」を図8の検索画面において、分類表示部61に表示する。また、ステップS203により、キーワード数表示部62にキーワード数「50」を表示する。そして、ステップS204〜S206により、「動物」の分類に存在する「魚」、「象」、「犬」等のキーワード及びその代表画像データが取得した順に表示される。
【0122】
ステップS207により、全ての分類に対し、ステップS202〜S206までの処理が行われたと判別すると、図8の検索画面が表示される。
【0123】
次に、ステップS208〜S218までの処理、即ち図8の検索画面上で行われる処理の具体例を示す。
【0124】
キーワード表示部63にキーワード「街を走る」を入力し、且つそれに対応するチェックボックス67にONにすると(ステップS208でYES)、検索条件文としてキーワード「街を走る」が登録される。
【0125】
検索条件文にキーワードを登録する方法は、上記方法に限定されるものでなく、操作者が代表画像データ表示部64に表示された画像データの1つを入力装置20により選択することによってもできる。例えば、代表画像データ表示部64の1つに表示されている花の画像データが入力装置20で操作者により選択されると、キーワード表示部63に「花」が表示され、そのキーワード表示部63に対応するチェックボックス67がONとなると共に、検索条件文にキーワード「花」が登録される。
【0126】
次に、検索条件文に「子供」を追加する場合、操作者は、別のキーワード表示部63にキーワード「子供」を入力した後に、そのキーワード表示部63に対応するチェックボックス67をONにする。
【0127】
この操作を操作者が行った場合、ステップS209において、キーワードの追加指定が行われたと判別し、ステップS210において、このキーワード「子供」についても検索条件文に追加される。
【0128】
検索条件文にキーワードを追加する方法も、上記方法に限定されるものでなく、操作者が代表画像データ表示部64に表示された画像データの1つを入力装置20により選択することによってもできる。
【0129】
次に、検索条件文からキーワード「子供」を削除する場合、操作者は、キーワード「子供」が入力されているキーワード表示部63に対応するチェックボックス67をOFFにする。
【0130】
この操作を操作者が行った場合、ステップS211において、キーワードの削除指定が行われたと判別し、ステップS212において、このキーワード「子供」については検索条件文から削除される。
【0131】
検索条件文からキーワードを削除する方法は、上記方法に限定されるものでなく、例えば、操作者が既に選択した代表画像データ表示部64を選択解除することによっても行うことができる。例えば、キーワード表示部63に表示されているキーワード「花」は、キーワード「花」の代表画像データを再選択することにより、キーワード表示部63から削除されると共に、それに対応するチェックボックス67もOFFとなり、検索条件文にキーワード「花」が削除される。
【0132】
操作者が検索を開始する場合、操作者は検索実行部66を選択する。
【0133】
この操作を操作者が行った場合、ステップS215において、検索実行状態が確立されていると判別し、ステップS216において、現在検索条件文として登録されているキーワードを検索条件として設定し、ステップS217でキーワード検索処理を行う。
【0134】
検索条件文として設定されたキーワードが「街を走っている」及び「車」であったときは、検索条件は、「街を走っている 車」で検索される。本実施の形態においては、検索条件文に指定された複数のキーワードはスペースで結合した文字列として処理しているが、検索条件文として設定されたキーワードの結合の仕方はこれに限るものではない。
【0135】
また、操作者が、検索条件表示部65に直接キーワードを入力・削除した場合と、代表画像データ指定部64を選択・再選択した場合とで、検索条件文として設定されるキーワードに差を設けていないが、区別して表示したり、異なる検索条件として別々にキーワード検索処理を行って、それらの検索された画像データを最後にまとめて表示してもよい。
【0136】
本発明は、上述した実施の形態の機能を実現するソフトウェアのプログラム(図9〜図12のフローチャート)をCPUに供給し、そのCPUが該供給されたプログラムを読出して実行することによって、達成することができる。
【0137】
この場合、上記プログラムは、該プログラムを記録した記憶媒体から直接供給されるか、又はインターネット、商用ネットワーク、若しくはローカルエリアネットワーク等に接続される不図示の他のコンピュータやデータベース等からダウンロードすることにより供給される。
【0138】
上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。
【0139】
また、本発明は、上述した実施の形態の機能を実現するソフトウェアのプログラムを記憶した記憶媒体をCPUに供給し、そのCPUが記憶媒体に記憶されたプログラムを読出して実行することによっても、達成することができる。
【0140】
この場合、格納媒体から読出されたプログラムコード自体が上述した各実施の形態の機能を実現すると共に、そのプログラムコードを記憶した記憶媒体は本発明を構成する。
【0141】
プログラムコードを記憶する記憶媒体としては、例えば、ROM、RAM、NV−RAM、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、MO、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード等がある。
【0142】
上述した実施の形態の機能は、コンピュータから読出されたプログラムコードを実行することによるばかりでなく、コンピュータ上で稼動するOS等がプログラムコードの指示に基づいて実際の処理の一部又は全部を行うことによっても実現することができる。
【0143】
【発明の効果】
以上、詳細に説明したように、請求項1記載の画像検索装置、請求項6記載の画像検索方法、請求項11記載のプログラム、及び請求項12記載の媒体によれば、画像データ及び該画像データに付与するキーワードの登録の際、複数の画像データを取得し、この取得した画像データに付与するキーワードを取得し、この取得したキーワードに基づいて取得した画像データを分類し、登録されたキーワードを検索条件として登録された画像データのうち所望のものを検索する際、分類された画像データ及びこの画像データに付与されたキーワードを表示するので、登録された各画像データに付与されたキーワードを認知していなくても簡単に検索を行うことができ、さらに、意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存し、取得したキーワードは情報テーブルにないときにこのキーワードについて意味分類情報及び品詞情報を取得し、この取得した意味分類情報及び品詞情報に基づいて取得したキーワードの分類を決定するので、画像データの分類を確実に行うことができる。
【0144】
請求項2記載の画像検索装置及び請求項7記載の画像検索方法によれば、取得したキーワードの意味分類情報が前記第1の辞書により管理されていないときは、このキーワードについて取得された品詞情報にのみに基づいてキーワードの分類を取得するので、取得したキーワードの分類を確実に行うことができる。
【0145】
請求項3記載の画像検索装置及び請求項8記載の画像検索方法によれば、取得したキーワードが情報テーブルにあるときは、情報テーブルにこのキーワードの分類として管理されている分類をこのキーワードの分類として取得するので、取得したキーワードの分類を速やかに行うことができる。
【0146】
請求項4記載の画像検索装置及び請求項9記載の画像検索方法によれば、検索時にキーワードを表示する際、情報テーブルにより管理されている分類を表示し、この表示された分類毎にこの分類に決定されたキーワードを表示するので、より簡単に検索を行うことができる。
【0147】
請求項5記載の画像検索装置及び請求項10記載の画像検索方法によれば、検索の際、検索条件であるキーワードに分類内のキーワードとして表示されたキーワードを追加し、検索条件であるキーワードから分類内のキーワードとして表示されたキーワードを削除し、検索条件であるキーワードを設定するので、検索条件を複数指定することができ、もって、画像検索の操作性を向上できる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る画像検索装置のブロック図である。
【図2】図1におけるROM13に保存される画像情報テーブルを示す図である。
【図3】図1におけるROM13に保存されるキーワード情報テーブルを示す図である。
【図4】図1におけるROM13に保存されるシソーラス辞書を示す図である。
【図5】図1におけるROM13に保存されるキーワード分類情報テーブルを示す図である。
【図6】図1におけるROM13に保存される異表記同義語辞書を示す図である。
【図7】図1におけるROM13に保存される下位概念単語辞書を示す図である。
【図8】図1におけるCRT15に表示される検索画面を示す図である。
【図9】図1における画像検索装置11によって実行される画像分類処理を示すフローチャートである。
【図10】図9のステップS113で実行されるキーワード検索処理を示すフローチャートである。
【図11】図9のステップS116で実行される意味分類順位処理を示すフローチャートである。
【図12】図1における画像検索装置11によって実行される画像データ検索処理を示すフローチャートである。
【符号の説明】
11 画像検索装置
12 CPU
13 ROM
14 RAM
15 CRT
16 周辺コントローラ部
17 外部記憶装置
18 デジタルカメラ
19 デジタルビデオカメラ
20 入力装置
61 分類表示部
62 キーワード数表示部
63 キーワード表示部
64 代表画像データ表示部
65 検索条件入力部
66 検索実行部
67 チェックボックス
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image search method and method, and a program and a medium, and more particularly, to an image search apparatus and method for displaying and searching a plurality of image data shot by an electronic still camera such as an electronic camera or a video camera, and a method thereof. Related to programs and media.
[0002]
[Prior art]
2. Description of the Related Art In recent years, electronic still cameras that store photographs as digital signals on a memory card or the like have been provided. Image data such as photos taken with these electronic still cameras requires more physical space by storing them in portable memory such as optical memory than photos taken with conventional silver halide film cameras. It is possible to save a large amount without doing.
[0003]
Conventionally, as a method of searching for desired image data from such a large amount of stored image data (hereinafter referred to as “image data search”), a keyword is assigned to each image data, and the assigned There is a method of performing a search by comparing a keyword with a search condition designated by an operator (hereinafter, referred to as “keyword search”). The specification of the search condition in the keyword search is performed by the operator inputting a plurality of keywords specified by a natural language sentence, a logical operator, or the like into an input field prepared in advance. In addition, the method of inputting a keyword into the input field requires that the operator select one of the keywords having the same first character as the first character input by the operator and searched and listed from the image database. Some are done by
[0004]
Further, as a keyword search method, there is a method of performing a search by providing a directory structure having a semantically hierarchized hierarchy in advance and using the hierarchized name as a keyword, presenting these hierarchies, and assigning or classifying the keyword ( 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 above-described image data search, in particular, in the keyword search, it is necessary to find an appropriate keyword and to input it into an input field in order to search for desired image data.
[0007]
For example, in the keyword search, if the keyword of the stored image data is recognized in advance, it is possible to easily perform the search. While doing the search.
[0008]
Also, for a method of performing a search by having a directory structure that is semantically hierarchized in advance and having the hierarchized name as a keyword, and presenting these hierarchies and assigning or classifying the keyword, the operator pre-hierarchizes. You need to understand. Further, it is troublesome to follow the hierarchical structure every time a keyword is assigned.
[0009]
In the method of searching for hierarchical data, only one keyword can be searched as a search condition. For example, when searching for image data of "children in the sea", the operator searches for "children in the sea" by either the "sea" or "children" in the manner described above, and the operator himself searches for "children in the sea". Needed to search.
[0010]
An object of the present invention is to provide an image search method and an image search method capable of easily performing a search without recognizing a keyword assigned to each image data, and a program and a medium.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, the image search device according to claim 1, wherein a registration unit that registers a plurality of image data and a keyword to be assigned to the image data, wherein the registration is performed using the registered keyword as a search condition. In an image search device including a search unit that searches for desired image data, the registration unit obtains an image data obtaining unit that obtains the plurality of image data, and obtains a keyword assigned to the obtained image data. Storage means for storing keyword information, a first dictionary for managing semantic classification information, a second dictionary for managing part-of-speech information, and a keyword and an information table for managing the classification of the keyword. A keyword discriminator for discriminating whether or not the keyword thus determined is a keyword managed by the information table. Means for acquiring semantic classification information of the keyword from the first dictionary, part of speech acquiring means for acquiring the part of speech information of the keyword from the second dictionary, and a keyword for which the acquired keyword is managed. If not, a classification determining unit that determines the classification of the keyword based on the semantic classification information obtained for the keyword by the semantic classification obtaining unit and the part of speech information obtained for the keyword by the part of speech obtaining unit. The search means includes display means for displaying the classified image data and a keyword assigned to the image data.
[0012]
The image retrieval device according to claim 2 is the image retrieval device according to claim 1, wherein the semantic classification acquisition unit is configured to execute the method when the semantic classification information of the acquired keyword is not managed by the first dictionary. It is characterized in that the classification of the keyword is acquired based only on the acquired part-of-speech information.
[0013]
The image search device according to claim 3 is the image search device according to claim 1, wherein, when the keyword obtained by the keyword determination unit is present, the classification managed as the classification of the keyword in the information table is the keyword. It is characterized by including another classification determining means for determining as the classification of.
[0014]
According to a fourth aspect of the present invention, in the image retrieval apparatus according to the third aspect, the keyword display unit is displayed by a classification display unit that displays a classification managed by the information table and a classification display unit. For each classification, there is provided a keyword-in-class display means for displaying a keyword determined to the classification by the classification determination means.
[0015]
6. The image search device according to claim 5, wherein the search means adds a keyword displayed by the keyword-in-class display means to the keyword as the search condition. A search condition deleting unit that deletes the keyword displayed by the keyword-in-class display unit from the keyword that is the search condition; and a search condition setting unit that sets the keyword that is the search condition. .
[0016]
In order to achieve the above object, an image search method according to claim 6, wherein a registration step of registering a plurality of image data and a keyword to be assigned to the image data, wherein the registration is performed using the registered keyword as a search condition. In an image search method having a search step of searching for desired image data, the registration step obtains an image data obtaining step of obtaining the plurality of image data, and obtains a keyword assigned to the obtained image data. Acquiring a keyword, a first dictionary for managing semantic classification information, a second dictionary for managing part-of-speech information, and a step of storing a keyword and an information table for managing the classification of the keyword. Determine whether the keyword is in the keyword managed by the information table A keyword discriminating step, a semantic classification obtaining step of obtaining keyword semantic classification information from the first dictionary, a part of speech obtaining step of obtaining keyword part of speech information from the second dictionary, and When the keyword is not a keyword, the classification is determined based on the semantic classification information obtained for the keyword in the semantic classification obtaining step and the part of speech obtained for the keyword in the part of speech obtaining step. And a display step of displaying the classified image data and a keyword assigned to the image data.
[0017]
The image search method according to claim 7, wherein, in the image search method according to claim 6, when the semantic classification information of the obtained keyword is not managed by the first dictionary, It is characterized in that the classification of the keyword is acquired based only on the acquired part-of-speech information.
[0018]
The image search method according to claim 8 is the image search method according to claim 6, wherein when the keyword obtained in the keyword determination step is present, the classification managed as the classification of the keyword in the information table is changed to the keyword. Characterized by having another classification determining step of determining as the classification of (1).
[0019]
In the image search method according to the ninth aspect, in the image search method according to the eighth aspect, the keyword display step is performed by a classification display step of displaying a classification managed by the information table and a classification display step. A keyword display step of displaying, for each classification, a keyword determined in the classification by the classification determination step;
[0020]
The image search method according to claim 10, wherein the search step is a search condition adding step of adding a keyword displayed by the keyword-in-class display step to a keyword that is the search condition. And a search condition deleting step of deleting a search condition for deleting and specifying the keyword displayed in the classified keyword display step from the keyword as the search condition, and a search condition setting step of setting the keyword as the search condition. It is characterized by the following.
[0021]
In order to achieve the above object, a program according to claim 11, further comprising a registration step of registering a plurality of image data and a keyword to be assigned to the image data, and the registered image data being registered using the registered keyword as a search condition. A program for causing a computer to execute a search step of searching for a desired one of the plurality of image data, wherein the registering step obtains an image data obtaining step of obtaining the plurality of image data and a keyword assigned to the obtained image data. A keyword obtaining step, a first dictionary for managing semantic classification information, a second dictionary for managing part-of-speech information, and a storing step of storing a keyword and an information table for managing the classification of the keyword, Keywords managed by the information table for keywords A keyword determining step of determining whether or not the keyword is present, a semantic classification obtaining step of obtaining keyword semantic classification information from the first dictionary, a part of speech obtaining step of obtaining keyword part of speech information from the second dictionary, When the acquired keyword is not the managed keyword, the keyword is determined based on the semantic classification information acquired for the keyword in the semantic classification acquisition step and the part of speech information acquired for the keyword in the part of speech acquisition step. And a step of displaying the classified image data and a keyword assigned to the image data.
[0022]
In order to achieve the above object, the medium according to claim 12, wherein a registration step of registering a plurality of image data and a keyword to be assigned to the image data, and the registered image data using the registered keyword as a search condition. A computer-readable medium storing a program for causing a computer to execute a search step of searching for a desired one of the plurality of image data, wherein the registration step includes: an image data acquisition step of acquiring the plurality of image data; A keyword acquiring step for acquiring a keyword to be added to data, a first dictionary for managing semantic classification information, a second dictionary for managing part-of-speech information, and an information table for managing keywords and the classification of the keyword are stored. Storage means for storing the information keyword in response to the acquired keyword. A keyword discriminating step of discriminating whether or not the keyword is managed by the keyword, a semantic classification acquiring step of acquiring semantic classification information of the keyword from the first dictionary, and a part of speech information of the keyword from the second dictionary. The part of speech acquisition step of acquiring, and when the acquired keyword is not the managed keyword, the semantic classification information acquired for the keyword by the semantic classification acquisition step, and the semantic classification information acquired by the part of speech acquisition step A classification determining step of determining the classification of the keyword based on the part of speech information; and an image classification step of classifying the acquired image data based on the acquired keyword. Image data and keys assigned to the image data. Characterized in that it has a display step of displaying the word.
[0023]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an image retrieval apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.
[0024]
FIG. 1 is a block diagram of an image search device according to an embodiment of the present invention.
[0025]
In FIG. 1, an image search device 11 includes a ROM 13 for storing a program for performing an image search, an information table shown in FIGS. 2 and 3 described later, a thesaurus dictionary shown in FIG. 4 described later, and a program stored in the ROM 13. The image processing apparatus includes a RAM 14 to be executed, a peripheral controller 16 for controlling connection of the image search device 11 to external devices, and a CPU 12 connected to and controlling the ROM 13, the RAM 14, and the peripheral controller 16.
[0026]
The external devices controlled by the peripheral controller 16 for connection control include a CRT 15 for displaying the processing status of the image search device 11 under the control of the CPU 12, an external storage device 17 for storing image data, and a digital device for generating image data. There are a camera 18 and a digital video camera 19, and an input device 20 such as a mouse and a keyboard.
[0027]
Image data obtained by the operator with the digital camera 18, digital video camera 19, or the like is stored in the external storage device 17 or the ROM 13.
[0028]
The ROM 13 includes an image information table shown in FIG. 2, a keyword information table shown in FIG. 3, a thesaurus dictionary shown in FIG. 4, a keyword classification information table shown in FIG. 5, a synonym dictionary shown in FIG. Save each concept word dictionary. These tables and dictionaries may be stored in the external storage device 17.
[0029]
FIG. 2 is a diagram showing an image information table stored in the ROM 13 in FIG.
[0030]
In FIG. 2, the image information table includes a file name of image data obtained by the operator with the digital camera 18 or the digital video camera 19 and an image ID for identifying the image data. For example, the image information table manages a file name “flower01.jpg” and an image ID “001” of one image data.
[0031]
In the present embodiment, an arbitrary numerical value (serial number) is used as the image ID. However, when the file name of the image data is unique, the file name of the image data may be used as the image ID.
[0032]
FIG. 3 is a diagram showing a keyword information table stored in the ROM 13 in FIG.
[0033]
3, the keyword information table includes an image ID of the image data managed in the image information table of FIG. 2, a keyword assigned to the image data, and the importance of the keyword. In addition, a value is assigned to the importance of the keyword of each image data based on a criterion arbitrarily determined by the operator. For example, "3" when the keyword assigned to the image data is the subject of the image data, "2" when the image data can be searched by the keyword, "2", the keyword of the image data If it is not important but is appropriate, “1” is assigned as the importance of the keyword to the image data. The importance of the keyword may be assigned based on a predetermined criterion, and is not limited to the criterion of the present embodiment.
[0034]
Therefore, as shown in FIG. 3, the keywords “flower”, “red”, and “park” are assigned to the image data of the image ID “001”, and “(flower = ) 3 "," (red =) 1 ", and" (park =) 1 ".
[0035]
FIG. 4 is a diagram showing a thesaurus dictionary stored in the ROM 13 in FIG.
[0036]
In FIG. 4, the thesaurus dictionary includes headwords, semantic classification of headwords, and part of speech of headwords. The headword refers to a keyword acquired in a keyword registration process of FIG. 9 described later, or a different notation / synonym / lower concept word acquired in a keyword search process of FIG. 11 described later. This is the same for the different notation synonym dictionary in FIG. 6 described later and the lower concept word dictionary in FIG. 7 described later.
[0037]
In this thesaurus dictionary, for example, the headword “park” indicates the part of speech “noun” and the semantic classification “specific object: product: abstract object: place”. At this time, it indicates that it has two meanings, “specific object (first level), manufactured product (second level)” and “abstract object (first level), location (second level)”. The headword “red” has a part of speech “adjective” and no semantic classification. In the present embodiment, the part of speech is a component of the thesaurus dictionary. However, the part of speech may not be a component of the thesaurus dictionary, but a word dictionary may be separately configured and used as the component.
[0038]
When the headword matches the keyword in the keyword information table of FIG. 3 and there is a semantic classification, the name of the second hierarchy is assumed to be the name of the classification to which the keyword belongs, and FIG. It is reflected on the keywords in the keyword classification information table.
[0039]
On the other hand, even when the headword matches the keyword in the keyword information table of FIG. 3, a word whose part of speech does not have a meaning represented by a particle, an auxiliary verb, a conjunction, a pronoun, etc. is classified as an “abstract object”. Then, it is reflected on a keyword in a keyword classification information table of FIG. 5 described later. Thereby, the classification names of all the keywords can be reliably obtained.
[0040]
Further, in the present embodiment, words that have no meaning represented by particles, auxiliary verbs, conjunctions, pronouns, etc. are classified as “abstract objects”, but the semantic classification set in other parts of speech It is not limited to this as long as it can be distinguished. 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. The thesaurus dictionary of FIG. 4 constitutes a first dictionary and a second dictionary.
[0041]
FIG. 5 is a diagram showing a keyword classification information table stored in the ROM 13 in FIG.
[0042]
In FIG. 5, the keyword classification information table includes a keyword, a classification to which the keyword belongs, image ID of representative image data indicating the highest score value in FIG. 10 described later among image data to which the keyword is assigned, and An importance level is a value obtained by adding the importance of the keyword assigned to the image data. This importance level increases when the importance assigned to the keyword is high and the keyword is assigned to many pieces of image data. If there are a plurality of image data with the highest score values, the image data with the smaller image ID number is selected as the representative image data.
[0043]
When a plurality of keywords are managed in one classification by the keyword classification information table in FIG. 5, the keywords are managed in the keyword classification information table in FIG. 5 so that the keyword having a higher importance level is ranked higher. For example, since the importance levels of “elephant” and “dog” belonging to the same classification “animal” as the keyword “fish” are “10” and “2”, respectively, the keyword classification information table of FIG. “Fish”, “Elephant”, and “Dog” are managed in the descending order as keywords of the category “Animal”.
[0044]
FIG. 6 is a diagram showing a synonym dictionary for different notations stored in the ROM 13 in FIG.
[0045]
6. In FIG. 6, the synonym dictionary with a different notation includes a headword and a different notation or a synonym applicable to the headword. For example, “flower”, “flower”, “flower”, and the like are registered as different notations or synonyms that apply to the headword “flower”.
[0046]
FIG. 7 is a diagram showing a lower concept word dictionary stored in the ROM 13 in FIG.
[0047]
In FIG. 7, the lower concept word dictionary includes a headword, a word indicating a lower concept of the headword, and a hierarchy level indicating the hierarchy. For example, “Porsche”, “motorcycle”, and “wheel” are registered as words that fall under the subordinate concept of the headword “car”. It is given as "bike (0.64)" or "wheel (0.55)".
[0048]
FIG. 8 is a diagram showing a search screen displayed on the CRT 15 in FIG.
[0049]
The search screen displayed on the CRT 15 is controlled by the CPU 12, and includes a classification display section 61 for displaying the name of the classification, and a keyword number display section for displaying the number of keywords belonging to the classification displayed on the classification display section 61. 62, a keyword display section 63 for displaying keywords belonging to the classification, a representative image data display section 64 for displaying representative image data of the selected keyword, and a search condition input section 65 for inputting a keyword serving as a search condition. , A search execution unit 66 that transmits a search start signal to the CPU 12 when an input is made from the input device 20, a check box 67, and a scroll bar 68.
[0050]
The search condition input unit 65 includes a plurality of input units, and each input unit is configured to be able to input one keyword.
[0051]
A check box 67 is provided for each search condition input unit 65, and a check box control is selected by the operator using the input device 20 and input to the search condition input unit 65 for the check box 67 turned ON. The determined keyword is determined to be a search condition, and the keyword input to the search condition input unit 65 for the check box 67 turned off by the operator not selecting or canceling the selection using the input device 20 is the search condition. It is determined that it is not.
[0052]
As long as it is possible to determine which of the keywords input to the search condition input section 65 has been selected as the search condition, the present invention is not limited to the check box control as in the present embodiment. And so on.
[0053]
The scroll bar 68 is provided for browsing all of the keywords belonging to the same category and only the representative image data displayed only in one portion at both ends of the representative image data display section 64, and the button control is provided by the operator at the left end. When the scroll bar 68 is selected by the input device 20, representative image data having a higher importance level than the representative image data displayed on the representative image data display section 64 is displayed, and the operator presses the rightmost scroll bar 68 on the input device 20. When selected, representative image data having a lower importance level than the representative image data displayed on the representative image data display section 64 is displayed so as to be controlled.
[0054]
A keyword serving as a search condition is input directly by the operator using the input device 20 to the search condition input unit 65 or a keyword displayed on the keyword display unit 63 is selected by the operator using the input device 20 and the search condition input unit By dragging and dropping the search condition into the search condition input portion 65, the search condition is input to the search condition input portion 65.
[0055]
In FIG. 8, the image data is roughly classified into “animals”, “humans”, “plants”, “places”, “manufactured products”, and “abstract objects” as displayed on the classification display unit 61. You. Also, as shown in the keyword number display section 62, the number of keywords applicable to each classification is "50" for "animal", "100" for "human", "40" for "plant", and "place". Is "99", "product" is "12", and "abstract" is "50". Further, the keywords applicable to the classification “animal” include “fish”, “elephant”, and “dog” as displayed in the keyword display section 63. The representative image data for each keyword is displayed on the representative image data display 64 next to each keyword display 63.
[0056]
Next, an image search method executed by the image search device 11 of FIG. 1 will be described in detail with reference to the drawings. This image search method is performed after image keywords to be displayed on each keyword display unit 63 and image data to be displayed on each representative image data display unit 64 of the search screen in FIG. In a later-described image data search process shown in FIG. 12, an image data is searched using a keyword input by the operator using the search screen shown in FIG. 8 as a search condition.
[0057]
FIG. 9 is a flowchart showing the image classification processing executed by the image data search device 11 in FIG.
[0058]
In FIG. 9, first, it is determined whether or not the registration of the image data to which the keyword is to be added has been completed (step S101). If the registration has not been completed (NO in step S101), the input device 20 has already started. Image data existing in the external storage device 17 or the ROM 13 or one of image data directly obtained from the digital camera 18 or the digital video camera 19 via the peripheral controller unit 16 is obtained as registered image data (step). S102) (Image data acquisition means). At this time, the file name of the acquired registered image data and its image ID are acquired and registered in the image information table of FIG.
[0059]
Next, a keyword to be added to the registered image data obtained in step S102 is obtained from the input device 20 (step S103) (keyword obtaining means), and the importance of the obtained keyword is obtained (step S104). In the present embodiment, the importance is obtained as data input by the input device 20, but the importance may be automatically given according to the input order of the keyword.
[0060]
Thereafter, the processing of steps S103 to S104 is repeated until the acquisition of all keywords to be added to the registered image data acquired in step S102 is completed (NO in step S105).
[0061]
In step S105, when the acquisition of all the keywords to be assigned to the registered image data acquired in step S102 and the importance thereof is completed, these keywords and importance are registered in the keyword information table of FIG. 3 (step S106). , And the processing after step S101 is repeated. The registration of the keyword and the importance in the keyword information table of FIG. 3 is performed for each image ID assigned to the registered image data acquired in step S102. This makes it possible to create an index of the data registered in each information table to speed up the search.
[0062]
As a result of the determination in step S101, when all the registration of the image data to which the keyword is added is completed (YES in step S101), the keyword registered in step S106 is acquired as the registered keyword for each registered image data (step S101). S107).
[0063]
Next, for one of the registered keywords acquired in step S107, it is determined whether or not the keyword is managed by the keyword classification information table of FIG. 5 (step S108) (keyword determination means). (YES in step S108), the classification managed as the classification of this keyword in the information table is determined as the classification of this keyword, and the process proceeds to step S115. As a result, the classification of the registered keywords acquired in step S107 can be quickly determined. The determined classification is hereinafter referred to as “decision classification”.
[0064]
On the other hand, as a result of the determination in step S108, when the registered keyword acquired in step S107 is not managed, the semantic classification for the registered keyword is acquired using the thesaurus dictionary of FIG. 4 (step S109) (semantic classification acquisition). Means), the part of speech for the registered keyword is acquired (step S110) (part of speech acquisition means), and the determined classification of the registered keyword is determined with reference to the semantic classification acquired in step S109 (step S111) (classification determining means). .
[0065]
In the following step S112, the registered keyword acquired in step S107 and the determined classification determined in step S111 are registered as the keyword and the classification to which the keyword belongs in the keyword classification information table of FIG. 5, and then the registered keyword is used as a search condition sentence. The keyword search process of FIG. 10 described later is set (step S113), and the image data having the highest score value described later obtained by the keyword search process is acquired as the representative image data of the registered keyword (step S114). Until the acquisition of all registered keywords is completed (YES in step S115), the processing of steps S107 to S115 is repeated. The representative image data acquired in step S114 is registered as representative image data in the keyword classification information table of FIG.
[0066]
As a result of the determination in step S115, when the acquisition of all the registered keywords is completed (YES in step S115), the semantic classification order processing of FIG. 11 described below is performed only for the classification in which the keywords have been increased (step S116), and this processing ends. I do. The importance level of the keyword obtained by this semantic classification order processing is reflected on the importance level of the keyword classification information table of FIG. Steps S101 to S105 in FIG. 9 constitute a registration unit.
[0067]
According to the processing of FIG. 9, when the registered keyword is not stored in the keyword classification information table of FIG. 5 (NO in step S108), the registered keyword is based on the semantic classification and the part of speech acquired from the thesaurus dictionary of FIG. Thus, the classification of the registered keyword is determined (steps S109 to S111), so that the classification of the image data can be performed reliably.
[0068]
FIG. 10 is a flowchart showing the keyword search process executed in step S113 of FIG.
[0069]
In FIG. 10, first, the registered keyword acquired in step S107 of FIG. 9 is acquired as a search condition sentence (step S301), and the search condition sentence is divided into words by natural language processing (step S302). For this natural language processing, the existing natural language processing is used, and the description is omitted. Further, of the divided words, words classified as “abstract objects” in step S109 in FIG. 9 are deleted from the divided words.
[0070]
Next, in each of the words divided in step S302, a different notation and a synonym are acquired from the different notation synonym dictionary of FIG. 6 (step S303), and the lower concept word and its hierarchical level are converted to the lower concept word of FIG. The information is acquired using a dictionary (step S304).
[0071]
Until the notation, synonym, lower concept word and its hierarchical level are obtained for all the divided words (NO in step S305), the processing of steps S303 to S304 is repeated, and all the words are obtained. (YES in step S305), an image is searched using all the words acquired by the processing in steps S301 to S304 as search condition sentences (step S306).
[0072]
In step S306, the registered keyword acquired in step S301, the word divided in step S302, the notation and synonym acquired in step S303, the lower concept word acquired in step S304, and the keyword in the keyword information table in FIG. When there is a matching keyword (hereinafter referred to as a “matching keyword”) in the keyword information table of FIG. 3, the image data of the matching keyword is used as the image data for score calculation as a result of the image search. get.
[0073]
A score is calculated for the acquired image data (step S307). The score calculation is to calculate a score value that is the sum of the total value of the matching levels of the registered keywords acquired in step S301 and the matching keywords obtained in step S306 and the importance assigned to each matching keyword. Say. Further, in the present embodiment, the matching level of the registered keyword is 3 when the keyword matches the keyword in the keyword information table of FIG. 3 and 2 when the word divided from the keyword is in the synonym dictionary in FIG. When a word divided from a keyword exists in the lower concept word dictionary in FIG. 7, it is assumed that one is added to the hierarchy level. The method of obtaining the score value is not limited to the method according to the embodiment of the present invention as long as it is based on a certain standard.
[0074]
Until the calculation of the scores of all the registered keywords acquired in step S301 is completed (NO in step S308), the process of step S307 is repeated. When the calculation of the scores of all the registered keywords is completed (YES in step S308), This processing ends.
[0075]
According to the process of FIG. 10, an image search is performed using a registered keyword, a word obtained by dividing the word, a different notation, a synonym, and a lower concept word for all the divided words as search conditions (steps S301 to S306). Since the score calculation for obtaining the sum of the matching level and the importance of the obtained matching keyword is performed for each registered keyword (step S307), the image data having the highest score value among the image data for score calculation is used as the representative image of the registered keyword. By displaying the data on the representative image data display unit 64 of the search screen in FIG. 8, the search can be easily performed without recognizing the keyword assigned to the image data.
[0076]
FIG. 11 is a flowchart showing the semantic classification order processing executed in step S116 in FIG.
[0077]
This processing is performed only for the classification in which the number of keywords is increased, and the initial value of the importance level is set to 0.
[0078]
11, first, one of the decision categories determined in step S111 is obtained from the keyword classification information table of FIG. 5 (step S401), and one of the keywords belonging to the decision category is also obtained from the keyword classification information table of FIG. Obtain (step S402).
[0079]
Next, the importance of the keyword acquired in step S402 is acquired from the keyword information table of FIG. 3 (step S403), and is added to the importance level (step S404).
[0080]
Thereafter, the processing of steps S402 to S403 is repeated until the acquisition of step S402 is completed for all keywords belonging to the determined category in step S401 (YES in step S404). The importance level of each keyword obtained by this processing is registered in the keyword classification information table of FIG.
[0081]
Next, it is determined whether or not the processing of steps S402 to S404 has been completed for all of the determination categories determined in step S111 of FIG. 9, and if completed (YES in step S405), this processing ends.
[0082]
According to the semantic classification ranking process of FIG. 11, the importance level is calculated for each keyword belonging to the determined classification (steps S401 to S404), and the keywords displayed on the keyword display unit 63 of the search screen of FIG. By arranging based on the degree level, a search can be easily performed without recognizing the keyword assigned to the image data.
[0083]
FIG. 12 is a flowchart showing an image data search process executed by the image data search device 11 in FIG.
[0084]
12, first, a classification, a keyword belonging to the classification, and representative image data corresponding to the keyword are obtained in descending order of importance level from the keyword classification information table in FIG. 5, and further applied to each classification. The number of keywords is also acquired and stored in the RAM 14 (step S201). Thereafter, the display is displayed on the classification display unit 61 of the search screen in FIG. 8 in a state where duplicates of the determined classifications acquired in step S201 are removed (step S202), and the number of keywords for the displayed determined classification is displayed on the search screen in FIG. It is displayed on the keyword number display section 62 (step S203).
[0085]
Next, the keywords and their representative image data are displayed on the keyword display unit 63 and the representative image data display unit 64 of the search screen in FIG. 8 in the order acquired in step S201 (steps S204 to S205), and are displayed in the classification in step S202. Until the keyword ends (YES in step S206), the processing in steps S204 and S205 is repeated. Until the classification to be displayed is completed (YES in step S207), the processing in steps S202 to S206 is repeated. The processing in steps S201 to S207 in FIG. 12 constitutes a display unit.
[0086]
By the processing of steps S201 to S207 described above, at the time of retrieval, the categories managed by the information table and the keywords belonging to each category are displayed (step S202). The search can be easily performed without recognizing the keyword assigned to each image data.
[0087]
Further, since the keywords belonging to each category are displayed in the order of the importance level (step S204), the search can be easily performed even if the keyword assigned to each image data registered in advance in the image search device 11 is not recognized. It can be carried out.
[0088]
The display processing of the search condition input unit 65, the search execution unit 66, and the check box 67 of the search screen of FIG. 8 is not particularly described, but is similarly displayed on the search screen of FIG.
[0089]
Thereafter, when a keyword is input to at least one search condition input unit 65 and the check box 67 corresponding thereto is turned on (YES in step S208), the keyword input to search condition input unit 65 is performed in step S217 described later. The search condition sentence is obtained in the keyword search of FIG.
[0090]
The keyword set as a search condition sentence in the search condition input unit 65 can also be obtained by the operator selecting a keyword displayed on the keyword display unit 63 using the input device 20 and dragging and dropping the keyword to the search condition input unit 65. Is entered.
[0091]
Next, it is determined whether or not a keyword has been additionally specified in the search condition input unit 65 (step S209). Specifically, it is determined whether or not there is a check box 67 newly turned ON after the determination in step S208. The method of additionally specifying a keyword is not limited to the present embodiment, and a different method may be used depending on the search screen.
[0092]
As a result of the determination in step S209, when a keyword is additionally specified, the keyword is also set as a search condition sentence acquired in the keyword search in FIG. 10 performed in step S217 described later (step S210). On the other hand, if the result of determination in step S209 is that no keyword has been designated for addition, it is determined whether or not the keyword has been designated for deletion (step S211). Specifically, it is determined whether or not any of the check boxes 67 that were ON at the time of the determination in step S208 has been turned OFF. Also in the method of designating a keyword to be deleted, similarly to the method of designating an additional keyword, the present invention is not limited to the present embodiment, and a different method may be used depending on a search screen.
[0093]
If the result of determination in step S211 indicates that a keyword has been designated for deletion, this keyword is deleted from the search condition sentence acquired in the keyword search of FIG. 10 performed in step S217 described below (step S212). On the other hand, if the result of determination in step S211 is that the keyword has not been designated for deletion, it is determined whether a search execution state has been established (step S215). This determination is specifically performed by determining whether the search execution unit 66 has been selected.
[0094]
As a result of step S215, when the search is in the search execution state, the keyword in the search condition input unit 65 whose check box 67 is currently ON is acquired as a search condition sentence (step S216). On the other hand, if the result of determination in step S215 is that the state is not a search execution state, processing from step S208 is performed.
[0095]
Thereafter, the above-described keyword search process of FIG. 10 is performed using the keyword acquired in step S216 as a search condition sentence (step S217), and the image data file names are acquired from the image IDs in the order acquired in this process. Is displayed (step S218), and the process ends. The processing of steps S208 to S218 in FIG. 12 constitutes a search unit.
[0096]
By the processing of steps S208 to S218 described above, at the time of search, the keyword displayed as a keyword in the category is added to the keyword as the search condition (step S210), and the keyword is displayed as a keyword in the category from the keyword as the search condition. The deleted keyword is deleted (step S212), and a keyword serving as a search condition is set (step S216), so that a plurality of search conditions can be specified, thereby improving the operability of image search.
[0097]
Hereinafter, each process described above will be described using a specific example.
[0098]
First, a specific example of the image classification processing in FIG. 9 will be described.
[0099]
In the present embodiment, this image classification processing is performed on a red flower blooming in a park captured by the digital camera 18.
[0100]
First, in step S102 of FIG. 9, the image data captured by the digital camera 18 is obtained as registered image data with a data file name “flower01.jpg”. Specifically, for the acquired registered image data, the image data file name “flower01.jpg” and the image ID “001” are registered in the image information table of FIG.
[0101]
Next, in steps S103 to S104, when the keyword “flower” and its importance “3” are input by the input device 20 by the operator, the input keyword and importance are added to the registered image data in step S102. It is acquired as a keyword and importance to be performed.
[0102]
Until the operator inputs the keyword and its importance (NO in step S106), the processing of steps S103 to S104 is repeated, and the keyword "red" and its importance "1", the keyword "park" and its importance ""1" is also acquired as the keyword and importance to be added to the registered image data in step S102.
[0103]
Next, the process proceeds to step S106, where the image ID “001”, the keyword “flower” and the importance “3”, and the image ID “001”, the keyword “red” and the importance “1” are stored in the keyword information table of FIG. , The image ID “001”, the keyword “park” and the importance “1” are registered.
[0104]
Since registration of image data is performed only for one image data in the present embodiment, after the above processing is performed, it is determined in step S101 that registration of image data has been completed, and the process proceeds to step S107.
[0105]
Next, classification processing is performed on the registered keywords.
[0106]
First, in step S107, the keywords “flower”, “red”, and “park” registered in the keyword information table of FIG. 3 are obtained. In step S108, it is determined whether or not the keyword “flower” is managed by the keyword classification information table in FIG. At this time, it is assumed that no keyword or image data is managed in the keyword classification information table of FIG. Therefore, it is determined that the keyword “flower” is not registered in the keyword classification information table (NO in step S108), the process proceeds to step S109, and the classification for the keyword “flower” is obtained from the thesaurus dictionary of FIG. , The semantic classification “specific object: plant:” is obtained.
[0107]
Next, the part of speech “noun” is obtained from step S110. In the next step S111, the classification to which "flower" belongs is determined to be "plant" which is the second hierarchical classification of the semantic classification.
[0108]
In step S112, as the classification in the keyword classification information table of FIG. 5, after the decision classification “plant” and “flower” are registered as keywords belonging to the decision classification, in order to acquire representative image data of “flower”, In step S113, the keyword search processing of FIG. 9 is performed with the search condition set to “flower”. In step S114, the image data having the highest score value among the image data searched in step S113 is represented by the representative image data of “flower”. And
[0109]
The processing of steps S108 to S114 is also performed for the remaining registered keywords “red” and “park” (NO in step S115). At this time, as described above, since there is no data managed by the keyword classification information table of FIG. 5, the processes of steps S109 to S114 are performed for the keywords “red” and “park”.
[0110]
In step S109, since there is no semantic classification for “red” and the part of speech is “adjective”, “abstract object” is determined as the determination classification of “red”, and the semantic classification for “park” is “concrete”. Since there are two second-level classifications of “product: product: abstract: location”, two “products” and “locations” are determined as the determination categories of “park”.
[0111]
As a result of the processing up to this point, the classification “plant” and its keyword “flower”, the classification “abstract” and its keyword “red”, and the classification “manufactured” as the classification managed by the keyword classification information table of FIG. "And its keyword" park ", the classification" place "and its keyword" park "are newly registered.
[0112]
When the processing of steps S108 to S114 is completed for all registered keywords (YES in step S115), semantic classification order processing is performed in step S116.
[0113]
First, in step S401 in FIG. 11, “plant”, which is one of the determined classifications, is obtained from the keyword classification information table in FIG.
[0114]
Next, in step S402, "flower" which is a keyword belonging to the acquired decision classification "plant" is acquired.
[0115]
In step S403, the importance level of the keyword “flower” is registered in the keyword classification information table of FIG.
[0116]
In step S404, it is determined whether all the importance levels in the keyword classification information table of FIG. 5 have been registered for the keywords in the determined classification “plant”. At this time, since only the keyword “flower” is registered in the determination category “plant”, if the importance level of the keyword “flower” is registered, the processing of steps S402 to S404 is then performed for all remaining keywords. The determination is performed for the “abstract object”, “place”, and “manufactured” (YES in step S405), and the process ends.
[0117]
Through the above processing, the importance level of each keyword to which each of the determined classifications “plant”, “abstract object”, “place”, and “manufactured product” belongs is registered in the keyword classification information table of FIG.
[0118]
When the semantic classification order processing ends, the image classification processing of FIG. 9 ends with respect to the image data of the red flower blooming in the park, which is captured by the digital camera 18.
[0119]
Next, the image data search processing of FIG. 12 will be described using a specific example.
[0120]
From step S201, a classification is obtained from the keyword classification information table in FIG. 5, and a classification to be displayed after eliminating duplication is obtained. In this case, “animal”, “human”, “plant”, “place”, “product”, and “abstract object” are acquired. Also, the keyword and the representative image data are acquired in descending order of the importance level for each classification. At this time, the number of keywords corresponding to the classification is also acquired.
[0121]
Next, from step S202, the classification "animal" is displayed on the classification display section 61 on the search screen of FIG. Also, in step S203, the number of keywords “50” is displayed on the keyword number display section 62. Then, in steps S204 to S206, keywords such as "fish", "elephant", and "dog" existing in the classification of "animal" and their representative image data are displayed in the order of acquisition.
[0122]
If it is determined in step S207 that the processes in steps S202 to S206 have been performed for all the classifications, the search screen in FIG. 8 is displayed.
[0123]
Next, a specific example of the processing of steps S208 to S218, that is, the processing performed on the search screen of FIG. 8 will be described.
[0124]
When the keyword "run in the city" is input to the keyword display section 63 and the corresponding check box 67 is turned on (YES in step S208), the keyword "run in the city" is registered as a search condition sentence.
[0125]
The method of registering the keyword in the search condition sentence is not limited to the above method, but can also be performed by the operator selecting one of the image data displayed on the representative image data display unit 64 using the input device 20. . For example, when image data of a flower displayed on one of the representative image data display sections 64 is selected by the operator using the input device 20, “flower” is displayed on the keyword display section 63, and the keyword display section 63 is displayed. Is turned on, and the keyword “flower” is registered in the search condition sentence.
[0126]
Next, when "child" is added to the search condition sentence, the operator turns on the check box 67 corresponding to the keyword display section 63 after inputting the keyword "child" in another keyword display section 63. .
[0127]
When this operation is performed by the operator, it is determined in step S209 that the additional designation of the keyword has been performed, and in step S210, the keyword “child” is also added to the search condition sentence.
[0128]
The method of adding a keyword to the search condition sentence is not limited to the above-described method, and may be performed by the operator selecting one of the image data displayed on the representative image data display unit 64 using the input device 20. .
[0129]
Next, when deleting the keyword “child” from the search condition sentence, the operator turns off the check box 67 corresponding to the keyword display unit 63 in which the keyword “child” is input.
[0130]
When this operation is performed by the operator, it is determined in step S211 that the keyword has been specified to be deleted, and in step S212, the keyword “child” is deleted from the search condition sentence.
[0131]
The method of deleting the keyword from the search condition sentence is not limited to the above-described method, and may be performed, for example, by deselecting the representative image data display unit 64 already selected by the operator. For example, the keyword “flower” displayed on the keyword display unit 63 is deleted from the keyword display unit 63 by reselecting the representative image data of the keyword “flower”, and the corresponding check box 67 is also turned off. And the keyword “flower” is deleted from the search condition sentence.
[0132]
When the operator starts the search, the operator selects the search execution unit 66.
[0133]
If this operation is performed by the operator, it is determined in step S215 that the search execution state has been established, and in step S216, a keyword currently registered as a search condition sentence is set as a search condition, and in step S217, Perform keyword search processing.
[0134]
When the keywords set as the search condition sentences are “running in the city” and “car”, the search condition is searched for “car running in the city”. In the present embodiment, a plurality of keywords specified in the search condition sentence are processed as character strings combined with spaces, but the way of combining the keywords set as the search condition sentence is not limited to this. .
[0135]
Further, a difference is set in the keyword set as the search condition sentence between the case where the operator directly inputs / deletes the keyword in the search condition display unit 65 and the case where the operator selects / reselects the representative image data designation unit 64. Although not shown, the image data may be displayed separately, or keyword search processing may be separately performed as different search conditions, and the searched image data may be displayed collectively at the end.
[0136]
The present invention is achieved by supplying a software program (flow charts in FIGS. 9 to 12) for realizing the functions of the above-described embodiments to a CPU, and the CPU reads and executes the supplied program. be able to.
[0137]
In this case, the program is supplied directly from a storage medium on which the program is recorded, or is downloaded from another computer or database (not shown) connected to the Internet, a commercial network, a local area network, or the like. Supplied.
[0138]
The form of the program may be in the form of object code, program code executed by an interpreter, script data supplied to an OS (Operating System), or the like.
[0139]
The present invention can also be achieved by supplying a storage medium storing a software program for realizing the functions of the above-described embodiments to a CPU, and reading and executing the program stored in the storage medium by the CPU. can do.
[0140]
In this case, the program code itself read from the storage medium implements the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0141]
Examples of storage media for storing program codes include ROM, RAM, NV-RAM, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, MO, CD-R, CD-RW, and DVD. -ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, and the like.
[0142]
The functions of the above-described embodiments are not only executed by executing the program code read from the computer, but also executed by the OS or the like running on the computer in part or all of the actual processing based on the instruction of the program code. This can also be realized by:
[0143]
【The invention's effect】
As described above in detail, according to the image search device according to claim 1, the image search method according to claim 6, the program according to claim 11, and the medium according to claim 12, the image data and the image When registering a keyword to be assigned to data, acquire a plurality of image data, acquire a keyword to be assigned to the acquired image data, classify the acquired image data based on the acquired keyword, and register the registered keyword. When searching for desired ones of the image data registered as search conditions, the classified image data and the keyword assigned to this image data are displayed, so that the keyword assigned to each registered image data is displayed. A search can be easily performed without being recognized, and a first dictionary for managing semantic classification information and a second dictionary for managing part of speech information And a keyword and an information table for managing the classification of the keyword. When the acquired keyword is not in the information table, semantic classification information and part-of-speech information are acquired for the keyword. Since the classification of the acquired keyword is determined based on, the classification of the image data can be performed reliably.
[0144]
According to the image search device of the second aspect and the image search method of the seventh aspect, when the semantic classification information of the acquired keyword is not managed by the first dictionary, the part of speech information acquired for the keyword Since the keyword classification is acquired based only on the keyword, the acquired keyword can be reliably classified.
[0145]
According to the image search device of the third aspect and the image search method of the eighth aspect, when the acquired keyword is in the information table, the classification managed as the classification of the keyword in the information table is changed to the classification of the keyword. Thus, the obtained keywords can be quickly classified.
[0146]
According to the image search device of the fourth aspect and the image search method of the ninth aspect, when a keyword is displayed at the time of search, the classification managed by the information table is displayed, and for each displayed classification, the classification is performed. Is displayed, the search can be performed more easily.
[0147]
According to the image search device of the fifth aspect and the image search method of the tenth aspect, at the time of search, a keyword displayed as a keyword in a category is added to a keyword as a search condition, and the keyword as a search condition is added. Since the keywords displayed as the keywords in the classification are deleted and the keywords serving as the search conditions are set, a plurality of search conditions can be specified, and the operability of the image search can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram of an image search device according to an embodiment of the present invention.
FIG. 2 is a diagram showing an image information table stored in a ROM 13 in FIG.
FIG. 3 is a view showing a keyword information table stored in a ROM 13 in FIG. 1;
FIG. 4 is a view showing a thesaurus dictionary stored in a ROM 13 in FIG. 1;
FIG. 5 is a diagram showing a keyword classification information table stored in a ROM 13 in FIG. 1;
FIG. 6 is a diagram showing a synonym dictionary of different notations stored in a ROM 13 in FIG. 1;
FIG. 7 is a diagram showing a lower concept word dictionary stored in a ROM 13 in FIG. 1;
8 is a diagram showing a search screen displayed on the CRT 15 in FIG.
FIG. 9 is a flowchart illustrating an image classification process performed by the image search device 11 in FIG. 1;
FIG. 10 is a flowchart showing a keyword search process executed in step S113 of FIG.
FIG. 11 is a flowchart showing a semantic classification order process executed in step S116 of FIG. 9;
12 is a flowchart showing an image data search process executed by the image search device 11 in FIG.
[Explanation of symbols]
11 Image retrieval device
12 CPU
13 ROM
14 RAM
15 CRT
16 Peripheral controller
17 External storage device
18 Digital Camera
19 Digital Video Camera
20 Input device
61 Classification display section
62 Keyword number display
63 Keyword display
64 Representative image data display section
65 Search condition input section
66 Search execution part
67 Check Box

Claims (12)

複数の画像データ及び当該画像データに付与するキーワードを登録する登録手段と、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索手段とを備える画像検索装置において、
前記登録手段は、
前記複数の画像データを取得する画像データ取得手段と、
前記取得した画像データに付与するキーワードを取得するキーワード取得手段と、
意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存する保存手段と、
前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別手段と、
キーワードの意味分類情報を第1の辞書から取得する意味分類取得手段と、
キーワードの品詞情報を前記第2の辞書から取得する品詞取得手段と、
前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得手段により当該キーワードについて取得された意味分類情報、及び前記品詞取得手段により当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定手段とを備え、
前記検索手段は、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示手段を備えることを特徴とする画像検索装置。
An image search apparatus comprising: a registration unit that registers a plurality of image data and a keyword to be assigned to the image data; and a search unit that searches for a desired one of the registered image data using the registered keyword as a search condition. At
The registration means,
Image data acquisition means for acquiring the plurality of image data,
Keyword acquisition means for acquiring a keyword to be assigned to the acquired image data,
Storage means for storing a first dictionary for managing semantic classification information, a second dictionary for managing part of speech information, and a keyword and an information table for managing the classification of the keyword;
Keyword determining means for determining whether or not the acquired keyword is a keyword managed by the information table,
Means for acquiring meaning classification information of the keyword from the first dictionary;
A part-of-speech obtaining means for obtaining part-of-speech information of a keyword from the second dictionary;
When the acquired keyword is not the managed keyword, the keyword is determined based on the semantic classification information acquired for the keyword by the semantic classification acquisition unit and the part of speech information acquired for the keyword by the part of speech acquisition unit. Classification determination means for determining the classification of
The image search apparatus, wherein the search means includes a display means for displaying the classified image data and a keyword assigned to the image data.
前記意味分類取得手段は、前記取得したキーワードの意味分類情報が前記第1の辞書により管理されていないときは、前記取得された品詞情報にのみに基づいて前記キーワードの分類を取得することを特徴とする請求項1記載の画像検索装置。When the semantic classification information of the obtained keyword is not managed by the first dictionary, the semantic classification obtaining means obtains the classification of the keyword based only on the obtained part of speech information. The image search device according to claim 1, wherein キーワード判別手段により前記取得したキーワードがあるときは、前記情報テーブルに当該キーワードの分類として管理されている分類を当該キーワードの分類として決定する他の分類決定手段を備えることを特徴とする請求項1記載の画像検索装置。2. The apparatus according to claim 1, further comprising another classification determining unit configured to determine a classification managed as a classification of the keyword in the information table when the keyword obtained by the keyword determination unit is present. The image search device described in the above. 前記キーワード表示手段は、
前記情報テーブルにより管理されている分類を表示する分類表示手段と、
分類表示手段により表示された分類毎に、前記分類決定手段により当該分類に決定されたキーワードを表示する分類内キーワード表示手段とを備えること特徴とする請求項3記載の画像検索装置。
The keyword display means,
Classification display means for displaying a classification managed by the information table,
4. The image retrieval apparatus according to claim 3, further comprising: a keyword-in-class display means for displaying a keyword determined by the classification determination means for each classification displayed by the classification display means.
前記検索手段は、
前記検索条件であるキーワードに前記分類内キーワード表示手段により表示されたキーワードを追加する検索条件追加手段と、
前記検索条件であるキーワードから前記分類内キーワード表示手段により表示されたキーワードを削除する検索条件削除手段と、
前記検索条件であるキーワードを設定する検索条件設定手段とを備えることを特徴とする請求項4記載の画像検索装置。
The search means,
A search condition adding unit that adds a keyword displayed by the in-category keyword display unit to the keyword that is the search condition;
Search condition deleting means for deleting a keyword displayed by the keyword-in-class display means from the keyword serving as the search condition;
The image search apparatus according to claim 4, further comprising: a search condition setting unit configured to set a keyword as the search condition.
複数の画像データ及び当該画像データに付与するキーワードを登録する登録ステップと、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索ステップとを有する画像検索方法において、
前記登録ステップは、
前記複数の画像データを取得する画像データ取得ステップと、
前記取得した画像データに付与するキーワードを取得するキーワード取得ステップと、
意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存するステップと、
前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別ステップと、
キーワードの意味分類情報を第1の辞書から取得する意味分類取得ステップと、
キーワードの品詞情報を前記第2の辞書から取得する品詞取得ステップと、
前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得ステップにより当該キーワードについて取得された意味分類情報、及び前記品詞取得ステップにより当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定ステップとを有し、
前記検索ステップは、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示ステップを有することを特徴とする画像検索方法。
An image search method, comprising: a registration step of registering a plurality of image data and a keyword to be assigned to the image data; and a search step of searching a desired one of the registered image data using the registered keyword as a search condition. At
The registration step includes:
Image data obtaining step of obtaining the plurality of image data,
A keyword obtaining step of obtaining a keyword to be assigned to the obtained image data,
Storing a first dictionary that manages semantic classification information, a second dictionary that manages part-of-speech information, and an information table that manages keywords and classification of the keywords;
A keyword determining step of determining whether or not the acquired keyword is a keyword managed by the information table;
A semantic classification obtaining step of obtaining semantic classification information of the keyword from the first dictionary;
A part-of-speech obtaining step of obtaining part-of-speech information of a keyword from the second dictionary;
When the acquired keyword is not the managed keyword, the keyword is determined based on the semantic classification information acquired for the keyword in the semantic classification acquisition step and the part of speech information acquired for the keyword in the part of speech acquisition step. And a classification determining step of determining the classification of
The image search method, wherein the search step includes a display step of displaying the classified image data and a keyword assigned to the image data.
前記意味分類取得ステップは、前記取得したキーワードの意味分類情報が前記第1の辞書により管理されていないときは、前記取得された品詞情報にのみに基づいて前記キーワードの分類を取得することを特徴とする請求項6記載の画像検索方法。The semantic classification obtaining step is characterized in that when the semantic classification information of the obtained keyword is not managed by the first dictionary, the classification of the keyword is obtained based only on the obtained part of speech information. The image search method according to claim 6, wherein キーワード判別ステップにより前記取得したキーワードがあるときは、前記情報テーブルに当該キーワードの分類として管理されている分類を当該キーワードの分類として決定する他の分類決定ステップを有することを特徴とする請求項6記載の画像検索方法。7. The method according to claim 6, further comprising, when there is the keyword obtained in the keyword determining step, another category determining step of determining a category managed as the category of the keyword in the information table as the category of the keyword. Image search method described. 前記キーワード表示ステップは、
前記情報テーブルにより管理されている分類を表示する分類表示ステップと、分類表示ステップにより表示された分類毎に、前記分類決定ステップにより当該分類に決定されたキーワードを表示する分類内キーワード表示ステップとを有すること特徴とする請求項8記載の画像検索方法。
The keyword displaying step includes:
A classification display step of displaying a classification managed by the information table, and a classification-in-class keyword display step of displaying, for each classification displayed in the classification display step, a keyword determined in the classification by the classification determination step. 9. The image search method according to claim 8, comprising:
前記検索ステップは、
前記検索条件であるキーワードに前記分類内キーワード表示ステップにより表示されたキーワードを追加する検索条件追加ステップと、
前記検索条件であるキーワードから前記分類内キーワード表示ステップにより表示されたキーワードを削除する検索条件削除ステップと、
前記検索条件であるキーワードを設定する検索条件設定ステップとを有することを特徴とする請求項9記載の画像検索方法。
The search step includes:
A search condition adding step of adding the keyword displayed by the keyword-in-class display step to the keyword that is the search condition;
A search condition deleting step of deleting a keyword displayed by the in-category keyword display step from the keyword being the search condition;
10. The image search method according to claim 9, further comprising a search condition setting step of setting a keyword as the search condition.
複数の画像データ及び当該画像データに付与するキーワードを登録する登録ステップと、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索ステップとをコンピュータに実行させるプログラムにおいて、
前記登録ステップは、
前記複数の画像データを取得する画像データ取得ステップと、
前記取得した画像データに付与するキーワードを取得するキーワード取得ステップと、
意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存するステップと、
前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別ステップと、
キーワードの意味分類情報を第1の辞書から取得する意味分類取得ステップと、
キーワードの品詞情報を前記第2の辞書から取得する品詞取得ステップと、
前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得ステップにより当該キーワードについて取得された意味分類情報、及び前記品詞取得ステップにより当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定ステップとを有し、
前記検索ステップは、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示ステップを有することを特徴とするプログラム。
Causing a computer to execute a registration step of registering a plurality of image data and a keyword to be assigned to the image data, and a search step of searching for a desired one of the registered image data using the registered keyword as a search condition. In the program,
The registration step includes:
Image data obtaining step of obtaining the plurality of image data,
A keyword obtaining step of obtaining a keyword to be assigned to the obtained image data,
Storing a first dictionary that manages semantic classification information, a second dictionary that manages part-of-speech information, and an information table that manages keywords and classification of the keywords;
A keyword determining step of determining whether or not the acquired keyword is a keyword managed by the information table;
A semantic classification obtaining step of obtaining semantic classification information of the keyword from the first dictionary;
A part-of-speech obtaining step of obtaining part-of-speech information of a keyword from the second dictionary;
When the acquired keyword is not the managed keyword, the keyword is determined based on the semantic classification information acquired for the keyword in the semantic classification acquisition step and the part of speech information acquired for the keyword in the part of speech acquisition step. And a classification determining step of determining the classification of
The program according to claim 1, wherein the search step includes a display step of displaying the classified image data and a keyword assigned to the image data.
複数の画像データ及び当該画像データに付与するキーワードを登録する登録ステップと、前記登録されたキーワードを検索条件として前記登録された画像データのうち所望のものを検索する検索ステップとをコンピュータに実行させるプログラムを格納するコンピュータ読取り可能な媒体において、
前記登録ステップは、
前記複数の画像データを取得する画像データ取得ステップと、
前記取得した画像データに付与するキーワードを取得するキーワード取得ステップと、
意味分類情報を管理する第1の辞書と、品詞情報を管理する第2の辞書と、キーワード及び当該キーワードの分類を管理する情報テーブルとを保存するステップと、
前記取得したキーワードに対し、前記情報テーブルにより管理されているキーワードにあるか否かを判別するキーワード判別ステップと、
キーワードの意味分類情報を第1の辞書から取得する意味分類取得ステップと、
キーワードの品詞情報を前記第2の辞書から取得する品詞取得ステップと、
前記取得したキーワードが前記管理されているキーワードでないときに、前記意味分類取得ステップにより当該キーワードについて取得された意味分類情報、及び前記品詞取得ステップにより当該キーワードについて取得された品詞情報に基づいて当該キーワードの分類を決定する分類決定ステップとを有し、
前記検索ステップは、前記分類された画像データ及び当該画像データに付与されたキーワードを表示する表示ステップを有することを特徴とする媒体。
Causing a computer to execute a registration step of registering a plurality of image data and a keyword to be assigned to the image data, and a search step of searching for a desired one of the registered image data using the registered keyword as a search condition. In a computer readable medium storing a program,
The registration step includes:
Image data obtaining step of obtaining the plurality of image data,
A keyword obtaining step of obtaining a keyword to be assigned to the obtained image data,
Storing a first dictionary that manages semantic classification information, a second dictionary that manages part-of-speech information, and an information table that manages keywords and classification of the keywords;
A keyword determining step of determining whether or not the acquired keyword is a keyword managed by the information table;
A semantic classification obtaining step of obtaining semantic classification information of the keyword from the first dictionary;
A part-of-speech obtaining step of obtaining part-of-speech information of a keyword from the second dictionary;
When the acquired keyword is not the managed keyword, the keyword is determined based on the semantic classification information acquired for the keyword in the semantic classification acquisition step and the part of speech information acquired for the keyword in the part of speech acquisition step. And a classification determining step of determining the classification of
The medium according to claim 1, wherein the search step includes a display step of displaying the classified image data and a keyword assigned to the image data.
JP2002265470A 2002-09-11 2002-09-11 Image retrieval device and image retrieval method, program, and medium Pending JP2004102792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002265470A JP2004102792A (en) 2002-09-11 2002-09-11 Image retrieval device and image retrieval method, program, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002265470A JP2004102792A (en) 2002-09-11 2002-09-11 Image retrieval device and image retrieval method, program, and medium

Publications (1)

Publication Number Publication Date
JP2004102792A true JP2004102792A (en) 2004-04-02

Family

ID=32264604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002265470A Pending JP2004102792A (en) 2002-09-11 2002-09-11 Image retrieval device and image retrieval method, program, and medium

Country Status (1)

Country Link
JP (1) JP2004102792A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873659B2 (en) 2007-10-31 2011-01-18 Mizuho Information & Research Institute, Inc. Database management system, database management method and database management program
JP2011138512A (en) * 2009-12-29 2011-07-14 Nhn Corp Method and system for selecting representative image in removal of duplicated image
CN105324747A (en) * 2013-06-27 2016-02-10 利普雷克斯有限公司 Image display method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873659B2 (en) 2007-10-31 2011-01-18 Mizuho Information & Research Institute, Inc. Database management system, database management method and database management program
JP2011138512A (en) * 2009-12-29 2011-07-14 Nhn Corp Method and system for selecting representative image in removal of duplicated image
CN105324747A (en) * 2013-06-27 2016-02-10 利普雷克斯有限公司 Image display method and system

Similar Documents

Publication Publication Date Title
US7809551B2 (en) Concept matching system
US6735583B1 (en) Method and system for classifying and locating media content
US7949648B2 (en) Compiling and accessing subject-specific information from a computer network
US20090094223A1 (en) System and method for classifying search queries
US20070106499A1 (en) Natural language search system
JP2006048686A (en) Generation method for document explanation based on phrase
JP2010055618A (en) Method and system for providing search based on topic
JP2005202974A (en) Computerized system and method for searching information resource and retrieving information from information resource
JP2006048683A (en) Phrase identification method in information retrieval system
AU2005217413A1 (en) Intelligent search and retrieval system and method
JP2005251115A (en) System and method of associative retrieval
JP2014106665A (en) Document retrieval device and document retrieval method
JP2009009461A (en) Keyword inputting-supporting system, content-retrieving system, content-registering system, content retrieving and registering system, methods thereof, and program
JP3847273B2 (en) Word classification device, word classification method, and word classification program
JP3178421B2 (en) Text search device and computer-readable recording medium storing text search program
JPH08161343A (en) Related word dictionary preparing device
JP2003196294A (en) Knowledge analyzing system and method
JP2004102792A (en) Image retrieval device and image retrieval method, program, and medium
JP4428703B2 (en) Information retrieval method and system, and computer program
JP3367174B2 (en) Document group analysis apparatus and method
JP2002032394A (en) Device and method for preparing related term information, device and method for presenting related term, device and method for retrieving document and storage medium
JP2009146013A (en) Content retrieval method, its device, and program
JP2004139246A (en) Image search system, image search method, program, and storage medium
JPH1166078A (en) Retrieval request embodiment method/device and storage medium storing retrieval, request embodiment program
JP2003076695A (en) Image retrieval device, and method and program therefor