JP3154007B2 - Color identification device - Google Patents

Color identification device

Info

Publication number
JP3154007B2
JP3154007B2 JP30020591A JP30020591A JP3154007B2 JP 3154007 B2 JP3154007 B2 JP 3154007B2 JP 30020591 A JP30020591 A JP 30020591A JP 30020591 A JP30020591 A JP 30020591A JP 3154007 B2 JP3154007 B2 JP 3154007B2
Authority
JP
Japan
Prior art keywords
color
degree
belonging
graph
identification device
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
JP30020591A
Other languages
Japanese (ja)
Other versions
JPH05133809A (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.)
Kanagawa Prefecture
Original Assignee
Kanagawa Prefecture
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 Kanagawa Prefecture filed Critical Kanagawa Prefecture
Priority to JP30020591A priority Critical patent/JP3154007B2/en
Publication of JPH05133809A publication Critical patent/JPH05133809A/en
Application granted granted Critical
Publication of JP3154007B2 publication Critical patent/JP3154007B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、色識別対象物の色を
測定し、それが複数の基準色のどれに帰属するかを識別
する色識別装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color discriminating apparatus for measuring the color of a color discrimination object and discriminating to which of a plurality of reference colors it belongs.

【0002】[0002]

【従来の技術】従来のRGB方式の色識別装置では、色
識別対象物の色が複数の基準色のいずれに帰属するかを
識別する場合、つぎの要領で行っている。まず、あらか
じめ必要な全ての基準色について色センサの赤,緑,青
の色成分信号R,G,Bを測定し、次の4つの式で表さ
れる値を色情報として求め、登録しておく。
2. Description of the Related Art In a conventional RGB color identification device, the following procedure is used to identify to which of a plurality of reference colors a color of a color identification object belongs. First, red, green, and blue color component signals R, G, and B of the color sensor are measured for all necessary reference colors in advance, and values represented by the following four equations are obtained and registered as color information. deep.

【0003】S=R+G+B X=R/S Y=G/S Z=B/S ついで、このS,X,Y,Zの各値に対して許容値を設
定する。色識別では、色識別対象物の色を測定し、その
色についてのS,X,Y,Zの全ての値が前記許容値の
範囲に入っている基準色を検索し、該当する色を出力す
る。
S = R + G + B X = R / S Y = G / S Z = B / S Then, allowable values are set for the respective values of S, X, Y and Z. In color identification, a color of an object to be color-identified is measured, and a reference color in which all the values of S, X, Y, and Z for the color fall within the allowable value range is searched, and the corresponding color is output. I do.

【0004】[0004]

【発明が解決しようとする課題】しかし、従来の色識別
装置では、S,X,Y,Zの許容値が大きいと、色識別
対象物の色が複数出力されたり、逆に、この許容値が小
さいと、全く出力されなかったりする。
However, in the conventional color discriminating apparatus, if the permissible values of S, X, Y, and Z are large, a plurality of colors of the color discrimination object are output, or conversely, the permissible If is small, no output may be obtained.

【0005】このため、従来の色識別装置では、用途,
使用条件に合せて許容値を調整しなければならない煩わ
しさがあった。したがって、汎用性に欠けるところがあ
った。
[0005] For this reason, in the conventional color discriminating apparatus, the purpose,
There was a trouble that the allowable value had to be adjusted according to the use conditions. Therefore, there has been a lack of versatility.

【0006】この発明は、このような従来の問題点を解
決するためになされたもので、1台の装置で、調整なし
で色識別対象物の色を複数の基準色の中の1つであると
識別することができ、したがって、汎用性のある色識別
装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem. In one apparatus, the color of a color identification object can be changed to one of a plurality of reference colors without adjustment. An object of the present invention is to provide a versatile color identification device that can be identified as being.

【0007】[0007]

【課題を解決するための手段】この発明に係る色識別装
置は、被識別色の色情報(X,Y,Z)と基準色の色情
報(X,Y,Z)をそれぞれ比較してその中から最も違
いがある色情報を選び、その違いに応じて被識別色の全
ての基準色に対する帰属度を決め、すなわち、違いが大
きいほど帰属度が小さく、違いが小さいほど帰属度を大
きいと決め、被識別色が帰属度の最も大きな基準色に帰
属すると識別する色識別手段を備えたものである。
SUMMARY OF THE INVENTION A color identification apparatus according to the present invention compares color information (X, Y, Z) of a color to be identified with color information (X, Y, Z) of a reference color. Choose the color information that has the most difference from among them, and determine the degree of belonging to all the reference colors of the identified color according to the difference, that is, the larger the difference, the smaller the degree of belonging It is provided with color identification means for identifying that the color to be identified belongs to the reference color having the highest degree of belonging.

【0008】[0008]

【作用】上記の色識別手段を備えた色識別装置では、被
識別色は、その色の各基準色への帰属度の比較で識別す
るので、答がほとんど1つに決まる。
In the color discriminating apparatus provided with the above-described color discriminating means, the discriminated color is discriminated by comparing the degree of belonging of each color to each reference color, so that the answer is almost one.

【0009】[0009]

【実施例】以下、この発明の実施例を図によって説明す
る。図1は、実施例による色識別装置の電気的構成を示
す。センサヘッド1では、ハロゲンランプ2から出た標
準光をレンズ3で集光して色識別対象物4に当て、その
反射光を酸化チタン/セレン色センサ5で受けて、その
出力電流をプリアンプ6で電圧に変換して色成分信号
R,G,Bを得る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an electrical configuration of a color identification device according to an embodiment. In the sensor head 1, the standard light emitted from the halogen lamp 2 is condensed by the lens 3 and applied to the color identification object 4, the reflected light is received by the titanium oxide / selenium color sensor 5 and the output current is To obtain color component signals R, G, B.

【0010】装置本体7では、この信号をA/Dコンバ
ータ8でA/D変換してCPU9に送る。CPU9は、
メモリ10に書かれている処理手順とデータベースによ
り、種々の演算をして色識別を行う。なお、メモリ10
には、あらかじめ必要な全ての基準色について前述した
S,X,Y,Zの4つの式で表される値が色情報として
登録してある。このとき、動作状態をインターフェース
11を介して、モード切替スイッチ12と基準色登録ス
イッチ13で入力し、液晶表示器14に出力する。ま
た、装置本体7には、回路用電源15とランプ用電源1
6も組み込まれており、パワースイッチ17でON,O
FFする。
In the apparatus main unit 7, this signal is A / D converted by the A / D converter 8 and sent to the CPU 9. CPU 9
Various operations are performed based on the processing procedure and the database written in the memory 10 to perform color identification. Note that the memory 10
, Values represented by the above-described four formulas of S, X, Y, and Z for all necessary reference colors are registered as color information in advance. At this time, the operation state is input via the interface 11 by the mode change switch 12 and the reference color registration switch 13, and is output to the liquid crystal display 14. The apparatus main body 7 includes a circuit power supply 15 and a lamp power supply 1.
6 is also incorporated, and is turned ON and O by the power switch 17.
FF.

【0011】次に、CPU9による処理手順を図2によ
って説明する。まず、システムを初期化し(ステップ
1)、モード切替スイッチ12が基準色設定モードのと
きは(ステップ2)、基準色の名前を液晶表示器14に
表示する(ステップ3)。基準色登録スイッチ13が登
録になると(ステップ4)、基準色からの反射光を受け
た色センサ5の色成分信号R,G,Bを取り込み(ステ
ップ5)、X,Y,Zを計算してその値を記憶し(ステ
ップ6)、登録されたことを液晶表示器14に表示する
(ステップ7)。基準色登録スイッチ13が準備になる
と(ステップ8)、次の基準色の登録作業に入る。
Next, a processing procedure by the CPU 9 will be described with reference to FIG. First, the system is initialized (step 1). When the mode changeover switch 12 is in the reference color setting mode (step 2), the name of the reference color is displayed on the liquid crystal display 14 (step 3). When the reference color registration switch 13 is registered (step 4), the color component signals R, G, and B of the color sensor 5 receiving the reflected light from the reference color are taken in (step 5), and X, Y, and Z are calculated. Then, the value is stored (step 6), and the registration is displayed on the liquid crystal display 14 (step 7). When the reference color registration switch 13 is ready (step 8), the operation for registering the next reference color is started.

【0012】モードスイッチ12が色識別モードになる
と(ステップ2,9)、色識別対象物4からの反射光を
受けた色センサ5の色成分信号R,G,Bを取り込み
(ステップ10)、X,Y,Zを計算する(ステップ1
1)。メモリ10に記憶してある1つの基準色のX,
Y,Zの値を読み込み(ステップ12)、測定色のその
基準色に対する帰属度を計算する(ステップ13)。ス
テップ12,13を全ての基準色について繰り返し行い
(ステップ14)、帰属度の最も大きな基準色を選んで
(ステップ15)、結果を液晶表示器14に表示する
(ステップ16)。
When the mode switch 12 is set to the color identification mode (steps 2 and 9), the color component signals R, G and B of the color sensor 5 receiving the reflected light from the color identification object 4 are taken in (step 10). Calculate X, Y, Z (Step 1)
1). X of one reference color stored in the memory 10,
The values of Y and Z are read (step 12), and the degree of belonging of the measured color to the reference color is calculated (step 13). Steps 12 and 13 are repeated for all the reference colors (step 14), the reference color having the highest degree of belonging is selected (step 15), and the result is displayed on the liquid crystal display 14 (step 16).

【0013】ステップ12〜15の色識別方法につい
て、図3を用いて詳しく説明する。ここでは基準色がA
とBの2色あるとする。グラフ21は基準色AのXにつ
いての帰属度関数であり、縦軸が基準色Aに対する帰属
度、横軸がXである。基準色Aを測定して求めたXを帰
属度1として、グラフ21の頂点にとる。実施例では帰
属度関数の形を三角形とし、底辺の幅を一律に0.5と
した。デジタル処理する際の量子化精度は三角形の高
さ、底辺とも32段階とした。同様に、グラフ22は基
準色AのYについての帰属度関数、グラフ23は基準色
AのZについての帰属度関数、グラフ25は基準色Bの
Xについての帰属度関数、グラフ26は基準色BのYに
ついての帰属度関数、グラフ27は基準色BのZについ
ての帰属度関数である。
The color identification method of steps 12 to 15 will be described in detail with reference to FIG. Here, the reference color is A
And B are two colors. The graph 21 is a membership function for the reference color A with respect to X, in which the vertical axis represents the membership degree of the reference color A and the horizontal axis represents X. X obtained by measuring the reference color A is set as the degree of belonging 1 and is taken at the top of the graph 21. In the embodiment, the shape of the membership function is a triangle, and the width of the base is uniformly 0.5. The quantization precision at the time of digital processing was set to 32 levels for both the height and the base of the triangle. Similarly, graph 22 is a membership function for Y of reference color A, graph 23 is a membership function for Z of reference color A, graph 25 is a membership function for X of reference color B, and graph 26 is a reference color The membership function for B with respect to Y, and graph 27 is the membership function for reference color B with respect to Z.

【0014】いま、色識別対象物の色を測定し、そのX
の値がグラフ21とグラフ25の縦の破線、Yの値がグ
ラフ22とグラフ26の縦の破線、Zの値がグラフ23
とグラフ27の縦の破線で示されるものであるとする。
グラフ21上でこのXがとる値、グラフ22上でこのY
がとる値、グラフ23上でこのZがとる値が横の破線で
示されているが、この3つを比較して最も小さい値をこ
の被識別色の基準色Aに対する帰属度とする。それがグ
ラフ24である。この例ではXについての帰属度を採用
している。同様にして、被識別色の基準色Bに対する帰
属度は、グラフ25〜グラフ27をみるとZについての
帰属度が最も小さいのでこれを採用して、グラフ28の
ように求まる。グラフ24とグラフ28を比較した場
合、基準色Bに対する帰属度の方が大きいので、色識別
対象物の色は基準色Bと識別される。
Now, the color of the color identification object is measured, and its X
Is the vertical dashed line between the graphs 21 and 25, the Y value is the vertical dashed line between the graphs 22 and 26, and the Z value is the graph 23.
And a vertical dashed line in the graph 27.
The value of this X on graph 21 and the value of Y on graph 22
The value taken by Z and the value taken by Z on the graph 23 are shown by a horizontal broken line. The three values are compared, and the smallest value is set as the degree of belonging of the identified color to the reference color A. That is graph 24. In this example, the degree of belonging to X is adopted. Similarly, the degree of belonging of the discriminated color to the reference color B is determined as shown in a graph 28 by adopting the lowest degree of belonging to Z in the graphs 25 to 27 since it is the smallest. When the graph 24 and the graph 28 are compared, since the degree of belonging to the reference color B is larger, the color of the color identification object is identified as the reference color B.

【0015】この色識別装置は一実施例に過ぎない。色
センサをシリコン色センサなど他のものに置き換えても
良いし、3色センサに限らず2色センサやもっと多色の
センサでも良い。ハロゲンランプの代わりにキセノンラ
ンプを用いることもできる。光学系や電気的構成、処理
手順も上記のものに限定されない。また、帰属度関数に
ついてもさまざまな形がある。上記の三角形と形の異な
る三角形でも良いし、台形でも曲線のグラフで表れるも
のでも良い。X,Y,Zで形の異なる関数にすることも
できる。帰属度関数の高さと幅の量子化精度も上記のも
のに限らない。
This color identification device is only one embodiment. The color sensor may be replaced by another sensor such as a silicon color sensor, and not limited to the three-color sensor, but may be a two-color sensor or a sensor of more colors. A xenon lamp can be used instead of a halogen lamp. The optical system, electrical configuration, and processing procedure are not limited to those described above. There are various forms of membership function. A triangle having a shape different from the above-mentioned triangle may be used, and a trapezoid or a graph that is represented by a curve may be used. X, Y, and Z can be different functions. The quantization accuracy of the height and width of the membership function is not limited to the above.

【0016】[0016]

【発明の効果】以上説明したように、この発明による色
識別装置は、いかなる状況の下でも、色識別対象物の色
を複数の基準色の中の1つであると識別することができ
る。したがって、1台の装置を調整なしにいろいろな用
途に使用できる効果がある。
As described above, the color identification device according to the present invention can identify the color of the color identification object as one of the plurality of reference colors under any circumstances. Therefore, there is an effect that one device can be used for various purposes without adjustment.

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

【図1】 実施例の電気的構成を示すブロック図FIG. 1 is a block diagram showing an electrical configuration of an embodiment.

【図2】 実施例の動作を示すフローチャートFIG. 2 is a flowchart showing the operation of the embodiment.

【図3】 実施例における色識別方法の説明図FIG. 3 is an explanatory diagram of a color identification method in the embodiment.

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

1 センサヘッド 2 ハロゲンランプ 3 レンズ 4 色識別対象物 5 酸化チタン/セレン色センサ 6 プリアンプ 7 装置本体 8 A/Dコンバータ 9 CPU 10 メモリ 11 インターフェース 12 モード切替スイッチ 13 基準色登録スイッチ 14 液晶表示器 15 回路用電源 16 ランプ用電源 17 パワースイッチ DESCRIPTION OF SYMBOLS 1 Sensor head 2 Halogen lamp 3 Lens 4 Color identification object 5 Titanium oxide / selenium color sensor 6 Preamplifier 7 Main body 8 A / D converter 9 CPU 10 Memory 11 Interface 12 Mode switch 13 Reference color registration switch 14 Liquid crystal display 15 Circuit power supply 16 Lamp power supply 17 Power switch

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小林 賢 神奈川県横浜市神奈川区白幡上町225番 地 (72)発明者 山中 守秀 神奈川県横浜市戸塚区戸塚町205番地 株式会社モリリカ研究部内 (72)発明者 堀田 優 神奈川県横浜市戸塚区戸塚町205番地 株式会社モリリカ研究部内 (72)発明者 口 武夫 神奈川県横浜市戸塚区戸塚町205番地 株式会社モリリカ研究部内 (56)参考文献 特開 昭63−145928(JP,A) 特開 平3−27442(JP,A) 特開 平3−43827(JP,A) 特開 平3−214237(JP,A) 特開 平2−93940(JP,A) 特開 平2−280019(JP,A) 特開 平3−218425(JP,A) 特開 昭60−171424(JP,A) 特開 昭63−163219(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01J 3/00 - 3/52 G06F 9/44 G01N 21/00 - 21/74 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Satoshi Kobayashi 225 Shirahatakami-cho, Kanagawa-ku, Yokohama-shi, Kanagawa-ken Inventor Yu Hotta 205 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside the Moririka Research Department, Inc. JP-A-145928 (JP, A) JP-A-3-27442 (JP, A) JP-A-3-43827 (JP, A) JP-A-3-214237 (JP, A) JP-A-2-93940 (JP, A) JP-A-2-280019 (JP, A) JP-A-3-218425 (JP, A) JP-A-60-171424 (JP, A) JP-A-63-163219 (JP, A) (58) Field (Int.Cl. 7, DB name) G01J 3/00 - 3/52 G06F 9/44 G01N 21/00 - 21/74 JICST file (JOIS)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 色識別対象物からの光を色センサにて受
け、色センサから出力される複数の色成分信号あるいは
これらの値を基に演算して得られる複数の色情報を、複
数の基準色の色情報と比較して色識別を行う色識別装置
であって、被識別色と基準色の色情報を比較して最も違
いのある色情報を選んで、その違いの程度に応じて被識
別色の全ての基準色に対する帰属度を決め、被識別色が
全ての基準色の中で最も帰属度の大きな基準色に帰属す
ると識別する色識別手段を備えていることを特徴とする
色識別装置。
A color sensor receives light from a color identification object, and outputs a plurality of color component signals output from the color sensor or a plurality of color information obtained by calculating based on these values. A color identification device that performs color identification by comparing with color information of a reference color, selects color information that has the most difference by comparing color information of a color to be identified and color information of a reference color, and selects color information that is the most different according to the degree of the difference. A color identifying means for determining the degree of belonging of the discriminated color to all reference colors and including color discriminating means for discriminating that the discriminated color belongs to the reference color having the largest degree of belonging among all the reference colors. Identification device.
JP30020591A 1991-11-15 1991-11-15 Color identification device Expired - Fee Related JP3154007B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30020591A JP3154007B2 (en) 1991-11-15 1991-11-15 Color identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30020591A JP3154007B2 (en) 1991-11-15 1991-11-15 Color identification device

Publications (2)

Publication Number Publication Date
JPH05133809A JPH05133809A (en) 1993-05-28
JP3154007B2 true JP3154007B2 (en) 2001-04-09

Family

ID=17881993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30020591A Expired - Fee Related JP3154007B2 (en) 1991-11-15 1991-11-15 Color identification device

Country Status (1)

Country Link
JP (1) JP3154007B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8992806B2 (en) 2003-11-18 2015-03-31 Honeywell International Inc. Antireflective coatings for via fill and photolithography applications and methods of preparation thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8992806B2 (en) 2003-11-18 2015-03-31 Honeywell International Inc. Antireflective coatings for via fill and photolithography applications and methods of preparation thereof

Also Published As

Publication number Publication date
JPH05133809A (en) 1993-05-28

Similar Documents

Publication Publication Date Title
US5694227A (en) Method and apparatus for calibrating and adjusting a color imaging system
JPH0682385B2 (en) Color vision converter
JP3154007B2 (en) Color identification device
EP1054560A2 (en) Spectrum inverter apparatus and method
JPH1098741A (en) Circuit and method for compensating color image quality
JPS63114390A (en) Color measuring circuit
JP2723687B2 (en) Test equipment for driving circuits for display devices
JPH10187972A (en) Discriminating method for light source color
JPS58186291A (en) Gradation converting method of color video signal
JPS62133883A (en) Color television camera
JP4082166B2 (en) Photodetection device, projector, photodetection method, program, and recording medium
JP2001143075A (en) Template-matching method
JP2745604B2 (en) Color image converter
JPS63163219A (en) Generating device for color discrimination reference
JPH0634509B2 (en) White balance correction circuit
JPH1048048A (en) Method and device for image evaluation and pattern for measuring image flare used in the method and device
JP4267220B2 (en) Light source discrimination method and apparatus, subject identification method and apparatus, and program
JPS62229478A (en) Picture processor
JPS60186722A (en) Simple color discriminating device
JP2004321659A (en) Quantitative measurement system and optical self evaluation system of color vision characteristic and its method and program
JP2000341704A (en) Device for detecting target position of color image
JPH10153484A (en) Color measuring device
RU2063063C1 (en) Method and device for measurement and/or quantitative representation of color quality
JP2002131825A (en) Display device within finder
JPH04279807A (en) Shape measuring device

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: 20001128

LAPS Cancellation because of no payment of annual fees