JP2012119885A - Light source determination device and light source determination method - Google Patents
Light source determination device and light source determination method Download PDFInfo
- Publication number
- JP2012119885A JP2012119885A JP2010267052A JP2010267052A JP2012119885A JP 2012119885 A JP2012119885 A JP 2012119885A JP 2010267052 A JP2010267052 A JP 2010267052A JP 2010267052 A JP2010267052 A JP 2010267052A JP 2012119885 A JP2012119885 A JP 2012119885A
- Authority
- JP
- Japan
- Prior art keywords
- light source
- signal
- unit
- source determination
- white led
- 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.)
- Abandoned
Links
Images
Abstract
Description
本発明は撮像シーンの光源判定に関し、特に、白色LED光源の判定に関する。 The present invention relates to light source determination of an imaging scene, and more particularly to determination of a white LED light source.
特許文献1では、黒体軌跡と蛍光灯軌跡を用いてホワイトバランスゲインを算出する技術が開示されている。 Patent Document 1 discloses a technique for calculating a white balance gain using a black body locus and a fluorescent lamp locus.
特許文献2では、波長ごとの分光特性を測定し、分光エネルギー分布から色温度を算出し、色温度に応じてホワイトバランスゲインを算出する技術が開示されている。
特許文献3によると、評価空間内の写像された位置によって光源を推定する方式では、発光ダイオード(LED)のYAG(イットリウム・アルミニウム・ガーネット)タイプのものと昼光の観測値の多くが重複してしまい、これら2つの光源を判別することが非常に難しく、自然な色を再現することが困難であった。このため、特許文献3の発明では、光源推定回路は、RGBにエメラルドを追加した4種類のカラーフィルタを有する撮像素子によって撮像された入力画像をA/D変換回路を介してRGBE信号として出力し、RGBE信号を線形判別法の一次元の軸に射影することによってLEDを含む光源を推定する。
According to
特許文献4および5はメンバシップ関数の一例を示す。メンバシップ関数は、輝度レベルを変数として日陰やデーライトなど各種光源の確からしさを表す評価値を出力する関数である。
特許文献4では、日陰やデーライトに対して良好なホワイトバランスを行うためのホワイトバランスゲイン値Rg、Gg、Bgが予め準備されており、これらのゲイン値Rg、Gg、Bgがホワイトバランス調整回路に加えられることによって、評価値から判定された光源に適したホワイトバランス制御が行われる。
In
特許文献5では、各々の光源下での撮影においてホワイトバランスが適正となるよう、ホワイトバランス補正値Rg、Gg、Bgは、基準WBゲイン値から環境光源の色を所定色にするための制御値GR、GB、GGとの間の値で、かつ評価値Hmaxで特定された環境光源に適したホワイトバランス制御を行うことができる値となるため、各々の環境光源に対して適正にホワイトバランス制御することができ、カラーフェリアの発生を抑えることができる。
In
特許文献6は蛍光灯軌跡より下側に分布する色情報の補正方法を例示する。 Patent Document 6 exemplifies a method for correcting color information distributed below the fluorescent lamp locus.
特許文献7は相関色温度の算出式の一例である。 Patent Document 7 is an example of a calculation formula for correlated color temperature.
図10は、電球、電球色蛍光灯、白色蛍光灯、昼白色蛍光灯、昼光色蛍光灯、ナトリウムランプ、水銀灯、白色LEDといった人工光源に対応する相関色温度・被写体輝度の分布範囲を示している。また、図10は、朝焼け/夕景、デーライト光源、曇天・日陰といった自然光源に対応する相関色温度・被写体輝度の分布範囲を示している。 FIG. 10 shows a distribution range of correlated color temperature and subject luminance corresponding to artificial light sources such as a light bulb, a light bulb color fluorescent lamp, a white fluorescent lamp, a daylight white fluorescent lamp, a daylight color fluorescent lamp, a sodium lamp, a mercury lamp, and a white LED. . FIG. 10 shows the distribution range of correlated color temperature and subject luminance corresponding to natural light sources such as sunrise / sunset, daylight light source, cloudy sky and shade.
シーンの色温度(相関色温度)と明るさ(被写体輝度)が、図10のような分布範囲のいずれに属するかに応じて、屋外光源/屋内光源(蛍光灯、電球)を判別する手法が一般的に知られている。白色LEDは、従来光源よりも明るいため、その分布範囲は屋外光源の分布範囲と重複する。よって、相関色温度・被写体輝度の分布範囲に基づいてLED光源と屋外光源を判別するのは困難である。 There is a technique for discriminating outdoor light sources / indoor light sources (fluorescent lamps, light bulbs) depending on whether the color temperature (correlated color temperature) and brightness (subject luminance) of the scene belong to the distribution range as shown in FIG. Generally known. Since white LEDs are brighter than conventional light sources, the distribution range overlaps with the distribution range of outdoor light sources. Therefore, it is difficult to distinguish between the LED light source and the outdoor light source based on the distribution range of the correlated color temperature and the subject luminance.
LED光源は従来の人工光源よりも非常に明るく、むしろ屋外光源の明るさに近いため、特に屋外光源との判別が難しい。特許文献3では、線形判別法により確率的にLED光源と太陽光を判別するため、判別の正確性がサンプルに依存する。また、特許文献3では、1次元空間に情報を射影して光源判別しているので、判別精度が高くない。
An LED light source is much brighter than a conventional artificial light source, and rather close to the brightness of an outdoor light source, so that it is particularly difficult to distinguish it from an outdoor light source. In
本発明は、確率的な手法を用いず簡便かつ正確にLED光源判別を行う。また本発明は、LED光源と判定された場合に、適切なオートホワイトバランス補正を施す。 The present invention performs LED light source discrimination simply and accurately without using a probabilistic method. Further, according to the present invention, when the LED light source is determined, appropriate auto white balance correction is performed.
本発明は、固体撮像素子から出力される撮像信号に基づき、480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量とを取得する信号量取得部と、信号量取得部の取得した480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量の比を算出する信号比算出部と、信号比算出部の算出した比と所定の閾値との大小関係に応じて、光源が白色LEDであるか否かを判断する白色LED光源判断部と、を備える光源判定装置を提供する。 The present invention is based on an imaging signal output from a solid-state imaging device, and acquires a signal amount of an imaging signal corresponding to light having a wavelength near 480 nm and a signal amount of an imaging signal corresponding to light having a wavelength near 450 nm. And a signal ratio calculation unit that calculates a ratio of a signal amount of an imaging signal corresponding to light having a wavelength of about 480 nm acquired by the signal amount acquisition unit and a signal amount of imaging signal corresponding to light having a wavelength of about 450 nm. And a white LED light source determination unit that determines whether or not the light source is a white LED according to the magnitude relationship between the ratio calculated by the signal ratio calculation unit and a predetermined threshold.
好ましくは、上記光源判定装置は、白色LED光源判断部が、光源が白色LEDであると判断した場合、白色LEDに適したホワイトバランス補正量を設定し、設定されたホワイトバランス補正量に従って撮像信号のホワイトバランスを補正するAWB補正部をさらに備える。 Preferably, when the white LED light source determination unit determines that the light source is a white LED, the light source determination device sets a white balance correction amount suitable for the white LED, and the imaging signal according to the set white balance correction amount. An AWB correction unit for correcting the white balance of
好ましくは、AWB補正部は、白色LED光源判断部が、光源が白色LEDであると判断した場合、撮像信号から推定した代表色の赤(R)、緑(G)、青(B)の各色信号レベルが等しくなるような通常のホワイトバランス補正量を設定する。 Preferably, the AWB correction unit, when the white LED light source determination unit determines that the light source is a white LED, each of the representative colors red (R), green (G), and blue (B) estimated from the imaging signal A normal white balance correction amount is set so that the signal levels are equal.
好ましくは、上記光源判定装置は、固体撮像素子から出力される撮像信号に基づき、被写体輝度を算出する被写体輝度算出部と、被写体輝度算出部の算出した被写体輝度を変数とするメンバシップ関数に基づいて光源の確からしさを示す評価値を算出する評価値算出部と、を備える。 Preferably, the light source determination device is based on a subject luminance calculation unit that calculates subject luminance based on an imaging signal output from the solid-state imaging device, and a membership function that uses the subject luminance calculated by the subject luminance calculation unit as a variable. And an evaluation value calculation unit for calculating an evaluation value indicating the certainty of the light source.
好ましくは、上記光源判定装置は、白色LED光源判断部が、光源が白色LEDでないと判断した場合、光源が白色LED以外の人工光源であるか否かを判断する従来人工光源判断部を備え、AWB補正部は、従来人工光源判断部が、光源が白色LED以外の人工光源であると判断した場合、評価値算出部の算出した評価値に従い、ホワイトバランス補正量を通常のホワイトバランス補正量よりも小さいかもしくはそれと同程度に設定する。 Preferably, the light source determination device includes a conventional artificial light source determination unit that determines whether the light source is an artificial light source other than the white LED when the white LED light source determination unit determines that the light source is not a white LED, When the conventional artificial light source determination unit determines that the light source is an artificial light source other than the white LED, the AWB correction unit determines the white balance correction amount from the normal white balance correction amount according to the evaluation value calculated by the evaluation value calculation unit. Is also set to be small or comparable.
好ましくは、上記光源判定装置は、白色LED光源判断部が、光源が白色LEDでないと判断した場合、光源が自然光源であるか否かを判断する自然光源判断部を備え、AWB補正部は、自然光源判断部が、光源が自然光源であると判断した場合、評価値算出部の算出した評価値に従い、ホワイトバランス補正量を通常のホワイトバランス補正量よりも小さく設定する。 Preferably, the light source determination device includes a natural light source determination unit that determines whether the light source is a natural light source when the white LED light source determination unit determines that the light source is not a white LED, and the AWB correction unit includes: When the natural light source determination unit determines that the light source is a natural light source, the white balance correction amount is set to be smaller than the normal white balance correction amount according to the evaluation value calculated by the evaluation value calculation unit.
好ましくは、上記光源判定装置は、所定の色空間における白色LED光源の色温度の分布を示した軌跡を記憶する軌跡記憶部と、撮像信号からなる画像を複数のエリアに分割する信号分割部と、信号分割部の分割した各々のエリアの色情報を取得する分割エリア色情報取得部と、分割エリア色情報取得部の取得した各々のエリアの色情報を、軌跡記憶部の記憶した軌跡に基づいて補正する色情報補正部と、を備え、AWB補正部は、白色LED光源判断部が、光源が白色LEDであると判断した場合、色情報補正部が色情報を補正した後の撮像信号に基づいて、白色LEDに適したホワイトバランスゲインを設定し、色情報補正部が色情報の補正した後の撮像信号のホワイトバランスを補正する。 Preferably, the light source determination device includes a trajectory storage unit that stores a trajectory indicating the distribution of the color temperature of the white LED light source in a predetermined color space, and a signal division unit that divides an image made up of imaging signals into a plurality of areas. Based on the trajectory stored in the trajectory storage unit, the divided area color information acquisition unit that acquires color information of each area divided by the signal division unit and the color information of each area acquired by the divided area color information acquisition unit A color information correction unit that corrects the color information, and when the white LED light source determination unit determines that the light source is a white LED, the AWB correction unit generates an image signal after the color information correction unit corrects the color information. Based on this, a white balance gain suitable for the white LED is set, and the color information correction unit corrects the white balance of the imaging signal after the color information is corrected.
好ましくは、色情報補正部は、各々のエリアの色情報を、軌跡記憶部の記憶した軌跡に近づけるよう補正する。 Preferably, the color information correction unit corrects the color information of each area so as to approach the locus stored in the locus storage unit.
信号量取得部は、所定の色フィルタに対応する固体撮像素子の画素群の内、シアン色フィルタに対応する特定の画素から得られた撮像信号から480nm付近の波長の光に対応する撮像信号の信号量を取得するとともに、青色フィルタに対応する特定の画素から得られた撮像信号から450nm付近の波長の光に対応する撮像信号の信号量を取得する。 The signal amount acquisition unit is configured to output an imaging signal corresponding to light having a wavelength near 480 nm from an imaging signal obtained from a specific pixel corresponding to a cyan filter in a pixel group of a solid-state imaging element corresponding to a predetermined color filter. In addition to acquiring the signal amount, the signal amount of the imaging signal corresponding to light having a wavelength near 450 nm is acquired from the imaging signal obtained from the specific pixel corresponding to the blue filter.
本発明は、光源判定装置が、固体撮像素子から出力される撮像信号に基づき、480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量とを取得するステップと、取得した480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量の比を算出するステップと、算出した比と所定の閾値との大小関係に応じて、光源が白色LEDであるか否かを判断するステップと、を実行する。 According to the present invention, the light source determination device is based on the imaging signal output from the solid-state imaging device, and the signal amount of the imaging signal corresponding to light having a wavelength near 480 nm and the signal amount of imaging signal corresponding to light having a wavelength near 450 nm. A step of calculating the ratio of the signal amount of the imaging signal corresponding to the acquired light having a wavelength near 480 nm and the signal amount of the imaging signal corresponding to the light having a wavelength near 450 nm; Determining whether or not the light source is a white LED according to a magnitude relationship with a predetermined threshold value.
本発明によると、固体撮像素子から得られた80nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量とに基づき、簡便かつ正確に光源が白色LEDであるか否かを判断することができる。また本発明は、2次元の情報で光源判別するので、光源判別の情報量が従来技術よりも多く正確である。 According to the present invention, a light source can be simply and accurately based on a signal amount of an imaging signal corresponding to light having a wavelength near 80 nm obtained from a solid-state imaging device and a signal amount of imaging signal corresponding to light having a wavelength near 450 nm. It can be determined whether or not is a white LED. In addition, since the light source is discriminated from the two-dimensional information according to the present invention, the information amount of the light source discrimination is more accurate than the prior art.
<第1実施形態>
図1は、本発明の一実施形態に係る光源判定装置が適用された撮像装置100を示すブロック図である。同図に示す撮像装置100は、静止画や動画の記録及び再生機能を備えたデジタルカメラであり、撮像装置100全体の動作は中央処理装置(CPU)13によって統括制御される。CPU13は、所定のプログラムに従って本カメラシステムを制御する制御手段として機能するとともに、自動露出(AE)演算、自動焦点調節(AF)演算、ホワイトバランス(WB)調整演算など、各種演算を実施する演算手段として機能する。
<First Embodiment>
FIG. 1 is a block diagram illustrating an
バス1を介してCPU13と接続されたROM18には、CPU13が実行するプログラム及び制御に必要な各種データ、CCD画素欠陥情報、カメラ動作に関する各種定数/情報等が格納されている。
A
また、RAM11は、プログラムの展開領域及びCPU13の演算作業用領域として利用されるとともに、画像データや音声データの一時記憶領域として利用される。
The
撮像装置100には、モード選択スイッチ、撮影ボタン、メニュー/OKキー、十字キー、キャンセルキーなどを含む操作部19が設けられている。操作部19からの信号はCPU13に入力され、CPU13はこの入力信号に基づいて撮像装置100の各回路を制御し、例えば、レンズ駆動制御、撮影動作制御、画像処理制御、画像データの記録/再生制御、表示装置30の表示制御などを行う。
The
モード選択スイッチは、撮像装置100の動作モードを撮影モードまたは再生モードに切り換えるための操作手段である。
The mode selection switch is an operation means for switching the operation mode of the
撮影ボタンは、撮影開始の指示を入力する操作ボタンであり、半押し時にONするS1スイッチと、全押し時にONするS2スイッチとを有する二段ストローク式のスイッチで構成されている。 The shooting button is an operation button for inputting an instruction to start shooting, and includes a two-stroke switch having an S1 switch that is turned on when half-pressed and an S2 switch that is turned on when fully pressed.
メニュー/OKキーは、表示装置30の画面上にメニューを表示させる指令を行うためのメニューボタンとしての機能と、選択内容の確定及び実行などを指令するOKボタンとしての機能とを兼備した操作キーである。十字キーは、上下左右の4方向の指示を入力する操作部であり、メニュー画面から項目を選択したり、各メニューから各種設定項目の選択を指示したりするボタン(カーソル移動操作手段)として機能する。また、十字キーの上/下キーは撮影時のズームスイッチあるいは再生時の再生ズームスイッチとして機能し、左/右キーは再生モード時のコマ送り(順方向/逆方向送り)ボタンとして機能する。キャンセルキーは、選択項目など所望の対象の消去や指示内容の取消し、あるいは1つ前の操作状態に戻らせる時などに使用される。
The menu / OK key is an operation key having both a function as a menu button for instructing to display a menu on the screen of the
表示装置30は、カラー表示可能な液晶ディスプレイで構成されている。表示装置30は、撮影時に画角確認用の電子ファインダとして使用できるとともに、記録済み画像を再生表示する手段として利用される。また、表示装置30は、ユーザインターフェース用表示画面としても利用され、必要に応じてメニュー情報や選択項目、設定内容などの情報が表示される。液晶ディスプレイに代えて、有機ELなど他の方式の表示装置(表示手段)を用いることも可能である。
The
撮像装置100は、外部メモリI/F16を有し、外部メモリI/F16にはメモリカード17を装着することができる。外部メモリI/F16に装着される記録メディアの形態はメモリカード17に限定されず、xD-PictureCard(商標)、スマートメディア(商標)に代表される半導体メモリカード、可搬型小型ハードディスク、磁気ディスク、光ディスク、光磁気ディスクなど、種々の媒体を用いることができる。
The
圧縮伸張処理回路12は、外部メモリI/F16に装着されるメモリカード17に適した入出力信号の受渡しを行うために所要の信号変換を行う。
The compression /
次に、撮像装置100の撮影機能について説明する。モード選択スイッチによって撮像装置100の動作モードが撮影モードに設定されると、カラーCCD固体撮像素子(以下CCDと記載)21を含む撮像部2に電源が供給され、撮影可能な状態になる。
Next, the shooting function of the
光学ユニット20は、フォーカスレンズを含む撮影レンズと絞り兼用メカシャッターとを含む。光学ユニット20は、CPU13によって制御されるモータ駆動部24によって電動駆動され、ズーム制御、フォーカス制御及びアイリス制御が行われる。
The
光学ユニット20を通過した光は、CCD21の受光面に結像される。CCD21の受光面には多数のフォトダイオード(受光素子)が二次元的に配置されており、各フォトダイオードに対応して赤(R)、緑(G)、青(B)の原色カラーフィルタが所定の配列構造(ベイヤー、Gストライプなど)で配置されている。これにより各色に対応する画素がCCD21の受光面に形成される。
The light that has passed through the
また、CCD21の受光面は、Bフィルタに対応する画素とシアン(C)の原色カラーフィルタに対応する画素とが所定サイズ(2画素以上)の近傍領域内で隣接した、C/B画素群を含んでいる。CCD21の受光面のどこにC/B画素群を設けるかは任意である。好ましくは、2次元画像の形成に使用されないか、2次元画像の形成に支障のない領域内にC/B画素群を配置する。C/B画素群の最小単位は1つのC画素と1つのB画素である。ただし、白色LED光源とは関係なく偶然にCの光とBの光が入射する場合もあるから、C/B画素群の単位は2画素を超え、広い範囲の画素群でC・B信号量を平均化することが好ましい。
The light-receiving surface of the
例えば、図2(a)に示すように、RGBフィルタがベイヤ型に配列された受光面の有効画素領域の周縁部において、GBのラインのGフィルタの代わりに、Cを配置することで、C/B画素群Xを形成することができる。 For example, as shown in FIG. 2A, by arranging C instead of the G filter in the GB line at the periphery of the effective pixel region of the light receiving surface where the RGB filters are arranged in a Bayer shape, / B pixel group X can be formed.
あるいは、撮像装置100が位相差のある画像を取得可能な光学系を採用している場合は、受光面の有効画素領域のうち、位相差を取得する領域内(例えば位相差AF領域や視差画像取得領域)で、GとBの代わりに、CとBを交互に配置することで、C/B画素群を形成することができる。図2(b)では、位相差を取得する領域R内で、左の視点画像の画素群(主画素)と右の視点画像の画素群(副画素)のいずれか一方または双方のGBのラインのGフィルタの代わりにCを配置することで、C/B画素群Xを形成している。なお、図示は省略するが、領域Rの外側には、2次元画像を形成する画素群が配置されていてもよく、位相差を取得する領域内でのC画素の色情報は、周辺のG画素で補完することもできる。シアン(C)フィルタの代わりにエメラルド(E)フィルタを用いることもできる。CフィルタまたはEフィルタに対応する画素の画像信号は、画像の形成に使用されてもよいし、されなくてもよい。
Alternatively, when the
また、CCD21は、各フォトダイオードの電荷蓄積時間(シャッタースピード)を制御する電子シャッター機能を有している。CPU13は、タイミングジェネレータ(TG)31を介してCCD21での電荷蓄積時間を制御する。尚、CCD21に代えてMOS型など他の方式の撮像素子を用いてもよい。
The
CCD21の受光面に結像された被写体像は、各フォトダイオードによって入射光量に応じた量の信号電荷に変換される。各フォトダイオードに蓄積された信号電荷は、CPU13の指令に従いTG31から与えられる駆動パルスに基づいて信号電荷に応じた電圧信号(画像信号)として順次読み出される。
The subject image formed on the light receiving surface of the
CCD21から出力された信号はアナログ信号処理部22に送られ、ここで画素ごとのR,G,B信号がサンプリングホールド(相関二重サンプリング処理)され、増幅された後、A/D変換器23に加えられる。A/D変換器23によってデジタル信号に変換された点順次のR,G,B,C信号は、メモリI/F10を介してRAM11に記憶される。
The signal output from the
デジタル信号処理部3は、RAM11に記憶されたR,G,B信号をCPU13の指令に従って処理する。即ち、デジタル信号処理部3は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路)、ホワイトバランス補正回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含む画像処理手段として機能し、CPU13からのコマンドに従ってRAM11を活用しながら所定の信号処理を行う。
The digital
デジタル信号処理部3は、入力されたRGBの画像データを、輝度信号(Y信号)及び色差信号(Cr,Cb信号)に変換するとともに、ガンマ補正等の所定の処理を施す。デジタル信号処理部3で処理された画像データはRAM11に格納される。
The digital
撮影画像を表示装置30にモニタ出力する場合、RAM11から画像データが読み出され、バス1を介してビデオエンコーダ32に送られる。ビデオエンコーダ32は、入力された画像データを表示用の所定方式の信号(例えば、NTSC方式のカラー複合映像信号)に変換して表示装置30に出力する。
When the captured image is output to the
CCD21から出力される画像信号によって、1コマ分の画像を表す画像データがRAM11のA領域とB領域とで交互に書き換えられる。RAM11のA領域及びB領域のうち、画像データが書き換えられている方の領域以外の領域から、書き込まれている画像データが読み出される。このようにしてRAM11内の画像データが定期的に書き換えられ、その画像データから生成される映像信号が表示装置30に供給されることにより、撮像中の映像がリアルタイムに表示装置30に表示される。撮影者は、表示装置30に表示される映像(スルームービー画)によって撮影画角を確認できる。
Image data representing an image for one frame is rewritten alternately in the A area and the B area of the
撮影ボタンが半押し(S1=ON)されると、撮像装置100はAE及びAF処理を開始する。即ち、CCD21から出力された画像信号はA/D変換後に画像入力コントローラ56を介してAF検出回路5並びにAE/AWB検出回路4に入力される。
When the shooting button is pressed halfway (S1 = ON), the
AE/AWB検出回路4は、1画面を複数のエリア(例えば、8×8乃至16×16)に分割し、分割エリアごとにRGB信号を積算する回路を含み、その積算値をCPU13に提供する。CPU13は、AE/AWB検出回路4から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出し、撮影に適した露出値(撮影EV値)を算出する。求めた露出値と所定のプログラム線図に従い、絞り値とシャッタースピードが決定され、これに従いCPU13はCCD21の電子シャッター及びアイリスを制御して適正な露光量を得る。
The AE /
また、AE/AWB検出回路4は、自動ホワイトバランス調整時には、分割エリアごとにRGB信号の色別の平均積算値を算出する。AE/AWB検出回路4は、Rの積算値、Bの積算値、Gの積算値を得て、分割エリアごとにR/G及びB/Gの比を求め、これらR/G、B/Gの値のR/G、B/G軸座標の色空間における分布等に基づいて光源種判別を行う。AE/AWB検出回路4は、判別された光源種に応じてR,G,B信号に対するAWB補正値(AWBゲイン値)を算出し、このAWB補正値で各色チャンネルの信号に補正をかけるようデジタル信号処理部3を制御する。尚、ホワイトバランス調整の詳細は後述する。
The AE /
本撮像装置100におけるAF制御は、例えば映像信号のG信号の高周波成分が極大になるようにフォーカシングレンズ(撮影レンズ42を構成するレンズ光学系のうちフォーカス調整に寄与する移動レンズ)を移動させるコントラストAFが適用される。即ち、AF検出回路5は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、画面内(例えば、画面中央部)に予め設定されているAFエリア内の信号を切り出すAFエリア抽出部、及びAFエリア内の絶対値データを積算する積算部から構成される。
The AF control in the
AF検出回路5で求めた積算値のデータはCPU13に通知される。CPU13は、モータ駆動部24を制御してフォーカシングレンズを移動させながら、複数のAF検出ポイントで焦点評価値(AF評価値)を演算し、評価値が極大となるレンズ位置を合焦位置として決定する。そして、求めた合焦位置にフォーカシングレンズを移動させるようにモータ駆動部24を制御する。尚、AF評価値の演算はG信号を利用する態様に限らず、輝度信号(Y信号)を利用してもよい。また、位相差AFその他のAF制御が行われてもよい。
The integrated value data obtained by the
上記のように、撮影ボタンの半押し(S1=ON)によってAE/AF処理が行われると、撮影ボタンの全押し(S2=ON)によって記録用の撮影動作がスタートする。S2=ONに応動して取得された画像データはデジタル信号処理部3において輝度/色差信号(Y/C信号)に変換され、ガンマ補正等の所定の処理が施された後、RAM11に格納される。
As described above, when the AE / AF processing is performed by half-pressing the shooting button (S1 = ON), the shooting operation for recording is started by fully pressing the shooting button (S2 = ON). Image data acquired in response to S2 = ON is converted into a luminance / color difference signal (Y / C signal) in the digital
RAM11に格納されたY/C信号は、圧縮伸張処理回路12によって所定のフォーマットに従って圧縮された後、外部メモリI/F16を介してメモリカード17に記録される。例えば、静止画についてはJPEG(Joint Photographic Experts Group)形式で記録される。
The Y / C signal stored in the
モード選択スイッチにより再生モードが選択されると、メモリカード17に記録されている最終の画像ファイル(最後に記録されたファイル)の圧縮データが読み出される。最後に記録されたファイルが静止画ファイルの場合、この読み出された画像圧縮データは、圧縮伸張回路12を介して非圧縮のYC信号に伸張され、デジタル信号処理部3及びビデオエンコーダ32を介して表示用の信号に変換された後、表示装置30に出力される。これにより、当該ファイルの画像内容が表示装置30の画面上に表示される。
When the playback mode is selected by the mode selection switch, the compressed data of the last image file (last recorded file) recorded on the
静止画の一コマ再生中(動画の先頭フレーム再生中も含む)に、十字キーの右キー又は左キーを操作することによって、再生対象のファイルを切り換えること(順コマ送り/逆コマ送り)ができる。コマ送りされた位置の画像ファイルがメモリカード17から読み出され、上記と同様にして静止画像や動画が表示装置30に再生表示される。
During single-frame playback of still images (including playback of the first frame of a movie), the file to be played can be switched (forward / reverse frame advance) by operating the right or left key of the four-way controller. it can. The image file at the frame-advanced position is read from the
AE/AWB検出回路4は、信号比率算出部40、AWB補正ゲイン算出部41、LED光源判定部42、被写体輝度値算出部43、従来人工光源/屋外光源判定部44、相関色温度算出部45、従来光源判定閾値演算部46を含む。これらの機能は後述する。
The AE /
図3は撮像装置100が実行する光源判別・AWB補正処理のフローチャートを示す。この処理はシャッターボタンの半押しに応じて開始する。
FIG. 3 is a flowchart of the light source determination / AWB correction process executed by the
S1では、相関色温度算出部45は、A/D変換器23から出力されたRGB信号に基づき、相関色温度K0を算出する。これは例えば特許文献7と同様にして行うことができる。
In S <b> 1, the correlated color
S2では、LED光源判定部42は、A/D変換器23から出力された、C/B画素群に対応するC信号の信号電圧(画素信号)の積算値を取得する。
In S <b> 2, the LED light
S3では、LED光源判定部42は、A/D変換器23から出力された、C/B画素群に対応するB信号の信号電圧(画素信号)の積算値を取得する。
In S <b> 3, the LED light
S4では、信号比率算出部40は、C信号の積算値とB信号の積算値の比率rを算出する。すなわち、
r=C信号の積算値/B信号の積算値である。
In S4, the signal
r = integrated value of C signal / integrated value of B signal.
なお、C信号・B信号の信号電圧の積算値の代わりに、C信号・B信号の信号電圧の平均値を算出し、C信号の信号電圧の平均値とB信号の信号電圧の平均値の比率rを算出してもよい。エメラルド(E)フィルタを用いる場合も同様に、積算値の比率、平均値の比率のいずれが算出されてもよい。 Instead of the integrated value of the signal voltage of the C signal / B signal, the average value of the signal voltage of the C signal / B signal is calculated, and the average value of the signal voltage of the C signal and the average value of the signal voltage of the B signal are calculated. The ratio r may be calculated. Similarly, when the emerald (E) filter is used, either the ratio of the integrated values or the ratio of the average values may be calculated.
S5では、LED光源判定部42は、比率r<所定の閾値Thresh_LEDであるか否かを判断する。Noの場合はS6、Yesの場合はS7に進む。Thresh_LEDはROM18に記憶されているものとする。
In S5, the LED light
これは、図4のような白色LEDの分光特性に基づき、光源がLEDか否かを判断している。図4に例示するように、白色LEDの分光特性によると、C(480nm付近)が極端に低く、B(450nm付近)が極端に高い。よって、白色LED下のシーンでは、rが極端に低い値となり、ある閾値Thresh_LED未満となると考えられる。 This determines whether or not the light source is an LED based on the spectral characteristics of the white LED as shown in FIG. As illustrated in FIG. 4, according to the spectral characteristics of the white LED, C (near 480 nm) is extremely low and B (near 450 nm) is extremely high. Therefore, in a scene under a white LED, r is considered to be an extremely low value, which is less than a certain threshold value Thresh_LED.
S6では、LED光源判定部42は、光源が白色LEDでないと判定する。
In S6, the LED light
S7では、LED光源判定部42は、光源が白色LEDであると判定する。
In S7, the LED light
S8では、AWB補正ゲイン算出部41は、光源が白色LEDであると判定された場合はS9〜S13の処理に分岐し、光源が白色LEDであると判定された場合はS14の処理に分岐する。
In S8, the AWB correction
S9では、従来光源判定閾値演算部46は、人工光源判定閾値Thresh_K0を算出する。具体的には、図10のような、電球や電球色蛍光灯といった白色LED以外の各人工光源に対応する分布範囲の被写体輝度の上限値がThresh_K0となる。
In S9, the conventional light source determination
S10では、被写体輝度値算出部43は、被写体輝度値Bv0を算出する。
In S10, the subject luminance
S11では、従来人工光源/屋外光源判定部44は、Bv0<Thresh_K0であるか否かを判断する。Noの場合はS12、Yesの場合はS13に進む。
In S11, the conventional artificial light source / outdoor light
S12では、AWB補正ゲイン算出部41は、屋外光源(太陽光)に最適なAWBゲインを算出する。
In S12, the AWB correction
S13では、AWB補正ゲイン算出部41は、人工光源に最適なAWBゲインを算出する。
In S13, the AWB correction
S14では、AWB補正ゲイン算出部41は、白色LEDに最適なAWBゲインを算出する。
In S14, the AWB correction
デジタル信号処理部3は、S12、S13またはS14で算出されたAWBゲインをRGB各色の信号に掛けることによって、画像のホワイトバランスを補正する。
The digital
このように、480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量とに基づき、簡便かつ正確に光源が白色LEDであるか否かを判断することができる。 As described above, whether or not the light source is a white LED simply and accurately based on the signal amount of the imaging signal corresponding to light having a wavelength near 480 nm and the signal amount of the imaging signal corresponding to light having a wavelength near 450 nm. Can be judged.
<第2実施形態>
図5は第2実施形態に係る撮像装置200を示すブロック図である。図中第1実施形態と同じブロックには同じ符号を付している。撮像装置200は、AWB補正量算出部47をさらに備えている。
Second Embodiment
FIG. 5 is a block diagram illustrating an
図6は撮像装置200が実行する光源判別・AWB補正処理のフローチャートを示す。
FIG. 6 shows a flowchart of the light source discrimination / AWB correction process executed by the
S1〜S11は第1実施形態と同様である。ただし、S11にてNoと判定された場合はS21に進み、Yesと判定された場合はS23に進む。 S1 to S11 are the same as in the first embodiment. However, when it determines with No in S11, it progresses to S21, and when it determines with Yes, it progresses to S23.
S21では、AWB補正量算出部47は、被写体輝度値Bv0を変数とするメンバシップ関数で得られた評価値に応じて、AWB補正量LW_AWBを、通常のAWB補正量よりも小さく設定する。通常のAWB補正量とは、入力された画像データの赤(R)、緑(G)、青(B)の各色信号レベルが等しくなる(R=G=B:グレイ)ようなAWB補正量をいう。
In S21, the AWB correction
S22では、AWB補正ゲイン算出部41は、S21で設定されたAWB補正量LW_AWBに応じたAWBゲインを算出する。デジタル信号処理部3は、算出されたAWBゲインをRGB各色の信号に掛けることによって、画像のホワイトバランスを補正する。
In S22, the AWB correction
S23では、AWB補正量算出部47は、被写体輝度値Bv0を変数とするメンバシップ関数で得られた評価値に応じて、AWB補正量LW_AWBを、通常のAWB補正量よりも小さいか、あるいは通常のAWB補正量と同程度に設定する。
In S23, the AWB correction
S24では、AWB補正ゲイン算出部41は、S23で設定されたAWB補正量LW_AWBに応じて、AWBゲインを算出する。デジタル信号処理部3は、算出されたAWBゲインをRGB各色の信号に掛けることによって、画像のホワイトバランスを補正する。
In S24, the AWB correction
S25では、AWB補正量算出部47は、AWB補正量LW_AWBを通常のAWB補正量と同程度に設定する。例えば、画像データを所定の単位で分割したエリアごとに、R,G,B信号の平均値、Ri,Gi,Biを求め、分割エリアXiごとに、R/G−B/G平面の座標Ci=(Ri/Gi,Bi/Gi)を算出する。AWB補正量算出部47は、この各分割エリアのCiの分布から画像の代表色C(光源座標)を推定する。代表色はCiの分布の平均や重心などから推定される。そして、AWB補正量算出部47は、画像の代表色Cの赤(R)、緑(G)、青(B)の各色信号レベルが等しくなるようなAWB補正量(通常のAWB補正量)を画像のLW_AWBとする。
In S25, the AWB correction
S26では、AWB補正ゲイン算出部41は、S25で設定されたAWB補正量LW_AWBに応じて、AWBゲインを算出する。
In S26, the AWB correction
デジタル信号処理部3は、S22、S24またはS26で算出されたAWBゲインをRGB各色の信号に掛けることによって、画像のホワイトバランスを補正する。
The digital
相関色温度−被写体輝度値空間(図10参照)において、従来人工光源あるいは屋外光源の分布範囲はで若干重複する部分がある。そのため、被写体輝度値を変数とするAWB補正量のメンバシップ関数(例えば図11参照)で得られた評価値に応じてAWB補正量を変動させる必要がある。それに対して白色LEDについては、相関色温度、被写体輝度値とは異なる観点から光源判別を行っているため、評価値に応じて補正量を変動させる必要はなく、常にAWB補正量(ゲイン)を通常の補正量にする。 In the correlated color temperature-subject luminance value space (see FIG. 10), the distribution range of the conventional artificial light source or outdoor light source has a slightly overlapping portion. Therefore, it is necessary to vary the AWB correction amount according to the evaluation value obtained by the membership function (for example, see FIG. 11) of the AWB correction amount using the subject luminance value as a variable. On the other hand, for the white LED, the light source is discriminated from a viewpoint different from the correlated color temperature and the subject luminance value, so there is no need to change the correction amount according to the evaluation value, and the AWB correction amount (gain) is always set. Set to the normal correction amount.
白色LEDは屋内光源であり、光源色残りが嫌われるが、上記の処理では、白色LEDと判別された場合のAWB補正量を通常の補正量に設定し、従来人工光源あるいは屋外光源よりもAWB補正を強くする。これにより、屋外光源シーンや従来人工光源シーンのAWB補正に弊害を生じることなく、白色LEDシーンの光源色残りを改善できる。 The white LED is an indoor light source, and the light source color residue is disliked. However, in the above processing, the AWB correction amount when it is determined as a white LED is set to a normal correction amount, and the AWB is higher than the conventional artificial light source or outdoor light source. Increase the correction. Thereby, the light source color residue of the white LED scene can be improved without causing any adverse effect on the AWB correction of the outdoor light source scene or the conventional artificial light source scene.
<第3実施形態>
図7は第3実施形態に係る撮像装置300を示すブロック図である。図中第1実施形態と同じブロックには同じ符号を付している。撮像装置300は、信号分割部50、色情報算出部51、色情報補正部52、軌跡保持部53をさらに備えている。
<Third Embodiment>
FIG. 7 is a block diagram showing an
図8は撮像装置300が実行する光源判別・AWB補正処理のフローチャートを示す。
FIG. 8 shows a flowchart of the light source discrimination / AWB correction process executed by the
S1〜S11は第1実施形態と同様である。 S1 to S11 are the same as in the first embodiment.
S31では、信号分割部50は、RAM11に格納されている1画面分の画像データ(R/G/B信号)を複数のエリアに分割する。色情報算出部51は、エリアごとにR,G,B信号の平均値、Ri,Gi,Biを求める。そして色情報算出部51は、分割エリアXiごとに、R/G−B/G平面の座標Ci=(Ri/Gi,Bi/Gi)を算出する。
In S31, the
色情報補正部52は、軌跡保持部53に記憶されている、屋外光源に対応する軌跡(黒体軌跡)L1を読み出し、分割エリアXiごとに、座標Ciから黒体軌跡L1に伸びる法線と黒体軌跡L1との交点Piを算出する。色情報補正部52は、分割エリアXiごとに、座標CiをPiに近づける(一致させる)補正を行う。すなわち、屋外光源の光源色分布特性に基づいて、画像データから物体色を排除する。
The color
S32では、S32の補正後のR,G,B信号に対するAWB補正量LW_AWBを算出し、LW_AWBに基づいて、AWBゲインを算出する。これは特許文献6と同様である。 In S32, an AWB correction amount LW_AWB for the R, G, and B signals after the correction in S32 is calculated, and an AWB gain is calculated based on LW_AWB. This is the same as in Patent Document 6.
S33では、S31と同様、色情報算出部51は、分割エリアXiごとに、R/G−B/G平面の座標Ciを算出する。色情報補正部52は、軌跡保持部53に記憶されている、LED以外の人工光源としてありえる色範囲を包括した軌跡L2を読み出し、分割エリアXiごとに、座標Ciから軌跡L2に伸びる法線と軌跡L2との交点Qiを算出する。LED以外の人工光源としてありえる範囲は、軌跡L1と軌跡L2に挟まれた範囲である。色情報補正部52は、分割エリアXiごとに、座標CiをQiに近づける(一致させる)補正を行う。すなわち、LED以外の人工光源の光源色分布特性に基づいて、画像データから物体色を排除する。
In S33, as in S31, the color
S34では、S33の補正後のR,G,B信号に対するAWB補正量LW_AWBを算出し、AWB補正量LW_AWBに基づいて、AWBゲインを算出する。これは特許文献6と同様である。 In S34, an AWB correction amount LW_AWB for the R, G, B signals after the correction in S33 is calculated, and an AWB gain is calculated based on the AWB correction amount LW_AWB. This is the same as in Patent Document 6.
S35では、S31と同様、色情報算出部51は、分割エリアXiごとに、R/G−B/G平面の座標Ciを算出する。
In S35, as in S31, the color
色情報補正部52は、軌跡保持部53に記憶されている、LED光源に対応する軌跡L3を読み出し、分割エリアXiごとに、座標Ciから軌跡L3に伸びる法線と軌跡L3との交点Riを算出する。交点の算出手法は特許文献5と同様に行われる。色情報補正部52は、分割エリアXiごとに、座標CiをRiに近づける(一致させる)補正を行う。すなわち、LED光源の光源色分布特性に基づいて、画像データから物体色を排除する。
The color
S36では、S35の補正後のR,G,B信号に対するAWB補正量LW_AWBを算出し、AWB補正量LW_AWBに基づいて、AWBゲインを算出する。AWB補正量LW_AWBの算出方法は第2実施形態と同様である。例えば、軌跡L3に近づいた後の各座標Ciの代表値の、赤(R)、緑(G)、青(B)の各色信号レベルが等しくなるようなAWB補正量を、LW_AWBとする。 In S36, an AWB correction amount LW_AWB for the R, G, and B signals after the correction in S35 is calculated, and an AWB gain is calculated based on the AWB correction amount LW_AWB. The calculation method of the AWB correction amount LW_AWB is the same as in the second embodiment. For example, the AWB correction amount that makes the red (R), green (G), and blue (B) color signal levels of the representative values of the coordinates Ci after approaching the locus L3 equal is LW_AWB.
デジタル信号処理部3は、S32、S34またはS36で算出されたAWBゲインをRGB各色の信号に掛けることによって、画像のホワイトバランスを補正する。
The digital
図9(a)は黒体軌跡L1、分割エリアの光源検出値Ci、Ciに対応する交点P’iの一例を示す。図9(b)は軌跡L2、分割エリアの光源検出値Ci、Ciに対応する交点Q’iの一例を示す。図9(c)は軌跡L3、分割エリアの光源検出値Ci、Ciに対応する交点R’iの一例を示す。 FIG. 9A shows an example of the intersection P'i corresponding to the black body locus L1 and the light source detection values Ci and Ci of the divided areas. FIG. 9B shows an example of the intersection point L ′ corresponding to the locus L2 and the light source detection values Ci and Ci of the divided areas. FIG. 9C shows an example of the intersection R′i corresponding to the locus L3 and the light source detection values Ci and Ci of the divided areas.
黒体軌跡L1は、太陽光源(高色温度〜低色温度)下でグレーを撮影したときの軌跡である。太陽光源下では黒体軌跡から外れている積算値は物体色の影響を受けている。図9(a)では、黒体軌跡L1よりも上に分布するC3と、下に分布するC2、C4が、それぞれ黒体軌跡L1に近づいた座標P’3、P’2、P’4に補正されている。 The black body locus L1 is a locus when gray is photographed under a solar light source (high color temperature to low color temperature). The integrated value deviating from the black body locus under the solar light source is affected by the object color. In FIG. 9A, C3 distributed above the blackbody locus L1 and C2 and C4 distributed below are respectively set to coordinates P′3, P′2, and P′4 that approach the blackbody locus L1. It has been corrected.
LED以外の人工光源軌跡L2は、LED以外の人工光源としてありえる色範囲を包括した軌跡である。黒体軌跡と人工光源軌跡L2に挟まれた部分が光源色としてありえる範囲である。R/G−B/G平面上で、人工光源軌跡L2よりも下に分布する積算値は物体色の影響を受けている。図9(b)では、軌跡L2よりも上に分布するC3と、下に分布するC4が、それぞれ軌跡L2に近づいた座標Q’3、Q’4に補正されている。 The artificial light source locus L2 other than the LED is a locus including a color range that can be an artificial light source other than the LED. A portion between the black body locus and the artificial light source locus L2 is a possible range of the light source color. On the R / GB / G plane, the integrated value distributed below the artificial light source locus L2 is affected by the object color. In FIG. 9B, C3 distributed above the locus L2 and C4 distributed below the locus L2 are corrected to coordinates Q′3 and Q′4 approaching the locus L2, respectively.
LED軌跡L3は、LED光源(調色できるので高色温度〜低色温度)下でグレーを撮影したときの軌跡である。図9(c)に示すとおり、黒体軌跡L1ともLED以外の人工光源軌跡L2とも異なる。LED光源下ではこの軌跡から外れている積算値は物体色の影響を受けている。図9(c)では、軌跡L3よりも上に分布するC1、C3と、下に分布するC4が、それぞれ軌跡L3に近づいた座標R’1、R’3、R’4に補正されている。なお、軌跡L1〜L3に近づけるための移動方向は法線方向に限られず、その他の方向でもよい。 The LED trajectory L3 is a trajectory when gray is photographed under an LED light source (color can be adjusted so that the color temperature is high to low). As shown in FIG. 9C, the black body locus L1 is different from the artificial light source locus L2 other than the LED. Under the LED light source, the integrated value deviating from this locus is influenced by the object color. In FIG. 9C, C1 and C3 distributed above the trajectory L3 and C4 distributed below the trajectory L3 are corrected to coordinates R′1, R′3 and R′4 approaching the trajectory L3, respectively. . In addition, the moving direction for approaching the locus | trajectories L1-L3 is not restricted to a normal line direction, Other directions may be sufficient.
シーンが白色LED光源下であることが分かれば、光源色は必ず白色LED軌跡上になる。光源色が白色LED軌跡上にならない場合は物体色の影響を受けているので、白色LED軌跡に近づける物体色補正を行う。これにより、屋外光源シーンや従来人工光源シーンのAWB補正に弊害を生じることなく、白色LEDシーンの光源色残りを改善できる。さらに、白色LED光源下のシーンでの物体色によるAWBカラーフェリアを抑えることができる。 If it is known that the scene is under the white LED light source, the light source color is always on the white LED locus. If the light source color is not on the white LED locus, it is affected by the object color, so that the object color is corrected so as to approach the white LED locus. Thereby, the light source color residue of the white LED scene can be improved without causing any adverse effect on the AWB correction of the outdoor light source scene or the conventional artificial light source scene. Furthermore, it is possible to suppress AWB color feria due to the object color in a scene under a white LED light source.
2:撮像部、3:デジタル信号処理部、4:AE/AWB補正部、13:CPU、40:信号比率算出部、41:AWB補正ゲイン算出部、42:LED判定部、43:被写体輝度値算出部、44:従来人工光源/屋外光源判定部、45:相関色温度算出部、46:従来光源判定閾値演算部、47:AWB補正量演算部、50:信号分割部、51:色情報算出部、52:色情報補正部、53:軌跡保持部 2: imaging unit, 3: digital signal processing unit, 4: AE / AWB correction unit, 13: CPU, 40: signal ratio calculation unit, 41: AWB correction gain calculation unit, 42: LED determination unit, 43: subject luminance value Calculation unit 44: Conventional artificial light source / outdoor light source determination unit 45: Correlated color temperature calculation unit 46: Conventional light source determination threshold calculation unit 47: AWB correction amount calculation unit 50: Signal division unit 51: Color information calculation , 52: Color information correction unit, 53: Trajectory holding unit
Claims (12)
前記信号量取得部の取得した480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量の比を算出する信号比算出部と、
前記信号比算出部の算出した比と所定の閾値との大小関係に応じて、光源が白色LEDであるか否かを判断する白色LED光源判断部と、
を備える光源判定装置。 A signal amount acquisition unit that acquires a signal amount of an imaging signal corresponding to light having a wavelength near 480 nm and a signal amount of an imaging signal corresponding to light having a wavelength near 450 nm, based on an imaging signal output from the solid-state imaging device; ,
A signal ratio calculation unit that calculates a ratio of a signal amount of an imaging signal corresponding to light having a wavelength near 480 nm acquired by the signal amount acquisition unit and a signal amount of imaging signal corresponding to light having a wavelength near 450 nm;
A white LED light source determination unit that determines whether the light source is a white LED according to a magnitude relationship between the ratio calculated by the signal ratio calculation unit and a predetermined threshold;
A light source determination device comprising:
前記被写体輝度算出部の算出した被写体輝度を変数とするメンバシップ関数に基づいて光源の確からしさを示す評価値を算出する評価値算出部と、
を備える請求項2または3に記載の光源判定装置。 A subject luminance calculation unit for calculating subject luminance based on an imaging signal output from the solid-state imaging device;
An evaluation value calculation unit that calculates an evaluation value indicating the probability of the light source based on a membership function with the subject luminance calculated by the subject luminance calculation unit as a variable;
The light source determination device according to claim 2 or 3.
前記AWB補正部は、前記従来人工光源判断部が、光源が白色LED以外の人工光源であると判断した場合、前記評価値算出部の算出した評価値に従い、ホワイトバランス補正量を前記通常のホワイトバランス補正量よりも小さいかもしくはそれと同程度に設定する請求項4に記載の光源判定装置。 When the white LED light source determination unit determines that the light source is not a white LED, a conventional artificial light source determination unit that determines whether the light source is an artificial light source other than a white LED,
When the conventional artificial light source determination unit determines that the light source is an artificial light source other than a white LED, the AWB correction unit determines a white balance correction amount according to the evaluation value calculated by the evaluation value calculation unit. The light source determination device according to claim 4, wherein the light source determination device is set to be smaller than or equal to the balance correction amount.
前記AWB補正部は、前記自然光源判断部が、光源が自然光源であると判断した場合、前記評価値算出部の算出した評価値に従い、ホワイトバランス補正量を前記通常のホワイトバランス補正量よりも小さく設定する請求項4または5に記載の光源判定装置。 When the white LED light source determination unit determines that the light source is not a white LED, the white LED light source determination unit includes a natural light source determination unit that determines whether the light source is a natural light source,
When the natural light source determination unit determines that the light source is a natural light source, the AWB correction unit sets the white balance correction amount to be greater than the normal white balance correction amount according to the evaluation value calculated by the evaluation value calculation unit. The light source determination device according to claim 4 or 5, wherein the light source determination device is set to be small.
前記撮像信号からなる画像を複数のエリアに分割する信号分割部と、
前記信号分割部の分割した各々のエリアの色情報を取得する分割エリア色情報取得部と、
前記分割エリア色情報取得部の取得した各々のエリアの色情報を、前記軌跡記憶部の記憶した軌跡に基づいて補正する色情報補正部と、
を備え、
前記AWB補正部は、前記白色LED光源判断部が、光源が白色LEDであると判断した場合、前記色情報補正部が色情報を補正した後の撮像信号に基づいて、白色LEDに適したホワイトバランスゲインを設定し、前記色情報補正部が色情報の補正した後の撮像信号のホワイトバランスを補正する請求項2〜6のいずれか1項に記載の光源判定装置。 A trajectory storage unit that stores a trajectory indicating the distribution of the color temperature of the white LED light source in a predetermined color space;
A signal dividing unit that divides an image formed of the imaging signals into a plurality of areas;
A divided area color information acquisition unit that acquires color information of each area divided by the signal division unit;
A color information correction unit that corrects the color information of each area acquired by the divided area color information acquisition unit based on the trajectory stored in the trajectory storage unit;
With
When the white LED light source determination unit determines that the light source is a white LED, the AWB correction unit determines a white color suitable for the white LED based on the imaging signal after the color information correction unit corrects the color information. The light source determination device according to claim 2, wherein a balance gain is set, and the color information correction unit corrects a white balance of the imaging signal after the color information is corrected.
固体撮像素子から出力される撮像信号に基づき、480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量とを取得するステップと、
前記取得した480nm付近の波長の光に対応する撮像信号の信号量と450nm付近の波長の光に対応する撮像信号の信号量の比を算出するステップと、
前記算出した比と所定の閾値との大小関係に応じて、光源が白色LEDであるか否かを判断するステップと、
を実行する光源判定方法。 The light source determination device
Obtaining a signal amount of an imaging signal corresponding to light having a wavelength near 480 nm and a signal amount of an imaging signal corresponding to light having a wavelength near 450 nm based on an imaging signal output from the solid-state imaging device;
Calculating a ratio of a signal amount of an imaging signal corresponding to the acquired light having a wavelength near 480 nm and a signal amount of an imaging signal corresponding to the light having a wavelength near 450 nm;
Determining whether the light source is a white LED according to the magnitude relationship between the calculated ratio and a predetermined threshold;
A light source determination method for executing
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010267052A JP2012119885A (en) | 2010-11-30 | 2010-11-30 | Light source determination device and light source determination method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010267052A JP2012119885A (en) | 2010-11-30 | 2010-11-30 | Light source determination device and light source determination method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012119885A true JP2012119885A (en) | 2012-06-21 |
JP2012119885A5 JP2012119885A5 (en) | 2013-11-07 |
Family
ID=46502254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010267052A Abandoned JP2012119885A (en) | 2010-11-30 | 2010-11-30 | Light source determination device and light source determination method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012119885A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015133685A (en) * | 2013-12-13 | 2015-07-23 | キヤノン株式会社 | Imaging apparatus having light source identification and image quality-correcting functions and control method therefor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003169341A (en) * | 2001-09-19 | 2003-06-13 | Fuji Film Microdevices Co Ltd | Color image pickup unit |
JP2007300253A (en) * | 2006-04-03 | 2007-11-15 | Sony Corp | Imaging apparatus and its light source estimating apparatus |
JP2010178182A (en) * | 2009-01-30 | 2010-08-12 | Canon Inc | Document reading apparatus |
JP2010256623A (en) * | 2009-04-24 | 2010-11-11 | Olympus Corp | Microscope observation apparatus |
JP2011223452A (en) * | 2010-04-13 | 2011-11-04 | Nippon Hoso Kyokai <Nhk> | Color correction device |
-
2010
- 2010-11-30 JP JP2010267052A patent/JP2012119885A/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003169341A (en) * | 2001-09-19 | 2003-06-13 | Fuji Film Microdevices Co Ltd | Color image pickup unit |
JP2007300253A (en) * | 2006-04-03 | 2007-11-15 | Sony Corp | Imaging apparatus and its light source estimating apparatus |
JP2010178182A (en) * | 2009-01-30 | 2010-08-12 | Canon Inc | Document reading apparatus |
JP2010256623A (en) * | 2009-04-24 | 2010-11-11 | Olympus Corp | Microscope observation apparatus |
JP2011223452A (en) * | 2010-04-13 | 2011-11-04 | Nippon Hoso Kyokai <Nhk> | Color correction device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015133685A (en) * | 2013-12-13 | 2015-07-23 | キヤノン株式会社 | Imaging apparatus having light source identification and image quality-correcting functions and control method therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4329125B2 (en) | White balance control method, white balance control device, and imaging device | |
JP4158592B2 (en) | Auto white balance adjustment method and camera to which this method is applied | |
JP4791331B2 (en) | Imaging apparatus and exposure control method | |
JP4697606B2 (en) | Imaging apparatus and focus control method | |
JP5004544B2 (en) | Imaging apparatus and exposure control method | |
JP2007053499A (en) | White balance control unit and imaging apparatus | |
JP2017022610A (en) | Image processing apparatus and image processing method | |
US7911527B2 (en) | Focusing apparatus and focusing method | |
WO2017170716A1 (en) | Image pickup device, image processing device, and electronic apparatus | |
JP2012074951A (en) | Image pickup device and image processing method | |
JP2008278354A (en) | Imaging device | |
JP2008109485A (en) | Imaging apparatus and imaging control method | |
JP4067033B2 (en) | Image processing apparatus and method | |
JP5948997B2 (en) | Imaging apparatus and imaging method | |
JP2008017198A (en) | Device and method for calculating light source color, and photographing device | |
JP2009055077A (en) | Imaging apparatus | |
JP4210920B2 (en) | White balance adjustment method and camera | |
WO2017170717A1 (en) | Image pickup device, focusing device, and electronic apparatus | |
JP2008083243A (en) | Photographing device and exposure control method | |
JP2012119885A (en) | Light source determination device and light source determination method | |
JP2004274344A (en) | Image processing apparatus and method | |
JP5009091B2 (en) | Focus adjustment device and focus adjustment method | |
JP2004304695A (en) | White balance adjustment method | |
JP2007053482A (en) | Imaging apparatus | |
JP4378629B2 (en) | Auto white balance adjustment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130807 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130919 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140115 |
|
A762 | Written abandonment of application |
Free format text: JAPANESE INTERMEDIATE CODE: A762 Effective date: 20140310 |