JP2004166310A - White balance adjustment device for still video cameras - Google Patents
White balance adjustment device for still video cameras Download PDFInfo
- Publication number
- JP2004166310A JP2004166310A JP2004030202A JP2004030202A JP2004166310A JP 2004166310 A JP2004166310 A JP 2004166310A JP 2004030202 A JP2004030202 A JP 2004030202A JP 2004030202 A JP2004030202 A JP 2004030202A JP 2004166310 A JP2004166310 A JP 2004166310A
- Authority
- JP
- Japan
- Prior art keywords
- gain control
- control signal
- white balance
- illumination light
- subject
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
Description
本発明は、本撮影前に撮像素子に撮像された被写体撮像データに基づいて、ホワイトバランスを調整するスチルビデオカメラのホワイトバランス調整装置に関する。 The present invention relates to a white balance adjusting device for a still video camera that adjusts a white balance based on subject image data captured by an image sensor before actual photographing.
近年、被写体の光画像を、撮像レンズ,絞り等の光学撮像系を介してCCD等の固体撮像素子に結像させ、該撮像素子により光電変換されて出力される電気画像信号を、記録媒体に記録するように構成されたスチルビデオカメラが実用化されている。
この種のスチルビデオカメラでは、被写体の照明光による光の波長分布の違いを補正するため、R(赤) ,B(青) ,G(緑) の三原色成分の量が等量ずつとなるように、色成分のゲインを制御してホワイトバランス調整を行っている。前記ホワイトバランス調整としては、例えば、Gのゲインを一定のまま、RとBのゲインを変えていって、色差信号R−Y,B−Y(Y;輝度信号) の積分値が0となるように、RとBのゲインをフィードバック制御して決定する方式が知られる(特許文献1参照)。
In recent years, an optical image of a subject is formed on a solid-state imaging device such as a CCD via an optical imaging system such as an imaging lens and an aperture, and an electric image signal that is photoelectrically converted and output by the imaging device is recorded on a recording medium. Still video cameras configured to record are in practical use.
In this type of still video camera, the amounts of the three primary color components R (red), B (blue), and G (green) are equal to each other in order to correct the difference in the wavelength distribution of light due to the illumination light of the subject. In addition, white balance adjustment is performed by controlling the gain of the color component. As the white balance adjustment, for example, the gains of R and B are changed while the gain of G is kept constant, and the integrated value of the color difference signals RY and BY (Y; luminance signal) becomes zero. As described above, a method is known in which the gains of R and B are determined by feedback control (see Patent Document 1).
この方式は、一般的な被写体の撮影画像では、各色成分(R,B,G) が均等に混在するため、画像全体の色差信号を平均化した値は、無彩色の被写体を撮影した画像と等価となり、被写体照明の色温度が変化すると、画像全体の色成分量が色温度変化の範囲内で変化するという経験則を利用したものである。
一方、前記のようなフィードバック方式では、ゲイン決定の演算に時間を要するため、予め、代表的な複数の被写体照明光に対応してそれぞれの色温度に応じたホワイトバランス調整用のゲインを求めておき、各ゲインで調制御して得られる画像の中で最もホワイトバランスが良好な画像のゲインを、本撮影用のゲインとして決定するようにしたものもある。
On the other hand, in the feedback method as described above, since it takes time to calculate the gain, a gain for white balance adjustment corresponding to each color temperature corresponding to a plurality of typical subject illumination lights is obtained in advance. In some cases, the gain of the image with the best white balance among the images obtained by performing the tone control with each gain is determined as the gain for the main photographing.
ところで、前記のように、撮像データに基づいてホワイトバランス調整用のゲインを決定しても、ストロボ撮影(ストロボを発光させての撮影) が行われた場合には、ストロボ発光されない状態での撮像データに基づくゲインでホワイトバランス調整が行われるため、良好なホワイトバランス調整が行われないという問題がある。このため、ストロボ撮影を行うときには、ストロボ光の色温度と色度の関係に応じて決定したゲインでホワイトバランス調整を行うようにしたものがあるが、実際には、被写体はストロボ光以外の光も受けているので、必ずしも良好なホワイトバランス調整が行われていない。 By the way, as described above, even if the gain for white balance adjustment is determined based on the imaging data, if the flash photography (shooting with the flash firing) is performed, the imaging without the flash emission is performed. Since the white balance adjustment is performed with the gain based on the data, there is a problem that good white balance adjustment is not performed. For this reason, when performing flash photography, there is a type in which white balance is adjusted with a gain determined according to the relationship between the color temperature and chromaticity of the flash light. Therefore, good white balance adjustment is not always performed.
本発明は、このような従来の課題に鑑みなされたもので、ストロボ撮影条件でも、最適なホワイトバランス調整が行えるようにすることを目的とする。 The present invention has been made in view of such a conventional problem, and has as its object to enable optimal white balance adjustment even under flash photography conditions.
このため、請求項1に係る発明は、図1に示すように、
本撮影前に撮像素子に撮像された被写体撮像データに基づいて、ホワイトバランスの調整量を決定するスチルビデオカメラのホワイトバランス調整装置において、
前記被写体撮像データに基づいてストロボ光を発光させた撮影を行うか否かを判断するストロボ撮影判断手段と、
前記ストロボ撮影判断手段により、ストロボ光を発光させた撮影を行うと判断されたときに、ストロボ光の色温度と色度との関係と、前記被写体撮像データにおける被写体照明光の色温度と色度との関係と、に基づいて、本撮影時に用いるホワイトバランス調整用のゲイン制御信号を形成するゲイン制御信号形成手段と、
を含んで構成したことを特徴とする。
Therefore, the invention according to
In a white balance adjustment device of a still video camera that determines an adjustment amount of a white balance based on subject imaging data captured by an imaging device before main shooting,
Strobe shooting determining means for determining whether to perform shooting by emitting strobe light based on the subject imaging data,
When it is determined by the flash shooting determining means that shooting with flash light is to be performed, the relationship between the color temperature and chromaticity of the flash light and the color temperature and chromaticity of the subject illumination light in the subject image data And a gain control signal forming means for forming a gain control signal for white balance adjustment used at the time of actual shooting, based on
Is characterized by comprising.
このようにすれば、ストロボ撮影時は、ストロボ光と撮像データに基づいて得られたストロボ光以外の被写体照明光との双方の色温度と色度との関係に基づいて、形成されたゲイン制御信号を用いて、最適なホワイトバランス調整を行うことができる。
また、請求項2に係る発明は、前記ゲイン制御信号形成手段は、被写体とカメラとの距離に応じて、ゲイン制御信号と、被写体撮像データにおける被写体照明光に対応するゲイン制御信号と、の重み付けを変えてホワイトバランス調整用のゲイン制御信号を形成することを特徴とする。
With this configuration, at the time of flash shooting, the gain control formed based on the relationship between the color temperature and the chromaticity of both the flash light and the subject illumination light other than the flash light obtained based on the imaging data. Optimal white balance adjustment can be performed using the signal.
In the invention according to
このようにすれば、被写体とカメラとの距離が近いときほど、ストロボ光の被写体への受光量が多くなるのでストロボ光によるゲイン制御信号の重みを大きくすることで、ストロボ光と、それ以外の被写体照明光との影響度を適切に反映したゲイン制御信号が形成される。
また、請求項3に係る発明は、前記ゲイン制御信号形成手段は、被写体撮像データの輝度レベルに応じて、ストロボ光に対応するゲイン制御信号と、被写体撮像データにおける被写体照明光に対応するゲイン制御信号と、の重み付けを変えてホワイトバランス調整用のゲイン制御信号を形成することを特徴とする。
With this configuration, the smaller the distance between the subject and the camera, the greater the amount of strobe light received by the subject. Therefore, by increasing the weight of the gain control signal based on the strobe light, A gain control signal that appropriately reflects the degree of influence with the subject illumination light is formed.
The gain control signal forming means may include a gain control signal corresponding to strobe light and a gain control signal corresponding to subject illumination light in the subject image data in accordance with a brightness level of the subject image data. It is characterized in that a gain control signal for white balance adjustment is formed by changing the weight of the signal.
このようにすれば、撮像データの輝度が小さく、ストロボ未発光時の被写体照明が暗いときほど、ストロボ光の受光割合が相対的に大きくなるので、ストロボ光によるゲイン制御信号の重みを大きくすることで、ストロボ光と、それ以外の被写体照明光との影響度を適切に反映したゲイン制御信号が形成される。 In this way, the light receiving ratio of the strobe light becomes relatively higher as the brightness of the image data becomes smaller and the subject illumination becomes darker when the strobe light is not emitted. Therefore, the weight of the gain control signal by the strobe light should be increased. Thus, a gain control signal that appropriately reflects the degree of influence between the strobe light and the other object illumination light is formed.
以下に本発明の実施の形態を説明する。
図2は、本発明に係る自動合焦装置が適用されるスチルビデオカメラのハードウェア構成を示す。
図において、撮像レンズ101,フォーカスレンズ102,アイリス絞り103等を備えた光学撮像系を介して得られた被写体の光画像は、固体撮像素子例えばCCD104上に結像される。前記フォーカスレンズ102及びアイリス絞り103は、レンズ駆動回路121及びアイリス駆動回路120により夫々駆動される。
Hereinafter, embodiments of the present invention will be described.
FIG. 2 shows a hardware configuration of a still video camera to which the automatic focusing device according to the present invention is applied.
In the figure, an optical image of a subject obtained through an optical imaging system including an
前記CCD4では結像された光画像を光電変換して電荷量に変換し、CCD駆動回路7からの転送パルスによってアナログ電気画像信号として出力する。CCD4から出力されたアナログ電気画像信号は、CDS(相関二重サンプリング)回路でノイズが低減され、また、AGCによりゲイン(利得) の調整が行われる。そして、A/D変換器106でデジタル画像信号に変換された後、プロセス回路109で輝度処理や色処理が施されてデジタルビデオ信号(例えば、輝度信号と色差信号) に変換される。
The CCD 4 photoelectrically converts the formed light image into a charge amount, and outputs it as an analog electric image signal by a transfer pulse from the
尚、メインCPU110は各部の動作の制御を行っており、発光回路115によって駆動されるストロボ116は撮影時に発光するように制御される。また、AE(自動露出制御) ,AWB(ホワイトバランス調整) ,AF(自動焦点制御) 処理は、全て撮像面のデータを用いてメインCPU110の制御により行う。これらの処理はプロセス回路107がデータを供給してやり、メインCPU110が演算処理を行い、絞り駆動回路120、レンズ駆動回路121、及びCCD駆動回路125、プロセス回路107内の色処理回路を制御することで行う。また、メインCPU110は操作パネル130の各種スイッチ(電源スイッチ,レリーズスイッチ,再生スイッチ等) の操作状態に応じて各部を制御し、また、必要な情報を液晶表示部131に表示する。
The
尚、ここでは、メインCPU110がスチルビデオカメラ全体を制御する場合を示したが、サブCPUとメインCPUとで分担する構成としてもよい。
このデジタルビデオ信号を記録する際は、圧縮伸長回路108においてデータ圧縮が行われる。そして、記録再生回路109によって、SRAMやフラッシュメモリ等で構成されたメモリカード111に記録される。
Here, the case where the
When recording this digital video signal, data compression is performed in the compression /
再生する際は、メモリカード111に記憶されているデジタルビデオ信号の圧縮データが記録再生回路109によって読みだされる。そして圧縮伸長回路108において圧縮データの伸長が行われ、元のサイズのデジタルビデオ信号に戻される。そして、D/A変換器112でアナログのビデオ信号に変換されて、出力回路113で所定のレベルのビデオ信号として外部の機器に出力される。
At the time of reproduction, compressed data of the digital video signal stored in the
また、スルー再生の際は、プロセス回路107からD/A変換器112にデジタルビデオ信号が直接送られ、CCD104で撮像した映像がリアルタイムでビデオ信号として外部に出力され続ける。
次に、本発明のストロボ撮影に対応した実施の形態について説明する。ストロボ光は、前記昼光や白熱灯などの標準照明光及び蛍光灯灯の特殊照明光CWFとは異なる色温度と色度の関係を有している。この点を考慮して、ストロボ光の色温度と色度との関係に応じたゲイン制御信号を設定して、ストロボ撮影時には、該ストロボ光専用のゲイン制御信号を用いて撮影するようにしたものが提案されている。
In the case of through reproduction, a digital video signal is directly sent from the
Next, an embodiment corresponding to flash photography of the present invention will be described. The strobe light has a different color temperature and chromaticity relationship from the standard illumination light such as the daylight or incandescent light and the special illumination light CWF of the fluorescent lamp. In consideration of this point, a gain control signal corresponding to the relationship between the color temperature and the chromaticity of the strobe light is set, and the strobe light is photographed using the gain control signal dedicated to the strobe light. Has been proposed.
しかし、実際には、ストロボ撮影時でも被写体はストロボ光以外に被写体周囲の光を受けているので、前記のようにストロボ光の特性のみに応じたゲイン制御信号を用いると、必ずしも良好なホワイトバランス調整が行われない。そこで、本実施の形態では、ストロボ撮影時は、ストロボ光と撮像データに基づいて得られたストロボ光以外の被写体照明光との双方の色温度と色度との関係に基づいて、ホワイトバランス調整用のゲイン制御信号を決定する。 However, in actuality, even when shooting with a flash, the subject receives light around the subject in addition to the flash light. Therefore, if the gain control signal according to only the characteristics of the flash light is used as described above, it is not always necessary to obtain a good white balance. No adjustment is made. Therefore, in the present embodiment, at the time of flash shooting, white balance adjustment is performed based on the relationship between the color temperature and chromaticity of both the flash light and the subject illumination light other than the flash light obtained based on the imaging data. Of the gain control signal for the control.
本実施の形態の具体的な制御を、図3のフローチャートに従って説明する。
ステップ1では、前記レリーズスイッチを半押されたか否かを判別し、半押しされた場合にはステップ2へ進んで、被写体をCCD104に撮像する。
ステップ3では、前記CCD104からのストロボが発光されていない状態での被写体照明光に応じた撮像データに基づいて、R,Bのゲイン制御信号の値GR0、GB0を、以下のように設定する。
Specific control of the present embodiment will be described with reference to the flowchart of FIG.
In
In
第1の例では、完全放射体の色温度と色度との関係に近い関係を有する複数の標準照明光としてD75(昼光) , D50, INC(白熱灯) 、と、前記関係からのずれが大きく緑がかった光を発する特殊照明光とてCWF(蛍光灯) について、予め、これら照明光の色温度に応じたホワイトバランス調整用のゲイン制御信号の値をメモリに記憶して用意しておく。該ゲイン制御信号の各値は、図4に示すような色温度とR,Bのゲイン制御信号値との関係から求められる(D75:□、D50:〇、INC:△、CWF:×) 。 In the first example, D75 (daylight), D50, INC (incandescent light) are used as a plurality of standard illumination lights having a relationship close to the relationship between the color temperature and the chromaticity of the perfect radiator, and a deviation from the relationship. For CWF (fluorescent lamp) as a special illumination light which emits a greenish light, the value of a gain control signal for white balance adjustment according to the color temperature of the illumination light is stored in a memory and prepared in advance. deep. Each value of the gain control signal is obtained from the relationship between the color temperature and the R and B gain control signal values as shown in FIG. 4 (D75: □, D50: 〇, INC: △, CWF: ×).
図5は、非ストロボ撮影条件での第1の例によるR,Bのゲイン制御信号の値GR0、GB0設定の詳細を示す。
ステップ11では、得られた撮像データに対して、前記各照明光のゲイン制御信号によってR,B成分のゲインを制御する。ここで、R,B成分についてだけゲイン制御するのは、各照明光の色温度に対してR,B,Gの比率が決まっているので、G成分を一定としてR,B成分を変えるだけで、R,B,Gの比率を1:1:1とするようにホワイトバランス調整を行えるためである。
FIG. 5 shows the details of setting the values GR0 and GB0 of the gain control signals of R and B according to the first example under the non-flash shooting condition.
In step 11, the gain of the R and B components is controlled with respect to the obtained imaging data by the gain control signal of each illumination light. Here, the gain control only for the R and B components is performed only by changing the R and B components while keeping the G component constant because the ratio of R, B and G to the color temperature of each illumination light is determined. , R, B, G can be adjusted so as to make the ratio of 1: 1: 1.
ステップ12では、前記標準照明光D75, D50, INCの中で、最もホワイトバランスが良好なものを選択する。ここで、最もホワイトバランスが良好となる照明光が、これら標準照明光の中では、現在の被写体照明光に最も近いことになる。ここで、ホワイトバランスの良否の判定は、前記ゲイン制御を行った撮像データについて、R成分とB成分とが最も均等であるものが、ホワイトバランスが最も良好であるとして判定する。即ち、前記したように、各照明光のゲイン制御信号は、R,B,Gの比率を1:1:1とするように設定されているから、実際の照明光に近い照明光のゲイン制御信号で制御すれば、RとBの比率が1:1に近づけられるのである。尚、具体的な判別方法としては、図6に示すように、R−Bの軸に対してR>Bである画素とR<Bである画素とをそれぞれカウントしていって、両画素数の比率を求め、最も1:lに近いものを選択する。尚、R−B=(R−Y) −(B−Y) であり、色差信号(R−Y) と(B−Y) が得られているので、各画素について色差信号(R−Y) ,(B−Y) の差の正負で、R成分が多い画素とB成分が多い画素とに判別することができ、両者の画素数をカウントして比率を求めればよい。 In step 12, the standard illumination light D75, D50, INC having the best white balance is selected. Here, the illumination light having the best white balance is closest to the current subject illumination light among these standard illumination lights. Here, whether the white balance is good or bad is determined assuming that the image data on which the gain control has been performed, in which the R component and the B component are the most uniform, has the best white balance. That is, as described above, since the gain control signal of each illumination light is set so that the ratio of R, B, and G is 1: 1: 1, the gain control signal of the illumination light close to the actual illumination light is used. If controlled by a signal, the ratio of R and B can be made closer to 1: 1. As a specific discrimination method, as shown in FIG. 6, pixels satisfying R> B and pixels satisfying R <B are counted with respect to the RB axis. And the one closest to 1: l is selected. Since RB = (RY)-(BY) and the color difference signals (RY) and (BY) are obtained, the color difference signal (RY) is obtained for each pixel. , (B−Y), it is possible to discriminate between a pixel having a large R component and a pixel having a large B component, and it is sufficient to count the number of both pixels and obtain the ratio.
しかし、この判定だけでは、特殊照明光CWFである可能性が残されているので、以下にその判別を行う。
ステップ13では、前記標準照明光の中で最もホワイトバランスが良好であったものと、特殊照明光CWFでゲイン制御した場合の撮像データとを比較し、ステップ14で、ホワイトバランスが良好である方の照明光を選択する。具体的には、前記特殊照明光CWF(蛍光灯) は、標準照明光に比較してG成分が多いことを利用する。即ち、図4に×印で示すように、特殊照明光CWFに対応するゲイン制御信号は、該特殊照明光CWF下での緑がかった画像を白く補正するように、該G成分の増大分を相殺すべく、標準照明光の同一色温度のゲイン制御信号に比較してRゲイン制御信号,Bゲイン制御信号共に大きい値に設定されている。
However, only by this determination, there is a possibility that the illumination light is the special illumination light CWF.
In
したがって、実際の被写体照明光が特殊照明光CWFであれば、特殊照明光CWFに対応するゲイン制御信号でゲイン制御された画像は、G成分とその補色であるMg(マゼンタ) 成分とが均等であるが、標準照明光のゲイン制御信号でゲイン制御された画像では、その中では最もホワイトバランスが良好な画像でも、相対的にG成分が多くなり、Mg成分が少なくなる。逆に、実際の被写体照明光が標準照明光であるときは、該標準照明光に対応するゲイン制御信号でゲイン制御された画像は、G成分とMg成分とが均等であるが、特殊照明光CWFのゲイン制御信号を用いてゲイン制御を行うと、G成分を打ち消すようにR,Bのゲインが強められる結果、相殺的にG成分が少なくなり、Mg成分が多くなる。 Therefore, if the actual subject illumination light is the special illumination light CWF, the image whose gain is controlled by the gain control signal corresponding to the special illumination light CWF has a uniform G component and its complementary color of Mg (magenta) component. However, in the image whose gain is controlled by the gain control signal of the standard illumination light, even in the image having the best white balance, the G component is relatively increased and the Mg component is decreased. Conversely, when the actual subject illumination light is the standard illumination light, in the image whose gain is controlled by the gain control signal corresponding to the standard illumination light, the G component and the Mg component are equal, but the special illumination light When gain control is performed using the gain control signal of the CWF, the gains of R and B are strengthened so as to cancel the G component. As a result, the G component is reduced and the Mg component is increased.
そこで、前記選択された標準照明光のゲイン制御信号でゲイン制御した画像と、特殊照明光CWFでゲイン制御した画像とについてMg,G成分の比を比較する。具体的には、図7において、Mg−G=(R−Y) +(B−Y) で表されるので、色差信号(R−Y) ,(B−Y) の和の正負を判別することによって、画素毎にMg成分が多い画素とG成分が多い画素とに判別でき、両者の画素数の比率を求めることができる。 Therefore, the ratio of the Mg and G components is compared between the image whose gain is controlled by the gain control signal of the selected standard illumination light and the image whose gain is controlled by the special illumination light CWF. Specifically, in FIG. 7, since Mg-G = (RY) + (BY), it is determined whether the sum of the color difference signals (RY) and (BY) is positive or negative. This makes it possible to discriminate between a pixel having a large amount of Mg component and a pixel having a large amount of G component for each pixel, and it is possible to determine the ratio of the number of pixels of both.
そして、選択された標準照明光でゲイン制御したときのMg成分とG成分との比率が1:1に近く、特殊照明光でゲイン制御したときにはMg成分の比率が相対的に高い場合は、被写体照明光は該選択された標準照明光に近い照明光であると判断し、該標準照明光のゲイン制御信号を、本撮影時のホワイトバランス調整用のゲイン制御信号GR0,GB0として選択する(ステップ15)。 If the ratio between the Mg component and the G component when the gain is controlled by the selected standard illumination light is close to 1: 1 and the ratio of the Mg component is relatively high when the gain is controlled by the special illumination light, the subject It is determined that the illumination light is illumination light close to the selected standard illumination light, and the gain control signal of the standard illumination light is selected as gain control signals GR0 and GB0 for white balance adjustment at the time of actual photographing (step S1). 15).
一方、特殊照明光でゲイン制御したときのMg成分とG成分との比率が1:1に近く、標準照明光でゲイン制御したときにはG成分の比率が相対的に高い場合は、被写体照明光が特殊照明光である可能性があるが、後述するような撮影状況では標準照明光である可能性も残されているため、ステップ16へ進んで、その判別を行う。
即ち、屋外で特に草木等の緑の多い場所で撮影を行う場合は、該画像の各色成分を混合した色は無彩色とはならず、G成分の多い画像となる。したがって、該撮影時の照明光に対応した標準照明光D75などのゲイン制御信号を用いてゲイン制御した場合の画像について、前記Mg成分とG成分との比率を求めるとG成分が多い比率となり、この画像に対して特殊照明光CWFのゲイン制御信号でゲイン制御を行うと、Gを打ち消す機能によりMgとGとの比率が1:lに近い値となり、前記ステップ14の判別方式では正しい判別が行えない。
On the other hand, when the ratio between the Mg component and the G component when the gain is controlled by the special illumination light is close to 1: 1, and when the ratio of the G component is relatively high when the gain is controlled by the standard illumination light, the subject illumination light is high. Although there is a possibility that the illumination light is special illumination light, there is still a possibility that the illumination light is standard illumination light in a shooting situation described later.
That is, when an image is taken outdoors, particularly in a place with a lot of greenery such as plants, the color obtained by mixing the respective color components of the image does not become an achromatic color, but becomes an image having a large amount of G components. Therefore, when the ratio between the Mg component and the G component is obtained for an image when gain control is performed using a gain control signal such as the standard illumination light D75 corresponding to the illumination light at the time of shooting, the G component has a large ratio. When gain control is performed on this image using the gain control signal of the special illumination light CWF, the ratio of Mg to G becomes a value close to 1: l due to the function of canceling G. I can't.
そこで、このような屋外での昼光照明が蛍光灯等の特殊照明光CWFに比較して、十分に輝度が高いことに着目し、撮像データの輝度を比較して判別を行う。即ち、撮像データの輝度が所定レベル以上と判断されたときには、前記昼光照明下での緑の多い場所での撮影状況であると判断して、ステップ15へ進み前記ステップ12で選択された標準照明光のゲイン制御信号を本撮影時のホワイトバランス調整用のゲイン制御信号GR0,GB0として決定する。 Therefore, attention is paid to the fact that such daylight illumination outdoors has sufficiently high luminance as compared with the special illumination light CWF such as a fluorescent light, and the luminance of the image data is compared to make a determination. That is, when it is determined that the brightness of the image data is equal to or higher than the predetermined level, it is determined that the image is taken in a place where there is much green under the daylight illumination, and the process proceeds to step 15 where the standard value selected in step 12 is selected. The gain control signal of the illumination light is determined as gain control signals GR0 and GB0 for white balance adjustment at the time of actual photographing.
また、ステップ16で撮像データの輝度が所定レベル未満と判断されたときには、輝度の低い蛍光灯等の特殊照明光CWFでの撮影状況であると判断して、ステップ17へ進み、該特殊照明光CWFのゲイン制御信号を本撮影時のホワイトバランス調整用のゲイン制御信号R0,B0として決定する。なお、既述したように、標準照明光と特殊照明光CWFとの判別を、標準照明光の中での判別と同様にゲイン制御後の撮像データにおけるR成分とB成分との比率で判別しようとしても、特殊照明光CWFではG成分の増大分を打ち消すように、RとBのゲイン制御信号が均等に増大して設定されているので、該特殊照明光CWFと、色温度の近い標準照明光とで、撮像データにおけるRとBの比率は変わらないことになり、区別することができない。 If it is determined in step 16 that the brightness of the image data is lower than the predetermined level, it is determined that the image is being shot with special illumination light CWF such as a fluorescent lamp having low brightness, and the process proceeds to step 17 where the special illumination light is determined. The gain control signal of the CWF is determined as gain control signals R0 and B0 for white balance adjustment at the time of actual photographing. As described above, the determination between the standard illumination light and the special illumination light CWF is made based on the ratio between the R component and the B component in the image data after gain control, similarly to the determination in the standard illumination light. However, in the special illumination light CWF, the gain control signals for R and B are set so as to be evenly increased so as to cancel out the increase in the G component, so that the special illumination light CWF and the standard illumination having a color temperature close to each other are set. The ratio of R and B in the image data does not change with light, and cannot be distinguished.
したがって、上記のようにMgとGとの比率で判別することで、特殊照明光CWFの可能性を求め、更に、輝度による判別で緑の多い特殊な撮影状況との判別も良好に行え、比較的少ない演算処理で照明光を精度良く判別して良好なホワイトバランス調整を行うことができる。また、特殊照明光CWFの判別は、フリッカーを検出することにより行えるので、それを用いる構成とすることができる。 Therefore, the possibility of the special illumination light CWF is determined by determining the ratio of Mg and G as described above, and furthermore, the distinction with a special photographing state having a lot of green can be performed satisfactorily by the luminance. It is possible to accurately determine the illumination light with a small amount of arithmetic processing and perform a good white balance adjustment. In addition, since the special illumination light CWF can be determined by detecting flicker, it can be configured to use the flicker.
なお、前記複数の標準照明光の中から選択されたゲイン制御信号の色温度が特殊照明光CWFの色温度と大きく離れている場合には、特殊照明光CWFとの比較を行うことなく、該選択された標準照明光のゲイン制御信号を本撮影時のホワイトバランス調整用のゲイン制御信号と決定するようにしてもよい。例えば、INCではRとBの大小関係が、特殊照明光CWFのRとBとの大小関係と逆になっているので、該INCが選択されたときは、そのまま本撮影時用のゲイン制御信号として決定することが可能である。 When the color temperature of the gain control signal selected from the plurality of standard illumination lights is significantly different from the color temperature of the special illumination light CWF, the color temperature is not compared with the special illumination light CWF. The gain control signal of the selected standard illumination light may be determined as a gain control signal for white balance adjustment at the time of actual photographing. For example, in INC, the magnitude relationship between R and B is opposite to the magnitude relationship between R and B of the special illumination light CWF. Therefore, when the INC is selected, the gain control signal for the actual photographing is directly used. It can be determined as
また、屋外で緑の多い撮影状況と判断されたときに、そのときのフィードバック補正されたR, Bのゲイン制御信号GRG, GBGに対して、GRG−GR =GBG−GB となるような、標準照明光におけるR, Bのゲイン制御信号GR,GB を本撮影時用のゲイン制御信号GR0,GB0としてもよい。
次に、非ストロボ撮影条件でのR,Bのゲイン制御信号の値GR0、GB0設定の第2の例を説明する。
In addition, when it is determined that the photographing situation has a lot of green outdoors, with respect to the feedback-corrected gain control signals GRG and GBG of the R and B at that time, GRG-GR = GBG-GB. The gain control signals GR and GB of R and B in the illumination light may be used as the gain control signals GR0 and GB0 for the actual photographing.
Next, a second example of setting the values GR0 and GB0 of the gain control signals of R and B under the non-flash shooting condition will be described.
第2の例は、ゲイン制御信号をフィードバック補正しつつホワイトバランス調整する方式に適用したものである。既述したように、該フィードバック制御方式では、例えば、色差信号(R−Y),(B−Y)の積分値が0になるように、RとBのゲインをフィードバック制御するものが知られている。かかるフィードバック制御方式では、制御幅を制限しなければ、任意の画像に対して全体の平均値が無彩色となるようにホワイトバランス調整が行われるので、特殊照明光CWFのようにG成分の多い照明光での撮影画像でも、良好なホワイトバランス調整が行える。 The second example is applied to a method of performing white balance adjustment while performing feedback correction on a gain control signal. As described above, in the feedback control method, for example, a feedback control method is known in which the gains of R and B are feedback-controlled so that the integrated values of the color difference signals (RY) and (BY) become zero. ing. In such a feedback control method, if the control width is not limited, white balance adjustment is performed on an arbitrary image so that the entire average value is achromatic, so that the G component is large as in the special illumination light CWF. Good white balance adjustment can be performed even for images shot with illumination light.
しかし、前記第1の例で説明したように、昼光下で緑の多い場所を撮影した場合等に、前記のように自動的にホワイトバランス調整が行われてしまうと、平均的にG成分の多い画像を白く修正するように調整されるため、緑色部分は薄白くあせ、本来白い部分は緑色の補色である紫(マゼンタ)がかった画像となってしまう。これを防止するため、R,Bのゲインを制限すると、今度は前記特殊照明光CWF下で撮影画像が緑がかった画像となってしまう。 However, as described in the first example, when the white balance adjustment is automatically performed as described above when, for example, a place with a lot of green is photographed under daylight, the G component is averaged. Since the image is adjusted so as to correct an image having a lot of white, the green portion is faded white, and the originally white portion is an image which is purple (magenta) which is a complementary color of green. If the gains of R and B are limited to prevent this, the captured image will be greenish under the special illumination light CWF.
そこで、第2の例では特殊照明光CWFでのホワイトバランス調整をも可能にR,Bのゲイン制御信号をフィードバック制御する一方、該特殊照明光CWF下での撮影と、前記昼光下で緑の多い場所での撮影と、を区別し、後者の場合には、本撮影時のホワイトバランス調整用としてフィードバック補正されたゲイン制御信号を用いず、昼光照明に対応したゲイン制御信号を用いるようにする。 Therefore, in the second example, while the gain control signals of R and B are feedback-controlled to enable white balance adjustment with the special illumination light CWF, shooting under the special illumination light CWF and green under the daylight are performed. In the latter case, a gain control signal corresponding to daylight illumination is used instead of a feedback control-corrected gain control signal for white balance adjustment in actual shooting. To
図8は、非ストロボ撮影条件での第2の例によるR,Bのゲイン制御信号の値GR0、GB0設定の詳細を示す。
即ち、ステップ21では、前記第1の例と同様にしてRとBとの大小、MgとGとの大小を判別し、これら大小関係の組み合わせに応じて、R,Bのゲイン制御信号を初期値に対してフィードバック補正する。具体的には、前記実施の形態同様に色差信号(R−Y) ,(B−Y) の差の正負によってRとBとの大小を判別し、色差信号(R−Y) ,(B−Y) の和の正負によってMgとGとの大小を判別する。
FIG. 8 shows the details of setting the values GR0 and GB0 of the gain control signals of R and B according to the second example under the non-flash shooting condition.
That is, in step 21, the magnitude of R and B and the magnitude of Mg and G are determined in the same manner as in the first example, and the gain control signals of R and B are initialized according to the combination of these magnitude relationships. Feedback-corrects the value. Specifically, as in the above-described embodiment, the magnitude of R and B is determined based on the sign of the difference between the color difference signals (RY) and (BY), and the color difference signals (RY) and (BY) are determined. The magnitude of Mg and G is determined based on the sign of the sum of Y).
そして、R>BかつMg>GのときはRのゲイン制御信号を減少させ、R>BかつMg<GのときはBのゲイン制御信号を増大させ、R<BかつMg>GのときはBのゲイン制御信号を減少させ、R<BかつMg<GのときはRのゲイン制御信号を増大させる補正を行い、該補正によって大小関係が反転したら、該大小関係に応じてより細かく補正を行い、(R−B) ,(Mg−G) の絶対値が所定範囲内に入るまで前記補正を繰り返す。 When R> B and Mg> G, the gain control signal of R is decreased, when R> B and Mg <G, the gain control signal of B is increased, and when R <B and Mg> G, When the gain control signal of B is decreased, and when R <B and Mg <G, the gain control signal of R is increased, and when the magnitude relation is inverted by the correction, a finer correction is made according to the magnitude relation. The above correction is repeated until the absolute values of (RB) and (Mg-G) fall within a predetermined range.
前記絶対値が所定範囲に入ったらフィードバック補正を終了してステップ22以降へ進み、該フィードバック補正されたRとBのゲイン制御信号に基づいて、被写体照明光が特殊照明光CWFであるか、又は、昼光で緑の多い場所であるかのいずれであるかを判定する。
具体的には、前記の両条件では、G成分の多い撮像データとなるため、標準照明光での通常撮影条件でのゲイン制御信号に比較して、G成分の増大分を補正すべくRゲイン制御信号,Bゲイン制御信号共に増大した値となっている。そこで、まず、ステップ22では、Rゲイン制御信号が所定値R1 以上あり、かつ、Bゲイン制御信号が所定値B1 以上あるか否かを判別し、該条件が満たされた場合は、前記いずれかの撮影条件であると判別する。
When the absolute value falls within the predetermined range, the feedback correction is completed and the process proceeds to step 22 and thereafter, based on the feedback-corrected R and B gain control signals, whether the subject illumination light is the special illumination light CWF, or It is determined whether the location is a daylight-rich green place.
Specifically, under both conditions described above, image data having a large amount of G component is obtained. Therefore, compared with the gain control signal under the normal photographing condition with the standard illumination light, the R gain is adjusted to correct the increase of the G component. Both the control signal and the B gain control signal have increased values. Therefore, first, in step 22, it is determined whether or not the R gain control signal is equal to or greater than a predetermined value R1 and the B gain control signal is equal to or greater than a predetermined value B1. It is determined that the shooting condition is satisfied.
そして、ステップ22で前記いずれの撮影条件でもないと判別された場合は、標準照明光下での通常の撮影条件であると判断し、ステップ23へ進み、フィードバック補正されたR,Bのゲイン制御信号をそのまま本撮影時のホワイトバランス調整用のゲイン制御信号GR0,GB0として決定する。
一方、前記いずれかの撮影条件であると判別された場合は、ステップ24へ進み、前記第1の例同様に撮像データの輝度が所定レベル以上か否かを判別し、所定レベル未満のときは、特殊照明光CWF下の撮影条件であると判断し、その場合は、該緑がかった画像を補正してよいので、ステップ23へ進み、フィードバック補正されたゲインR,Gのゲイン制御信号を、本撮影時のホワイトバランス調整用のゲイン制御信号GR0,GB0として決定する。
If it is determined in step 22 that none of the photographing conditions is satisfied, it is determined that the photographing condition is a normal photographing condition under standard illumination light, and the process proceeds to step 23, in which gain control of the feedback corrected R and B is performed. The signal is determined as it is as gain control signals GR0 and GB0 for white balance adjustment at the time of actual photographing.
On the other hand, when it is determined that any one of the photographing conditions is satisfied, the process proceeds to step 24, where it is determined whether the brightness of the image data is equal to or higher than a predetermined level, as in the first example. It is determined that the shooting condition is under the special illumination light CWF. In this case, the greenish image may be corrected. It is determined as gain control signals GR0 and GB0 for white balance adjustment at the time of actual photographing.
また、ステップ24で撮像データの輝度が所定レベル以上と判別された場合は、昼光下での緑の多い場所の撮影条件であると判断し、この場合は、フィードバック補正されたゲイン制御信号でゲイン制御を行うと、緑の部分が薄白くあせ、白い部分が紫がかった画像となってしまう。このため、該条件ではステップ25へ進んで、例えば昼光照明光としてD75の色温度に対応した前記図4のRゲイン制御信号RD75 及びBゲイン制御信号BD75 を、本撮影時のホワイトバランス調整用のゲイン制御信号GR0,GB0として使用するように切り換える。なお、本実施の形態では昼光としてD75を用いたが、D65やD50等を使用しても良い。
If it is determined in
このようにすれば、標準照明光での通常の撮影条件では勿論のこと、蛍光灯のような緑がかった照明光下の撮影条件でも高精度なホワイトバランス調整が行われ、かつ、特に昼光下で緑の多いような場所を撮影したような特殊な撮影条件でも過剰なホワイトバランス調整を防止して本来の色に応じた適切なホワイトバランス調整が行われる。
以上のように、第1の例又は第2の例によって、非ストロボ撮影条件でのR,Bのゲイン制御信号の値GR0、GB0を設定した後、図3のステップ4へ進む。
In this way, the white balance can be adjusted with high accuracy not only under normal shooting conditions under standard illumination light, but also under shooting conditions under greenish illumination light such as fluorescent light, and especially in daylight. Even under special shooting conditions such as shooting a place where there is a lot of green below, excessive white balance adjustment is prevented and appropriate white balance adjustment according to the original color is performed.
As described above, according to the first example or the second example, after the values GR0 and GB0 of the gain control signals of R and B under the non-flash shooting condition are set, the process proceeds to step 4 in FIG.
ステップ4では、前記撮像データに基づいて輝度情報からストロボ撮影条件か否かを判別する。ストロボ撮影条件でないと判別された場合は、ステップ5へ進んで前記ステップ12で決定したゲイン制御信号GR0、GB0を、本撮影時のゲイン制御信号として決定する。
一方、ステップ4でストロボ照明撮影条件であると決定された場合は、ステップ6へ進んで、撮像データから被写体とカメラとの距離に応じた重み係数K1と、撮像データで得られた輝度に応じた重み係数K2とを、演算若しくはデータテーブルからの検索等によって求める。ここで、前記重み係数K1,K2は、前記ストロボ光以外の被写体照明光に応じたゲイン制御信号とストロボ光に応じたゲイン制御信号とを加重平均するときの重みの算出に用いられ、重み係数K1は、被写体とカメラとの距離が近いときほど、ストロボ光の被写体への受光量が多くなるのでストロボ光によるゲイン制御信号GR1, GB1の重みを大きくするように設定し、また、重み係数K2は、輝度が小さく暗いときほど、ストロボ光の受光割合が相対的に大きくなるので、ストロボ光によるゲイン制御信号GR1, GB1の重みを大きくするように設定する。
In step 4, it is determined whether or not the flash photography condition is satisfied from the luminance information based on the image data. If it is determined that the flash shooting condition is not satisfied, the process proceeds to step 5 and the gain control signals GR0 and GB0 determined in step 12 are determined as gain control signals for actual shooting.
On the other hand, if it is determined in step 4 that the shooting condition is the strobe lighting shooting condition, the process proceeds to step 6 where the weighting coefficient K1 corresponding to the distance between the subject and the camera from the imaging data and the luminance obtained from the imaging data are used. The weight coefficient K2 is obtained by calculation or retrieval from a data table. Here, the weighting coefficients K1 and K2 are used for calculating a weight when a gain control signal corresponding to subject illumination light other than the strobe light and a gain control signal corresponding to the strobe light are weighted and averaged. K1 is set so as to increase the weight of the gain control signals GR1 and GB1 by the strobe light because the amount of strobe light received by the subject increases as the distance between the subject and the camera decreases. Is set such that the weight of the gain control signals GR1 and GB1 based on the strobe light is increased because the ratio of light reception of the strobe light becomes relatively larger as the luminance becomes smaller and darker.
ステップ7では、前記重み係数K1,K2を用いて、ストロボ照明光の色温度と色度との関係から求めたゲイン制御信号GR1, GB1と、前記非ストロボ照明条件でのゲイン制御信号の値GR0、GB0と、を、次式のように加重平均して、本撮影時のホワイトバランス調整用のゲイン制御信号GR 、GB を決定する。
GR =K1・K2・GR1+(1−K1・K2) ・GR0
GB =K1・K2・GB1+(1−K1・K2) ・GB0
このようにすれば、ストロボ光とストロボ以外の照明光との影響度を反映してた形成したゲイン制御信号によって、ストロボ撮影時にも最適なホワイトバランス調整を行うことができる。
In
GR = K1, K2, GR1 + (1-K1, K2) GR0
GB = K1, K2, GB1 + (1-K1, K2) GB0
In this way, the optimal white balance can be adjusted even during flash photography by using the gain control signal formed by reflecting the degree of influence between the flash light and the illumination light other than the flash light.
1 撮影レンズ
2 フォーカスレンズ
3 絞り
4 CCD
5 レンズ駆動回路
6 アイリス駆動回路
7 CCD駆動回路
8 A/D変換器
9 プロセス回路
10 圧縮回路
11 記録回路
12 ICカード
13 デジタルAF評価器
14 メインCPU
1 shooting
5
10 Compression circuit
11 Recording circuit
12 IC card
13 Digital AF evaluator
14 Main CPU
Claims (3)
前記被写体撮像データに基づいてストロボ光を発光させた撮影を行うか否かを判断するストロボ撮影判断手段と、
前記ストロボ撮影判断手段により、ストロボ光を発光させた撮影を行うと判断されたときに、ストロボ光の色温度と色度との関係と、前記被写体撮像データにおける被写体照明光の色温度と色度との関係と、に基づいて、本撮影時に用いるホワイトバランス調整用のゲイン制御信号を形成するゲイン制御信号形成手段と、
を含んで構成したことを特徴とするスチルビデオカメラのホワイトバランス調整装置。 In a white balance adjustment device of a still video camera that determines an adjustment amount of a white balance based on subject imaging data captured by an imaging device before main shooting,
Strobe shooting determining means for determining whether to perform shooting by emitting strobe light based on the subject imaging data,
When it is determined by the flash shooting determining means that shooting with flash light is to be performed, the relationship between the color temperature and chromaticity of the flash light and the color temperature and chromaticity of the subject illumination light in the subject image data And a gain control signal forming means for forming a gain control signal for white balance adjustment used at the time of actual shooting, based on
And a white balance adjusting device for a still video camera.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004030202A JP2004166310A (en) | 2004-02-06 | 2004-02-06 | White balance adjustment device for still video cameras |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004030202A JP2004166310A (en) | 2004-02-06 | 2004-02-06 | White balance adjustment device for still video cameras |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP30684696A Division JP3535678B2 (en) | 1996-11-18 | 1996-11-18 | White balance adjustment device for still video cameras |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004166310A true JP2004166310A (en) | 2004-06-10 |
Family
ID=32822062
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004030202A Pending JP2004166310A (en) | 2004-02-06 | 2004-02-06 | White balance adjustment device for still video cameras |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004166310A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007043329A (en) * | 2005-08-01 | 2007-02-15 | Eastman Kodak Co | Imaging apparatus and white balance adjustment method |
| US7889245B2 (en) | 2007-01-12 | 2011-02-15 | Seiko Epson Corporation | Automatic white balancing of a digital image |
-
2004
- 2004-02-06 JP JP2004030202A patent/JP2004166310A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007043329A (en) * | 2005-08-01 | 2007-02-15 | Eastman Kodak Co | Imaging apparatus and white balance adjustment method |
| US7889245B2 (en) | 2007-01-12 | 2011-02-15 | Seiko Epson Corporation | Automatic white balancing of a digital image |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3849834B2 (en) | Auto white balance control method | |
| US7683967B2 (en) | Digital camera having an electronic flash device LED as a flashlight source | |
| US7711257B2 (en) | Image quality in cameras using flash | |
| US7009641B2 (en) | Electronic camera with gain adjustment | |
| US7039307B2 (en) | Digital still camera, imaging method, and exposure decision method | |
| JP2002232901A (en) | Camera with user interface including confirmation display and color cast indicator and method of photographing the same | |
| JP2002290979A (en) | Camera with confirmation display including inverse white balance adjusted observer adaptation compensation and method of photographing the same | |
| JP2002287235A (en) | Camera and method for displaying principal color of multicolor scene and/or photographed multicolor image in the scene | |
| CN104349071B (en) | Camera device and image capture method | |
| JPH03154038A (en) | Camera | |
| JP5042453B2 (en) | Strobe control device, strobe control program, strobe control method | |
| JP3142603B2 (en) | White balance device for imaging equipment | |
| JP3469305B2 (en) | Video camera white balance device | |
| JP4374863B2 (en) | Imaging device | |
| JP4210920B2 (en) | White balance adjustment method and camera | |
| JP5191251B2 (en) | Imaging device | |
| JP3535678B2 (en) | White balance adjustment device for still video cameras | |
| JP2004166310A (en) | White balance adjustment device for still video cameras | |
| JP3958700B2 (en) | Digital camera | |
| JP2007036438A (en) | Color discrimination method and device of imaging apparatus, and exposure control method of imaging apparatus | |
| JP2016019081A (en) | Image processing system, control method thereof, and control program | |
| JP2015192179A (en) | White balance adjusting device, photographing device, and white balance adjusting method | |
| JP2006054775A (en) | Electronic camera having color balance adjustment function and program | |
| JP2001211457A (en) | Digital camera and automatic white balance control method for the digital camera | |
| JP2015122569A (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060929 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061017 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070227 |