JPS6215421A - Color recognizing device for object - Google Patents

Color recognizing device for object

Info

Publication number
JPS6215421A
JPS6215421A JP60155823A JP15582385A JPS6215421A JP S6215421 A JPS6215421 A JP S6215421A JP 60155823 A JP60155823 A JP 60155823A JP 15582385 A JP15582385 A JP 15582385A JP S6215421 A JPS6215421 A JP S6215421A
Authority
JP
Japan
Prior art keywords
memory
signals
color
address
digital
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
JP60155823A
Other languages
Japanese (ja)
Inventor
Chuji Akiyama
忠次 秋山
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP60155823A priority Critical patent/JPS6215421A/en
Publication of JPS6215421A publication Critical patent/JPS6215421A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To curtail the capacity of a memory, and to execute a high speed image processing by discriminating a specified color by a combination of an address signal which has been obtained in a data terminal and an address signal corresponding to the remaining video signal of video signals of three colors. CONSTITUTION:Each density value G, B of green and blue is converted to digital signals GD, BD by analog-to-digital converters 14G, 14B, and inputted to a memory 16 as address signals. A digital signal BG from a data terminal D16 of the memory 16 and a digital signal RD from an analog-to-digital converter 14R are inputted to a memory 17 as address signals, respectively. In this way, by a combustion of these address signals, a binary data which has discriminated a specified color is outputted. In this way, the capacity of the memory can be curtailed, comparing with a conventional one.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、物体の色認識装置に係り、特にある程度特定
された測定対象物の欠陥や形状などをオンラインで検査
するために色を媒介として使用する物体の色認識装置に
関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a color recognition device for an object, and in particular to an apparatus for recognizing the color of an object using color as a medium for online inspection of defects, shapes, etc. of a measurement object that has been specified to a certain extent. This invention relates to an object color recognition device used.

〈従来の技術〉 第5図に示す色認識装置は本発明の改良のベースとなる
従来の色認識装置である。10はビデオ信号を入射し集
光するレンズであり、二色ミラー11゜12は集光され
た入射光を赤、緑、青の3色(R,G。
<Prior Art> The color recognition device shown in FIG. 5 is a conventional color recognition device that is the basis of the improvement of the present invention. Reference numeral 10 denotes a lens for inputting and condensing a video signal, and dichroic mirrors 11 and 12 convert the condensed incident light into three colors of red, green, and blue (R, G).

B)に分割し、それぞれの色を撮像素子13R、13G
B), and each color is divided into image sensors 13R and 13G.
.

13Bに入射する。撮像素子13R、13G 、 13
Bは各色の濃度値に対応したアナログの電気信号に変換
し、これをアナログ・デジタル変換器14R、14G 
13B. Image sensor 13R, 13G, 13
B converts it into an analog electrical signal corresponding to the density value of each color, and converts this into an analog-digital converter 14R, 14G.
.

14Bに入力する。アナログ・デジタル変換器14R2
14G、14Bはこの電気信号をデジタル信号RD。
14B. Analog to digital converter 14R2
14G and 14B convert this electric signal into a digital signal RD.

GD、BDに変換してアドレス信号としてメモリ15に
入力する。メモリ15は入力されたアドレス信号の所定
の組合せに対してそのデータ端子りに組合せに対応する
2値の画像出力PDを出力する。
The signal is converted into GD and BD and input to the memory 15 as an address signal. The memory 15 outputs a binary image output PD corresponding to a predetermined combination of input address signals to its data terminal.

ところで、第6図は赤、緑、青の3原色の各濃度値R,
G、Bを3次元に分解して表わし九色ベクトル空間を示
す。測定対象物を撮影したカラー画像は赤、緑、青信号
の濃度値がR,G、 Bである画素Q(R,G、B )
の集合として表わされるが、画像内の特定の色をした部
分け、R,G、Bを同じ割合で変化させても色合いは変
化せず明るさだけが変わるととから、直線を上の点とし
て示される。同じ様な色を示す画像内の特定色を示す部
分、つまり第6図において台形錐γで示される範囲はB
、Gの2次元で表示すれば、図示の斜線で示される範囲
になる。この範囲を2値画像化する場合には、あらかじ
めメモリ15の所定番地に(BIG)が第6図に示す斜
線領域にあるなら冒11、CB、G )が斜線領域にな
いならl□lの2値データがデータ端子りに出力される
様に書き込んでおき、デジタル信号GD、BDをメモリ
15のアドレスとして与えると、特定の色をした領域の
ときだけ111を出力する2値画像が一走査期間内で得
られる。以上の点は3次元表示の場合も全く同じである
By the way, FIG. 6 shows the density values R,
G and B are decomposed and expressed into three dimensions to show a nine-color vector space. A color image taken of the object to be measured is a pixel Q (R, G, B) whose density values of red, green, and blue signals are R, G, and B.
It is expressed as a set of , but if you change R, G, and B at the same rate in a certain color part of the image, the hue will not change, only the brightness will change. is shown as The part showing a specific color in an image showing similar colors, that is, the range indicated by the trapezoidal cone γ in Fig. 6 is B.
, G, the range is shown by diagonal lines in the figure. When converting this range into a binary image, if (BIG) is in the shaded area shown in FIG. If you write binary data so that it is output to the data terminal, and give the digital signals GD and BD as addresses in the memory 15, a binary image will be generated that outputs 111 only when the area has a specific color. Obtained within the period. The above points are exactly the same in the case of three-dimensional display.

〈発明が解決しようとする問題点〉 しかしながら、この様な従来の色認識装置ではそのメモ
リの太きさは、RGBの各デジタル信号のデータ長をそ
れぞれnビットとすると、2値画像の一画面当りz3n
ビットとなる。2値画像の画面数、つまり検知しようと
する領域の数をPとすると、全メモリ量は231 ×p
となる。n = P =−8とすれば、全メモリ量は1
28Mビットとな抄きわめて大きくなる。メモリの価格
は低下する傾向にあるが128Mビットという量は装置
コストの大半を占める値である。また、メモリには色認
識部分を区別するだめのデータを書く必要があるがメモ
リが太きいと多くの書込時間を要するという問題点があ
る。
<Problems to be Solved by the Invention> However, in such a conventional color recognition device, the memory size is limited to one screen of a binary image, assuming that the data length of each RGB digital signal is n bits. Hit z3n
Becomes a bit. If P is the number of screens of a binary image, that is, the number of areas to be detected, the total memory amount is 231 × p
becomes. If n = P = -8, the total memory amount is 1
It becomes extremely large at 28M bits. Although the price of memory is decreasing, the amount of 128 Mbit still accounts for most of the device cost. Furthermore, it is necessary to write data for distinguishing between color recognition areas in the memory, but if the memory is large, there is a problem in that it takes a lot of time to write the data.

〈問題点を解決するための手段〉 この発明は、以上の問題点を解決するため、測定対象物
の色に関連した赤、緑および青の三色のビデオ信号を得
る手段と、このビデオ信号の各濃度値をデジタル信号に
変換するアナログ・デジタル変換器と、三色のビデオ信
号に対応するデジタ左信号のうち2つのデジタル信号が
アドレス信号として入力されこれ等のアドレス信号の組
合せにより測定対象物の特定色を区別して第2のアドレ
ス信号を出力する条件が書き込まれた第1メモリ素子と
、この第1メモリ素子のデータ端子に得られたアドレス
信号と三色のビデオ信号の残りのビデオ信号に対応する
アドレス信号が入力されこれ等のアドレス信号の組合せ
により特定色を区別して2値データを出力する条件が書
き込まれた第2メモリ素子とを具備する構成としたもの
でおる。
<Means for Solving the Problems> In order to solve the above problems, the present invention provides means for obtaining three-color video signals of red, green, and blue related to the colors of an object to be measured, and a method for obtaining video signals of three colors related to the colors of an object to be measured. An analog/digital converter converts each density value into a digital signal, and two digital signals from the digital left signal corresponding to the three color video signals are input as address signals, and the combination of these address signals determines the measurement target. A first memory element in which a condition for outputting a second address signal by distinguishing a specific color of an object is written, an address signal obtained at a data terminal of this first memory element, and the remaining video of the three-color video signal. The second memory element is provided with an address signal corresponding to the input signal and a second memory element in which conditions for distinguishing a specific color and outputting binary data based on a combination of these address signals are written.

〈実施例〉 以下、本発明の実施例について図面に基づき説明する。<Example> Embodiments of the present invention will be described below with reference to the drawings.

なお、従来技術と同一の機能を有する部分には同一の符
号を付し、適宜説明を省略する。
Note that parts having the same functions as those in the prior art are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

第1図は本発明の一実施例を示す構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

アナログ・デジタル変換器14G、14Bで緑、青の各
濃度値G、Bがデジタル信号GD、BDに変換され、メ
モリ16にアドレス信号として入力される。
The green and blue density values G and B are converted into digital signals GD and BD by analog-to-digital converters 14G and 14B, and are input to the memory 16 as address signals.

メモリ16には、あらかじめ第6図の(B、G)面への
投影図である第2図の斜線で示した検出すべき特定色の
に′芥αに該当するアドレス信号の組合せでは、例えば
デジタル信号BDをデータ端子D16より出力し、斜線
の区域外のアドレス信号の組合せでは10′を出力する
様にデータが書込まれている。メモ1月7はメモ1月6
のデータ端子D16からのデジタル信号BGとアナログ
・デジタル変換器14Rからのデジタル信号RDがそれ
ぞれアドレス信号として入力されている。メモリ17に
は、あらかじめ第6図の(B、G )面への投影図であ
る第3図の斜線で示す検出すべき特定色の部分βに該当
するデジタル信号BG、RDの組合せでは、例えばII
Iをデータ端子D17より出力し、斜線の区域外のアド
レス信号の組合せでは101を出力する様にデータが書
込まれている。
In the memory 16, for example, the combination of address signals corresponding to the specific color to be detected indicated by diagonal lines in FIG. 2, which is a projection onto planes (B, G) in FIG. The digital signal BD is output from the data terminal D16, and data is written so that 10' is output for combinations of address signals outside the diagonally shaded area. Memo January 7th is Memo January 6th
The digital signal BG from the data terminal D16 and the digital signal RD from the analog-to-digital converter 14R are input as address signals, respectively. The memory 17 stores in advance, for example, a combination of digital signals BG and RD corresponding to a portion β of a specific color to be detected shown by diagonal lines in FIG. II
Data is written so that I is output from the data terminal D17, and 101 is output for combinations of address signals outside the diagonally shaded area.

以上のように構成するとメモリ17のデータ端子り、7
には(B、G )面への投影と(BIR)面への投影が
合成され、結果として第4図に示す台形錐γの部分に相
当する画素部分はf 、11を出力し、その他の領域の
場合はIOIを出力する2値画像を得ることができ、第
5図に示す場合とほぼ等しい機能が発揮される。
With the above configuration, the data terminals of the memory 17,
The projection onto the (B, G) plane and the projection onto the (BIR) plane are combined, and as a result, the pixel portion corresponding to the part of the trapezoidal pyramid γ shown in Fig. 4 outputs f, 11, and the other In the case of a region, a binary image that outputs the IOI can be obtained, and almost the same function as the case shown in FIG. 5 is exhibited.

しかしながら、デジタル信号BD、GD(7)データ長
はそれぞれnビットで構成されておυメモリ16のデー
タ端子D16から得られるデジタル信号BGのデータ長
もnビットとすると、メモリ16のメモn υ量は2  Xnビットである。またメモリ17のデー
タ端子D1□で得る画面数をPとすればメモリ17n でのメモリ量は2  XPビットとなる。従ってこれ等
の合計のメモリ量は22 n (n + P )ビット
となる。第5図のときと同じ様にn = P = 8と
すれば2”(n十P)=IMビットとなり、第5図に示
す場合に比べて総メモリ量は約1 / 100となる。
However, if the data length of the digital signals BD and GD (7) is each composed of n bits, and the data length of the digital signal BG obtained from the data terminal D16 of the υ memory 16 is also n bits, then the memo n υ amount of the memory 16 is 2 Xn bits. Further, if the number of screens obtained at the data terminal D1□ of the memory 17 is P, the amount of memory in the memory 17n is 2 XP bits. Therefore, their total memory amount is 22 n (n + P) bits. As in the case of FIG. 5, if n = P = 8, 2'' (n + P) = IM bit, and the total memory amount will be about 1/100 compared to the case shown in FIG.

〈発明の効果〉 以上、実施例と共に具体的に説明した様に本発明によれ
ば、従来に比べてメモリの容量を大幅に削減することが
できるので安価な高速画像処理が可能となる。更に、回
路の初期化も短時間で実行することができる。
<Effects of the Invention> As described above in detail along with the embodiments, according to the present invention, the memory capacity can be significantly reduced compared to the conventional art, thereby enabling inexpensive high-speed image processing. Furthermore, initialization of the circuit can also be executed in a short time.

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

第1図は本発明の一実施例を示す構成図、第2図は第1
図における第1メモリの動作を説明する説明図、第3図
は第1図における第2メモリの動作を説明する説明図、
第4図は第1図における第1・第2メモリを合成したと
きの動作を説明する説明図、第5図は従来の色認識装置
の構成を示す構成図、第6図は色ベクトル空間を説明す
る説明図である。 10・・・レンズ、11 、12・・・二色ミラー、1
3R、13G。 13B・・・撮像素子、14R、14G 、 14B・
・・アナログ・デジタル変換器、15.16.17・・
・メモリ、RD。 GD、BD、BG・・・デジタル信号、PD・・・画像
出力。
FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG.
FIG. 3 is an explanatory diagram explaining the operation of the first memory in FIG. 1; FIG. 3 is an explanatory diagram explaining the operation of the second memory in FIG.
FIG. 4 is an explanatory diagram explaining the operation when the first and second memories in FIG. It is an explanatory diagram to explain. 10...Lens, 11, 12...Dichroic mirror, 1
3R, 13G. 13B...Image sensor, 14R, 14G, 14B.
・Analog-to-digital converter, 15.16.17...
・Memory, RD. GD, BD, BG...digital signal, PD...image output.

Claims (1)

【特許請求の範囲】[Claims] 測定対象物の色に関連した赤、緑および青の三色のビデ
オ信号を得る手段と、このビデオ信号の各濃度値をデジ
タル信号に変換するアナログ・デジタル変換器と、前記
三色のビデオ信号に対応するデジタル信号のうち2つの
デジタル信号がアドレス信号として入力されこれ等のア
ドレス信号の組合せにより前記測定対象物の特定色を区
別して第2のアドレス信号を出力する条件が書き込まれ
た第1メモリ素子と、この第1メモリ素子のデータ端子
に得られたアドレス信号と前記三色のビデオ信号の残り
のビデオ信号に対応するアドレス信号が入力されこれ等
のアドレス信号の組合せにより前記特定色を区別して2
値データを出力する条件が書き込まれた第2メモリ素子
とを具備することを特徴とする物体の色認識装置。
means for obtaining three color video signals of red, green and blue related to the color of the object to be measured; an analog-to-digital converter for converting each density value of the video signal into a digital signal; and said three color video signals. Two of the digital signals corresponding to the first address signal are input as address signals, and a condition is written for distinguishing a specific color of the object to be measured by a combination of these address signals and outputting a second address signal. A memory element, and an address signal obtained at the data terminal of the first memory element and an address signal corresponding to the remaining video signals of the three colors are input, and the specific color is determined by a combination of these address signals. distinguish 2
1. A color recognition device for an object, comprising: a second memory element in which conditions for outputting value data are written.
JP60155823A 1985-07-15 1985-07-15 Color recognizing device for object Pending JPS6215421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60155823A JPS6215421A (en) 1985-07-15 1985-07-15 Color recognizing device for object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60155823A JPS6215421A (en) 1985-07-15 1985-07-15 Color recognizing device for object

Publications (1)

Publication Number Publication Date
JPS6215421A true JPS6215421A (en) 1987-01-23

Family

ID=15614265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60155823A Pending JPS6215421A (en) 1985-07-15 1985-07-15 Color recognizing device for object

Country Status (1)

Country Link
JP (1) JPS6215421A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63251868A (en) * 1987-04-08 1988-10-19 Toyota Autom Loom Works Ltd Target recognizing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63251868A (en) * 1987-04-08 1988-10-19 Toyota Autom Loom Works Ltd Target recognizing device

Similar Documents

Publication Publication Date Title
CN105592303B (en) imaging method, imaging device and electronic device
CN113709489A (en) Video compression method, device, equipment and readable storage medium
JPH03207178A (en) Video signal processor
JP2005184458A (en) Video signal processing apparatus
JPS6215421A (en) Color recognizing device for object
JPH0422069B2 (en)
JP2815497B2 (en) Color video camera
JPS6215422A (en) Color recognizing device for object
JPS595944B2 (en) Special offer
JPS63206084A (en) Image display device
JPH0778720B2 (en) Image synthesizer
JP2519486B2 (en) Image processing system
JPS60148292A (en) Color video camera
JPS57209563A (en) Diagram editing system
KR0155925B1 (en) Digital color image
JPH05298443A (en) Color picture area extracting device
RU1838891C (en) Device for image contrast control
JPS62118680A (en) Multi-picture display method for digital tv
JP2001257939A (en) Solid-state image pickup device and defective pixel recording method
JPS59110286A (en) Improving method of video due to defective channel
JPS62104294A (en) Multi-board type image pickup device
JPS646586B2 (en)
JPS61108934A (en) Color identifying device
JPS6450682A (en) Picture recording device
JPS62231290A (en) Memory writing controller