JPH0682233A - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH0682233A
JPH0682233A JP4200873A JP20087392A JPH0682233A JP H0682233 A JPH0682233 A JP H0682233A JP 4200873 A JP4200873 A JP 4200873A JP 20087392 A JP20087392 A JP 20087392A JP H0682233 A JPH0682233 A JP H0682233A
Authority
JP
Japan
Prior art keywords
color
illuminance
gradation
image
area
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.)
Withdrawn
Application number
JP4200873A
Other languages
Japanese (ja)
Inventor
Ikuo Hashiya
郁雄 橋谷
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP4200873A priority Critical patent/JPH0682233A/en
Publication of JPH0682233A publication Critical patent/JPH0682233A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To provide a color image processor which enables accurate detection of an object by removing effect of changes in external conditions such as light ing to stabilize the detecting conditions. CONSTITUTION:A correction computing section 18 compares the gradation of a reference area from an illuminance detection section 12 with the reference gradation of a reference illuminance memory 19 to determine variation of illuminance, and correction values of the conditions of lighting by lighting devices 15, 16 and 17 are calculated so that the gradation in the control area is stabilized to the reference gradation. A control circuit section 20 controls the lighting devices 15, 16 and 17 of respective colors based on the correction values to adjust light sources of the lighting devices 15, 16 and 17 thereby achieving stabilization of the gradation in the control area to the reference gradation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、所定の検出領域を撮像
したカラー画像に基づいて、その検出領域内での目的と
する検出対象物の画像を検出するカラー画像処理装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus for detecting an image of a target detection target in a detection area based on a color image obtained by picking up a predetermined detection area.

【0002】[0002]

【従来の技術】従来のこの種のカラー画像処理装置は図
4に示すように、CCD2次元カラーイメージセンサな
どを用いた撮像装置1を備え、撮像装置1によって所要
の空間領域が撮像される。撮像装置1から出力される画
像信号は、色分離手段を兼ねたビデオ信号処理部2に入
力されて、R(赤)・G(緑)・B(青)の3色の画像
信号に分離された後、A/D変換回路3によってディジ
タル信号に変換され、比較回路4に入力される。撮像装
置1によって撮像された空間領域には、図5に示すよう
に、検査領域指定部4により検出対象物Xの画像を含む
検出領域W1 が設定される。
2. Description of the Related Art As shown in FIG. 4, a conventional color image processing apparatus of this type includes an image pickup device 1 using a CCD two-dimensional color image sensor or the like, and the image pickup device 1 picks up an image of a required spatial region. The image signal output from the image pickup apparatus 1 is input to the video signal processing unit 2 which also serves as a color separation unit, and is separated into three color image signals of R (red), G (green), and B (blue). After that, it is converted into a digital signal by the A / D conversion circuit 3 and input to the comparison circuit 4. As shown in FIG. 5, the inspection area designating unit 4 sets a detection area W 1 including an image of the detection object X in the spatial area imaged by the imaging device 1.

【0003】而してA/D変換回路3から出力される画
像信号のうち、検出領域W1 を検出領域指定部4が指定
し、指定された検出領域W1 内の画素についてのみ比較
回路4では、基準階調メモリ8に記憶されている検出領
域W1 に対応した基準階調に基づいて閾値メモリ7に格
納されている所定の閾値と比較するのである。つまり閾
値メモリ7には、目的とする検出対象物Xに対して設定
された階調範囲の上限値と下限値とがR・G・Bの各色
ごとに格納されており、検出領域指定部4で指定された
検出領域W1 内の画素について、比較回路4はR・G・
Bの各色ごとに階調が下限値以上かつ上限値以下である
かどうかを判定し、その画素の階調が全色について設定
された階調範囲内である場合に検出目的の対象となる画
素としてその画像信号を出力する。ここにおいて、階調
はたとえば8ビット階調(0〜255の256階調)に
設定される。また、階調範囲は、Rが50〜100、G
が100〜150、Bが200〜255などと設定され
る。カウンタ回路9では比較回路4から出力される画像
信号から検出目的の対象となる画素数を計数し、カウン
タ回路9とともに処理手段を構成する計測処理部10で
は、計数された画素数に基づいて計測検出対象物Xの面
積や重心を求める。
Thus, in the image signal output from the A / D conversion circuit 3, the detection area W 1 is designated by the detection area designating section 4, and only the pixels within the designated detection area W 1 are compared circuit 4. Then, the comparison is made with the predetermined threshold value stored in the threshold value memory 7 based on the reference gradation corresponding to the detection region W 1 stored in the reference gradation memory 8. That is, the threshold memory 7 stores the upper limit value and the lower limit value of the gradation range set for the target detection object X for each color of R, G, B, and the detection area designating unit 4 For the pixel in the detection area W 1 designated by
For each color of B, it is determined whether the gradation is above the lower limit and below the upper limit, and if the gradation of that pixel is within the gradation range set for all colors, the pixel targeted for detection To output the image signal. Here, the gradation is set to, for example, 8-bit gradation (256 gradations from 0 to 255). Further, in the gradation range, R is 50 to 100 and G is
Is set to 100 to 150, B is set to 200 to 255, and the like. The counter circuit 9 counts the number of pixels targeted for detection from the image signal output from the comparison circuit 4, and the measurement processing unit 10 that constitutes processing means together with the counter circuit 9 performs measurement based on the counted number of pixels. The area and center of gravity of the detection object X are obtained.

【0004】尚R・G・Bの各色ごとにA/D変換され
たディジタル信号はD/A変換回路11でD/A変換さ
れてアナログ信号の画像信号となりCRT12に表示さ
れるようになっている。
The digital signal A / D-converted for each color of R, G, B is D / A-converted by the D / A conversion circuit 11 and becomes an analog image signal to be displayed on the CRT 12. There is.

【0005】[0005]

【発明が解決しようとする課題】上記従来例構成では、
検出対象物Xの画素を抽出する閾値を設定した条件と異
なる条件下、例えば照明の明るさが変化した場合、同じ
検出対象物Xでも画像信号の階調レベルが変化してR・
G・Bの各信号の階調レベルも変化するため、設定され
た閾値では正確に検出対象物の検出できなくなるという
問題があった。
In the above-mentioned conventional configuration,
When the brightness of the illumination changes, for example, when the brightness of the illumination changes, the gradation level of the image signal changes even if the threshold of extracting the pixels of the detection target X is different.
Since the gradation levels of the G and B signals also change, there is a problem in that the detection target cannot be accurately detected with the set threshold value.

【0006】またこの外部条件の変化を無くすために
は、大きな労力と費用がかかり、実用上問題があった。
本発明は、上述の問題点に鑑みて為されたもので、その
目的とするところは照明等の外部条件の変化の影響を除
去して検出条件を安定させ検出対象物の検出が正確に行
なえるカラー画像処理装置を提供するにある。
Further, in order to eliminate this change in the external condition, it takes a lot of labor and cost, and there is a practical problem.
The present invention has been made in view of the above problems, and its object is to eliminate the influence of changes in external conditions such as illumination and stabilize the detection conditions to enable accurate detection of the detection target. The present invention provides a color image processing device.

【0007】[0007]

【課題を解決するための手段】請求項1の発明では、上
記目的を達成するために、検出対象物のカラー画像を撮
像する撮像手段と、撮像手段より出力された画像信号を
複数の色の画像信号に分離してA/D変換する信号処理
手段と、全画像領域内で各色の画像信号を検出したい検
出領域を指定する検出領域指定手段と、この指定された
検出領域に設定される各色の階調範囲の閾値と上記検出
領域内の画素について各色ごとの階調とを比較する比較
手段と、検出領域内の画素のうち各色について階調が上
記階調範囲内に属する画素の個数を計数して処理を行な
う処理手段とを備えたカラー画像処理装置において、上
記分離する色に夫々対応した光色の光で検出対象物を照
射する各色の照明手段と、上記全画像領域内で測定条件
の照度変化を検出するために設定された参照領域の画像
から各色の照度を検出する照度検出手段と、照度検出手
段の検出照度と予め設定してある基準となる各色の照度
とを比較して各色の照度の変化量を求め、各色の照度の
補正量を算出する補正演算手段と、この補正演算手段で
求めた補正量に基づいて上記照明手段の光源の明るさを
制御する制御手段とを備えたのである。
In order to achieve the above object, an image pickup means for picking up a color image of an object to be detected and an image signal output from the image pickup means are output in a plurality of colors. A signal processing means for separating into an image signal and performing A / D conversion, a detection area designating means for designating a detection area in which an image signal of each color is desired to be detected in the entire image area, and each color set in the designated detection area. Comparing means for comparing the threshold value of the gradation range with the gradation of each color for the pixels in the detection area, and the number of pixels of the pixels in the detection area whose gradation for each color falls within the gradation range. In a color image processing apparatus including a processing unit that counts and processes, an illumination unit of each color that irradiates a detection target with light of a light color corresponding to each of the separated colors, and a measurement in the entire image region Detects changes in illuminance under conditions A change in the illuminance of each color by comparing the detected illuminance of the illuminance detecting means with the illuminance of each color from the image of the reference area set in order to compare the detected illuminance of the illuminance detecting means with the preset illuminance of each color It comprises a correction calculation means for obtaining the amount and the correction amount of the illuminance of each color, and a control means for controlling the brightness of the light source of the illumination means based on the correction amount obtained by the correction calculation means.

【0008】請求項2の発明では、上記補正演算手段は
演算動作を外部タイミング信号で行なうものである。
According to the second aspect of the invention, the correction calculation means performs the calculation operation with an external timing signal.

【0009】[0009]

【作用】請求項1の構成によれば、分離する色に夫々対
応した光色の光で検出対象物を照射する各色の照明手段
と、上記全画像領域内で測定条件の照度変化を検出する
ために設定された参照領域の画像から各色の照度を検出
する照度検出手段と、照度検出手段の検出照度と予め設
定してある基準となる各色の照度とを比較して各色の照
度の変化量を求め、各色の照度の補正量を算出する補正
演算手段と、この補正演算手段で求めた補正量に基づい
て上記照明手段の光源の明るさを制御する制御手段を備
えているので、外乱光等により検出対象物の照度が変化
しても分離する色の照度を補正することができ、そのた
め検出対象物に対応する画素を正確に抽出することがで
きる。また、周囲照度は照度検出手段によって検出する
のであって、検出対象物の検査とは別個に照度を検出で
きるから、照度を検出する処理と検出対象物を検査する
処理とは並列的に処理することが可能になる。
According to the first aspect of the invention, the illumination means of each color for irradiating the object to be detected with the light of the light color corresponding to each color to be separated and the illuminance change of the measurement condition in the entire image area are detected. The illuminance detection means for detecting the illuminance of each color from the image of the reference area set for this purpose, and the illuminance of each color by comparing the detected illuminance of the illuminance detection means with the preset illuminance of each color. And the control means for controlling the brightness of the light source of the illuminating means on the basis of the correction amount calculated by this correction calculation means. Even if the illuminance of the detection target changes, the illuminance of the separated color can be corrected, and thus the pixel corresponding to the detection target can be accurately extracted. Further, since the ambient illuminance is detected by the illuminance detection means, the illuminance can be detected separately from the inspection of the detection target, so the process of detecting the illuminance and the process of inspecting the detection target are processed in parallel. It will be possible.

【0010】請求項2の構成によれば、上記補正演算手
段は演算動作を外部タイミング信号で行なうものである
から、光源の交換時、工程の立ち上げ時、朝・昼の設定
時刻などの必要時に、手動操作やタイマによる自動制御
によって補正タイミング信号を発生させて補正演算を行
えばよく、検出対象物ごとに補正演算を行う場合に比較
して補正演算に要する時間を低減できることになる。
According to the second aspect of the present invention, since the correction calculation means performs the calculation operation by the external timing signal, it is necessary to change the light source, start the process, set time in the morning and day, etc. Sometimes, a correction timing signal may be generated by a manual operation or automatic control by a timer to perform the correction calculation, and the time required for the correction calculation can be reduced as compared with the case where the correction calculation is performed for each detection object.

【0011】[0011]

【実施例】以下本発明を実施例により説明する。図1は
一実施例装置を示しており、図示する実施例の基本的な
構成は従来例と同様なもので、同じ働きを行なう回路部
には同一の番号を付している。そして本実施例では、被
検査物Xを照明するために、R・G・Bの各光色で照明
を行なう照明装置15、16、17を設けてある。照明
装置15、16、17は図2に示すように白色光源
1 、L2 、L3 からの光をR,G,Bの各色の光学フ
ィルターFR,FG,FBを介して検出対象物Xに照射
するようになっている。
EXAMPLES The present invention will be described below with reference to examples. FIG. 1 shows an apparatus according to one embodiment, and the basic configuration of the illustrated embodiment is the same as that of the conventional example, and the circuit parts which perform the same function are designated by the same reference numerals. In addition, in this embodiment, in order to illuminate the inspection object X, illumination devices 15, 16 and 17 for illuminating with R, G and B light colors are provided. As shown in FIG. 2, the illuminators 15, 16 and 17 detect the light from the white light sources L 1 , L 2 and L 3 through the optical filters FR, FG and FB of the respective colors of R, G and B and detect the object X to be detected. It is designed to irradiate.

【0012】またCCD2次元カラーイメージセンサな
どを用いた撮像装置1により撮像された全画像領域には
上述の従来例と同様に検出対象物Xの画像を含む検出領
域W 1 が従来と同様に検出領域指定部4によって指定さ
れるとともに、図3に示すように、検出領域W1 とは別
に、検出対象物Xの背景の1画素以上を含む参照領域W
2 を設定するようになっている。ここでは、参照領域W
2 が3色を含む1画素よりなるものとする。また、後述
するように、参照領域W2 の画素の階調によって照明装
置15、16、17の制御を行なうため、参照領域W2
には同じ基準の階調(照度)が得られる物体(灰色など
の無彩色が望ましい)を配置する。
A CCD two-dimensional color image sensor
The whole image area imaged by the imaging device 1 using
Similar to the above-mentioned conventional example, the detection area including the image of the detection object X
Area W 1Is specified by the detection area designating unit 4 as in the past.
As shown in FIG. 3, the detection area W1Different from
, A reference region W including one or more pixels in the background of the detection object X
2Is set. Here, the reference area W
2Is composed of one pixel including three colors. Also, as described below
So that the reference area W2Depending on the pixel gradation of
In order to control the units 15, 16 and 17, the reference area W2
Is an object (gray etc.) that can obtain the same standard gradation (illuminance).
Achromatic color is desirable).

【0013】而して参照領域W2 の画素に対応した画像
信号は、A/D変換回路13によってディジタル信号に
変換された後、照度検出部14に入力される。照度検出
部14では、参照領域W2 の画素の階調の移動平均値を
求め、この移動平均値を記憶する。ここに、参照領域D
2 が1画素であるから、その画素のみについて階調を求
めればよいが、参照領域D2 が複数画素からなるときに
は、照度検出部14では画像データが取り込まれる度に
入力されるR・G・Bの各色のディジタル信号を使用し
て、最新のデータからそれ以前の例えば16回前のデー
タの階調の平均値を常に求めて参照領域W2 の階調とし
て記憶している。尚移動平均値のサンプリングのタイミ
ングは状況に応じて適宜設定すればよい。
The image signal corresponding to the pixel in the reference area W 2 is converted into a digital signal by the A / D conversion circuit 13 and then input to the illuminance detection section 14. The illuminance detection unit 14 obtains a moving average value of gradations of pixels in the reference area W 2 and stores the moving average value. Here, the reference area D
Since 2 is one pixel, it is sufficient to obtain the gradation only for that pixel. However, when the reference area D 2 is composed of a plurality of pixels, the illuminance detection unit 14 inputs R, G, Using the digital signal of each color of B, the average value of the gradation of the previous data, for example, 16 times before is always calculated from the latest data and stored as the gradation of the reference area W 2 . The timing of sampling the moving average value may be set appropriately according to the situation.

【0014】一方、補正演算手段である補正演算部18
では、基準照度メモリ19に設定記憶されている参照領
域W2 の基準階調と、上記照度検出部12で記憶されて
いる参照領域W2 の階調とを比較して、各色の階調、つ
まり照度の変化量を求めて、参照領域W2 の階調が基準
階調に安定するように照明装置15、16、17による
照明条件の補正量を算出する。
On the other hand, the correction calculation section 18 which is the correction calculation means.
Then, the standard gradation of the reference area W 2 set and stored in the standard illuminance memory 19 is compared with the gradation of the reference area W 2 stored in the illuminance detection unit 12, and the gradation of each color, That is, the amount of change in illuminance is calculated, and the correction amount of the illumination condition by the illumination devices 15, 16 and 17 is calculated so that the gradation of the reference area W 2 is stabilized at the standard gradation.

【0015】この補正量は制御回路部20に与えられて
制御回路部20はこの補正量に基づいて各色の照明装置
15、16、17を制御して各光源L1 、L2 、L3
調光する。例えばある外的条件の変化により、参照領域
2 のRの階調が上がったときには、Rの照明装置15
の光源L1 の明るさレベルを下げて、Rの照度を下げ基
準階調に安定させるのである。この調光制御は適時数回
のフィードバックをかけることにより、基準階調に対し
て所定範囲(条件)に収束させるようにしてもよい。
This correction amount is given to the control circuit unit 20, and the control circuit unit 20 controls the illuminating devices 15, 16, 17 for each color based on the correction amount to control the respective light sources L 1 , L 2 , L 3 . Dimming. For example, when the gradation of R in the reference area W 2 rises due to a change in some external condition, the R illumination device 15
That is, the brightness level of the light source L 1 is reduced to reduce the illuminance of R and stabilize the reference gradation. This dimming control may be converged within a predetermined range (condition) with respect to the reference gradation by applying feedback several times at appropriate times.

【0016】尚各部の動作制御はCPU6で行なわれ、
また従来例と同様な働きを為す各回路部の動作の説明は
省略する。以上のように外部条件が変化してもその変化
を参照領域W2 で捉えて、基準階調に戻すようにフィー
ドバックによって対象となる色の照明装置15、16、
17の光源L1 、L2 、L3 を調光制御することによ
り、外的条件の変化があっても安定した検出対象物Xの
検出が行なえることになる。特に外乱光等による影響で
はどのような色温度の光が検出対象物Xに照射されるか
不明であるが、R・G・Bの各光色の照明を個別に制御
することにより容易に対応することができるのである。
ところで上記補正は自動的に行なうものであるが、外
部からの補正タイミング信号Tが入力した時点でのみ補
正演算部13での補正演算を行なわせるようにすれば、
例えば照明用の光源の交換や、工程の立ち上げ時、朝・
昼の設定時刻などの必要な時等に任意に補正することが
できる。
The operation control of each part is performed by the CPU 6,
Further, the description of the operation of each circuit section that performs the same function as the conventional example is omitted. Even if the external conditions change as described above, the change is captured in the reference region W 2 , and the illumination devices 15 and 16 of the target color are fed back by feedback so as to return to the standard gradation.
By controlling the dimming of the light sources L 1 , L 2 , and L 3 of 17, the detection target X can be stably detected even when the external conditions change. In particular, it is unclear what color temperature light is emitted to the detection object X due to the influence of ambient light, but it is easily handled by individually controlling the illumination of each light color of R, G, B. You can do it.
By the way, although the above-mentioned correction is automatically performed, if the correction calculation in the correction calculation unit 13 is performed only when the correction timing signal T from the outside is input,
For example, when changing the light source for lighting, when starting up the process, in the morning
It can be arbitrarily corrected when necessary such as the set time of day.

【0017】[0017]

【発明の効果】請求項1の発明は、分離する色に夫々対
応した光色の光で検出対象物を照射する各色の照明手段
と、上記全画像領域内で測定条件の照度変化を検出する
ために設定された参照領域の画像から各色の照度を検出
する照度検出手段と、照度検出手段の検出照度と予め設
定してある基準となる各色の照度とを比較して各色の照
度の変化量を求め、各色の照度の補正量を算出する補正
演算手段と、この補正演算手段で求めた補正量に基づい
て上記照明手段の光源の明るさを制御する制御手段を備
えているので、外乱光等により検出対象物の照度が変化
しても分離する色の照度を補正することができ、そのた
め検出対象物に対応する画素を正確に抽出することがで
き、また周囲照度は照度検出手段によって検出するので
あって、検出対象物の検査とは別個に照度を検出できる
から、照度を検出する処理と検出対象物を検査する処理
とは並列的に処理することが可能になるという効果があ
る。
According to the first aspect of the invention, the illumination means of each color for irradiating the object to be detected with the light of the light color corresponding to each color to be separated and the illuminance change of the measurement condition in the entire image area are detected. The illuminance detection means for detecting the illuminance of each color from the image of the reference area set for this purpose, and the illuminance of each color by comparing the detected illuminance of the illuminance detection means with the preset illuminance of each color. And the control means for controlling the brightness of the light source of the illuminating means on the basis of the correction amount calculated by this correction calculation means. Even if the illuminance of the object to be detected changes, the illuminance of the separated color can be corrected, so that the pixels corresponding to the object to be detected can be accurately extracted, and the ambient illuminance is detected by the illuminance detecting means. To be detected Since the inspection separately detect the illuminance and the process of inspecting the detected object and the processing for detecting the illuminance there is an effect that it is possible to process in parallel.

【0018】請求項2の構成によれば、上記補正演算手
段は演算動作を外部タイミング信号で行なうものである
から、光源の交換時、工程の立ち上げ時、朝・昼の設定
時刻などの必要時に、手動操作やタイマによる自動制御
によって補正タイミング信号を発生させて補正演算を行
なうことができ、そのため検出対象物ごとに補正演算を
行う場合に比較して補正演算に要する時間を低減できる
という効果がある。
According to the second aspect of the present invention, since the correction calculation means performs the calculation operation by the external timing signal, it is necessary to change the light source, start the process, set time of morning and day, etc. At times, it is possible to generate a correction timing signal by a manual operation or an automatic control by a timer to perform the correction calculation, so that the time required for the correction calculation can be reduced as compared with the case where the correction calculation is performed for each detection object. There is.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】同上の照明装置の光源と検出対象物との配置関
係を説明する図である。
FIG. 2 is a diagram illustrating a positional relationship between a light source and a detection target of the illumination device of the above.

【図3】同上の参照領域を説明する図である。FIG. 3 is a diagram illustrating a reference area of the above.

【図4】従来例を示すブロック図である。FIG. 4 is a block diagram showing a conventional example.

【図5】同上の検出領域を説明する図である。FIG. 5 is a diagram illustrating a detection area of the above.

【符号の説明】[Explanation of symbols]

1 撮像装置 2 ビデオ信号処理部 3 A/D変換回路 4 検出領域指定部 5 比較回路 6 CPU 7 閾値メモリ 8 基準階調メモリ 9 カウンタ 10 計測処理部 13 A/D変換回路 14 照度検出部 15〜17 照明装置 18 補正演算部 11 基準階調メモリ 19 基準照度メモリ 20 制御回路 DESCRIPTION OF SYMBOLS 1 Imaging device 2 Video signal processing unit 3 A / D conversion circuit 4 Detection area designation unit 5 Comparison circuit 6 CPU 7 Threshold memory 8 Reference gradation memory 9 Counter 10 Measurement processing unit 13 A / D conversion circuit 14 Illuminance detection unit 15 to 17 Lighting Device 18 Correction Calculation Section 11 Reference Gradation Memory 19 Reference Illuminance Memory 20 Control Circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】検出対象物のカラー画像を撮像する撮像手
段と、撮像手段より出力された画像信号を複数の色の画
像信号に分離してA/D変換する信号処理手段と、全画
像領域内で各色の画像信号を検出したい検出領域を指定
する検査領域指定手段と、この指定された検出領域に設
定される各色の階調範囲の閾値と上記検査領域内の画素
について各色ごとの階調とを比較する比較手段と、検査
領域内の画素のうち各色について階調が上記階調範囲内
に属する画素の個数を計数して処理を行なう処理手段と
を備えたカラー画像処理装置において、上記分離する色
に夫々対応した光色の光で検出対象物を照射する各色の
照明手段と、上記全画像領域内で測定条件の照度変化を
検出するために設定された参照領域の画像から各色の照
度を検出する照度検出手段と、照度検出手段の検出照度
と予め設定してある基準となる各色の照度とを比較して
各色の照度の変化量を求め、各色の照度の補正量を算出
する補正演算手段と、この補正演算手段で求めた補正量
に基づいて上記照明手段の光源の明るさを制御する制御
手段とを備えたことを特徴とするカラー画像処理装置。
1. An image pickup means for picking up a color image of an object to be detected, a signal processing means for separating an image signal output from the image pickup means into image signals of a plurality of colors and A / D converting the image signal, and an entire image area. Inspection area designating means for designating a detection area in which an image signal of each color is desired to be detected, a gradation range threshold value for each color set in the specified detection area, and a gradation for each color of pixels in the inspection area In the color image processing apparatus, the color image processing apparatus includes: a comparison unit that compares the pixel number in the inspection region and a processing unit that counts and processes the number of pixels having a gradation within the gradation range for each color among the pixels in the inspection region. Illuminating means of each color for irradiating the detection object with light of a light color corresponding to each color to be separated, and of each color from the image of the reference area set to detect the illuminance change of the measurement condition in the entire image area. Illuminance to detect illuminance Outputting means, a correction calculation means for comparing the detected illuminance of the illuminance detecting means and the preset illuminance of each color to obtain the amount of change in the illuminance of each color, and calculating the amount of correction of the illuminance of each color, A color image processing apparatus comprising: a control unit that controls the brightness of the light source of the illumination unit based on the correction amount obtained by the correction calculation unit.
【請求項2】上記補正演算手段は演算動作を外部タイミ
ング信号で行なうことを特徴とする請求項1記載のカラ
ー画像処理装置。
2. The color image processing apparatus according to claim 1, wherein the correction calculation means performs a calculation operation with an external timing signal.
JP4200873A 1992-07-28 1992-07-28 Color image processor Withdrawn JPH0682233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4200873A JPH0682233A (en) 1992-07-28 1992-07-28 Color image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4200873A JPH0682233A (en) 1992-07-28 1992-07-28 Color image processor

Publications (1)

Publication Number Publication Date
JPH0682233A true JPH0682233A (en) 1994-03-22

Family

ID=16431660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4200873A Withdrawn JPH0682233A (en) 1992-07-28 1992-07-28 Color image processor

Country Status (1)

Country Link
JP (1) JPH0682233A (en)

Similar Documents

Publication Publication Date Title
US20040012692A1 (en) Flicker detection apparatus, a flicker correction apparatus, an image-pickup apparatus, a flicker detection program and a flicker correction program
KR20110125146A (en) Apparatus for image processing using character of light source and method for the same
JPH10243415A (en) Digital camera and method for adjusting color balance
EP1808680A2 (en) Measuring method and apparatus using color images
JP3590533B2 (en) Endoscope device
US9105105B2 (en) Imaging device, imaging system, and imaging method utilizing white balance correction
JP2001229381A (en) Image processing check system and its method
JP4021351B2 (en) BONDING LIGHTING DEVICE AND BONDING LIGHTING DEVICE CALIBRATION METHOD
JP5609459B2 (en) Binarization processing method and image processing apparatus
JPH0682233A (en) Color image processor
KR101867568B1 (en) system for detecting space correlated color temperature using image sensor AWB
JPH0771939A (en) Visual inspection device
JP2004040417A (en) Imaging apparatus, and white balance correction method
US20050195289A1 (en) Solid-state area image sensor readout methods for illuminat discrimination and automatic white balance in digital cameras
JPH10187928A (en) Color illuminator for image processing and detector for object to be measured
JP2004274325A (en) Object extraction method by image pickup
JPH09210789A (en) Nonuniformity of color inspection system
JPH08101068A (en) Color measuring apparatus
JPH0546732A (en) Detector for number of persons
JPH09218095A (en) Inspection device of color variation
JP2002075668A (en) Light control equipment and light control system
JP2003274395A (en) Image processor for monitoring
JPH09210790A (en) Method and system for inspecting nonuniformity of color
JPH0585168U (en) Automatic uniform lighting system
JPH0273473A (en) Inspecting method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005