JPH08202733A - Method and device for retrieving image - Google Patents

Method and device for retrieving image

Info

Publication number
JPH08202733A
JPH08202733A JP7013781A JP1378195A JPH08202733A JP H08202733 A JPH08202733 A JP H08202733A JP 7013781 A JP7013781 A JP 7013781A JP 1378195 A JP1378195 A JP 1378195A JP H08202733 A JPH08202733 A JP H08202733A
Authority
JP
Japan
Prior art keywords
image
area
color
search
accumulated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7013781A
Other languages
Japanese (ja)
Other versions
JP3727967B2 (en
Inventor
Akihiro Yoshitani
明洋 吉谷
Hiroaki Sato
宏明 佐藤
Yuichi Sakauchi
祐一 坂内
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 JP01378195A priority Critical patent/JP3727967B2/en
Priority to US08/555,714 priority patent/US6246804B1/en
Priority to EP95308124A priority patent/EP0713186B1/en
Priority to DE69535098T priority patent/DE69535098T2/en
Publication of JPH08202733A publication Critical patent/JPH08202733A/en
Priority to US09/476,120 priority patent/US6181818B1/en
Application granted granted Critical
Publication of JP3727967B2 publication Critical patent/JP3727967B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To provide the method and device for retrieving image with which high-speed image retrieval can be performed by utilizing information on the area of the closed area of a retrieval instructed retrieving image. CONSTITUTION: When the desired image to be retrieved including the closed area including a color, position and shape or the like is inputted from a retrieving image input part 3, the color of the desired image to be retrieved is compared with that of the closed area while referring to the color indexes of respective stored images, for which the pairs of the colors and areas of areas in a color index storage part 23 are mapped on a color space, and the total of the areas of the areas of stored images having an approximate color is compared with the area of the closed area so that the image to be the retrieving object can be narrowed down. An area similarity calculating part 25 calculates the degree of similarity between the stored image narrowed down like this way and the retrieving image so that the image can be retrieved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、検索が指示された画像
を基に蓄積されている画像を検索する画像検索方法及び
その装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image retrieval method and apparatus for retrieving stored images based on images for which retrieval is instructed.

【0002】[0002]

【従来の技術】従来、画像データベースから所望の画像
を検索する方法として、以下のような方法があった。
2. Description of the Related Art Conventionally, there have been the following methods for retrieving a desired image from an image database.

【0003】まず、データベースに画像を入力する際
に、その画像をいくつかの一様な領域に区分けし、それ
ぞれの領域を記述したデータの形式で画像ファイルに記
憶しておく。そして、検索者(オペレータ)により、そ
の画像ファイルよりの画像の検索が指示されると、その
検索者から指示された画像もしくは図形と、画像ファイ
ルに記憶されている各領域を記述したデータとの間で整
合を調べ、面積・二次モーメントなどの類似度を計算す
る。そして、この値が大きいものを類似画像として選択
する方法があった(資料1:平田・原、「概略画像を用
いた画像検索」、情報処理学会研究会資料、DE92−
2)。
First, when an image is input to the database, the image is divided into a number of uniform areas, and each area is stored in an image file in the form of data that describes it. Then, when the searcher (operator) gives an instruction to search for an image from the image file, the image or graphic indicated by the searcher and the data describing each area stored in the image file are displayed. Check the matching between them and calculate the similarity such as area and second moment. Then, there was a method of selecting an image having a large value as a similar image (Material 1: Hirata Hara, “Image Search Using Outline Image”, Information Processing Society of Japan Study Group Material, DE92-
2).

【0004】以上の方法を用いて画像の検索を行う場
合、画像ファイルの全ての蓄積画像に対して、その画像
の各領域と指定された検索したい画像または図形(以
下、検索画像)とのマッチングを調べるための計算が必
要になり、蓄積画像の量が多い場合に計算量が膨大にな
り、検索に要する時間が多大なものになる。そこで蓄積
画像と検索画像の色の情報とを用いて蓄積画像の絞り込
みを行うことにより、マッチングを調べるための計算の
対象となる画像の量を減らして、検索処理を高速化する
という方法がすでに紹介されている(資料2:平田・
原、「ハイパーメディアにおけるメディア・ナビゲーシ
ョン」、情報処理学会ヒューマン・インタフェース研究
会資料HI−47−10(1993))。
When an image is searched by using the above method, all the stored images of the image file are matched with each area of the image and a designated image or figure to be searched (hereinafter, a searched image). Is required, and when the amount of accumulated images is large, the amount of calculation becomes enormous, and the time required for the search becomes long. Therefore, there is already a method of reducing the amount of images to be calculated for checking the matching and speeding up the search processing by narrowing down the stored images using the stored images and the color information of the search images. Introduced (Document 2: Hirata /
Hara, "Media Navigation in Hypermedia", Information Processing Society of Japan Human Interface Study Group HI-47-10 (1993)).

【0005】この方法について詳しく説明する。 (1)画像をデータベースに登録する際に、既知の方法
で領域分割を行い、各領域毎に代表色を得る。 (2)この代表色を領域毎に図3のような色空間(例え
ばHSV)にマッピングする。ここでは各画像、各領域
の数だけマッピングを行う。 (3)検索時には、検索者が一つまたは複数の閉領域と
いう形で示した検索画像に利用されている色情報(図3
ではC1,C2,C3)を同様に色空間にマッピングす
る。 (4)検索画像に利用されている色情報の近傍(例え
ば、各色を中心とした球状領域。図3でハッチングを施
した部分)にマッピングされていない画像は検索候補か
ら外し、近傍内の画像に対してのみ、それ以後の検索画
像と蓄積画像の各領域とのマッチングの処理を行うとい
う形の絞り込み処理を行う。図3の例では、画像3を候
補から外す。こうして、色情報の近傍の大きさを変化さ
せることにより、検索の高速化率と柔軟性を調整する。
This method will be described in detail. (1) When registering an image in a database, area division is performed by a known method, and a representative color is obtained for each area. (2) This representative color is mapped for each area in a color space (for example, HSV) as shown in FIG. Here, mapping is performed for each image and each region. (3) At the time of search, the color information used by the searcher in the search image shown in the form of one or more closed regions (see FIG. 3).
Then, C1, C2 and C3) are similarly mapped to the color space. (4) An image that is not mapped in the vicinity of the color information used in the search image (for example, a spherical region centering on each color. The hatched portion in FIG. 3) is excluded from the search candidates, and the image in the vicinity is excluded. Only for the above, the narrowing-down process of performing the matching process between the subsequent search image and each region of the accumulated image is performed. In the example of FIG. 3, the image 3 is excluded from the candidates. Thus, the speed of search and the flexibility are adjusted by changing the size of the neighborhood of the color information.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記の検
索方法では、例えば蓄積画像に様々な色を持った細かい
領域が大量に含まれているような場合は、どのような画
像を検索画像として指定しても、その検索画像で指定し
た閉図形の色と似た色がその蓄積画像に含まれている可
能性が高くなる。その結果、そのような領域を含む画像
が、検索対象と成り得ない画像であっても距離計算の対
象となってしまい、絞り込み処理の効果が現れないとい
う欠点があった。
However, in the above search method, when an accumulated image contains a large number of fine areas having various colors, which image is designated as the search image. However, it is highly possible that the stored image includes a color similar to the color of the closed figure specified in the search image. As a result, there is a drawback in that an image including such a region becomes an object of distance calculation even if the image cannot be a search target, and the effect of the narrowing down process does not appear.

【0007】本発明は上記従来例に鑑みてなされたもの
で、検索が指示された検索画像の閉領域の面積に関する
情報を利用して、高速の画像検索を行うことができる画
像検索方法及びその装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and an image search method and a method therefor capable of performing a high-speed image search by utilizing the information on the area of the closed region of the search image for which the search is instructed. The purpose is to provide a device.

【0008】また本発明の目的は、検索対象となり得る
画像を絞りこんだ後、その画像に対してのみ類似度を判
定することにより、画像検索を高速に行うことができる
画像検索方法及びその装置を提供することを目的とす
る。
Another object of the present invention is to provide an image search method and apparatus capable of performing an image search at high speed by narrowing down the images that can be searched and then determining the similarity only to the image. The purpose is to provide.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明の画像検索装置は以下のような構成を備える。
即ち、蓄積された複数の蓄積画像から所望の画像を検索
する画像検索装置であって、閉領域を含む検索したい画
像を入力する入力手段と、前記蓄積画像のそれぞれを分
割した領域と前記検索したい画像の閉領域との色を比較
し、近似色を有する蓄積画像の領域の面積の合計と前記
閉領域の面積とを比較する比較手段と、前記比較手段に
よる比較の結果、前記閉領域の面積よりも前記面積の合
計が小さい蓄積画像を検索対象と判断する判断手段と、
前記判断手段により検索対象と判断された蓄積画像に対
して前記検索したい画像との整合を判定して類似度を求
める類似度判別手段と、前記類似度判別手段により類似
度が所定以上であると判別された画像を検索結果として
表示する表示手段とを有する。
In order to achieve the above object, the image retrieval apparatus of the present invention has the following configuration.
That is, an image retrieval device for retrieving a desired image from a plurality of accumulated images accumulated, an input means for inputting an image to be retrieved including a closed region, a region obtained by dividing each of the accumulated images and the retrieval desired. Comparing the color of the closed area of the image, comparing means for comparing the total area of the areas of the accumulated image having an approximate color and the area of the closed area, and the result of the comparison by the comparison means, the area of the closed area Determination means for determining an accumulated image whose total area is smaller than
A similarity determining unit that determines the similarity between the stored image determined by the determining unit and the image to be searched for, and a similarity determination unit that determines whether the similarity is greater than or equal to a predetermined value. Display means for displaying the determined image as a search result.

【0010】上記目的を達成するために本発明の画像検
索方法は以下のような工程を備える。即ち、蓄積された
複数の蓄積画像から所望の画像を検索する画像検索方法
であって、閉領域を含む検索したい画像を入力する工程
と、前記蓄積画像のそれぞれを分割した領域と前記検索
したい画像の閉領域との色を比較し、近似色を有する蓄
積画像の領域の面積の合計と前記閉領域の面積とを比較
する工程と、前記比較の結果、前記閉領域の面積よりも
前記面積の合計が小さい蓄積画像を検索対象とする工程
と、前記検索対象と判断された蓄積画像に対して前記検
索したい画像との整合を判定して類似度を求める工程
と、類似度が所定以上の画像を検索結果として表示する
工程とを有する。
In order to achieve the above object, the image retrieval method of the present invention comprises the following steps. That is, an image retrieval method for retrieving a desired image from a plurality of accumulated images accumulated, a step of inputting an image to be retrieved including a closed region, a region obtained by dividing each of the accumulated images and the image to be retrieved. Comparing the color of the closed region, the step of comparing the total area of the region of the accumulated image having an approximate color and the area of the closed region, the result of the comparison, the area of the area rather than the area of the closed region. A step of setting a stored image having a small total as a search target; a step of determining a similarity between the stored image determined to be the search target and the image to be searched to obtain a similarity; and an image having a similarity of a predetermined value or more. Is displayed as a search result.

【0011】[0011]

【作用】以上の構成において、閉領域を含む検索したい
画像が入力されると、蓄積画像のそれぞれを分割した領
域と、検索したい画像の閉領域との色を比較し、近似色
を有する蓄積画像の領域の面積の合計と閉領域の面積と
を比較する。その比較の結果、閉領域の面積よりも前記
面積の合計が小さい蓄積画像を検索対象とし、その検索
対象と判断された蓄積画像に対して検索したい画像との
整合を判定して類似度を求め、その求めた類似度が所定
以上の画像を検索結果として表示するように動作する。
In the above structure, when an image to be searched including a closed region is input, the colors of the divided regions of the stored image and the closed region of the image to be searched are compared, and the stored image having an approximate color is compared. Comparing the total area of the area and the area of the closed area. As a result of the comparison, the accumulated image whose total area is smaller than the area of the closed region is set as the search target, and the similarity between the accumulated image determined as the search target and the image to be searched is determined to obtain the similarity. , And operates so as to display an image with the calculated degree of similarity being a predetermined value or more as a search result.

【0012】[0012]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings.

【0013】(第1実施例)図1は本発明の一実施例の
画像検索装置の機能構成を示すブロック図である。同図
において、1は画像登録処理部で、画像データベースシ
ステム2に画像を登録する前に後述の前処理を行う。2
は画像データベースシステム、3は検索者が描画し、本
実施例の画像検索装置に提示する例示画像(検索画像)
の入力部、4は検索結果を表示する表示部である。
(First Embodiment) FIG. 1 is a block diagram showing the functional arrangement of an image retrieval apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an image registration processing unit, which performs pre-processing described below before registering an image in the image database system 2. Two
Is an image database system, 3 is an example image (search image) drawn by a searcher and presented to the image search apparatus of this embodiment.
The input units 4 and 4 are display units for displaying search results.

【0014】次に、画像登録処理部1の構成を説明す
る。11は登録画像入力部で、データベースに登録する
画像を入力する。12は領域分割処理部で、入力された
画像を色の似た領域毎に分割する。13は領域特徴量抽
出部で、領域分割処理部12で分割された各領域毎に各
種特徴量(色や形など)を抽出する。14はカラーイン
デックス作成部で、領域特徴量抽出部13で得られた各
領域毎の色データから登録画像のカラーインデックスを
作成する。
Next, the configuration of the image registration processing section 1 will be described. Reference numeral 11 denotes a registration image input unit for inputting an image to be registered in the database. An area division processing unit 12 divides the input image into areas having similar colors. An area feature amount extraction unit 13 extracts various feature amounts (color, shape, etc.) for each area divided by the area division processing unit 12. A color index creation unit 14 creates a color index of the registered image from the color data for each area obtained by the area feature amount extraction unit 13.

【0015】次に、画像データベースシステム2の構成
を説明する。
Next, the structure of the image database system 2 will be described.

【0016】21は画像蓄積部で、登録画像入力部11
より入力された登録画像を蓄積する。22は領域特徴量
蓄積部で、登録画像を領域分割し、領域特徴量抽出部1
3で抽出された各領域の特徴量を、各登録画像の各領域
毎に蓄積する。23はカラーインデックス蓄積部で、カ
ラーインデックス作成部14で作成された各登録画像の
カラーインデックスを蓄積している。24はスクリーニ
ング処理部で、検索者が本実施例の画像検索装置に提示
した検索画像とカラーインデックスとを比較し、後段の
領域類似度計算部25において、領域の類似度の計算を
行うかどうかを決定している。領域類似度計算部25
は、スクリーニング処理部24でのスクリーニング処理
により、処理対象から除かれなかった画像について検索
画像の各領域と蓄積画像の各領域とのマッチングを行っ
て、それらの類似度を計算する。26は中間結果バッフ
ァで、領域類似度計算部25における各画像毎の類似度
の計算結果を一時的に格納する。27は候補順位決定部
で、中間バッファ26に格納された各画像毎の類似度を
参照して類似度の高い画像を選択し表示部4に表示させ
る。
Reference numeral 21 denotes an image storage unit, which is a registered image input unit 11
The registered image input by the user is accumulated. Reference numeral 22 denotes a region feature amount storage unit that divides the registered image into regions and uses the region feature amount extraction unit 1
The feature amount of each area extracted in 3 is accumulated for each area of each registered image. A color index storage unit 23 stores the color index of each registered image created by the color index creation unit 14. A screening processing unit 24 compares the search image presented by the searcher to the image search apparatus of this embodiment with the color index, and whether or not the region similarity calculation unit 25 in the subsequent stage calculates the region similarity. Has been decided. Area similarity calculator 25
Performs matching between each region of the search image and each region of the accumulated image with respect to the image that has not been excluded from the processing target by the screening process in the screening processing unit 24, and calculates the similarity between them. An intermediate result buffer 26 temporarily stores the calculation result of the similarity for each image in the area similarity calculation unit 25. Reference numeral 27 denotes a candidate ranking determination unit, which refers to the similarity of each image stored in the intermediate buffer 26 to select an image having a high similarity and displays it on the display unit 4.

【0017】本実施例は、画像データベースからの画像
検索方法として、検索者(オペレータ)が1つ以上の閉
領域を位置、形、色を指定して描いたものを検索画像と
し、その閉領域の位置、形状、色を用いて画像データベ
ースに蓄積された画像の検索を行う場合の例を示す。
In this embodiment, as an image retrieval method from an image database, a retrieval image is created by a searcher (operator) designating one or more closed regions by specifying a position, a shape, and a color, and the closed regions are defined. An example of searching for an image stored in the image database using the position, shape, and color of is shown.

【0018】図4は本実施例の画像検索装置において、
画像を画像データベースシステム2に登録する際の処理
を示すフローチャートである。
FIG. 4 shows the image retrieval apparatus of this embodiment.
6 is a flowchart showing a process when an image is registered in the image database system 2.

【0019】まずステップS1で、画像データベースシ
ステム2に登録する画像を登録画像入力部11から入力
し、画像蓄積部21に格納する。次にステップS2に進
み、その入力した画像を、領域分割処理部12において
等色領域に分割する。この分割の方法についてはいろい
ろあるが、例えば前述した資料1に開示される方法を用
いてもよい。
First, in step S1, an image to be registered in the image database system 2 is input from the registered image input unit 11 and stored in the image storage unit 21. Next, in step S2, the input image is divided into equal color areas by the area division processing unit 12. Although there are various methods for this division, for example, the method disclosed in Document 1 may be used.

【0020】次にステップS3に進み、ステップ2で入
力画像を等色領域に分割した各領域について、各種の特
徴量を抽出し、その結果を領域特徴量として、入力画像
ごとに領域特徴量蓄積部22に格納する。この領域特徴
量としては、領域の代表色(HSV値とする)、領域の
面積、領域の形状(領域を多角形近似した際の多角形の
各頂点の座標)を用いる。次にステップS4に進み、入
力画像の領域分割結果に基づいてカラーインデックスを
作成する。
Next, in step S3, various feature quantities are extracted for each area obtained by dividing the input image into the color matching areas in step 2, and the result is used as the area feature quantity to accumulate the area feature quantity for each input image. It is stored in the unit 22. As the area feature amount, the representative color of the area (HSV value), the area of the area, and the shape of the area (coordinates of each vertex of the polygon when the area is polygonally approximated) are used. Next, in step S4, a color index is created based on the area division result of the input image.

【0021】以下、本実施例のカラーインデックス作成
部14におけるカラーインデックスの作成方法について
説明する。
The method of creating a color index in the color index creating unit 14 of this embodiment will be described below.

【0022】ステップ3で抽出された各領域の代表色
を、図3と同様にHSV色空間にマッピングする。その
際に、マッピングされた各座標に対して、それに対応す
る領域の面積(値は画像全体に対する比を指し、以後
「面積」と言えばこの比を指すものとする)を記憶して
おく。マッピング済みの色空間をカラーインデックスと
し、カラーインデックス蓄積部23に蓄積画像ごとに格
納しておく。以上で画像登録時の処理が終了する。
The representative color of each area extracted in step 3 is mapped in the HSV color space as in FIG. At that time, for each mapped coordinate, the area of the corresponding region (the value refers to the ratio to the entire image, and hereinafter, "area" refers to this ratio) is stored. The mapped color space is used as a color index and stored in the color index storage unit 23 for each stored image. This is the end of the image registration process.

【0023】次に、こうして画像データベースシステム
2に登録された画像を検索する際の処理を説明する。
Next, a process for searching for images registered in the image database system 2 will be described.

【0024】図5は本実施例の画像検索装置における画
像検索処理を示すフローチャートである。まずステップ
S11で、検索者がドローイング・エディタなどによる
手描きあるいはスキャナなどを用いて、検索用の画像或
は図形(検索画像)を入力する。これは例えば、検索者
が図2(a)に示すような画像を検索したいと思ったと
き、その画像の記憶に基づき、その画像中の等色領域
を、例えば図2(c)のように1つの閉図形200とし
て、その形状及び色を指定して入力する。この図形を検
索画像と呼ぶ。
FIG. 5 is a flow chart showing the image search processing in the image search apparatus of this embodiment. First, in step S11, a searcher inputs a search image or a figure (search image) by handwriting with a drawing editor or the like or using a scanner or the like. For example, when a searcher wants to search for an image as shown in FIG. 2 (a), based on the memory of the image, the color matching area in the image is changed as shown in FIG. 2 (c). As one closed figure 200, its shape and color are designated and input. This figure is called a search image.

【0025】次にステップS12に進み、図2(c)の
検索画像から、その指定された閉図形200の面積Sc
を計算する。この面積は上記と同様に、検索画像全体に
対する、その閉図形200の面積の比で算出する。次に
ステップS13に進み、画像蓄積部21に記憶されてい
る蓄積画像のある1つの画像に関し、既に作成されてい
るカラーインデックスをカラーインデックス蓄積部23
から読み出す。
Next, in step S12, the area Sc of the specified closed figure 200 from the search image of FIG.
Is calculated. Similar to the above, this area is calculated by the ratio of the area of the closed figure 200 to the entire search image. Next, in step S13, the color index storage unit 23 sets the already created color index for one image with the stored image stored in the image storage unit 21.
Read from.

【0026】次にステップS14に進み、検索画像の色
をHSV値に変換し、ステップS13でロードしたカラ
ーインデックスと同じ色空間上に、図6に示すようにマ
ッピングする。
Next, in step S14, the color of the search image is converted into an HSV value, and the HSV value is mapped in the same color space as the color index loaded in step S13, as shown in FIG.

【0027】図6は蓄積画像中の各領域の色と、検索画
像の色との比較を説明するための図である。図6におい
て、Piはその蓄積画像における領域iの色の色空間で
の座標を示し、Cは検索画像の色の色空間での座標を示
す。また、Siは、その領域iの面積表わしている。
FIG. 6 is a diagram for explaining the comparison between the color of each area in the accumulated image and the color of the search image. In FIG. 6, Pi indicates coordinates in the color space of the color of the region i in the accumulated image, and C indicates coordinates in the color space of the color of the search image. Further, Si represents the area of the region i.

【0028】次にステップS15に進み、この色空間上
で、Cを中心として半径r(所定値)の球面600を描
き、その球の内部に含まれるPiを探す。そして、球面
600にある全ての座標Piについて、その面積Siを
求め、その合計Spを計算する。
Next, in step S15, a spherical surface 600 having a radius r (predetermined value) centered on C is drawn in this color space, and Pi contained inside the spherical surface is searched. Then, the area Si is obtained for all the coordinates Pi on the spherical surface 600, and the total Sp thereof is calculated.

【0029】次にステップS16に進み、Sp(Siの
合計)/Sc(閉図形200の面積)を計算し、その値
が所定値x(<1)より小さい場合、すなわち「その蓄
積画像中において、検索画像に近い色を持つ領域の面積
の合計」よりも「検索画像の面積」がかなり大きい場合
は、「検索者が意図した検索画像の等色領域が、その蓄
積画像に無い」、すなわち「その蓄積画像は、検索者が
意図した画像とは明らかに異なる」とみなし、以後の検
索処理の対象から外すと判断してステップS17へ進
み、次の蓄積画像をのカラーインデックスをロードして
ステップS14に戻る。
Next, in step S16, Sp (total of Si) / Sc (area of closed figure 200) is calculated, and when the value is smaller than a predetermined value x (<1), that is, "in the stored image. , "The area of the search image" is considerably larger than "the total area of the areas having colors close to the search image", "the color matching area of the search image intended by the searcher is not in the accumulated image", that is, It is considered that "the stored image is obviously different from the image intended by the searcher", and it is determined that it is excluded from the target of the subsequent search processing, and the process proceeds to step S17 to load the color index of the next stored image. It returns to step S14.

【0030】そうでない場合はステップS18へ進み、
ステップS16で処理対象から除かれなかった蓄積画像
について、その画像の領域特徴量を領域特徴量蓄積部2
2から読み出し、領域類似度計算部25において、その
各領域と検索画像とのマッチング判定処理を行う。この
マッチング判定処理の結果得られた、検索画像と蓄積画
像との類似度の値を、蓄積画像ごとに中間バッファ26
に保存する。
If not, the process proceeds to step S18,
For the accumulated image that has not been excluded from the processing target in step S16, the regional characteristic amount of the image is calculated as the regional characteristic amount storage unit 2
2, the area similarity calculation unit 25 performs matching determination processing between each area and the search image. The value of the degree of similarity between the search image and the accumulated image obtained as a result of this matching determination processing is set to the intermediate buffer 26 for each accumulated image.
Save to.

【0031】そしてステップS19に進み、画像蓄積部
21に蓄積された全ての蓄積画像について、以上の検索
処理が終わったかどうかを調べる。終わっていなければ
ステップS17に進み、次の蓄積画像についての処理を
開始する。こうして全ての蓄積画像に対する処理が終了
するとステップS20に進み、候補順位決定部27にお
いて、各蓄積画像と検索画像との類似度(中間バッファ
26に保存されている)をソートし、領域マッチングの
処理を行なった画像のうち、類似度の高いものを表示部
4に表示して全検索処理を終了する。
Then, the process proceeds to step S19, and it is checked whether or not the above retrieval processing is completed for all the accumulated images accumulated in the image accumulating section 21. If not completed, the process proceeds to step S17 to start the process for the next accumulated image. When the processing for all the stored images is completed in this way, the process proceeds to step S20, where the candidate ranking determination unit 27 sorts the similarities (stored in the intermediate buffer 26) between the stored images and the search image, and the area matching processing. Among the images that have been subjected to the above, those having a high degree of similarity are displayed on the display unit 4, and the entire search processing is terminated.

【0032】以上のような処理を行うことにより、処理
時間のかかる領域マッチング処理を行う対象となる蓄積
画像の数を効率的に絞り込むことができ、結果として検
索時間が短縮される。
By performing the above processing, it is possible to efficiently narrow down the number of accumulated images to be subjected to the area matching processing that requires a long processing time, and as a result, the search time is shortened.

【0033】(第2実施例)前述の第1実施例におい
て、カラーインデックスの色空間上で検索画像の色を中
心とした球面を描き、その球面内に含まれる色を持つ蓄
積画像中の領域の面積を合計したが、これでは検索のた
めの時間がかかるので、以下のようにして処理を簡略化
することにより検索時間をより短縮することもできる。
(Second Embodiment) In the first embodiment described above, a sphere centering on the color of the search image is drawn in the color space of the color index, and a region in the accumulated image having a color contained in the sphere is drawn. However, since it takes time for the search, the search time can be further shortened by simplifying the process as follows.

【0034】各蓄積画像についてカラーインデックスを
作成する際に、HSV色空間を図7(a)のように適当
なブロックに分割し、色空間上で、そのブロックに含ま
れる色を持つ領域の面積をそのブロック毎に合計し、そ
の値(ブロックjについてTjとする)をブロック単位
でカラーインデックスとしてカラーインデックス蓄積部
23に格納する。
When creating a color index for each stored image, the HSV color space is divided into appropriate blocks as shown in FIG. 7A, and the area of the area having the color contained in the block is divided in the color space. For each block, and the value (Tj for block j) is stored in the color index storage unit 23 as a color index in block units.

【0035】そして画像の検索時には、前述の第1実施
例と同様に、検索画像の色を色空間上にマッピングし、
図7(b)のように、その座標から所定値r2以内の距
離に含まれる全ブロックについて、そのブロックに対応
するTjの値を合計した値をTpとする。そして、Tp
/Scの値が所定値x2(<1)より小さければ、その蓄
積画像は検索者が意図した画像とは明らかに異なるとし
て、上記と同様に以後の処理が対象から外す。
At the time of searching for an image, the color of the searched image is mapped on the color space as in the first embodiment described above,
As shown in FIG. 7B, for all blocks included in a distance within a predetermined value r2 from the coordinates, the value obtained by adding the values of Tj corresponding to the block is set as Tp. And Tp
If the value of / Sc is smaller than the predetermined value x2 (<1), it is considered that the stored image is clearly different from the image intended by the searcher, and the subsequent processes are excluded from the target as in the above.

【0036】(第3実施例)前述の第1及び第2実施例
においては、検索画像は一つの閉領域を有する図形とし
て入力されるものとしたが、本発明はこれに限らず、複
数の閉領域として入力しても良い。
(Third Embodiment) In the first and second embodiments described above, the search image is input as a graphic having one closed region, but the present invention is not limited to this, and a plurality of images may be input. You may input as a closed area.

【0037】このような場合も、各閉領域について上記
(第1実施例の図5のフローチャートのステップS17
まで)と同様の処理を行い、全ての閉領域に対して検索
対象から除かれなかった蓄積画像に対してのみ、ステッ
プS18以降の処理を行えば良い。
Even in such a case, the above-mentioned (step S17 in the flowchart of FIG. 5 of the first embodiment) is performed for each closed region.
The processing similar to the above) is performed, and the processing from step S18 may be performed only on the accumulated images that have not been excluded from the search target for all closed regions.

【0038】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置に本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できる。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. The present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0039】以上説明したように本実施例によれば、検
索画像として指定した閉領域の面積のデータを用いるこ
とにより、以後の段階である領域マッチング処理の対象
となる画像の量を絞り込むスクリーニング作業をより有
効に行うことができ、結果として検索に要する時間を大
幅に減らすことができる。
As described above, according to the present embodiment, by using the data of the area of the closed region designated as the search image, the screening work for narrowing down the amount of the image which is the target of the region matching process in the subsequent stage. Can be performed more effectively, and as a result, the time required for search can be significantly reduced.

【0040】[0040]

【発明の効果】以上説明したように本発明によれば、検
索が指示された検索画像の閉領域の面積に関する情報を
利用して、高速の画像検索を行うことができる効果があ
る。
As described above, according to the present invention, there is an effect that a high-speed image search can be performed by using the information regarding the area of the closed region of the search image instructed to search.

【0041】また本発明によれば、検索対象となり得る
画像を絞りこんだ後、その画像に対してのみ類似度を判
定することにより、画像検索を高速に行うことができる
という効果がある。
Further, according to the present invention, there is an effect that an image can be searched at high speed by narrowing down the images which can be searched and then determining the similarity only to the image.

【0042】[0042]

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

【図1】本発明の一実施例の画像検索装置の機能構成を
示すブロック図である。
FIG. 1 is a block diagram showing a functional configuration of an image search device according to an embodiment of the present invention.

【図2】本実施例における画像の検索を説明するための
図で、(a)は検索者が検索したい蓄積画像を示す図、
(b)は、その蓄積画像を等色領域に分割した例を示す
図、および(c)は、検索者が作成した検索画像の一例
を示す図である。
FIG. 2 is a diagram for explaining image retrieval in the present embodiment, in which (a) is a diagram showing accumulated images that a searcher wants to retrieve,
(B) is a figure which shows the example which divided the accumulated image into a color matching area | region, and (c) is a figure which shows an example of the search image which the searcher produced.

【図3】従来の検索処理を説明するための図である。FIG. 3 is a diagram for explaining a conventional search process.

【図4】本実施例の画像検索装置において、画像を画像
データベースシステムに登録する際の処理を示すフロー
チャートである。
FIG. 4 is a flowchart showing a process of registering an image in an image database system in the image search device according to the present embodiment.

【図5】本実施例の画像検索装置における画像検索処理
を示すフローチャートである。
FIG. 5 is a flowchart showing an image search process in the image search apparatus of this embodiment.

【図6】本実施例における蓄積画像中の各領域の色と、
検索画像の色との比較を説明するための図である。
FIG. 6 is a diagram showing a color of each area in an accumulated image according to the present embodiment,
It is a figure for demonstrating comparison with the color of a search image.

【図7】本発明の第2実施例を説明するための図で、
(a)はHSV色空間をブロックに分割した状態を示す
図、(b)は、そのブロック単位で検索画像に近い色を
探す処理を説明するための図である。
FIG. 7 is a diagram for explaining a second embodiment of the present invention,
(A) is a diagram showing a state in which the HSV color space is divided into blocks, and (b) is a diagram for explaining a process of searching for a color close to a search image in the block unit.

【符号の説明】[Explanation of symbols]

1 画像登録処理部 2 画像データベースシステム 3 検索画像入力部 4 表示部 11 登録画像入力部 12 領域分割処理部 13 領域特徴量抽出部 14 カラーインデックス作成部 21 画像蓄積部 22 領域特徴量蓄積部 23 カラーインデックス蓄積部 24 スリーニング処理部 25 類似度計算部 26 候補順位決定部 DESCRIPTION OF SYMBOLS 1 image registration processing unit 2 image database system 3 search image input unit 4 display unit 11 registered image input unit 12 region division processing unit 13 region feature amount extraction unit 14 color index creation unit 21 image storage unit 22 region feature amount storage unit 23 colors Index storage unit 24 Screening processing unit 25 Similarity calculation unit 26 Candidate ranking determination unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 蓄積された複数の蓄積画像から所望の画
像を検索する画像検索方法であって、 閉領域を含む検索したい画像を入力する工程と、 前記蓄積画像のそれぞれを分割した領域と前記検索した
い画像の閉領域との色を比較し、近似色を有する蓄積画
像の領域の面積の合計と前記閉領域の面積とを比較する
工程と、 前記比較の結果、前記閉領域の面積よりも前記面積の合
計が小さい蓄積画像を検索対象とする工程と、 前記検索対象と判断された蓄積画像に対して前記検索し
たい画像との整合を判定して類似度を求める工程と、 類似度が所定以上の画像を検索結果として表示する工程
と、を有することを特徴とする画像検索方法。
1. An image retrieval method for retrieving a desired image from a plurality of accumulated images, which comprises: inputting an image to be retrieved including a closed region; Comparing the color of the closed area of the image to be searched, comparing the total area of the area of the accumulated image having an approximate color and the area of the closed area, the result of the comparison, than the area of the closed area A step of setting a stored image having a small total area as a search target; a step of determining a similarity between the stored image determined to be the search target and the image to be searched to obtain a similarity; And a step of displaying the above image as a search result.
【請求項2】 前記蓄積画像は、複数の蓄積画像のそれ
ぞれを複数の領域に分割し、該複数の領域のそれぞれ色
と面積との組みを色空間上にマッピングして保存されて
いることを特徴とする請求項1に記載の画像検索方法。
2. The stored image is stored by dividing each of the plurality of stored images into a plurality of regions and mapping a combination of a color and an area of each of the plurality of regions in a color space. The image retrieval method according to claim 1, characterized in that
【請求項3】 前記検索したい画像は、色、位置、形状
を持つ閉領域を含むことを特徴とする請求項1に記載の
画像検索方法。
3. The image search method according to claim 1, wherein the image to be searched includes a closed region having a color, a position, and a shape.
【請求項4】 前記検索結果は類似度の大きい順にソー
トして表示されることを特徴とする請求項1に記載の画
像検索方法。
4. The image search method according to claim 1, wherein the search results are sorted and displayed in descending order of similarity.
【請求項5】 蓄積された複数の蓄積画像から所望の画
像を検索する画像検索装置であって、 閉領域を含む検索したい画像を入力する入力手段と、 前記蓄積画像のそれぞれを分割した領域と前記検索した
い画像の閉領域との色を比較し、近似色を有する蓄積画
像の領域の面積の合計と前記閉領域の面積とを比較する
比較手段と、 前記比較手段による比較の結果、前記閉領域の面積より
も前記領域の面積の合計が小さい蓄積画像を検索対象と
判断する判断手段と、 前記判断手段により検索対象と判断された蓄積画像に対
して前記検索したい画像との整合を判定して類似度を求
める類似度判別手段と、 前記類似度判別手段により類似度が所定以上であると判
別された画像を検索結果として表示する表示手段と、を
有することを特徴とする画像検索装置。
5. An image retrieval apparatus for retrieving a desired image from a plurality of accumulated images, comprising input means for inputting an image to be retrieved including a closed region, and a region obtained by dividing each of the accumulated images. Comparing the color of the closed region of the image to be searched, the total area of the accumulated image having an approximate color and the area of the closed region, the comparison result by the comparison unit, the closed Judgment means for judging an accumulated image in which the total area of the areas is smaller than the area of the area as a search target, and a judgment of matching between the accumulated image judged by the judgment means with the image to be searched is judged. And a display unit for displaying an image whose similarity is determined to be greater than or equal to a predetermined value by the similarity determination unit as a search result. Apparatus.
【請求項6】 前記蓄積画像は、複数の蓄積画像のそれ
ぞれを複数の領域に分割し、該複数の領域のそれぞれ色
と面積との組みを色空間上にマッピングして保存されて
いることを特徴とする請求項5に記載の画像検索装置。
6. The accumulated image is stored by dividing each of the accumulated images into a plurality of regions and mapping a combination of a color and an area of each of the plurality of regions in a color space. The image retrieval device according to claim 5, wherein the image retrieval device is an image retrieval device.
【請求項7】 前記入力手段により入力される画像は、
色、位置、形状を持つ閉領域を含むことを特徴とする請
求項5に記載の画像検索装置。
7. The image input by the input means is
The image search device according to claim 5, further comprising a closed region having a color, a position, and a shape.
【請求項8】 前記表示手段は、類似度の大きい順にソ
ートして検索した画像を表示することを特徴とする請求
項5に記載の画像検索装置。
8. The image search apparatus according to claim 5, wherein the display unit displays images searched by sorting in descending order of similarity.
JP01378195A 1994-11-15 1995-01-31 Image search method and apparatus Expired - Fee Related JP3727967B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP01378195A JP3727967B2 (en) 1995-01-31 1995-01-31 Image search method and apparatus
US08/555,714 US6246804B1 (en) 1994-11-15 1995-11-14 Image retrieval method and apparatus using a compound image formed from a plurality of detected regions
EP95308124A EP0713186B1 (en) 1994-11-15 1995-11-14 Method and apparatus for retrieving images from a database
DE69535098T DE69535098T2 (en) 1994-11-15 1995-11-14 Method and apparatus for searching images in a database
US09/476,120 US6181818B1 (en) 1994-11-15 2000-01-03 Image retrieval method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01378195A JP3727967B2 (en) 1995-01-31 1995-01-31 Image search method and apparatus

Publications (2)

Publication Number Publication Date
JPH08202733A true JPH08202733A (en) 1996-08-09
JP3727967B2 JP3727967B2 (en) 2005-12-21

Family

ID=11842796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01378195A Expired - Fee Related JP3727967B2 (en) 1994-11-15 1995-01-31 Image search method and apparatus

Country Status (1)

Country Link
JP (1) JP3727967B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254901A (en) * 1997-03-14 1998-09-25 Omron Corp Method and device for retrieving image
JPH10254903A (en) * 1997-03-14 1998-09-25 Omron Corp Image retrieval method and device therefor
JPH10260983A (en) * 1997-03-19 1998-09-29 Canon Inc Device and method for image retrieval
JPH10328414A (en) * 1997-05-30 1998-12-15 Namco Ltd Game machine and computer readable medium recording game program
JPH1115834A (en) * 1997-06-19 1999-01-22 Canon Inc Picture processor and its controlling method
JPH1139309A (en) * 1997-07-15 1999-02-12 Canon Inc Picture retrieval device and its method
JPH11288418A (en) * 1998-04-02 1999-10-19 Canon Inc Device and method for retrieving image
JP2005349227A (en) * 2005-09-05 2005-12-22 Namco Ltd Game device and computer-readable recording medium with game program stored
EP2739030A2 (en) 2012-11-28 2014-06-04 Brother Kogyo Kabushiki Kaisha Controller for imaging terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254901A (en) * 1997-03-14 1998-09-25 Omron Corp Method and device for retrieving image
JPH10254903A (en) * 1997-03-14 1998-09-25 Omron Corp Image retrieval method and device therefor
JPH10260983A (en) * 1997-03-19 1998-09-29 Canon Inc Device and method for image retrieval
JPH10328414A (en) * 1997-05-30 1998-12-15 Namco Ltd Game machine and computer readable medium recording game program
JPH1115834A (en) * 1997-06-19 1999-01-22 Canon Inc Picture processor and its controlling method
JPH1139309A (en) * 1997-07-15 1999-02-12 Canon Inc Picture retrieval device and its method
JPH11288418A (en) * 1998-04-02 1999-10-19 Canon Inc Device and method for retrieving image
JP2005349227A (en) * 2005-09-05 2005-12-22 Namco Ltd Game device and computer-readable recording medium with game program stored
EP2739030A2 (en) 2012-11-28 2014-06-04 Brother Kogyo Kabushiki Kaisha Controller for imaging terminal
US9628644B2 (en) 2012-11-28 2017-04-18 Brother Kogyo Kabushiki Kaisha Controller for imaging terminal

Also Published As

Publication number Publication date
JP3727967B2 (en) 2005-12-21

Similar Documents

Publication Publication Date Title
JP3026712B2 (en) Image search method and apparatus
US7319799B2 (en) Method of recognizing and indexing documents
EP0713186B1 (en) Method and apparatus for retrieving images from a database
KR100708067B1 (en) Digital video searching device and method thereof
JPH09179883A (en) Method and device for deriving connection rule between data
JP2004334594A (en) Image searching device, image searching method, image searching program, and recording medium with the program recorded thereon
US7117226B2 (en) Method and device for seeking images based on the content taking into account the content of regions of interest
JPH08249349A (en) Image data base device
US5144679A (en) Graphic data searching and storage method
JPH01161481A (en) Display
JP2004192156A (en) Image retrieval program, storage medium storing the program, image retrieval system and image retrieval method
JP3727967B2 (en) Image search method and apparatus
US5838820A (en) Pattern recognition apparatus and method
JPH0460770A (en) Method and device for retrieving picture using schematic picture
JPH08194716A (en) Picture processing method and its device
US6947937B1 (en) Data selection system and method therefor
JPS6136868A (en) Information retriever
JPH0668171A (en) Picture database, picture database preparation method, picture retrieval method and device therefor
US6212294B1 (en) Image processing method and apparatus therefor
EP0443531B1 (en) Graphic data handling method and system
JPH07271810A (en) Method for retrieving information of graphic parts
JPH11175556A (en) Image database device
KR100210400B1 (en) Method of classifying range images by quadtree
JP3271452B2 (en) CAD layer automatic setting method
KR100221312B1 (en) Method of classifying color images

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041015

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050610

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050712

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050922

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050930

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121007

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131007

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees