JP4692872B2 - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP4692872B2
JP4692872B2 JP2004234889A JP2004234889A JP4692872B2 JP 4692872 B2 JP4692872 B2 JP 4692872B2 JP 2004234889 A JP2004234889 A JP 2004234889A JP 2004234889 A JP2004234889 A JP 2004234889A JP 4692872 B2 JP4692872 B2 JP 4692872B2
Authority
JP
Japan
Prior art keywords
chromaticity coordinates
color
chromaticity
image
spectral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004234889A
Other languages
Japanese (ja)
Other versions
JP2006054679A (en
JP2006054679A5 (en
Inventor
一記 喜多
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2004234889A priority Critical patent/JP4692872B2/en
Publication of JP2006054679A publication Critical patent/JP2006054679A/en
Publication of JP2006054679A5 publication Critical patent/JP2006054679A5/ja
Application granted granted Critical
Publication of JP4692872B2 publication Critical patent/JP4692872B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、光源光の分光特性等に影響されずに簡易にホワイトバランス等の利得制御処理を行うことができる画像処理装置、及び、プログラムに関する。 The present invention relates to an image processing apparatus and a program capable of easily performing gain control processing such as white balance without being influenced by the spectral characteristics of light source light .

従来のデジタルカメラでは、撮影した被写体の画像が、蛍光灯下では緑色っぽく、白熱灯下では赤っぽくなってしまうため、光源によって変わる色調の違いを補正し、光源にかかわらず白さが同じに見えるようにすべくホワイトバランス(WB)制御を行っていた。
また、ホワイトバランスを調整するには、光源の色温度が必要だが、大別して、色温度検出用の3色RGBセンサ等を別に設ける外部測光方式と、CCDの撮像信号のRGBの比率から検出する内部測光方式とがある。内部測光方式では、撮像画面内の無彩色部分を抽出して積分し、RGB色差成分の比率が等しくなるように調節し、外部測光方式では、RGB線さの色差成分のバランスや、(R−Y)、(B−Y)の平均や積分値がゼロになるように、色差信号ゲインを調節する。或は、色温度が高い場合にはRのゲインを上げてBのゲインを下げ、色温度が低い場合には逆の制御を行う。
With conventional digital cameras, the image of the captured subject appears greenish under fluorescent light and reddish under incandescent light, so the difference in color tone that varies depending on the light source is corrected, and the whiteness is the same regardless of the light source. The white balance (WB) control was performed to make it visible.
In order to adjust the white balance, the color temperature of the light source is required. However, it is broadly detected from the external photometry method in which a separate three-color RGB sensor for color temperature detection is provided and the RGB ratio of the CCD image signal. There is an internal metering method. In the internal photometry method, the achromatic color portion in the imaging screen is extracted and integrated, and adjusted so that the ratios of the RGB color difference components are equal. In the external photometry method, the balance of the color difference components of the RGB lines or (R− The color difference signal gain is adjusted so that the average and integral values of (Y) and (B−Y) become zero. Alternatively, when the color temperature is high, the gain of R is increased and the gain of B is decreased, and when the color temperature is low, the reverse control is performed.

また、下記特許文献1には、カメラ装置なる発明が開示されている。詳しくは、光源が蛍光灯であるか否かを判別し、蛍光灯であると判断した場合には、ホワイトバランス調整信号とオフセット制御電圧信号とを加減、減算することにより、簡単で良好なホワイトバランス調整を行うというものである。   Patent Document 1 listed below discloses an invention of a camera device. Specifically, it is determined whether or not the light source is a fluorescent lamp. If it is determined that the light source is a fluorescent lamp, the white balance adjustment signal and the offset control voltage signal are added or subtracted and subtracted to obtain a simple and good white. Balance adjustment is performed.

また、下記特許文献2には、ホワイトバランス回路なる発明が開示されている。詳しくは、RGB3原色のスペクトル強度を検出する検出部と輝線スペクトルの強度を検出する検出部とを設け、両出力を元に演算して、ホワイトバランスを制御することにより、スペクトルが極端に偏在して分布している蛍光灯等の放電管系の光源に対しても適切なホワイトバランスを得ることができるというものである。   Patent Document 2 below discloses an invention that is a white balance circuit. Specifically, a detection unit that detects the spectral intensity of the RGB three primary colors and a detection unit that detects the intensity of the bright line spectrum are provided, and the spectrum is extremely unevenly distributed by calculating based on both outputs and controlling the white balance. Appropriate white balance can be obtained even for a light source of a discharge tube system such as a fluorescent lamp.

また、下記特許文献3には、光電色彩計の分光感度補正機構なる発明が開示されている。詳しくは、3刺激値を測定する3つの受光系と、3つの受光系の分光感度と異なる分光感度を有する補正受光系とを有し、3つの受光系のそれぞれにつき、その受光系の出力に他の2つの受光系の出力に補正係数かけた信号を加減させて、その受光系の分光感度特性を与えられた分光感度特性に近似させ、その残留誤差を更に補正受光系で補正することにより、測定精度を著しく向上させることができるというものである。   Patent Document 3 listed below discloses an invention that is a spectral sensitivity correction mechanism of a photoelectric colorimeter. Specifically, it has three light receiving systems for measuring tristimulus values, and a corrected light receiving system having a spectral sensitivity different from the spectral sensitivity of the three light receiving systems, and outputs each of the three light receiving systems to the output of the light receiving system. By adding or subtracting the signal multiplied by the correction coefficient to the output of the other two light receiving systems, approximating the spectral sensitivity characteristic of the light receiving system to the given spectral sensitivity characteristic, and further correcting the residual error by the correction light receiving system The measurement accuracy can be remarkably improved.

特許公報 第2502502号(第(2)項右欄第4項第17行から第(3)項右欄第6項第23行目参照)Patent Publication No. 2502502 (refer to the right column, the fourth column, the 17th line to the (3) item, the right column, the sixth column, the 23rd line).

特許公報 特公昭62−50026号(第(1)項右欄第2項第29行から第(3)項左欄第5項第30行目参照)Patent gazette Japanese Patent Publication No. Sho 62-50026 (see (1) right column, second term, line 29 to (3) left column, fifth term, 30th line)

特許公報 第2671414号(第(3)項左欄第5項第8行から第(3)項右欄第10項第11行目参照)Japanese Patent Publication No. 2671414 (Refer to paragraph (3), left column, paragraph 5, line 8 to line (3), right column, paragraph 10, paragraph 11)

しかしながら、従来のデジタルカメラ等にあっては、以下のような問題点があった。
(1)RGBの比によるWB制御は、3刺激値型の光電色彩計と同様の原理で、3つの受光系の分光感度が、視覚の比視感度特性やCIE(国際照明学会)1931に規定されたRGB3刺激値の等色関数等に適合させれば、正しい色度座標や色温度も計測でき、これを元に正確なWB制御もできるはずだが、細かく校正しても、光学系の分光透過率や受光部の分光感度特性を、等色関数にぴたりと合わせることは難しく、アナログ的にWB制御はできても、色温度など数値を求めるには精度が低いので、高精度に色温度などを求めてWB制御を行うという課題がある。
また、太陽光や白熱電灯等、なだらかな分光分布の光源では問題はないが、蛍光灯など分光特性の凹凸が激しく輝線スペクトルが顕著な光源等ではうまく計測できず、蛍光灯下でも高精度に色温度を求めるという課題がある。
However, the conventional digital camera has the following problems.
(1) The WB control based on the RGB ratio is based on the same principle as a tristimulus photoelectric colorimeter, and the spectral sensitivity of the three light receiving systems is defined by the visual relative luminous sensitivity characteristics and CIE (International Institute of Illumination) 1931. If it is adapted to the RGB tristimulus color matching function, the correct chromaticity coordinates and color temperature can be measured, and accurate WB control should be possible based on this. It is difficult to match the transmittance and spectral sensitivity characteristics of the light-receiving unit to the color matching function, and even though analog WB control is possible, the accuracy is low for obtaining numerical values such as the color temperature, so the color temperature is highly accurate. There is a problem of performing WB control in response to the above.
In addition, there is no problem with light sources with gentle spectral distribution such as sunlight and incandescent lamps, but it cannot be measured well with light sources such as fluorescent lamps where the spectral characteristics are uneven and the emission line spectrum is remarkable. There is a problem of obtaining a color temperature.

(2)また、上記特許文献1記載の発明によれば、フリッカー等から蛍光灯と判別した場合には、ホワイトバランス調整信号とオフセット制御電圧信号とを加減、減算することにより、簡単で良好なホワイトバランス調整を行うことができるが、白色の蛍光灯でも、昼光色、昼白色、白色、温白色、電球色、各色の3波長発光型など、色温度が3000K〜8000Kと異なる多種の製品が利用され、蛍光灯と単に識別しただけでは色温度設定ができず、このような場合でも適切な色温度設定を行うという課題がある。   (2) Further, according to the invention described in Patent Document 1, when it is determined that the lamp is a fluorescent lamp from flicker or the like, the white balance adjustment signal and the offset control voltage signal are added and subtracted and subtracted. White balance can be adjusted, but various types of products with different color temperatures of 3000K to 8000K, such as daylight color, daylight white, white, warm white, light bulb color, and three-wavelength light emission of each color, can be used even with white fluorescent lamps. However, the color temperature cannot be set simply by distinguishing it from a fluorescent lamp, and there is a problem that an appropriate color temperature is set even in such a case.

(3)また、上記特許文献2記載の発明によれば、RGB3原色のスペクトル強度を検出する検出部と輝線スペクトルの強度を検出する検出部とを設け、両出力を元に演算して、ホワイトバランスを制御することにより、スペクトルが極端に偏在して分布している蛍光灯等の放電管系の光源に対しても適切なホワイトバランスを得ることができるが、各種の光源や種別毎に輝度スペクトル専用の検出部等を設けると複雑で高コストになるため、簡易で低コストにするという課題がある。
また、複数種の光源が混ざった場合や、新しい特性の光源には対応できなかった。
(3) According to the invention described in Patent Document 2, a detection unit that detects the spectral intensity of the RGB three primary colors and a detection unit that detects the intensity of the bright line spectrum are provided. By controlling the balance, it is possible to obtain an appropriate white balance even for light sources of discharge tube systems such as fluorescent lamps whose spectrum is extremely unevenly distributed. Providing a spectrum-dedicated detector or the like is complicated and expensive, and there is a problem of simple and low cost.
In addition, when a plurality of types of light sources are mixed or a light source with new characteristics cannot be handled.

(4)下記特許文献3記載の発明によれば、高精度の色彩計測を行うことができるが、校正された標準光源等を用いて専門家が正しく校正して初めて計測できる専用計測器であり、最も簡易な光電色彩計でも数十万円以上と高価であり、携帯カメラのWB制御のために内蔵するには大型で高コストであった。
また、3刺激値型の光電色彩計や、撮像信号から色情報を求めるのでは、分光感度特性を等色関数に合わせるのは難しく、蛍光灯など放電型の光源にも対応できなかった。
(4) According to the invention described in Patent Document 3 below, it is a dedicated measuring instrument that can perform high-precision color measurement, but can only be measured after an expert calibrates correctly using a calibrated standard light source or the like. Even the simplest photoelectric colorimeter is as expensive as several hundred thousand yen or more, and it is large and expensive to be incorporated for WB control of a portable camera.
In addition, when obtaining color information from a tristimulus photoelectric colorimeter or an image signal, it is difficult to match spectral sensitivity characteristics to a color matching function, and it has not been possible to cope with a discharge light source such as a fluorescent lamp.

(5)また、WBは調整することができても色温度が特定できないため、WBブラケティング撮影を行う際、露出ブラケティング撮影で±3EV等と設定するのと同じように、色温度などの具体的な補正値を設定して撮影条件の加減を指定したり、それに見合った制御を行うことができず、露出ブラケティング撮影で±3EV等と具体的に設定するように、色温度などを具体的に設定してWBブラケティングを行うという課題があった。   (5) Since the color temperature cannot be specified even if the WB can be adjusted, when performing the WB bracketing shooting, the color temperature, etc., is set in the same manner as when setting the exposure bracketing shooting to ± 3 EV or the like. It is not possible to specify the adjustment of the shooting conditions by setting a specific correction value, or to perform control corresponding to it, and to set the color temperature etc. specifically to ± 3 EV etc. in exposure bracketing shooting There was a problem of performing WB bracketing with specific settings.

(6)さらに、交換レンズや外付けフィルタを使用したり、ズームレンズや自動露出などを内蔵し、光学系の位置や組み合わせなどで、光学系の波長毎の透過率や、或は、撮像素子の感度などがダイナミックに変化する制御も多いが、これらの光学系の分光透過率や分光反射率、撮像部の分光感度の変化は、従来のCCD内部測光方式やRGBセンサ等外部測光方式によるWB制御などでは対応できないという問題点もあった。また、光源光の色温度と、撮影レンズやカラーフィルター等の色温度がわかっていたとしても、色度図上で、これらの合成された色度座標や色温度はその中間値になると一見思われるが、光の分光エネルギー特性とフィルタの分光透過率との間には、加法混色原理が当てはまらないため、白を白く調整することはできても、他の色の再現性に影響を与えてしまっていた。   (6) Further, an interchangeable lens or an external filter is used, a zoom lens or an automatic exposure is built in, and the transmittance or the imaging device for each wavelength of the optical system is determined by the position and combination of the optical system. There are many controls that dynamically change the sensitivity of the optical system, but the changes in the spectral transmittance and reflectance of these optical systems and the spectral sensitivity of the imaging unit are due to the WB by the conventional CCD internal photometry method and external photometry methods such as RGB sensors. There was also a problem that it could not be handled by control. Even if the color temperature of the light source light and the color temperature of the photographic lens, color filter, etc. are known, it seems that these synthesized chromaticity coordinates and color temperatures are intermediate values on the chromaticity diagram. However, the additive color mixing principle does not apply between the spectral energy characteristics of light and the spectral transmittance of the filter, so even if white can be adjusted to white, it affects the reproducibility of other colors. I was sorry.

そこで本発明は、かかる従来の問題点に鑑みてなされたものであり、光源光の分光特性等に影響されずに簡易にホワイトバランス等の利得制御処理を行うことができる画像処理装置、及び、プログラムを提供することを目的とする。 Therefore, the present invention has been made in view of such conventional problems , and an image processing apparatus capable of easily performing gain control processing such as white balance without being affected by the spectral characteristics or the like of light source light, and The purpose is to provide a program .

上記目的達成のため、請求項1記載の発明は、撮像信号を取得する取得手段と、前記取得手段により取得された撮像信号の画像を表示手段に表示させる表示制御手段と、ユーザが前記表示手段に表示された画像の一部領域を指定するための指定手段と、前記指定手段により指定された一部領域の撮像信号から一部領域の色度座標を算出する算出手段と、前記表示制御手段が、前記撮像信号の画像とともに色度図及び該色度図上に前記算出手段により算出された色度座標を座標カーソルで表示し、ユーザが前記表示手段に表示された色度図上の色度座標を示す座標カーソルを加減補正することにより前記指定手段により指定された一部領域の色度座標を所望の値に設定するための設定手段と、前記算出手段により算出された一部領域の色度座標が前記設定手段により設定された色度座標となるように、前記取得手段により取得された撮像信号の利得を制御することによりホワイトバランスの制御を行うホワイトバランス制御手段と、を備えたことを特徴とする。
For achieve the above object, a first aspect of the present invention, an acquisition unit for acquiring an image signal, and Table示制control means Ru display the image of the obtained image signal by the pre-Symbol obtaining means on the display means, the user designating means for designating a partial area of the image displayed on the display means, calculation detecting means that to calculate the chromaticity coordinates of the partial region from the image signal of a portion designated region by previous SL designating means And the display control means displays the chromaticity diagram together with the image of the imaging signal and the chromaticity coordinates calculated by the calculation means on the chromaticity diagram with a coordinate cursor, and the user is displayed on the display means. and setting means for setting the chromaticity coordinates of the part designated area by the specifying means by adding or subtracting the correction coordinates cursor indicating a chromaticity coordinates of a chromaticity diagram to a desired value, by the calculation detecting means Calculated chromaticity coordinates of the partial area And white balance control means for controlling white balance by controlling the gain of the imaging signal acquired by the acquisition means so that the chromaticity coordinates set by the setting means are obtained. To do.

また、請求項2記載の発明は、撮像信号を取得する取得装置、及び表示装置を備えた画像処理装置を制御するコンピュータに、前記取得装置により取得された撮像信号の画像を前記表示装置に表示させる表示制御機能、ユーザが前記表示装置に表示された画像の一部領域を指定するための指定機能、前記指定機能により指定された一部領域の撮像信号から一部領域の色度座標を算出する算出機能、前記表示制御機能が、前記撮像信号の画像とともに色度図及び該色度図上に前記算出機能により算出された色度座標を座標カーソルで表示し、ユーザが前記表示装置に表示された色度図上の色度座標を示す座標カーソルを加減補正することにより前記指定機能により指定された一部領域の色度座標を所望の値に設定するための設定機能と、前記算出機能により算出された一部領域の色度座標が前記設定機能により設定された色度座標となるように、前記取得装置により取得された撮像信号の利得を制御することによりホワイトバランスの制御を行うホワイトバランス制御機能、を実現させるためのプログラムである。 The invention of claim 2, wherein the acquisition device for acquiring an image signal, and a computer for controlling an image processing apparatus having a display device, on the display device an image of the obtained image signal by the pre-Symbol acquisition device Table示制control function Ru is displayed, the user is the display device to specify function for designating a partial region of the displayed image, before Symbol specify features of some from the image signal of a portion designated area region by calculated out function to calculate the chromaticity coordinates, the display control function, the chromaticity coordinates calculated by the calculation function diagram chromaticity diagram and the chromaticity along with the image of the image signal is displayed in the coordinate cursor, The user sets the chromaticity coordinates of the partial area designated by the designation function to a desired value by correcting the coordinate cursor indicating the chromaticity coordinates on the chromaticity diagram displayed on the display device. setting function and, the calculated The white balance is controlled by controlling the gain of the imaging signal acquired by the acquisition device so that the chromaticity coordinates of the partial area calculated by the function become the chromaticity coordinates set by the setting function. This is a program for realizing the white balance control function.

本発明によれば、光源光の分光特性等に影響されずに簡易にホワイトバランス等の利得制御処理を行うことができる。
According to the present invention, easily without being affected by the spectral characteristics of the light source light and the like can perform the gain control processing such as white balance.

以下、本実施の形態について、図面を参照して詳細に説明する。
[第1の実施の形態]
A.デジタルカメラの構成
図1は、本発明のホワイトバランス装置を実現するデジタルカメラ1の電気的な概略構成を示すブロック図である。
デジタルカメラ1は、撮像レンズ2、駆動回路3、絞り兼用シャッタ4、垂直ドライバ5、TG(timing generator)6、CCD7、サンプルホールド回路8、アナログデジタル変換器9、色分離回路10、利得調整部11、画像信号処理部12、メモリ13、制御回路14、表示部15、キー入力部16、プリズム回折格子17、センサアレイ18、ドライバー・アンプ19、アナログデジタル変換器20、エネルギー分布表メモリ21、情報メモリ22、刺激値演算部23、ROM24、色度座標演算部25、取得部26、色温度演算部27、ホワイトバランス制御部28、色度座標・色温度情報メモリ29から構成されている。
Hereinafter, the present embodiment will be described in detail with reference to the drawings.
[First embodiment]
A. Configuration of Digital Camera FIG. 1 is a block diagram showing an electrical schematic configuration of a digital camera 1 that implements the white balance device of the present invention.
The digital camera 1 includes an imaging lens 2, a drive circuit 3, a diaphragm shutter 4, a vertical driver 5, a TG (timing generator) 6, a CCD 7, a sample hold circuit 8, an analog / digital converter 9, a color separation circuit 10, and a gain adjustment unit. 11, image signal processing unit 12, memory 13, control circuit 14, display unit 15, key input unit 16, prism diffraction grating 17, sensor array 18, driver amplifier 19, analog-digital converter 20, energy distribution table memory 21, The information memory 22, the stimulus value calculation unit 23, the ROM 24, the chromaticity coordinate calculation unit 25, the acquisition unit 26, the color temperature calculation unit 27, the white balance control unit 28, and the chromaticity coordinate / color temperature information memory 29 are configured.

制御回路14は、デジタルカメラ1の各部を制御するワンチップマイコンである。
撮像レンズ2は、複数のレンズ群から構成されるフォーカスレンズ2a、ズームレンズ2b等を含む。そして、撮像レンズ2には、駆動回路3が接続されており、駆動回路3は、制御回路14から送られてくる制御信号にしたがって、フォーカスレンズ2a、ズームレンズ2bを光軸方向に移動させる。
The control circuit 14 is a one-chip microcomputer that controls each part of the digital camera 1.
The imaging lens 2 includes a focus lens 2a, a zoom lens 2b, and the like configured from a plurality of lens groups. A driving circuit 3 is connected to the imaging lens 2, and the driving circuit 3 moves the focus lens 2 a and the zoom lens 2 b in the optical axis direction in accordance with a control signal sent from the control circuit 14.

また、駆動回路3は、制御回路14から送られてくる制御信号にしたがって、絞り兼用シャッタを動作させ、つまり、絞りとシャッタ速度を調節して、撮像レンズを介して入射される光の量を制御する。
絞りとは、撮像レンズ2から入射してくる光の量を制限する機構のことをいい、シャッタ速度とは、時間によってCCD7に当てる光の量を制限する機構のことをいう。
Further, the drive circuit 3 operates the diaphragm / shutter in accordance with the control signal sent from the control circuit 14, that is, adjusts the diaphragm and the shutter speed to control the amount of light incident through the imaging lens. Control.
The diaphragm refers to a mechanism that limits the amount of light incident from the imaging lens 2, and the shutter speed refers to a mechanism that limits the amount of light applied to the CCD 7 over time.

CCD7は、垂直ドライバ5、TG6によって走査駆動され、一定周期毎に結像した被写体像のRGB値の各色の光の強さを光電変換しサンプルホールド回路8に出力する。
サンプルホールド回路8は、CCD7から送られてきたアナログ信号をCCD7の解像度に適合した周波数でサンプリング(例えば、相関二重サンプリング)してアナログデジタル変換器9に出力する。なお、サンプリング後に自動利得調整(AGC)を行うこともある。
アナログデジタル変換回路9は、サンプリングされたアナログ信号をデジタル信号に変換して色分離回路10に出力する。
The CCD 7 is scan-driven by the vertical driver 5 and TG 6, photoelectrically converts the intensity of light of each color of RGB values of the subject image formed at regular intervals, and outputs it to the sample hold circuit 8.
The sample hold circuit 8 samples the analog signal sent from the CCD 7 at a frequency suitable for the resolution of the CCD 7 (for example, correlated double sampling) and outputs the sampled signal to the analog-digital converter 9. Note that automatic gain adjustment (AGC) may be performed after sampling.
The analog-digital conversion circuit 9 converts the sampled analog signal into a digital signal and outputs the digital signal to the color separation circuit 10.

色分離回路10は、RGBデータを分離して、R成分のデータを利得調整部11rに、G成分のデータを利得調整部11gに、B成分のデータを利得調整部11bにそれぞれ出力する。
利得調整部11は、色分離回路から送られてきたそれぞれの、R・G・Bデータを、ホワイトバランス制御部28から送られてきた制御信号にしたがって、それぞれの利得を調整し、画像信号処理部12に出力する。
画像信号処理部は、画素補間処理、γ補正処理等を含むカラープロセス処理を行い、RGBデータから輝度・色差マルチプレクス信号(以下、YUV信号という)を生成する。
The color separation circuit 10 separates the RGB data, and outputs the R component data to the gain adjustment unit 11r, the G component data to the gain adjustment unit 11g, and the B component data to the gain adjustment unit 11b.
The gain adjustment unit 11 adjusts the respective gains of the R, G, and B data sent from the color separation circuit in accordance with the control signal sent from the white balance control unit 28, and performs image signal processing. To the unit 12.
The image signal processing unit performs color process processing including pixel interpolation processing, γ correction processing, and the like, and generates a luminance / color difference multiplexed signal (hereinafter referred to as a YUV signal) from RGB data.

メモリ13は、DRAMやROM、フラッシュメモリを含む。DRAMは、CCD7によって撮像された後、デジタル化された被写体の画像データを一時記憶するバッファメモリとして使用されるとともに、制御回路14のワーキングメモリとしても使用され、ROMは、制御回路14の制御に必要なデータ、プログラム等が格納されている。また、フラッシュメモリは、撮影された画像データを記録する画像メモリである。   The memory 13 includes DRAM, ROM, and flash memory. The DRAM is used as a buffer memory for temporarily storing digitized subject image data after being imaged by the CCD 7 and also used as a working memory for the control circuit 14. The ROM is used for controlling the control circuit 14. Necessary data, programs, etc. are stored. The flash memory is an image memory that records captured image data.

表示部15はカラーLCDとその駆動回路を含み、撮影待機状態にあるときにはCCD2によって撮像された被写体をスルー画像として表示し、記録画像の再生時には、フラッシュメモリから読み出され伸張された記録画像を表示する。また、色度座標や分光分布特性グラフや黒体輻射軌跡を示した図などを表示させる。この表示部15は、本発明の表示手段に相当する。
キー入力部16は、シャッタボタン、ブラケット撮影ボタン、実行キー、キャンセルキー、カーソルキー、モードキー等の複数の操作キーを含み、ユーザのキー操作に応じた操作信号を制御回路14に出力する。このキー入力部16は、本発明の指定手段、補正間隔入力手段に相当する。
The display unit 15 includes a color LCD and its driving circuit, and displays a subject imaged by the CCD 2 as a through image when in a shooting standby state, and displays a recorded image read from the flash memory and expanded when the recorded image is reproduced. indicate. In addition, chromaticity coordinates, a spectral distribution characteristic graph, a diagram showing a black body radiation locus, and the like are displayed. The display unit 15 corresponds to display means of the present invention.
The key input unit 16 includes a plurality of operation keys such as a shutter button, a bracket shooting button, an execution key, a cancel key, a cursor key, and a mode key, and outputs an operation signal corresponding to the user's key operation to the control circuit 14. The key input unit 16 corresponds to a specifying unit and a correction interval input unit of the present invention.

プリズム回折格子17は、入射された光を波長帯毎に分光してセンサアレイ18に入射する。このプリズム回折格子17は、本発明の分光手段に相当する。
センサアレイ18は、ドライバー・アンプ19によって駆動され、入射された波長帯毎に分光された光を一定周期毎に光電変換しドライバー・アンプ19に出力する。このセンサアレイ18は、本発明の測光用センサアレイとして機能する。
ドライバー・アンプ19は、該光電変換された波長毎のアナログ信号を増幅し、アナログデジタル変換器20に出力する。
アナログデジタル変換器20は、入力されたアナログ信号をデジタル変換して、分光エネルギー分布L(λi)を取得し、該取得した分光エネルギー分布の表データをエネルギー分布表メモリに記憶する。
The prism diffraction grating 17 splits the incident light for each wavelength band and enters the sensor array 18. This prism diffraction grating 17 corresponds to the spectroscopic means of the present invention.
The sensor array 18 is driven by a driver / amplifier 19, photoelectrically converts the light separated for each incident wavelength band, and outputs the light to the driver / amplifier 19. This sensor array 18 functions as a photometric sensor array of the present invention.
The driver amplifier 19 amplifies the photoelectrically converted analog signal for each wavelength and outputs it to the analog-digital converter 20.
The analog-to-digital converter 20 digitally converts the input analog signal to acquire a spectral energy distribution L (λi), and stores the acquired spectral energy distribution table data in the energy distribution table memory.

ROM24には、RGB表色系の等色関数(λi)、(λi)、(λi)が記録されている。
刺激値演算部23は、ROM24に記録されている等色関数(λi)、(λi)、(λi)及びエネルギー分布表メモリに記憶されている分光エネルギー分布L(λi)を読み出し(分光取得手段)、該読み出した等色関数と分光エネルギー分布L(λi)とを乗算し、各波長毎(λi)の乗算結果を波長領域のn帯域(i=0〜n−1)全体で総和して3刺激値R、G、Bを算出する(刺激算出手段)。
The ROM 24 records color matching functions (λi), (λi), and (λi) of the RGB color system.
The stimulus value calculator 23 reads the color matching functions (λi), (λi), (λi) recorded in the ROM 24 and the spectral energy distribution L (λi) stored in the energy distribution table memory (spectral acquisition means). ), Multiplying the read color matching function by the spectral energy distribution L (λi), and summing the multiplication results for each wavelength (λi) over the entire n bands (i = 0 to n−1) of the wavelength region. Tristimulus values R, G, and B are calculated (stimulus calculation means).

具体的には、3刺激値R、G、Bは数1又は数2にしたがって求めることができる。数2は、数1のn→∞としたときの式である。但し、積分(∫VIS)は可視波長領域で取るものとする。 Specifically, the tristimulus values R, G, and B can be obtained according to Equation 1 or Equation 2. Equation 2 is an equation when n → ∞ in Equation 1. However, the integration (∫ VIS ) is taken in the visible wavelength region.

Figure 0004692872
Figure 0004692872

Figure 0004692872
Figure 0004692872

そして、刺激値演算部23は、該算出した3刺激値R、G、BからXYZ表色系の3刺激値X、Y、Zに変換を行う。この変換は数3にしたがって行う。なお、ROM24にXYZ表色系に基づく等色関数(λi)、(λi)、(λi)を予め記録させておき、3刺激値XYZを直接求めるようにしてもよい。   Then, the stimulus value calculation unit 23 converts the calculated tristimulus values R, G, and B into tristimulus values X, Y, and Z in the XYZ color system. This conversion is performed according to Equation 3. Note that the color matching functions (λi), (λi), and (λi) based on the XYZ color system may be recorded in the ROM 24 in advance, and the tristimulus values XYZ may be directly obtained.

Figure 0004692872
Figure 0004692872

刺激値演算部23は、XYZ表色系の3刺激値X、Y、Zの算出を行うと、該算出した3刺激値X、Y、Zを色度座標演算部25に出力する。
色度座標演算部25は、入力された3刺激値から色度座標(x、y、z)を数4にしたがって求める。この機能は本発明の、座標算出手段に相当する。
When the stimulation value calculation unit 23 calculates the tristimulus values X, Y, and Z of the XYZ color system, the stimulation value calculation unit 23 outputs the calculated tristimulus values X, Y, and Z to the chromaticity coordinate calculation unit 25.
The chromaticity coordinate calculation unit 25 obtains chromaticity coordinates (x, y, z) from the input tristimulus values according to Equation 4. This function corresponds to the coordinate calculation means of the present invention.

Figure 0004692872
Figure 0004692872

色度座標演算部25は、色度座標(x、y、z)を算出すると、該算出した色度座標の値を色温度演算部27に出力する。また、該算出した色度座標の値を色度座標・色温度情報メモリ29に記憶させる。
色温度演算部27は、該入力された色度座標から色温度Ta、黒体輻射軌跡との偏差Δuv等を求める(色温度算出手段)。ここで、ホワイトバランス制御に用いられる色温度Taは、黒体の輻射時の温度と波長の関係を指標として、色度を黒体放射軌跡の色度座標に相当する相関色温度(単位:K、ケルビン)で表したものである。
After calculating the chromaticity coordinates (x, y, z), the chromaticity coordinate calculation unit 25 outputs the calculated chromaticity coordinate values to the color temperature calculation unit 27. Further, the calculated chromaticity coordinate value is stored in the chromaticity coordinate / color temperature information memory 29.
The color temperature calculation unit 27 obtains a color temperature Ta, a deviation Δuv from the black body radiation locus, and the like from the input chromaticity coordinates (color temperature calculation means). Here, the color temperature Ta used for the white balance control is a correlated color temperature (unit: K) corresponding to the chromaticity coordinates of the black body radiation locus, with the relationship between the temperature and the wavelength when the black body is radiated as an index. , Kelvin).

色度座標から色温度Taの算出方法について述べる。
まず、プランクの放射則によれば、黒体輻射の放射エネルギー・スペクトルe(λ,T)は、数5によって求めることができ、この数を用いることにより、黒体輻射の各温度での波長毎の分光エネルギーを求めることができる。
但し、λ:光の波長、T:放射体の絶対温度、h:プランク定数、k:ボルツマン定数、c:真空中の光速、とする。
A method for calculating the color temperature Ta from the chromaticity coordinates will be described.
First, according to Planck's radiation law, the radiant energy spectrum e (λ, T) of blackbody radiation can be obtained by Equation 5, and by using this number, the wavelength of blackbody radiation at each temperature is calculated. The spectral energy for each can be determined.
Where λ is the wavelength of light, T is the absolute temperature of the radiator, h is the Planck's constant, k is the Boltzmann constant, and c is the speed of light in vacuum.

Figure 0004692872
Figure 0004692872

そして、上述したように該波長毎の分光エネルギーと該波長の等色関数を乗算して得られた結果を、可視光領域の全体で総計(加算)して3刺激値を求め、色度座標が求まる。この方法によれば、色温度Taに該等する色度座標を求めることができるわけであり、逆算を行うことにより色度座標から色温度Taを求めることができる。
また、図2に示すように、色度座標(x、y、z)と色温度Taの換算テーブルを予め色温度演算部27に記録させておき、この換算テーブルを用いて、色度座標に該当する色温度Taを求めるようにしてもよい。
なお、ここでは、求めた色温度Taを6500Kとし、偏差Δuvの求めかたは周知技術なので、ここでは説明を省略する。
Then, as described above, the result obtained by multiplying the spectral energy for each wavelength by the color matching function of the wavelength is totaled (added) over the entire visible light region to obtain tristimulus values, and the chromaticity coordinates Is obtained. According to this method, the chromaticity coordinates equivalent to the color temperature Ta can be obtained, and the color temperature Ta can be obtained from the chromaticity coordinates by performing a reverse calculation.
Also, as shown in FIG. 2, a conversion table of chromaticity coordinates (x, y, z) and color temperature Ta is recorded in advance in the color temperature calculation unit 27, and the chromaticity coordinates are converted using this conversion table. The corresponding color temperature Ta may be obtained.
Here, the obtained color temperature Ta is set to 6500 K, and the method of obtaining the deviation Δuv is a well-known technique, so the description thereof is omitted here.

そして、色温度演算部27は、色温度Taを求めると、該色温度Taの値をホワイトバランス制御部28に出力し、色度座標・色温度情報メモリ29に該色温度Ta及び偏差Δuvを記憶させる。
制御回路14は、色度座標・色温度情報メモリ29に記憶されている偏差ΔuvがROM24に記録されている閾値より小さいか否かを判断し、小さいと判断すると許容範囲内と判断し、ホワイトバランス制御部28にホワイトバランスの制御を行う旨の制御信号を送る。
一方、制御回路14は、偏差ΔuvがROM24に記録されている閾値より大きいと判断した場合は、許容範囲外であると判断し、色温度測定のエラー処理を行う。
When the color temperature calculation unit 27 obtains the color temperature Ta, it outputs the value of the color temperature Ta to the white balance control unit 28, and stores the color temperature Ta and the deviation Δuv in the chromaticity coordinate / color temperature information memory 29. Remember me.
The control circuit 14 determines whether or not the deviation Δuv stored in the chromaticity coordinate / color temperature information memory 29 is smaller than the threshold value recorded in the ROM 24. A control signal for performing white balance control is sent to the balance control unit 28.
On the other hand, if the control circuit 14 determines that the deviation Δuv is larger than the threshold value recorded in the ROM 24, it determines that the deviation is outside the allowable range, and performs error processing for color temperature measurement.

ホワイトバランス制御部28は、制御回路14からホワイトバランスの制御を行う旨の制御信号を受け取ると、利得調整部11を制御することによりホワイトバランスを行う(ホワイトバランス制御手段)。このホワイトバランスを行う方法は多種あるが、より精密な色温度Taの計測値に基づいてホワイトバランスを制御するには、色温度TaとRGB成分の相対強度との特性データから求めた色温度Taに該当するRGB信号の利得制御量を相対強度の逆数から求めて、利得調整部11を制御することにより、ホワイトバランスを行う。
図3は、色温度TaとRGB成分の相対強度(5000Kを基準とした場合)を示したものである。現在の色温度Taは、図に示すように6500Kであり、RGB成分のそれぞれの相対強度は、1.14、1.00、0.76であることがわかる。
When receiving a control signal for white balance control from the control circuit 14, the white balance control unit 28 performs white balance by controlling the gain adjusting unit 11 (white balance control means). There are various methods for performing the white balance. To control the white balance based on a more precise measurement value of the color temperature Ta, the color temperature Ta obtained from the characteristic data of the color temperature Ta and the relative intensity of the RGB components. The white balance is obtained by obtaining the gain control amount of the RGB signal corresponding to the above from the reciprocal of the relative intensity and controlling the gain adjusting unit 11.
FIG. 3 shows the relative intensities of the color temperature Ta and the RGB components (when 5000K is used as a reference). As shown in the figure, the current color temperature Ta is 6500K, and it can be seen that the relative intensities of the RGB components are 1.14, 1.00, and 0.76.

図4は、色温度6500Kを色温度5000Kとなるように、利得調整部11を制御するときの様子を示したものである。
色温度演算部27が、検出した色温度6500Kをホワイトバランス制御部28に出力すると、ホワイトバランス制御部28は、R成分、G成分、B成分のそれぞれの相対強度の逆数(R成分;1/0.76、G成分;1、B成分;1/1.14)に相当する利得制御量となるように利得調整部11r、11g、11bを制御する。
そして、CCD7によって撮像されたRGB成分は、色分離回路10によってR成分、G成分、B成分に分離され、R成分は利得調整部11rで1/0.76倍に増幅され、G成分は利得調整部11gで1倍に増幅され、B成分は利得調整部11bで1/1.14倍に増幅され、それぞれのRGB成分が画像信号処理部12に送られる。
なお、求めた色度座標を元にホワイトバランスを行うようにしてもよい。
FIG. 4 shows a state in which the gain adjusting unit 11 is controlled so that the color temperature 6500K becomes the color temperature 5000K.
When the color temperature calculation unit 27 outputs the detected color temperature 6500K to the white balance control unit 28, the white balance control unit 28 reciprocates the relative intensity of each of the R component, the G component, and the B component (R component; 1 / The gain adjustment units 11r, 11g, and 11b are controlled so that the gain control amount corresponds to 0.76, G component; 1, B component; 1 / 1.14).
The RGB components picked up by the CCD 7 are separated into an R component, a G component, and a B component by the color separation circuit 10, and the R component is amplified to 1 / 0.76 times by the gain adjusting unit 11r, and the G component is gain. The adjustment unit 11g amplifies the signal by a factor of 1, the gain adjustment unit 11b amplifies the signal by a factor of 1 / 1.14, and each RGB component is sent to the image signal processing unit 12.
Note that white balance may be performed based on the obtained chromaticity coordinates.

B.デジタルカメラ1の動作
第1の実施の形態におけるデジタルカメラ1の動作を図5のフローチャートにしたがって説明する。
測光処理を行い(ステップS1)、プリズム回折格子17によって波長毎に分光された光をセンサアレイ18、ドライバー・アンプ19により受光されたアナログ信号をアナログデジタル変換器20でデジタル信号に変換して、光源光の分光エネルギー分布L(λi)を取得し、該取得した光源光の分光エネルギー分布の表データをエネルギー分布表メモリ21に記憶する(ステップS2)。
ここで、図6(a)は、プリズム回折格子18を介してセンサアレイ19等に入射される波長毎の分光エネルギー分布L(λi)の例を表したものであり、図6(b)は、エネルギー分布表メモリに記憶される分光エネルギー分布表の例を示したものである。
B. Operation of Digital Camera 1 The operation of the digital camera 1 in the first embodiment will be described with reference to the flowchart of FIG.
Photometric processing is performed (step S1), the light separated by the wavelength by the prism diffraction grating 17 is converted into a digital signal by the analog / digital converter 20 by converting the analog signal received by the sensor array 18 and the driver / amplifier 19; The spectral energy distribution L (λi) of the light source light is acquired, and the acquired table data of the spectral energy distribution of the light source light is stored in the energy distribution table memory 21 (step S2).
Here, FIG. 6A shows an example of the spectral energy distribution L (λi) for each wavelength incident on the sensor array 19 or the like via the prism diffraction grating 18, and FIG. 2 shows an example of a spectral energy distribution table stored in the energy distribution table memory.

波長別の分光エネルギー分布表L(λi)の取得を行うと、取得した分光エネルギー分布L(λi)とROM24に記録されているRGB表色系の等色関数(λi)、(λi)、(λi)から3刺激値R、G、Bの算出を行う(ステップS3)。この算出は、等色関数(λi)、(λi)、(λi)とエネルギー分布表メモリに記憶されている分光エネルギー分布L(λi)とを乗算し、各波長毎(λi)の乗算結果を波長領域のn帯域(i=0〜n−1)全体で総和して3刺激値R、G、Bを算出する。   When the spectral energy distribution table L (λi) for each wavelength is acquired, the acquired spectral energy distribution L (λi) and the color matching functions (λi), (λi), (λi) of the RGB color system recorded in the ROM 24 are obtained. Tristimulus values R, G, and B are calculated from λi) (step S3). This calculation is performed by multiplying the color matching functions (λi), (λi), (λi) by the spectral energy distribution L (λi) stored in the energy distribution table memory, and multiplying the result of each wavelength (λi). Tristimulus values R, G, and B are calculated by summing up all n bands (i = 0 to n−1) in the wavelength region.

具体的には、数1又は数2にしたがって3刺激値R、G、Bを算出することができる。
図7(c)は、RGB表色系の等色関数(λi)、(λi)、(λi)を示したものであり、ROM24には、図7(d)に示すような等色関数表のデータが記録されている。
Specifically, tristimulus values R, G, and B can be calculated according to Equation 1 or Equation 2.
FIG. 7C shows the color matching functions (λi), (λi), and (λi) of the RGB color system. The ROM 24 stores the color matching function table as shown in FIG. Data is recorded.

次いで、3刺激値RGBの算出を行うと、RGB表色系の3刺激値R、G、BをXYZ表色系の3刺激値X、Y、Zに変換する(ステップS4)。この変換は、数3にしたがって行うことができる。
なお、ROM24に、予めXYZ表色系の等色関数(λi)、(λi)、(λi)を記録しておき、分光エネルギー分布L(λi)とXYZ表色系の等色関数(λi)、(λi)、(λi)とから直接XYZ表色系の3刺激値X、Y、Zを算出するようにしてもよい。
図8(e)は、XYZ表色系の等色関数(λi)、(λi)、(λi)を示したものであり、ROM24には、図8(f)にしめすような等色関数表データを記録しておく。
Next, when the tristimulus values RGB are calculated, the tristimulus values R, G, and B of the RGB color system are converted into the tristimulus values X, Y, and Z of the XYZ color system (step S4). This conversion can be performed according to Equation 3.
Note that the XYZ color system color matching functions (λi), (λi), and (λi) are recorded in advance in the ROM 24, and the spectral energy distribution L (λi) and the XYZ color system color matching function (λi) are recorded. , (Λi), (λi) may be used to directly calculate the tristimulus values X, Y, Z of the XYZ color system.
FIG. 8E shows the color matching functions (λi), (λi), and (λi) of the XYZ color system, and the ROM 24 stores the color matching function table shown in FIG. Record the data.

次いで、算出した3刺激値X、Y、Zから色度座標(x、y、z)を数4にしたがって算出する(ステップS5)。
次いで、色度座標(x、y、z)から色温度Ta、黒体輻射軌跡との偏差Δuvの算出を行う(ステップS6)。この算出方法としては、上述したプランクの放射則により黒体輻射の各温度での波長毎の分光エネルギーを求め、波長毎の分光エネルギーと当該波長毎の等色関数とを乗算した結果を、可視光領域全体で総計(加算)して3刺激値を求めてから、色度座標を算出することにより色温度に該当する色度座標を求めるという方法を逆算することにより色度座標に該当する色温度Taを算出することができる。ここでは、求めた色温度Taは6500K(ケルビン)とする。なお、色温度の単位は、MIREDやLB指数等のほかの単位であってもよい。
また、図2に示すような色温度と色度座標の換算テーブルを予め色温度演算部27に記録しておくことにより、この色温度と色度座標の換算テーブルを用いて色度座標から色温度Taを求めるようにしてもよい。
なお、偏差Δuvの算出方法は周知技術なのでここでは説明を省略する。
Next, chromaticity coordinates (x, y, z) are calculated from the calculated tristimulus values X, Y, Z according to Equation 4 (step S5).
Next, the deviation Δuv from the color temperature Ta and the black body radiation locus is calculated from the chromaticity coordinates (x, y, z) (step S6). As a calculation method, the spectral energy for each wavelength at each temperature of black body radiation is obtained according to the above-mentioned Planck's radiation law, and the result obtained by multiplying the spectral energy for each wavelength by the color matching function for each wavelength is visible. The color corresponding to the chromaticity coordinates is calculated by back-calculating the method of calculating the chromaticity coordinates corresponding to the color temperature by calculating the chromaticity coordinates after obtaining the total (addition) over the entire light region. The temperature Ta can be calculated. Here, the obtained color temperature Ta is 6500K (Kelvin). The unit of color temperature may be other units such as MIRED and LB index.
Further, a color temperature and chromaticity coordinate conversion table as shown in FIG. 2 is recorded in advance in the color temperature calculation unit 27, so that the color temperature and chromaticity coordinate conversion table is used to convert the color temperature and chromaticity coordinate from the chromaticity coordinate to the color. The temperature Ta may be obtained.
Since the method for calculating the deviation Δuv is a well-known technique, the description thereof is omitted here.

次いで、求めた偏差Δuvが許容範囲内であるか否かの判断を行う(ステップS7)。この判断は、予めROM24に記録されている閾値より小さいか否かを判断し、小さい場合は許容範囲内であると判断し、大きい場合は許容範囲外であると判断する。
許容範囲外であると判断すると、色温度の測定が失敗した旨を報知するエラー表示を行う。
Next, it is determined whether or not the obtained deviation Δuv is within an allowable range (step S7). In this determination, it is determined whether or not it is smaller than a threshold value recorded in advance in the ROM 24. If it is smaller, it is determined to be within the allowable range, and if it is larger, it is determined to be outside the allowable range.
If it is determined that it is out of the allowable range, an error display for notifying that the measurement of the color temperature has failed is performed.

一方、許容範囲内であると判断すると、色温度や色度座標を元に、撮像信号のホワイトバランスの制御を行う(ステップS8)。
このホワイトバランスの制御の方法は多種あるが、より精密な色温度Taの計測値に基づいてホワイトバランスを制御するには、色温度TaとRGB成分の相対強度との特性データから求めた色温度Taに該当するRGB信号の利得制御量を相対強度の逆数から求めて、利得調整部11を制御することにより、ホワイトバランスを行う。
On the other hand, if it is determined that it is within the allowable range, the white balance of the imaging signal is controlled based on the color temperature and chromaticity coordinates (step S8).
There are various methods for controlling the white balance, but in order to control the white balance based on a more precise measurement value of the color temperature Ta, the color temperature obtained from the characteristic data of the color temperature Ta and the relative intensity of the RGB components. White balance is performed by obtaining the gain control amount of the RGB signal corresponding to Ta from the reciprocal of the relative intensity and controlling the gain adjusting unit 11.

以上のように、第1の実施の形態においては、光源の分光分布特性を計測する分光光度計測計を設けて、光源光のエネルギー量の分光分布と、等色関数とから3刺激値を算出し、該算出した3刺激値から色度座標を算出し、該算出した色度座標から色温度を求めるので、高精度な色温度に基づき精密なWBを行うことができる。
また、光源毎の識別手段や色温度検出手段等を個々に設ける必要もなく、3波長型蛍光灯など多様な光源や複数光源が混在した場合でもそのまま対応することができる。
また、色度座標や色温度を求めてホワイトバランスを行うので、蛍光灯などの光源でも、ケルビンやMIRED、LB指数など、具体的な色温度単位や、色度座標で指定したWB設定やWBブラケティング撮影なども可能となる。
As described above, in the first embodiment, a spectrophotometer for measuring the spectral distribution characteristics of the light source is provided, and tristimulus values are calculated from the spectral distribution of the energy amount of the light source light and the color matching function. Since the chromaticity coordinates are calculated from the calculated tristimulus values and the color temperature is obtained from the calculated chromaticity coordinates, precise WB can be performed based on the highly accurate color temperature.
In addition, it is not necessary to separately provide an identification unit, a color temperature detection unit, and the like for each light source, and even when various light sources such as a three-wavelength fluorescent lamp or a plurality of light sources are mixed, it is possible to cope with them.
Also, since white balance is obtained by obtaining chromaticity coordinates and color temperature, even with a light source such as a fluorescent lamp, WB settings and WB specified by specific color temperature units such as Kelvin, MIRED, and LB index, and chromaticity coordinates Bracketing photography is also possible.

なお、第1の実施の形態においては、XYZ表色系の3刺激値XYZから色度座標を算出するようにしたが、XYZ表色系の3刺激値XYZを求めることなく、そのまま、RGB表色系の3刺激値RGBから色度座標を求めるようにしてもよい。
また、明所視での比視感度特性に基づく等色関数に替えて、暗所視や色弱者の比視感度特性に基づく等色関数に設定して、それらの場合の刺激値や色度座標、色温度を算出するようにしてもよい。
In the first embodiment, the chromaticity coordinates are calculated from the tristimulus values XYZ of the XYZ color system. However, without obtaining the tristimulus values XYZ of the XYZ color system, the RGB table is used as it is. You may make it obtain | require a chromaticity coordinate from tristimulus value RGB of a color system.
In addition, instead of the color matching function based on the photosensitivity characteristics in photopic vision, the color matching function is set based on the characteristics of the dark vision and the visual acuity characteristics of the visually impaired. You may make it calculate a coordinate and color temperature.

[第2の実施の形態]
次に、第2の実施の形態について説明する。
第2の実施の形態は、撮像した被写体の肌色がユーザ好みの肌色となるように肌色バランス制御を行うというものである。
[Second Embodiment]
Next, a second embodiment will be described.
In the second embodiment, skin color balance control is performed so that the skin color of the imaged subject becomes the user's favorite skin color.

C.デジタルカメラ1の構成
第2の実施の形態も、図1に示したものと同様の構成を有するデジタルカメラ1を用いることにより本発明の撮像装置を実現する。
しかし、以下の点で構成の機能が異なる。
C. Configuration of Digital Camera 1 The second embodiment also implements the imaging apparatus of the present invention by using a digital camera 1 having a configuration similar to that shown in FIG.
However, the function of the configuration is different in the following points.

まず、ROM24には、更に、図9に示すような被写体(ここでは肌色)の分光反射率特性R2(λi)のデータが複数記録されている。
制御回路14は、第1の実施の形態に示すようにホワイトバランス制御部28によって撮像された画像データのホワイトバランスを行うと、ホワイトバランスがされた該画像データの画像(被写体のスルー画像)を表示部15に表示させる(表示制御手段)。
First, the ROM 24 further records a plurality of data of spectral reflectance characteristics R2 (λi) of the subject (skin color here) as shown in FIG.
When the control circuit 14 performs white balance of the image data captured by the white balance control unit 28 as shown in the first embodiment, the image of the image data with the white balance (through image of the subject) is displayed. It is displayed on the display unit 15 (display control means).

このとき、ユーザは、表示部15に表示された被写体のスルー画像を見ながら、キー入力部16を操作することにより、フォーカス枠や測光枠などを操作して、好みの肌色にしたい被写体像の一部領域(顔や、腕など)を指定する。
制御回路14は、ユーザによって指定された被写体像の一部領域が指定されたか否かを判断し、指定されたと判断すると、指定された一部領域を指定エリアとして指定する。この一部領域が指定されたか否かの判断は、キー入力部16から一部領域を指定する旨の操作信号が送られてきたか否かにより判断する。
また、制御回路14は、一部領域の指定が行われると(指定エリアの指定を行うと)、ROM24に記録されている複数の被写体の分光反射率特性R2(λi)(色の情報)の一覧表示を表示部15に表示させる。
At this time, the user operates the key input unit 16 while viewing the through image of the subject displayed on the display unit 15 to operate the focus frame, the photometry frame, etc. Specify a partial area (face, arm, etc.).
The control circuit 14 determines whether or not a partial area of the subject image specified by the user has been specified, and if it is determined that it has been specified, specifies the specified partial area as the specified area. The determination as to whether or not the partial area has been designated is made based on whether or not an operation signal for designating the partial area has been sent from the key input unit 16.
Further, when a partial area is designated (designated area is designated), the control circuit 14 specifies spectral reflectance characteristics R2 (λi) (color information) of a plurality of subjects recorded in the ROM 24. A list display is displayed on the display unit 15.

このとき、ユーザはキー入力部16を操作することにより、表示部15に表示された分光反射率特性R2(λi)の一覧表示の中から指定した一部領域が自分の好みの肌色となるような分光反射率特性R2(λi)を選択する。
なお、分光反射率特性R2(λi)の一覧表示を表示部15に表示させないで、例えば、肌色に近い複数の色度や色見本が並んだパレットを表示部16に表示させて、ユーザが該表示されたパレットの中から色度や色見本を選択するようにし、該選択した色度や色見本に相当する色温度(色の情報)や分光反射率特性R2(λi)(色の情報)を自動的に選択できるようにしてもよい。
At this time, the user operates the key input unit 16 so that the partial region designated from the list display of the spectral reflectance characteristic R2 (λi) displayed on the display unit 15 becomes his / her favorite skin color. Spectral reflectance characteristic R2 (λi) is selected.
The list of spectral reflectance characteristics R2 (λi) is not displayed on the display unit 15. For example, the display unit 16 displays a palette in which a plurality of chromaticities and color samples close to skin color are arranged. A chromaticity or color sample is selected from the displayed palette, and the color temperature (color information) or spectral reflectance characteristic R2 (λi) (color information) corresponding to the selected chromaticity or color sample is selected. May be selected automatically.

制御回路14は、ユーザによって分光反射率特性R2(λi)が選択されたか否かを判断し、選択されたと判断すると、該選択された分光反射率特性R2を色の情報と設定し(設定手段)、該設定した色の情報、つまり、分光反射率特性R2(λi)をROM24から取得する旨の制御信号を刺激値演算部23に送る。
刺激値演算部23は、制御回路14から設定された分光反射率特性R2(λi)を取得する旨の操作信号が送られてくると、ROM24から該選択された分光反射率特性R2(λi)の取得を行う。
The control circuit 14 determines whether or not the spectral reflectance characteristic R2 (λi) has been selected by the user. If the control circuit 14 determines that the spectral reflectance characteristic R2 (λi) has been selected, the control circuit 14 sets the selected spectral reflectance characteristic R2 as color information (setting means). ), A control signal indicating that the set color information, that is, the spectral reflectance characteristic R 2 (λi) is acquired from the ROM 24 is sent to the stimulus value calculation unit 23.
When an operation signal for acquiring the spectral reflectance characteristic R2 (λi) set from the control circuit 14 is sent from the control circuit 14, the stimulus value calculation unit 23 receives the selected spectral reflectance characteristic R2 (λi) from the ROM 24. Get the.

そして、刺激値演算部23は、エネルギー分布表メモリ21に記憶されている光源光の分光エネルギー分布L1(λi)と該取得した分光反射率特性R2(λi)から、光原光が被写体に反射されて撮像系(撮像レンズ2、CCD7等)に入射する光の分光エネルギー分布L2(λi)のシミュレーション演算を行う(演算手段)。この分光エネルギー分布L2(λi)のシミュレーション演算は、数6によって求めることができる。   Then, the stimulus value calculation unit 23 reflects the light source light to the subject from the spectral energy distribution L1 (λi) of the light source light stored in the energy distribution table memory 21 and the acquired spectral reflectance characteristic R2 (λi). Then, a simulation calculation of the spectral energy distribution L2 (λi) of the light incident on the imaging system (imaging lens 2, CCD 7, etc.) is performed (calculation means). The simulation calculation of the spectral energy distribution L2 (λi) can be obtained by Equation 6.

Figure 0004692872
Figure 0004692872

そして、刺激値演算部23は、該算出した分光エネルギー分布L2(λi)とROM24に記録されている等色関数とから3刺激値の算出を行い、該求めた3刺激値を色度座標演算部25に出力する。
色度座標演算部25は、入力された3刺激値から色度座標(x2、y2、z2)の算出を行い(補正座標算出手段)、該算出した色度座標(x2、y2、z2)を色温度演算部27に出力する。また、該算出した色度座標(x2、y2、z2)を色度座標・色温度情報メモリ29に記憶させる。
Then, the stimulus value calculator 23 calculates tristimulus values from the calculated spectral energy distribution L2 (λi) and the color matching function recorded in the ROM 24, and calculates the determined tristimulus values as chromaticity coordinates. To the unit 25.
The chromaticity coordinate calculation unit 25 calculates chromaticity coordinates (x2, y2, z2) from the input tristimulus values (corrected coordinate calculation means), and uses the calculated chromaticity coordinates (x2, y2, z2). Output to the color temperature calculation unit 27. The calculated chromaticity coordinates (x2, y2, z2) are stored in the chromaticity coordinate / color temperature information memory 29.

色温度演算部27は、入力された色度座標(x2、y2、z2)から色温度Ta2の算出を行い(補正色温度算出手段)、色度座標・色温度情報メモリ29に記憶させる。
また、制御回路14は、利得調整部11r、11g、11bから出力されるRGB成分のうち、指定エリアに対応するRGB成分の取得を行い、取得したRGB成分から分光エネルギー分布L3(λi)を求める(算出手段)。そして、該求めた分光エネルギー分布L3(λi)を刺激値演算部23に出力する。
刺激値演算部23に入力された分光エネルギー分布L3(λi)から、刺激値演算部23、色度座標演算部25、色温度演算部27を介して、指定エリアの色度座標(x3、y3、z3)の算出(補正座標算出手段)、色温度Ta3の算出(補正色温度算出手段)を行う。また、該求められた色度座標(x3、y3、z3)、及び色温度Ta3は色度座標・色温度情報メモリ29に記憶する。
The color temperature calculation unit 27 calculates the color temperature Ta2 from the input chromaticity coordinates (x2, y2, z2) (corrected color temperature calculation means) and stores it in the chromaticity coordinate / color temperature information memory 29.
In addition, the control circuit 14 acquires an RGB component corresponding to the designated area among the RGB components output from the gain adjustment units 11r, 11g, and 11b, and obtains a spectral energy distribution L3 (λi) from the acquired RGB component. (Calculation means). Then, the obtained spectral energy distribution L3 (λi) is output to the stimulus value calculator 23.
From the spectral energy distribution L3 (λi) input to the stimulus value calculator 23, the chromaticity coordinates (x3, y3) of the designated area are passed through the stimulus value calculator 23, the chromaticity coordinate calculator 25, and the color temperature calculator 27. , Z3) (correction coordinate calculation means) and color temperature Ta3 (correction color temperature calculation means). Further, the obtained chromaticity coordinates (x3, y3, z3) and the color temperature Ta3 are stored in the chromaticity coordinate / color temperature information memory 29.

制御回路14は、色度座標・色温度情報メモリ29に記憶されている、指定エリアの色度座標(x3、y3、z3)がシミュレーション演算によって求められたL2(λi)の色度座標(x2、y2、z3)に略一致するように、又は指定エリアの色温度Ta3がシミュレーション演算によって求められたL2(λi)の色温度Ta2に略一致するようにホワイトバランス制御部に制御信号を送る。
なお、指定エリアの分光エネルギー分布L3(λi)がシミュレーション演算によって求められたL2(λi)に略一致するようにホワイトバランス制御部28に制御信号を送るようにしてもよい。
The control circuit 14 stores the chromaticity coordinates (x3, y3, z3) of the designated area stored in the chromaticity coordinate / color temperature information memory 29 and the chromaticity coordinates (x2) of L2 (λi) obtained by the simulation calculation. , Y2, z3), or a control signal is sent to the white balance control unit so that the color temperature Ta3 of the designated area substantially matches the color temperature Ta2 of L2 (λi) obtained by the simulation calculation.
Note that a control signal may be sent to the white balance control unit 28 so that the spectral energy distribution L3 (λi) of the designated area substantially matches L2 (λi) obtained by the simulation calculation.

そして、ホワイトバランス制御28送られてきた制御信号にしたがって利得調整部11を調整することによりRGB成分全体の利得を調整してホワイトバランス処理を行う(ホワイトバランス制御手段)。
そして制御回路14は、利得調整部11r、11g、11bから出力された撮像信号のRGBの各成分うち、ユーザによって指定された一部領域の各成分の再取得を行い、その分光エネルギー分布L´3(λi)を求め、該分光エネルギー分布L3´(λi)を刺激値演算部23に出力し、刺激値演算部23、色度座標演算部25、色温度演算部29を介して算出され、色度座標・色温度情報メモリ29に記憶された色度座標(x3´、y3´、z3´)、色温度Ta3´を被写体のスルー画像とともに表示部15に表示させる(表示制御手段)。
Then, the white balance processing is performed by adjusting the gain of the entire RGB component by adjusting the gain adjusting unit 11 according to the control signal sent to the white balance control 28 (white balance control means).
Then, the control circuit 14 re-acquires each component of the partial region designated by the user among the RGB components of the imaging signals output from the gain adjusting units 11r, 11g, and 11b, and the spectral energy distribution L ′ thereof. 3 (λi) is obtained, the spectral energy distribution L3 ′ (λi) is output to the stimulus value calculator 23, calculated via the stimulus value calculator 23, the chromaticity coordinate calculator 25, and the color temperature calculator 29, The chromaticity coordinates (x3 ′, y3 ′, z3 ′) and the color temperature Ta3 ′ stored in the chromaticity coordinate / color temperature information memory 29 are displayed on the display unit 15 together with the through image of the subject (display control means).

D.デジタルカメラ1の動作
第2の実施の形態におけるデジタルカメラ1の動作を図10、図11のフローチャートにしたがって説明する。
測光処理を行い(ステップS21)、プリズム回折格子17によって波長毎に分光された光をセンサアレイ18、ドライバー・アンプ19、アナログデジタル変換器20により受光されたアナログ信号をデジタル信号に変換して、光源光の分光エネルギー分布L1(λi)を取得し、該取得した光源光の分光エネルギー分布の表データをエネルギー分布表メモリ21に記憶する(ステップS22)。
D. Operation of Digital Camera 1 The operation of the digital camera 1 in the second embodiment will be described with reference to the flowcharts of FIGS.
A photometric process is performed (step S21), and the light separated by the wavelength by the prism diffraction grating 17 is converted into a digital signal from the analog signal received by the sensor array 18, the driver amplifier 19, and the analog-digital converter 20. The spectral energy distribution L1 (λi) of the light source light is acquired, and the acquired table data of the spectral energy distribution of the light source light is stored in the energy distribution table memory 21 (step S22).

次いで、エネルギー分布表メモリ21に記憶されている光源光の分光エネルギー分布L1(λi)とROM24に記録されている等色関数から3刺激値の算出、該算出した3刺激値から色度座標(x1、y1、z1)の算出、該算出した色度座標(x1、y1、z1)から色温度Taの算出を行う(ステップS23)。
次いで、該算出した色温度Taを元に、利得調整部11を制御することによりホワイトバランス処理を行う(ステップS24)。
ここでまでの、動作は、第1の実施の形態と同様である。
Next, the tristimulus value is calculated from the spectral energy distribution L1 (λi) of the light source light stored in the energy distribution table memory 21 and the color matching function recorded in the ROM 24, and the chromaticity coordinates ( Calculation of x1, y1, z1), and calculation of the color temperature Ta from the calculated chromaticity coordinates (x1, y1, z1) (step S23).
Next, white balance processing is performed by controlling the gain adjusting unit 11 based on the calculated color temperature Ta (step S24).
The operations up to here are the same as those in the first embodiment.

次いで、ホワイトバランス処理を行うと、ホワイトバランス処理後のCCD7によって撮像された被写体のスルー画像を表示部15に表示させる(ステップS25)。
次いで、ユーザによって指定された被写体像の一部領域を指定エリアとして指定する(ステップS26)。
ここで、ユーザは、被写体のスルー画像を見ながら、キー入力部16を操作することにより、フォーカス枠や測光枠などを操作して、好みの肌色にしたい被写体像の一部領域(顔や腕など)の指定を行う。なお、このユーザによる一部領域の指定は、タッチパネルなどにより直接一部領域を指定するようにしてもよいし、カーソルの操作により一部領域を指定するようにしてよい。
Next, when white balance processing is performed, a through image of the subject imaged by the CCD 7 after white balance processing is displayed on the display unit 15 (step S25).
Next, a part of the subject image designated by the user is designated as a designated area (step S26).
Here, the user operates the key input unit 16 while viewing the through image of the subject to operate the focus frame, the photometry frame, etc. Etc.). The partial area specified by the user may be directly specified by a touch panel or the like, or may be specified by operating a cursor.

次いで、ROM24に記録されている複数の分光反射率特性R2(λi)を表示部15に一覧表示させ、ユーザによって選択された分光反射率特性R2(λi)をROM24から取得する(ステップS27)。
ここで、ユーザはキー入力部16を操作することにより、表示部15に表示された分光反射率特性R2(λi)の一覧表示の中から、指定した一部領域の肌色が自分の好みの肌色となるような分光反射率特性R2(λi)を選択する。なお、分光反射率特性R2(λi)の一覧表示を表示部15に表示させないで、例えば、肌色に近い複数の色度や色見本が並んだパレットを表示部16に表示させて、ユーザが該表示されたパレットの中から色度や色見本を選択するようにし、該選択された色度や色見本に相当する色温度や分光分布特性に相当する分光反射率特性R2(λi)を取得するようにしてもよい。
Next, a plurality of spectral reflectance characteristics R2 (λi) recorded in the ROM 24 are displayed as a list on the display unit 15, and the spectral reflectance characteristics R2 (λi) selected by the user are acquired from the ROM 24 (step S27).
Here, when the user operates the key input unit 16, the skin color of the specified partial area from the list display of the spectral reflectance characteristics R2 (λi) displayed on the display unit 15 is his / her favorite skin color. Spectral reflectance characteristic R2 (λi) is selected such that The list of spectral reflectance characteristics R2 (λi) is not displayed on the display unit 15. For example, the display unit 16 displays a palette in which a plurality of chromaticities and color samples close to skin color are arranged. A chromaticity or color sample is selected from the displayed palette, and a spectral reflectance characteristic R2 (λi) corresponding to the color temperature or spectral distribution characteristic corresponding to the selected chromaticity or color sample is acquired. You may do it.

次いで、ステップS22で取得した光源光の分光エネルギー分布L1(λi)と、ステップS27で取得した分光反射率特性R2(λi)とから、光源光が被写体に反射されて撮像系(撮像レンズ、CCD7等)に入射する光の分光エネルギー分布L2(λi)のシミュレーション演算を行う(ステップS28)。この分光エネルギー分布L2(λi)のシミュレーション演算は、数6によって求めることができる。   Next, the light source light is reflected by the subject from the spectral energy distribution L1 (λi) of the light source light acquired in step S22 and the spectral reflectance characteristic R2 (λi) acquired in step S27, and the imaging system (imaging lens, CCD 7). Etc.) and a simulation calculation of the spectral energy distribution L2 (λi) of the light incident on it (step S28). The simulation calculation of the spectral energy distribution L2 (λi) can be obtained by Equation 6.

次いで、該シミュレーション演算によって求めた分光エネルギー分布L2(λi)と等色関数から3刺激値の算出、該算出した3刺激値から色度座標(x2、y2、z2)の算出、該算出した色度座標(x2、y2、z2)から色温度Ta2の算出を行い、該算出した色度座標(x2、y2、z2)及び色温度Ta2を色度座標・色温度情報メモリ29に記憶させる(ステップS29)。
次いで、ステップS30で、指定した指定エリア(ユーザによって指定された被写体像の一部領域)の撮像信号のRGBの各成分を取得する。
Next, tristimulus values are calculated from the spectral energy distribution L2 (λi) obtained by the simulation calculation and the color matching function, chromaticity coordinates (x2, y2, z2) are calculated from the calculated tristimulus values, and the calculated color The color temperature Ta2 is calculated from the degree coordinates (x2, y2, z2), and the calculated chromaticity coordinates (x2, y2, z2) and the color temperature Ta2 are stored in the chromaticity coordinate / color temperature information memory 29 (step) S29).
Next, in step S30, RGB components of the imaging signal in the designated area specified (part of the subject image designated by the user) are acquired.

次いで、取得した指定エリアの撮像信号のRGBの各成分から分光エネルギー分布L3(λi)を求め、該求めた分光エネルギー分布L3(λi)から3刺激値、色度座標(x3、y3、z3)、色温度Ta3の算出を行い、該算出した色度座標(x3、y3、z3)及び色温度Ta3を色度座標・色温度情報メモリ29に記憶させる(ステップS31)。   Next, a spectral energy distribution L3 (λi) is obtained from the RGB components of the acquired imaging signal of the designated area, and tristimulus values and chromaticity coordinates (x3, y3, z3) are obtained from the obtained spectral energy distribution L3 (λi). The color temperature Ta3 is calculated, and the calculated chromaticity coordinates (x3, y3, z3) and the color temperature Ta3 are stored in the chromaticity coordinate / color temperature information memory 29 (step S31).

次いで、色度座標・色温度情報メモリ29に記録されている、指定エリアの色度座標(x3、y3、z3)がシミュレーション演算によって求められたL2(λi)の色度座標(x2、y2、z3)に略一致するように、又は指定エリアの分光エネルギー分布L3(λi)がシミュレーション演算によって求められた分光エネルギー分布L2(λi)に略一致するようにホワイトバランス制御部に制御信号を送り、ホワイトバランス制御部28は、該制御信号にしたがって利得調整部11を制御することによりRGB成分全体の利得を調整してホワイトバランス処理を行う(ステップS32)。
なお、指定エリアの色温度Ta3がシミュレーション演算によって求められた分光エネルギー分布L2(λi)の色温度Ta2に略一致するようにホワイトバランス処理を行うようにしてもよい。
Next, the chromaticity coordinates (x3, y3, z3) of the designated area recorded in the chromaticity coordinate / color temperature information memory 29 are obtained as the chromaticity coordinates (x2, y2, z3), a control signal is sent to the white balance control unit so that the spectral energy distribution L3 (λi) of the designated area substantially matches the spectral energy distribution L2 (λi) obtained by the simulation calculation, The white balance control unit 28 controls the gain adjustment unit 11 in accordance with the control signal to adjust the gain of the entire RGB component and perform white balance processing (step S32).
Note that the white balance processing may be performed so that the color temperature Ta3 of the designated area substantially matches the color temperature Ta2 of the spectral energy distribution L2 (λi) obtained by the simulation calculation.

次いで、利得調整部11から出力された撮像信号のRGBの各成分のうち、ユーザによって指定された一部領域のRGBを再度取得し、その分光エネルギー分布L3´(λi)を求めてから、色度座標(x3´、y3´、z3´)及び色温度Ta3´を再び算出する(ステップS33)。
次いで、被写体のスルー画像とともに、色度図を表示部15に表示させ、該色度図上に該算出した指定エリアの色度座標(x3´、y3´、z3´)及び色温度Ta3´に表示させる(ステップS34)。
Next, among the RGB components of the imaging signal output from the gain adjustment unit 11, the RGB of a partial region designated by the user is obtained again, and the spectral energy distribution L3 ′ (λi) is obtained. The degree coordinates (x3 ′, y3 ′, z3 ′) and the color temperature Ta3 ′ are calculated again (step S33).
Next, a chromaticity diagram is displayed on the display unit 15 together with the through image of the subject, and the calculated chromaticity coordinates (x3 ′, y3 ′, z3 ′) and color temperature Ta3 ′ of the designated area are displayed on the chromaticity diagram. It is displayed (step S34).

図12は、被写体のスルー画像とともに表示された色度座標の例を示すものである。なお、ここでは、色温度Taを表示していない。
図を見るとわかるように、被写体(女性の顔)のスルー画像とともに色度図が表示されている。この色度図上にY軸と平行する太線100と、X軸に平行する太線110が表示されている。この太線100と太線110の交差点がステップS34で算出した色度座標(x3´、y3´)を示すものである。色度図では、色度座標のx、y、zのうちx、yのみしか表示を行わない。色度座標x、y、zは、x+y+z=1の関係を有するので、x、yとがわかれば必然的にzがわかるからである。また、枠120は一部領域を指定するためのフォーカス枠や測光枠である。
FIG. 12 shows an example of chromaticity coordinates displayed together with a through image of a subject. Here, the color temperature Ta is not displayed.
As can be seen from the figure, a chromaticity diagram is displayed together with a through image of the subject (female face). On the chromaticity diagram, a thick line 100 parallel to the Y axis and a thick line 110 parallel to the X axis are displayed. The intersection of the bold line 100 and the bold line 110 indicates the chromaticity coordinates (x3 ′, y3 ′) calculated in step S34. In the chromaticity diagram, only x and y of the chromaticity coordinates x, y and z are displayed. This is because the chromaticity coordinates x, y, and z have a relationship of x + y + z = 1, so that if x and y are known, z is inevitably known. A frame 120 is a focus frame or a photometric frame for designating a partial area.

なお、この太線100と太線110の色度図上の位置をユーザのキー入力部16の操作により変えることができるようにしてもよい(太線100及び太線110は座標カーソルとして機能する)。これにより、現在の色度座標を認識しながら、色度座標を変更することにより、指定した一部領域の色を好みの肌色となるように肌色バランスの微調整を行うことできる。つまり、変更された色度座標(色の情報)と、指定エリアの撮像信号の分光エネルギー分布L3(λi)から求められた色度座標とが略一致するようにホワイトバランス処理を行う。これにより、分光反射率特性R2(λi)と光源光の分光エネルギー分布L1(λ)とから分光エネルギー分布L2(λi)を求め、更に、該分光エネルギー分布L2(λi)から色度座標を求めるという動作をしなくてすむ。   Note that the positions of the thick line 100 and the thick line 110 on the chromaticity diagram may be changed by the user's operation of the key input unit 16 (the thick line 100 and the thick line 110 function as a coordinate cursor). Thus, by recognizing the current chromaticity coordinates and changing the chromaticity coordinates, it is possible to finely adjust the skin color balance so that the color of the specified partial region becomes a favorite skin color. That is, the white balance processing is performed so that the changed chromaticity coordinates (color information) and the chromaticity coordinates obtained from the spectral energy distribution L3 (λi) of the imaging signal in the designated area substantially coincide. Thereby, the spectral energy distribution L2 (λi) is obtained from the spectral reflectance characteristic R2 (λi) and the spectral energy distribution L1 (λ) of the light source light, and further, the chromaticity coordinates are obtained from the spectral energy distribution L2 (λi). It is not necessary to do this.

以上のように、第2の実施の形態においては、好みの肌色となるような分光反射率特性と光源光の分光エネルギー分布特性から、光源光が被写体に反射されて撮像系に入射する光の分光エネルギー分布特性をシミュレーション演算して、ホワイトバランス処理を行うので、従来のように、顔や肌色部分だけを抽出したり、強制的に肌領域だけを色変換したりしないで、画像全体の色調を一緒に補正するので、顔や肌色だけが浮いたり、異なる画質になったり、違和感のある色調になるこがなく、自然な画像を得ることができる。
また、処理が簡易なので、高速に肌色バランスを行うことができる。
また、ユーザ好みの肌色となるように肌色バランスを行うことができる。
As described above, in the second embodiment, the light source light reflected from the subject and incident on the imaging system is obtained from the spectral reflectance characteristic that gives the desired skin color and the spectral energy distribution characteristic of the light source light. Since the spectral energy distribution characteristics are simulated and white balance processing is performed, the color tone of the entire image can be reduced without extracting only the face or skin color part or forcibly color-converting only the skin area as in the past. Are corrected together, so that only the face and skin color are not lifted, the image quality is different, and the color tone does not become strange, so that a natural image can be obtained.
Further, since the process is simple, the skin color balance can be performed at high speed.
Further, the skin color balance can be performed so that the user's favorite skin color is obtained.

なお、上記第2の実施の形態においては、肌色バランスについて説明したが、これに限るものではなく、カラーバランスを行えるようにしてもよい。
つまり、ROM24に各色度に相当する分光反射率特性のデータを記録しておき、指定された一部領域の色がユーザの好みの色となるような分光反射率特性をユーザが選択し、該選択された分光反射率特性と光源光の分光エネルギー分布とから、光源光が被写体に反射されて撮像系に入射する光の分光エネルギー分布をシミュレーション演算して、ホワイトバランス処理を行うようにしてもよい。
In the second embodiment, the skin color balance has been described. However, the present invention is not limited to this, and color balance may be performed.
That is, the spectral reflectance characteristic data corresponding to each chromaticity is recorded in the ROM 24, and the user selects the spectral reflectance characteristic such that the color of the specified partial region becomes the user's favorite color. Based on the selected spectral reflectance characteristic and the spectral energy distribution of the light source light, the spectral energy distribution of the light incident on the imaging system after the light source light is reflected by the subject may be simulated to perform white balance processing. Good.

また、肌色バランス、カラーバランスを行う前に、図12に示したような、色度図を被写体のスルー画像とともに表示しておき、ユーザが色度図上の太線100、太線110を操作して色度座標を設定することにより、肌色バランス、カラーバランスを行うことができるようにしてもよい。   Before performing skin color balance and color balance, a chromaticity diagram as shown in FIG. 12 is displayed together with a through image of the subject, and the user operates the thick line 100 and the thick line 110 on the chromaticity diagram. By setting chromaticity coordinates, it may be possible to perform skin color balance and color balance.

また、被写体のスルー画像とともに表示させる色度図は、RGB表色系の色度図、XYZ表色系の色度図のほかに、UVW表色系(CIE1960)のUV色度図、U均等色空間(CIE1964)、CIELABのL均等色空間、マンセル表色系など、他の表色系の色度座標、色度図、色度空間座標などに変換して表示してもよい。
図13(g)は、XYZ表色系の代わりにマンセル表色系を表示したときの例を示すものであり、図13(h)は、CIELAB均等色空間を示したときの例を示すものである。
The chromaticity diagram to be displayed together with the through image of the subject includes the chromaticity diagram of the RGB color system, the chromaticity diagram of the XYZ color system, the UV chromaticity diagram of the UVW color system (CIE1960), U * V * W * Uniform color space (CIE1964), CIELAB's L * A * B * Uniform color space, Munsell color system, and other chromaticity coordinates, chromaticity diagram, chromaticity space coordinates, etc. May be displayed.
FIG. 13G shows an example when the Munsell color system is displayed instead of the XYZ color system, and FIG. 13H shows an example when the CIELAB uniform color space is shown. It is.

また、図14、図15に示すように、RGBセンサによる外部測光方式やCCD内部測光方式の色温度検出を用いて肌色バランス制御回路を構成するようにしてもよい。
この場合には、計測した光源光の色度座標や色温度に基づき、WB調整後の撮像画像データから、フォーカス枠などで指定した一部領域のデータを元に、そのR、G、B信号の相対強度を求め、図3に示すような色温度とRGB成分の相対強度の特性データや換算表を参照して色温度を求め、図2の色温度と色度座標の対照表などから色度座標を求めるようにしてもよい。或いは、撮像信号のRGBから直接3刺激値を算出し、刺激値から色度座標を求めるようにしてもよい。
Further, as shown in FIGS. 14 and 15, the skin color balance control circuit may be configured using color temperature detection of an external photometry method using an RGB sensor or a CCD internal photometry method.
In this case, based on the measured chromaticity coordinates and color temperature of the light source light, the R, G, B signals are obtained from the captured image data after WB adjustment based on the data of a partial area designated by the focus frame or the like. 3 is obtained, the color temperature is obtained by referring to the color temperature and RGB component relative intensity characteristic data as shown in FIG. 3 and a conversion table, and the color temperature and the chromaticity coordinate comparison table of FIG. The degree coordinate may be obtained. Alternatively, the tristimulus values may be directly calculated from the RGB of the imaging signal, and the chromaticity coordinates may be obtained from the stimulus values.

[第3の実施の形態]
次に、第3の実施の形態について説明する。
第3の実施の形態は、ユーザによって設定された撮影条件にしたがって肌色ブラケット撮影、CB(カラーバランス)ブラケット撮影を行うというものである。
[Third Embodiment]
Next, a third embodiment will be described.
In the third embodiment, flesh-color bracket shooting and CB (color balance) bracket shooting are performed according to shooting conditions set by the user.

E.デジタルカメラ1の構成
第3の実施の形態も、図1に示したものと同様の構成を有するデジタルカメラ1を用いることにより本発明の撮影装置を実現する。
まず、第3の実施の形態のデジタルカメラ1における、特徴となる構成の機能について説明する。
E. Configuration of Digital Camera 1 The third embodiment also implements the photographing apparatus of the present invention by using the digital camera 1 having the same configuration as that shown in FIG.
First, a function of a characteristic configuration in the digital camera 1 according to the third embodiment will be described.

制御回路14は、ユーザのキー入力部16の操作により設定モードに設定され、ブラケット撮影用の撮影条件である補正間隔、補正順序、補正枚数が入力されると、該入力されたブラケット撮影の撮影条件の設定を行う。
ここで、補正間隔とは、肌色ブラケット撮影、CBブラケット撮影でブラケティングされていく間隔のことをいう。例えば、色度座標(x、y)をブラケティングさせていくことにより、ブラケティング撮影を行う場合は、補正間隔が(Δx、Δy)となる。
The control circuit 14 is set to the setting mode by the user's operation of the key input unit 16, and when the correction interval, the correction order, and the number of corrections, which are the shooting conditions for bracket shooting, are input, the shooting of the input bracket shooting is performed. Set the conditions.
Here, the correction interval refers to an interval at which bracketing is performed in flesh color bracket photography and CB bracket photography. For example, when bracketing shooting is performed by bracketing chromaticity coordinates (x, y), the correction interval is (Δx, Δy).

また、補正順序には、上り方向(+方向)、下り方向(−方向)、0+−順、0−+順などがある。例えば、0を補正のない初期の被写界深度条件とすれば、上り方向(+方向)の場合は、・・→(−2補正間隔)→(−1補正間隔)→(0、補正なし)→(+1補正間隔)→(+2補正間隔)→・・の順となり、下り方向(−方向)の場合は、・・→(+2補正間隔)→(+1補正間隔)→(0、補正なし)→(−1補正間隔)→(−2補正間隔)→・・の順となる。
また、0+−順の場合は、(0、補正なし)→(+1補正間隔)→(+2補正間隔)→・・→(−1補正間隔)→(−2補正間隔)→・・・の順となり、0−+順の場合は、(0、補正なし)→(−1補正間隔)→(−2補正間隔)→・・→(+1補正間隔)→(+2補正間隔)→・・の順となる。
また、補正枚数とは、ブラケット撮影により一度に連続撮影する回数のことをいう。
The correction order includes an upward direction (+ direction), a downward direction (− direction), 0 + − order, 0− + order, and the like. For example, if 0 is the initial depth-of-field condition without correction, in the upward direction (+ direction), → (−2 correction interval) → (−1 correction interval) → (0, no correction) ) → (+1 correction interval) → (+2 correction interval) → ······· In the case of the down direction (− direction), → (+2 correction interval) → (+1 correction interval) → (0, no correction) ) → (−1 correction interval) → (−2 correction interval) →.
In the case of 0 + −order, (0, no correction) → (+1 correction interval) → (+2 correction interval) →... (−1 correction interval) → (−2 correction interval) →. In the case of 0- + order, (0, no correction)-> (-1 correction interval)-> (-2 correction interval)->-> (+1 correction interval)-> (+2 correction interval)->- It becomes.
The number of corrections refers to the number of times of continuous shooting at a time by bracket shooting.

例えば、現在の指定された一部領域の色度座標が(x、y)の場合に、ユーザによって補正間隔(Δx、Δy)、補正順序(上り順)、補正枚数(5枚)と設定された場合には、ブラケティング撮影する1枚目の画像は、指定された一部領域の色度座標が(x−2Δx、y−2Δy)となるように利得調整部11を制御することによりホワイトバランスを行って撮影を行う。そして、2枚目の画像は、指定された一部領域の色度座標が(x−Δx、y−Δy)となるように利得調整部11を制御することによりホワイトバランスを行って撮影を行う。同様に3枚目は指定された一部領域の色度座標が(x、y)となり、4枚目は指定された一部領域の色度座標が(x+Δx、y+Δy)、5枚目は指定された一部領域の色度座標が(x+2Δx、y+2Δy)となるような利得調整部11を制御することによりホワイトバランスを行って被写体の連続撮影を行う。
このブラケット撮影により被写体を連続して撮影する機能は、本発明の連続撮影制御手段に相当する。
For example, when the chromaticity coordinates of the currently designated partial area are (x, y), the correction interval (Δx, Δy), the correction order (upward order), and the number of corrections (5) are set by the user. In this case, the first image to be bracketed is obtained by controlling the gain adjusting unit 11 so that the chromaticity coordinates of the specified partial area become (x−2Δx, y−2Δy). Take a picture with balance. Then, the second image is photographed by performing white balance by controlling the gain adjusting unit 11 so that the chromaticity coordinates of the specified partial region become (x−Δx, y−Δy). . Similarly, the chromaticity coordinates of the specified partial area are (x, y) for the third image, and the chromaticity coordinates of the specified partial area are (x + Δx, y + Δy) for the fourth image. The gain adjustment unit 11 is controlled such that the chromaticity coordinates of the partial area thus obtained are (x + 2Δx, y + 2Δy), thereby performing white balance and performing continuous shooting of the subject.
The function of continuously shooting the subject by bracket shooting corresponds to the continuous shooting control means of the present invention.

F.デジタルカメラ1の動作
第3の実施の形態におけるデジタルカメラ1の動作を図16〜図19フローチャートにしたがって説明する。肌色バランスブラケット撮影、カラーバランスブラケット撮影の動作はほぼ同様なので、ここでは、カラーバランスブラケット撮影の処理について説明する。
F. Operation of Digital Camera 1 The operation of the digital camera 1 in the third embodiment will be described with reference to the flowcharts of FIGS. Since the operation of skin color balance bracket shooting and color balance bracket shooting are almost the same, here, processing of color balance bracket shooting will be described.

ユーザのキー入力部16の操作によりモードが設定されると、設定されたモードが撮影モードであるか否かを判断する(ステップS51)。
撮影モードでない場合は、現在設定されたモードが設定モードであるか否かを判断する(ステップS52)。
When the mode is set by the user's operation of the key input unit 16, it is determined whether or not the set mode is the shooting mode (step S51).
If it is not the shooting mode, it is determined whether or not the currently set mode is the setting mode (step S52).

設定モードでない場合は、その他のモード処理を行い、設定モードである場合にはCBブラケット設定であるか否かを判断する(ステップS53)。
CBブラケット設定でない場合は、その他の設定処理を行い、CBブラケット設定である場合には、ユーザによって入力されたブラケット撮影用の撮影条件である色度座標の補正間隔(Δx、Δy)、補正順序、補正枚数i(i=2k+1)を設定して(ステップS54)、ステップS51に戻る。ここで補正間隔(Δx=0.01、Δy=0.01)、補正順序を上り順、補正枚数iを3枚と設定したものとする。また、補正枚数i(i=2k+1=3)であるから、k=1となる。
If it is not the setting mode, other mode processing is performed, and if it is the setting mode, it is determined whether or not the CB bracket setting is set (step S53).
When the CB bracket setting is not set, other setting processing is performed. When the CB bracket setting is set, the correction interval (Δx, Δy) and the correction order of the chromaticity coordinates which are shooting conditions for bracket shooting input by the user. Then, the correction number i (i = 2k + 1) is set (step S54), and the process returns to step S51. Here, it is assumed that the correction interval (Δx = 0.01, Δy = 0.01), the correction order is ascending order, and the correction number i is set to three. Further, since the number i of correction is i (i = 2k + 1 = 3), k = 1.

ステップS51で現在設定されたモードが撮影モードであると判断すると(ステップS51でYに分岐)、露出条件などの撮影条件を設定し(ステップS55)、測光処理を行う(ステップS56)。
そして、エネルギー分布表メモリ21に記憶されている光源の分光エネルギー分布L(λ)から色度座標、色温度を求める(ステップS57)。この色度座標、色温度の算出方法については第1の実施の形態で述べたとおりである。
そして、該算出した色温度に基づいてホワイトバランス処理を行う(ステップS58)。
If it is determined in step S51 that the currently set mode is the shooting mode (branch to Y in step S51), shooting conditions such as exposure conditions are set (step S55), and photometric processing is performed (step S56).
Then, chromaticity coordinates and color temperature are obtained from the spectral energy distribution L (λ) of the light source stored in the energy distribution table memory 21 (step S57). The calculation method of the chromaticity coordinates and the color temperature is as described in the first embodiment.
Then, white balance processing is performed based on the calculated color temperature (step S58).

そして、ズーム処理、AF処理などを行い(ステップS59)、撮影条件などの撮影情報をスルー画像とともに表示部15に表示させる(ステップS60)。撮影情報とは、絞り値、シャッタ速度の一般的な撮影条件のほか、現在の色温度、色度座標、及び色度図などのことをいう。
そして、現在撮像している被写体の撮影を行うか否かを判断する(ステップS61)。この判断は、シャッタボタンの操作、若しくはブラケット撮影ボタンの操作に対応する操作信号がキー入力部16から送られてきたか否かにより判断する。
撮影を行わないと判断すると(ステップS61でNOに分岐)、ステップS74に進み、その他のキー処理、表示処理などを行う。
Then, zoom processing, AF processing, and the like are performed (step S59), and shooting information such as shooting conditions is displayed on the display unit 15 together with the through image (step S60). The shooting information refers to the current color temperature, chromaticity coordinates, chromaticity diagram, etc., in addition to general shooting conditions such as aperture value and shutter speed.
Then, it is determined whether or not to shoot the subject currently being picked up (step S61). This determination is made based on whether or not an operation signal corresponding to the operation of the shutter button or the operation of the bracket shooting button is sent from the key input unit 16.
If it is determined not to shoot (branch to NO in step S61), the process proceeds to step S74 to perform other key processing, display processing, and the like.

一方、撮影を行うと判断すると(ステップS61でYに分岐)、CBブラケット撮影であるか否かを判断する(ステップS62)。
この判断は、ブラケット撮影ボタンの操作に対応する操作信号がキー入力部16から送られてきたか否かにより判断する。なお、静止画撮影用のシャッタボタンとブラケティング撮影ボタンを別個に設けたが、予めユーザがブラケティング撮影を行う旨を指示しておき、シャッタボタンを押下するとブラケティング撮影を行うようにしてもよい。
On the other hand, if it is determined that shooting is to be performed (branch to Y in step S61), it is determined whether or not CB bracket shooting is being performed (step S62).
This determination is made based on whether or not an operation signal corresponding to the operation of the bracket shooting button is sent from the key input unit 16. Although a shutter button for shooting still images and a bracketing shooting button are provided separately, the user may instruct to perform bracketing shooting in advance, and bracketing shooting may be performed when the shutter button is pressed. Good.

CBブラケット撮影でないと判断するとその他の撮影処理を行い、CBブラケット撮影であると判断すると、現在、つまり、ステップS58のホワイトバランス処理後のユーザによって指定された一部領域の色度座標(x0、y0、z0)、色温度Taの算出を行う(ステップS63)。この算出は、第2の実施の形態で述べたように、ユーザによって指定された一部領域の撮像信号のRGB成分、つまり、利得調整部11r、11g、11bから出力されたRGB成分のうち、ユーザによって指定された一部領域のRGB成分から色度座標や色温度を求める。ここでは、求められた色度座標が、例えば、(x0、y0)=(0.1、0.3)であったとする。   If it is determined that the shooting is not CB bracket shooting, other shooting processing is performed. If it is determined that the shooting is CB bracket shooting, the chromaticity coordinates (x0, y0, z0) and the color temperature Ta are calculated (step S63). As described in the second embodiment, this calculation is performed using the RGB components of the imaging signal of the partial area designated by the user, that is, among the RGB components output from the gain adjusting units 11r, 11g, and 11b. Chromaticity coordinates and color temperature are obtained from the RGB components of a partial area designated by the user. Here, it is assumed that the obtained chromaticity coordinates are, for example, (x0, y0) = (0.1, 0.3).

次いで、ユーザによって設定されたブラケット撮影の撮影条件の補正順序が上り順であるか否かを判断する(ステップS64)。
ここではステップS54で補正順序を上り順と設定したので、上り順のCBの色度座標の初期値(x1、y1)の設定を行う(ステップS65)。
ここで、上り順の初期値(x1、y1)は、(x1=x0−k・Δx、y1=y0−k・Δy)である。
したがって、ここでは、初期値(x1=0.09、y1=0.29)となる。但し、(x0、y0)=(0.1、0.3)、(Δx、Δy)=(0.01、0.01)であり、k=1である。
次いで、撮影順序mを「m=+1」として設定して(ステップS66)、ステップS70に進む。
Next, it is determined whether the correction order of the shooting conditions for bracket shooting set by the user is an ascending order (step S64).
Here, since the correction order is set to the ascending order in step S54, the initial values (x1, y1) of the chromaticity coordinates of the CB in the ascending order are set (step S65).
Here, the initial value (x1, y1) in the ascending order is (x1 = x0−k · Δx, y1 = y0−k · Δy).
Therefore, the initial values (x1 = 0.09, y1 = 0.29) are used here. However, (x0, y0) = (0.1, 0.3), (Δx, Δy) = (0.01, 0.01), and k = 1.
Next, the shooting order m is set as “m = + 1” (step S66), and the process proceeds to step S70.

一方、ステップS64で上り順でない場合は、補正順序が下り順であるか否かを判断する(ステップS67)。
下り順である場合には、下り順のCBの色度座標の初期値(x1、y1)の設定を行う(ステップS68)。
ここで、下り順の初期値(x1、y1)は、(x1=x0+k・Δx、y1=y0+k・Δy)である。
したがって、この場合には初期値(x1=0.11、y1=0.31)となる。
次いで、撮影順序mを「m=−1」と設定して(ステップS69)、ステップS70に進む。
On the other hand, if it is not the ascending order in step S64, it is determined whether or not the correction order is the descending order (step S67).
If it is in descending order, the initial value (x1, y1) of the chromaticity coordinates of the CB in descending order is set (step S68).
Here, the initial value (x1, y1) in the descending order is (x1 = x0 + k · Δx, y1 = y0 + k · Δy).
Therefore, in this case, the initial values (x1 = 0.11, y1 = 0.31) are obtained.
Next, the photographing order m is set to “m = −1” (step S69), and the process proceeds to step S70.

ステップS70に進むと、撮影枚数nを「n=2k+1」、撮影済枚数jを「j=0」と設定する。ここで、k=1(ステップS54で補正枚数i(i=2k+1=3枚)と設定しているので)であるから、撮影枚数nは「n=2・1+1=3枚」となる。
次いで、CB補正撮影処理を行う(ステップS71)。ここで、CB補正撮影処理の動作を図19のフローチャートにしたがって説明する。
In step S70, the number of shots n is set to “n = 2k + 1”, and the number of shots j is set to “j = 0”. Here, k = 1 (since it is set as the number of corrections i (i = 2k + 1 = 3) in step S54), the number of shots n is “n = 2 · 1 + 1 = 3”.
Next, CB correction photographing processing is performed (step S71). Here, the operation of the CB correction photographing process will be described with reference to the flowchart of FIG.

CB補正撮影処理を開始すると、図19のステップS91に進み、これからCBブラケット撮影により撮影しようとする補正色度座標(x、y)の設定を行う。この設定される補正色度座標は、(x=x1+m・j・Δx、y=y1+m・j・Δy)である。
したがって、ここでは、補正順序を上り順と設定しているので、(x1=0.09、y1=0.29)であることから、補正色度座標(x=0.09、y=0.29)となる。但し、「m=+1」、「j=0」、「Δx=0.01、Δy=0.01」である。
When the CB correction shooting process is started, the process proceeds to step S91 in FIG. 19, and the correction chromaticity coordinates (x, y) to be shot by CB bracket shooting are set. The set correction chromaticity coordinates are (x = x1 + m · j · Δx, y = y1 + m · j · Δy).
Therefore, here, since the correction order is set as an ascending order, (x1 = 0.09, y1 = 0.29), and therefore, correction chromaticity coordinates (x = 0.09, y = 0.0). 29). However, “m = + 1”, “j = 0”, “Δx = 0.01, Δy = 0.01”.

次いで、補正色度座標(x、y)に相当する色温度Taを算出し(ステップS92)、該算出した色温度Taに基づいて指定した一部領域が該算出した色温度Taとなるように、利得調整部11を制御することにより、RGB成分全体の利得を調整してホワイトバランス処理を行う(ステップS93)。なお、指定した一部領域の色度座標(x0、y0)が、補正色度座標(x、y)となるように、利得調整部11を制御することにより、RGB成分全体の利得を調整してホワイトバランス処理を行うようにしてもよい。
次いで、設定した撮影条件で被写体を撮影し、撮影した画像データをDRAMに記憶し(ステップS94)、DRAMに記憶した該画像データをフラッシュメモリに記録する(ステップS95)。
Next, a color temperature Ta corresponding to the corrected chromaticity coordinates (x, y) is calculated (step S92), and a partial region designated based on the calculated color temperature Ta becomes the calculated color temperature Ta. Then, the gain adjustment unit 11 is controlled to adjust the gains of the entire RGB components and perform white balance processing (step S93). Note that the gain of the entire RGB component is adjusted by controlling the gain adjustment unit 11 so that the chromaticity coordinates (x0, y0) of the specified partial area become the corrected chromaticity coordinates (x, y). Thus, white balance processing may be performed.
Next, the subject is photographed under the set photographing conditions, the photographed image data is stored in the DRAM (step S94), and the image data stored in the DRAM is recorded in the flash memory (step S95).

画像データをフラッシュメモリに記録すると、図17のフローチャートのステップS72に進み、撮影済枚数jを「j=j+1」と設定する。ここでは、j=0であったので、新に設定された撮影済枚数jは「j=1」となる。
次いで、撮影済枚数jが撮影枚数n以上か否かを判断する(ステップS73)。ここでは、j=1であり、n=3であるので、撮影済枚数jは撮影枚数nより小さいと判断し、ステップS71に戻りCB補正撮影処理を行う。
つまり、図19のステップS91で補正色度座標(x、y)=(0.1、0.3)と設定し、設定した補正色度座標となるようにホワイトバランス処理を行いってから被写体を撮影し、該撮影した画像データをフラッシュメモリに記録する(ステップS92〜ステップS95)。
When the image data is recorded in the flash memory, the process proceeds to step S72 in the flowchart of FIG. 17, and the photographed number j is set to “j = j + 1”. Here, since j = 0, the newly set number of shots j is “j = 1”.
Next, it is determined whether the number of shots j is equal to or greater than the number of shots n (step S73). Here, since j = 1 and n = 3, it is determined that the number of shots j is smaller than the number of shots n, and the process returns to step S71 to perform CB correction shooting processing.
That is, the corrected chromaticity coordinates (x, y) = (0.1, 0.3) are set in step S91 in FIG. 19, and the subject is subjected to white balance processing so that the set corrected chromaticity coordinates are obtained. Is recorded, and the captured image data is recorded in the flash memory (steps S92 to S95).

そして、図17のステップS72に進み、撮影済枚数jを「j=j+1=1+1=2」と設定し、撮影済枚数j(j=2)が撮影枚数n(n=3)以上か否かを判断し、jはnより小さいので、また、ステップS71に戻る。この動作を撮影済枚数jが撮影枚数n以上と判断するまで繰り返す。
このループ(ステップS71〜ステップS73)により撮影される画像の指定された一部領域の色度座標(x、y)は、1枚目が(0.09、0.29)、2枚目が(0.1、0.3)、3枚目が(0.11、0.31)となる。
Then, the process proceeds to step S72 in FIG. 17, in which the number of shots j is set to “j = j + 1 = 1 + 1 = 2”, and whether the number of shots j (j = 2) is equal to or greater than the number of shots n (n = 3). Since j is smaller than n, the process returns to step S71. This operation is repeated until it is determined that the number of shots j is greater than or equal to the number of shots n.
As for the chromaticity coordinates (x, y) of the specified partial area of the image photographed by this loop (step S71 to step S73), the first image is (0.09, 0.29), and the second image is (0.1, 0.3) and the third one is (0.11, 0.31).

また、下り順の場合には、このループにより撮影される画像の指定された一部領域の色度座標(x、y)は、1枚目が(0.11、0.31)、2枚目が(0.1、0.3)、3枚目が(0.09、0.29)となることから、下り順と上り順とでは撮影される順序が逆であることがわかる。
そして、撮影済枚数iが撮影枚数以上であると判断すると(ステップS73でYに分岐)、その他のキー処理、表示処理を行う(ステップS74)。
Further, in the descending order, the chromaticity coordinates (x, y) of the specified partial area of the image photographed by this loop are (0.11, 0.31) for the first image, Since the eyes are (0.1, 0.3) and the third is (0.09, 0.29), it can be seen that the order of photographing is reverse in the descending order and the ascending order.
If it is determined that the number of shots i is greater than or equal to the number of shots (branch to Y in step S73), other key processing and display processing are performed (step S74).

一方、ステップS67で、補正順序が下り順でないと判断すると、図18のステップS75に進み、補正順序が0+−順であるか否かを判断する。
0+−順でないと判断すると、その他の処理、つまり、その他の補正順序で被写体を撮影する。
一方、0+−順であると判断すると、CBの色度座標(x1、y1)の初期値を(x1=x0、y1=y0)と設定する(ステップS76)。したがって、初期値(x1、y1)=(0.1、0.3)となる。
On the other hand, if it is determined in step S67 that the correction order is not descending, the process proceeds to step S75 in FIG. 18 to determine whether the correction order is 0 + -order.
If it is determined that the order is not 0 + −, the subject is photographed in another process, that is, in another correction order.
On the other hand, if it is determined that the order is 0 + −, the initial value of the CB chromaticity coordinates (x1, y1) is set to (x1 = x0, y1 = y0) (step S76). Therefore, the initial value (x1, y1) = (0.1, 0.3).

次いで、撮影順序mを「m=+1」と設定し(ステップS77)、撮影枚数nを「n=k+1」と、撮影済枚数jを「j=0」と設定する(ステップS78)。ここで、k=1なので、撮影枚数nは「2」と設定される。
次いで、ステップS79に進み、CB補正撮影処理を行う。
CB補正撮影処理は上述したように、ステップS91に進み、CBブラケット撮影の補正色度座標(x、y)の設定を行う。
ここで、x=x1+m・j・Δx、y=y1+m・j・Δyなので、x=0.1+1×0×0.01=0.1、y=0.3+1×0×0.01=0.3ということになる。
Next, the shooting order m is set to “m = + 1” (step S77), the shot number n is set to “n = k + 1”, and the shot number j is set to “j = 0” (step S78). Here, since k = 1, the number of shots n is set to “2”.
Next, the process proceeds to step S79, where CB correction photographing processing is performed.
As described above, the CB correction shooting process proceeds to step S91, and the correction chromaticity coordinates (x, y) of CB bracket shooting are set.
Here, since x = x1 + m · j · Δx and y = y1 + m · j · Δy, x = 0.1 + 1 × 0 × 0.01 = 0.1, y = 0.3 + 1 × 0 × 0.01 = 0. That means three.

次いで、該設定した色度座標に相当する色温度Taを算出し、該算出した色温度に基づいてホワイトバランス処理を行ってから被写体を撮影し、該撮影した画像データをフラッシュメモリに記録する(ステップS92〜ステップS95)。
次いで、図18のステップS80に進み、jを「j=j+1=0+1=1」と設定し、撮影済枚数j(j=1)が撮影枚数n(n=2)以上か否かを判断する(ステップS81)。ここでは、jはnより小さいので、ステップS79に進み上記した動作を繰り返す。
Next, a color temperature Ta corresponding to the set chromaticity coordinates is calculated, a subject is photographed after white balance processing is performed based on the computed color temperature, and the photographed image data is recorded in a flash memory ( Step S92 to Step S95).
Next, the process proceeds to step S80 in FIG. 18, where j is set to “j = j + 1 = 0 + 1 = 1”, and it is determined whether or not the number of shots j (j = 1) is equal to or greater than the number of shots n (n = 2). (Step S81). Here, since j is smaller than n, the process proceeds to step S79 and the above operation is repeated.

このループにより撮影される画像の指定された一部領域の色度座標(x、y)は、1枚目が(0.1、0.3)となり、2枚目が(0.11、0.31)となる。
そして、2枚目の画像が撮影されると、撮影済枚数jは2となるので(j=1+1=2)、ステップS81で撮影済枚数j(j=2)は撮影済枚数n(n=2)以上と判断し、ステップS82に進む。
As for the chromaticity coordinates (x, y) of a specified partial area of an image photographed by this loop, the first image is (0.1, 0.3) and the second image is (0.11, 0). .31).
When the second image is taken, the number of shots j is 2 (j = 1 + 1 = 2). In step S81, the number of shots j (j = 2) is the number of shots n (n = n). 2) Determine above and proceed to step S82.

ステップS82に進むと、CBの色度座標(x1、y1)の初期値を(x1=x0、y1=y0)と設定する。
次いで、撮影順序mを「m=−1」と設定し(ステップS83)、撮影枚数nを「n=k」と、撮影済枚数jを「j=1」と設定する(ステップS84)。ここで、k=1なので、撮影枚数nは「1」と設定される。
次いで、ステップS85に進み、CB補正撮影処理を行う。
In step S82, the initial value of the CB chromaticity coordinates (x1, y1) is set to (x1 = x0, y1 = y0).
Next, the shooting order m is set to “m = −1” (step S83), the shot number n is set to “n = k”, and the shot number j is set to “j = 1” (step S84). Here, since k = 1, the number of shots n is set to “1”.
Next, the process proceeds to step S85, and CB correction photographing processing is performed.

つまり、図19のステップS91に進み、CBブラケット撮影の補正色度座標(x、y)の設定を行う。
ここで、x=x1+m・j・Δx、y=y1+m・j・Δyなので、x=0.1+(−1)×1×0.01=0.09、y=0.3+(−1)×1×0.01=0.29ということになる。
次いで、該設定した色度座標に相当する色温度Taを算出し、該算出した色温度に基づいてホワイトバランス処理を行ってから被写体を撮影し、該撮影した画像データをフラッシュメモリに記録する(ステップS92〜ステップS95)。
That is, the process proceeds to step S91 in FIG. 19, and the correction chromaticity coordinates (x, y) for CB bracket shooting are set.
Here, since x = x1 + m · j · Δx and y = y1 + m · j · Δy, x = 0.1 + (− 1) × 1 × 0.01 = 0.09, y = 0.3 + (− 1) × 1 × 0.01 = 0.29.
Next, a color temperature Ta corresponding to the set chromaticity coordinates is calculated, a subject is photographed after white balance processing is performed based on the computed color temperature, and the photographed image data is recorded in a flash memory ( Step S92 to Step S95).

次いで、図18のステップS86に進み、撮影済枚数jを「j=j+1=1+1=2」と設定し、撮影済枚数j(j=2)が撮影枚数n(n=1)以上か否かを判断する(ステップS87)。ここでは、撮影済枚数jは撮影枚数nより大きいので、撮影済枚数jは撮影枚数n以上であると判断し、図17のステップS74に進み、その他のキー処理、表示処理を行う。
補正順序が0+−順の場合に撮影される3枚目の画像の指定された一部領域の色度座標(x、y)は、(0.09、0.29)である。
Next, the process proceeds to step S86 in FIG. 18, where the number of shots j is set to “j = j + 1 = 1 + 1 = 2”, and whether the number of shots j (j = 2) is equal to or greater than the number of shots n (n = 1). Is determined (step S87). Here, since the number of shots j is larger than the number of shots n, it is determined that the number of shots j is greater than or equal to the number of shots n, and the process proceeds to step S74 in FIG. 17 to perform other key processing and display processing.
The chromaticity coordinates (x, y) of the specified partial area of the third image captured when the correction order is 0 + -order are (0.09, 0.29).

以上のように、第3の実施の形態においては、ユーザが設定した補正間隔、補正順序、補正枚数にしたがって、肌色バランスブラケット撮影、カラーバランスブラケット撮影を行うので、撮影ごとに撮影条件(ホワイトバランスの撮影条件)を変えて撮影しなくても、1回の撮影で肌色やカラーの異なる画像を複数撮影することができる。
また、自動的に設定された場合の肌色などが所望の肌色となっていない場合でも、ブラケット撮影した複数の中から、所望の肌色を有する画像を選択することができるので、好みの肌色やカラーを有する画像を得る確率が高くなり、シャッタチャンスを逃すことがない。
As described above, according to the third embodiment, skin color balance bracket shooting and color balance bracket shooting are performed according to the correction interval, correction order, and number of corrections set by the user. In this case, it is possible to shoot a plurality of images having different skin colors and colors in one shooting.
Also, even if the skin color when automatically set is not the desired skin color, you can select an image with the desired skin color from the bracketed images, so you can choose your favorite skin color and color The probability of obtaining an image having high is increased, and a photo opportunity is not missed.

なお、第2の実施の形態のように、ユーザが所望する肌色やカラーとなるように肌色バランス、カラーバランスを行ってから、その肌色、カラーを基準として肌色バランスブラケット撮影、カラーバランスブラケット撮影を行うようにしてもよい。
また、色度座標を少しずつ変更して(ブラケティングして)ブラケット撮影を行うようにしたが、分光反射率特性R2(λi)又は色温度Taを少しずつ変更することにより、色度座標を少しずつ変更してブラケット撮影を行うようにしてもよい。
この場合には、ユーザは補正間隔を(Δx、Δy)で設定するのではなく、ΔR2(λi)又はΔTaを設定することになる。
As in the second embodiment, after performing skin color balance and color balance so as to obtain the skin color and color desired by the user, skin color balance bracket shooting and color balance bracket shooting are performed based on the skin color and color. You may make it perform.
In addition, bracket photography is performed by changing the chromaticity coordinates little by little (bracketing), but by changing the spectral reflectance characteristic R2 (λi) or the color temperature Ta little by little, the chromaticity coordinates are changed. You may make it change brackets and perform bracket photography.
In this case, the user does not set the correction interval by (Δx, Δy), but sets ΔR2 (λi) or ΔTa.

また、ブラケット撮影によって連続撮影される複数の画像の色度座標や分光反射率を個々に設定することができるようにしてもよい。つまり、この場合には、ブラケティング撮影でなく、撮影条件の異なる画像を複数枚連続して撮影するということになる。
例えば、1枚目の画像の指定された一部領域の色度座標は(0.1、0.3)、2枚目の画像の指定された一部領域の色度座標は(0.1、0.31)、3枚目の画像の指定された一部領域の色度座標は(0.11、0.29)ということになる。
Further, the chromaticity coordinates and the spectral reflectance of a plurality of images continuously photographed by bracket photographing may be individually set. That is, in this case, not a bracketing shooting but a plurality of images with different shooting conditions are continuously shot.
For example, the chromaticity coordinates of the specified partial area of the first image are (0.1, 0.3), and the chromaticity coordinates of the specified partial area of the second image are (0.1 0.31) The chromaticity coordinates of the specified partial area of the third image are (0.11, 0.29).

[第4の実施の形態]
次に、第4の実施の形態について説明する。
第4の実施の形態は、撮像レンズやフィルタ等が交換可能であって、撮像レンズやフィルタ等が交換された場合でも、適正なホワイトバランスを行うというものである。
[Fourth Embodiment]
Next, a fourth embodiment will be described.
In the fourth embodiment, an imaging lens, a filter, and the like can be exchanged, and proper white balance is performed even when the imaging lens, a filter, and the like are exchanged.

G.デジタルカメラ1の構成
第4の実施の形態も、図1に示したものと同様の構成を有するデジタルカメラ1を用いることにより本発明の撮像装置を実現する。
しかし、以下の点で構成の機能が異なる。
G. Configuration of Digital Camera 1 The fourth embodiment also implements the imaging apparatus of the present invention by using a digital camera 1 having a configuration similar to that shown in FIG.
However, the function of the configuration is different in the following points.

撮像レンズ2は取り外し可能な交換レンズであり、撮像レンズ2を保護している鏡筒(図示略)には、マイコンが備えられている。このマイコンには、レンズやフィルタや、ズームレンズ位置毎などの撮像系の分光透過率特性T2(λi)が記録されている。
また、駆動回路3は、該マイコンに記録されている撮像系(撮像レンズ2やフィルタ)の分光透過率特性T2(λi)の情報を読み出し、駆動回路3に設けられているメモリに該情報を記憶させる。また、駆動回路3は、現在のフォーカスレンズ2aの位置情報、ズームレンズ2bの位置情報もメモリに記憶させる。
The imaging lens 2 is a removable interchangeable lens, and a lens barrel (not shown) that protects the imaging lens 2 is provided with a microcomputer. In this microcomputer, spectral transmittance characteristics T2 (λi) of an imaging system such as a lens, a filter, and a zoom lens position are recorded.
In addition, the drive circuit 3 reads the information of the spectral transmittance characteristic T2 (λi) of the image pickup system (the image pickup lens 2 and the filter) recorded in the microcomputer, and stores the information in a memory provided in the drive circuit 3. Remember me. The drive circuit 3 also stores the current position information of the focus lens 2a and the position information of the zoom lens 2b in the memory.

取得部26は、駆動回路3、制御回路14と接続されており、取得部26は、駆動回路3のメモリに記憶されている現在のフォーカスレンズ2aの位置情報、ズームレンズ2bの位置情報等及び、撮像系の分光透過率特性T2(λi)の情報を取得し、該取得した情報を情報メモリ22に記憶させる。
また、取得部26は、制御回路14から送られてきた現在のCCD7の感度設定情報の取得を行い、該取得した感度設定情報も情報メモリ22に記憶させる。
The acquisition unit 26 is connected to the drive circuit 3 and the control circuit 14, and the acquisition unit 26 includes the current position information of the focus lens 2a, the position information of the zoom lens 2b, and the like stored in the memory of the drive circuit 3. The information of the spectral transmittance characteristic T2 (λi) of the imaging system is acquired, and the acquired information is stored in the information memory 22.
The acquisition unit 26 acquires the current sensitivity setting information of the CCD 7 sent from the control circuit 14 and stores the acquired sensitivity setting information in the information memory 22.

ROM24には、更に、計測光学系(プリズム回折格子17やフィルタ等の光学系)の分光透過率特性T1(λi)や、センサアレイ18の分光感度特性S1(λi)及びCCD7の感度設定情報毎の分光感度特性S2(λi)が格納されている。
刺激値演算部23は、エネルギー分布表メモリ21に記憶されている分光エネルギー分布L1(λi)の読み出し(第1の取得手段)、ROM24に記録されている計測系の分光透過率特性T1(λi)の読み出し(測光透過率取得手段)及びセンサアレイの分光感度特性S1(λi)の読み出しを行い(測光感度取得手段)、該読み出した分光エネルギー分布L1(λi)及び分光透過率特性T1(λi)及び分光感度特性S1(λi)から、光源の分光エネルギー分布L0(λi)のシミュレーション演算を行う(第1の演算手段)。
ここで、レンズの分光透過率特性、フィルタ(アンバー色、ブルー色)の分光透過率特性、CCD7の分光感度特性の例を図20に示す。
The ROM 24 further includes a spectral transmittance characteristic T1 (λi) of the measurement optical system (an optical system such as the prism diffraction grating 17 and a filter), a spectral sensitivity characteristic S1 (λi) of the sensor array 18, and sensitivity setting information of the CCD 7. Of the spectral sensitivity characteristic S2 (λi).
The stimulus value calculator 23 reads the spectral energy distribution L1 (λi) stored in the energy distribution table memory 21 (first acquisition means), and the spectral transmittance characteristic T1 (λi of the measurement system recorded in the ROM 24. ) (Photometric transmittance acquisition means) and the spectral sensitivity characteristic S1 (λi) of the sensor array are read (photometric sensitivity acquisition means), and the read spectral energy distribution L1 (λi) and spectral transmittance characteristic T1 (λi) ) And the spectral sensitivity characteristic S1 (λi), a simulation calculation of the spectral energy distribution L0 (λi) of the light source is performed (first calculation means).
Here, FIG. 20 shows an example of the spectral transmittance characteristic of the lens, the spectral transmittance characteristic of the filter (amber color, blue color), and the spectral sensitivity characteristic of the CCD 7.

図21(a)は、光源の分光エネルギー分布L0(λi)がプリズム回折格子17などの計測光学系を介してセンサアレイ18から出力される分光エネルギー分布L1(λi)の様子を示すものである。
この図を見ると明らかなように、光源の分光エネルギー分布L0(λi)は、計測光学系の分光透過率特性T1(λi)及びセンサアレイ18の分光感度特性S1によって影響され、センサアレイ18から出力される分光エネルギー分布L1(λi)は、光源の分光エネルギー分布L0(λi)と同一となることはなく、センサアレイ18から出力される分光エネルギー分布L1(λi)は、L1(λi)=L0(λi)・T1(λi)・S1(λi)で表せることができる。
したがって、光源の分光エネルギー分布L0(λi)は、数7によって求めることができる。
FIG. 21A shows the state of the spectral energy distribution L1 (λi) output from the sensor array 18 through the measurement optical system such as the prism diffraction grating 17 as the spectral energy distribution L0 (λi) of the light source. .
As is apparent from this figure, the spectral energy distribution L0 (λi) of the light source is influenced by the spectral transmittance characteristic T1 (λi) of the measurement optical system and the spectral sensitivity characteristic S1 of the sensor array 18, and from the sensor array 18. The output spectral energy distribution L1 (λi) is not the same as the spectral energy distribution L0 (λi) of the light source, and the spectral energy distribution L1 (λi) output from the sensor array 18 is L1 (λi) = L0 (λi) · T1 (λi) · S1 (λi).
Therefore, the spectral energy distribution L0 (λi) of the light source can be obtained by Equation 7.

Figure 0004692872
Figure 0004692872

そして、刺激値演算部23は、取得部26によって取得され情報メモリ23に記憶されているレンズやフィルタや、ズームレンズ位置毎などの撮像光学系の分光透過率特性T2(λi)と、取得部26によって取得され情報メモリ23に記憶されている現在のズームレンズ2bの位置等を参酌することにより、適切な撮像光学系の分光透過率特性T2(λi)を情報メモリ22から取得する(撮像透過率取得手段)。また、取得部26によって取得され情報メモリ22に記憶されている現在のCCD7の感度設定情報から、ROM24に記録されているCCD7の分光感度特性S2(λi)を取得する(撮像感度取得手段)。
そして、刺激値演算部23は、取得した撮像光学系の分光透過率特性T2(λi)、CCD7の分光感度透過率特性S2(λi)及び算出した光源の分光エネルギー分布L0(λi)からCCD7から出力される分光エネルギー分布L2(λi)のシミュレーション演算を行う(取得手段)。
Then, the stimulus value calculation unit 23 acquires the spectral transmittance characteristic T2 (λi) of the imaging optical system such as the lens and filter acquired by the acquisition unit 26 and stored in the information memory 23, and the zoom lens position, and the acquisition unit. 26, the spectral transmittance characteristic T2 (λi) of the appropriate imaging optical system is acquired from the information memory 22 by taking into account the current position of the zoom lens 2b and the like stored in the information memory 23 (imaging transmission transmission). Rate acquisition means). Further, the spectral sensitivity characteristic S2 (λi) of the CCD 7 recorded in the ROM 24 is acquired from the current sensitivity setting information of the CCD 7 acquired by the acquisition unit 26 and stored in the information memory 22 (imaging sensitivity acquisition means).
Then, the stimulus value calculation unit 23 calculates from the CCD 7 from the acquired spectral transmittance characteristic T2 (λi) of the imaging optical system, the spectral sensitivity transmittance characteristic S2 (λi) of the CCD 7, and the calculated spectral energy distribution L0 (λi) of the light source. A simulation calculation of the output spectral energy distribution L2 (λi) is performed (acquisition means).

図21(b)は、光源の分光エネルギー分布L0(λi)が撮像レンズ2などの撮像光学系を介してCCD7から出力される分光エネルギー分布L2(λi)の様子を示すものである。
図を見るとわかるように、光源の分光エネルギー分布L0(λi)は、撮像光学系の分光透過率特性T2(λi)、CCD7の分光感度特性S2(λi)によって影響され、CCD7から出力される分光エネルギー分布L2(λi)は数8にしたがって求めることができる。
FIG. 21B shows the state of the spectral energy distribution L2 (λi) output from the CCD 7 via the imaging optical system such as the imaging lens 2 as the spectral energy distribution L0 (λi) of the light source.
As can be seen from the figure, the spectral energy distribution L0 (λi) of the light source is influenced by the spectral transmittance characteristic T2 (λi) of the imaging optical system and the spectral sensitivity characteristic S2 (λi) of the CCD 7, and is output from the CCD 7. The spectral energy distribution L2 (λi) can be obtained according to Equation 8.

Figure 0004692872
Figure 0004692872

なお、被写体の分光反射率特性R2(λi)がわかる場合には、これを考慮して、分光エネルギー分布L2(λi)を求めるようにしてもよい。この場合には、分光エネルギー分布L2(λi)は、数9にしたがって求めることができる。   When the spectral reflectance characteristic R2 (λi) of the subject is known, the spectral energy distribution L2 (λi) may be obtained in consideration of this. In this case, the spectral energy distribution L2 (λi) can be obtained according to Equation 9.

Figure 0004692872
Figure 0004692872

そして、刺激値演算部23は、ROM24から等色関数を読みだし、該読み出した等色関数(λi)、(λi)、(λi)と該シミュレーション演算によって求められた分光エネルギー分布L2(λi)とを乗算し、各波長毎(λi)の乗算結果を波長領域のn帯域(i=0〜n−1)全体で総和して3刺激値R、G、Bを求めることができる。
他は、第1の実施の形態と同様なので説明を省略する。
The stimulus value calculation unit 23 reads the color matching function from the ROM 24, reads the color matching functions (λi), (λi), (λi) and the spectral energy distribution L2 (λi) obtained by the simulation calculation. And the sum of the multiplication results for each wavelength (λi) over the entire n bands (i = 0 to n−1) of the wavelength region, thereby obtaining tristimulus values R, G, and B.
Others are the same as those in the first embodiment, and a description thereof will be omitted.

H.デジタルカメラ1の動作
第1の実施の形態におけるデジタルカメラ1の動作を図22、図23のフローチャートにしたがって説明する。
ステップS101で、予めROM24に記録されている計測光学系やフィルタ等の分光透過率特性T1(λi)及びセンサアレイ18の分光感度特性S1(λi)を読み出して設定を行う。
H. Operation of Digital Camera 1 The operation of the digital camera 1 according to the first embodiment will be described with reference to the flowcharts of FIGS.
In step S101, the spectral transmittance characteristic T1 (λi) of the measurement optical system and filter and the spectral sensitivity characteristic S1 (λi) of the sensor array 18 recorded in advance in the ROM 24 are read and set.

次いで、測光処理を行い(ステップS102)、センサアレイ18によって受光された入射光から、波長別の分光分布データL1(λi)を取得する(ステップS1033)。
次いで、取得した分光分布データL1(λi)と、ステップS1で設定した計測光学系やフィルタの分光透過率T1(λi)及びセンサアレイ18の分光感度特性S1(λi)を元に、入射光源のエネルギー分布L0(λi)を数7にしたがって算出する(ステップS104)。
Next, photometric processing is performed (step S102), and spectral distribution data L1 (λi) for each wavelength is acquired from incident light received by the sensor array 18 (step S1033).
Next, based on the acquired spectral distribution data L1 (λi), the spectral transmittance T1 (λi) of the measurement optical system and filter set in step S1 and the spectral sensitivity characteristic S1 (λi) of the sensor array 18, the incident light source The energy distribution L0 (λi) is calculated according to Equation 7 (step S104).

次いで、駆動回路3からフォーカスレンズ2a、ズームレンズ2bの位置情報、及び撮像レンズの鏡筒に格納されているマイコンから取得して記憶したレンズやフィルタ、ズームレンズ位置毎などの撮像光学系の分光透過率特性T2(λ)の取得、更に、現在のCCD7の感度設定情報などを制御回路14などから取得して情報メモリ22に記憶する(ステップS105)。
次いで、情報メモリ22に該記憶したレンズやフィルタや、ズームレンズ位置毎などの撮像光学系の分光透過率特性T2(λi)と、ズームレンズ2bの位置等を参酌することにより、適切な撮像光学系の分光透過率特性T2(λi)を情報メモリ22から取得し、設定を行う。また、情報メモリ22に該記憶した現在の感度設定情報を参酌して、ROM24に記録されているCCD7の感度毎の分光透過率特性S2(λi)から適切なCCD7の分光感度特性S2(λi)を取得し、設定を行う(ステップS106)。
Next, the position information of the focus lens 2a and the zoom lens 2b from the drive circuit 3, and the lenses and filters acquired from the microcomputer stored in the lens barrel of the imaging lens, and the spectrum of the imaging optical system for each zoom lens position, etc. The transmission characteristic T2 (λ) is acquired, and the current sensitivity setting information of the CCD 7 is acquired from the control circuit 14 and stored in the information memory 22 (step S105).
Next, by taking into consideration the lens and filter stored in the information memory 22, the spectral transmittance characteristic T2 (λi) of the imaging optical system for each zoom lens position, the position of the zoom lens 2b, etc. The spectral transmittance characteristic T2 (λi) of the system is acquired from the information memory 22 and set. Further, in consideration of the current sensitivity setting information stored in the information memory 22, the spectral sensitivity characteristic S 2 (λi) of the appropriate CCD 7 from the spectral transmittance characteristic S 2 (λi) for each sensitivity of the CCD 7 recorded in the ROM 24. Is acquired and set (step S106).

次いで、ステップS104で算出した光源の分光エネルギー分布L0(λi)と、該設定した撮像光学系の分光透過率特性T2(λi)及びCCD7の分光感度特性S2(λi)から、CCD7から出力される撮像信号の分光エネルギー分布L2(λi)のシミュレーション演算を数8にしたがって行う(ステップS107)。
次いで、該算出した分光エネルギー分布L2(λi)とRGB表色系の等色関数から3刺激値R、G、Bを数1又は数2にしたがって算出する(ステップS108)。
Next, the light is output from the CCD 7 from the spectral energy distribution L0 (λi) of the light source calculated in step S104, the spectral transmittance characteristic T2 (λi) of the set imaging optical system, and the spectral sensitivity characteristic S2 (λi) of the CCD 7. A simulation calculation of the spectral energy distribution L2 (λi) of the imaging signal is performed according to Equation 8 (step S107).
Next, tristimulus values R, G, and B are calculated according to Equation 1 or Equation 2 from the calculated spectral energy distribution L2 (λi) and the color matching function of the RGB color system (Step S108).

次いで、該算出したRGB表色系の3刺激値から、XYZ表色系の3刺激値X、Y、Zに変換する(ステップS109)。この変換は、数3にしたがって行う。なお、XYZ表色系の等色関数を用いて、分光エネルギー分布L2(λi)から直接3刺激値XYZを求めるようにしてもよい。
次いで、3刺激値X、Y、Zから色度座標(x、y、z)の算出を数4にしたがって行う(ステップS110)。
次いで、色度座標の変換を行うと、色度座標から色温度Ta、黒体輻射軌跡との偏差Δuvの算出を行う(ステップS111)。この色温度Ta、偏差Δuvの算出は周知技術(例えば、国際照明学会などの技術により)なので省略する。
また、図2に示すような色度座標と色温度Taなどの換算テーブルをROM24に記録させておき、それを参照して色温度Taなどを求めるようにしてもよい。
Next, the calculated tristimulus values of the RGB color system are converted into tristimulus values X, Y, and Z of the XYZ color system (step S109). This conversion is performed according to Equation 3. Note that the tristimulus value XYZ may be obtained directly from the spectral energy distribution L2 (λi) using a color matching function of the XYZ color system.
Next, the chromaticity coordinates (x, y, z) are calculated from the tristimulus values X, Y, Z according to Equation 4 (step S110).
Next, when the chromaticity coordinates are converted, the deviation Δuv from the chromaticity coordinates and the color temperature Ta and the black body radiation locus is calculated (step S111). Since the calculation of the color temperature Ta and the deviation Δuv is a well-known technique (for example, by a technique such as the International Lighting Association), a description thereof will be omitted.
Further, a conversion table such as chromaticity coordinates and color temperature Ta as shown in FIG. 2 may be recorded in the ROM 24, and the color temperature Ta or the like may be obtained by referring to the conversion table.

次いで、求めた偏差Δuv許容範囲内か否かの判断を行う(ステップS112)。この判断は、求めた偏差ΔuvがROM24に記録されている閾値より小さいか否かを判断することにより行われ、閾値より小さい場合には許容範囲内であると判断する。
許容範囲内であると判断すると(ステップS112でYに分岐)、ステップS11で求めた色温度に基づいてホワイトバランスの制御を行う(ステップS113)。
一方、許容範囲内でないと判断すると色温度の測定が失敗したと判断し、エラー処理を行う。
Next, it is determined whether or not the obtained deviation Δuv is within an allowable range (step S112). This determination is made by determining whether or not the obtained deviation Δuv is smaller than a threshold value recorded in the ROM 24, and if it is smaller than the threshold value, it is determined that it is within an allowable range.
If it is determined that it is within the allowable range (branch to Y in step S112), the white balance is controlled based on the color temperature obtained in step S11 (step S113).
On the other hand, if it is determined that it is not within the allowable range, it is determined that the color temperature measurement has failed, and error processing is performed.

以上のように、第4の実施の形態においては、撮像系の交換レンズ等やズームレンズのズーム位置毎などの撮像光学系の分光透過率特性T2(λi)、CCD7の分光感度特性S2(λi)、計測光学系の分光透過率特性T1(λi)、センサアレイの分光感度特性S1(λi)を取得し、CCD7から出力される分光エネルギー分布L2(λi)をシミュレーション演算するようにしたので、レンズや外付けフィルタなどが交換された場合、ズームレンズ2b等の位置が変わった場合、CCD7の感度設定が変わった場合等でも、精確かつ自動的に撮像信号のホワイトバランス処理を行うことができる。   As described above, in the fourth embodiment, the spectral transmittance characteristic T2 (λi) of the imaging optical system such as the interchangeable lens of the imaging system or the zoom position of the zoom lens, and the spectral sensitivity characteristic S2 (λi of the CCD 7). ), The spectral transmittance characteristic T1 (λi) of the measurement optical system and the spectral sensitivity characteristic S1 (λi) of the sensor array are obtained, and the spectral energy distribution L2 (λi) output from the CCD 7 is simulated. Even when a lens, an external filter, or the like is replaced, the position of the zoom lens 2b or the like is changed, or the sensitivity setting of the CCD 7 is changed, the white balance processing of the image pickup signal can be performed accurately and automatically. .

なお、第4の実施の形態では、光源光の分光エネルギー分布L0(λi)をシミュレーション演算によって求めるようにしたが、第1の実施の形態のように、光源光の分光エネルギー分布を求めることなく、プリズム回折格子18等を介してエネルギー分布表メモリ21に記憶された分光エネルギー分布を光源光の分光エネルギー分布として扱うようにしてもよい。
また、第4の実施の形態によるホワイトバランスを行ってから、第2の実施の形態で説明したような肌色バランスやカラーバランス、及び第3の実施の形態で説明したような肌色バランスブラケット撮影、カラーバランスブラケット撮影を行うようにしてもよい。つまり、第4の実施の形態と第2、第3の実施の形態とを組み合わせるようにしてもよい。
In the fourth embodiment, the spectral energy distribution L0 (λi) of the light source light is obtained by simulation calculation. However, as in the first embodiment, the spectral energy distribution of the light source light is not obtained. The spectral energy distribution stored in the energy distribution table memory 21 via the prism diffraction grating 18 or the like may be handled as the spectral energy distribution of the light source light.
Also, after performing white balance according to the fourth embodiment, skin color balance and color balance as described in the second embodiment, and skin color balance bracket shooting as described in the third embodiment, You may make it perform color balance bracket imaging | photography. That is, the fourth embodiment may be combined with the second and third embodiments.

また、鏡筒に設けられているマイコンに予め撮像系の分光透過率特性T2(λi)を記録しておき、該分光透過率特性T2(λi)を取得するようにしたが、鏡筒に設けられているマイコンにレンズやフィルタの製品番号、規格、識別IDを記録させておき、該ID等を取得することにより、該IDに対応する分光透過率特性T2(λi)を取得するようにしてもよい。この場合には、予めROM24などに、該ID番号等に対応する分光透過率特性T2(λi)が複数記録されていることは言うまでもない。
また、撮像レンズ2にマイコンを実装することが難しい場合には、レンズやフィルタの型番、規格、仕様などをユーザのキー入力部16の操作により入力された規格等、又は、一覧表リストを表示させて選択された規格等を設定することにより、該設定された規格に対応する分光透過率特性T2(λi)を取得するようにしてもよい。この場合には、予め、ROM24などに、該規格等に対応する分光透過率特性T2(λi)が複数記録されていることは言うまでもない。
In addition, the spectral transmittance characteristic T2 (λi) of the imaging system is recorded in advance in a microcomputer provided in the lens barrel, and the spectral transmittance characteristic T2 (λi) is acquired. The product number, standard, and identification ID of the lens and filter are recorded in the microcomputer, and the spectral transmittance characteristic T2 (λi) corresponding to the ID is acquired by acquiring the ID and the like. Also good. In this case, needless to say, a plurality of spectral transmittance characteristics T2 (λi) corresponding to the ID number or the like are recorded in advance in the ROM 24 or the like.
In addition, when it is difficult to mount a microcomputer on the imaging lens 2, the model number, standard, specification, etc. of the lens or filter are displayed as a standard input by operating the user's key input unit 16, or a list is displayed. Then, by setting the selected standard or the like, the spectral transmittance characteristic T2 (λi) corresponding to the set standard may be acquired. In this case, needless to say, a plurality of spectral transmittance characteristics T2 (λi) corresponding to the standard or the like are recorded in advance in the ROM 24 or the like.

また、上記第1〜3の実施の形態は、プリズム回折格子18等を介してエネルギー分布表メモリ21に記憶された分光エネルギー分布を光源光の分光エネルギー分布として扱ったが、第4の実施の形態に示すように、光源光の分光エネルギー分布L0(λi)をシミュレーション演算により求めて、ホワイトバランス処理を行うようにしてもよい。   In the first to third embodiments, the spectral energy distribution stored in the energy distribution table memory 21 via the prism diffraction grating 18 and the like is treated as the spectral energy distribution of the light source light. As shown in the embodiment, the spectral energy distribution L0 (λi) of the light source light may be obtained by simulation calculation to perform white balance processing.

また、上記第1、第2の実施の形態におけるホワイトバランス装置は、被写体を撮影することができない記録媒体等でもよく、要は、画像データを処理する機能を有する装置であればなんでもよい。
また、上記第3、第4の実施の形態におけるホワイトバランス装置は、デジタルカメラに限定されるものではなく、カメラ付き携帯電話、カメラ付きPDA、カメラ付きパソコン等、又はデジタルビデオカメラでもよく、要は、被写体を撮影することができる装置であれば何でもよい。
Further, the white balance device in the first and second embodiments may be a recording medium or the like that cannot shoot a subject, and may be any device that has a function of processing image data.
In addition, the white balance device in the third and fourth embodiments is not limited to a digital camera, and may be a mobile phone with a camera, a PDA with a camera, a personal computer with a camera, or a digital video camera. Any device can be used as long as it can photograph a subject.

本発明の実施の形態のデジタルカメラのブロック図である。1 is a block diagram of a digital camera according to an embodiment of the present invention. 色度座標(x、y、z)と色温度Taの換算テーブルを示す図である。It is a figure which shows the conversion table of chromaticity coordinate (x, y, z) and color temperature Ta. 色温度TaとRGB成分の相対強度の特性データを示す図である。It is a figure which shows the characteristic data of the relative intensity of color temperature Ta and RGB component. 利得調整部11を制御するときの様子を示した図である。It is the figure which showed the mode when controlling the gain adjustment part 11. FIG. 第1の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 1st Embodiment. 入射される波長毎の分光エネルギー分布、及び、エネルギー分布表メモリに記憶される分光エネルギー分布表の例を示したものである。The spectral energy distribution for every incident wavelength and the example of the spectral energy distribution table memorize | stored in energy distribution table memory are shown. RGB表色系の等色関数(λi)、(λi)、(λi)、及び、ROM24に記録されている等色関数表を示す図である。FIG. 4 is a diagram illustrating color matching functions (λi), (λi), (λi) of an RGB color system and a color matching function table recorded in a ROM 24. XYZ表色系の等色関数(λi)、(λi)、(λi)、及び、ROM24に記録されている等色関数表を示す図である。FIG. 4 is a diagram illustrating color matching functions (λi), (λi), (λi) of an XYZ color system and a color matching function table recorded in a ROM 24. ROM24に記録されている分光反射率の例を示した図である。FIG. 6 is a diagram showing an example of spectral reflectance recorded in a ROM 24. 第2の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 2nd Embodiment. 第2の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 2nd Embodiment. 被写体のスルー画像とともに表示された色度座標の例を示す図である。It is a figure which shows the example of the chromaticity coordinate displayed with the through image of the to-be-photographed object. マンセル表色系、CIELAB均等色空間を表示したときの例を示す図である。It is a figure which shows the example when the Munsell color system and CIELAB uniform color space are displayed. RGBセンサによる外部測光方式によるデジタルカメラの構成を示した図である。It is the figure which showed the structure of the digital camera by the external photometry system by an RGB sensor. CCD内部測光方式によるデジタルカメラの構成を示した図である。It is the figure which showed the structure of the digital camera by CCD internal photometry system. 第3の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 3rd Embodiment. 第3の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 3rd Embodiment. 第3の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 3rd Embodiment. 第3の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 3rd Embodiment. レンズの分光透過率特性、フィルタの分光透過率特性、CCD7の分光感度特性の例を示す図である。It is a figure which shows the example of the spectral transmittance characteristic of a lens, the spectral transmittance characteristic of a filter, and the spectral sensitivity characteristic of CCD7. 第4の実施の形態における、光源光の分光エネルギー分布、及びセンサアレイから出力される分光エネルギー分布、CCD7から出力される分光エネルギー分布の様子を示す図である。It is a figure which shows the mode of the spectral energy distribution of the spectral energy distribution output from the spectral energy distribution of the light source light, the sensor array, and CCD7 in 4th Embodiment. 第4の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 4th Embodiment. 第4の実施の形態のデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera of 4th Embodiment.

符号の説明Explanation of symbols

1 デジタルカメラ
2 撮像レンズ
3 駆動回路
4 絞り兼用シャッタ
5 垂直ドライバ
6 TG
7 CCD
8 サンプルホールド回路
9 アナログデジタル変換器
10 色分離回路
11 利得調整部
12 画像信号処理部
13 メモリ
14 制御回路
15 表示部
16 キー入力部
17 プリズム回折格子
18 センサアレイ
19 アンプ
20 アナログデジタル変換器
21 エネルギー分布表メモリ
22 情報メモリ
23 刺激値演算部
24 ROM
25 色度座標演算部
26 取得部
27 色温度演算部
28 ホワイトバランス制御部
29 色度座標・色温度情報メモリ
DESCRIPTION OF SYMBOLS 1 Digital camera 2 Imaging lens 3 Drive circuit 4 Shutter / shutter 5 Vertical driver 6 TG
7 CCD
DESCRIPTION OF SYMBOLS 8 Sample hold circuit 9 Analog-digital converter 10 Color separation circuit 11 Gain adjustment part 12 Image signal processing part 13 Memory 14 Control circuit 15 Display part 16 Key input part 17 Prism diffraction grating 18 Sensor array 19 Amplifier 20 Analog-digital converter 21 Energy Distribution table memory 22 Information memory 23 Stimulus value calculation unit 24 ROM
25 Chromaticity coordinate calculation unit 26 Acquisition unit 27 Color temperature calculation unit 28 White balance control unit 29 Chromaticity coordinate / color temperature information memory

Claims (2)

撮像信号を取得する取得手段と、
前記取得手段により取得された撮像信号の画像を表示手段に表示させる表示制御手段と、
ユーザが前記表示手段に表示された画像の一部領域を指定するための指定手段と、
前記指定手段により指定された一部領域の撮像信号から一部領域の色度座標を算出する算出手段と、
前記表示制御手段が、前記撮像信号の画像とともに色度図及び該色度図上に前記算出手段により算出された色度座標を座標カーソルで表示し、ユーザが前記表示手段に表示された色度図上の色度座標を示す座標カーソルを加減補正することにより前記指定手段により指定された一部領域の色度座標を所望の値に設定するための設定手段と、
記算出手段により算出された一部領域の色度座標が前記設定手段により設定された色度座標となるように、前記取得手段により取得された撮像信号の利得を制御することによりホワイトバランスの制御を行うホワイトバランス制御手段と、
を備えたことを特徴とする画像処理装置。
An acquisition means for acquiring an imaging signal;
And Table示制control means Ru is displayed on the display means an image of the obtained image signal by the acquisition unit,
A designation means for the user to designate a partial area of the image displayed on the display means;
A calculation detecting means that to calculate the chromaticity coordinates of the partial region from the image signal of a portion designated area by the specifying means,
The display control means displays a chromaticity diagram together with the image of the imaging signal and the chromaticity coordinates calculated by the calculating means on the chromaticity diagram with a coordinate cursor, and the user displays the chromaticity displayed on the display means. A setting means for setting the chromaticity coordinates of the partial area designated by the designation means to a desired value by correcting the coordinate cursor indicating the chromaticity coordinates on the drawing;
As chromaticity coordinates of a partial region calculated by the pre-hexane detection means is chromaticity coordinates set by the setting unit, the white balance by controlling the gain of the obtained image signal by the acquisition unit White balance control means for controlling
An image processing apparatus comprising:
撮像信号を取得する取得装置、及び表示装置を備えた画像処理装置を制御するコンピュータに、
前記取得装置により取得された撮像信号の画像を前記表示装置に表示させる表示制御機能、
ユーザが前記表示装置に表示された画像の一部領域を指定するための指定機能、
前記指定機能により指定された一部領域の撮像信号から一部領域の色度座標を算出する算出機能、
前記表示制御機能が、前記撮像信号の画像とともに色度図及び該色度図上に前記算出機能により算出された色度座標を座標カーソルで表示し、ユーザが前記表示装置に表示された色度図上の色度座標を示す座標カーソルを加減補正することにより前記指定機能により指定された一部領域の色度座標を所望の値に設定するための設定機能と、
記算出機能により算出された一部領域の色度座標が前記設定機能により設定された色度座標となるように、前記取得装置により取得された撮像信号の利得を制御することによりホワイトバランスの制御を行うホワイトバランス制御機能、
を実現させるためのプログラム。
To a computer that controls an acquisition device that acquires an imaging signal and an image processing device that includes a display device,
The display device in Table示制control function Ru display the image of the obtained image signal by the acquisition device,
A designation function for the user to designate a partial area of the image displayed on the display device;
Calculated out function to calculate the chromaticity coordinates of the partial region from the image signal of a portion designated area by the specifying function,
The display control function displays a chromaticity diagram together with the image of the imaging signal and the chromaticity coordinates calculated by the calculation function on the chromaticity diagram with a coordinate cursor, and the user displays the chromaticity displayed on the display device. A setting function for setting the chromaticity coordinates of the partial area designated by the designation function to a desired value by correcting the coordinate cursor indicating the chromaticity coordinates on the diagram;
As chromaticity coordinates of some calculated area by pre hexane output function is chromaticity coordinates set by the setting function, the white balance by controlling the gain of the obtained image signal by the acquisition device White balance control function to control
A program to realize
JP2004234889A 2004-08-11 2004-08-11 Image processing apparatus and program Expired - Fee Related JP4692872B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004234889A JP4692872B2 (en) 2004-08-11 2004-08-11 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004234889A JP4692872B2 (en) 2004-08-11 2004-08-11 Image processing apparatus and program

Publications (3)

Publication Number Publication Date
JP2006054679A JP2006054679A (en) 2006-02-23
JP2006054679A5 JP2006054679A5 (en) 2007-09-27
JP4692872B2 true JP4692872B2 (en) 2011-06-01

Family

ID=36031858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004234889A Expired - Fee Related JP4692872B2 (en) 2004-08-11 2004-08-11 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4692872B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5324031B2 (en) 2006-06-20 2013-10-23 花王株式会社 Beauty simulation system
KR101310224B1 (en) 2006-11-22 2013-09-24 삼성전자주식회사 Method for controlling digital photographing apparatus, and digital photographing apparatus adopting the method
KR101351579B1 (en) 2006-12-05 2014-01-15 삼성전자주식회사 Method of controlling digital image processing apparatus for convenient setting of white balance
CA2670024A1 (en) * 2006-12-22 2008-07-03 Leader Electronics Corp. Video signal monitoring apparatus and method
JP4952293B2 (en) * 2007-02-22 2012-06-13 株式会社ニコン Photometric device and imaging device
JP5104104B2 (en) * 2007-07-31 2012-12-19 株式会社ニコン Imaging device
JP5435887B2 (en) * 2008-04-30 2014-03-05 キヤノン株式会社 Image processing apparatus, method, and program
JP2013178789A (en) * 2013-04-01 2013-09-09 Kao Corp Beauty simulation system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186539A (en) * 1999-10-12 2001-07-06 Canon Inc Image processing unit and projection type display device
JP2002142127A (en) * 2000-11-06 2002-05-17 Oki Data Corp Method for optimizing spectral response characteristic
JP2002320231A (en) * 2001-04-20 2002-10-31 Canon Inc Camera system
JP2004194303A (en) * 2002-11-26 2004-07-08 Canon Inc Imaging apparatus, imaging method, computer readable recording medium, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186539A (en) * 1999-10-12 2001-07-06 Canon Inc Image processing unit and projection type display device
JP2002142127A (en) * 2000-11-06 2002-05-17 Oki Data Corp Method for optimizing spectral response characteristic
JP2002320231A (en) * 2001-04-20 2002-10-31 Canon Inc Camera system
JP2004194303A (en) * 2002-11-26 2004-07-08 Canon Inc Imaging apparatus, imaging method, computer readable recording medium, and program

Also Published As

Publication number Publication date
JP2006054679A (en) 2006-02-23

Similar Documents

Publication Publication Date Title
US6160579A (en) Image processing apparatus and method
US7002624B1 (en) Apparatus and method for obtaining object-color component data
JP5178170B2 (en) White balance adjusting device and white balance adjusting method
JP4324404B2 (en) Solid-state imaging device and digital camera
US7663668B2 (en) Imaging device
US8149294B2 (en) Image capturing device which sets color conversion parameters based on an image sensor and separate light sensor
WO2008153620A1 (en) Color correcting for ambient light
JP2002325260A (en) Camera having display apparatus for confirmation provided with adaptative compensation of observer to reference light source
JP4501634B2 (en) Matrix coefficient determination method and image input apparatus
CN110017904B (en) Multispectral radiation temperature measurement method based on CCD camera
CN113194303B (en) Image white balance method, device, electronic equipment and computer readable storage medium
JP2008236101A (en) Imaging device and imaging method
US7636108B2 (en) Image pickup device, white balance processing method, program, and storage medium
US20100141811A1 (en) Color temperature compensating imaging apparatus and method
JP4692872B2 (en) Image processing apparatus and program
US20040233295A1 (en) Image-processing device
US20020076219A1 (en) Image data management apparatus and method
JP3821729B2 (en) Digital camera
JPH11113018A (en) Image pickup device
JP4661129B2 (en) Imaging apparatus and program thereof
JP2011064637A (en) Light source detection device
JP2021002707A (en) White balance objective evaluation method, white balance objective evaluation program, and imaging device
US20080079749A1 (en) White balance method for image processing
JP2022031323A (en) Display control device, light emission control device, display control method, light emission control method, and program
JP6552165B2 (en) Image processing apparatus, control method therefor, and control program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070809

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110128

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110210

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140304

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4692872

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees