JPH05266091A - Similar color tone retrieving device for image - Google Patents

Similar color tone retrieving device for image

Info

Publication number
JPH05266091A
JPH05266091A JP4064659A JP6465992A JPH05266091A JP H05266091 A JPH05266091 A JP H05266091A JP 4064659 A JP4064659 A JP 4064659A JP 6465992 A JP6465992 A JP 6465992A JP H05266091 A JPH05266091 A JP H05266091A
Authority
JP
Japan
Prior art keywords
image
similarity
color
key
vector
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
JP4064659A
Other languages
Japanese (ja)
Inventor
Tomoko Miki
智子 三木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4064659A priority Critical patent/JPH05266091A/en
Publication of JPH05266091A publication Critical patent/JPH05266091A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To judge the similarity of color tones between images without interposing any judge person by calculating the similarity of key color vectors between images and judging the similarity of color tones between images by using the degree of similarity for key color vectors. CONSTITUTION:The key color vectors are added to image data stored in an image storage part 2. When the retrieval instruction of an image having the color tone similar to that of a certain image is transmitted from a control part 1, the key color vectors of images are successively extracted from the image storage part 2, and the similarity between the respective extracted vectors and the key color vector of the image to be retrieved is judged by a similar color tone judge part 5 to judge it corresponding the calculated result of cosine similarity. Then, the image having the vector judged similar to the key color vector of the image to be retrieved by the judged result is displayed at a display part 3 as the similar color tone image.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、画像検索装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image search device.

【0002】[0002]

【従来の技術】図2は例えば従来の画像の類似色調検索
装置を示すブロック図であり、1は検索装置全体をコン
トロールする制御部、2は画像データを記録再生する画
像蓄積部、3は画像蓄積部2に蓄えられた画像を表示す
る表示部、4は画像の色調が類似しているかどうかを決
める判定者である。
2. Description of the Related Art FIG. 2 is a block diagram showing, for example, a conventional similar image tone retrieving apparatus. 1 is a control unit for controlling the entire retrieving apparatus, 2 is an image storage unit for recording and reproducing image data, and 3 is an image. The display unit 4 for displaying the images stored in the storage unit 2 is a judge who determines whether or not the color tones of the images are similar.

【0003】次に動作について説明する。従来の画像検
索システムでは、ある画像に対してこの画像と似た色調
を持つ画像を検索する場合、例えば、表示部3に被検索
画像と蓄積部2に記憶した画像を同時に表示し、表示さ
れた画像を判定者4が似た色調であるかを判定し、この
動作を画像蓄積部2に記憶された画像すべてについて行
う、など判定者の介在を持って検索を行っていた。
Next, the operation will be described. In the conventional image search system, when searching for an image having a color tone similar to this image for a certain image, for example, the searched image and the image stored in the storage unit 2 are simultaneously displayed and displayed. The search is performed with the intervention of the determiner, such as determining whether the determined image has a similar color tone by the determiner 4, and performing this operation for all the images stored in the image storage unit 2.

【0004】[0004]

【発明が解決しようとする課題】従来の画像の類似色調
検索装置は以上のように構成されているので、判定者が
画像間に色調の類似性があるかどうかを判定しなければ
ならず、手間がかかり、判定者の違いによるばらつきが
生じる等の問題点があった。
Since the conventional image similar color tone retrieving apparatus is configured as described above, the judge must judge whether or not there is a similarity in color tone between images. There is a problem in that it takes time and labor, and variations occur depending on different judges.

【0005】この発明は上記のような問題点を解消する
ためになされたもので、判定者の介在無しに画像間の色
調の類似性を判定できる画像の類似色調検索装置を得る
ことを目的とする。
The present invention has been made to solve the above problems, and an object thereof is to obtain an image similar color tone retrieval device capable of determining the similarity of the color tone between images without the intervention of a determiner. To do.

【0006】[0006]

【課題を解決するための手段】この発明に係る画像の類
似色調検索装置は、画像の色調を表すキーカラーベクト
ルを定義し、画像毎にこのキーカラーベクトルを付与
し、画像間のキーカラーベクトルの類似性を計算できる
ようにするとともに、キーカラーベクトルの類似性の度
合いを用いて画像の色調の類似性を判定できるようにし
たものである。
An image similar color tone retrieving apparatus according to the present invention defines a key color vector representing a color tone of an image, assigns this key color vector to each image, and sets a key color vector between images. And the similarity of the color tones of the image can be determined by using the degree of similarity of the key color vector.

【0007】画像間のキーカラーベクトルの類似性は、
コサイン類似測度、集合論的類似測度や距離を用いる。
キーカラーベクトルの各要素は、色調を代表するキーカ
ラーが画像に含まれるか否かや含まれる度合を示す。
The similarity of key color vectors between images is
Cosine similarity measure, set-theoretic similarity measure and distance are used.
Each element of the key color vector indicates whether or not the key color representing the color tone is included in the image and the degree of the inclusion.

【0008】[0008]

【作用】この発明における画像に付与されたキーカラー
ベクトルは、キーカラーベクトル間の類似性を計算する
ことにより画像間の色調の類似性が示され、画像の類似
色調を判定する。
In the key color vector given to the image in the present invention, the similarity of the color tone between the images is shown by calculating the similarity between the key color vectors, and the similar color tone of the image is judged.

【0009】[0009]

【実施例】【Example】

実施例1.図1は本発明の実施例1を示すブロック図で
あり、1〜3は上記従来装置と同様のものであるが、画
像蓄積部2に記憶された画像データにはキーカラーベク
トルが付加されている。キーカラーベクトルとは、画像
を表わす色を幾種類かに分けこの代表色をキーカラーと
し、画像に各キーカラーが含まれるか否かによってキー
カラーに対応する要素が1または0となる。即ち、画像
の集合をP(|P|=N)、キーカラーの集合をR(|
R|=M)とするとき画像pi∈Pのキーカラーベクト
ルを次式のように表わす。 vpi=(δi 1,δi 2,………,δi M) i=1,2,………,N 但し、画像piがキーカラーru(∈R)を持つとき δi u=1 画像piがキーカラーru(∈R)を持たないときδi u=0
Example 1. FIG. 1 is a block diagram showing a first embodiment of the present invention, in which 1 to 3 are the same as those of the conventional device, but a key color vector is added to the image data stored in the image storage unit 2. There is. With the key color vector, the color representing the image is divided into several types, and the representative color is used as the key color, and the element corresponding to the key color is 1 or 0 depending on whether or not each key color is included in the image. That is, a set of images is P (| P | = N) and a set of key colors is R (|
When R | = M), the key color vector of the image p i εP is represented by the following equation. v pi = (δ i 1 , δ i 2 , ..., δ i M ) i = 1, 2, ..., N However, when the image p i has the key color r u (εR), δ i u = 1 When the image p i does not have the key color r u (∈R), δ i u = 0

【0010】5は画像に付加されたキーカラーベクトル
から画像間の色調の類似性を判定する類似色調判定部で
ある。
Reference numeral 5 is a similar color tone determination unit that determines the similarity of the color tone between the images from the key color vector added to the images.

【0011】次に動作について説明する。画像検索シス
テムにおいて、ある画像の色調に似た色調を持つ画像の
検索命令が制御部1より送出されると、画像蓄積部2か
ら順次画像のキーカラーベクトルを取り出し、取り出さ
れた各ベクトルと被検索画像のキーカラーベクトルの類
似性を類似色調判定部5で判定し、判定結果により被検
索画像のキーカラーベクトルと類似ベクトルであるとさ
れたベクトルを持つ画像を類似色調画像として表示部3
に表示する。
Next, the operation will be described. In the image search system, when a search command for an image having a color tone similar to that of a certain image is sent from the control unit 1, key color vectors of the image are sequentially fetched from the image storage unit 2 and the fetched vectors and the target color vector are fetched. The similarity of the key color vector of the search image is determined by the similar color tone determination unit 5, and an image having a vector which is determined to be a similar vector to the key color vector of the searched image based on the determination result is displayed as the similar color tone image on the display unit 3
To display.

【0012】類似色調判定部5では、まず被検索画像の
キーカラーベクトルvp0と画像piのキーカラーベクト
ルvpiのコサイン類似測度sを計算する。コサイン類似
測度は次に示す数1により算出される。
The similar color tone determination section 5 first calculates the cosine similarity measure s of the key color vector v p0 of the searched image and the key color vector v pi of the image p i . The cosine similarity measure is calculated by the following equation 1.

【0013】[0013]

【数1】 [Equation 1]

【0014】次に、類似測度sがしきい値以上であれば
これらのベクトルすなわちこれらのベクトルを持つ画像
の色調が似ていると判定する。
Next, if the similarity measure s is greater than or equal to the threshold value, it is determined that the color tones of these vectors, that is, the images having these vectors are similar.

【0015】実施例2.上記実施例1では類似測度sを
コサイン類似測度を用いて算出したが、本実施例2では
集合論的類似測度を用いる。ベクトルxとベクトルyの
集合論的類似測度s( x, y) を次に示す。 s( x, y) =E(Ux∩Uy)/E(Ux∪Uy) 但し、Uxはベクトルx中その成分が1となる成分の集
合、E(Ux∩Uy)はUxとUyの積集合の要素数、E(Ux
∪Uy)はUxとUyの和集合の要素数である。この集合論
的類似測度を用いることによって類似測度の算出が容易
になる。
Example 2. Although the similarity measure s is calculated using the cosine similarity measure in the first embodiment, the set theory similarity measure is used in the second embodiment. The set-theoretic similarity measure s (x, y) of vector x and vector y is shown below. s (x, y) = E (U x ∩U y ) / E (U x ∪U y ), where U x is a set of components whose vector x is one, and E (U x ∩U y ). Is the number of elements of the intersection of U x and U y , E (U x
∪ U y ) is the number of elements in the union of U x and U y . The use of this set-theoretic similarity measure facilitates the calculation of the similarity measure.

【0016】実施例3.上記実施例1および2では類似
測度を用いて画像の色調の類似性を判定したが、本実施
例3ではキーカラーベクトル間の距離を用いる。ベクト
ルxとベクトルyの距離はその要素が0または1なので
ハミング距離を用いる。ハミング距離を次の数2に示
す。
Embodiment 3. In the first and second embodiments, the similarity measure is used to determine the similarity of the image color tones, but in the third embodiment, the distance between the key color vectors is used. The Hamming distance is used as the distance between the vector x and the vector y because its element is 0 or 1. The Hamming distance is shown in Equation 2 below.

【0017】[0017]

【数2】 [Equation 2]

【0018】距離が短いほどベクトル間すなわち画像間
は類似しているとする。
It is assumed that the shorter the distance is, the more similar the vectors are, that is, the images are.

【0019】類似性の判定に距離を用いることによって
下記に示す三角不等式が成り立つので類似関係がより実
際の感覚に合致する。 d( x, y) +d( y, z) ≧d( x, y)
By using the distance to determine the similarity, the following triangular inequality holds, so that the similarity relationship more closely matches the actual feeling. d (x, y) + d (y, z) ≥ d (x, y)

【0020】実施例4.上記実施例1ではキーカラーベ
クトルの要素がキーカラーが含まれているか否かによっ
て1または0としていたが、本実施例4では、キーカラ
ーが含まれる度合によってその重みを要素に持つように
キーカラーベクトルを構成する。したがってキーカラー
ベクトルは以下に示す構成をとる。
Example 4. In the first embodiment, the element of the key color vector is set to 1 or 0 depending on whether or not the key color is included, but in the fourth embodiment, the key has a weight depending on the degree to which the key color is included. Construct a color vector. Therefore, the key color vector has the following configuration.

【0021】 vpi=(ωi 1,ωi 2,………,ωi M) i=1,2,………,N 但し、ωi uは画像pi がキーカラーru を持つ度合V pi = (ω i 1 , ω i 2 , ..., ω i M ) i = 1, 2, ..., N, where ω i u has an image p i with a key color r u degree

【0022】キーカラーベクトルの要素を重みで表現す
ることによって、画像の色調をより細かに表現すること
ができる。
By expressing the elements of the key color vector by weights, the color tone of the image can be expressed more finely.

【0023】ところで、キーカラーベクトルが重み表現
になった場合においても類似測度を距離に置き換えても
よいことは言うまでもない。この場合距離に次の数3に
示すユークリッド距離を用いる。
By the way, it goes without saying that the similarity measure may be replaced with the distance even when the key color vector is represented by the weight. In this case, the Euclidean distance shown in the following Expression 3 is used as the distance.

【0024】[0024]

【数3】 [Equation 3]

【0025】[0025]

【発明の効果】本発明は、以上説明したように構成され
ているので、以下に記載されたような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0026】画像の色調をキーカラーベクトルとして構
成し、キーカラーベクトルの類似性をコサイン類似測度
の算出結果によって判定したので、判定者の介在無しに
画像間の色調の類似性を判定できる。
Since the color tone of the image is formed as the key color vector and the similarity of the key color vector is determined by the calculation result of the cosine similarity measure, the similarity of the color tone between the images can be determined without the intervention of the determiner.

【0027】また、類似測度を集合論的類似測度を用い
ることによって、類似測度を算出するための装置が簡単
になり、算出速度すなわち判定速度が向上する。
Also, by using the set-theoretic similarity measure as the similarity measure, the apparatus for calculating the similarity measure is simplified and the calculation speed, that is, the judgment speed is improved.

【0028】また、類似性をベクトル間の距離を用いる
ことによって、より実際の感覚にあった類似性を提起で
きる。
Further, by using the distance between vectors as the similarity, it is possible to propose a similarity that is more realistic.

【0029】また、キーカラーベクトルを重み表現とす
ることによって画像の色調を細かに表現でき、類似性を
より細かに判定できる。
Further, by using the key color vector as the weight expression, the color tone of the image can be expressed in detail and the similarity can be determined more finely.

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

【図1】この発明の1実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】従来の画像の類似色調検索装置のブロック図で
ある。
FIG. 2 is a block diagram of a conventional image similar color tone search device.

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

1 制御部 2 画像蓄積部 3 表示部 5 類似色調判定部 1 control unit 2 image storage unit 3 display unit 5 similar color tone determination unit

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年6月8日[Submission date] June 8, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0013[Correction target item name] 0013

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0013】[0013]

【数1】 [Equation 1]

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像中にある色が含まれるか否かのコー
ドを持つキーカラーベクトルが付加された画像データを
記憶再生する画像蓄積部と、画像データを表示する表示
部と、画像の類似性をキーカラーベクトルのコサイン類
似測度を用いて算出する類似性判定部と、これらを制御
する制御部を備えたことを特徴とする画像の類似色調検
索装置。
1. An image storage unit for storing and reproducing image data to which a key color vector having a code indicating whether or not a certain color is included in the image is added, a display unit for displaying the image data, and image similarity. An image similar tone retrieving apparatus, comprising: a similarity determination unit that calculates a sex using a cosine similarity measure of a key color vector; and a control unit that controls the similarity determination unit.
【請求項2】 画像の類似性をキーカラーベクトルの集
合論的類似測度を用いて算出する手段を備えたことを特
徴とする請求項1記載の画像の類似色調検索装置。
2. The image similar color tone retrieving apparatus according to claim 1, further comprising means for calculating the image similarity by using a set-theoretic similarity measure of the key color vector.
【請求項3】 画像の類似性をキーカラーベクトル間の
距離を用いて算出する手段を備えたことを特徴とする請
求項1記載の画像の類似色調検索装置。
3. The image similar color tone retrieving apparatus according to claim 1, further comprising means for calculating similarity of images by using a distance between key color vectors.
【請求項4】 画像中に含まれる色の度合を重みとして
持つキーカラーベクトルが付加された画像データを記憶
する手段を備えたことを特徴とする請求項1記載の画像
の類似色調検索装置。
4. The image similar tone retrieving apparatus according to claim 1, further comprising means for storing image data to which a key color vector having a degree of a color included in the image as a weight is added.
JP4064659A 1992-03-23 1992-03-23 Similar color tone retrieving device for image Pending JPH05266091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4064659A JPH05266091A (en) 1992-03-23 1992-03-23 Similar color tone retrieving device for image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4064659A JPH05266091A (en) 1992-03-23 1992-03-23 Similar color tone retrieving device for image

Publications (1)

Publication Number Publication Date
JPH05266091A true JPH05266091A (en) 1993-10-15

Family

ID=13264568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4064659A Pending JPH05266091A (en) 1992-03-23 1992-03-23 Similar color tone retrieving device for image

Country Status (1)

Country Link
JP (1) JPH05266091A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000046748A1 (en) * 1999-02-05 2000-08-10 Samsung Electronics Co., Ltd. Color image processing method and apparatus thereof
US6778697B1 (en) 1999-02-05 2004-08-17 Samsung Electronics Co., Ltd. Color image processing method and apparatus thereof
JP2022532040A (en) * 2019-04-23 2022-07-13 ロレアル Machine image color extraction and machine image construction using the extracted colors

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000046748A1 (en) * 1999-02-05 2000-08-10 Samsung Electronics Co., Ltd. Color image processing method and apparatus thereof
US6778697B1 (en) 1999-02-05 2004-08-17 Samsung Electronics Co., Ltd. Color image processing method and apparatus thereof
US6853746B2 (en) 1999-02-05 2005-02-08 Samsung Electronics Co., Ltd. Color image processing method and apparatus thereof
JP2022532040A (en) * 2019-04-23 2022-07-13 ロレアル Machine image color extraction and machine image construction using the extracted colors

Similar Documents

Publication Publication Date Title
EP0990998A2 (en) Information search apparatus and method
KR100877457B1 (en) Signal processing device and method and recording medium for recording signal processing program
KR100852042B1 (en) Signal processor, signal processing method, and recording medium
US5416693A (en) Moving picture search support device
JPH05266091A (en) Similar color tone retrieving device for image
JPH1115834A (en) Picture processor and its controlling method
JP2829937B2 (en) Image search method and apparatus
JP2002073621A (en) Map information providing service method
JP3350594B2 (en) Search device
JP2000112959A (en) Information retrieval device/method
CN111164665B (en) Information processing device, information system, information processing method, and program
JPH05290094A (en) Retrieval device for similar tone of picture
CN111149145A (en) Information processing apparatus, information processing method, and program
JP2018197927A (en) Information processing apparatus, information processing system, information processing method and program
JPH10228429A (en) Information transmission system and data receiving terminal
JPH0981591A (en) Retrieval key registering method for picture data base
JPH0962590A (en) Method and device for multimedia data delivery
JPS63254856A (en) Image filing device
JPH0962709A (en) Device and method for image retrieval
JP2596740B2 (en) Image retrieval device
JPS613245A (en) Information processor
JP3003156B2 (en) Character processor
JPH0685176B2 (en) Image file device
JPH02253374A (en) Preparation method for picture data base
JPH07114573A (en) Picture retrieval device