JPH05165953A - Color identification method - Google Patents
Color identification methodInfo
- Publication number
- JPH05165953A JPH05165953A JP3336427A JP33642791A JPH05165953A JP H05165953 A JPH05165953 A JP H05165953A JP 3336427 A JP3336427 A JP 3336427A JP 33642791 A JP33642791 A JP 33642791A JP H05165953 A JPH05165953 A JP H05165953A
- Authority
- JP
- Japan
- Prior art keywords
- color
- identification
- fuzzy controller
- input
- fuzzy
- 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
Links
Landscapes
- Image Analysis (AREA)
Abstract
(57)【要約】
【目的】 画像認識装置よりのRGB信号により適確な
色識別が行えるようにすることにある。
【構成】 識別物を適当な色に塗装し、この塗装された
複数の識別物を画像処理装置で読み取り、ファジイコン
トローラにRGB信号として識別物の色組成を入力させ
ると共に、識別物を見て何色かを判断して音声入力装置
に入力し、次いで上記音声入力装置に入力された言葉を
コード化して上記ファジイコントローラに入力し、この
ファジイコントローラに入力されたRGB強度および言
語コードを記憶して色識別ファイルとしてデータを生成
して識別物の決定を行うようにしたものである。
(57) [Abstract] [Purpose] To enable accurate color identification by RGB signals from an image recognition device. [Structure] An identification object is painted in an appropriate color, the plurality of painted identification objects are read by an image processing device, and the color composition of the identification object is input to the fuzzy controller as RGB signals. It is judged whether it is color or not, and it is inputted to the voice input device, then the words inputted to the voice input device are coded and inputted to the fuzzy controller, and the RGB intensity and the language code inputted to the fuzzy controller are stored. Data is generated as a color identification file to determine an identification object.
Description
【0001】[0001]
【産業上の利用分野】この発明はファジイ推論によりあ
らかじめ学習した色の識別を行う色識別法に関するもの
である。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color identification method for identifying colors learned in advance by fuzzy inference.
【0002】[0002]
【従来の技術】従来の色識別法はあらかじめその物体の
RGB値を登録しておき、画像認識装置より入力した
R,G,Bの色データにより物体の色を識別する場合に
は、画像認識装置からの入力データとあらかじめ登録し
た色データとを突き合わせてその物体かどうかの判別を
行うようにしたものである。2. Description of the Related Art In the conventional color identification method, the RGB values of the object are registered in advance, and when the color of the object is identified by the R, G, B color data input from the image recognition device, the image recognition is performed. The data input from the device and the color data registered in advance are matched with each other to determine whether or not the object.
【0003】[0003]
【発明が解決しようとする課題】従来の色識別法は以上
のようにあらかじめ登録した物体のRGB値から物体の
色を識別して物体を判別する構成であり、画像認識装置
からのRGB値は物体付近の照度やカメラの角度などに
より微妙に変化するため、常に登録した色データと同一
の値となるとは限らず、むしろ毎回異なる値となる。し
たがって、あらかじめ登録したRGB値と画像認識装置
よりの入力データとほとんど一致せず、各物体のRGB
値に許容範囲をもたせる必要性が生じる。このため、あ
らかじめ登録したRGB値に近い物体がある場合は色識
別の判断ができないという問題点があった。The conventional color identification method is configured to identify the object color by identifying the color of the object from the RGB values of the object registered in advance as described above, and the RGB value from the image recognition device is Since it slightly changes depending on the illuminance near the object and the angle of the camera, it does not always have the same value as the registered color data, but rather has a different value each time. Therefore, the RGB values registered in advance do not substantially match the input data from the image recognition device, and the RGB values of each object
The need arises for the values to have an acceptable range. Therefore, there is a problem that the color identification cannot be determined when there is an object whose RGB values are registered in advance.
【0004】この発明は上記の問題点を解消するために
なされたもので、画像認識装置よりのRGB信号により
適確な色識別が行えるようにした色識別法を得ることを
目的とする。The present invention has been made in order to solve the above problems, and an object of the present invention is to obtain a color identification method capable of performing accurate color identification by an RGB signal from an image recognition device.
【0005】[0005]
【課題を解決するための手段】この発明に係る色識別法
は適当な色に塗装された複数の識別物を画像処理装置で
読み取り、ファジイコントローラにRGB信号として識
別物の色組成を入力させると共に、識別物が何色である
かを判断して音声入力装置に入力し、この音声入力装置
に入力された言葉をコード化して上記ファジイコントロ
ーラに入力すると共に、このファジイコントローラは入
力されたRGB強度および言語コードを記憶して色識別
ファイルとしてデータを生成し、生成したデータから
R,G,Bのそれぞれのファジイラベルおよびメンバー
シップ関数を生成して識別物の決定を行う。According to the color identification method of the present invention, a plurality of identification objects painted in appropriate colors are read by an image processing apparatus, and the fuzzy controller inputs the color composition of the identification objects as RGB signals. , The color of the identification object is input to the voice input device, the words input to the voice input device are encoded and input to the fuzzy controller, and the fuzzy controller inputs the RGB intensity. And the language code is stored to generate data as a color identification file, and fuzzy labels and membership functions of R, G, and B are generated from the generated data to determine the identification object.
【0006】[0006]
【作用】この発明における色識別法は色に対する学習機
能を装備すると共に、入力される指定色を言語コードと
して入力し、複数の対象物中でその指定された色の対象
物の識別をファジイマッチングによる色認識で行うよう
にしたものである。The color identification method according to the present invention is equipped with a learning function for colors, and a designated color to be inputted is inputted as a language code, and fuzzy matching is performed to identify the object of the designated color among a plurality of objects. The color recognition is performed by.
【0007】[0007]
【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例を示すフローチャート
である。本システムの概要は「画像理解」およびこれら
の組み合わせとしての「ファジイマッチングによる物体
認識」を行うもので、本実施例では大小2種、合計10
個の適当な色に塗装された識別物を用いる。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a flow chart showing an embodiment of the present invention. The outline of this system is to perform "image understanding" and "object recognition by fuzzy matching" as a combination thereof.
Use unique identifications painted in appropriate colors.
【0008】本実施例では色指定に音声入力装置を用
い、まず識別物の大きさと色とを音声によって指示し
(ステップST1)、大きさと色との組み合わせで複数
個の指定を可能とする。そして、最後に指定終了を入力
する(ステップST2)。これに対する音声出力応答で
は音声入力による指示を確認するために「はい、わかり
ました。何々の大きさで、何々色、何々の大きさで、何
々色を運びます」と、音声入力によって指示された分の
入力を全て繰り返しながら、音声出力応答が音声入力内
容と一致しているか否かを判断する(ステップST
3)。そして、音声出力応答が音声入力内容と一致して
いれば、ステップST4においてオペレータは一致して
いることを入力する。また、間違っていれば間違ってい
ることをステップST5において入力し、全ての識別物
を再入力する。これを一致するまで繰り返す。そのの
ち、指示された識別物、例えばサーボモータがない場合
には「何々の大きさで何々色、何々の大きさで何々色、
何々の大きさで何々色のような識別物は見当たりませ
ん。再度指示して下さい。」と、再指示の意向の処理を
行って(ステップST6)再度指示を受ける。この場
合、指示はもう一度最初から全ての識別物の指示を受け
(前回の指示は全てキャンセル)、また最初から確認操
作を繰り返す。In this embodiment, a voice input device is used for color designation. First, the size and color of the identification object are designated by voice (step ST1), and a plurality of sizes and colors can be designated. Finally, the designation end is input (step ST2). In the voice output response to this, in order to confirm the instruction by the voice input, "Yes, I understand. What size, what color, what size, what color do you carry?" It is determined whether the voice output response matches the voice input content while repeating all the input of the input (step ST
3). Then, if the voice output response matches the voice input content, the operator inputs that they match in step ST4. If it is wrong, the fact that it is wrong is input in step ST5, and all the identification objects are input again. This is repeated until they match. After that, if there is no specified identification object, for example, a servomotor, "What size is what color, What size is what color,
I can't find any distinguishing objects such as colors in any size. Please instruct again. Then, the processing for the purpose of re-instruction is performed (step ST6) and the instruction is received again. In this case, the instruction receives all the identification object instructions from the beginning again (all the previous instructions are canceled), and the confirmation operation is repeated from the beginning.
【0009】このような処理を行い、オペレータが指示
した内容が正確に認識され、かつそのものが全て存在す
ることで、搬送開始を出力し、搬送を開始する(ステッ
プST7)。この場合、識別物の形状はあらかじめ決定
することができるが、識別物の色についてはスプレーな
どで適当に塗装するため事前にファジイ推論ルールを作
成することは困難である。このため、本システムでは色
に対する学習機能を装備することにする。By carrying out such a processing, the contents instructed by the operator are correctly recognized, and when all of them are present, the conveyance start is output and the conveyance is started (step ST7). In this case, the shape of the identification object can be determined in advance, but it is difficult to prepare the fuzzy inference rule in advance because the color of the identification object is appropriately painted by spraying or the like. Therefore, this system will be equipped with a learning function for colors.
【0010】塗装色の学習方法は図2に示すようにまず
最初に任意の識別物を画像処理装置(Meiscop
e)で読み取り(ステップST8)、ファジイコントロ
ーラにRGB信号として識別物の色組成を入力させる
(ステップST9)。次いでステップST10において
ナレータは識別物を見て何色かを判断し、それを音声入
力装置に入力する。そして、音声入力装置はその言葉を
コード化してファジイコントローラに入力する(ステッ
プST11)。ステップST12においてファジイコン
トローラはステップST9およびステップST11で入
力されたデータのペア、すなわちRGB強度および言語
コードを言語コードを記憶する。ステップST13では
全ての識別物についてステップST8からステップST
12までの操作を繰り返し、色識別ファイルとして表1
に示すデータを生成する。As shown in FIG. 2, the method of learning the paint color is as follows. First, a discriminating object is identified by an image processing device (Meiscop).
The reading is performed in step e) (step ST8), and the fuzzy controller is made to input the color composition of the identification object as an RGB signal (step ST9). Next, in step ST10, the narrator judges the color by looking at the identification object and inputs it to the voice input device. Then, the voice input device codes the word and inputs it to the fuzzy controller (step ST11). In step ST12, the fuzzy controller stores the language code including the pair of data input in steps ST9 and ST11, that is, the RGB intensity and the language code. In step ST13, steps ST8 to ST
Repeat the operations up to 12 to create a color identification file as shown in Table 1.
The data shown in is generated.
【0011】[0011]
【表1】 [Table 1]
【0012】次にステップST14においてステップS
T13で生成したデータからR,G,Bのそれぞれのフ
ァジイラベルおよびメンバーシップ関数(以下MSFと
略記する)を以下の方法で生成する。いま、ステップS
T13で生成してある色Cの強度を昇順に並べ替えてい
るものがCs1,Cs2,Cs3,Cs4,……,Csnと
したときのMSFを図3のように決定する。そして、フ
ァジイラベルはCs1,Cs2,Cs3,Cs4,……,C
snとする。このようにして塗装色の学習を行う。Next, in step ST14, step S
Fuzzy labels and membership functions (hereinafter abbreviated as MSF) of R, G, and B are generated from the data generated in T13 by the following method. Now, step S
When the intensity of the color C generated in T13 is rearranged in ascending order to be Cs 1 , Cs 2 , Cs 3 , Cs 4 , ..., Cs n , the MSF is determined as shown in FIG. The fuzzy labels are Cs 1 , Cs 2 , Cs 3 , Cs 4 , ..., C
Let s n . In this way, the paint color is learned.
【0013】次に、大きさの識別と色の識別とによって
行う音声指示による識別物の識別方法を説明する。本シ
ステムでは大きさが2種類しかないため、大きさの識別
をファジイ推論によらず閾値との大小比較により行う。
また、色の識別はファジイ推論によって識別する。すな
わち、音声入力装置から入力される色情報は言語コード
(1〜N)として入力される。いま、入力された言語コ
ードをiとしたときの識別物の特定方法はまず言語コー
ドiに相当するRGB色強度のMSFをアンド条件とす
るファジイルールを以下のように生成する。Next, a method of identifying an identification object by voice instruction performed by size identification and color identification will be described. Since there are only two sizes in this system, the sizes are identified by comparison with the threshold value instead of fuzzy inference.
In addition, color identification is performed by fuzzy inference. That is, the color information input from the voice input device is input as the language code (1 to N). Now, in the method of identifying an identification object when the input language code is i, first, a fuzzy rule with the MSF of RGB color intensities corresponding to the language code i as the AND condition is generated as follows.
【0014】もし、ファジイラベルRsがRs1で、G
sがGs1で、BsがBs1であるならば、色Cはiであ
る。ただし、Cは色を意味する変数で、iは言語コード
に対応する色名称である。次に、画像処理装置から識別
物の色情報をRGB強度として入力する。いま、入力さ
れた各識別物の色情報をRsj,Gsj,Bsj(j=1
〜n)とした時、各搬送物からの色情報による上記ファ
ジイルールの成立度合(μj,j=1〜n)を求め、μ
j≧λを満足する最大のμjを求め、j番目の識別物を
選択する。ただし、λは色判定のための閾値である。こ
のようにして判定した各識別物の色のなかから音声入力
により入力された色と一致するものを探す。そして、大
きさの識別と色の識別とを両方に合致するものを自動無
人搬送車(AGV)に載せる識別物と決定して音声出力
し、開始指令で移載作業に移る。両方に合致するものが
なければ、再度搬送物の指示を受けるべく音声出力し、
音声入力で大きさの識別と色の識別との両方に合致する
ものをAGVに載せる識別物と決定する操作を繰り返
す。If the fuzzy label Rs is Rs 1 and G
If s is Gs 1 and Bs is Bs 1 , then color C is i. However, C is a variable meaning a color, and i is a color name corresponding to a language code. Next, the color information of the identification object is input as RGB intensities from the image processing apparatus. Now, the color information of each inputted identification object is represented by Rs j , Gs j , Bs j (j = 1.
.About.n), the degree of establishment of the fuzzy rule (.mu.j, j = 1 to n) based on the color information from each conveyed product is calculated, and .mu.
The maximum μj that satisfies j ≧ λ is obtained, and the j-th identification object is selected. However, λ is a threshold value for color determination. A color matching the color input by voice input is searched from among the colors of the identification objects determined in this way. Then, the one that matches both the size identification and the color identification is determined as an identification object to be mounted on the automatic guided vehicle (AGV), voice output, and the transfer operation is started by a start command. If there is no match for both, output voice to receive instructions of the conveyed item again,
The operation of deciding the identification that matches both the size identification and the color identification by voice input as the identification object to be placed on the AGV is repeated.
【0015】[0015]
【発明の効果】以上のようにこの発明によれば適当な色
に塗装された複数の識別物を画像処理装置で読み取り、
ファジイコントローラにRGB信号として識別物の色組
成を入力させると共に、識別物が何色であるかを判断し
て音声入力装置に入力し、この音声入力装置に入力され
た言葉をコード化して上記ファジイコントローラに入力
すると共に、このファジイコントローラは入力されたR
GB強度および言語コードを記憶して色識別ファイルと
してデータを生成し、生成したデータからR,G,Bの
それぞれのファジイラベルおよびメンバーシップ関数を
生成して識別物の決定を行う構成であるので、画像認識
装置よりのRGB信号により適確な色識別が行えるとい
う効果がある。As described above, according to the present invention, a plurality of identification objects painted in appropriate colors are read by the image processing device,
The fuzzy controller inputs the color composition of the identification object as an RGB signal, determines the color of the identification object and inputs the color composition to the voice input device, and encodes the words input to the voice input device to generate the fuzzy logic. This fuzzy controller inputs R
The GB intensity and language code are stored to generate data as a color identification file, and fuzzy labels and membership functions of R, G, and B are generated from the generated data to determine the identification object. An effect is that accurate color identification can be performed by the RGB signal from the image recognition device.
【図1】この発明に係る色識別法の一実施例を示すフロ
ーチャート。FIG. 1 is a flowchart showing an embodiment of a color identification method according to the present invention.
【図2】塗装色の学習方法を示すフローチャート。FIG. 2 is a flowchart showing a method for learning a paint color.
【図3】メンバーシップ関数の決定方法を示す説明図。FIG. 3 is an explanatory diagram showing a membership function determination method.
Claims (1)
像処理装置で読み取りファジイコントローラにRGB信
号として識別物の色組成を入力させると共に、識別物が
何色であるかを判断して音声入力装置に入力し、この音
声入力装置に入力された言葉をコード化して上記ファジ
イコントローラに入力すると共に、このファジイコント
ローラは入力されたRGB強度および言語コードを記憶
して色識別ファイルとしてデータを生成し、生成したデ
ータからR,G,Bのそれぞれのファジイラベルおよび
メンバーシップ関数を生成する音声入力による識別物の
決定を行う色識別法。1. A plurality of identification objects painted in appropriate colors are read by an image processing apparatus and a fuzzy controller is made to input the color composition of the identification objects as RGB signals, and the color of the identification objects is judged. The fuzzy controller inputs the data to the voice input device, codes the words input to the voice input device, and inputs the words to the fuzzy controller. The fuzzy controller stores the input RGB intensity and language code and stores the data as a color identification file. A color identification method for generating a fuzzy label of R, G, and B and a membership function from the generated data, and determining the identification object by voice input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3336427A JPH05165953A (en) | 1991-12-19 | 1991-12-19 | Color identification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3336427A JPH05165953A (en) | 1991-12-19 | 1991-12-19 | Color identification method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05165953A true JPH05165953A (en) | 1993-07-02 |
Family
ID=18299019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3336427A Pending JPH05165953A (en) | 1991-12-19 | 1991-12-19 | Color identification method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05165953A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102654945A (en) * | 2011-03-03 | 2012-09-05 | 佑华微电子股份有限公司 | method of color recognition |
-
1991
- 1991-12-19 JP JP3336427A patent/JPH05165953A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102654945A (en) * | 2011-03-03 | 2012-09-05 | 佑华微电子股份有限公司 | method of color recognition |
JP2012185465A (en) * | 2011-03-03 | 2012-09-27 | Alpha Microelectronics Corp | Color recognition method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ATE528724T1 (en) | OBJECT RECOGNITION BASED ON HIERARCHICAL LINKS | |
CN109308895B (en) | Acoustic model training method, device, equipment and computer readable medium | |
US7383188B2 (en) | Object loading system and method | |
US20220292349A1 (en) | Device and computer-implemented method for the processing of digital sensor data and training method therefor | |
US20190163750A1 (en) | System for the automatic separation of documents in a batch of documents | |
US6662168B1 (en) | Coding system for high data volume | |
JPH05165953A (en) | Color identification method | |
JP2861014B2 (en) | Object recognition device | |
US7181045B2 (en) | Method and device for reading the addresses of items of mail | |
CN116824271A (en) | SMT chip defect detection system and method based on tri-modal vector space alignment | |
KR20230062235A (en) | Text Recognition Method and Apparatus | |
JPH10124615A (en) | Character recognizing device | |
JPS6331569A (en) | Painting instruction method on vehicle painting line | |
JP3037727B2 (en) | OCR system | |
JPH0628462A (en) | Fingerprint matching processor | |
JPS63282586A (en) | Character recognition device | |
JPH0628461A (en) | Fingerprint matching processor | |
JPH10269311A (en) | Slip processing unit designating method | |
Tangsuksant et al. | Comparison of Regression Algorithm for Vanishing Point Estimation based on Car Distribution | |
JPH0573027A (en) | Individual penmanship dictionary generation device and character output processor using individual penmanship dictionary | |
CN116860945A (en) | Defect dialogue detection method and device based on implicit feedback information | |
JPH06290297A (en) | Character recognizing device | |
CN113811887A (en) | Method and system for obtaining information about an object based on a photograph of the object | |
EP0917088A3 (en) | Electronic system and method for remote identification of coded articles and the like | |
JPH05108113A (en) | Production information control system |