JPH06253317A - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH06253317A
JPH06253317A JP5032981A JP3298193A JPH06253317A JP H06253317 A JPH06253317 A JP H06253317A JP 5032981 A JP5032981 A JP 5032981A JP 3298193 A JP3298193 A JP 3298193A JP H06253317 A JPH06253317 A JP H06253317A
Authority
JP
Japan
Prior art keywords
color
density
image pickup
light
unit
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
JP5032981A
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 JP5032981A priority Critical patent/JPH06253317A/en
Publication of JPH06253317A publication Critical patent/JPH06253317A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To provide a color image processor which accurately extracts a target pixel even if conditions change owing to an external factor. CONSTITUTION:An image pickup device 1 converts incident light from a specific image pickup area into a color signal of a reference color among R, G, and B. A comparison part 21 extracts pixels in a density range set by a threshold value setting part 24 among pixels in an object area specified by an object area specification part 22. A monitor area is set as part of the image pickup area of the image pickup device 1 and a correction quantity arithmetic part 34 finds differences between the density of each pixel in the monitor area and reference density set by a reference density setting part 33 by the respective reference colors. The quantity of light incident on the image pickup device 1 is controlled by controlling a light quantity control part 2 so that the differences decrease.

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 extracting pixels within a predetermined density range for each reference color with respect to a predetermined target area set in an image picked up by an image pickup means. Is.

【0002】[0002]

【従来の技術】従来より、TVカメラのような撮像装置
を用いて検査ないし計測の対象を含む所定の撮像領域を
撮像し、撮像領域内で対象を含む対象領域について既定
の濃度範囲内である画素を抽出することによって、対象
の面積や輪郭などを画像から求めることができるように
した装置が提案されている。また、この種の装置では色
情報を用いると情報量が増して検査ないし計測を精度よ
く行うことができるものであるから、撮像装置として複
数の基準色の色信号を出力することができるものを用い
ることが考えられている。
2. Description of the Related Art Conventionally, an image pickup device such as a TV camera is used to pick up an image of a predetermined image pickup area including an object to be inspected or measured, and the target area including the object is within a predetermined density range within the image pickup area. An apparatus has been proposed in which the area and contour of a target can be obtained from an image by extracting pixels. In addition, in this type of device, when color information is used, the amount of information increases, and inspection or measurement can be performed accurately. Therefore, an image pickup device that can output color signals of a plurality of reference colors is required. It is considered to be used.

【0003】すなわち、色情報を用いるカラー画像処理
装置としては、図5に示すように、所定の撮像領域から
の入射光を複数の基準色の色信号(一般には、色信号と
してRGB信号を用いることが多いから、以下の説明で
は色信号をRGB信号と想定して説明する)に変換する
撮像装置1を備え、撮像装置1から出力された色信号は
ビデオ信号処理部11に入力されて増幅などの処理が行
われた後、A/D変換部12に入力されてディジタル信
号に変換される。一方、対象Sを含む対象領域D1 は、
図6のように撮像領域D0 の一部に設定されているか
ら、A/D変換部12から出力される信号のうち対象領
域D1 の画素のみを抽出する必要がある。そこで、A/
D変換部12の出力信号を比較部21に入力し、対象領
域指定部22により指定される対象領域D1 の画素のみ
を抽出する。具体的には、画素の走査に同期する同期信
号をビデオ信号処理部11から対象領域指定部22に入
力することによって、対象領域指定部22ではA/D変
換部12の出力信号が撮像領域D0 のどの画素に対応す
るのかを把握することができるのであって、比較部21
では既定の対象領域D1 の画素のみを抽出することがで
きる。
That is, as shown in FIG. 5, a color image processing apparatus using color information uses incident light from a predetermined image pickup area as color signals of a plurality of reference colors (generally, RGB signals are used as color signals). In the following description, the color signal is assumed to be an RGB signal, and the color signal output from the image pickup apparatus 1 is input to the video signal processing unit 11 and amplified. After such processing is performed, it is input to the A / D conversion unit 12 and converted into a digital signal. On the other hand, the target area D 1 including the target S is
Since it is set in a part of the imaging region D 0 as shown in FIG. 6, only the pixels in the target region D 1 need to be extracted from the signal output from the A / D conversion unit 12. So A /
The output signal of the D conversion unit 12 is input to the comparison unit 21, and only the pixels of the target area D 1 designated by the target area designation unit 22 are extracted. Specifically, by inputting a synchronization signal in synchronization with pixel scanning from the video signal processing section 11 to the target area designating section 22, the output signal of the A / D converting section 12 in the target area designating section 22 becomes the imaging area D. It is possible to know which pixel of 0 corresponds to the comparison unit 21.
Then, only the pixels of the predetermined target area D 1 can be extracted.

【0004】さらに、比較部21では、抽出濃度設定部
23で設定された抽出濃度に基づいて閾値設定部24で
既定されている濃度範囲と、対象領域D1 の中の画素の
濃度とを比較することによって、対象領域D1 の中で上
記濃度範囲内の濃度を有した画素を抽出する。ここに、
抽出濃度設定部23および閾値設定部24はメモリによ
り構成されている。また、濃度の比較は各基準色ごとに
行われる。たとえば、A/D変換部12においてRGB
の各基準色について8ビットのディジタル信号に変換す
るものとすれば、濃度を0〜255の256階調で得る
ことができるから、RGBの各基準色について、それぞ
れ濃度範囲を50〜100、100〜150、200〜
250などと抽出濃度設定部23で設定すれば、その値
が閾値設定部24に登録され比較部21で各基準色の画
素の濃度と比較される。
Further, the comparing section 21 compares the density range defined by the threshold setting section 24 based on the extraction density set by the extraction density setting section 23 with the density of the pixel in the target area D 1. By doing so, pixels having a density within the above density range are extracted from the target area D 1 . here,
The extraction density setting unit 23 and the threshold setting unit 24 are composed of a memory. Further, the density comparison is performed for each reference color. For example, in the A / D conversion unit 12, RGB
If each of the reference colors is converted into an 8-bit digital signal, the density can be obtained in 256 gradations of 0 to 255. Therefore, the density ranges of the RGB reference colors are 50 to 100 and 100, respectively. ~ 150, 200 ~
If 250 or the like is set in the extraction density setting unit 23, the value is registered in the threshold setting unit 24 and compared with the density of the pixel of each reference color in the comparison unit 21.

【0005】図5の構成は対象Sの面積を求めるもので
あって、比較部21において抽出された画素の個数がカ
ウンタ41により計数され、計測処理部42において撮
像装置1の倍率の補正演算などが行われ、対象Sの面積
が求められるのである。また、A/D変換部12の出力
はD/A変換部43を通してアナログ信号の映像信号に
変換されCRTなどのモニタ装置44に入力され、撮像
装置1で撮像している領域の画像を視認できるようにし
てある。
The configuration of FIG. 5 is for obtaining the area of the target S, the number of pixels extracted in the comparison unit 21 is counted by the counter 41, and the measurement processing unit 42 calculates the correction of the magnification of the image pickup apparatus 1 and the like. Then, the area of the target S is obtained. The output of the A / D conversion unit 12 is converted into an analog video signal through the D / A conversion unit 43 and input to a monitor device 44 such as a CRT so that an image of an area imaged by the imaging device 1 can be visually recognized. Is done.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述した構
成では、対象Sを照明する照明装置の明るさが変化する
などして外的条件が変化すると、対象Sに変化がなくて
も色信号のレベルが変化するから、目的とする対象Sに
対応した画素を正確に抽出することができなくなるとい
う問題が生じる。このような問題を回避するために外部
条件を一定に保つようにしようとすれば、対象Sを配置
する周囲の環境を制御することになるから、装置が大掛
かりになってコスト高になり、なおかつ完全に制御する
のは非常に困難である。
By the way, in the above-mentioned configuration, when an external condition changes due to a change in the brightness of the illumination device that illuminates the target S, the color signal of the color signal is changed even if the target S does not change. Since the level changes, there arises a problem that the pixel corresponding to the target S of interest cannot be accurately extracted. If it is attempted to keep the external condition constant in order to avoid such a problem, the surrounding environment in which the target S is placed is controlled, so that the device becomes large in size and the cost becomes high, and It is very difficult to control completely.

【0007】本発明は上記問題点の解決を目的とするも
のであり、外的要因による条件変化が生じても目的とす
る画素を正確に抽出できるようにしたカラー画像処理装
置を提供しようとするものである。
An object of the present invention is to solve the above problems, and an object of the present invention is to provide a color image processing apparatus capable of accurately extracting a target pixel even if a condition change due to an external factor occurs. It is a thing.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、所定の撮像領域からの入射光を複数の基
準色の色信号に変換する撮像手段と、撮像領域の一部で
ある所定の対象領域について撮像手段から出力される各
色信号ごとに設定された既定の濃度範囲の画素を抽出す
る画素抽出手段とを備えるカラー画像処理装置におい
て、撮像領域の一部に設定した所定のモニタ領域につい
て各基準色ごとの画素の濃度の既定の基準濃度に対する
誤差に基づく濃度制御信号を発生する濃度補正手段と、
濃度制御信号によりモニタ領域の各画素の濃度と基準濃
度との誤差を小さくする方向に撮像領域の画素の濃度を
各基準色ごとに変化させる光量制御手段とを備えること
を特徴とする。
In order to achieve the above object, the present invention provides an image pickup means for converting incident light from a predetermined image pickup area into color signals of a plurality of reference colors, and a part of the image pickup area. In a color image processing apparatus including a pixel extraction unit that extracts pixels in a predetermined density range set for each color signal output from the image pickup unit with respect to a predetermined target region, a predetermined value set in a part of the image pickup region. Density correction means for generating a density control signal based on an error of the density of a pixel for each reference color with respect to a predetermined reference density for the monitor area,
It is characterized by further comprising light amount control means for changing the density of the pixel of the image pickup area for each reference color in a direction to reduce the error between the density of each pixel of the monitor area and the reference density by the density control signal.

【0009】また、撮像手段は、入射光を光学的に各基
準色に分解する色分解手段と、色分解手段により分離さ
れた各基準色の入射光ごとに色信号に変換する撮像素子
とを備え、光量制御手段は、色分解手段と各基準色の撮
像素子との間に配設され色分解手段により分離された各
光線について濃度制御信号に応じて透過光量を制限する
ようにするのが望ましい。
The image pickup means includes a color separation means for optically separating the incident light into each reference color and an image pickup element for converting each incident light of each reference color separated by the color separation means into a color signal. The light quantity control means limits the transmitted light quantity according to the density control signal for each light beam arranged between the color separation means and the image pickup device of each reference color and separated by the color separation means. desirable.

【0010】あるいはまた、撮像手段は、入射光を光学
的に各基準色に分解する色分解手段と、色分解手段によ
り分離された各基準色の光線を光学的に合成して元の入
射光を再生する色合成手段と、色合成手段により合成さ
れた入射光から各基準色の色信号を出力する撮像素子と
を備え、光量制御手段は、色分解手段と色合成手段との
間に配設され色分解手段により分離された各基準色の光
線について濃度制御信号に応じて透過光量を制限するよ
うにしてもよい。
Alternatively, the image pickup means optically combines the color separation means for optically separating the incident light into the respective reference colors and the light rays of the respective reference colors separated by the color separation means so as to obtain the original incident light. A color synthesizing unit for reproducing the color of the reference light and an image sensor for outputting a color signal of each reference color from the incident light synthesized by the color synthesizing unit. The amount of transmitted light may be limited in accordance with the density control signal for the light rays of the respective reference colors that are provided and separated by the color separation means.

【0011】[0011]

【作用】上記構成によれば、撮像領域の一部に設定した
所定のモニタ領域について各色信号ごとの画素の濃度を
求めて既定の基準濃度と比較し、モニタ領域の画素の濃
度の基準濃度に対する誤差に基づいて濃度制御信号を発
生する。この濃度制御信号に基づいて光量制御手段で
は、モニタ領域の各画素の濃度と基準濃度との誤差を小
さくする方向に撮像領域の画素の濃度を各基準色ごとに
変化させるのであって、外的条件に変化が生じても光量
制御手段によって条件変化を吸収することができ、画素
抽出手段に対してはほぼ同じ条件の色信号を入力するこ
とができるのである。その結果、測定精度が向上するこ
とになって外的条件に左右されずに目的とする画素を正
確に抽出することができ、しかも、従来構成に比較して
コストの増加は少なく、かつ設備も大型化することはな
いのである。加えて、モニタ領域の画素の濃度と基準濃
度との誤差を小さくする方向に撮像領域の画素の濃度を
調節する際に、各基準色ごとに濃度調節を行うので、対
象に照射される光に色変化が生じたような場合であって
も色補正を行うことになり、目的とする画素を正確に抽
出することが可能になるのである。とくに、外乱光が影
響するような場所では照度変化や色変化が生じやすい
が、上記構成によって外乱光の影響を抑制して画素を正
確に抽出することができる。
According to the above construction, the density of the pixel for each color signal is calculated for a predetermined monitor area set in a part of the image pickup area and compared with a predetermined reference density, and the density of the pixel in the monitor area is compared with the reference density. A density control signal is generated based on the error. Based on this density control signal, the light amount control means changes the density of the pixel in the imaging area for each reference color in the direction of reducing the error between the density of each pixel in the monitor area and the reference density. Even if the condition changes, the light amount control means can absorb the change in the condition, and the color signal of almost the same condition can be input to the pixel extraction means. As a result, the measurement accuracy is improved, and the target pixel can be accurately extracted without being affected by external conditions, and the cost is less increased than the conventional configuration, and the equipment is also reduced. It does not grow in size. In addition, when adjusting the density of the pixels in the imaging area in the direction of reducing the error between the density of the pixels in the monitor area and the reference density, the density is adjusted for each reference color, so that Even if a color change occurs, the color correction is performed, and the target pixel can be accurately extracted. In particular, the illuminance change and the color change are likely to occur in a place where the ambient light influences, but the above-described configuration can suppress the influence of the ambient light and extract pixels accurately.

【0012】撮像手段が、入射光を光学的に各色に分解
する色分解手段と、色分解手段により分離された各色の
入射光ごとに色信号に変換する撮像素子とを有し、色分
解手段と各色の撮像素子との間に光量制御手段を配設し
て色分解手段により分離された各光線について濃度制御
信号に応じて透過光量を制限するようにしたものは、各
基準色ごとに個別の撮像素子を有する場合の望ましい構
成である。
The image pickup means has a color separation means for optically separating the incident light into respective colors and an image pickup element for converting the incident light of each color separated by the color separation means into a color signal, and the color separation means The light quantity control means is provided between the image pickup element of each color and each color separated by the color separation means to limit the amount of transmitted light according to the density control signal. This is a desirable configuration in the case of having the image sensor of.

【0013】また、撮像手段が、入射光を光学的に各色
に分解する色分解手段と、色分解手段により分離された
各色の光線を合成して元の入射光を再生する色合成手段
と、色合成手段により合成された入射光から各色の色信
号を出力する撮像素子とを有し、色分解手段と色合成手
段との間に光量制御手段を配設して色分解手段により分
離された各色の光線について濃度制御信号に応じて透過
光量を制限するようにしたものは、各基準色の色信号を
1つの撮像素子から出力する場合の望ましい構成であ
る。
Further, the image pickup means includes a color separation means for optically separating the incident light into respective colors, and a color combination means for reproducing the original incident light by combining the light rays of the respective colors separated by the color separation means. An image pickup device for outputting color signals of respective colors from the incident light combined by the color combining means, and a light amount control means disposed between the color separating means and the color combining means to separate the light by the color separating means. A configuration in which the amount of transmitted light for each color light beam is limited according to the density control signal is a desirable configuration when the color signal of each reference color is output from one image sensor.

【0014】[0014]

【実施例】(実施例1)本実施例のブロック図を図1に
示す。図1において図5に示した従来構成と同様の機能
を有する部分は同じ符号を付してある。本実施例におけ
る従来構成との主な相違点は、撮像領域D0 の中で対象
領域D1 とは別に設けた1画素以上のモニタ領域D
2 (図3参照)の画素の濃度に基づいて濃度制御信号を
発生する濃度補正手段を付加するとともに、撮像装置1
の中に光量制御手段である光量制御部2を内蔵した点に
ある。
EXAMPLE 1 A block diagram of this example is shown in FIG. In FIG. 1, parts having the same functions as those of the conventional configuration shown in FIG. 5 are designated by the same reference numerals. The main difference between the present embodiment and the conventional configuration is a monitor area D of one pixel or more provided separately from the target area D 1 in the imaging area D 0.
2 (see FIG. 3), a density correction means for generating a density control signal based on the density of the pixel is added, and the image pickup apparatus 1
The point is that the light quantity control unit 2 as a light quantity control means is built in.

【0015】すなわち、従来構成と同様に、撮像手段で
ある撮像装置1から出力されるRGBの3つの基準色の
色信号はビデオ信号処理部11に入力され、増幅や同期
信号の抽出などの処理が施された後にA/D変換部12
に入力される。A/D変換部12の出力は比較部21に
入力され、比較部21では対象領域指定部22で指定さ
れた対象領域D1 の画素について、抽出濃度設定部23
および閾値設定部24により設定された既定の濃度範囲
との濃度の比較を行い、対象領域D1 内の画素であり、
かつ濃度が濃度範囲内という条件を満たす画素を抽出す
る。すなわち、比較部21、対象領域指定部22、抽出
濃度設定部23、閾値設定部24により画素抽出手段が
構成される。カウンタ41は上記条件の画素の個数を計
数し、計測処理部42では撮像装置1の倍率に対する補
正などを行って検査や計測の結果とする。また、検査や
計測の結果は、マイクロコンピュータ45によって管理
される。さらに、A/D変換部12の出力はD/A変換
部43によりアナログ信号に変換され、CRTのような
モニタ装置44によって撮像装置1で得た画像が表示さ
れるようになっている。
That is, similarly to the conventional configuration, the color signals of the three reference colors of RGB output from the image pickup device 1 which is the image pickup means are input to the video signal processing section 11 and processed such as amplification and extraction of a synchronization signal. After being subjected to the A / D conversion unit 12
Entered in. The output of the A / D conversion unit 12 is input to the comparison unit 21, and the comparison unit 21 extracts the pixels of the target area D 1 designated by the target area designation unit 22 from the extraction density setting unit 23.
And a density comparison with a predetermined density range set by the threshold setting unit 24 to determine that the pixel is within the target area D 1 .
A pixel that satisfies the condition that the density is within the density range is extracted. That is, the comparison unit 21, the target area designating unit 22, the extraction density setting unit 23, and the threshold setting unit 24 constitute a pixel extracting unit. The counter 41 counts the number of pixels satisfying the above conditions, and the measurement processing unit 42 corrects the magnification of the image pickup apparatus 1 to obtain the result of the inspection or measurement. The results of the inspection and measurement are managed by the microcomputer 45. Furthermore, the output of the A / D conversion unit 12 is converted into an analog signal by the D / A conversion unit 43, and the image obtained by the imaging device 1 is displayed by the monitor device 44 such as a CRT.

【0016】光量制御部2は、図2に示すように、撮像
装置1のハウジング10に内蔵されている。撮像装置1
は、撮像レンズ14を通る入射光を色分解する色分解手
段として、2枚のダイクロイックミラー15a,15b
と、2枚の全反射ミラー16a,16bとを備える。2
枚のダイクロイックミラー15a,15bは撮像レンズ
14の光軸上に光軸に対して45度傾斜した形で配列さ
れている。一方のダイクロイックミラー15aは赤色光
を反射し、他領域の光を透過させるものであって、全反
射ミラー16aで赤色光を再反射することによって赤色
光を撮像レンズ14の光軸に略平行な方向に導く。ま
た、他方のダイクロイックミラー15bは、ダイクロイ
ックミラー15aを透過した光のうち青色光のみを反射
するのであって、青色光は全反射ミラー16bにより再
反射されて撮像レンズ14の光軸に略平行な方向に導か
れる。したがって、ダイクロイックミラー15bを透過
した緑色光と、全反射ミラー15aで反射された赤色光
と、全反射ミラー15bで反射された青色光とは互いに
略平行となり、それぞれ個別の撮像素子17a,17
b,17c(CCD、ビジコンなど)に導入され、各別
の基準色の色信号に変換されるのである。光量制御部2
を構成する各光量制御素子2a,2b,2cは、各撮像
素子17a,17b,17cの前方に配設される。光量
制御素子2a,2b,2cとしては、機械的な絞りの開
閉量を電気信号によって制御するものや、液晶パネルの
透過光量を印加電圧に応じて変化させるものが用いられ
る。ここに、全反射ミラー16a,16bはプリズムに
置き換えてもよい。
The light quantity control unit 2 is built in the housing 10 of the image pickup apparatus 1 as shown in FIG. Imaging device 1
Is two dichroic mirrors 15a and 15b as color separation means for color-separating the incident light passing through the imaging lens 14.
And two total reflection mirrors 16a and 16b. Two
The dichroic mirrors 15a and 15b are arranged on the optical axis of the imaging lens 14 in a form inclined by 45 degrees with respect to the optical axis. One of the dichroic mirrors 15a reflects the red light and transmits the light of the other area. The total reflection mirror 16a re-reflects the red light so that the red light is substantially parallel to the optical axis of the imaging lens 14. Lead in the direction. The other dichroic mirror 15b reflects only the blue light of the light transmitted through the dichroic mirror 15a, and the blue light is re-reflected by the total reflection mirror 16b and is substantially parallel to the optical axis of the imaging lens 14. Be guided in the direction. Therefore, the green light transmitted through the dichroic mirror 15b, the red light reflected by the total reflection mirror 15a, and the blue light reflected by the total reflection mirror 15b are substantially parallel to each other, and the individual image pickup devices 17a and 17 are provided.
b, 17c (CCD, vidicon, etc.) are introduced and converted into color signals of different reference colors. Light quantity control unit 2
The respective light amount control elements 2a, 2b, 2c constituting the above are arranged in front of the respective image pickup elements 17a, 17b, 17c. As the light amount control elements 2a, 2b, 2c, those which control the opening / closing amount of a mechanical diaphragm by an electric signal and those which change the transmitted light amount of the liquid crystal panel according to the applied voltage are used. Here, the total reflection mirrors 16a and 16b may be replaced with prisms.

【0017】ところで、濃度補正手段は、ビデオ信号処
理部11から出力される色信号のうち、モニタ領域D2
に対応する部分の画素を抽出してディジタル信号に変換
するA/D変換部31と、A/D変換部31の出力値に
基づいて撮像領域D0 の画素の濃度(すなわち対象Sの
照度に対応する)を検出する濃度検出部32と、濃度検
出部32により求めた濃度の基準濃度設定部33に設定
されている基準濃度に対する誤差を求める補正量演算部
34と、補正量演算部34により求めた濃度の誤差に基
づいて光量制御部2を調節する制御回路部35とからな
る。ここに、基準濃度設定部33では各基準色ごとの基
準濃度が設定され、補正量演算部34では各基準色ごと
に補正量が求められる。また、濃度検出部32は1フレ
ームの画像を取り込むたびに過去に入力されたフレーム
(画面)でのモニタ領域D2 の濃度を用いて移動平均を
求める。たとえば、16フレーム単位の移動平均を求め
るようにすればよい。移動平均を求めるサンプルの個数
は限定されるものではなく、また、移動平均に代えて1
フレーム毎の値を用いるなど他の値を用いてもよい。基
準濃度設定部33はメモリであって基準濃度は外部から
与えることができる。さらに、モニタ領域D2 には基準
となる物体が撮像されるようにし、この物体は無彩色で
あるほうが望ましいから灰色などの物体を選択する。こ
こにおいて、光量制御部2をフィードバック制御するタ
イミングは、外部からのタイミング信号によって与えら
れる、したがって、光量制御部2の調節が必要なときに
のみ制御を行ったり、光量制御部2を上記制御したりす
ることができる。
By the way, the density correction means includes the monitor area D 2 among the color signals output from the video signal processing section 11.
By extracting pixels of a portion corresponding to an A / D converter 31 for converting into a digital signal, based on the output value of the A / D converter 31 to the illuminance of the concentration (i.e. the subject S of the pixel of the imaging region D 0 (Corresponding) is detected by the density detection unit 32, the correction amount calculation unit 34 for obtaining an error of the density obtained by the density detection unit 32 with respect to the reference concentration set in the reference concentration setting unit 33, The control circuit unit 35 adjusts the light amount control unit 2 based on the obtained density error. Here, the reference density setting unit 33 sets the reference density for each reference color, and the correction amount calculation unit 34 obtains the correction amount for each reference color. Further, the density detection unit 32 obtains a moving average every time one frame of image is captured by using the density of the monitor area D 2 in the frame (screen) input in the past. For example, a moving average of 16 frames may be calculated. The number of samples for which the moving average is calculated is not limited, and 1 instead of the moving average is used.
Other values such as a value for each frame may be used. The reference density setting unit 33 is a memory, and the reference density can be given from the outside. Further, a reference object is picked up in the monitor area D 2 , and it is preferable that this object is achromatic, so an object such as gray is selected. Here, the timing for performing feedback control of the light quantity control unit 2 is given by a timing signal from the outside. Therefore, the light quantity control unit 2 is controlled only when adjustment is necessary, or the light quantity control unit 2 is controlled as described above. You can

【0018】上述のようにして、濃度補正手段では、モ
ニタ領域D2 の画素の濃度と基準濃度との誤差に基づい
て制御回路部35を介して光量制御部2を制御するので
あって、このとき、上記誤差が小さくなるように光量制
御部2をフィードバック制御するから、結果的に、対象
Sの照度の変化にかかわらず、比較部21に入力される
色信号の検出条件をほぼ一定に保つことができるのであ
る。ここに、フィードバック制御の際には、1〜数回程
度の繰り返し周期の間に濃度検出部32の出力値が基準
濃度に対して許容範囲内に収束するように濃度補正手段
の伝達関数を設定するのが望ましい。また、動作中に光
量制御部2の調節量が許容範囲を逸脱することがないよ
うに(すなわち、調節不能にならないように)、動作開
始時には光量制御部2の調節量を許容範囲の中間に設定
するようにし、撮像素子17a,17b,17cへの光
量の増加、減少をともに制御できるようにしておく。
As described above, the density correction means controls the light amount control section 2 via the control circuit section 35 based on the error between the density of the pixel in the monitor area D 2 and the reference density. At this time, the light amount control unit 2 is feedback-controlled so that the above error is reduced, and as a result, the detection condition of the color signal input to the comparison unit 21 is kept substantially constant regardless of the change in the illuminance of the target S. It is possible. Here, in the feedback control, the transfer function of the density correction unit is set so that the output value of the density detection unit 32 converges within an allowable range with respect to the reference density during a repetition cycle of about 1 to several times. It is desirable to do. Further, in order to prevent the adjustment amount of the light amount control unit 2 from deviating from the permissible range during operation (that is, not to become unadjustable), the adjustment amount of the light amount control unit 2 is set in the middle of the permissible range at the start of the operation. The setting is made so that both the increase and decrease of the light amount to the image pickup devices 17a, 17b, 17c can be controlled.

【0019】(実施例2)本実施例は、撮像装置1の構
成が実施例1とは異なる。すなわち、図4に示すよう
に、撮像素子17として1個で3つの基準色の色信号を
出力することができるものを用いている。したがって、
実施例1と同じ構成の色分解手段によって各基準色の色
信号に分解して光量制御素子2a,2b,2cにより透
過光量を各基準色ごとに制御した後、色合成手段を用い
て色の合成を行った後に撮像素子17に入力するように
なっている。色合成手段は、2枚のダイクロイックミラ
ー18a,18bと、2枚の全反射ミラー19a,19
bとにより構成される。すなわち、ダイクロイックミラ
ー18a,18bは、緑色光の透過光量を制御する光量
制御素子2bと撮像素子17とを結ぶ直線上に45度の
角度をなすように配列されており、光量制御素子2bに
近いダイクロイックミラー18aは赤色光を反射し、撮
像素子17に近いダイクロイックミラー18bは青色光
を反射する。したがって、緑色光は光量制御素子2bを
透過した後に撮像素子17に入射する。また、赤色光は
全反射ミラー19aで反射された後に、ダイクロイック
ミラー18aで反射され、ダイクロイックミラー18b
を通して撮像素子17に入射する。青色光は全反射ミラ
ー19bによって反射された後に、ダイクロイックミラ
ー18bで反射され撮像素子17に入射する。このよう
にして撮像素子17には赤色光、緑色光、青色光が合成
されて入射することになる。他の構成は実施例1と同様
であるから説明を省略する。
(Embodiment 2) This embodiment is different from Embodiment 1 in the structure of the image pickup apparatus 1. That is, as shown in FIG. 4, as the image pickup device 17, one that can output color signals of three reference colors is used. Therefore,
The color separation means having the same configuration as that of the first embodiment separates the color signals of the respective reference colors, and the transmitted light quantity is controlled for each reference color by the light quantity control elements 2a, 2b, 2c, and then the color composition means is used to separate the colors. The image is input to the image pickup device 17 after the combination. The color combining means includes two dichroic mirrors 18a and 18b and two total reflection mirrors 19a and 19b.
and b. That is, the dichroic mirrors 18a and 18b are arranged so as to form an angle of 45 degrees on a straight line connecting the light amount control element 2b that controls the amount of transmitted green light and the image pickup element 17, and are close to the light amount control element 2b. The dichroic mirror 18a reflects red light, and the dichroic mirror 18b near the image sensor 17 reflects blue light. Therefore, the green light is incident on the image sensor 17 after passing through the light amount control element 2b. The red light is reflected by the total reflection mirror 19a, then by the dichroic mirror 18a, and then by the dichroic mirror 18b.
And enters the image sensor 17. After the blue light is reflected by the total reflection mirror 19b, it is reflected by the dichroic mirror 18b and enters the image sensor 17. In this way, the red light, the green light, and the blue light are combined and incident on the image sensor 17. Since other configurations are the same as those in the first embodiment, description thereof will be omitted.

【0020】なお、上記各実施例では、撮像装置1に設
けた光量制御部2を用いて透過光量を光学的に制御して
いるが、撮像装置1の出力である色信号のレベルを濃度
制御信号によって制御するようにしても同様の結果が得
られる。
In each of the above embodiments, the light quantity control unit 2 provided in the image pickup apparatus 1 is used to optically control the transmitted light quantity. However, the density of the color signal level output from the image pickup apparatus 1 is controlled. Similar results can be obtained by controlling with a signal.

【0021】[0021]

【発明の効果】本発明は上述のように、撮像領域の一部
に設定した所定のモニタ領域について各色信号ごとの画
素の濃度を求めて既定の基準濃度と比較し、モニタ領域
の画素の濃度の基準濃度に対する誤差に基づいて濃度制
御信号を発生し、この濃度制御信号に基づいて光量制御
手段では、モニタ領域の各画素の濃度と基準濃度との誤
差を小さくする方向に撮像領域の画素の濃度を各基準色
ごとに変化させるので、外的条件に変化が生じても光量
制御手段によって条件変化を吸収することができ、画素
抽出手段に対してはほぼ同じ条件の色信号を入力するこ
とができるという利点を有する。その結果、測定精度が
向上することになって外的条件に左右されずに目的とす
る画素を正確に抽出することができ、しかも、照明装置
によって照度の制御を行う場合などに比較すればコスト
の増加は少なく、かつ設備も大型化することはないとい
う利点がある。加えて、モニタ領域の画素の濃度と基準
濃度との誤差を小さくする方向に撮像領域の画素の濃度
を調節する際に、各基準色ごとに濃度調節を行うので、
対象に照射される光に色変化が生じたような場合であっ
ても色補正を行うことになり、目的とする画素を正確に
抽出することが可能になるのである。とくに、外乱光が
影響するような場所では照度変化や色変化が生じやすい
が、上記構成によって外乱光の影響を抑制して画素を正
確に抽出することができるという効果を奏するのであ
る。
As described above, the present invention obtains the pixel density for each color signal in a predetermined monitor area set in a part of the image pickup area and compares it with a predetermined reference density to obtain the pixel density in the monitor area. The density control signal is generated on the basis of the error with respect to the reference density, and the light amount control means, based on the density control signal, reduces the error between the density of each pixel in the monitor area and the reference density. Since the density is changed for each reference color, even if an external condition changes, the light amount control means can absorb the change in the condition, and the pixel extraction means should be input with a color signal under substantially the same condition. It has the advantage that As a result, the measurement accuracy is improved, and the target pixel can be accurately extracted without being affected by external conditions. In addition, the cost can be reduced when compared with the case where the illumination device controls the illuminance. There is an advantage that the increase of the amount is small and the equipment is not enlarged. In addition, since the density adjustment is performed for each reference color when adjusting the density of the pixels in the image pickup area in the direction of reducing the error between the density of the pixels in the monitor area and the reference density,
Even in the case where the color of the light emitted to the object is changed, the color correction is performed, and the target pixel can be accurately extracted. In particular, the illuminance change and the color change are likely to occur in a place where the ambient light influences, but the above-described configuration has an effect that the influence of the ambient light can be suppressed and pixels can be accurately extracted.

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

【図1】実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment.

【図2】実施例1に用いる撮像装置の概略構成図であ
る。
FIG. 2 is a schematic configuration diagram of an image pickup apparatus used in the first embodiment.

【図3】実施例における撮像領域と対象領域とモニタ領
域とを示す説明図である。
FIG. 3 is an explanatory diagram showing an imaging area, a target area, and a monitor area in the embodiment.

【図4】実施例2に用いる撮像装置の概略構成図であ
る。
FIG. 4 is a schematic configuration diagram of an imaging device used in a second embodiment.

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

【図6】従来例における撮像領域と対象領域とを示す説
明図である。
FIG. 6 is an explanatory diagram showing an imaging region and a target region in a conventional example.

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

1 撮像装置 2 光量制御部 2a 光量制御素子 2b 光量制御素子 2c 光量制御素子 15a ダイクロイックミラー 15b ダイクロイックミラー 16a 全反射ミラー 16b 全反射ミラー 17 撮像素子 17a 撮像素子 17b 撮像素子 17c 撮像素子 18a ダイクロイックミラー 18b ダイクロイックミラー 19a 全反射ミラー 19b 全反射ミラー 21 比較部 22 対象領域指定部 23 抽出濃度設定部 24 閾値設定部 32 濃度検出部 33 基準濃度設定部 34 補正量演算部 35 制御回路部 DESCRIPTION OF SYMBOLS 1 Imaging device 2 Light intensity control unit 2a Light intensity control element 2b Light intensity control element 2c Light intensity control element 15a Dichroic mirror 15b Dichroic mirror 16a Total reflection mirror 16b Total reflection mirror 17 Imaging device 17a Imaging device 17b Imaging device 17c Imaging device 18a Dichroic mirror 18b Dichroic Mirror 19a Total reflection mirror 19b Total reflection mirror 21 Comparison unit 22 Target area designation unit 23 Extraction density setting unit 24 Threshold setting unit 32 Density detection unit 33 Reference density setting unit 34 Correction amount calculation unit 35 Control circuit unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定の撮像領域からの入射光を複数の基
準色の色信号に変換する撮像手段と、撮像領域の一部で
ある所定の対象領域について撮像手段から出力される各
色信号ごとに設定された既定の濃度範囲の画素を抽出す
る画素抽出手段とを備えるカラー画像処理装置におい
て、撮像領域の一部に設定した所定のモニタ領域につい
て各基準色ごとの画素の濃度の既定の基準濃度に対する
誤差に基づく濃度制御信号を発生する濃度補正手段と、
濃度制御信号によりモニタ領域の各画素の濃度と基準濃
度との誤差を小さくする方向に撮像領域の画素の濃度を
各基準色ごとに変化させる光量制御手段とを備えること
を特徴とするカラー画像処理装置。
1. An image pickup unit for converting incident light from a predetermined image pickup region into color signals of a plurality of reference colors, and each color signal outputted from the image pickup unit for a predetermined target region which is a part of the image pickup region. In a color image processing apparatus including a pixel extraction unit that extracts pixels in a set predetermined density range, a predetermined reference density of pixel density for each reference color for a predetermined monitor area set as a part of an imaging area Density correction means for generating a density control signal based on an error with respect to
Color image processing comprising: a light amount control means for changing the density of pixels in the image pickup area for each reference color in a direction to reduce the error between the density of each pixel in the monitor area and the reference density by the density control signal. apparatus.
【請求項2】 撮像手段は、入射光を光学的に各基準色
に分解する色分解手段と、色分解手段により分離された
各基準色の入射光ごとに色信号に変換する撮像素子とを
備え、光量制御手段は、色分解手段と各基準色の撮像素
子との間に配設され色分解手段により分離された各光線
について濃度制御信号に応じて透過光量を制限すること
を特徴とする請求項1記載のカラー画像処理装置。
2. The image pickup means includes color separation means for optically separating incident light into respective reference colors, and an image pickup element for converting incident light of each reference color separated by the color separation means into color signals. The light quantity control means is characterized in that the light quantity control means limits the transmitted light quantity according to the density control signal for each light beam which is arranged between the color separation means and the image pickup device of each reference color and separated by the color separation means. The color image processing apparatus according to claim 1.
【請求項3】 撮像手段は、入射光を光学的に各基準色
に分解する色分解手段と、色分解手段により分離された
各基準色の光線を光学的に合成して元の入射光を再生す
る色合成手段と、色合成手段により合成された入射光か
ら各基準色の色信号を出力する撮像素子とを備え、光量
制御手段は、色分解手段と色合成手段との間に配設され
色分解手段により分離された各基準色の光線について濃
度制御信号に応じて透過光量を制限することを特徴とす
る請求項1記載のカラー画像処理装置。
3. The image pickup means optically combines the color separation means for optically separating the incident light into each reference color and the light rays of each reference color separated by the color separation means to obtain the original incident light. A color synthesizing unit for reproducing and an image sensor for outputting a color signal of each reference color from the incident light synthesized by the color synthesizing unit are provided, and the light amount control unit is disposed between the color separating unit and the color synthesizing unit. 2. The color image processing apparatus according to claim 1, wherein the amount of transmitted light of the light rays of each reference color separated by the color separation means is limited according to the density control signal.
JP5032981A 1993-02-23 1993-02-23 Color image processor Withdrawn JPH06253317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5032981A JPH06253317A (en) 1993-02-23 1993-02-23 Color image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5032981A JPH06253317A (en) 1993-02-23 1993-02-23 Color image processor

Publications (1)

Publication Number Publication Date
JPH06253317A true JPH06253317A (en) 1994-09-09

Family

ID=12374058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5032981A Withdrawn JPH06253317A (en) 1993-02-23 1993-02-23 Color image processor

Country Status (1)

Country Link
JP (1) JPH06253317A (en)

Similar Documents

Publication Publication Date Title
JP2002027491A (en) Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method
US6831687B1 (en) Digital camera and image signal processing apparatus
KR20000022962A (en) Pixel defect detector for solid-state imaging device
EP1178676A1 (en) Method and device for detecting defective pixels of a solid-state colour image-pickup apparatus
US8130283B2 (en) Method for monitoring set parameters of a motion-picture camera
JP2014135545A (en) Image pickup device, image pickup system, and image pickup method
KR20010037684A (en) Apparatus for correlating of exposure automatically of a digital still camera and method for performing the same
JPH0974516A (en) Image input device
KR100631996B1 (en) Auto white balancing device and method of digital camera
JP4530149B2 (en) High dynamic range camera system
JPH06253317A (en) Color image processor
JP3384916B2 (en) Imaging device
JP4498086B2 (en) Image processing apparatus and image processing method
JP5121498B2 (en) Imaging apparatus and image data correction method
JP3000576B2 (en) Imaging device
JPH0622207A (en) Image pickup device
KR100475285B1 (en) Digital Still Camera Corrects Contrast According to Light Source
JPH0574271B2 (en)
JPH08223587A (en) Image pickup device
JP2004200888A (en) Imaging device
JP3434086B2 (en) Automatic white balance correction device and correction method
JPH11355785A (en) Photometric exposure controller and photometric exposure control method
JPS63104033A (en) Exposure controller for video camera
JPS62178075A (en) Television camera device
CN116208847A (en) Model application system using component value detection

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: 20000509