JPH07120406B2 - Color image sensor - Google Patents

Color image sensor

Info

Publication number
JPH07120406B2
JPH07120406B2 JP62189221A JP18922187A JPH07120406B2 JP H07120406 B2 JPH07120406 B2 JP H07120406B2 JP 62189221 A JP62189221 A JP 62189221A JP 18922187 A JP18922187 A JP 18922187A JP H07120406 B2 JPH07120406 B2 JP H07120406B2
Authority
JP
Japan
Prior art keywords
color
information
color range
pixel
pixels
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 - Lifetime
Application number
JP62189221A
Other languages
Japanese (ja)
Other versions
JPS6432386A (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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP62189221A priority Critical patent/JPH07120406B2/en
Publication of JPS6432386A publication Critical patent/JPS6432386A/en
Publication of JPH07120406B2 publication Critical patent/JPH07120406B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えば、果菜類用の作業ハンドを作業対象果
菜類に向けて誘導するために、撮像した画像情報から果
菜類に対応する色範囲に対応する領域の画素を抽出した
り、果実等の熟度をその色に基づいて判別したりするた
めに利用されるカラー撮像式のセンサに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention uses, for example, a color corresponding to a fruit or vegetables from imaged image information in order to guide a work hand for the fruit or vegetables to the work-target fruit or vegetables. The present invention relates to a color imaging sensor used to extract pixels in a region corresponding to a range and to determine the ripeness of fruits and the like based on their colors.

〔従来の技術〕[Conventional technology]

ところで、色の特定は、三原色の比として定量的に定義
することができるが、撮像手段から出力される三原色情
報は、撮像時の明るさ等の撮像条件の変動の影響を受け
た状態となる。
By the way, the color specification can be quantitatively defined as a ratio of the three primary colors, but the three primary color information output from the image capturing means is in a state of being affected by a change in image capturing conditions such as brightness at the time of image capturing. .

従って、撮像条件に拘らず色を正確に判別するために
は、三原色情報の夫々の明るさ情報つまり輝度情報で除
算して正規化する必要があり、又、例えば、果実とその
周囲の枝や葉との夫々を識別するために、抽出する画素
の色範囲を複数色設定する必要が生じる場合もある。
Therefore, in order to accurately determine the color regardless of the imaging conditions, it is necessary to divide by normalization by dividing each of the three primary color information by the brightness information, that is, the brightness information. In some cases, it is necessary to set a plurality of color ranges of pixels to be extracted in order to identify each of the leaves.

そして、従来では、上記三原色情報の正規化を行うため
の除算処理や、設定した色範囲の画素を抽出する処理
を、マイクロコンピュータを利用して、そのプログラム
にて実行させるようにすると、演算量やデータ量が多く
なると、その処理に時間が掛かるようになり、いわゆる
実時間処理とみなせるような高速処理を行わせることは
困難であり、例えば、作業ハンドを誘導するための誘導
用のセンサ等として用いる場合には不利である点を回避
すべく、上記正規化のための除算処理を実時間で行う手
段として、三原色情報を順次切り換えて選択した1つの
色情報と、三原色情報を加算して得た輝度情報とを、色
情報の被除数と輝度情報の除数の間の除算結果を記憶す
る記憶手段(演算テーブル)に入力して正規値を求めた
り(例えば、特開昭61−272875号公報参照)、又、ポテ
ンショメータ等にて設定した色範囲の画素抽出用の設定
電圧を変更して、上記色範囲を変更設定するようにして
いた(例えば、特開昭62−102155号公報参照)。
Then, conventionally, when the division process for normalizing the three primary color information or the process for extracting pixels in the set color range is executed by the program using a microcomputer, the calculation amount is increased. If the amount of data or the amount of data increases, it takes time to process it, and it is difficult to perform high-speed processing that can be regarded as so-called real-time processing. For example, a sensor for guiding a work hand or the like. In order to avoid the disadvantages when using as, as a means for performing the division process for the above normalization in real time, one color information selected by sequentially switching the three primary color information and the three primary color information are added. The obtained luminance information is input to a storage means (arithmetic table) for storing the result of division between the dividend of the color information and the divisor of the luminance information, or a normal value is obtained (for example, Japanese Patent Laid-Open No. In addition, the setting voltage for extracting pixels in the color range set by a potentiometer or the like is changed to change and set the color range (for example, Japanese Patent Laid-Open No. 62-102155). (See the official gazette).

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、上記従来技術では、各色範囲設定電圧を
調整して各色範囲を設定する毎に撮像処理を繰り返して
画像情報を得る必要があるために、例えば撮像対象をス
トロボ発光装置等によって照光しながら撮像するような
場合には、照光装置等の作動時間のために全体の処理時
間が長くなる欠点があり、又、照光条件等が変動して各
色範囲での画像が異なり、適正な画素抽出ができないお
それがあった。
However, in the above-mentioned conventional technique, it is necessary to repeat the imaging process every time the color range setting voltage is adjusted to set each color range to obtain image information. Therefore, for example, an imaging target is imaged while being illuminated by a strobe light emitting device or the like. In such a case, there is a drawback that the entire processing time becomes long due to the operating time of the illumination device and the image in each color range is different due to the variation of the illumination condition etc., and proper pixel extraction cannot be performed. There was a fear.

本発明は、上記実情に鑑みてなされたものであって、そ
の目的は、各色範囲についての画素抽出の処理時間が長
くなることを回避しつつ、各色範囲について適正な画素
抽出を行うようにすることにある。
The present invention has been made in view of the above circumstances, and an object thereof is to perform appropriate pixel extraction for each color range while avoiding a long pixel extraction processing time for each color range. Especially.

〔問題点が解決するための手段〕[Means for solving problems]

本発明によるカラー撮像式のセンサの特徴構成は、カラ
ー式の撮像手段からの三原色情報及び輝度情報に基づい
て、各画素の三原色情報の夫々を前記輝度情報で除算し
た正規値を求める正規化手段と、前記正規値に基づい
て、設定された色範囲となる画素を抽出する画素抽出手
段と、抽出された画素をそのアドレス情報に対応させて
記憶する記憶手段と、前記正規化手段にて求められた前
記正規値を記憶する正規値記憶手段とからなり、前記画
素抽出手段は、色範囲を設定変更自在に、且つ、複数個
の色範囲を設定自在に構成されるとともに、前記正規化
手段の出力情報又は前記正規値記憶手段の記憶情報に基
づいて、前記設定された複数個の色範囲の夫々となる画
素を、各色範囲ごとに順次抽出するように構成され、前
記記憶手段は、設定された複数個の色範囲に夫々に対応
して抽出された画素のアドレス情報を各色範囲毎に区別
できる状態で記憶するように構成されている点にあり、
その作用並びに効果は以下の通りである。
The color imaging type sensor according to the present invention is characterized by a normalizing means for obtaining a normal value obtained by dividing each of the three primary color information of each pixel by the luminance information based on the three primary color information and the luminance information from the color type imaging means. And a pixel extracting means for extracting pixels in the set color range based on the normal value, a storage means for storing the extracted pixels in association with the address information, and the normalizing means. The pixel extracting means is configured to be able to change the color range and to set a plurality of color ranges, and the normalizing means. On the basis of the output information of the above or the storage information of the normal value storage means, each pixel of each of the plurality of set color ranges is sequentially extracted for each color range. There a plurality of pixels of the address information extracted corresponding to each color ranges in that it is configured to store a state which can be distinguished for each color range,
The action and effect are as follows.

〔作 用〕[Work]

正規化手段にて、各画素毎に、三原色情報を明るさつま
り輝度情報で除算した正規値を求めるとともに、その正
規値を正規値記憶手段に記憶する。そして、正規化手段
から出力される正規値又は正規値記憶手段に記憶された
正規値に基づいて、複数個の色範囲の夫々となる画素を
各色範囲ごとに順次抽出する。つまり、例えば、最初に
設定した色範囲についての画素抽出を正規化手段から出
力される正規値に基づいて行い、これ以降に設定した色
範囲についての画素抽出を正規化記憶手段に記憶された
正規値に基づいて行うのである。但し、抽出する画素の
色範囲を設定変更自在な状態で、且つ、複数個の色範囲
を設定できるようにしながら、それら各色範囲毎の抽出
される画素のアドレス情報を区別できるように記憶させ
ておくことにより、抽出した色範囲同士の位置関係や、
各色範囲となる画素の位置等の検出を高速化している。
The normalizing means obtains a normal value obtained by dividing the three primary color information by the brightness, that is, the brightness information for each pixel, and stores the normal value in the normal value storing means. Then, based on the normal value output from the normalizing means or the normal value stored in the normal value storing means, pixels that are each of the plurality of color ranges are sequentially extracted for each color range. That is, for example, the pixel extraction for the first set color range is performed based on the normal value output from the normalization means, and the pixel extraction for the color range set thereafter is performed by the normalization stored in the normalization storage means. It is based on the value. However, while setting the color range of the pixel to be extracted freely and enabling setting of a plurality of color ranges, the address information of the extracted pixel for each color range is stored so that it can be distinguished. By setting, the positional relationship between the extracted color ranges,
The detection of the position of the pixel in each color range is speeded up.

〔発明の効果〕〔The invention's effect〕

従って、従来技術のように各色範囲を設定する毎に撮像
処理を繰り返すのではなく、1回の撮像処理にて得た画
像情報に基づいて複数個の色範囲についての画素抽出を
行うので、全体の処理時間を短縮することができ、又、
複数回の撮像処理による画像では、照光条件の変動等の
ために異なった画像となって各色範囲について適正な画
素抽出ができないという不具合も発生せず、1回の撮像
処理による同一の画像に基づいて各色範囲についての画
素抽出を適正に行うことができる。
Therefore, the image pickup process is not repeated every time each color range is set as in the prior art, but pixels are extracted for a plurality of color ranges based on the image information obtained by one image pickup process. Processing time can be shortened,
The images obtained by multiple imaging processes are different images due to variations in illumination conditions, and the problem that proper pixel extraction cannot be performed for each color range does not occur. Thus, pixel extraction for each color range can be properly performed.

併せて、抽出する色範囲の設定、並びに、その抽出する
色範囲の個数等を、装置構成を変えることなく、任意に
設定変更できると共に、自動的に明るさに対して正規化
された画像情報から設定された色範囲となる画素のアド
レス情報が区別できる状態で得られるので、センサとし
ての汎用性を維持しながらも、画像処理の高速化を図る
ことができる。
At the same time, the setting of the color range to be extracted and the number of the color ranges to be extracted can be arbitrarily changed without changing the device configuration, and the image information automatically normalized to the brightness can be set. Since the address information of the pixels in the color range set by can be obtained in a distinguishable state, it is possible to speed up image processing while maintaining versatility as a sensor.

〔実施例〕〔Example〕

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

図面に示すように、液晶等を利用した電子シャッタ
(1)、及び、撮像対象を照光するストロボ発光装置等
を利用した照光装置(2)を備えたカラー式の撮像手段
として、固体撮像素子等を利用した二次元イメージセン
サ(3)が設けられ、そのイメージセンサ(3)から、
三原色情報としての三原色色信号(R),(G),
(B)、及び、輝度情報としての輝度信号(Y)の夫々
が出力されるように構成されている。
As shown in the drawing, a solid-state image pickup device or the like is provided as a color-type image pickup means including an electronic shutter (1) using a liquid crystal or the like, and an illumination device (2) using a strobe light emitting device or the like for illuminating an image pickup target. Is provided with a two-dimensional image sensor (3), and from the image sensor (3),
Three primary color signals (R), (G) as three primary color information,
(B) and the luminance signal (Y) as the luminance information are output.

但し、前記三原色信号(R),(G),(B)は、同じ
増幅率で出力され、前記輝度信号(Y)は、前記三原色
信号(R),(G),(B)の和の値で出力される。
However, the three primary color signals (R), (G), and (B) are output at the same amplification rate, and the luminance signal (Y) is the sum of the three primary color signals (R), (G), and (B). It is output as a value.

前記三原色信号(R),(G),(B)、及び、前記輝
度信号(Y)の夫々は、バッファアンプ(4)を介し
て、A/D変換器(5)に入力されて、各画素毎に対応し
て量子化され、その出力をレジスタ(6)に一時記憶さ
れることになる。
Each of the three primary color signals (R), (G), (B) and the luminance signal (Y) is input to an A / D converter (5) via a buffer amplifier (4) and It is quantized corresponding to each pixel, and its output is temporarily stored in the register (6).

前記A/D変換器(5)にてデジタ値に変換された前記輝
度信号(Y)は、その逆数(1/Y)を記憶する記憶手段
としての逆数テーブル(7)に入力されて、その値に応
じた逆数(1/Y)に変換されることになる。
The luminance signal (Y) converted into a digital value by the A / D converter (5) is input to a reciprocal table (7) as a storage unit that stores the reciprocal (1 / Y), and It will be converted to the reciprocal (1 / Y) according to the value.

前記逆数テーブル(7)について説明すれば、例えば、
予め、前記輝度信号(Y)の値に対応してその逆数(1/
Y)を演算すると共に、得られた逆数(1/Y)の値を、例
えば、前記輝度信号(Y)の値をアドレス値としてその
逆数(1/Y)を直接読み出し可能な状態で、記憶させて
おくことになる。
Explaining the reciprocal table (7), for example,
Correspondingly to the value of the luminance signal (Y), its reciprocal (1 /
Y) is calculated, and the obtained reciprocal (1 / Y) value is stored, for example, in a state where the reciprocal (1 / Y) can be directly read using the value of the luminance signal (Y) as an address value. I will let you.

前記各A/D変換器(5)にてデジタル値に変換された前
記三原色信号(R),(G),(B)は、各画素毎に、
対応する乗算器(8)にて、前記輝度信号(Y)の値に
応じて前記逆数テーブル(7)から出力される逆数(1/
Y)と乗算されて、前記三原色信号(R),(G),
(B)の夫々を前記輝度信号(Y)にて除算した正規値
(R/Y),(G/Y),(B/Y)の夫々に変換され、各画素
のアドレスに対応して記憶するように構成された第1画
像メモリ(9)に入力されることになる。
The three primary color signals (R), (G) and (B) converted into digital values by the respective A / D converters (5) are
In the corresponding multiplier (8), the reciprocal (1/1 /) output from the reciprocal table (7) according to the value of the luminance signal (Y).
Y) and the three primary color signals (R), (G),
Each of (B) is divided by the luminance signal (Y) to be converted into a normal value (R / Y), (G / Y), (B / Y), and stored in correspondence with the address of each pixel. Will be input to the first image memory (9) configured to.

つまり、前記逆数テーブル(7)と前記乗算器(8)と
で、前記三原色信号(R),(G),(B)の夫々を前
記輝度信号(Y)にて除算して前記正規値(R/Y),(G
/Y),(B/Y)を求める正規化手段(100)が構成され、
前記第1画像メモリ(9)で、前記正規化手段(100)
にて求められた前記正規値(R/Y),(G/Y),(B/Y)
を記憶する正規値記憶手段が構成されることになる。
That is, the reciprocal table (7) and the multiplier (8) divide each of the three primary color signals (R), (G) and (B) by the luminance signal (Y) to obtain the normal value ( R / Y), (G
/ Y), (B / Y) normalization means (100) is configured,
In the first image memory (9), the normalizing means (100)
Normal value (R / Y), (G / Y), (B / Y)
A normal value storage means for storing is stored.

図中、(10)は、前記イメージセンサ(3)の撮像画像
情報から、設定された色範囲に対応する画素のみを抽出
するために、その色範囲に対応する前記正規値(R/
Y),(G/Y),(B/Y)夫々の値の範囲を記憶する色範
囲設定用のレジスタであって、前記三原色信号(R),
(G),(B)の夫々に対応して3個が設けられてい
る。(11)は、前記色範囲設定用のレジスタ(10)の出
力と、前記各正規値(R/Y),(G/Y),(B/Y)とを比
較して、前記各正規値(R/Y),(G/Y),(B/Y)が前
記レジスタ(10)に設定された範囲内にある場合に、
“1"の値を出力するウインドコンパレータ、(12)は、
前記ウインドコンパレータの全出力が“1"の値である場
合に、“1"の値を出力するANDゲートである。
In the figure, (10) is the normal value (R / R) corresponding to the color range in order to extract only the pixels corresponding to the set color range from the imaged image information of the image sensor (3).
Y), (G / Y), (B / Y), which are color range setting registers for storing the respective range of values, the three primary color signals (R),
Three pieces are provided corresponding to each of (G) and (B). (11) compares the output of the color range setting register (10) with the respective normal values (R / Y), (G / Y), (B / Y), and obtains the respective normal values. When (R / Y), (G / Y), (B / Y) are within the range set in the register (10),
The window comparator (12) that outputs a value of “1” is
It is an AND gate that outputs a value of "1" when all outputs of the window comparator have a value of "1".

つまり、前記ANDゲート(12)は、前記イメージセンサ
(3)にて撮像された画像情報の画素の色が、前記レジ
スタ(10)にて設定される色範囲にある場合に“1"の値
を出力し、設定された色範囲外である場合には“0"の値
を出力して、設定色範囲にある画素を抽出することにな
る。
That is, the AND gate (12) has a value of "1" when the color of the pixel of the image information captured by the image sensor (3) is in the color range set by the register (10). Is output, and if it is outside the set color range, a value of “0” is output to extract pixels in the set color range.

前記ANDゲート(12)から出力される画素の情報は、色
カウンター(13)にて設定される設定色範囲を示すラベ
ル値を付与された状態で、その画素のアドレスに対応し
て、抽出された画素の情報を記憶する記憶手段としての
色メモリ(14)に記憶されることになる。
The pixel information output from the AND gate (12) is extracted corresponding to the address of the pixel with a label value indicating the set color range set by the color counter (13) added. The information is stored in the color memory (14) as a storage means for storing the information of the pixel.

つまり、前記色範囲設定用のレジスタ(10)、ウインド
コンパレータ(11)、及び、ANDゲート(13)にて、前
記正規値(R/Y),(G/Y),(B/Y)に基づいて、設定
された色範囲となる画素を抽出する画素抽出手段(10
1)が構成されていることになる。
That is, the normal values (R / Y), (G / Y), and (B / Y) are set to the color range setting register (10), window comparator (11), and AND gate (13). Pixel extraction means (10) for extracting pixels within the set color range based on the
1) is configured.

又、前記輝度信号(Y)を各画素のアドレスに対応させ
た状態で記憶する第2画像メモリ(15)、前記色メモリ
(14)及び第2画像メモリ(15)に対する記憶情報やア
ドレス情報を入出力するためのバッファ(16)、前記イ
メージセンサ(3)の撮像処理並びにそれから出力され
る水平同期信号や垂直同期信号に同期して、各部が連続
して作動するように制御するための入出力コントローラ
(17)、前記入出力コントローラ(17)に対して作動指
令を与えると共に、抽出する画素の色範囲の設定や各メ
モリ(9),(14),(15)に記憶される画像情報の入
出力、並びに、それら記憶情報に基づいて各種演算処理
を行うためのCPU(18)の夫々が設けられている。
Further, storage information and address information for the second image memory (15), the color memory (14), and the second image memory (15) that store the luminance signal (Y) in a state corresponding to the address of each pixel A buffer (16) for inputting / outputting, an input for controlling each part to operate continuously in synchronization with the image pickup processing of the image sensor (3) and a horizontal synchronizing signal or a vertical synchronizing signal output from it. Image information stored in the memories (9), (14), (15) while giving an operation command to the output controller (17) and the input / output controller (17), setting the color range of the pixel to be extracted Each of the CPU (18) for inputting and outputting, and performing various arithmetic processing based on the stored information is provided.

ところで、前記逆数テーブル(7)は、その記憶内容を
書き換え自在ないわゆるRAMにて構成され、前記輝度信
号(Y)の逆数(1/Y)に代えて“1"の値を記憶させる
ように切り換えることにより、各部の構成並びにその動
作を変更することなく、前記第1画像メモリ(9)に記
憶される正規値(R/Y),(G/Y),(B/Y)の値を、元
の三原色信号(R),(G),(B)の値と等しいもの
に切り換えることができる。
By the way, the reciprocal table (7) is composed of a so-called RAM whose storage content is rewritable, and stores a value of "1" instead of the reciprocal (1 / Y) of the luminance signal (Y). By switching the values of the normal values (R / Y), (G / Y), (B / Y) stored in the first image memory (9) without changing the configuration and operation of each unit. , The original three primary color signals (R), (G), and (B) can be switched to the same value.

従って、処理画像の表示用のモニタ(図示せず)を、前
記第1画像メモリ(9)に記憶された情報を常時表示す
る状態に接続しておくだけで、撮像原画像と、正規化さ
れた画像とを簡単に切り換えて表示させることができ
る。
Therefore, simply by connecting a monitor (not shown) for displaying the processed image to a state in which the information stored in the first image memory (9) is always displayed, the imaged original image and the normalized image can be obtained. The displayed image can be easily switched and displayed.

各部の動作について説明を加えれば、前記CPU(18)の
指令に基づいて、前記入出力コントローラ(17)から前
記電子シャッタ(1)、照光装置(2)、及び、イメー
ジセンサ(3)の夫々に、作動指令が与えられて、撮像
処理が開始されることになる。
To explain the operation of each part, each of the electronic shutter (1), the illumination device (2), and the image sensor (3) from the input / output controller (17) is based on a command from the CPU (18). Then, an operation command is given to start the imaging process.

撮像処理が終了するに伴って、前記三原色信号(R),
(G),(B)及び輝度信号(Y)が入力されて、各画
素毎に、前記A/D変換器(5)にてデジタル値に変換さ
せると共に、前記正規化手段(100)にて正規値(R/
Y),(G/Y),(B/Y)に変換されて、前記第1画像メ
モリ(9)に1画面分の画像情報が記憶されることにな
る。また、同時に、前記輝度信号(Y)が前記第2画像
メモリ(15)に記憶され、且つ、前記正規化手段(10
0)にて求められた正規値(R/Y),(G/Y),(B/Y)
が、前記色範囲レジスタ(10)にて設定された色範囲と
なる画素が抽出され、その色範囲を示すラベル値を付与
されて、前記色メモリ(14)に記憶されることになる。
As the imaging process is completed, the three primary color signals (R),
(G), (B) and the luminance signal (Y) are input, and each pixel is converted into a digital value by the A / D converter (5) and is also normalized by the normalizing means (100). Normal value (R /
After being converted into Y), (G / Y), and (B / Y), one screen of image information is stored in the first image memory (9). At the same time, the luminance signal (Y) is stored in the second image memory (15), and the normalizing means (10)
Normal value (R / Y), (G / Y), (B / Y)
However, pixels in the color range set by the color range register (10) are extracted, a label value indicating the color range is given, and the pixels are stored in the color memory (14).

そして、これら一連の処理が、1画面分の画像情報につ
いて連続的に行われて、1画面分の画像情報の入力完了
に伴って、正規化の処理並びに設定色範囲の画素の抽出
の夫々が同時に完了するのである。
Then, a series of these processes are continuously performed on the image information for one screen, and when the input of the image information for one screen is completed, the normalization process and the extraction of the pixels in the set color range are performed. It is completed at the same time.

但し、前記各メモリ(9),(14),(15)の各画素に
対応するアドレス値は、全て同じ値となるように設定し
ており、一つの画素の正規値(R/Y),(G/Y),(B/
Y)、輝度信号(Y)の値、及び、その画素の色が設定
色範囲内の色であるか否かを、同じアドレス情報を用い
て同時に読み出すことができるように構成されている。
However, the address values corresponding to each pixel of each of the memories (9), (14), (15) are set to be the same value, and the normal value (R / Y) of one pixel, (G / Y), (B /
Y), the value of the luminance signal (Y), and whether or not the color of the pixel is within the set color range can be simultaneously read using the same address information.

従って、注目する画素の明るさや色を簡単に知ることが
できるのである。
Therefore, it is possible to easily know the brightness and color of the pixel of interest.

但し、複数個の異なる色範囲が同時に設定される場合に
は、前記CPU(18)に対して予め設定する色範囲を指令
しておくことにより、前記入出力コントローラ(17)
が、前記色範囲設定用のレジスタ(10)の設定値を抽出
する画素の色範囲に対応して変更しながら、同一対象を
繰り返し撮像させるように各部の作動を制御することに
なる。そして、各色範囲毎に異なるラベル値を付与しな
がら、前記色メモリ(14)に繰り返し書き込むことにな
るが、前記第1画像メモリ(9)に記憶されている画像
情報を繰り返し利用してもよい。
However, when a plurality of different color ranges are set at the same time, the CPU (18) is instructed to set a preset color range so that the input / output controller (17)
However, while changing the setting value of the color range setting register (10) according to the color range of the pixel to be extracted, the operation of each unit is controlled so that the same object is repeatedly imaged. Then, the color information is repeatedly written in the color memory (14) while giving different label values for each color range, but the image information stored in the first image memory (9) may be repeatedly used. .

つまり、前記CPU(18)及び前記入出力コントローラ(1
7)を利用して、前記色範囲設定用のレジスタ(10)の
記憶内容を書き換えて、画素抽出の処理を繰り返させる
ことにより、前記画素抽出手段(101)が、色範囲を設
定変更自在に、且つ、複数個の色範囲を設定自在に構成
されるとともに、前記正規化手段(100)の出力情報又
は前記第1画像メモリ(9)の記憶情報に基づいて、前
記設定された複数個の色範囲の夫々となる画素を、各色
範囲ごとに順次抽出するように構成されることになり、
各色範囲毎に異なるラベル値を付与しながら、抽出され
た画素のアドレス情報に対応して前記色メモリ(14)に
書き込ませることにより、抽出された画素を記憶する記
憶手段としての前記色メモリ(14)が、設定された複数
個の色範囲の夫々に対応して抽出された画素のアドレス
情報を各色範囲毎に区別できる状態で記憶するように構
成されていることになる。
That is, the CPU (18) and the input / output controller (1
By using 7), the memory contents of the color range setting register (10) are rewritten, and the pixel extraction process is repeated, so that the pixel extraction means (101) can freely change the color range setting. A plurality of color ranges are settable, and the plurality of set color ranges are set based on the output information of the normalizing means (100) or the storage information of the first image memory (9). It will be configured to sequentially extract each pixel in each color range for each color range,
The color memory (14) is written in the color memory (14) in correspondence with the address information of the extracted pixels while giving different label values to the respective color ranges, thereby storing the extracted color pixels ( 14) is configured to store the address information of the pixels extracted corresponding to each of the plurality of set color ranges in a distinguishable state for each color range.

〔別実施例〕[Another embodiment]

上記実施例では、正規化手段(100)を、輝度信号
(Y)の逆数(1/Y)を記憶するテーブル(7)と、そ
の出力値と三原色信号(R),(G),(B)とを乗算
する乗算器(8)とで構成した場合を例示したが、例え
ば、前記三原色信号(R),(G),(B)及び輝度信
号(Y)の夫々を、対数変換して、除算処理を対数の減
算処理に置き換えて実行させた後、その結果を逆対数変
換するように構成してもよく、正規化手段(100)の具
体構成は各種変更できる。
In the above embodiment, the normalizing means (100) is provided with a table (7) for storing the reciprocal (1 / Y) of the luminance signal (Y), its output value and the three primary color signals (R), (G), (B). ) And a multiplier (8) which multiplies with each other, the logarithmic conversion is performed on each of the three primary color signals (R), (G), (B) and the luminance signal (Y). The division process may be replaced with a logarithmic subtraction process and executed, and then the result may be subjected to inverse logarithmic conversion. The specific configuration of the normalizing means (100) may be variously changed.

又、上記実施例では、設定された色範囲の画素を記憶さ
せる記憶手段としての色メモリ(14)を、抽出された画
素のアドレス情報に対応して、その画素の色範囲を示す
ラベル値を記憶させるようにした場合を例示したが、例
えば、抽出された画素のアドレス値のリスト等を、設定
された色範囲に対応して記憶させるようにしてもよく、
各色範囲毎の画素の情報を、複数の色範囲毎に区別でき
る状態で記憶させるための具体構成は、各種変更でき
る。
Further, in the above-described embodiment, the color memory (14) as a storage means for storing the pixels in the set color range is provided with the label value indicating the color range of the pixel in correspondence with the address information of the extracted pixel. Although the case of storing is exemplified, for example, a list of the address values of the extracted pixels may be stored corresponding to the set color range,
The specific configuration for storing the pixel information for each color range in a distinguishable state for each of a plurality of color ranges can be changed in various ways.

又、本発明を実施するに、センサを構成する各部の具体
構成は、並びに、得られる画像情報の利用形態は、各種
変更できる。
Further, in carrying out the present invention, the specific configuration of each part constituting the sensor and the usage form of the obtained image information can be variously changed.

尚、特許請求の範囲の項に図面との対照を便利にするた
めに符号を記すが、該記入により本発明は添付図面の構
造に限定されるものではない。
It should be noted that reference numerals are added to the claims for convenience of comparison with the drawings, but the present invention is not limited to the structures of the accompanying drawings by the entry.

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

図面は本発明に係るカラー撮像式のセンサの実施例を示
すブロック図である。 (R),(G),(B)……三原色情報、(Y)……輝
度情報、(1/Y)……逆数、(R/Y),(G/Y),(B/Y)
……正規値、(3)……撮像手段、(9)……正規値記
憶手段、(14)……記憶手段、(100)……正規化手
段、(101)……画素抽出手段。
1 is a block diagram showing an embodiment of a color image pickup type sensor according to the present invention. (R), (G), (B) ... Three primary color information, (Y) ... Luminance information, (1 / Y) ... Reciprocal, (R / Y), (G / Y), (B / Y)
...... Normal value, (3) ...... Imaging means, (9) ...... Normal value storage means, (14) ...... Storage means, (100) ...... Normalization means, (101) ...... Pixel extraction means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】カラー式の撮像手段(3)からの三原色情
報(R),(G),(B)及び輝度情報(Y)に基づい
て、各画素の三原色情報(R),(G),(B)の夫々
を前記輝度情報(Y)で除算した正規値(R/Y),(G/
Y),(B/Y)を求める正規化手段(100)と、前記正規
値(R/Y),(G/Y),(B/Y)に基づいて、設定された
色範囲となる画素を抽出する画素抽出手段(101)と、
抽出された画素をそのアドレス情報に対応させて記録す
る記憶手段(14)と、前記正規化手段(100)にて求め
られた前記正規値(R/Y),(G/Y),(B/Y)を記憶す
る正規値記憶手段(9)とからなり、前記画素抽出手段
(101)は、色範囲を設定変更自在に、且つ、複数個の
色範囲を設定自在に構成されるとともに、前記正規化手
段(100)の出力情報又は前記正規値記憶手段(9)の
記憶情報に基づいて、前記設定された複数個の色範囲の
夫々となる画素を、各色範囲ごとに順次抽出するように
構成され、前記記憶手段(14)は、設定された複数個の
色範囲の夫々に対応して抽出された画素のアドレス情報
を各色範囲毎に区別できる状態で記憶するように構成さ
れているカラー撮像式のセンサ。
1. The primary color information (R), (G) of each pixel based on the primary color information (R), (G), (B) and the brightness information (Y) from a color type image pickup means (3). , (B) are divided by the luminance information (Y) to obtain normal values (R / Y), (G /
Y), (B / Y) normalizing means (100), and pixels that have a color range set based on the normal values (R / Y), (G / Y), (B / Y) A pixel extraction means (101) for extracting
Storage means (14) for recording the extracted pixels in association with the address information, and the normal values (R / Y), (G / Y), (B) obtained by the normalizing means (100). / Y) for storing a normal value storage means (9), the pixel extraction means (101) is configured so that the color range can be changed and a plurality of color ranges can be set. Based on the output information of the normalization means (100) or the storage information of the normal value storage means (9), the pixels that are each of the plurality of set color ranges are sequentially extracted for each color range. The storage means (14) is configured to store the address information of the pixels extracted corresponding to each of the plurality of set color ranges in a distinguishable state for each color range. Color image sensor.
JP62189221A 1987-07-29 1987-07-29 Color image sensor Expired - Lifetime JPH07120406B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62189221A JPH07120406B2 (en) 1987-07-29 1987-07-29 Color image sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62189221A JPH07120406B2 (en) 1987-07-29 1987-07-29 Color image sensor

Publications (2)

Publication Number Publication Date
JPS6432386A JPS6432386A (en) 1989-02-02
JPH07120406B2 true JPH07120406B2 (en) 1995-12-20

Family

ID=16237596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62189221A Expired - Lifetime JPH07120406B2 (en) 1987-07-29 1987-07-29 Color image sensor

Country Status (1)

Country Link
JP (1) JPH07120406B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61272875A (en) * 1985-05-28 1986-12-03 Fujitsu Ltd Image processor
JPS62102155A (en) * 1985-10-30 1987-05-12 Kubota Ltd Device for discriminating maturity degree for vegetable fruits

Also Published As

Publication number Publication date
JPS6432386A (en) 1989-02-02

Similar Documents

Publication Publication Date Title
CN114283124B (en) A dirt detection method, device, equipment and storage medium
JPH07120407B2 (en) Color image sensor
JPH0748863B2 (en) Color imaging sensor and method for setting color range information thereof
JPS63298578A (en) Image display device for surface analysis
JPH03192392A (en) Video signal output device
JPS6116984B2 (en)
JP3120469B2 (en) Image display method and apparatus
JP7572762B1 (en) Inspection device, inspection method, and program
JPS61290880A (en) Image deciding device
KR100255861B1 (en) Input and output image processing method and apparatus using plural lookup table
JPH04296977A (en) Vegetable/fruit coloring inspector
JPH066832A (en) Picture processing unit with real time fault diagnostic function
JPH0546744A (en) Image processing device
JPS6031184A (en) Color display for analyzer
JPH01297040A (en) Electronic endoscope device
JP2001209694A (en) Work analysis support system
JPS63316888A (en) Processing system for coloring image
JPH0424750B2 (en)
JPH11110552A (en) Image color extraction method and image processing apparatus using the method
JPH0212571A (en) Method and device for correcting picture
JPH05314256A (en) Image data processor
JPS62117080A (en) Picture processing device
JPS63301374A (en) Vanishing method for background of image
Mengers Digital video systems applied to product inspection
JPH06105973B2 (en) Image processing device