JP3478627B2 - Image retrieval apparatus and method - Google Patents

Image retrieval apparatus and method

Info

Publication number
JP3478627B2
JP3478627B2 JP00122495A JP122495A JP3478627B2 JP 3478627 B2 JP3478627 B2 JP 3478627B2 JP 00122495 A JP00122495 A JP 00122495A JP 122495 A JP122495 A JP 122495A JP 3478627 B2 JP3478627 B2 JP 3478627B2
Authority
JP
Japan
Prior art keywords
image
edge
edge line
color
line
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.)
Expired - Fee Related
Application number
JP00122495A
Other languages
Japanese (ja)
Other versions
JPH08190568A (en
Inventor
明洋 吉谷
宏明 佐藤
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 JP00122495A priority Critical patent/JP3478627B2/en
Priority to DE69535098T priority patent/DE69535098T2/en
Priority to US08/555,714 priority patent/US6246804B1/en
Priority to EP95308124A priority patent/EP0713186B1/en
Publication of JPH08190568A publication Critical patent/JPH08190568A/en
Priority to US09/476,120 priority patent/US6181818B1/en
Application granted granted Critical
Publication of JP3478627B2 publication Critical patent/JP3478627B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

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 apparatus and method for retrieving similar images from an image database on the basis of input example images.

【0002】[0002]

【従来の技術】従来、画像データベースから必要な画像
を検索する場合には、検索者の記憶にある、例えば、図
1に示すような画像を検索するには、図1の画像の一部
に、符号Aにて示されるような等色に近い塊のようなも
のがあれば、検索者がその塊の色、形、場所を、図2の
Bにて示すような閉図形を例示画像として描く。そし
て、画像データベース中にあるすべての画像について、
この例示画像で指定した図形の場所、色との比較を行な
って類似度を計算し、類似度の高い順に画像を表示する
という方法がある。
2. Description of the Related Art Conventionally, when a necessary image is searched from an image database, a searcher's memory, for example, an image shown in FIG. , If there is a lump having a color close to that shown by the symbol A, the searcher sets the color, shape, and place of the lump as a closed figure as shown in FIG. Draw. And for every image in the image database,
There is a method of comparing the position and color of the graphic specified in this example image to calculate the similarity and displaying the images in descending order of similarity.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の検索方法では、例えば、検索者の記憶にある画像
が、例えば、図3に示すように、エッジがはっきりして
いても、画像の一部にグラデーションがかかっている場
合、そのグラデーションのため、画像のどこまでが等色
領域かが判別しづらいので、等色領域を例示画像として
指定するのが困難であるという問題がある。
However, in the above-described conventional search method, for example, even if the image stored in the searcher's memory has a clear edge as shown in FIG. When there is a gradation, it is difficult to determine how much of the image is the uniform color area due to the gradation, so there is a problem that it is difficult to specify the uniform color area as an example image.

【0004】本発明は、上述の課題に鑑みてなされたも
ので、その目的とするところは、画像のエッジ位置とそ
の周辺色を入力するだけで、所望の画像を検索できる画
像検索装置及びその方法を提供することである。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an image retrieving apparatus capable of retrieving a desired image only by inputting an edge position of the image and its peripheral color, and an image retrieving apparatus therefor. Is to provide a method.

【0005】[0005]

【課題を解決するための手段】及び[Means for Solving the Problems] and

【作用】上記の目的を達成するため、本発明は、データ
ベースに蓄積された複数の画像データから所望の画像を
検索する画像検索装置において、被検索画像についての
例示画像のエッジラインを入力する手段と、前記エッジ
ラインの周辺領域に対する色を指定する手段と、前記エ
ッジラインと前記周辺領域の色から、前記例示画像と前
記複数の画像データとの類似度を算出する手段と、前記
類似度が最大の画像データに対応する画像を前記被検索
画像として表示する手段とを備える。
In order to achieve the above object, the present invention is an image retrieval apparatus for retrieving a desired image from a plurality of image data stored in a database, and means for inputting an edge line of an exemplary image of an image to be retrieved. A means for designating a color for the peripheral area of the edge line; a means for calculating the similarity between the example image and the plurality of image data from the colors of the edge line and the peripheral area; An image corresponding to the maximum image data is displayed as the searched image.

【0006】また、他の発明は、さらに、前記例示画像
と前記複数の画像データとの距離値を算出する算出手段
を備え、該距離値を前記類似度とする。
Further, another invention further comprises a calculating means for calculating a distance value between the exemplary image and the plurality of image data, and the distance value is used as the similarity.

【0007】以上の構成において、所望の画像を迅速か
つ確実に検索するよう機能する。
The above-mentioned structure functions to search for a desired image quickly and surely.

【0008】[0008]

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

【0009】図5は、本発明の実施例に係る画像データ
ベースシステムの構成を示すブロック図である。同図に
おいて、符号1は画像データベースシステム本体であ
り、2は検索時のエッジライン入力部、3は、入力され
たエッジラインから、例えば、図4のA,Bにて示され
るようなエッジ周辺領域を作成するエッジ周辺領域作成
部、4は、エッジ周辺領域作成部3で作成された各領域
に対して、検索者がその領域の色を入力する色入力部、
5は検索結果の表示部である。
FIG. 5 is a block diagram showing the configuration of the image database system according to the embodiment of the present invention. In the figure, reference numeral 1 is the main body of the image database system, 2 is an edge line input unit at the time of search, and 3 is the input edge line, for example, the edge periphery as shown in A and B of FIG. An edge peripheral area creating unit 4 for creating an area, a color input unit for a searcher to input a color of the area for each area created by the edge peripheral area creating unit 3,
Reference numeral 5 is a search result display unit.

【0010】画像データベースシステム1において、符
号11は、画像データが蓄積されている画像蓄積部、1
2は、画像蓄積部11に蓄積された各画像に対して、あ
らかじめエッジ抽出処理を行なうことによって作成され
たエッジ画像データが蓄積されているエッジ画像蓄積部
である。また、13は、蓄積されている原画像とエッジ
画像とから、エッジ周辺領域作成部3で作成されたエッ
ジ周辺領域に対応する領域(これをエッジ周辺領域候補
とする)を作成するエッジ周辺領域候補作成部である。
In the image database system 1, reference numeral 11 is an image storage unit in which image data is stored, 1
Reference numeral 2 denotes an edge image storage unit in which edge image data created by previously performing edge extraction processing on each image stored in the image storage unit 11 is stored. Reference numeral 13 denotes an edge peripheral area for creating an area corresponding to the edge surrounding area created by the edge surrounding area creating unit 3 (this is an edge surrounding area candidate) from the accumulated original image and edge image. This is a candidate creation unit.

【0011】また、符号14は、エッジ周辺領域とエッ
ジ周辺領域候補との距離値を計算する距離値計算部、そ
して、15は、距離値計算部14で各蓄積画像に対して
計算された例示画像との距離値の低い(距離の短い)蓄
積画像を選択する表示画像選択部である。
Reference numeral 14 is a distance value calculation unit for calculating the distance value between the edge peripheral region and the edge peripheral region candidate, and reference numeral 15 is an example calculated for each accumulated image by the distance value calculation unit 14. It is a display image selection unit that selects an accumulated image having a short distance value (short distance) from the image.

【0012】図5に示すような構成を有する本実施例に
係るシステムにおいて、画像の蓄積時には、蓄積用の画
像を画像蓄積部11に入力するのと同時に、この画像に
対して、公知のエッジ検出処理を施して得たエッジ画像
を、エッジ画像蓄積部12に入力する。すなわち、画像
データベースシステム11内には、原画像と、その各々
に対応するエッジ画像とが蓄積されている。なお、エッ
ジ画像は、公知の方法で2値化され、蓄積されているも
のとする。
In the system according to the present embodiment having the configuration shown in FIG. 5, at the time of image storage, an image for storage is input to the image storage unit 11 and at the same time, a known edge is added to this image. The edge image obtained by performing the detection process is input to the edge image storage unit 12. That is, the image database system 11 stores the original images and the edge images corresponding to the original images. Note that the edge image is binarized by a known method and stored.

【0013】本実施例では、画像データベースからの画
像検索方法として、検索者が記憶にある画像のエッジ部
分の位置と、その周辺の色とを指定したものを例示画像
として、エッジの位置、エッジ周辺部分の色を用いる。
In this embodiment, as an image search method from the image database, the position of the edge and the edge are defined as an example image in which the searcher specifies the position of the edge part of the image stored in the memory and the color around the edge part. Use the color of the surrounding area.

【0014】そこで、本実施例における、画像データベ
ースに蓄積された画像の検索を行なう場合の検索処理に
ついて、図6に示すフローチャートを参照して説明す
る。
Therefore, a search process for searching an image stored in the image database in this embodiment will be described with reference to the flowchart shown in FIG.

【0015】まず、図6のステップS1では、利用者が
公知のグラフィックエディタなどを用いて、例示画像と
して画面中に折れ線を書く。これは、例えば、図7のよ
うな画像を検索したいと検索者が考えている場合、検索
者はその記憶に基づき、その画像中にある明確なエッジ
を、図8にて符号ABCDにて示されるように折れ線で
指定する。なお、原画像のエッジが直線に近ければ、直
線で指定しても良い(この折れ線を、以後、エッジライ
ンと呼ぶ)。
First, in step S1 of FIG. 6, the user draws a polygonal line on the screen as an exemplary image using a known graphic editor or the like. This is because, for example, when a searcher wants to search for an image as shown in FIG. 7, the searcher shows a clear edge in the image by the symbol ABCD in FIG. 8 based on the memory. Specify with a polygonal line so that If the edge of the original image is close to a straight line, it may be designated by a straight line (this polygonal line is hereinafter referred to as an edge line).

【0016】ステップS2では、ステップS1で指定し
たエッジラインに対して、xドット(xは所定値)の画
像膨張処理を行ない、図9に示すような領域Eを得る。
次に、入力エッジラインの両端点(図8のA,D)を通
り、両端点を含むセグメント(ここでは、ABとCD)
に垂直な直線で領域Eを分割し、分割された部分領域の
内、指定エッジラインを含む部分をエッジ周辺領域とす
る。
In step S2, image expansion processing of x dots (x is a predetermined value) is performed on the edge line designated in step S1 to obtain an area E as shown in FIG.
Next, a segment that passes through both end points (A and D in FIG. 8) of the input edge line and includes both end points (here, AB and CD)
The area E is divided by a straight line perpendicular to, and a portion including the designated edge line is defined as an edge peripheral area among the divided partial areas.

【0017】この結果、エッジ周辺領域は、図10に示
すように、エッジラインにより二つの領域XとYに分割
される。ただし、エッジラインの入力開始点(ここでは
Aとする)から入力終了点(ここではDとなる)をエッ
ジライン沿いに見たときに、2領域の内、左側にある方
をXとする。
As a result, the edge peripheral region is divided into two regions X and Y by the edge line as shown in FIG. However, when the input start point (here, A) of the edge line and the input end point (here, D) are seen along the edge line, the left side of the two areas is set as X.

【0018】ステップS3では、ステップS2において
得たエッジ周辺領域を検索者に表示する。そして、検索
者は、2つの領域の片方または両方について、原画像の
その領域に相当する部分の色を、検索者の記憶に基づい
て入力する。
In step S3, the edge peripheral area obtained in step S2 is displayed to the searcher. Then, the searcher inputs the color of the portion corresponding to the area of the original image in one or both of the two areas based on the memory of the searcher.

【0019】続くステップS4〜S10(図6において
符号Aが付された処理)では、画像データベース中に蓄
積されている各画像について、以下に説明する処理を行
なう。
In the subsequent steps S4 to S10 (the process indicated by reference character A in FIG. 6), the process described below is performed for each image stored in the image database.

【0020】すなわち、ステップS4では、エッジ画像
蓄積部12に蓄積されているエッジ画像から、ステップ
S2で得たエッジ周辺領域に相当する部分のみを抽出す
る。例えば、図11の(a)に示すような形状のエッジ
周辺領域に対し、図11の(b)のようなエッジ画像が
あったとすれば、(a)の領域と(b)の画像とを重
ね、得られたそのエッジ(図11の(c))の内、図1
1の(d)にて実線で示す部分を抽出する。なお、以
後、ここで抽出した部分を対応エッジ候補と呼ぶ。
That is, in step S4, only the portion corresponding to the edge peripheral region obtained in step S2 is extracted from the edge image stored in the edge image storage section 12. For example, if there is an edge image as shown in FIG. 11B for an edge peripheral area having a shape as shown in FIG. 11A, the area shown in FIG. 11A and the image shown in FIG. Of the obtained edges ((c) of FIG. 11), FIG.
In (d) of 1, the portion indicated by the solid line is extracted. Note that, hereinafter, the portion extracted here will be referred to as a corresponding edge candidate.

【0021】図6のステップS5では、抽出した対応エ
ッジ候補に対し、図11の(e)に示すように、yドッ
ト(yは所定値)だけ2値画像膨張処理を行なうことに
より、対応エッジ候補の内、距離の近いものを統合す
る。そして、ステップS6では、ステップS5で膨張処
理を行なった領域に対して、公知の方法で細線化処理を
行なうことにより、この領域を、図11の(f)に示す
ような、ある程度つながった太さ1の分岐のある折れ線
とする。
In step S5 of FIG. 6, the extracted corresponding edge candidate is subjected to binary image expansion processing by y dots (y is a predetermined value) as shown in (e) of FIG. Of the candidates, those with a short distance are integrated. Then, in step S6, the region subjected to the expansion process in step S5 is subjected to a thinning process by a known method, so that this region is connected to a certain extent as shown in (f) of FIG. It is a polygonal line with a branch of 1.

【0022】ステップS7では、ステップS6で得られ
た折れ線に対して、チェーン符号を作成する要領で追跡
を行ない、図11の(g)に示すように、最も長いチェ
ーンとなるものを取り出す。そして、そのチェーンに対
し、上記の入力した折れ線に含まれるセグメントの本数
(図8の例では、3本)に等しくなるように、区分的直
線近似法により、折れ線近似を行なう。なお、区分的直
線近似法については、例えば、田村秀行:「コンピュー
タ画像処理入門」、総研出版、pp.93-94に示されてい
る。
In step S7, the broken line obtained in step S6 is traced in the same manner as a chain code is created, and the longest chain is taken out as shown in FIG. Then, a polygonal line approximation is performed on the chain by the piecewise linear approximation method so that the number of segments included in the input polygonal line is three (three in the example of FIG. 8). The piecewise linear approximation method is described in, for example, Hideyuki Tamura: “Introduction to Computer Image Processing”, Soken Shuppan, pp.93-94.

【0023】上記のような折れ線近似を行なった結果の
例を図11の(h)に示す。このようにして得られた折
れ線が、入力したエッジラインに対応するエッジの候補
ということになる。なお、これを以後、候補エッジライ
ンと呼ぶ。
An example of the result obtained by performing the above polygonal line approximation is shown in FIG. The polygonal line thus obtained is a candidate for the edge corresponding to the input edge line. Note that this is hereinafter referred to as a candidate edge line.

【0024】候補エッジラインの両端点について、入力
エッジラインの入力開始点に近い方が入力開始点に対応
するものとする。この場合、候補エッジラインのもう一
方の端点は、入力エッジラインの終了点(D’)に対応
する。
Regarding both end points of the candidate edge line, the one closer to the input start point of the input edge line corresponds to the input start point. In this case, the other end point of the candidate edge line corresponds to the end point (D ′) of the input edge line.

【0025】ステップS8では、ステップS7で得られ
た候補エッジラインから、図11の(i)に示すよう
に、ステップS2での処理と同じ要領で2つのエッジ周
辺領域を作成する。これらを以後、エッジ周辺領域と呼
ぶ。そして、候補エッジラインの端点2つの内、入力エ
ッジラインの開始点(A)に対応する端点(A’)から
もう一方の端点(D’)を見て、その左側にあるエッジ
周辺領域候補をX’、右側にあるエッジ周辺領域候補を
Y’とする。X’,Y’はそれぞれX,Yに対応する。
In step S8, two edge peripheral areas are created from the candidate edge line obtained in step S7, as shown in FIG. 11 (i), in the same manner as in step S2. These are hereinafter referred to as edge peripheral areas. Then, of the two end points of the candidate edge line, the other end point (D ′) is seen from the end point (A ′) corresponding to the start point (A) of the input edge line, and the edge peripheral region candidate on the left side thereof is selected. Let X ′ be the edge peripheral region candidate on the right side be Y ′. X'and Y'correspond to X and Y, respectively.

【0026】ステップS9では、上記のステップS8ま
での処理で求めたエッジ周辺領域候補に関して、蓄積さ
れている原画の、その領域内での代表色を求める。ここ
での、ある領域の代表色を求める方法は色々あるが、単
にその領域内の全画素のRGB値の平均をとるだけでも
良い。
In step S9, with respect to the edge peripheral area candidates obtained in the processing up to step S8, a representative color of the accumulated original image in the area is obtained. There are various methods for obtaining the representative color of a certain area, but it is also possible to simply take the average of the RGB values of all the pixels in the area.

【0027】ステップS10では、ステップS3でエッ
ジ周辺領域に対して検索者が入力した色と、その領域に
対応するエッジ周辺領域候補の代表色との距離を計算す
る。色の距離の計算方法はいくつかあるが、単にRGB
空間での両色の距離を求めるだけでも良い。また、ステ
ップS3でエッジ周辺領域の片方にしか色を入力してい
ない場合には、その領域と、その領域に対応するエッジ
周辺領域候補のみで類似度を計算する。
In step S10, the distance between the color input by the searcher in the edge surrounding area in step S3 and the representative color of the edge surrounding area candidate corresponding to the area is calculated. There are several ways to calculate the color distance, but simply RGB
All you have to do is find the distance between the two colors in space. If the color is input to only one of the edge peripheral areas in step S3, the similarity is calculated only for that area and the edge peripheral area candidates corresponding to the area.

【0028】両方の領域に色を入力した場合には、各エ
ッジ周辺領域と、各々に対応するエッジ周辺領域候補と
の間で類似度を計算し、それらの値を平均する。ここで
は、この値を、入力値と蓄積画像との距離値とする。
When a color is input to both areas, the similarity is calculated between each edge peripheral area and the edge peripheral area candidate corresponding to each area, and those values are averaged. Here, this value is the distance value between the input value and the accumulated image.

【0029】ここでは、上記のステップS4〜S10ま
での処理にて、すべての蓄積画像について繰り返して入
力値と各蓄積画像との距離値を求める。そして、ステッ
プS11では、各蓄積画像について得た距離値から 値
の低い(距離の近い)ものを選択し、その画像を検索者
に検索結果として表示する。
Here, in the processes of steps S4 to S10 described above, the distance value between the input value and each accumulated image is repeatedly obtained for all accumulated images. Then, in step S11, a low value (close distance) is selected from the distance values obtained for each accumulated image, and the image is displayed to the searcher as a search result.

【0030】以上説明したように、本実施例によれば、
検索したい画像に、ある大きさの塊を持った等色領域が
なくても、画像中に明確なエッジさえあれば、検索者が
そのエッジを、直線または折れ線で指定し、その片側ま
たは両側の色を指定したものを例示画像として、画像デ
ータベースから画像の検索を行なうことで、例示画像の
指定が容易になり、検索を迅速に行なうことができる。
As described above, according to this embodiment,
Even if the image you want to search does not have a uniform color area with a certain size, if there is a clear edge in the image, the searcher will specify that edge as a straight line or a polygonal line, and By searching for an image from the image database with the color-designated example image as the example image, the example image can be easily specified, and the search can be performed quickly.

【0031】なお、本発明は上記の実施例に限定される
ものではなく、例えば、図6のステップS7での処理で
得られた候補エッジラインと入力エッジラインとの間で
マッチングを行ない、マッチングが困難な場合、すなわ
ち、エッジライン同士が全く似ていない場合には、その
蓄積画像を検索対象から外すことにより、より高速に検
索を行なうようにしてもよい。
The present invention is not limited to the above embodiment, and for example, matching is performed between the candidate edge line obtained by the processing in step S7 of FIG. 6 and the input edge line, and the matching is performed. If it is difficult, that is, if the edge lines are not similar to each other, the stored image may be excluded from the search target to perform the search at a higher speed.

【0032】ここでのマッチング方法としては、例え
ば、図12に示すように、入力エッジラインの開始点
(A)と、その点に対応する候補エッジラインの端点
(A’)とを重ねたとき、両エッジラインにおけるもう
一方の端点(D,D’)間の距離dについて、それと入
力エッジラインの長さとの比が所定値より大きければ、
その候補エッジラインのもととなった画像を検索対象か
ら外す、といった方法などが考えられる。
As a matching method here, for example, as shown in FIG. 12, when the starting point (A) of the input edge line and the end point (A ') of the candidate edge line corresponding to the point are overlapped with each other. , If the ratio of the distance d between the other end points (D, D ′) of both edge lines and the length of the input edge line is larger than a predetermined value,
A method of removing the image that is the source of the candidate edge line from the search target can be considered.

【0033】また、上記の実施例において、原画像に関
する記憶に基づいて検索者が入力するエッジは、折れ線
である必要はなく、例えば、図3に示す画像(検索した
い画像)に対して、図13に示すような曲線を入力して
も良い。この場合、この曲線に対して区分的直線近似法
を施すことにより、図14に示すように、曲線を折れ線
で近似したものを入力エッジラインとみなして、上記と
同様の処理を行なえば良い。
Further, in the above embodiment, the edge input by the searcher based on the memory about the original image does not have to be a polygonal line. For example, for the image shown in FIG. 3 (the image to be searched), You may input the curve as shown in FIG. In this case, by applying a piecewise linear approximation method to this curve, the curve approximated by a polygonal line is regarded as an input edge line, and the same processing as described above may be performed.

【0034】ただし、この場合は、上記の実施例におけ
る区分的直線近似法とは異なり、入力曲線と折れ線との
距離が所定値より短くなるまで処理を繰り返す。
However, in this case, unlike the piecewise linear approximation method in the above embodiment, the process is repeated until the distance between the input curve and the polygonal line becomes shorter than a predetermined value.

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

【0036】[0036]

【発明の効果】以上説明したように、本発明によれば、
入力されたエッジラインの位置及びその周辺において指
定した色と、蓄積された画像データとの比較度合いをも
とに、画像の検索を迅速かつ確実に行なうことができ
る。
As described above, according to the present invention,
An image search can be performed quickly and reliably based on the degree of comparison between the input edge line position and the color designated around the edge line and the accumulated image data.

【0037】[0037]

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

【図1】検索者の記憶にあり検索しようとしている画像
の例を示す図である。
FIG. 1 is a diagram illustrating an example of an image that is stored in a searcher and is about to be searched.

【図2】図1内の等色領域の塊を例示画像として示した
図である。
FIG. 2 is a diagram showing, as an exemplary image, a cluster of color-matched regions in FIG.

【図3】画像中に等色領域の塊がない画像の例を示す図
である。
FIG. 3 is a diagram showing an example of an image in which there is no cluster of color-matched areas in the image.

【図4】検索者が例示画像としてエッジラインとその周
辺の色を提示した例を示す図である。
FIG. 4 is a diagram illustrating an example in which a searcher presents an edge line and colors around the edge line as an exemplary image.

【図5】本発明の実施例に係る画像データベースシステ
ムの構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an image database system according to an embodiment of the present invention.

【図6】本発明における画像データベース内の画像検索
処理手順を示すフローチャートである。
FIG. 6 is a flowchart showing an image search processing procedure in an image database according to the present invention.

【図7】実施例に係る、検索者が検索しようとしている
画像の例を示す図である。
FIG. 7 is a diagram showing an example of an image that a searcher is searching for according to an embodiment.

【図8】図7に示す画像を検索するために、検索者が提
示したエッジラインの例を示す図である。
FIG. 8 is a diagram showing an example of an edge line presented by a searcher for searching the image shown in FIG. 7.

【図9】図8で提示したエッジラインに対して画像膨張
処理を行なった図である。
FIG. 9 is a diagram in which an image expansion process is performed on the edge line presented in FIG.

【図10】図8に示すエッジラインからエッジ周辺領域
を生成した例を示す図である。
10 is a diagram showing an example in which an edge peripheral region is generated from the edge line shown in FIG.

【図11】エッジラインとその周辺領域をもとに、それ
らとの距離値を求めるための画像処理の流れを示す図で
ある。
FIG. 11 is a diagram showing a flow of image processing for obtaining a distance value between an edge line and a peripheral region thereof based on the edge line.

【図12】入力エッジラインと候補エッジラインとのマ
ッチングの方法を示す図である。
FIG. 12 is a diagram showing a method of matching an input edge line and a candidate edge line.

【図13】原画像のエッジに相当する部分を曲線で入力
した例を示す図である。
FIG. 13 is a diagram illustrating an example in which a portion corresponding to an edge of an original image is input as a curve.

【図14】曲線エッジを折れ線にて近似した例を示す図
である。
FIG. 14 is a diagram showing an example in which a curved edge is approximated by a polygonal line.

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

1 画像データベースシステム 2 エッジライン入力部 3 エッジ周辺領域作成部 4 色入力部 5 表示部 11 画像蓄積部 12 エッジ画像蓄積部 13 エッジ周辺領域候補作成部 14 距離値計算部 15 表示画像選択部 1 Image database system 2 Edge line input section 3 Edge peripheral area creation unit 4 color input section 5 Display 11 Image storage unit 12 Edge image storage unit 13 Edge peripheral area candidate creation unit 14 Distance value calculator 15 Display image selection section

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 17/30 G06T 1/00 G06T 7/00 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 17/30 G06T 1/00 G06T 7/00 JISST file (JOIS)

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データベースに蓄積された複数の画像デ
ータから所望の画像を検索する画像検索装置において、 被検索画像についての例示画像のエッジラインを入力す
る手段と、 前記エッジラインの周辺領域に対する色を指定する手段
と、 前記エッジラインと前記周辺領域の色から、前記例示画
像と前記複数の画像データとの類似度を算出する手段
と、 前記類似度が最大の画像データに対応する画像を前記被
検索画像として表示する手段とを備えることを特徴とす
る画像検索装置。
1. An image retrieval apparatus for retrieving a desired image from a plurality of image data stored in a database, means for inputting an edge line of an exemplary image of an image to be retrieved, and a color for a peripheral region of the edge line. Means for calculating the similarity between the exemplary image and the plurality of image data from the color of the edge line and the peripheral area, and an image corresponding to the image data having the maximum similarity. An image search apparatus comprising: a unit for displaying a searched image.
【請求項2】 さらに、前記例示画像と前記複数の画像
データとの距離値を算出する算出手段を備え、該距離値
を前記類似度とすることを特徴とする請求項1に記載の
画像検索装置。
2. The image search according to claim 1, further comprising calculation means for calculating a distance value between the exemplary image and the plurality of image data, and the distance value is used as the similarity. apparatus.
【請求項3】 前記算出手段は、さらに、前記複数の画
像データに対応するエッジ画像を蓄積する手段と、 前記エッジ画像から、前記エッジラインに対応する部分
のエッジを抽出する手段とを備え、 前記抽出されたエッジの周辺領域の色と、前記指定され
た色との距離を前記距離値とすることを特徴とする請求
項2に記載の画像検索装置。
3. The calculating means further comprises means for accumulating edge images corresponding to the plurality of image data, and means for extracting an edge of a portion corresponding to the edge line from the edge image, The image search device according to claim 2, wherein a distance between the color of the extracted peripheral region of the edge and the designated color is set as the distance value.
【請求項4】 前記エッジラインは折れ線であることを
特徴とする請求項1に記載の画像検索装置。
4. The image search device according to claim 1, wherein the edge line is a polygonal line.
【請求項5】 前記エッジラインは曲線であることを特
徴とする請求項1に記載の画像検索装置。
5. The image search device according to claim 1, wherein the edge line is a curve.
【請求項6】 データベースに蓄積された複数の画像デ
ータから所望の画像を検索する画像検索方法において、 被検索画像についての例示画像のエッジラインを入力す
る工程と、 前記エッジラインの周辺領域に対する色を指定する工程
と、 前記エッジラインと前記周辺領域の色から、前記例示画
像と前記複数の画像データとの類似度を算出する工程
と、 前記類似度が最大の画像データに対応する画像を前記被
検索画像として表示する工程とを備えることを特徴とす
る画像検索方法。
6. An image retrieval method for retrieving a desired image from a plurality of image data stored in a database, the step of inputting an edge line of an exemplary image of an image to be retrieved, and a color for a peripheral region of the edge line. And a step of calculating the degree of similarity between the example image and the plurality of image data from the edge line and the color of the peripheral area, and the image corresponding to the image data with the highest degree of similarity And a step of displaying the searched image as an image to be searched.
【請求項7】 さらに、前記例示画像と前記複数の画像
データとの距離値を算出する工程を備え、該距離値を前
記類似度とすることを特徴とする請求項6に記載の画像
検索方法。
7. The image search method according to claim 6, further comprising a step of calculating a distance value between the exemplary image and the plurality of image data, and the distance value is used as the similarity. .
【請求項8】 前記算出工程は、さらに、前記複数の画
像データに対応するエッジ画像を蓄積する工程と、 前記エッジ画像から、前記エッジラインに対応する部分
のエッジを抽出する工程とを備え、 前記抽出されたエッジの周辺領域の色と、前記指定され
た色との距離を前記距離値とすることを特徴とする請求
項7に記載の画像検索方法。
8. The calculating step further comprises a step of accumulating edge images corresponding to the plurality of image data, and a step of extracting an edge of a portion corresponding to the edge line from the edge image, The image search method according to claim 7, wherein the distance between the color of the peripheral region of the extracted edge and the designated color is set as the distance value.
【請求項9】 前記エッジラインは折れ線であることを
特徴とする請求項6に記載の画像検索方法。
9. The image search method according to claim 6, wherein the edge line is a polygonal line.
【請求項10】 前記エッジラインは曲線であることを
特徴とする請求項6に記載の画像検索方法。
10. The image search method according to claim 6, wherein the edge line is a curve.
JP00122495A 1994-11-15 1995-01-09 Image retrieval apparatus and method Expired - Fee Related JP3478627B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP00122495A JP3478627B2 (en) 1995-01-09 1995-01-09 Image retrieval apparatus and method
DE69535098T DE69535098T2 (en) 1994-11-15 1995-11-14 Method and apparatus for searching images in a database
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
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
JP00122495A JP3478627B2 (en) 1995-01-09 1995-01-09 Image retrieval apparatus and method

Publications (2)

Publication Number Publication Date
JPH08190568A JPH08190568A (en) 1996-07-23
JP3478627B2 true JP3478627B2 (en) 2003-12-15

Family

ID=11495503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00122495A Expired - Fee Related JP3478627B2 (en) 1994-11-15 1995-01-09 Image retrieval apparatus and method

Country Status (1)

Country Link
JP (1) JP3478627B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05205056A (en) * 1992-01-23 1993-08-13 Matsushita Electric Ind Co Ltd Image feature extracting device and image retrieving device
JPH06309377A (en) * 1993-04-23 1994-11-04 Nec Corp Picture retrieving method and device

Also Published As

Publication number Publication date
JPH08190568A (en) 1996-07-23

Similar Documents

Publication Publication Date Title
US20040215660A1 (en) Image search method and apparatus
US6389417B1 (en) Method and apparatus for searching a digital image
JPH10191020A (en) Object image segmenting method and device
US6718075B1 (en) Image search method and apparatus
JPH09293082A (en) Device for retrieving picture and its method
US6728407B1 (en) Method for automatically determining trackers along contour and storage medium storing program for implementing the same
JP3478627B2 (en) Image retrieval apparatus and method
JP3727967B2 (en) Image search method and apparatus
JPH08194716A (en) Picture processing method and its device
JP2005208740A (en) Sub-image search apparatus and sub-image search program
JPH08287086A (en) Method and device for emphasizing and displaying image in order of adaptability
JP2004240751A (en) Picture retrieval device
JP2792270B2 (en) Search device
JPH0668171A (en) Picture database, picture database preparation method, picture retrieval method and device therefor
JPH05346974A (en) Character recognizing device
CN115291992B (en) Auxiliary labeling method for graphic user interface picture, electronic equipment and storage medium
JPS63254856A (en) Image filing device
JPH11175556A (en) Image database device
JP3085508B2 (en) Electronic form search system
Goel et al. Computer vision aided pottery classification and reconstruction
JPH11187231A (en) Image retrieving device and image retrieval method
JPH10171831A (en) Device for retrieving image file
JP2001126055A (en) Peparing device of trimming image for shelf allotting
JP3723760B2 (en) Biological sequence information processing method and apparatus
JP3089525B2 (en) CAD system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030905

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

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees