JPS63145928A - Color identifier - Google Patents

Color identifier

Info

Publication number
JPS63145928A
JPS63145928A JP29249486A JP29249486A JPS63145928A JP S63145928 A JPS63145928 A JP S63145928A JP 29249486 A JP29249486 A JP 29249486A JP 29249486 A JP29249486 A JP 29249486A JP S63145928 A JPS63145928 A JP S63145928A
Authority
JP
Japan
Prior art keywords
color
discrimination
color component
memory
value
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
JP29249486A
Other languages
Japanese (ja)
Inventor
Fujio Hirose
廣瀬 不二夫
Kazuhiko Mori
和彦 森
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP29249486A priority Critical patent/JPS63145928A/en
Publication of JPS63145928A publication Critical patent/JPS63145928A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need for inputting an allowable discrimination value by an operator, by storing the allowable discrimination value for the formulation of a discrimination reference into a memory beforehand, instead of requiring an operator to input it at each teaching. CONSTITUTION:Lights different in color detected with light receiving elements 11-13 are outputted as color signal components R, G and B from a color sensor 10 via an amplification circuit 14, switched sequentially with a multiplexer 16 and stored into a memory 21 after being taken into a CPU 20 via an A/D converter 24. Then, the total value of the color signal components is computed with the CPU 20 and stored into the memory 21. Subsequently, allowable discrimination values are read out corresponding to the color component signals and the total value at levels of the signals to calculate upper and lower discrimination values. From the results of the calculation, upper and lower limit values are stored into the memory 21 in the form of a table as discrimination reference for color samples. This eliminates the need for inputting required data by an operator at each teaching which repares a reference to discriminate color of an object to be identified thereby reducing working time.

Description

【発明の詳細な説明】 発明の背景 技術分野 この発明は色識別装置に関する。[Detailed description of the invention] Background of the invention Technical field This invention relates to a color identification device.

従来技術とその問題点 従来の色識別装置の1つに1色を識別すべき対象の色サ
ンプルをあらかじめ色センサに検知させ(以下、この作
業をティーチングという)1色センサから出力される色
成分信号を基に判別基準を作成するものがある。彼色詭
別物についての色センサから出力される色成分信号とこ
のようにして作成された判別基準との比較照合によって
色サンプルと同じ色であるかどうかを判定する。従来の
色識別装置においては2判別基準を作成するために必要
な判別許容値を操作員が手動操作によって装置に入力す
る必要があった。
Conventional technology and its problems One of the conventional color identification devices is to have a color sensor detect in advance a color sample of the object to be identified (hereinafter, this work is referred to as "teaching"), and the color components output from the single color sensor. Some methods create discrimination criteria based on signals. It is determined whether the color is the same as the color sample by comparing the color component signal outputted from the color sensor for the object to be judged with the discrimination standard created in this way. In a conventional color identification device, an operator had to manually input the discrimination tolerance values necessary for creating two discrimination criteria into the device.

すなわちティーチングにおいて色センサに色サンプルが
提示されると2色センサから色成分信号、たとえばR(
赤)、G (緑)およびB1(青)の色成分信号が出力
され1色識別装置の制御装置(一般にマイクロ・プロセ
ッサを含む)に入力される。この制御装置ではこれらの
合計S  −R+G  +8  が算出される。続いて
That is, when a color sample is presented to the color sensor during teaching, a color component signal, for example R(
The color component signals of red), G (green), and B1 (blue) are output and input to a controller (typically including a microprocessor) of a one-color discrimination device. This control device calculates the total S −R+G +8. continue.

1      1     .1      1これら
の値に基づいて色成分データX  −R/S、、Y  
−G  /S  およびZ  −B  /5が算出され
る。一方、操作員によって上記各色成分データと色成分
信号の合計値S とに対する判を 別許容値xp、yp、zpおよびSP(%)が入力され
る。制御装置では、これらのデータに基づいて次のよう
にして色識別のための判別)i、4Iすなわち判別上限
値と下限値とが作成される。
1 1. 1 1 Based on these values, color component data X -R/S,,Y
-G/S and Z-B/5 are calculated. On the other hand, the operator inputs the permissible values xp, yp, zp, and SP (%) for each of the color component data and the total value S of the color component signals. In the control device, based on these data, determinations i and 4I for color identification, that is, determination upper and lower limit values are created as follows.

判別上限値  X   −Xt (1+XP/100)
ax Y   −Yt (1+YP/100)l1ax Z   −Z  (1+ZP/100)IIlax  
    t S   −9(i+SP/1001 00)       を 判別下限値  X  、  −X  (1−XP/10
0)fflln       t Y    −Y   (1−YP/100100)  
    t Z    −Z   (1−ZP/100)偲in  
    t S   −8(1−3P/100) 麿in      t これらの値は、制御装置のメモリに記憶される。
Upper limit of discrimination X -Xt (1+XP/100)
ax Y -Yt (1+YP/100)l1ax Z -Z (1+ZP/100)IIlax
Lower limit value for determining t S -9 (i+SP/1001 00) X, -X (1-XP/10
0) ffllnt Y -Y (1-YP/100100)
t Z -Z (1-ZP/100) in
t S -8 (1-3P/100) Marin t These values are stored in the memory of the controller.

色識別処理において、被色識別物が色センサに検知され
1色センサから色成分信号が出力されると、これらの色
成分信号R,G、Bおよびその合計値5(−R+G+B
)から2色成分データX−R/S、Y−G/S、Z−B
/Sが演算され、上記判別基準を用いて下記の比較照合
が行なわれる。
In color identification processing, when a colored object is detected by a color sensor and a color component signal is output from one color sensor, these color component signals R, G, B and their total value 5 (-R+G+B
) from two color component data X-R/S, Y-G/S, Z-B
/S is calculated, and the following comparison and verification is performed using the above-mentioned discrimination criteria.

X<X<Xff1ax o+In Y<Y<YIIla工 謹In Z<Z<ZIIlax in s   < s < s 、、。X<X<Xff1ax o+In Y<Y<YIIla 工 Respectfully In Z<Z<ZIIlax in s < s < s,,.

in 色の判定はこれらの条件を満たすかどうかで行なわれる
。全ての条件満たした場合に、その被色識別物は上記判
別基準データを作成するための基礎となった色サンプル
の色と同じ色であると判定される。
The in color is determined based on whether these conditions are satisfied. If all the conditions are met, it is determined that the colored object is the same color as the color sample that is the basis for creating the discrimination reference data.

上述のような従来の色識別装置では、ティーチング時に
色成分信号の判別許容値XP、YP。
In the conventional color identification device as described above, the permissible discrimination values XP and YP of color component signals are determined during teaching.

ZPおよびSPを操作員が人力しなければならない。操
作員が自由にこの値を決めることができるといっても容
品に決定できないことが多く、またfilを基準に判断
してよいか分らず、さらに複数の色サンプルがある場合
は入力データか多数にのぼることもある。このため操作
者は試行錯誤を繰り返すなど2時間と手間がかかるとい
う問題があった。
An operator must manually operate ZP and SP. Even if the operator can freely decide this value, there are many cases in which the operator cannot determine the value based on the product, and is not sure whether to make a judgment based on fil, and if there are multiple color samples, it may be difficult to determine the input data. Sometimes there are many. For this reason, there was a problem in that the operator had to repeat trial and error, which took two hours and time.

発明の概要 発明の目的 この発明は、被色識別物の色を判定するための基準を作
成するティーチングにおいて操作員がそのためのデータ
を入力する必要がない色忠別装置を提供することを目的
とする。
Summary of the Invention Purpose of the Invention The object of the present invention is to provide a color discrimination device that does not require an operator to input data for teaching to create a standard for determining the color of an object to be identified. .

発明の構成および効果 この発明は色センサの出力に基づいて、彼色謂別物の色
をその組合せによって表わす複数の色b>。
Structure and Effects of the Invention The present invention uses a plurality of colors to represent different colors by combinations thereof based on the output of a color sensor.

分データを作成する手段と、所定の色サンプルに対して
上記作成手段により作成された複数の色成分データを基
に、被色識別物の色を識別するための判別基準を設定し
て記憶する記憶手段と。
a means for creating component data, and a discrimination criterion for identifying the color of the object to be colored based on a plurality of color component data created by the creating means for a predetermined color sample and storing the same. and memory means.

被色識別物に対して上記作成手段により作成された複数
の色成分データと上記記憶手段に記憶されている判別基
準との照合によって1判別基準によって特定された色で
あるかどうかを判定して色識別信号を出力する手段とを
備えた色識別装置に適用される。そしてこの発明の色識
別装置においては1色センサの出力レベルに関する値に
応じてあらかじめ設定された判別許容値を記憶する記憶
手段、および所定の色サンプルに対して上記作成手段に
より作成された複数の色成分データとこの色成分データ
を作成するための色センサの出力レベルに関する値に対
して設定されている」−2判別許容値とから一定の幅を
もつ色識別のための判別基準条件を作成する手段が設け
られている。
Determining whether or not the color is specified by one discrimination criterion by comparing the plurality of color component data created by the above-mentioned creation means with respect to the color identification object with the discrimination criteria stored in the above-mentioned storage means. The present invention is applied to a color identification device including means for outputting a color identification signal. The color identification device of the present invention includes a storage means for storing a discrimination tolerance value set in advance according to a value related to the output level of one color sensor, and a plurality of discrimination tolerance values created by the above creation means for a predetermined color sample. Create a discrimination standard condition for color discrimination with a certain width from the color component data and the "-2 discrimination tolerance value set for the value related to the output level of the color sensor for creating this color component data." There are means to do so.

この発明では、ティーチング時において操作員が入力し
なければならなかった判別基準作成のための判別許容値
があらかじめメモリに記憶されているため、この判別許
容値の入力は不要となり操作員は色サンプルを色センサ
の検知範囲にセツティングする一連の作業を行なうのみ
でよいようになる。したがって、従来のように判別許容
値をいくらにすればよいか試行錯誤を繰り返す必要もな
くティーチングに要していた時間が短縮される。また、
複雑なキー操作も特別な知識をも要求されないため、一
連の作業に熟達した者以外の者でも使用できるという効
果を奏する。さらにこの発明では上記の判別許容値が一
連の同じ値に定められているのではなく2色センサの色
成分信号のレベルに関する値に応じて設定されているか
ら。
In this invention, since the discrimination tolerance value for creating discrimination criteria, which the operator had to input during teaching, is stored in memory in advance, it is not necessary to input this discrimination tolerance value, and the operator can input the color sample. All that is required is a series of steps to set the color within the detection range of the color sensor. Therefore, there is no need to repeat trial and error to find out how much to set the discrimination tolerance as in the past, and the time required for teaching can be shortened. Also,
Since neither complicated key operations nor special knowledge are required, the system can be used even by people who are not experts in the series of operations. Furthermore, in the present invention, the above-mentioned discrimination tolerance value is not set as a series of the same values, but is set according to a value related to the level of the color component signal of the two-color sensor.

色センサの出力レベルに応じてノイズ成分の割合(S/
N比)が異なる実情に即しており、精度の高い色識別が
期待できる。
The noise component ratio (S/
This is in accordance with the actual situation where the N ratio) is different, and highly accurate color identification can be expected.

実施例の説明 以下1図面を参照してこの発明の実施例について詳述す
る。
DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to one drawing.

第1図は2色識別装置全体の電気的構成を示すものであ
る。
FIG. 1 shows the electrical configuration of the entire two-color identification device.

第1図において1色センサ10は光源一体型のもので、
3つの受光素子11〜13.各受光素子11〜13の出
力信号(色成分信号)をそれぞれ増幅する増幅回路14
および光源15を含んでいる。受光素子11〜13の前
面には、それぞれ異なる特定の色を表わす波長帯域の光
を通過させるフィルタがそれぞれ設けられており、これ
らの受光素子11〜13は、それぞれ異なる色の光を検
知し、その光の強度に応じた出力信号を出力する。これ
らの出力信号は。
In FIG. 1, the one-color sensor 10 is one with an integrated light source.
Three light receiving elements 11-13. Amplification circuit 14 that amplifies the output signal (color component signal) of each light receiving element 11 to 13, respectively.
and a light source 15. A filter is provided on the front surface of each of the light receiving elements 11 to 13 to pass light in a wavelength band representing a different specific color, and each of these light receiving elements 11 to 13 detects light of a different color, It outputs an output signal according to the intensity of the light. These output signals are:

たとえばR(赤)、G(緑)およびB(青)の色成分を
それぞれ表わす。第1図においては、増幅されたのちの
色成分信号もR,GおよびBで表わされている。光?R
15としては、好ましくは白色光を発生するものがよい
。図示は省略されているが、光源15および受光素子1
1〜13の前面には、レンズ等からなる集光光学系が設
けられ、また必要ならば赤外線遮断フィルタ等も配備さ
れよう。受光素子11〜13はそれぞれ別体に形成され
たものでもよいし、1つの基板−ににそれに対応するフ
ィルタとともにモノリシカリイに作製されたものを使用
してもよい。光源15を色センサ10に含めず、別途に
設けてもよい。
For example, they represent the color components of R (red), G (green), and B (blue), respectively. In FIG. 1, color component signals after being amplified are also represented by R, G, and B. light? R
15 is preferably one that generates white light. Although not shown, the light source 15 and the light receiving element 1
A condensing optical system consisting of a lens or the like is provided on the front surface of each of the sensors 1 to 13, and an infrared cutoff filter or the like may be provided if necessary. The light-receiving elements 11 to 13 may be formed separately, or may be monolithically manufactured on one substrate together with a corresponding filter. The light source 15 may not be included in the color sensor 10 but may be provided separately.

色センサlOから出力される色成分信号R,G。Color component signals R and G output from the color sensor IO.

Bはマルチプレクサ16によって順次切換えられ。B are sequentially switched by the multiplexer 16.

A/D変換器24でディジタル信号に変換されたのち、
CPU20に取込まれる。便宜的にディジタル信号に変
換された色成分信号もR,G、Bで表わす。この実施例
では、増幅回路14の増幅率を調整することによって、
白色の色サンプルに対する色成分信号R,G、Bは同一
レベルであり、たとえばこれを4Vとする。白色に対す
る色成分信号を同一レベルに調整することはCPU20
内部におけるソフトウェア処理によっても行なうことが
できる。
After being converted into a digital signal by the A/D converter 24,
It is taken into the CPU 20. For convenience, color component signals converted into digital signals are also expressed as R, G, and B. In this embodiment, by adjusting the amplification factor of the amplifier circuit 14,
The color component signals R, G, and B for the white color sample are at the same level, for example, 4V. The CPU 20 adjusts the color component signals for white to the same level.
This can also be done by internal software processing.

CPU20は、CRTや表示灯を含む表示装置22、キ
ーボード23.および実行プログラムとティーチング時
に検索される判別許容値を記憶したデータ・テーブルと
を格納しているメモリ21を備えている。また、このメ
モリ2Iは、ティーチングによって作成された複数の判
別基準データをテーブルとして記憶するエリアと色サン
プルおよび被色識別物から検出した色成分信号等を記憶
するエリアとを有している。
The CPU 20 includes a display device 22 including a CRT and an indicator light, a keyboard 23 . It also includes a memory 21 that stores an execution program and a data table storing discrimination tolerance values searched during teaching. The memory 2I also has an area for storing a plurality of discrimination reference data created by teaching as a table, and an area for storing color samples, color component signals detected from the object to be identified, and the like.

上記判別許容値のデータ・テーブルは第4図に示すメモ
リ構成をもち、ティーチングのとき色センサ10から出
力される色成分信号R、G  。
The discrimination tolerance data table has a memory configuration shown in FIG. 4, and includes color component signals R and G output from the color sensor 10 during teaching.

B およびこれらの合計値S の種類毎に対応しj  
          t て設けられている。第4図において2色成分信号R,,
C;  およびB とこれらの合計値S とに対応した
データ・テーブル51〜54には、それぞれのテーブル
番地を記憶したアドレス・テーブルが設けられ、各デー
タ俸テーブル51〜54はこのアドレス・テーブル55
から読出したアドレスを用いて検索される。色センサ1
0の色成分信号レベルの変化範囲(θ〜4V)はn個(
この実施例ではRlG、Bに対しては5個、Sに対して
は4個)のレベル・ゾーンに分割されており1判別許容
値(%)はこれらのレベル・ゾーンごとに設定され、こ
れらは、異なる値をとる。したがって各データ・テーブ
ル51〜54には、各レベル・ゾーンごとにそのゾーン
の範囲を定める上限値と下限値、およびそのゾーンの判
別許容値が記憶されている。
Corresponding to each type of B and their total value S, j
t is provided. In Fig. 4, two color component signals R, ,
The data tables 51 to 54 corresponding to C; and B and their total value S are provided with an address table storing the respective table addresses, and each data salary table 51 to 54 is stored in this address table 55.
The search is performed using the address read from . Color sensor 1
The change range (θ~4V) of the color component signal level of 0 is n (
In this example, it is divided into level zones (5 for RlG and B, 4 for S), and the 1 discrimination tolerance value (%) is set for each of these level zones. take different values. Therefore, each data table 51 to 54 stores an upper limit value and a lower limit value that define the range of each level zone, as well as a discrimination tolerance value for that zone.

具体的な数値を用いて説明すると各データ・テーブル5
1〜54に記憶される内容は下表の通りである。
Each data table 5 is explained using specific numerical values.
The contents stored in 1 to 54 are as shown in the table below.

上記の表に示されている判別許容値は2色成分信号の出
力レベルが高い(すなわち刺激値が大きい)はど小さく
設定されている。たとえば色成分(g −t3 Hのレ
ベルが第5レベル・ゾーン(1000< R< 400
0ffly)に含まれているときには判別許容値は3%
で、第ルベル・ゾーン(0< R<  100ffl■
)内のときは40%となっている。これは、信号レベル
が高ければそれだけS/N比がよくなり2判別許容値が
小さくても色識別判定は可能となるが、信号レベルが低
いときにはS/N比が悪くなるので大きな許容値が必要
となるからである。合31゛値Sについては、光源15
の光量変動も考慮されている。
The discrimination tolerance shown in the above table is set to be smaller as the output level of the two color component signals is higher (that is, the stimulus value is larger). For example, the level of the color component (g −t3 H is the fifth level zone (1000<R<400
0ffly), the discrimination tolerance is 3%.
Then, the first rubel zone (0<R< 100ffl■
) is 40%. This is because the higher the signal level is, the better the S/N ratio becomes, and color identification is possible even if the 2-discrimination tolerance is small; however, when the signal level is low, the S/N ratio deteriorates, so a large tolerance is required. This is because it is necessary. For the total 31゛ value S, the light source 15
Fluctuations in light intensity are also taken into account.

第2図および第3図はCPU20による処理手順を示し
ている。第2図は1色識別のための判別基準テーブル作
成処理を、第3図は、この判別基準テーブルを用いた色
識別処理をそれぞれ示している。
2 and 3 show the processing procedure by the CPU 20. FIG. FIG. 2 shows a process for creating a discrimination reference table for one-color discrimination, and FIG. 3 shows a color discrimination process using this discrimination reference table.

第2図を参照して1判別基準テーブルを作成する場合に
は、操作者は色識別させるべき物体の色サンプルを色セ
ンサー0の検知範囲に置くかまたは検知範囲を通過させ
る。すると1色センサから色成分信号R,Gt、B  
が出力され、これがCPU20に取込まれ、メモリ21
に一旦スドアされる(ステップ31)。これら色成分信
号の合計値を求めるためにCPU20では5t−Rt+
G、+B の演算が行なわれ、この合計値Stもメモリ
21にストアされる(ステップ32)。これらの色成分
信号R、G工、B およびS のそれぞれについて、ア
ドレス・テーブル55のアドレスを用いて判別許容値の
データ・テーブル51〜54が検索され、これらのtS
号のレベルに対応する判別許容値(便宜的にXP、YP
、ZPおよびSPで表わす)が読出される(ステップ3
3)。続いてXt−R/S  、Y  −G  /S 
 およびZ  −B/S の演算が行なわれ(ステップ
34)、ステラプ33で読出された判別許容値XP、Y
P、ZPと算出されたx、yt、z  を用いて判別上
限値と判別下限値、すなわちRに対応したX□工とX、
  、G  に対応したY  とY   、Bman 
  t       max   mtn   tに対
応したZ  と2  およびS に対応しtIIax 
  l1in     t S  とS 、がそれぞれ求められる(ステップ11a
)!       +1111135)。これらの計算
結果から、これらの」二、下限値がその色サンプルにつ
いての判別基準としてテーブルの形でメモリ21にスト
アされる(ステップ36)。
When creating one discrimination standard table with reference to FIG. 2, the operator places the color sample of the object to be color-identified in the detection range of color sensor 0 or causes it to pass through the detection range. Then, color component signals R, Gt, B from one color sensor
is output, this is taken into the CPU 20, and the memory 21
(Step 31). In order to obtain the total value of these color component signals, the CPU 20 uses 5t-Rt+
G, +B are calculated, and this total value St is also stored in the memory 21 (step 32). For each of these color component signals R, G, B, and S, the discrimination tolerance data tables 51 to 54 are searched using the address in the address table 55, and these tS
Discrimination tolerance value corresponding to the level of the issue (XP, YP for convenience)
, denoted by ZP and SP) are read out (step 3
3). Then Xt-R/S, Y-G/S
and Z −B/S are calculated (step 34), and the discrimination tolerance values XP, Y read out by the stirrup 33 are
Using P, ZP and the calculated x, yt, and z, determine the upper limit value and lower limit value, that is, the
, Y corresponding to G and Y , Bman
t max mtn Z and 2 corresponding to t and tIIax corresponding to S
l1in t S and S are determined, respectively (step 11a
)! +1111135). From these calculation results, these lower limit values are stored in the memory 21 in the form of a table as a criterion for the color sample (step 36).

色識別すべき対象物体が複数個ある場合には。When there are multiple objects to be color-identified.

これらの物体のすべての色サンプルについて上記の処理
が繰返され1色サンプルごとに判別基準テーブルが作成
され、メモリ21にストアされる(ステップ37)。
The above process is repeated for all color samples of these objects, and a discrimination reference table is created for each color sample and stored in the memory 21 (step 37).

以上で1色識別のための基準となるテーブルが作成され
たので1次にこのテーブルを用いた色識別処理が可能と
なる。第3図を参照して、被色識別物の色に関する情報
が色センサ10によってピックアップされると、各色成
分信号R,G。
Since a table serving as a reference for one-color identification has been created in the above manner, color identification processing can be performed using this table in the primary stage. Referring to FIG. 3, when information regarding the color of the object to be identified is picked up by the color sensor 10, each color component signal R, G is generated.

BがCPU20へ取込まれこれらの合計5(−R+G+
B)の演算結果を用いてX (−R/≦)。
B is taken into the CPU 20 and the total of these is 5 (-R+G+
Using the calculation result of B), calculate X (-R/≦).

Y (−G/S)およびZ (−B/S)が算出される
(ステップ41〜43)。そしてメモリ21にストアさ
れている判別基準テーブルの上、下限値と上記x、y、
zおよびSの値とが順次、比較照合される。 x   
<x<x   、 y   <y<y、1lax。
Y (-G/S) and Z (-B/S) are calculated (steps 41 to 43). Then, the upper and lower limit values of the discrimination standard table stored in the memory 21 and the above x, y,
The values of z and S are compared and verified sequentially. x
<x<x, y<y<y, 1lax.

gain     wax   ll1inz   <
z<z   、s   <S<S   (7)条件ff
1in     ff1aX   mln     I
la!を全て満たした場合にはその判別基準テーブルを
作成した色サンプルと同じ色ということになるので、そ
の旨の色識別結果が表示装置22に出力される(ステッ
プ45.46)。たとえば表示装置22の対応する表示
灯が点灯する。この色識別信号によって他の所定の動作
を行なわせてもよい。上記の条件を全て満足する判別基
準テーブルが無い場合には、該当する色が無い旨の信号
が出力される(ステップ47)。
gain wax ll1inz <
z<z, s<S<S (7) Condition ff
1in ff1aX mln I
la! If all of the following are satisfied, the color is the same as the color sample for which the discrimination criterion table was created, and a color identification result to that effect is output to the display device 22 (steps 45 and 46). For example, a corresponding indicator light on the display device 22 lights up. Other predetermined operations may be performed using this color identification signal. If there is no discrimination reference table that satisfies all of the above conditions, a signal indicating that there is no corresponding color is output (step 47).

この実施例では1判別許容値は色成分信号R9Gおよび
Bレベルとこれらの合計Sとに対して。
In this embodiment, the 1 discrimination tolerance value is for the color component signals R9G and B levels and their sum S.

■数に分割されたレベル争ゾーンごとに設けられ、各ゾ
ーン内では一定の値をもつものとして設定されている。
■It is established for each level competition zone divided into numbers, and each zone is set as having a certain value.

したがって異なったレベルの色成分信号でも同じレベル
・ゾーンに含まれれば等しい判別許容値が与えられるこ
とになる。与えられた色成分信号R,G、Bまたは色成
分データX。
Therefore, even if color component signals of different levels are included in the same level zone, the same discrimination tolerance value will be given. Given color component signals R, G, B or color component data X.

Y、Z、Sを用いてそれに対応する判別許容値を求める
ための演算プログラムまたは演算式をメモリ21に記憶
させておき、データ・テーブルを検索するかわりにこの
演算を実行する−8こよって判1別許容値を得るように
してもよい。
An arithmetic program or arithmetic expression for determining the corresponding discrimination tolerance value using Y, Z, and S is stored in the memory 21, and this operation is executed instead of searching the data table. It is also possible to obtain a separate tolerance value.

【図面の簡単な説明】[Brief explanation of the drawing]

T41図は1色識別装置全体の電気的構成を示すブロッ
ク図、第2図は判別基準テーブル作成処理手順を示すフ
ローチャート、第3図は色識別処°理手段を示すフロー
チャート第4図はアドレス・テーブルおよびデータ・テ
ーブルのメモリ構成を示している。 IO・・・色センサ、20・・・CPU。 21・・・メモリ。 51〜54・・・判別基準値のデータ・テーブル。 以  上 特許出願人  立石電機株式会社 代 理 人   弁理士 牛 久 健 司(外1名) 第 2 図
Figure T41 is a block diagram showing the electrical configuration of the entire one-color identification device, Figure 2 is a flowchart showing the procedure for creating a discrimination standard table, and Figure 3 is a flowchart showing the color identification processing means. It shows the memory organization of tables and data tables. IO...Color sensor, 20...CPU. 21...Memory. 51-54... Data table of discrimination reference values. Patent applicant Tateishi Electric Co., Ltd. Representative Patent attorney Kenji Ushiku (1 other person) Figure 2

Claims (1)

【特許請求の範囲】 色センサの出力に基づいて、被色識別物の色をその組合
せによって表わす複数の色成分データを作成する手段と
、所定の色サンプルに対して上記作成手段により作成さ
れた複数の色成分データを基に、被色識別物の色を識別
するための判別基準を設定して記憶する第1の記憶手段
と、被色識別物に対して上記作成手段により作成された
複数の色成分データと上記第1の記憶手段に記憶されて
いる判別基準との照合によって、判別基準によって特定
された色であるかどうかを判定して色識別信号を出力す
る手段とを備えた色識別装置において、 色センサの出力レベルに関する値に応じてあらかじめ設
定された判別許容値を記憶する第2の記憶手段、および 所定の色サンプルに対して上記作成手段により作成され
た複数の色成分データとこの色成分データを作成するた
めの色センサの出力レベルに関する値に対して設定され
ている上記判別許容値とから一定の幅をもつ色識別のた
めの判別基準を作成する手段、 を設けたことを特徴とする。
[Scope of Claims] Means for creating a plurality of color component data representing the color of an object to be identified by a combination thereof based on the output of a color sensor; a first storage means for setting and storing a discrimination criterion for identifying the color of an object to be colored based on a plurality of color component data; means for determining whether the color is specified by the discrimination criterion by comparing the color component data of the color component data with the discrimination criterion stored in the first storage means, and outputting a color identification signal. In the identification device, a second storage means stores a discrimination tolerance value set in advance according to a value related to the output level of the color sensor, and a plurality of color component data created by the creation means for a predetermined color sample. and means for creating a discrimination standard for color discrimination having a certain width from the discrimination tolerance value set for the value related to the output level of the color sensor for creating the color component data. It is characterized by
JP29249486A 1986-12-10 1986-12-10 Color identifier Pending JPS63145928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29249486A JPS63145928A (en) 1986-12-10 1986-12-10 Color identifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29249486A JPS63145928A (en) 1986-12-10 1986-12-10 Color identifier

Publications (1)

Publication Number Publication Date
JPS63145928A true JPS63145928A (en) 1988-06-18

Family

ID=17782545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29249486A Pending JPS63145928A (en) 1986-12-10 1986-12-10 Color identifier

Country Status (1)

Country Link
JP (1) JPS63145928A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100459864B1 (en) * 2002-09-06 2004-12-03 주식회사 오토닉스 Apparatus for reproducing set up Color of color discrimination Sensor
US7485864B2 (en) 2003-08-06 2009-02-03 Testo Ag Radiometer, sighting device for a radiometer and method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100459864B1 (en) * 2002-09-06 2004-12-03 주식회사 오토닉스 Apparatus for reproducing set up Color of color discrimination Sensor
US7485864B2 (en) 2003-08-06 2009-02-03 Testo Ag Radiometer, sighting device for a radiometer and method therefor

Similar Documents

Publication Publication Date Title
EP1653391B1 (en) Method and system for cancellation of ambient light using light frequency
JPS60169726A (en) Method for preparing discriminating reference for color discrimination
US20100225617A1 (en) Position detection device
JPS63145928A (en) Color identifier
JPS6116019B2 (en)
JPS6352367B2 (en)
JPH0762635B2 (en) Color identification standard creation device
JP2007068146A (en) Image processing apparatus, method for calculating white balance evaluation value, program including program code for obtaining method for calculating white balance evaluation value, and storage medium for storing the program
JP3123275B2 (en) Inspection data creation method for electronic parts shortage inspection
JP3269516B2 (en) Mounting board inspection equipment
JPS60186722A (en) Simple color discriminating device
JPS60178322A (en) Preparation of reference data for color discrimination
JPS62192623A (en) Automatic detecting method for knot of lumber
JPH0520216B2 (en)
JP3174187B2 (en) Gas identification device
JPH0689339A (en) Body detecting method
JP2000341704A (en) Device for detecting target position of color image
JPS63163218A (en) Color discriminating device
JP2000162045A (en) Method for identifying color of light transmitting object
JPH0221388A (en) Type name inspecting device
JPH0581426A (en) Color extracting device
JPH04292381A (en) Design specification deciding device for elevator
CN117314992A (en) Depth image generation and obstacle detection method and device and mobile robot
JP2753732B2 (en) Inspection equipment for printed wiring boards
JP2712884B2 (en) Work identification method and device