JPH0668171A - Picture database, picture database preparation method, picture retrieval method and device therefor - Google Patents

Picture database, picture database preparation method, picture retrieval method and device therefor

Info

Publication number
JPH0668171A
JPH0668171A JP4218024A JP21802492A JPH0668171A JP H0668171 A JPH0668171 A JP H0668171A JP 4218024 A JP4218024 A JP 4218024A JP 21802492 A JP21802492 A JP 21802492A JP H0668171 A JPH0668171 A JP H0668171A
Authority
JP
Japan
Prior art keywords
image
layout
layout information
search
similarity
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
JP4218024A
Other languages
Japanese (ja)
Inventor
Satoru Hashimoto
哲 橋本
Mitsuhisa Obata
光央 小畑
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP4218024A priority Critical patent/JPH0668171A/en
Publication of JPH0668171A publication Critical patent/JPH0668171A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To display an object picture quickly for a retrieval request including layout information. CONSTITUTION:Retrieval layout information for a picture to be retrieved is inputted by using a picture database storing a picture, similarity of an object at each area of the picture and the picture layout information. Based on the inputted retrieval layout information, the picture desired to be retrieved among sets of the picture layout information of the picture database is retrieved, the reliability of layout of the retrieval picture is calculated based on the degree of similarity of the object stored together with the retrieved picture and the information is displayed in the order of higher reliability of the calculated layout.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、画像データベース、
画像データベース作成方法、画像検索方法およびこれら
の装置に関し、さらに詳細にいえば、レイアウト情報を
含んだ画像データベースの作成方法および作成された画
像データベースと、レイアウト情報を含んだ画像データ
ベースを用いて画像を検索する方法および画像検索装置
に関する。
This invention relates to an image database,
More specifically, the present invention relates to an image database creating method, an image searching method, and these devices, and more specifically, an image database creating method including layout information, an created image database, and an image database including the layout information to create an image. The present invention relates to a search method and an image search device.

【0002】[0002]

【従来の技術】従来から、画像データベースの中から目
的の画像を素早く検索する方法が提案されている。その
ような方法の1つとして人が画像を検索するためのキー
ワードを画像毎に付与する方法がある。しかし、画像を
効率良く検索できる的確なキーワードを付与することは
難しいとともに、たとえキーワードを付けても、キーワ
ードを付与する人の主観が入りやすりので、画像を検索
する第三者にとってピントはずれなキーワードを付けて
いる場合が多々生じ、素早く目的の画像が探しだせない
問題があった。
2. Description of the Related Art Conventionally, there has been proposed a method for quickly searching for a target image from an image database. As one of such methods, there is a method in which a keyword for a person to search for an image is added to each image. However, it is difficult to assign an accurate keyword that can efficiently search images, and even if a keyword is added, the subjectivity of the person who assigns the keyword is likely to enter, so a keyword that is out of focus for a third party who searches the image. In many cases, the target image was not found quickly.

【0003】また近年、画像に含まれる物のレイアウト
情報を作業者が画像毎に目視して、レイアウト情報をキ
ーボードなどの入力手段により画像データベースに登録
しておき、探そうとする画像のレイアウト情報を画像検
索のキーワードとして用いることにより、画像検索を素
早く行なえるようにした画像検索方法が提案されてい
る。
Further, in recent years, a worker visually checks layout information of an object included in an image for each image, registers the layout information in an image database by an input means such as a keyboard, and layout information of an image to be searched. An image search method has been proposed in which is used as a keyword for image search so that image search can be performed quickly.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記レ
イアウト情報による画像検索方法であっても、画像毎に
対象物のレイアウトを作業者が判断してレイアウト情報
の作成することには変わりはなく、多大な労力を必要と
する問題点があった。また、画像データベースに登録さ
れた画像が多い場合、同じレイアウト情報を有する画像
の中から目的の画像を探しだすのに時間がかかる問題点
があった。
However, even in the image retrieval method based on the layout information described above, it is still the case that the operator determines the layout of the object for each image and creates the layout information. There was a problem that required great effort. In addition, when there are many images registered in the image database, there is a problem that it takes time to find a target image from images having the same layout information.

【0005】さらに、従来のレイアウト情報を用いた画
像検索方法においては、レイアウト情報は個々の対象物
のレイアウト関係を記述したマニュアルを基準にして作
成されるので、検索のキーワードの言葉が違うと形状が
似た対象物であっても画像を検索できないという問題点
があった。
Further, in the conventional image retrieval method using layout information, since the layout information is created based on the manual describing the layout relationship of individual objects, the shape is different if the keyword of the retrieval keyword is different. There was a problem that images could not be searched even for objects that were similar to.

【0006】[0006]

【発明の目的】この発明は上記の問題点に鑑みてなされ
たものであり、レイアウト情報を含んだ検索要求に対し
て目的の画像を素早く表示でき、画像検索を効率化でき
る画像データベースの作成方法、画像データベース作成
装置、画像データベース、画像検索方法および画像検索
装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is a method of creating an image database capable of quickly displaying a desired image in response to a search request including layout information and improving the efficiency of image search. , An image database creation device, an image database, an image search method, and an image search device.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めの請求項1の画像データベース作成方法は、対象物の
テンプレートおよび対象物間の基本レイアウト情報を設
定し、原画像に対して基準となるテンプレートを用いて
概略認識を行なって対象物の候補の抽出と対象物の位置
検出を行ない、抽出された対象物とテンプレートとの類
似度を算出し、概略認識検証によって概略認識で抽出さ
れた対象物の誤った抽出を削除するとともに、基本レイ
アウト情報および対象物のレイアウトに基づいて誤抽出
されている対象物を削除し、原画像のレイアウト情報を
作成し、各対象物とテンプレートとの類似度と画像レイ
アウト情報とを原画像とともに記憶する。
According to a first aspect of the present invention, there is provided a method for creating an image database, wherein a template of an object and basic layout information between the objects are set and a reference is set for an original image. The target object is extracted and the position of the target object is detected by performing the rough recognition using the template, the similarity between the extracted target object and the template is calculated, and the rough recognition is performed by the rough recognition verification. In addition to deleting the incorrect extraction of the target object, delete the target object that has been erroneously extracted based on the basic layout information and the layout of the target object, and create the layout information of the original image. The degree and the image layout information are stored together with the original image.

【0008】上記の目的を達成するための請求項2の画
像データベースは、原画像と、抽出された対象物とテン
プレートとの類似度と、画像レイアウト情報とを記憶し
ている。上記の目的を達成するための請求項3の画像デ
ータベース作成装置は、対象物のテンプレートおよび対
象物間の基本レイアウト情報を設定する初期条件設定手
段と、原画像に対して基準となるテンプレートを用いて
概略認識を行なって、対象物の候補の抽出と対象物の位
置検出を行なう概略認識手段と、抽出された対象物とテ
ンプレートとの類似度を算出する類似度算出手段と、概
略認識検証によって概略認識手段により抽出された対象
物の誤った抽出を削除する第1の認識検証手段と、基本
レイアウト情報および対象物のレイアウトに基づいて誤
抽出されている対象物を削除する第2の認識検証手段
と、第1の認識検証手段および第2の認識検証手段の出
力に基づいて原画像のレイアウト情報を作成する画像レ
イアウト作成手段と、各対象物とテンプレートとの類似
度と画像レイアウト情報とを原画像とともに記憶する画
像データベースとを含んでいる。
The image database according to claim 2 for achieving the above object stores the original image, the similarity between the extracted object and the template, and the image layout information. According to another aspect of the present invention, there is provided an image database creating apparatus which uses initial condition setting means for setting a template of an object and basic layout information between the objects, and a template serving as a reference for an original image. By performing rough recognition to extract candidates for the target object and detecting the position of the target object, similarity calculation means for calculating the similarity between the extracted target object and the template, and rough recognition verification. First recognition verification means for deleting erroneous extraction of the object extracted by the rough recognition means, and second recognition verification for deleting the erroneously extracted object based on the basic layout information and the layout of the object. Means, an image layout creating means for creating layout information of the original image based on the outputs of the first recognition verifying means and the second recognition verifying means, and each target. And an image database for storing together with the original image and the similarity with the image layout information with the template and.

【0009】上記の目的を達成するための請求項4の画
像検索方法は、原画像と、抽出された対象物とテンプレ
ートとの類似度と、画像レイアウト情報とを記憶した画
像データベースを使用して、探そうとする画像の検索レ
イアウト情報を入力し、入力された検索レイアウト情報
および画像データベースの画像レイアウト情報に基づい
て探そうとする画像を検索し、検索された画像に含まれ
る対象物の類似度に基づいて検索画像のレイアウトの信
頼度を算出し、算出されたレイアウトの信頼度に基づい
て検索画像の表示を制御する。
In order to achieve the above object, the image retrieval method of claim 4 uses an image database that stores the original image, the similarity between the extracted object and the template, and the image layout information. , Input the search layout information of the image to be searched, search for the image to be searched based on the input search layout information and the image layout information of the image database, and resemble the objects included in the searched image. The reliability of the layout of the search image is calculated based on the degree, and the display of the search image is controlled based on the calculated reliability of the layout.

【0010】請求項5の画像検索方法は、検索された画
像が含む全ての対象物の類似度の乗算によりレイアウト
の信頼度を算出する。上記の目的を達成するための請求
項6の画像検索装置は、原画像を記憶する画像記憶部
と、抽出された対象物とテンプレートとの類似度を記憶
する類似度記憶部と、画像レイアウト情報を記憶する画
像レイアウト情報記憶部とを有した画像データベースを
使用し、探そうとする画像の検索レイアウト情報を入力
する検索レイアウト情報入力手段と、入力された検索レ
イアウト情報および画像レイアウト情報記憶部の画像レ
イアウト情報に基づいて探そうとする画像を検索する検
索手段と、検索された画像に含まれる対象物の類似度に
基づいて検索画像のレイアウトの信頼度を算出する信頼
度算出手段と、算出されたレイアウトの信頼度に基づい
て検索画像の表示を制御する画像表示制御手段とを含ん
でいる。
According to the image retrieval method of the fifth aspect, the reliability of the layout is calculated by multiplying the similarities of all the objects included in the retrieved image. The image search device according to claim 6 for achieving the above object, an image storage unit for storing an original image, a similarity storage unit for storing the similarity between the extracted object and the template, and image layout information. A search layout information input unit for inputting search layout information of an image to be searched by using an image database having an image layout information storage unit for storing the search layout information and the image layout information storage unit. A search means for searching for an image to be searched for based on the image layout information; a reliability calculation means for calculating the reliability of the layout of the search image based on the similarity of objects included in the searched image; Image display control means for controlling the display of the search image based on the reliability of the created layout.

【0011】請求項7の画像検索装置は、信頼度算出手
段が、検索された画像が含む全ての対象物の類似度を乗
算する乗算手段を含んでいる。
In the image retrieving apparatus according to the seventh aspect, the reliability calculating means includes a multiplying means for multiplying the similarities of all objects included in the retrieved image.

【0012】[0012]

【作用】請求項1の画像データベース作成方法であれ
ば、対象物のテンプレートおよび対象物間の基本レイア
ウト情報を設定することにより、作成しようとする画像
データベースに最も好適な対象物のテンプレートおよび
対象物間の基本レイアウト情報を設定することができ
る。また、原画像に対して基準となるテンプレートを用
いて概略認識を行なって対象物の候補の抽出と対象物の
位置検出を行なうことにより、原画像の概略的な認識が
できる。また、抽出された対象物とテンプレートとの類
似度を算出することにより、対象物とテンプレートとの
一致の度合いを示す情報を持つことができる。また、概
略認識検証によって概略認識で抽出された対象物の誤っ
た抽出を削除するとともに、基本レイアウト情報および
対象物のレイアウトに基づいて誤抽出されている対象物
を削除することにより、信頼度の高い画像レイアウト情
報を作成することができる。そして各対象物とテンプレ
ートとの類似度と画像レイアウト情報とを原画像ととも
に記憶することにより目的の画像を検索し易いデータ構
造を有した画像データベースを作成することができる。
According to the image database creating method of claim 1, the template of the object and the object most suitable for the image database to be created are set by setting the template of the object and the basic layout information between the objects. Basic layout information between can be set. Further, rough recognition of the original image can be performed by performing rough recognition on the original image using a template serving as a reference, extracting candidate objects and detecting the position of the target object. Further, by calculating the degree of similarity between the extracted target object and the template, it is possible to have information indicating the degree of matching between the target object and the template. In addition, by deleting the incorrect extraction of the object extracted by the rough recognition by the rough recognition verification, and by deleting the wrongly extracted target based on the basic layout information and the layout of the target, the reliability can be improved. It is possible to create high image layout information. By storing the similarity between each object and the template and the image layout information together with the original image, it is possible to create an image database having a data structure that makes it easy to search for the target image.

【0013】請求項2の画像データベースであれば、原
画像と、抽出された対象物とテンプレートとの類似度
と、画像レイアウト情報とを有しているので画像検索を
効率的に行なうことができる。請求項3の画像データベ
ース作成装置であれば、初期条件設定手段により対象物
のテンプレートおよび対象物間の基本レイアウト情報を
設定し、概略認識手段が原画像に対して基準となるテン
プレートを用いて概略認識を行うことにより、対象物の
候補の抽出と対象物の位置検出を行なう。そして、類似
度算出手段が抽出された対象物とテンプレートとの類似
度を算出する。また、第1の認識検証手段が概略認識検
証によって概略認識手段により抽出された対象物の誤っ
た抽出を削除するとともに、第2の認識検証手段が基本
レイアウト情報および対象物のレイアウトに基づいて誤
抽出されている対象物を削除する。そして画像レイアウ
ト作成手段が第1の認識検証手段および第2の認識検証
手段の出力に基づいて原画像のレイアウト情報を作成す
る。そして画像データベースに各対象物とテンプレート
との類似度と画像レイアウト情報とを原画像とともに記
憶することにより、画像検索のしやすい画像データベー
スを作成することができる。
In the image database according to the second aspect, since the original image, the similarity between the extracted object and the template, and the image layout information are included, the image search can be efficiently performed. . According to the image database creating apparatus of claim 3, the initial condition setting means sets the template of the object and the basic layout information between the objects, and the outline recognition means uses the template serving as a reference for the original image. By performing the recognition, the candidate of the target object is extracted and the position of the target object is detected. Then, the similarity calculating means calculates the similarity between the extracted object and the template. Further, the first recognition verification means deletes an erroneous extraction of the object extracted by the rough recognition means by the rough recognition verification, and the second recognition verification means makes a mistake based on the basic layout information and the layout of the object. Delete the extracted object. Then, the image layout creating means creates the layout information of the original image based on the outputs of the first recognition verifying means and the second recognition verifying means. Then, by storing the similarity between each object and the template and the image layout information in the image database together with the original image, it is possible to create an image database that facilitates image search.

【0014】請求項4の画像検索方法であれば、検索画
像の対象物の類似度に基づいて、検索レイアウト情報に
よって特定される画像レイアウトの信頼度を算出するこ
とにより、検索レイアウト情報によって検索された画像
の信頼度を算出することができる。そして、算出された
レイアウトの信頼度に基づいて検索画像の表示を制御す
ることにより、作業者の検索要求に応じた画像の探し方
を行なうことができる。
According to the image search method of claim 4, the reliability of the image layout specified by the search layout information is calculated based on the similarity of the object of the search image, and the image is searched by the search layout information. The reliability of the captured image can be calculated. Then, by controlling the display of the search image based on the calculated reliability of the layout, it is possible to search for the image according to the search request of the operator.

【0015】請求項5の画像検索方法であれば、検索さ
れた画像が含む全ての対象物の類似度の乗算によりレイ
アウトの信頼度を算出するので、乗算という簡単な演算
で早く信頼度を算出することができるとともに、画像全
体に対する信頼度を用いることにより検索精度を高める
ことができる。請求項6の画像検索装置であれば、原画
像を記憶する画像記憶部と、抽出された対象物とテンプ
レートとの類似度を記憶する類似度記憶部と、画像レイ
アウト情報を記憶する画像レイアウト情報記憶部とを有
した画像データベースを使用し、検索レイアウト情報入
力手段によって、入力された検索レイアウト情報を使用
して、検索手段が画像データベースの画像レイアウト情
報に基づいて探そうとする画像を検索し、信頼度算出手
段が検索された画像が含む対象物の類似度に基づいて検
索画像のレイアウトの信頼度を算出し、画像表示制御手
段が算出されたレイアウトの信頼度に基づいて検索画像
の表示を制御する。したがって、検索レイアウト情報を
考慮した上で検索された画像のレイアウトの信頼度に応
じて画像表示を変えることができ、探そうとする画像を
早く検索することができる。
According to the image retrieval method of the fifth aspect, the reliability of the layout is calculated by multiplying the similarities of all the objects included in the retrieved image. Therefore, the reliability can be calculated quickly by a simple calculation called multiplication. In addition, the search accuracy can be improved by using the reliability of the entire image. According to the image search device of claim 6, an image storage unit that stores the original image, a similarity storage unit that stores the similarity between the extracted object and the template, and image layout information that stores the image layout information. An image database having a storage unit is used, and the search layout information input unit uses the input search layout information to search for an image to be searched based on the image layout information in the image database. The reliability calculation means calculates the layout reliability of the search image based on the similarity of the objects included in the searched image, and the image display control means displays the search image based on the calculated reliability of the layout. To control. Therefore, the image display can be changed according to the reliability of the layout of the searched image in consideration of the search layout information, and the image to be searched can be searched quickly.

【0016】請求項7の画像検索装置であれば、乗算手
段が検索された画像が含む全ての対象物の類似度を乗算
して検索画像の信頼度を求めるので、早く信頼度を算出
することができるとともに、画像全体に対する信頼度を
用いることにより検索精度を高めることができる。
According to the image retrieval apparatus of claim 7, the multiplication means calculates the reliability of the retrieved image by multiplying the similarities of all the objects included in the retrieved image, so that the reliability can be calculated quickly. In addition, the search accuracy can be improved by using the reliability of the entire image.

【0017】[0017]

【実施例】以下、実施例を示す添付図面によって詳細に
説明する。図1はこの発明の画像データベース作成方法
の第1実施例を示すフローチャートである。この画像デ
ータベース作成方法においては、ステップSP1におい
て作成する画像データベースが扱おうとする対象物のテ
ンプレートおよび対象物間の基本レイアウト情報を設定
し、ステップSP2において、画像データベースを構成
する画像をイメージスキャナなどを用いたり、あるいは
画像ファイルなどから画像を転送するなどして読み込
み、ステップSP3において読み込んだ画像を同じ特性
を有する領域に分割し、ステップSP4において分割さ
れた領域毎に基準となるテンプレートを用いて領域毎に
概略認識としての画素データレベルでのマッチングを行
ない、対象物の候補の抽出と対象物の位置検出を行な
う。このマッチングに使用できるのは、多値画像を扱っ
た位置検出に好適な正規相関法、ベクトル相関法などが
ある。
Embodiments will be described in detail below with reference to the accompanying drawings showing embodiments. FIG. 1 is a flow chart showing a first embodiment of the image database creating method of the present invention. In this image database creating method, a template of an object to be processed by the image database created in step SP1 and basic layout information between the objects are set, and in step SP2, the images forming the image database are processed by an image scanner or the like. It is used, or is read by transferring an image from an image file or the like, the image read in step SP3 is divided into regions having the same characteristics, and a region serving as a reference template is used for each divided region in step SP4. Each time, matching is performed at the pixel data level as rough recognition, and the candidate of the target object is extracted and the position of the target object is detected. A normal correlation method, a vector correlation method, etc. suitable for position detection handling a multi-valued image can be used for this matching.

【0018】次いで、ステップSP5において画素デー
タレベルで抽出された対象物とテンプレートとの類似度
を前記相関法の相関係数などに基づいて算出し、ステッ
プSP6において概略認識検証としての特徴点マッチン
グを行ない画素データレベルで抽出された対象物の誤っ
た抽出を削除し、ステップSP7においてステップSP
1で各対象物間で設定された基本レイアウト情報に基づ
いて、対象物のレイアウト検証を行なって誤抽出されて
いる対象物を削除し、ステップSP8においてレイアウ
ト検証後の画像のレイアウト情報を作成し、ステップS
P9において画像毎に、対象物とテンプレートとの類似
度と画像レイアウト情報を画像とともに記憶し、ステッ
プSP10において画像の記憶処理が全て終了したか否
かを判別し、画像の記憶処理が全て終了したと判別され
た場合は一連の処理を終了する。また、ステップSP1
0において画像の記憶処理が全て終了していないと判別
された場合はステップSP2からステップSP9までの
処理を、処理する画像の記憶処理が全て終了したと判別
されるまで反復し、ステップSP10において画像の記
憶処理が全て終了したと判別された場合に一連の処理を
終了する。
Next, in step SP5, the degree of similarity between the object extracted at the pixel data level and the template is calculated based on the correlation coefficient of the above correlation method, and in step SP6 feature point matching for rough recognition verification is performed. Erroneous extraction of the object extracted at the performed pixel data level is deleted, and in step SP7, step SP
In step 1, based on the basic layout information set between the objects, layout verification of the objects is performed to delete the incorrectly extracted objects, and in step SP8 layout information of the image after layout verification is created. , Step S
In P9, the similarity between the object and the template and the image layout information are stored together with the image for each image, and it is determined in step SP10 whether or not all the image storage processes have been completed, and all image storage processes have been completed. If it is determined that, a series of processing ends. Also, step SP1
If it is determined that the storage processing of all the images is not completed at 0, the processing from step SP2 to step SP9 is repeated until it is determined that all the storage processing of the image to be processed is completed, and at step SP10, the image is processed. When it is determined that all the storage processing of (3) are completed, the series of processing is completed.

【0019】図2、図3および図4はこの発明の画像デ
ータベース作成方法の一実施例を説明するための図であ
り、図2は対象物がテーブル、椅子、コップ、花瓶を含
んで構成され、テーブルの上にコップ、花瓶があり、テ
ーブルの横に椅子が存在するという基本レイアウト情報
を示している。この基本レイアウト情報を予め定義し、
テーブル、椅子、花瓶、コップの各対象物のテンプレー
トをそれぞれ図3の図形1,図形2,図形3,図形4の
ように定義する。そして、画像データベースを作成する
ために、処理画像が図4に示すように同じ特性を有する
複数の領域(領域A,領域B,領域C,領域D,領域
E)に分割されている場合を考える。
2, 3 and 4 are views for explaining an embodiment of the image database creating method of the present invention. FIG. 2 shows that the object includes a table, a chair, a cup and a vase. , There is a cup and a vase on the table, and there is a chair next to the table. Predefine this basic layout information,
Templates of objects such as a table, a chair, a vase, and a cup are defined as in Figure 1, Figure 2, Figure 3, and Figure 4 of FIG. 3, respectively. Then, in order to create the image database, consider a case where the processed image is divided into a plurality of regions (region A, region B, region C, region D, region E) having the same characteristics as shown in FIG. .

【0020】画素データレベルのマッチングによって、
対象物の抽出および対象物の位置を決定する場合に、領
域A,・・・,領域Eに対してそれぞれテーブルテンプ
レート、椅子テンプレート、花瓶テンプレート、コップ
テンプレートに対するマッチングを行なうと、各領域の
各対象物に対する相関係数が算出でき、これを各領域に
対する各テンプレートの類似度として定義する。そし
て、各対象物において明らかに相関係数の低いものを領
域特定の対象から削除するとともに、各対象物の位置を
特定する。次いで、特徴点マッチングを行なって各領域
毎に誤抽出されている対象物候補を削除し、さらに図2
に示す基本レイアウト情報に基づいてレイアウト検証を
行ない、あり得ないレイアウトの対象物の候補を削除し
て、図4に示す処理画像のレイアウト情報を決定して、
画像データベースを前記類似度、画像レイアウト情報、
および原画像とで構成する。
By matching pixel data levels,
When extracting the object and determining the position of the object, if the table template, the chair template, the vase template, and the cup template are respectively matched to the areas A, ... The correlation coefficient for an object can be calculated, and this is defined as the similarity of each template for each region. Then, in each of the objects, those having a clearly low correlation coefficient are deleted from the area specifying object, and the position of each object is specified. Next, feature point matching is performed to delete the object candidates that have been erroneously extracted for each region, and
Layout verification is performed on the basis of the basic layout information shown in FIG. 4, and the candidate of the object of the impossible layout is deleted to determine the layout information of the processed image shown in FIG.
Image database, the similarity, image layout information,
And the original image.

【0021】この処理を図4の領域Bの場合を例にと
り、より詳細に説明すると、始めの画素データレベルで
のマッチングにより、仮に領域Bに対する各テンプレー
トの類似度が仮に図3に示す数値に算出されたとする。
そして、特徴点マッチングにより著しく形状の異なり、
類似度の低いテーブルが領域Bの候補から除去され、レ
イアウト検証により、テーブルの上に椅子があることは
あり得ないので、椅子が対象物の候補から除去され、最
終的に領域Bの候補として花瓶、コップが残ることにな
る。この場合、領域Bは花瓶テンプレートに対する類似
度とコップテンプレートに対する類似度をデータとして
持っている。このように、画像データベースは、画像自
体と、図4に示す処理画像においてレイアウト検証によ
り絞られた対象物のレイアウト情報、および各領域に対
する最終的に残った対象物とテンプレートとの類似度を
持った状態で作成される。
This processing will be described in more detail by taking the case of the area B of FIG. 4 as an example. By the matching at the first pixel data level, the similarity of each template to the area B is temporarily changed to the numerical value shown in FIG. It is assumed that it is calculated.
And the shape is remarkably different due to feature point matching,
A table having a low degree of similarity is removed from the candidates of region B, and it is unlikely that there is a chair on the table according to the layout verification. Therefore, the chair is removed from the candidates of the object, and finally a candidate of region B is selected. The vase and cup will remain. In this case, the area B has the similarity to the vase template and the similarity to the cup template as data. As described above, the image database has the image itself, the layout information of the object narrowed down by the layout verification in the processed image shown in FIG. 4, and the similarity between the finally remaining object and the template for each area. It is created in the open state.

【0022】[0022]

【実施例2】図5はこの発明の画像検索方法の一実施例
を示すフローチャートである。この画像検索方法におい
ては、第1実施例で説明した画像データベース作成方法
で作成された画像データベースを用いて画像の検索を行
なう。まず、ステップSP1においてキーボードなどの
入力手段により、探そうとする画像の検索レイアウト情
報を検索者が入力し、ステップSP2において画像デー
タベースの中から入力された検索レイアウト情報を使用
して、画像レイアウト情報に基づいて探そうとする画像
を検索し、ステップSP3において検索された画像に対
応して記憶されている対象物の類似度の中から、検索レ
イアウト情報が有する対象物の類似度だけを読み込み、
ステップSP4において読み込まれた対象物の類似度か
ら検索画像のレイアウトの信頼度を算出し、ステップS
P5においてレイアウトの信頼度に基づいて検索画像を
表示して一連の作業を終了する。
[Embodiment 2] FIG. 5 is a flow chart showing an embodiment of the image retrieval method of the present invention. In this image search method, images are searched using the image database created by the image database creation method described in the first embodiment. First, in step SP1, the searcher inputs the search layout information of an image to be searched by using an input means such as a keyboard, and in step SP2, the search layout information input from the image database is used to generate the image layout information. The image to be searched for is searched based on, and only the similarity of the object included in the search layout information is read from the similarities of the objects stored corresponding to the image searched in step SP3.
The reliability of the layout of the search image is calculated from the similarity of the object read in step SP4, and step S
In P5, the search image is displayed based on the reliability of the layout, and the series of operations is completed.

【0023】この実施例によれば、入力された検索レイ
アウト情報によって検索された画像のレイアウトの信頼
度を対象物の類似度に基づいて算出し、算出された信頼
度に基づいて検索画像を表示するので、検索者の探す画
像を高い確率で早く見つけることができる。
According to this embodiment, the layout reliability of the image searched by the input search layout information is calculated based on the similarity of the object, and the search image is displayed based on the calculated reliability. Therefore, it is possible to quickly find the image that the searcher is looking for with a high probability.

【0024】[0024]

【実施例3】図6はこの発明の画像検索方法の他の実施
例を示すフローチャートである。この実施例は第2実施
例の一形態を示す方法であり、対象物の類似度から入力
されたレイアウト情報の信頼度を算出する場合に、信頼
度を各対象物の類似度の乗算により求める点と、検索画
像を信頼度の高い順に並び換えて表示する点とを特徴と
している。
Third Embodiment FIG. 6 is a flow chart showing another embodiment of the image retrieval method of the present invention. This embodiment is a method showing one form of the second embodiment, and when the reliability of the input layout information is calculated from the similarity of the objects, the reliability is obtained by multiplying the similarity of each object. It is characterized by points and points in which search images are rearranged and displayed in the descending order of reliability.

【0025】即ち、まず、ステップSP1においてキー
ボードなどの入力手段により、探そうとする画像の検索
レイアウト情報を検索者が入力し、ステップSP2にお
いて画像データベースの中から入力された検索レイアウ
ト情報を使用して、画像レイアウト情報に基づいて探そ
うとする画像を検索し、ステップSP3において検索さ
れた画像に対応して記憶されている対象物の類似度の中
から、検索レイアウト情報が有する対象物の類似度だけ
を読み込み、ステップSP4において読み込まれた対象
物の類似度から検索画像のレイアウトの信頼度を乗算に
より算出し、ステップSP5においてレイアウトの信頼
度の高い順に検索された画像を並び換え、ステップSP
6において検索画像を信頼度の高い順に並び換えた順に
表示して一連の作業を終了する。
That is, first, in step SP1, the searcher inputs the search layout information of the image to be searched by the input means such as a keyboard, and in step SP2, the search layout information input from the image database is used. Then, the image to be searched for is searched based on the image layout information, and the similarity of the object included in the search layout information is selected from among the similarities of the objects stored corresponding to the image searched in step SP3. Only the degree is read, and the layout reliability of the search image is calculated by multiplication from the similarity of the object read in step SP4, and the images searched in order of the layout reliability are rearranged in step SP5.
In step 6, the search images are displayed in the order in which they are sorted in order of increasing reliability, and the series of operations is completed.

【0026】この実施例によれば、第2実施例の効果と
ともに、乗算という簡単な演算により、早く検索レイア
ウト情報の検索画像に対する信頼度を算出できるととも
に、検索レイアウト情報内の対象物であって検索画像が
有する全ての対象物の類似度を乗算することにより、検
索の精度を高めることができる。また、レイアウトの信
頼度に基づいて検索画像の表示順序を変えるので、検索
者が自然に画像を順に見ていくだけの作業で検索者の探
す画像を早く見つけることができる利点がある。
According to this embodiment, in addition to the effect of the second embodiment, the reliability of the search layout information with respect to the search image can be quickly calculated by a simple operation such as multiplication, and the object in the search layout information can be calculated. The accuracy of the search can be improved by multiplying the similarities of all the objects included in the search image. In addition, since the display order of the search images is changed based on the reliability of the layout, there is an advantage that the searcher can quickly find the image searched by the searcher by merely looking at the images in order.

【0027】図7はこの実施例の画像検索方法を説明す
るための図であり、上記のようにして作成された画像デ
ータベース39を用いて画像を検索する方法を示した図
である。図7において符号10は検索レイアウト情報を
入力するキーボード、符号11は表示手段としてのCR
Tである。まず、図7(A)に示すようにキーボード1
0から検索情報として、例えば、「テーブルの上に花瓶
がある。」という検索レイアウト情報12を入力する
と、画像データベース39の中にある多数の画像からレ
イアウト的にテーブル上に花瓶のある画像が検索され
る。そして図7(B)に示すようにテーブルの上に花瓶
がある画像14が3つ検索された場合は、テーブルと判
別されている対象物の類似度と花瓶と判別されている対
象物の類似度に基づいて、入力された検索レイアウト情
報に対する信頼度を算出する。そして、画像1が信頼度
90%、画像2が信頼度80%、画像3が信頼度50%
であるとすると、信頼度の高い順に画像を表示して検索
の効率を向上させる。
FIG. 7 is a diagram for explaining the image retrieval method of this embodiment, and is a diagram showing a method for retrieving an image using the image database 39 created as described above. In FIG. 7, reference numeral 10 is a keyboard for inputting search layout information, and reference numeral 11 is a CR as display means.
T. First, as shown in FIG. 7 (A), the keyboard 1
When search layout information 12 such as “there is a vase on the table” is input as search information from 0, a large number of images in the image database 39 are searched for an image with a vase on the table in layout. To be done. Then, as shown in FIG. 7B, when three images 14 having a vase on the table are searched, the similarity of the object determined to be the table and the similarity of the object determined to be the vase. The reliability of the input search layout information is calculated based on the degree. Image 1 has a reliability of 90%, image 2 has a reliability of 80%, and image 3 has a reliability of 50%.
If so, the images are displayed in the descending order of reliability, and the search efficiency is improved.

【0028】即ち、前に作成された画像データベースが
分割された領域の特定の対象物に対する一致の程度を類
似度という情報で保持しているので、対象物の集合体と
して構成される画像レイアウト情報の信頼度を算出する
ことが可能になるのである。また、画像レイアウト情報
の信頼度は画像に含まれるテーブルの類似度がRAであ
り、花瓶の類似度がRBとすると、画像にテーブルが含
まれる確率をRA、花瓶が含まれる確率をRBを考えた
場合、両者が同時に含まれる確率はそれぞれの生起確率
の積で与えられることから、レイアウトの信頼度をRA
×RBと定義している。この方法を採用すると、2つの
対象物の類似度がともに大きい場合には類似度の積は大
きくなるので信頼度は高くなる。また、一方の類似度が
小さい場合には類似度の積は小さくなるので信頼度は低
くなる。本実施例ではこのような方法により、画像レイ
アウト情報の信頼度を定義して画像検索の提示順序に優
先度を付け、正しい検索要求には素早い検索を行ない、
誤った検索要求にも対応できるようにしている。
That is, since the previously created image database holds the degree of coincidence of the divided areas with respect to a specific object by the information called similarity, the image layout information configured as an aggregate of objects. It is possible to calculate the reliability of the. As for the reliability of the image layout information, if the similarity of the table included in the image is RA and the similarity of the vase is RB, consider the probability that the table is included in the image as RA and the probability that the vase is included as RB. In this case, the probability that both are included at the same time is given by the product of the respective occurrence probabilities.
It is defined as × RB. When this method is adopted, the product of the similarities is large when both the similarities of the two objects are large, so that the reliability is high. Further, when one of the similarities is small, the product of the similarities is small, and thus the reliability is low. In this embodiment, by such a method, the reliability of the image layout information is defined, the presentation order of the image search is prioritized, and a correct search request is quickly searched.
We are able to respond to incorrect search requests.

【0029】つまり、図3および図4で説明したよう
に、図4で示す領域Bは花瓶とコップが類似度とともに
候補として挙げられているので、「テーブルの上に花瓶
がある」という検索で、領域Bの類似度が次に低いコッ
プを検索させることが可能であり、結果的に「テーブル
の上に花瓶がある。」という検索レイアウト情報から
「テーブルの上にコップがある」という画像15(図7
(B)参照)の検索を行なうことができ、検索の幅を自
動的に広げることができる。特に、レイアウト検証によ
り、ある領域に挙がる対象物の候補が多い場合には、類
似度の高い順に対象物を含む画像を順次、検索していく
ことにより、効率の良い画像検索が行なえる。
That is, as described with reference to FIGS. 3 and 4, in the region B shown in FIG. 4, the vase and the cup are listed as candidates together with the degree of similarity, so that a search for "the vase is on the table" is performed. , It is possible to retrieve the cup having the second lowest similarity in the region B, and as a result, from the search layout information “the vase is on the table”, the image 15 “the cup is on the table” is displayed. (Fig. 7
The search (see (B)) can be performed, and the range of the search can be automatically widened. In particular, when there are many candidates for the object that are listed in a certain area by the layout verification, an efficient image search can be performed by sequentially searching for images including the object in descending order of similarity.

【0030】従来のキーワードによる検索では言葉の表
現が異なれば検索できないのに対し、この実施例では自
動的に類似物のグループ分けが行なわれ、かつグループ
分けの中での対象物間の類似の度合いを保有できること
になり、画像検索の精度向上および速度向上に大きな効
果がある。
In the conventional search using the keyword, if the word expressions are different, the search cannot be performed. In this embodiment, the similar objects are automatically grouped, and the similar objects among the objects are classified in the grouping. Since the degree can be retained, it has a great effect on improving the accuracy and speed of image retrieval.

【0031】[0031]

【実施例4】図8はこの発明の画像データベース作成装
置の一実施例を示す概略ブロック図である。この画像デ
ータベース作成装置は、画像データベースが扱おうとす
る対象物のテンプレートを保持するテンプレート保持部
30と、画像データベースが扱おうとする対象物間の基
本レイアウト情報を設定するとともに保持する基本レイ
アウト設定保持部31と、画像をイメージスキャナなど
を用いて読み込んだり、既にある画像データベースから
画像を読み込むなどして画像を保持する画像保持部32
と、画像保持部32に保持された画像中の領域を領域の
色などの特徴値を用いて領域に分割する領域分割部33
と、分割された領域毎にテンプレート保持部30に保持
された対象物のテンプレートを用いて領域毎に概略認識
としての画素データレベルでのマッチングを行ない、領
域毎に各対象物に対する選択候補を決定し、対象物の候
補を保持するとともに位置を特定する画素データレベル
マッチング部34と、画素データレベルでの各対象物の
類似度を正規相関法などの相関係数に基づいて算出し保
持する類似度算出保持部35と、画素データレベルマッ
チング部34で各領域毎に選択された候補について、概
略認識検証としての特徴点マッチングを行ない画素デー
タレベルで抽出された対象物候補の中で誤った対象を削
除する特徴点マッチング部36と、定義された基本レイ
アウト情報に基づいて、特徴点マッチング部36に保持
されている各領域毎の対象物のレイアウト検証を行な
い、誤抽出されている対象物を削除するレイアウト検証
部37と、レイアウト検証部37によって特定された対
象物によって処理画像のレイアウトを特定するとともに
画像データベース39にデータを出力する画像レイアウ
ト決定部38と、画像レイアウト情報と、対象物とテン
プレートとの類似度と、画像保持部32に保持された画
像自体のデータを記憶する記憶部としての画像データベ
ース39と、作業者の指示に応答して画像保持部32に
順次、画像を読み込ませる処理を行なう画像読み込み部
40とを有している。
[Fourth Embodiment] FIG. 8 is a schematic block diagram showing an embodiment of an image database creating apparatus according to the present invention. This image database creation device includes a template holding unit 30 that holds a template of an object that the image database intends to handle, and a basic layout setting holding unit that sets and holds basic layout information between the objects that the image database intends to handle. 31 and an image holding unit 32 for holding an image by reading the image using an image scanner or reading the image from an existing image database
And an area dividing unit 33 that divides the area in the image held in the image holding unit 32 into areas using a feature value such as the color of the area.
And using the template of the object held in the template holding unit 30 for each divided area, matching is performed at the pixel data level as rough recognition for each area, and a selection candidate for each object is determined for each area. Then, the pixel data level matching unit 34 that holds the candidate of the object and specifies the position, and the similarity that calculates and holds the similarity of each object at the pixel data level based on the correlation coefficient such as the normal correlation method. For the candidates selected for each area by the degree calculation holding unit 35 and the pixel data level matching unit 34, the feature point matching is performed as the rough recognition verification, and the erroneous target among the object candidates extracted at the pixel data level. Based on the defined basic layout information, the feature point matching unit 36 that deletes The layout verification of the target image is performed and the layout verification unit 37 that deletes the erroneously extracted target is specified, and the layout of the processed image is specified by the target specified by the layout verification unit 37, and the data is stored in the image database 39. An image layout determination unit 38 to output, image layout information, a similarity between an object and a template, an image database 39 as a storage unit that stores data of the image itself held in the image holding unit 32, and an operator. In response to the instruction, the image holding unit 32 has an image reading unit 40 that sequentially reads images.

【0032】なお、画像データベース39は、具体的に
は各画像毎に画像レイアウト情報を記憶する画像レイア
ウト記憶部39aと、対象物とテンプレートとの類似度
を画像毎に記憶する類似度記憶部39bと、画像保持部
に保持された画像自体のデータを記憶する画像記憶部3
9cとを含んでいる。上記構成の画像データベース作成
装置の動作は次のとおりである。
The image database 39 specifically includes an image layout storage unit 39a that stores image layout information for each image, and a similarity storage unit 39b that stores the similarity between the object and the template for each image. And an image storage unit 3 for storing the data of the image itself held in the image holding unit
9c and. The operation of the image database creating apparatus having the above configuration is as follows.

【0033】作業者は画像データベースを作成する場
合、扱う画像に含まれる対象物を予想し、対象物のテン
プレートを作成し、あるいは他の画像データベースから
移入したりしてテンプレート保持部30に対象物のテン
プレートを保持させるとともに、扱う画像に対応した基
本レイアウト情報を設定し、基本レイアウト情報設定保
持部31に保持する。この状態から画像読み込み部40
を動作させて、画像データベースを構成する画像を1画
面、画像保持部32に出力させ、画像保持部32は領域
分割部33に画像を出力する。領域分割部33では所定
の領域分割処理により処理する画像を複数の領域に分割
して画素データレベルマッチング部34に出力する。
When creating an image database, a worker anticipates an object included in an image to be handled, creates a template of the object, or imports it from another image database, and stores the object in the template holding unit 30. The template is stored, basic layout information corresponding to an image to be handled is set, and the basic layout information setting storage unit 31 stores the template. From this state, the image reading unit 40
Is operated to output one screen of the image forming the image database to the image holding unit 32, and the image holding unit 32 outputs the image to the area dividing unit 33. The region dividing unit 33 divides the image to be processed by a predetermined region dividing process into a plurality of regions and outputs the divided regions to the pixel data level matching unit 34.

【0034】画素データレベルマッチング部34ではテ
ンプレート保持部30に保持された対象物のテンプレー
トを用いて領域毎に画素データレベルでのマッチングを
行ない、領域毎に各対象物に対する選択候補を決定し、
領域毎に対象物の候補を保持するとともに対象物の位置
を特定する。類似度算出保持部35では画素データレベ
ルマッチング部34の出力に基づいて画素データレベル
で、分割された領域毎に各対象物の類似度を正規相関法
などの相関係数に基づいて算出し、特徴点マッチング部
36に各領域のデータとして出力する。
The pixel data level matching unit 34 performs matching at the pixel data level for each area using the template of the object held in the template holding unit 30 and determines a selection candidate for each object for each area.
The target object is held for each area and the position of the target object is specified. The similarity calculation holding unit 35 calculates the similarity of each object for each divided region based on the output of the pixel data level matching unit 34 based on a correlation coefficient such as a normal correlation method, It is output to the feature point matching unit 36 as data of each area.

【0035】画素データレベルマッチング部34におい
て領域毎に決定された対象物に対する候補は、さらに特
徴点マッチング部36において候補が絞られ、対象物の
位置情報と領域毎の類似度を保持した状態でレイアウト
検証部37に出力され、レイアウト検証部37によっ
て、基本レイアウト設定保持部31に保持されている基
本レイアウトとのレイアウト検証を行ない、誤抽出され
ている対象物を削除する。
The candidates for the object determined for each area by the pixel data level matching unit 34 are further narrowed down by the feature point matching unit 36, and the positional information of the object and the similarity for each area are held. It is output to the layout verification unit 37, and the layout verification unit 37 performs layout verification with the basic layout held in the basic layout setting holding unit 31, and deletes the erroneously extracted target object.

【0036】レイアウト検証部37により誤抽出されて
いる対象物を削除されると、画像レイアウト決定部38
にデータは出力され、画像レイアウト決定部38はレイ
アウト検証部37の出力から処理する画像のレイアウト
を決定するとともに各情報を画像データベース39に出
力する。即ち、画像レイアウト決定部38から画像のレ
イアウト情報は画像データベース39の画像レイアウト
記憶部39aに記憶される。また、画像データベース3
9の類似度記憶部39bには画像レイアウト決定部38
からの類似度の出力であるから、領域毎に最終的に残っ
た対象物の候補の類似度が記憶される。また、画像記憶
部39cには画像保持部32の処理画像データが記憶さ
れる。
When the layout verification unit 37 deletes the erroneously extracted object, the image layout determination unit 38
The image layout determination unit 38 determines the layout of the image to be processed from the output of the layout verification unit 37 and outputs each information to the image database 39. That is, the image layout information from the image layout determination unit 38 is stored in the image layout storage unit 39 a of the image database 39. Also, image database 3
The image layout determination unit 38 is stored in the similarity storage unit 39b of No. 9.
Since the output of the similarity is from, the similarity of the finally remaining candidate object is stored for each area. Further, the processed image data of the image holding unit 32 is stored in the image storage unit 39c.

【0037】この画像データベース作成装置によれば、
処理画像から自動的に画像レイアウト情報と類似度を算
出して画像データベースを作成するので、画像データベ
ース作成作業を効率的に行なうことができる。
According to this image database creating apparatus,
Since the image database is created by automatically calculating the image layout information and the degree of similarity from the processed image, the image database creation work can be performed efficiently.

【0038】[0038]

【実施例5】図9は第7実施例に示す画像データベース
作成装置により作成された画像データベースのデータ構
造を概略的に説明するための図であり、画像データベー
スには画像1,・・・,画像n毎に、それぞれ画像デー
タとともに画像レイアウトと各領域毎の最終候補である
対象物のテンプレートに対する類似度とをそれぞれ対応
させた状態で保持している構成となっている。このよう
なデータ構造となっているので、後述するように画像検
索を効率的に行なうことができる。
Fifth Embodiment FIG. 9 is a diagram for schematically explaining the data structure of the image database created by the image database creating apparatus according to the seventh embodiment. The image database contains images 1, ... For each image n, the image layout is held together with the image data, and the image layout and the similarity of the final candidate for the object to the template are held in correspondence with each other. With such a data structure, image retrieval can be efficiently performed as described later.

【0039】[0039]

【実施例6】図10はこの発明の画像検索装置の一実施
例を示す概略ブロック図である。この画像検索装置は図
8で示す画像データベース作成装置で作成された画像デ
ータベース39を用いて、画像の検索を行なう装置であ
り、検索者によって検索レイアウト情報を入力させるた
めのキーボードなどの検索レイアウト情報入力部50
と、入力された検索レイアウト情報から検索しやすいよ
うに、対象物と対象物のレイアウト情報とを抽出する抽
出部51と、抽出部51により抽出された対象物と対象
物のレイアウト情報に基づいて、画像データベース39
の画像レイアウト記憶部39aに記憶されている画像毎
のレイアウトを検索する検索レイアウト情報検索部52
と、検索レイアウト情報に基づいて検索された画像に含
まれる対象物の類似度の中から、検索レイアウト情報に
含まれる対象物の類似度だけを類似度記憶部39bから
読み込み、検索画像のレイアウトの信頼度を算出する画
像レイアウト信頼度算出部53と、画像レイアウト信頼
度算出部53により算出されたレイアウトの信頼度に応
じて画像表示の優先順位を決める優先順位決定部54
と、優先順位決定部54が決定した優先順に基づいて画
像記憶部39cの画像を表示する画像表示部55とを有
している。
[Sixth Embodiment] FIG. 10 is a schematic block diagram showing an embodiment of the image retrieval apparatus of the present invention. This image search device is a device for searching for an image using the image database 39 created by the image database creation device shown in FIG. 8, and search layout information such as a keyboard for allowing the searcher to input search layout information. Input section 50
Based on the layout information of the target object and the target object extracted by the extraction unit 51, the target information and the layout information of the target object are extracted so as to facilitate the search from the input search layout information. , Image database 39
Layout information retrieval unit 52 for retrieving the layout for each image stored in the image layout storage unit 39a.
Then, from among the similarities of the objects included in the image searched based on the search layout information, only the similarity of the objects included in the search layout information is read from the similarity storage unit 39b, and the layout of the search image is calculated. An image layout reliability calculation unit 53 that calculates reliability, and a priority determination unit 54 that determines image display priority according to the layout reliability calculated by the image layout reliability calculation unit 53.
And an image display unit 55 that displays the images in the image storage unit 39c based on the priority order determined by the priority order determination unit 54.

【0040】上記構成の画像検索装置の動作は次のとお
りである。まず、検索者がレイアウト情報を含む検索レ
イアウト情報を検索レイアウト情報入力部50に、例え
ば、「テーブルの上に花瓶がある。」と入力すると、抽
出部51によって入力された検索レイアウト情報から対
象物としての「テーブル」,「花瓶」およびレイアウト
情報としての「テーブルの上に花瓶」を抽出し、検索レ
イアウト情報検索部52によって画像データベースに記
憶されたn枚の画像において、画像レイアウト記憶部3
9aを検索して、所定の対象物(「テーブル」,「花
瓶」)を含み、かつ所定のレイアウト(「テーブルの上
に花瓶」)の画像が検索される。
The operation of the image retrieving apparatus having the above configuration is as follows. First, when a searcher inputs search layout information including layout information into the search layout information input unit 50, for example, “there is a vase on the table.”, The search layout information input by the extraction unit 51 is used to search for the target object. "Table" and "vase" as the layout information and "vase on the table" as layout information are extracted, and the image layout storage unit 3 is used for the n images stored in the image database by the search layout information search unit 52.
9a is searched for an image including a predetermined object (“table”, “vase”) and having a predetermined layout (“vase on table”).

【0041】次に、条件を満して検索された画像の類似
度情報を参照して、画像レイアウト信頼度算出部53は
検索画像のレイアウトの信頼度を算出し、優先順位決定
部54がレイアウトの信頼度に応じて画像表示の優先順
位を変えて画像表示部55に最も検索者が検索し易い形
で画像を表示する。そのような表示の形態としては、信
頼度の高い順に画像を表示する形態の他、所定値以上の
信頼度の画像を一括して表示する形態などがある。
Next, the image layout reliability calculation unit 53 calculates the reliability of the layout of the search image with reference to the similarity information of the images searched satisfying the conditions, and the priority order determination unit 54 performs the layout. The image display priority is changed according to the reliability of the image, and the image is displayed on the image display unit 55 in a form that the searcher can easily search. As such a display form, there are a form in which images are displayed in descending order of reliability, and a form in which images with a reliability not less than a predetermined value are collectively displayed.

【0042】この画像検索装置によれば、検索者が入力
した検索レイアウト情報に基づいて画像検索装置が自動
的に画像データベースの中からレイアウトの信頼度を算
出し、信頼度に基づいて画像を表示するので、求める画
像を素早く検索できる。さらに、対象物の類似度が記憶
されているので、あいまいな検索情報であっても対象物
の候補を類似度順に検索して表示させることが可能にな
り、検索の幅を広げることが可能になる。
According to this image search apparatus, the image search apparatus automatically calculates the reliability of the layout from the image database based on the search layout information inputted by the searcher, and displays the image based on the reliability. Therefore, you can quickly search for the desired image. Further, since the similarity of the object is stored, it is possible to search and display the candidates of the object in order of similarity even if the search information is ambiguous, and it is possible to broaden the search range. Become.

【0043】[0043]

【実施例7】図11はこの発明の画像検索装置の他の実
施例を示すブロック図であり、前記画像検索装置の一実
施形態を示す図である。この実施例の特徴点は、前記画
像検索装置における画像レイアウト信頼度算出部53
が、類似度記憶部39aに記憶されている各対象物毎の
類似度からレイアウトの信頼度を算出するのに、各対象
物の類似度を保持する第1保持部53a、第2保持部5
3bと、第1保持部53a、第2保持部53bにそれぞ
れ保持された各対象物の類似度を順次累積的に乗算させ
る乗算部53cを有している点のみである。
[Embodiment 7] FIG. 11 is a block diagram showing another embodiment of the image retrieving apparatus of the present invention, and is a diagram showing an embodiment of the image retrieving apparatus. The characteristic point of this embodiment is that the image layout reliability calculation unit 53 in the image search apparatus.
However, in calculating the reliability of the layout from the similarity of each object stored in the similarity storage unit 39a, the first holding unit 53a and the second holding unit 5 that hold the similarity of each object.
3b and a multiplication unit 53c that sequentially and cumulatively multiplies the degrees of similarity of the respective objects held in the first holding unit 53a and the second holding unit 53b, respectively.

【0044】第1保持部53a、第2保持部53bにそ
れぞれ保持された対象物A,対象物Bの類似度は乗算部
53cによって乗算され、その乗算結果は第1保持部5
3aに再び帰還され、第2保持部53bに保持された対
象物Cと乗算される。このようにして検索画像に含まれ
る全ての対象物の類似度が乗算され、検索画像のレイア
ウトの信頼度が算出される。
The similarity between the object A and the object B held in the first holding unit 53a and the second holding unit 53b is multiplied by the multiplying unit 53c, and the multiplication result is the first holding unit 5.
It is returned to 3a again and multiplied by the object C held in the second holding unit 53b. In this way, the similarities of all the objects included in the search image are multiplied, and the reliability of the layout of the search image is calculated.

【0045】[0045]

【実施例8】図12はこの発明の画像データベース、画
像データベース作成装置、画像検索装置を複数のプロセ
ッサで効率よく行なう統合的な画像検索装置を示すブロ
ック図である。記憶が曖昧な画像を検索する場合、「対
象物Aの右横に対象物Bが描かれている画像」というよ
うな表現で画像検索できることが望まれる。このような
検索を1台のプロセッサで行なうためには膨大な処理時
間が必要である。また、複数のプロセッサを用いる場合
は並列処理を行なうためのアルゴリズムが複雑であり、
実現が困難であった。この実施例では画像中に描かれた
対象物のレイアウト(位置関係)を複数のプロセッサで
効率よく記述する機能と、画像中に含まれる一部の対象
物のレイアウトといった不完全な画像表現で目的とする
画像を検索する機能とを有している。
[Embodiment 8] FIG. 12 is a block diagram showing an integrated image search apparatus for efficiently carrying out the image database, the image database creating apparatus, and the image search apparatus of the present invention with a plurality of processors. When searching for an image whose memory is ambiguous, it is desirable that the image can be searched for by an expression such as "an image in which the object B is drawn on the right side of the object A". A huge amount of processing time is required to perform such a search with one processor. Also, when using multiple processors, the algorithm for performing parallel processing is complicated,
It was difficult to realize. In this embodiment, the purpose is to efficiently describe the layout (positional relationship) of the object drawn in the image with a plurality of processors and to provide an incomplete image representation such as the layout of some objects included in the image. It has a function of searching for an image.

【0046】この画像検索装置は、処理画像を入力する
画像入力部70と、入力画像の画質改善を行なう前処理
部71と、概略認識データ、概略認識検証データ、およ
びレイアウト検証データを格納しているエレメント用デ
ータベース72と、エレメント用データベースに格納さ
れたデータと入力画像を比較することにより、対象物の
位置を次々と検出して、その検出結果を検出結果用メモ
リ73に記憶する概略認識部74と、検出結果用メモリ
73に格納された情報に基づいて概略認識の結果を検証
する概略認識結果検証部75と、概略認識部74および
認識結果検証部75の処理により検出された対象物の情
報を格納する検出結果用メモリ73と、検出結果用メモ
リ73を参照して対象物の位置を調べ相対的なレイアウ
トに矛盾がないかを検証するレイアウト記述部76と、
画像中に含まれる対象物の類似度、画像レイアウト情
報、および原画像を1画像毎に記憶する画像データベー
ス77と、ユーザが入力した検索レイアウト情報に合致
する画像を画像データベース77の中から検索する画像
検索部78とを有している。
This image retrieval apparatus stores an image input section 70 for inputting a processed image, a preprocessing section 71 for improving the image quality of the input image, rough recognition data, rough recognition verification data, and layout verification data. The rough recognition unit that detects the position of the object one after another by comparing the input image with the data stored in the element database 72 and the data stored in the element database, and stores the detection result in the detection result memory 73. 74, a rough recognition result verification unit 75 that verifies the rough recognition result based on the information stored in the detection result memory 73, and an object detected by the processes of the rough recognition unit 74 and the recognition result verification unit 75. Whether the detection result memory 73 that stores information and the detection result memory 73 are used to check the position of the target object and whether the relative layout is consistent The layout description section 76 to verify,
An image database 77 that stores the similarity of the objects included in the images, the image layout information, and the original image for each image, and an image that matches the search layout information input by the user are searched from the image database 77. It has an image search unit 78.

【0047】エレメント用データベース72には概略認
識部74において概略認識を行なうためのデータと、認
識結果検証部75において認識結果を検証するためのデ
ータおよびレイアウト記述部76においてレイアウト検
証を行なうためのデータが格納されている。格納される
データの具体例を示すと、概略認識をベクター相関法で
行なう場合は対象物の輪郭情報が格納され、また、概略
認識を正規相関法により行なう場合は対象物の生画像が
格納されている。また、認識結果検証用には色分布や対
象物の特徴点情報を格納する。レイアウト検証用には起
こりえないレイアウトがある場合、その情報が格納され
ている。なお、テンプレートは入力画像の種類別に管理
している。
In the element database 72, data for rough recognition in the rough recognition unit 74, data for verifying the recognition result in the recognition result verification unit 75, and data for layout verification in the layout description unit 76. Is stored. As a specific example of the stored data, the outline information of the object is stored when the rough recognition is performed by the vector correlation method, and the raw image of the object is stored when the rough recognition is performed by the normal correlation method. ing. In addition, the color distribution and feature point information of the object are stored for verification of the recognition result. If there is a layout that cannot occur for layout verification, that information is stored. The template is managed according to the type of input image.

【0048】上記構成の画像検索装置の作用は次のとお
りである。まず、画像入力部70から処理画像が入力さ
れると、前処理部71において入力画像の画質改善が行
なわれる。そして概略認識部74において入力画像の各
対象物が画像中のどこに含まれているかを検出する。あ
る対象物が画像中のどこに含まれているかを検出する方
法として、相関法が用いられる。相関法は予め作成して
おいた対象物のモデル(テンプレート)に最もよく一致
する部分を画像中から探す方法である。この方法では、
ベクトル相関法もしくは正規相関法を画像に適用してテ
ンプレートとよく一致する所を検出する。図13に示す
ように処理結果はテンプレート79が一致した座標を対
象物の位置とし、どの程度テンプレート79と一致した
かを示す相関係数を概略認識の一致の度合いを示す類似
度として記憶する。相関係数は0.0〜1.0の値をと
り、一致度が良い場合は1.0に近い値をとる。また、
画像には同じ対象物が複数個含まれていることもあるの
で、処理では画像全体を走査した結果、相関係数のピー
ク80が現われた位置を全て対象物として検出する。こ
れにより対象物の検出漏れがないようにすることができ
る。なお、誤検出した対象物は後の処理で削除する。よ
って検出結果用メモリ73には対象物の名称と位置、そ
して相関係数が記憶される。一般形で示せば、対象物の
テンプレート名:(一致位置、相関係数)であり、Rを
相関係数をとすると、 テンプレートA:(x1,y1,R1),(x2,y
2,R2) テンプレートB:(x3,y3,R3) となる。
The operation of the image retrieving apparatus having the above structure is as follows. First, when a processed image is input from the image input unit 70, the image quality of the input image is improved in the preprocessing unit 71. Then, the rough recognition unit 74 detects where each object of the input image is included in the image. A correlation method is used as a method of detecting where an object is included in an image. The correlation method is a method for searching the image for a portion that best matches the model (template) of the object created in advance. in this way,
A vector correlation method or a normal correlation method is applied to the image to detect a portion that matches the template well. As shown in FIG. 13, the processing result stores the coordinates where the template 79 matches as the position of the object, and stores the correlation coefficient indicating how much the template 79 matches the similarity as the similarity indicating the degree of matching of the rough recognition. The correlation coefficient takes a value of 0.0 to 1.0, and takes a value close to 1.0 when the degree of coincidence is good. Also,
Since the image may include a plurality of the same objects, in the processing, as a result of scanning the entire image, all the positions where the peak 80 of the correlation coefficient appears are detected as the objects. As a result, it is possible to prevent omission of detection of the object. Note that the object that is erroneously detected is deleted in a later process. Therefore, the detection result memory 73 stores the name and position of the object and the correlation coefficient. In a general form, the template name of the object is: (coincidence position, correlation coefficient), and R is the correlation coefficient. Template A: (x1, y1, R1), (x2, y
2, R2) Template B: (x3, y3, R3).

【0049】また、本装置では数多くのテンプレートを
持つが、処理時間の短縮を図るために入力画像の種類に
応じて使用するテンプレートを選択する方法を採用する
こともできる。例えば、屋内の記録写真が入力画像の場
合には、画像入力時に「屋内記録写真」と指定し、屋内
記録写真用のテンプレート群を用いる。このようにテン
プレートを限定すると検出できる対象物が限られること
になるが、画像検索に用いられる対象物の名称は限られ
ていることが多いので十分な機能を果たすことができ
る。また、画像検索時に指定できる対象物をある程度限
定しておいた方が、指定の方法や選択範囲が明らかにな
り、作業者にとって使い易くなる。このように概略認識
部74の結果から対象物の名称と位置が分かり、また用
いたテンプレートの大きさから対象物の存在する範囲が
分かる。
Although this apparatus has a large number of templates, it is also possible to adopt a method of selecting a template to be used according to the type of input image in order to shorten the processing time. For example, when the indoor recorded picture is an input image, "indoor recorded picture" is specified when the image is input, and a template group for indoor recorded pictures is used. Although the objects that can be detected are limited when the template is limited as described above, the names of the objects used for the image search are often limited, and thus a sufficient function can be achieved. Further, if the objects that can be specified at the time of image search are limited to some extent, the specification method and the selection range become clear, and it becomes easier for the operator to use. In this way, the name and position of the target object can be known from the result of the rough recognition unit 74, and the range in which the target object exists can be known from the size of the template used.

【0050】次に、認識結果検証部75では対象物の位
置と存在範囲から処理領域を設定し、処理領域に対して
精度の良い画像認識処理を行なう。ここで用いる画像認
識処理の一例としては、対象物の色分布や、特徴点マッ
チングなどを行なう。検証の結果、概略認識が誤りであ
ると判別した場合にはそのデータが無効であることを示
すフラグをセットする。また、概略認識に矛盾が生じな
かった場合はそのデータが有効であることを示すフラグ
をセットし、更に認識結果検証部75により得られた情
報(例えば色分布)を検出結果用メモリ73に追記す
る。この段階での検出結果用メモリ73の内容は、一般
形では、 テンプレートI=(位置i、相関係数i、色分布i) となる。
Next, the recognition result verifying unit 75 sets a processing area from the position and existence range of the object, and performs accurate image recognition processing on the processing area. As an example of the image recognition processing used here, color distribution of an object, feature point matching, or the like is performed. As a result of the verification, if it is determined that the rough recognition is incorrect, a flag indicating that the data is invalid is set. If no contradiction occurs in the rough recognition, a flag indicating that the data is valid is set, and information (for example, color distribution) obtained by the recognition result verification unit 75 is added to the detection result memory 73. To do. In the general form, the content of the detection result memory 73 at this stage is template I = (position i, correlation coefficient i, color distribution i).

【0051】次に、レイアウト記述部76では、検出結
果用メモリ73を参照して対象物間のレイアウトを調
べ、エレメント用データベース72に記述された基本レ
イアウトと矛盾が生じていないかを検証する。矛盾があ
る場合は矛盾を取り除く処理を行なう。矛盾を取り除く
処理の一例としては、矛盾が生じた対象物のうちで相関
係数の低い対象物を誤検出したと判別して無効にする。
レイアウトの検証と矛盾データの削除を終えたら、相関
係数と、画像レイアウトとを原画像とともに画像データ
ベース77に登録する。
Next, the layout description unit 76 checks the layout between the objects by referring to the detection result memory 73, and verifies whether or not there is a contradiction with the basic layout described in the element database 72. If there is a contradiction, the process for removing the contradiction is performed. As an example of the process for removing the contradiction, it is determined that an object with a low correlation coefficient among the objects in which the contradiction has occurred is erroneously detected and is invalidated.
When the layout verification and the contradiction data deletion are completed, the correlation coefficient and the image layout are registered in the image database 77 together with the original image.

【0052】次に、画像検索部78の処理を説明する。
報道写真や記録写真および風景写真は画像の内容が複雑
で言葉で言い表わせない画像もあり、マニュアルで適切
なキーワードを付与することが極めて困難である。ま
た、人間の使う言葉には自由度が大きく、従来のような
キーワードによる検索では検索の効率が悪い。このよう
な画像を検索するには「白い机の右横に人が立っている
画像」というように、人間が直感的に把握できるレイア
ウト表現による検索が最も有効である。したがって、こ
の実施例では前述の処理で画像データベース77に登録
された画像レイアウトとユーザが入力した検索レイアウ
トとのマッチングをとり、画像を検索する。このような
方法により、画像を検索すると複数枚が候補画像として
検索されるが、この実施例では画像レイアウトの信頼度
を検索画像が含む各対象物の相関係数の乗算により算出
して、検索時にはレイアウトの信頼度の高い画像を優先
的に提示して素早い検索を実現する。
Next, the processing of the image search section 78 will be described.
Since there are some images of news images, recorded photos, and landscape photos that have complex image contents and cannot be described in words, it is extremely difficult to manually assign appropriate keywords. In addition, human words have a high degree of freedom, and conventional keyword searches are inefficient in searching. The most effective way to search for such an image is to use a layout expression such as "an image of a person standing on the right side of a white desk" that can be intuitively grasped by humans. Therefore, in this embodiment, an image is searched by matching the image layout registered in the image database 77 with the search layout input by the user in the above-described processing. With such a method, when an image is searched, a plurality of images are searched as candidate images. In this embodiment, the reliability of the image layout is calculated by multiplying the correlation coefficient of each object included in the search image, and the search is performed. At times, images with high reliability in layout are preferentially presented to realize quick retrieval.

【0053】また、キーワードによる従来の画像検索シ
ステムでは入力したキーワードに誤りがある場合には目
的の画像を検索できない問題があったが、この方法では
対象物の名称が異なっていても、概略認識において所定
の値の類似度があるものは(例えば、形が似ているも
の)、信頼度は低くなるものの検索することが可能にな
り、表現に間違いがあっても画像を検索することができ
る利点がある。
In the conventional image retrieval system using keywords, there is a problem that the target image cannot be retrieved if the entered keyword is incorrect. However, this method allows the rough recognition even if the names of the objects are different. If there is a certain degree of similarity in (for example, the shape is similar), it is possible to search even though the reliability is low, and you can search the image even if there is a mistake in the expression. There are advantages.

【0054】[0054]

【実施例9】図14はこの発明の画像データベース作成
方法の他の実施例を示すフローチャートである。この画
像データベース作成方法が図1に示す画像データベース
作成方法と異なるのは、処理画像を読み込んで概略認識
を行う場合に同じ特性を有する領域に分割することなく
対象物の候補の抽出と対象物の位置検出を行なう点のみ
である。
[Ninth Embodiment] FIG. 14 is a flowchart showing another embodiment of the image database creating method of the present invention. This image database creating method differs from the image database creating method shown in FIG. 1 in that when a processed image is read and rough recognition is performed, the candidate object extraction and the object extraction are performed without dividing into regions having the same characteristics. It is only a point for position detection.

【0055】すなわち、この画像データベース作成方法
においては、ステップSP1において作成する画像デー
タベースが扱おうとする対象物のテンプレートおよび対
象物間の基本レイアウト情報を設定し、ステップSP2
において、画像データベースを構成する画像をイメージ
スキャナなどを用いたり、あるいは画像ファイルなどか
ら画像を転送するなどして読み込み、ステップSP3に
おいて基準となるテンプレートを用いて概略認識として
の画素データレベルでのマッチングを行ない、対象物の
候補の抽出と対象物の位置検出を行なう。
That is, in this image database creating method, the template of the object to be handled by the image database created in step SP1 and the basic layout information between the objects are set, and step SP2
In, the image forming the image database is read by using an image scanner or the like, or the image is transferred from an image file or the like, and matching is performed at the pixel data level as rough recognition using a template serving as a reference in step SP3. Then, the candidate of the target object is extracted and the position of the target object is detected.

【0056】次いで、ステップSP4において概略認識
により抽出された対象物とテンプレートとの類似度を相
関法の相関係数などに基づいて算出し、ステップSP5
において概略認識検証としての特徴点マッチングを行な
い概略認識で抽出された対象物の誤った抽出を削除し、
ステップSP6においてステップSP1で各対象物間で
設定された基本レイアウト情報に基づいて、対象物のレ
イアウト検証を行なって誤抽出されている対象物を削除
し、ステップSP7においてレイアウト検証後の画像の
レイアウト情報を作成し、ステップSP8において画像
毎に対象物とテンプレートとの類似度と画像レイアウト
情報を画像とともに記憶し、ステップSP9において画
像の記憶処理が全て終了したか否かを判別し、画像の記
憶処理が全て終了したと判別された場合は一連の処理を
終了する。また、ステップSP9において画像の記憶処
理が全て終了していないと判別された場合はステップS
P2からステップSP8までの処理を、処理する画像の
記憶処理が全て終了したと判別されるまで反復し、ステ
ップSP9において画像の記憶処理が全て終了したと判
別された場合に一連の処理を終了する。
Next, in step SP4, the similarity between the object extracted by the rough recognition and the template is calculated based on the correlation coefficient of the correlation method or the like, and step SP5
In the above, feature point matching is performed as rough recognition verification, and erroneous extraction of the object extracted by rough recognition is deleted.
In step SP6, the layout verification of the objects is performed based on the basic layout information set between the objects in step SP1 to delete the incorrectly extracted objects, and in step SP7, the layout of the image after the layout verification. Information is created, the similarity between the object and the template and the image layout information are stored together with the image for each image in step SP8, and it is determined in step SP9 whether or not the image storage processing has been completed, and the image is stored. If it is determined that all the processing is completed, the series of processing is ended. If it is determined in step SP9 that the image storage processing has not been completed, step S9 is performed.
The processing from P2 to step SP8 is repeated until it is determined that the storage processing of the image to be processed is completed, and when it is determined that the storage processing of the image is completed in step SP9, a series of processing is terminated. .

【0057】この画像データベース作成方法において
は、処理画像を領域に分割することなく直接に対象物を
抽出するので、領域分割処理に伴う処理が不要になると
ともに図1に示す画像データベース作成方法と同じ効果
が得られる。なお、概略認識において抽出された対象物
は、例えば前記したように、 テンプレートA:(x1,y1,R1),(x2,y
2,R2) テンプレートB:(x3,y3,R3) の形で保持される。
In this image database creating method, since the object is directly extracted without dividing the processed image into areas, the processing associated with the area dividing processing becomes unnecessary and the same as the image database creating method shown in FIG. The effect is obtained. The object extracted in the rough recognition is, for example, as described above, the template A: (x1, y1, R1), (x2, y
2, R2) Template B: held in the form of (x3, y3, R3).

【0058】[0058]

【実施例10】図15はこの発明の画像データベース作
成装置の一実施例を示す概略ブロック図である。この画
像データベース作成装置が図8に示すこの画像データベ
ース作成装置と異なるのは、処理画像を読み込んで概略
認識を行う場合に同じ特性を有する領域に分割すること
なく画素データレベルマッチング部34によって対象物
の候補の抽出と対象物の位置検出を行なう点のみであ
る。したがって、図8に示す画像データベース作成装置
の領域分割部33を省略した構成となっている。
[Embodiment 10] FIG. 15 is a schematic block diagram showing an embodiment of an image database creating apparatus of the present invention. This image database creating apparatus is different from the image database creating apparatus shown in FIG. 8 in that when a processed image is read and rough recognition is performed, the object is not divided into areas having the same characteristics and the object is processed by the pixel data level matching unit 34. Is only for extracting candidates and detecting the position of the object. Therefore, the area dividing unit 33 of the image database creating apparatus shown in FIG. 8 is omitted.

【0059】上記構成の画像データベース作成装置の動
作は次のとおりである。作業者は画像データベースを作
成する場合、扱う画像に含まれる対象物を予想し、対象
物のテンプレートを作成し、あるいは他の画像データベ
ースから移入したりしてテンプレート保持部30に対象
物のテンプレートを保持させるとともに、扱う画像に対
応した基本レイアウト情報を設定し、基本レイアウト情
報設定保持部31に保持する。この状態から画像読み込
み部40を動作させて、画像データベースを構成する画
像を1画面、画像保持部32に出力させ、画像保持部3
2は画素データレベルマッチング部34に処理画像を出
力する。
The operation of the image database creating apparatus having the above configuration is as follows. When creating an image database, an operator anticipates an object included in an image to be handled, creates a template of the object, or imports it from another image database to store the template of the object in the template holding unit 30. The basic layout information corresponding to the image to be handled is set and held in the basic layout information setting holding unit 31. In this state, the image reading unit 40 is operated to output one screen of the image forming the image database to the image holding unit 32, and the image holding unit 3
2 outputs the processed image to the pixel data level matching unit 34.

【0060】画素データレベルマッチング部34ではテ
ンプレート保持部30に保持された対象物のテンプレー
トを用いて画素データレベルでのマッチングを行ない、
各対象物に対する選択候補を決定し、対象物の候補を保
持するとともに対象物の位置を特定する。類似度算出保
持部35では画素データレベルマッチング部34の出力
に基づいて各対象物の類似度を正規相関法などの相関係
数に基づいて算出し、特徴点マッチング部36に対象物
のデータとして出力する。
The pixel data level matching unit 34 performs matching at the pixel data level using the template of the object held in the template holding unit 30,
Selection candidates for each object are determined, the candidates for the object are held, and the position of the object is specified. The similarity calculation holding unit 35 calculates the similarity of each target object based on the output of the pixel data level matching unit 34 based on a correlation coefficient such as the normal correlation method, and the feature point matching unit 36 stores it as target object data. Output.

【0061】画素データレベルマッチング部34におい
て対象物に対する候補は、さらに特徴点マッチング部3
6において候補が絞られ、対象物の位置情報と類似度を
保持した状態でレイアウト検証部37に出力され、レイ
アウト検証部37によって基本レイアウト設定保持部3
1に保持されている基本レイアウトとのレイアウト検証
を行ない、誤抽出されている対象物を削除する。
The candidates for the object in the pixel data level matching unit 34 are further feature point matching units 3.
6, the candidates are narrowed down, and output to the layout verification unit 37 in a state in which the positional information of the target object and the degree of similarity are held, and the layout verification unit 37 causes the basic layout setting holding unit 3 to operate.
Layout verification is performed with the basic layout held in 1, and the erroneously extracted target is deleted.

【0062】レイアウト検証部37により誤抽出されて
いる対象物を削除されると、画像レイアウト決定部38
にデータは出力され、画像レイアウト決定部38はレイ
アウト検証部37の出力から処理する画像のレイアウト
を決定するとともに各情報を画像データベース39に出
力する。即ち、画像レイアウト決定部38から画像のレ
イアウト情報は画像データベース39の画像レイアウト
記憶部39aに記憶される。また、画像データベース3
9の類似度記憶部39bには画像レイアウト決定部38
からの類似度の出力であるから、処理画像において最終
的に残った対象物の候補の類似度が記憶される。また、
画像記憶部39cには画像保持部32の処理画像データ
が記憶される。
When the layout verification unit 37 deletes the erroneously extracted object, the image layout determination unit 38
The image layout determination unit 38 determines the layout of the image to be processed from the output of the layout verification unit 37 and outputs each information to the image database 39. That is, the image layout information from the image layout determination unit 38 is stored in the image layout storage unit 39 a of the image database 39. Also, image database 3
The image layout determination unit 38 is stored in the similarity storage unit 39b of No. 9.
Since the output of the similarity is from, the similarity of the candidate of the finally remaining object in the processed image is stored. Also,
The image storage unit 39c stores the processed image data of the image holding unit 32.

【0063】この画像データベース作成装置によれば、
処理画像を領域に分割することなく直接に対象物を抽出
するので、領域分割処理に伴う処理が不要になるととも
に図8に示す画像データベース作成装置と同じ効果が得
られる。なお、この発明は上記実施例に限定されるもの
ではなく、この発明の要旨を変更しない範囲内において
種々の設計変形を施すことが可能である。
According to this image database creating apparatus,
Since the object is directly extracted without dividing the processed image into regions, the process associated with the region dividing process becomes unnecessary and the same effect as the image database creating device shown in FIG. 8 can be obtained. The present invention is not limited to the above embodiments, and various design modifications can be made without departing from the scope of the present invention.

【0064】例えば、前記実施例では画素データレベル
でのマッチングにおいて、相関法による相関係数から対
象物のテンプレートに対する類似度を定義した場合を例
にとり説明したが、対象物のテンプレートとの類似度を
定量的にある程度の精度を持って算出できるものならば
他のものでもよく、特に限定されるものではない。さら
に、設定する対象物のテンプレートは形状、色だけでな
く、その他の識別要素を付与した形態で構成することも
できる。
For example, in the above embodiment, the case where the similarity to the template of the object is defined from the correlation coefficient by the correlation method in the matching at the pixel data level has been described as an example. Others may be used as long as they can be quantitatively calculated with a certain degree of accuracy, and are not particularly limited. Furthermore, the template of the target object to be set can be configured not only in shape and color, but also in a form in which other identification elements are added.

【0065】[0065]

【発明の効果】以上のように、請求項1の発明は、目的
の画像を検索し易いデータ構造を備えた画像データベー
スを作成することができるという特有の効果を奏する。
請求項2の発明は、画像データベースが画像と、画像の
各対象物とテンプレートとの類似度と、画像レイアウト
情報と有しているので画像検索を効率的に行なうことが
できるという特有の効果を奏する。
As described above, the invention of claim 1 has a unique effect that it is possible to create an image database having a data structure that makes it easy to retrieve a target image.
According to the invention of claim 2, the image database has the image, the degree of similarity between each object of the image and the template, and the image layout information, so that the image search can be efficiently performed. Play.

【0066】請求項3の発明は、目的の画像を検索し易
いデータ構造で有した画像データベースを作成すること
ができるという特有の効果を奏する。請求項4の発明
は、本発明の画像データベースを用いてレイアウト情報
を含んだあいまいな検索要求に対して目的の画像を素早
く表示できるという特有の効果を奏する。
The invention of claim 3 has a peculiar effect that an image database having a data structure for easily searching a target image can be created. The invention according to claim 4 has a peculiar effect that a target image can be quickly displayed in response to an ambiguous search request including layout information by using the image database of the present invention.

【0067】請求項5の発明は、乗算という簡単な演算
で早くレイアウトの信頼度を算出することができ、検索
の速度を向上させることができるとともに、検索の精度
を向上させることができるという特有の効果を奏する。
請求項6の発明は、本発明の画像データベースを用いて
レイアウト情報を含んだあいまいな検索要求に対して目
的の画像を素早く表示できるという特有の効果を奏す
る。
According to the invention of claim 5, the reliability of the layout can be calculated quickly by a simple operation such as multiplication, the search speed can be improved, and the search accuracy can be improved. Produce the effect of.
The invention according to claim 6 has a peculiar effect that a target image can be quickly displayed in response to an ambiguous search request including layout information by using the image database of the present invention.

【0068】請求項7の発明は、乗算という簡単な演算
で早くレイアウトの信頼度を算出することができ、検索
の速度を向上させることができるとともに、検索の精度
を向上させることができるという特有の効果を奏する。
According to the invention of claim 7, the reliability of the layout can be quickly calculated by a simple operation such as multiplication, the search speed can be improved, and the search accuracy can be improved. Produce the effect of.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の画像データベース作成方法の一実施
例のフローチャートである。
FIG. 1 is a flowchart of an embodiment of an image database creating method of the present invention.

【図2】基本レイアウト情報の一例を示す図である。FIG. 2 is a diagram showing an example of basic layout information.

【図3】対象物のテンプレートと所定領域に対する類似
度を表示した図である。
FIG. 3 is a diagram showing a similarity between a template of an object and a predetermined area.

【図4】読み込む画像の一例を示した図である。FIG. 4 is a diagram showing an example of an image to be read.

【図5】この発明の画像検索方法の一実施例のフローチ
ャートである。
FIG. 5 is a flowchart of an embodiment of the image search method of the present invention.

【図6】この発明の画像検索方法の他の実施例のフロー
チャートである。
FIG. 6 is a flowchart of another embodiment of the image search method of the present invention.

【図7】この発明の画像検索方法の一実施例を説明する
ための図である。
FIG. 7 is a diagram for explaining an embodiment of the image search method of the present invention.

【図8】この発明の画像データベース作成装置の一実施
例を示す概略ブロック図である。
FIG. 8 is a schematic block diagram showing an embodiment of the image database creation device of the present invention.

【図9】この発明の画像データベースのデータ構造を概
略的に説明するための図である。
FIG. 9 is a diagram for schematically explaining the data structure of the image database of the present invention.

【図10】この発明の画像検索装置の一実施例を示す概
略ブロック図である。
FIG. 10 is a schematic block diagram showing an embodiment of the image search device of the present invention.

【図11】この発明の画像検索装置の他の実施例を示す
概略ブロック図である。
FIG. 11 is a schematic block diagram showing another embodiment of the image search device of the present invention.

【図12】この発明の統合的な画像検索装置の一実施例
を示す概略ブロック図である。
FIG. 12 is a schematic block diagram showing an embodiment of an integrated image search device of the present invention.

【図13】相関法を説明するための図である。FIG. 13 is a diagram for explaining a correlation method.

【図14】この発明の画像データベース作成方法の他の
実施例のフローチャートである。
FIG. 14 is a flowchart of another embodiment of the image database creating method of the present invention.

【図15】この発明の画像データベース作成装置の他の
実施例を示す概略ブロック図である。
FIG. 15 is a schematic block diagram showing another embodiment of the image database creating apparatus of the present invention.

【符号の説明】 30 テンプレート保持部 31 検索レイアウト設
定保持部 33 領域分割部 34 画像データレベルマッチン
グ部 35 類似度算出保持部 36 特徴点マッチング部 37 レイアウト検証部 38 画像レイアウト決定
部 39 画像データベース 39a 画像レイアウト記
憶部 39b 類似度記憶部 39c 画像記憶部 50 検索レイアウト情報入力部 52検索レイアウ
ト情報検索部 53 画像レイアウト信頼度算出部 53b 乗算部 54 優先順位決定部 72 エレメント用データベース 73 検出結果用
メモリ 74 概略認識部 75 認識結果検証部 76 レイアウト記述部 77 画像データベース 78 画像検索部
[Explanation of Codes] 30 Template Holding Unit 31 Search Layout Setting Holding Unit 33 Region Dividing Unit 34 Image Data Level Matching Unit 35 Similarity Calculation Holding Unit 36 Feature Point Matching Unit 37 Layout Verification Unit 38 Image Layout Determining Unit 39 Image Database 39a Image Layout storage unit 39b Similarity storage unit 39c Image storage unit 50 Search layout information input unit 52 Search layout information search unit 53 Image layout reliability calculation unit 53b Multiplication unit 54 Priority determination unit 72 Element database 73 Detection result memory 74 Outline Recognition unit 75 Recognition result verification unit 76 Layout description unit 77 Image database 78 Image search unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 対象物のテンプレートおよび対象物間の
基本レイアウト情報を設定し、原画像に対して基準とな
るテンプレートを用いて概略認識を行なって対象物の候
補の抽出と対象物の位置検出を行ない、抽出された対象
物とテンプレートとの類似度を算出し、概略認識検証に
よって概略認識で抽出された対象物の誤った抽出を削除
するとともに、基本レイアウト情報および対象物のレイ
アウトに基づいて誤抽出されている対象物を削除し、原
画像のレイアウト情報を作成し、各対象物とテンプレー
トとの類似度と画像レイアウト情報とを原画像とともに
記憶する画像データベース作成方法。
1. A template of an object and basic layout information between the objects are set, and rough recognition is performed using an original image template as a reference to extract candidate objects and detect the position of the object. Then, the similarity between the extracted object and the template is calculated, and the incorrect extraction of the object extracted by the rough recognition by the rough recognition verification is deleted, and based on the basic layout information and the layout of the object. A method for creating an image database, in which a wrongly extracted object is deleted, layout information of an original image is created, and the similarity between each object and the template and the image layout information are stored together with the original image.
【請求項2】 原画像と、抽出された対象物とテンプレ
ートとの類似度と、画像レイアウト情報とを記憶した画
像データベース。
2. An image database that stores an original image, a degree of similarity between an extracted object and a template, and image layout information.
【請求項3】 対象物のテンプレートおよび対象物間の
基本レイアウト情報を設定する初期条件設定手段(3
0)(31)(72)と、原画像に対して基準となるテ
ンプレートを用いて概略認識を行なって、対象物の候補
の抽出と対象物の位置検出を行なう概略認識手段(3
3)(34)(74)と、抽出された対象物とテンプレ
ートとの類似度を算出する類似度算出手段(35)(7
4)と、概略認識検証によって概略認識手段(33)
(34)(74)により抽出された対象物の誤った抽出
を削除する第1の認識検証手段(36)(75)と、基
本レイアウト情報および対象物のレイアウトに基づいて
誤抽出されている対象物を削除する第2の認識検証手段
(37)(76)と、第1の認識検証手段(36)(7
5)および第2の認識検証手段(37)(76)の出力
に基づいて原画像のレイアウト情報を作成する画像レイ
アウト作成手段(38)(73)(76)と、各対象物
とテンプレートとの類似度と画像レイアウト情報とを原
画像とともに記憶する画像データベース(39)(7
7)とを含む画像データベース作成装置。
3. Initial condition setting means (3) for setting a template of an object and basic layout information between the objects.
0), (31) and (72), and a rough recognition means (3) for roughly recognizing the original image using a template serving as a reference, and extracting a candidate of the target and detecting the position of the target.
3) (34) (74) and a similarity calculation means (35) (7) for calculating the similarity between the extracted object and the template.
4) and rough recognition means (33) by rough recognition verification
(34) First recognition verification means (36) (75) for deleting erroneous extraction of the object extracted by (74), and an object erroneously extracted based on the basic layout information and the layout of the object. Second recognition verification means (37) (76) for deleting an object and first recognition verification means (36) (7)
5) and the image layout creating means (38) (73) (76) for creating the layout information of the original image based on the outputs of the second recognition verification means (37) (76), and the respective objects and templates. An image database (39) (7) that stores the similarity and the image layout information together with the original image.
7) An image database creating device including and.
【請求項4】 原画像と、抽出された対象物とテンプレ
ートとの類似度と、画像レイアウト情報とを記憶した画
像データベース(39)(77)を使用して、探そうと
する画像の検索レイアウト情報を入力し、入力された検
索レイアウト情報および画像データベース(39)(7
7)の画像レイアウト情報に基づいて探そうとする画像
を検索し、検索された画像に含まれる対象物の類似度に
基づいて検索画像のレイアウトの信頼度を算出し、算出
されたレイアウトの信頼度に基づいて検索画像の表示を
制御することを特徴とする画像検索方法。
4. A search layout for an image to be searched using an image database (39) (77) that stores the original image, the degree of similarity between the extracted object and template, and the image layout information. Enter information and enter the entered search layout information and image database (39) (7)
The image to be searched is searched based on the image layout information of 7), the reliability of the layout of the search image is calculated based on the similarity of the objects included in the searched image, and the reliability of the calculated layout is calculated. An image retrieval method characterized by controlling display of retrieval images based on degree.
【請求項5】 検索された画像が含む全ての対象物の類
似度の乗算によりレイアウトの信頼度を算出する請求項
4に記載の画像検索方法。
5. The image search method according to claim 4, wherein the reliability of the layout is calculated by multiplying the similarities of all objects included in the searched image.
【請求項6】 原画像を記憶する画像記憶部(39c)
と、抽出された対象物とテンプレートとの類似度を記憶
する類似度記憶部(39b)と、画像レイアウト情報を
記憶する画像レイアウト情報記憶部(39a)とを有し
た画像データベース(39)(77)を使用し、探そう
とする画像の検索レイアウト情報を入力する検索レイア
ウト情報入力手段(50)(78)と、入力された検索
レイアウト情報および画像レイアウト情報記憶部(39
a)の画像レイアウト情報に基づいて探そうとする画像
を検索する検索手段(52)(78)と、検索された画
像に含まれる対象物の類似度に基づいて検索画像のレイ
アウトの信頼度を算出する信頼度算出手段(53)(7
8)と、算出されたレイアウトの信頼度に基づいて検索
画像の表示を制御する画像表示制御手段(54)(7
8)とを含むことを特徴とする画像検索装置。
6. An image storage section (39c) for storing an original image.
And an image database (39) (77) having a similarity storage unit (39b) that stores the similarity between the extracted object and the template and an image layout information storage unit (39a) that stores the image layout information. ) Is used to input search layout information of the image to be searched, and input search layout information and image layout information storage section (39).
The search means (52) (78) for searching for an image to be searched based on the image layout information in a) and the reliability of the layout of the search image based on the similarity of the objects included in the searched image. Reliability calculation means (53) (7) for calculating
8) and image display control means (54) (7) for controlling the display of the search image based on the calculated reliability of the layout.
8) An image retrieval device including:
【請求項7】 信頼度算出手段(53)が、検索された
画像が含む全ての対象物の類似度を乗算する乗算手段
(53b)を含むことを特徴とする請求項6に記載の画
像検索装置。
7. The image search according to claim 6, wherein the reliability calculation means (53) includes multiplication means (53b) for multiplying the similarities of all objects included in the searched image. apparatus.
JP4218024A 1992-08-17 1992-08-17 Picture database, picture database preparation method, picture retrieval method and device therefor Pending JPH0668171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4218024A JPH0668171A (en) 1992-08-17 1992-08-17 Picture database, picture database preparation method, picture retrieval method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4218024A JPH0668171A (en) 1992-08-17 1992-08-17 Picture database, picture database preparation method, picture retrieval method and device therefor

Publications (1)

Publication Number Publication Date
JPH0668171A true JPH0668171A (en) 1994-03-11

Family

ID=16713442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4218024A Pending JPH0668171A (en) 1992-08-17 1992-08-17 Picture database, picture database preparation method, picture retrieval method and device therefor

Country Status (1)

Country Link
JP (1) JPH0668171A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08335223A (en) * 1995-06-08 1996-12-17 Hitachi Ltd Image retrieval system
JP2008234507A (en) * 2007-03-23 2008-10-02 Fujifilm Corp Image retrieval device and method and program for making computer execute image retrieval method
JP2011174759A (en) * 2010-02-23 2011-09-08 Nippon Telegr & Teleph Corp <Ntt> Position computing device, method, and program
WO2016036478A1 (en) * 2014-09-02 2016-03-10 Alibaba Group Holding Limited Method and apparatus for creating photo-taking template database and for providing-taking recommendation information
JP2016106038A (en) * 2016-02-29 2016-06-16 ソニー株式会社 Control device, control method and program
US9802311B2 (en) 2011-08-02 2017-10-31 Sony Corporation Display control device, display control method, computer program product, and communication system
CN113672589A (en) * 2021-04-23 2021-11-19 国网浙江省电力有限公司金华供电公司 Wisdom logistics storage garden safety perception system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08335223A (en) * 1995-06-08 1996-12-17 Hitachi Ltd Image retrieval system
JP2008234507A (en) * 2007-03-23 2008-10-02 Fujifilm Corp Image retrieval device and method and program for making computer execute image retrieval method
JP2011174759A (en) * 2010-02-23 2011-09-08 Nippon Telegr & Teleph Corp <Ntt> Position computing device, method, and program
US9802311B2 (en) 2011-08-02 2017-10-31 Sony Corporation Display control device, display control method, computer program product, and communication system
US9815199B2 (en) 2011-08-02 2017-11-14 Sony Corporation Display control device, display control method, computer program product, and communication system
US10500720B2 (en) 2011-08-02 2019-12-10 Sony Corporation Display control device, display control method, computer program product, and communication system
US10717189B2 (en) 2011-08-02 2020-07-21 Sony Corporation Display control device, display control method, computer program product, and communication system
US10843337B2 (en) 2011-08-02 2020-11-24 Sony Corporation Display control device, display control method, computer program product, and communication system
US11654549B2 (en) 2011-08-02 2023-05-23 Sony Corporation Display control device, display control method, computer program product, and communication system
WO2016036478A1 (en) * 2014-09-02 2016-03-10 Alibaba Group Holding Limited Method and apparatus for creating photo-taking template database and for providing-taking recommendation information
JP2016106038A (en) * 2016-02-29 2016-06-16 ソニー株式会社 Control device, control method and program
CN113672589A (en) * 2021-04-23 2021-11-19 国网浙江省电力有限公司金华供电公司 Wisdom logistics storage garden safety perception system

Similar Documents

Publication Publication Date Title
JP2001312500A (en) Method for recognizing and indexing document
JP3602596B2 (en) Document filing apparatus and method
JP2004192156A (en) Image retrieval program, storage medium storing the program, image retrieval system and image retrieval method
JPH0668171A (en) Picture database, picture database preparation method, picture retrieval method and device therefor
JP2005107931A (en) Image search apparatus
JP2000082075A (en) Device and method for retrieving image by straight line and program recording medium thereof
JPH08202733A (en) Method and device for retrieving image
JP3085508B2 (en) Electronic form search system
JP7377565B2 (en) Drawing search device, drawing database construction device, drawing search system, drawing search method, and program
JPH04559A (en) Data retrieving system
JPH05257980A (en) Document retrieving device
JPH05181912A (en) Document retrieving device
JPH01130278A (en) Image information retrieving system
JPH08305710A (en) Method for extracting key word of document and document retrieving device
JPH10171831A (en) Device for retrieving image file
JPH05257979A (en) Data base system with keyword candidate extracting function
JPH09293081A (en) Image data base generating method and image retrieving method
JP2562498B2 (en) Coordinate detection method for specified figure
JPH06176082A (en) Device and method for retrieving image
JP3143909B2 (en) File processing device
JP2645160B2 (en) Display system
JPH10207909A (en) System and method for retrieving document
AU2013273790A1 (en) Heterogeneous feature filtering
JP3888012B2 (en) Document search system and search method using positional relationship on map, and recording medium recording the program
JPH08202859A (en) Electronic filing device and its method