Nothing Special   »   [go: up one dir, main page]

JPH02297028A - Color identification device - Google Patents

Color identification device

Info

Publication number
JPH02297028A
JPH02297028A JP11722189A JP11722189A JPH02297028A JP H02297028 A JPH02297028 A JP H02297028A JP 11722189 A JP11722189 A JP 11722189A JP 11722189 A JP11722189 A JP 11722189A JP H02297028 A JPH02297028 A JP H02297028A
Authority
JP
Japan
Prior art keywords
color
color information
information
teaching
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.)
Pending
Application number
JP11722189A
Other languages
Japanese (ja)
Inventor
Takahiro Sakamoto
孝宏 坂本
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP11722189A priority Critical patent/JPH02297028A/en
Publication of JPH02297028A publication Critical patent/JPH02297028A/en
Pending legal-status Critical Current

Links

Landscapes

  • Spectrometry And Color Measurement (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の対象技術分野〕 この発明は被゛検出体の色情報を記憶する色識別装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention is directed] This invention relates to a color identification device that stores color information of a detected object.

〔従来技術〕[Prior art]

一般にこの種の色識別装置は任意の基準となる被検出体
の色と、比較あるいは識別したい被検出体の色が一致す
るか、またはある規定範囲にあるかどうかを検出し、判
定するものである。このため任意の色識別にあたり、基
準となる色情報を装置に入力し、ストアしておく必要が
ある。このばあいの基準色情報の入力は装置に数値で入
力するか、または実際に基準となる被検出体を装置の検
出系に設定し、その装置によって検出する。その際サン
プリングされた色情報を装置内のメモリにストアするな
どの、いわゆるティーチングの方法がとられる。ここで
たとえば色検出素子が赤、緑、青の3色分解形の受光素
子のばあい、得られる色情報は赤、緑、青の3色系であ
る。そこで1回のサンプリングによって赤、緑、青の色
情報を得る。すなわち色検出素子の分光数によって色情
報数は決定される。
In general, this type of color identification device detects and determines whether the color of an object to be detected, which serves as an arbitrary reference, and the color of the object to be compared or identified match or fall within a certain specified range. be. Therefore, in order to identify any color, it is necessary to input and store reference color information into the device. In this case, the reference color information can be input numerically into the apparatus, or the object to be detected, which is actually the reference, is set in the detection system of the apparatus and detected by the apparatus. At this time, a so-called teaching method is used, such as storing sampled color information in a memory within the device. For example, if the color detection element is a light-receiving element that separates red, green, and blue into three colors, the obtained color information is in the three-color system of red, green, and blue. Therefore, color information of red, green, and blue is obtained by one sampling. That is, the number of color information is determined by the spectral number of the color detection element.

通常色識別装置では基準色とし工登録する複数のチャン
ネルが用意され、任意のサンプルの色情報を任意のチャ
ンネルに登録することができる。
Normally, a color identification device has a plurality of channels for registering reference colors, and color information of any sample can be registered in any channel.

また装置固有の色識別パラメータを有し、基準色情報に
対し、基準に相当すると見なす許容範囲を色識別パラメ
ータに基づきあらかじめ設定する。
It also has a color identification parameter unique to the device, and sets in advance an allowable range that is considered to correspond to the reference for the reference color information based on the color identification parameter.

さらに装置を動作させるための諸パラメータを決定して
おき、装置を操作することにより色検出や演算ないしは
識別を実行する。
Furthermore, various parameters for operating the device are determined, and color detection, calculation, or identification is executed by operating the device.

〔この発明が解決しようとする問題点〕上述のように色
識別装置における従来のティーチング方法は任意の基準
検出体に対し1回の色情報サンプリングによって行われ
、メモリ内にストアされる。しかもこれは複数の登録チ
ャンネルについてそれぞれ個別にティーチングされる。
[Problems to be Solved by the Invention] As described above, the conventional teaching method in a color identification device is performed by sampling color information once for an arbitrary reference detection object, and the color information is stored in a memory. Moreover, this is taught individually for each of the multiple registered channels.

また任意の被検出体に対し℃得られる色情報は必ずしも
一意的に決定されるのではなく、色情報サンプリング時
の環境条件や設定条件が変化することで、得られる色情
報も変動し、1つの被検出体の色情報はばらつきを有し
、統計的に母集団を形成する。このため従来のティーチ
ング方法では基準色情報の母集団の中のどれがサンプリ
ングされ、基準色情報として装置に登録されるかが不明
である。したがつ工極端なばあい、母集団の中心あるい
は平均からの偏差が最も大きい色情報が基準色情報とし
又登録されるばあいがある。もちろん基準色の母集団の
平均と比較色とを色識別演算するのと、偏差のある基準
色と比較色を色識別演算するのではおのずと差違が生ず
る。従来のティーチング方法は後者に属し、この方法す
なわち単にただ1度のサンプリングによって基準色を登
録する方法では色識別の精度や信頼性の向上が図れない
。この欠点を解決するために基準色情報の母集団の中心
に近いものをティーチングする方法が考えられるが、そ
のためには環境条件や設定条件などを調整してから行う
必要があり、いきおいその作業が複雑となるおそれがあ
る。
Furthermore, the color information obtained for any object to be detected is not necessarily uniquely determined; the obtained color information also varies depending on the environmental conditions and setting conditions at the time of color information sampling. The color information of each detected object has variations and statistically forms a population. Therefore, in the conventional teaching method, it is unclear which of the population of reference color information is sampled and registered in the apparatus as reference color information. However, in extreme cases, the color information with the largest deviation from the center of the population or the average may be registered as the reference color information. Of course, there will naturally be a difference between performing color identification calculations on the population average of the reference color and the comparative color, and performing color identification calculations on the standard color and comparison color with deviations. Conventional teaching methods belong to the latter category, and this method, ie, the method of registering a reference color by just one sampling, cannot improve the accuracy and reliability of color identification. In order to solve this drawback, it is possible to teach the reference color information near the center of the population, but this requires adjusting the environmental conditions and setting conditions before starting the process. It may become complicated.

〔発明の目的〕[Purpose of the invention]

この発明はこのような従来の問題点にかんがみ、環境や
設定条件にとられれることな(色の識別をするとともに
、比較色との色識別演算の精度および信頼性の向上を図
ることを目的とする。
In view of these conventional problems, the present invention aims to identify colors regardless of the environment or setting conditions, and to improve the accuracy and reliability of color identification calculations with comparison colors. shall be.

〔発明の概要〕[Summary of the invention]

この発明はその目的を達成するために1色識別装置にお
ける基準色のティーチングにおいて、複数回の色情報サ
ンプリングを行い、そのサンプル群を演算し、または適
当な処理を行い、最適な基準色情報を自動的に作成ある
いは決定し、基準色として登録する機能を有するもので
ある。
In order to achieve the object, this invention performs color information sampling multiple times during reference color teaching in a single color identification device, calculates a group of samples, or performs appropriate processing to obtain optimal reference color information. It has a function of automatically creating or determining and registering it as a reference color.

〔実施例〕〔Example〕

以下図によってこの発明の1実施例について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

すなわち第5図には色識別装置11が示され、参照光投
光系lはハロゲンランプ等の光源から構成され、これは
被検出体重0に対し参照光を投射する。検出光学系2は
たとえば凸レンズ等により構成され、これは参照光投光
系lから被検出体lOに照射され、かつこの被検出体で
反射された光を色検出素子3に導く。この色検出素子は
赤、緑。
That is, FIG. 5 shows a color identification device 11, and a reference light projection system 1 is composed of a light source such as a halogen lamp, and projects a reference light to a subject whose body weight is 0. The detection optical system 2 is composed of, for example, a convex lens, and guides the light irradiated from the reference light projection system 1 onto the object 10 to be detected and reflected by the object 10 to the color detection element 3. This color detection element is red and green.

青の3色分解形の受光素子で構成される。色検出素子3
の出力側には増幅系4が設けられ、色検出素子3の出力
を増幅する。この増幅系の出力側にはA/D変換系5が
設けられ、増幅系4からのアナログ信号をディジタル信
号に変換する。人/D変換系5の出力側には演算および
制御系6が設けられ、この出力側にはメモリ系7および
I10系8が設けられる。また各系に電力を供給するた
めに電源系9が設けられる。
It consists of a light-receiving element that separates blue into three colors. Color detection element 3
An amplification system 4 is provided on the output side of the color detection element 3 to amplify the output of the color detection element 3. An A/D conversion system 5 is provided on the output side of this amplification system, and converts the analog signal from the amplification system 4 into a digital signal. An arithmetic and control system 6 is provided on the output side of the human/D conversion system 5, and a memory system 7 and an I10 system 8 are provided on this output side. Further, a power supply system 9 is provided to supply power to each system.

次に上記構成において、基準検出体からの色情報をサン
プリングするティーチングについて第1図を参照して説
明する。
Next, teaching for sampling color information from a reference detection object in the above configuration will be explained with reference to FIG.

すなわち色識別装置を外部接続の操作キー等によりティ
ーチング動作を行う状態に遷移させる(ステップ1)。
That is, the color identification device is brought into a state in which a teaching operation is performed using an externally connected operation key or the like (step 1).

この状態でティーチングのために基準検出体を検出光学
系2の検出位置、すなわち第1図の被検出体10の位置
に設定する(ステップ2)。次に色情報のサンプリング
を行う。このサンプリングは操作キーまたは外部からの
信号入力によって起動、すなわちティーチング−トリガ
する(ステップ3)。これによつ℃赤、緑、青の各信号
レベルが装置11内に順次または一括で読取られ、メモ
リ7等にストアされる(ステップ4)。なお最初の色情
報は第2図に示すメモリ領域の中、1回目ストアの領域
R1,Gl、Blにストアされる。そして次のティーチ
ング−トリガによつ℃得られる色情報は第3図に示すメ
モリ領域の中、2回目ストアの領域R2,G2.B2に
ストアされ、以下同様にn回目の色情報はn回目ストア
の領域Rn 、Gn 、Bnに順次ストアされるまたテ
ィーチング・トリガをかけるばあいには色情報に影響を
与える諸条件が変化しているとストアされている複数の
色情報にはばらつきが発生している。次にティーチング
が終了(ステップ5)したばあい、メモリ7にストアさ
れ□ている複数の色情報を演算し、最適な基準色情報を
作成(ステップ6)し、ふたたびメモリ7にストアする
In this state, for teaching purposes, a reference object is set at the detection position of the detection optical system 2, that is, at the position of the object to be detected 10 in FIG. 1 (step 2). Next, color information is sampled. This sampling is started, ie, taught-triggered, by an operation key or an external signal input (step 3). As a result, the red, green, and blue signal levels are sequentially or collectively read into the device 11 and stored in the memory 7 or the like (step 4). Note that the first color information is stored in the first storage areas R1, Gl, and Bl in the memory area shown in FIG. The color information obtained by the next teaching trigger is stored in the second storage areas R2, G2, . . . in the memory area shown in FIG. Similarly, the n-th color information is sequentially stored in the n-th storage areas Rn, Gn, and Bn. Also, when a teaching trigger is applied, various conditions that affect the color information change. When the color information is stored, variations occur in the multiple pieces of color information stored. Next, when the teaching is completed (step 5), a plurality of color information stored in the memory 7 is calculated, optimal reference color information is created (step 6), and the information is stored in the memory 7 again.

これによってサンプリングが終了する(ステップ7)。This ends the sampling (step 7).

また第3図および第4図に示すこの発明の他の実施例は
ティーチングの際、赤、緑、青の信号を取込んだ後、直
ちに最適基準色情報を作成または決定する演算を実行し
、基準色情報の作成を色情報のサンプリング毎に実行す
るもので、ステップ4における色情報読込みおよびスト
アにおいて、メモリ領域にi回目の情報を一時スドアす
るとともに、ステップ5において基準色情報を作成し、
これをストアする。そして次の回におけるティーチング
・トリガにより、メモリ領域の前回のメモリを更新する
とともに、この色情報と前回のメモリの値との平均値を
とり、これを新たな基準色情報としてメモリを更新する
Further, in another embodiment of the present invention shown in FIGS. 3 and 4, during teaching, after taking in the red, green, and blue signals, an operation for creating or determining optimal reference color information is immediately executed, Creation of reference color information is executed every time color information is sampled; in step 4, when reading and storing color information, the i-th information is temporarily stored in the memory area, and in step 5, reference color information is created;
Store this. Then, by the next teaching trigger, the previous memory in the memory area is updated, the average value of this color information and the previous memory value is taken, and this is used as new reference color information to update the memory.

なおこの発明の実施例においては赤、緑、青の3色分解
形の受光素子を用い、かつ色情報も3成分であるものに
ついて説明したが、それに限定されることなく色光を複
数に分解することも可能である。
In the embodiments of the present invention, a light-receiving element that separates three colors of red, green, and blue is used, and the color information is also three components. It is also possible.

〔発明の効果〕〔Effect of the invention〕

この発明は上述のように基準色のティーチングのため複
数回の色情報のサンプリングを行い、そのサンプル群を
演算処理することKより、最適な基準色情報を自動的に
作成または決定し、基準色として登録するようにしてい
るので、基準検出体が複数あり、またその色にばらつき
があるばあいでも、ティーチング・トリガ毎に検出体を
変えることkより基準検出体群の最適な基準色情報を登
録することが可能である。また搬送ラインに適用するば
あい、その搬送ライン上における検出条件は変動し易く
、ティーチングする際も搬送ラインに基準検出体を多数
流して基準色情報を作成することにより色識別の精度お
よび信頼性を向上することができる。
As described above, this invention samples color information multiple times for teaching the reference color, and then performs arithmetic processing on the sample group, thereby automatically creating or determining optimal reference color information. Even if there are multiple reference objects and their colors vary, the optimal reference color information for a group of reference objects can be registered, rather than changing the object for each teaching trigger. It is possible to register. In addition, when applied to a conveyance line, the detection conditions on the conveyance line are likely to fluctuate, and when teaching, the accuracy and reliability of color identification can be improved by flowing a large number of reference objects through the conveyance line and creating reference color information. can be improved.

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

第1図はこの発明における色識別装置の1実施例を示す
プログラムデャート、第2図は第1図におけるメモリ領
域図、第3図はこの発明の他の実施例を示すプログラム
チャート、第4図は第3図のメモリ領域図、第5図はこ
の発明における色識別装置の構成図である。 l・・・参照光投光系、2・・・検出光学系、3・・・
色検出素子、4・・・増幅系、5・・・A/D変換系%
6・・・演算制御系、7・・・メモリ系、8・・・I1
0系、9・・・電源系、lO・・・被検出体、11・・
・色識別装置。 第1図 第 図 第 図
FIG. 1 is a program chart showing one embodiment of the color identification device according to the present invention, FIG. 2 is a memory area diagram in FIG. 1, and FIG. 3 is a program chart showing another embodiment of the present invention. FIG. 4 is a memory area diagram of FIG. 3, and FIG. 5 is a block diagram of the color identification device according to the present invention. l...Reference light projection system, 2...Detection optical system, 3...
Color detection element, 4... Amplification system, 5... A/D conversion system%
6... Arithmetic control system, 7... Memory system, 8... I1
0 system, 9...power supply system, lO...detected object, 11...
・Color identification device. Figure 1 Figure 1

Claims (1)

【特許請求の範囲】[Claims] 光学的かつ電気的手段にて被検出体の色情報を得て、基
準色と比較色とを識別する機能を有し、かつ基準色情報
を得るための基準検出体を装置の所定の位置においてサ
ンプリングし、これによつてその検出体の基準色情報を
得るとともに、これを装置内のメモリに記憶するテイー
チング機能を有する色識別装置において、基準色情報の
テイーチングのため上記基準検出体の色情報を複数回サ
ンプリングし、そのサンプル群を演算処理することによ
り、最適な基準色情報を自動的に作成または決定し、基
準色として登録することを特徴とする色識別装置。
It has the function of obtaining color information of the object to be detected by optical and electrical means and distinguishing between a reference color and a comparative color, and the reference object for obtaining the reference color information is placed at a predetermined position of the device. In a color identification device that has a teaching function of sampling, thereby obtaining reference color information of the object to be detected, and storing this in a memory within the device, the color information of the reference object is used for teaching the reference color information. What is claimed is: 1. A color identification device that automatically creates or determines optimal reference color information by sampling a plurality of times and performing arithmetic processing on a group of samples, and registers the information as a reference color.
JP11722189A 1989-05-12 1989-05-12 Color identification device Pending JPH02297028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11722189A JPH02297028A (en) 1989-05-12 1989-05-12 Color identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11722189A JPH02297028A (en) 1989-05-12 1989-05-12 Color identification device

Publications (1)

Publication Number Publication Date
JPH02297028A true JPH02297028A (en) 1990-12-07

Family

ID=14706395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11722189A Pending JPH02297028A (en) 1989-05-12 1989-05-12 Color identification device

Country Status (1)

Country Link
JP (1) JPH02297028A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05232030A (en) * 1991-06-14 1993-09-07 Ball Corp Apparatus and method for non-contact type survey and inspection for color label

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6230922A (en) * 1985-08-01 1987-02-09 Mazda Motor Corp Discriminating method for color of article

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6230922A (en) * 1985-08-01 1987-02-09 Mazda Motor Corp Discriminating method for color of article

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05232030A (en) * 1991-06-14 1993-09-07 Ball Corp Apparatus and method for non-contact type survey and inspection for color label

Similar Documents

Publication Publication Date Title
DK282185D0 (en) PROCEDURE FOR CREATING AN IMAGE MODEL AND INSPECTING A PIXEL REPRESENTATION OF AN IMAGE.
JPH02297028A (en) Color identification device
JPS6436168A (en) Picture scanning input method for picture scanning reader
JPS63114390A (en) Color measuring circuit
JPS6251418B2 (en)
JP2702441B2 (en) Wafer identification character recognition system
JPS6230922A (en) Discriminating method for color of article
JPS58119279A (en) Storage type photoelectric conversion device
JPH02297031A (en) Color identification method and device
JPH0762635B2 (en) Color identification standard creation device
JPS60178322A (en) Preparation of reference data for color discrimination
JPS62172227A (en) Color discrimination apparatus
CN1091885A (en) Method and information signal recording apparatus that record current is set
JPS6156530B2 (en)
JPS59116992A (en) Associative memory
JPH06281501A (en) Color value correction device
JPS6478133A (en) Measuring method for spectral reflection factor
JPS63269066A (en) Glitch detection display method and device
JPS599336Y2 (en) character recognition device
SU667941A1 (en) Device for determining exposure at photography and printing on light-sensitive materials
JPS5834522Y2 (en) electronic cash register
JPH01123579A (en) Flaw correction circuit for solid-state image pickup element
JPH01219673A (en) Comparing device of data
JPS59115686A (en) Picture display system of infrared ray video device
JPH02191073A (en) Pattern inspection device