JP2001136546A - Electronic camera - Google Patents
Electronic cameraInfo
- Publication number
- JP2001136546A JP2001136546A JP31816499A JP31816499A JP2001136546A JP 2001136546 A JP2001136546 A JP 2001136546A JP 31816499 A JP31816499 A JP 31816499A JP 31816499 A JP31816499 A JP 31816499A JP 2001136546 A JP2001136546 A JP 2001136546A
- Authority
- JP
- Japan
- Prior art keywords
- gain
- color
- image
- white balance
- focus detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
(57)【要約】
【課題】焦点検出領域から肌色を検出してホワイトバラ
ンス調整用ゲインを決定する。
【解決手段】交換レンズ90を通して被写体像を撮像す
る撮像装置73と、交換レンズ90に対して撮像装置7
3と共役な位置に配設され、被写体像を受光して色デー
タを出力する色センサ86と、複数の検出領域を有し、
領域選択スイッチ19a〜19dにより選択された検出領域で
交換レンズ90の合焦状態を検出する焦点検出装置36
と、焦点検出領域に対応して色センサ86から読出され
た色データに基づいて、ホワイトバランス調整用ゲイン
を決定するホワイトバランス検出回路35(図2)とを備
える。ホワイトバランス検出回路35(図2)は、色デー
タからR/GおよびB/Gを算出して肌色を検出し、検
出した肌色から求めた相関色温度を用いてホワイトバラ
ンス調整用ゲインを決定する。
(57) [Summary] To detect a skin color from a focus detection area and determine a white balance adjustment gain. An image pickup device for picking up a subject image through an interchangeable lens, and an image pickup device for the interchangeable lens.
3, a color sensor 86 that receives the subject image and outputs color data, and a plurality of detection areas,
A focus detection device 36 for detecting the in-focus state of the interchangeable lens 90 in the detection area selected by the area selection switches 19a to 19d
And a white balance detection circuit 35 (FIG. 2) for determining a white balance adjustment gain based on the color data read from the color sensor 86 corresponding to the focus detection area. The white balance detection circuit 35 (FIG. 2) calculates R / G and B / G from the color data to detect a skin color, and determines a white balance adjustment gain using a correlated color temperature obtained from the detected skin color. .
Description
【0001】[0001]
【発明の属する技術分野】本発明は、被写体を撮像して
電子的な画像データとして記録する電子カメラに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic camera for capturing an image of a subject and recording the captured image as electronic image data.
【0002】[0002]
【従来の技術】撮影レンズを通過した被写体像を撮像し
て画像データを出力するCCDのような撮像装置と、撮
像装置から出力される画像データに対する増幅利得を調
整してホワイトバランス調整やγ補正などの画像処理を
施す画像処理回路とを備える電子カメラが知られてい
る。画像処理回路では、撮像装置から出力される画像デ
ータに基づいて、あらかじめ定めたアルゴリズムにより
ホワイトバランス調整用のRゲインやBゲイン、あるい
はγ補正用の階調カーブなどのパラメータを算出して画
像処理が行われる。2. Description of the Related Art An image pickup device such as a CCD for picking up an image of a subject passing through a photographing lens and outputting image data, and adjusting an amplification gain for image data output from the image pickup device to adjust white balance and γ. 2. Description of the Related Art An electronic camera including an image processing circuit that performs image processing such as an electronic camera is known. The image processing circuit calculates parameters such as R gain and B gain for white balance adjustment or a gradation curve for γ correction based on image data output from the imaging device by a predetermined algorithm. Is performed.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の電子カ
メラでは、撮像された主要被写体および背景などの色彩
情報の平均値が白またはグレーなどの無彩色となるよう
にホワイトバランス調整係数を算出し、算出された調整
係数を用いて画像データに対するホワイトバランス調整
が行われる。このようなカメラでポートレート撮影のよ
うに人物のアップ撮影を行うとき、背景に花や緑などの
彩度が高い色が多い場合に色彩情報を平均しても無彩色
とならないことが多い。この結果、ホワイトバランス調
整係数に調整不良を生じやすく、人物の肌色の色味が変
わってしまうおそれがある。In the above-described conventional electronic camera, a white balance adjustment coefficient is calculated such that the average value of color information of a captured main subject and a background is an achromatic color such as white or gray. Then, white balance adjustment is performed on the image data using the calculated adjustment coefficient. When performing close-up photographing of a person using such a camera as in portrait photographing, if there are many highly saturated colors such as flowers and greens in the background, the color information is often not achromatic even if the color information is averaged. As a result, poor adjustment of the white balance adjustment coefficient is likely to occur, and the skin tone of the person may change.
【0004】本発明の目的は、焦点検出領域などの所定
の画像領域から主要被写体の肌色を検出してホワイトバ
ランス調整を行い、人物の肌色の色味が変わらないよう
にした電子カメラを提供することにある。An object of the present invention is to provide an electronic camera in which the skin color of a main subject is detected from a predetermined image area such as a focus detection area and the white balance is adjusted so that the skin color of a person remains unchanged. It is in.
【0005】[0005]
【課題を解決するための手段】一実施の形態を示す図1
〜図3に対応づけて本発明を説明する。 (1)請求項1の発明による電子カメラは、撮影レンズ
90を通過する被写体像を撮像して画像データを出力する
撮像装置26と、撮影レンズ90に対して撮像装置26と共役
な位置に配設され、被写体像を受光して色温度情報を検
出する色温度検出手段86と、被写界の所定の領域に対応
する色温度検出手段86の色温度情報から肌色を検出し、
この肌色を用いてゲインを算出するゲイン算出手段35C
と、撮像装置26から出力された画像データに対してゲイ
ン算出手段35Cで算出されたゲインをかけてゲイン調整
を行うゲイン調整手段103とを備えることにより、上述
した目的を達成する。 (2)請求項2の発明は、請求項1に記載の電子カメラ
において、被写界内の複数の領域において撮影レンズ90
の焦点調節状態を検出する焦点検出手段36と、複数の領
域の中から焦点検出手段36による検出領域を選択する焦
点検出領域選択手段19a〜19dと、焦点検出手段36により
検出された焦点調節状態に基づいて、撮影レンズ90を合
焦位置へ駆動するレンズ駆動手段37とを備え、ゲイン算
出手段35Cは、焦点検出領域選択手段19a〜19dにより選
択された検出領域に対応する色温度検出手段86の色温度
情報から肌色を検出し、この肌色を用いてゲインを算出
することを特徴とする。 (3)請求項3の発明は、請求項2に記載の電子カメラ
において、ゲイン算出手段35Cは、レンズ駆動手段37に
よる焦点調節駆動が終了したときに検出している肌色を
用いてゲインを算出し、ゲイン調整手段103は、このゲ
インを撮像装置26から出力された画像データにかけてゲ
イン調整を行うことを特徴とする。 (4)請求項4の発明は、請求項1〜3のいずれかに記
載の電子カメラにおいて、被写界の複数の領域において
被写体像の輝度を検出する測光手段86と、複数の領域の
中から測光手段86による測光領域を選択する測光領域選
択手段19a〜19dとを備え、ゲイン算出手段35Cは、測光
領域選択手段19a〜19dにより選択された測光領域に対応
する色温度検出手段86の色温度情報から肌色を検出し、
この肌色を用いてゲインを算出することを特徴とする。FIG. 1 shows an embodiment of the present invention.
The present invention will be described with reference to FIG. (1) An electronic camera according to the first aspect of the present invention includes a photographing lens.
An imaging device 26 that captures a subject image passing through 90 and outputs image data, and is disposed at a position conjugate with the imaging device 26 with respect to the photographing lens 90, receives the subject image, and detects color temperature information Color temperature detecting means 86, and detects a skin color from the color temperature information of the color temperature detecting means 86 corresponding to a predetermined area of the object scene,
Gain calculating means 35C for calculating a gain using this skin color
The above-described object is achieved by providing a gain adjusting unit 103 that performs gain adjustment by multiplying the image data output from the imaging device 26 by the gain calculated by the gain calculating unit 35C. (2) The electronic camera according to the first aspect of the present invention is the electronic camera according to the first aspect, wherein the photographing lens 90 is provided in a plurality of regions within the object scene.
Focus detection means 36 for detecting the focus adjustment state, focus detection area selection means 19a to 19d for selecting a detection area by the focus detection means 36 from among a plurality of areas, and the focus adjustment state detected by the focus detection means 36 Lens driving means 37 for driving the photographing lens 90 to the in-focus position based on the above, and the gain calculating means 35C comprises a color temperature detecting means 86 corresponding to the detection area selected by the focus detecting area selecting means 19a to 19d. Is characterized in that a skin color is detected from the color temperature information and a gain is calculated using the skin color. (3) In the electronic camera according to the third aspect, in the electronic camera according to the second aspect, the gain calculating unit 35C calculates the gain using the skin color detected when the focus adjustment driving by the lens driving unit 37 ends. The gain adjusting unit 103 is characterized in that the gain is adjusted by applying the gain to the image data output from the imaging device 26. (4) The electronic camera according to any one of the first to third aspects, wherein the photometer 86 detects the brightness of the subject image in a plurality of regions of the object scene. And a photometric region selecting unit 19a to 19d for selecting a photometric region by the photometric unit 86, and the gain calculating unit 35C is provided with a color temperature detecting unit 86 corresponding to the photometric region selected by the photometric region selecting unit 19a to 19d. Detect skin color from temperature information,
The gain is calculated using the skin color.
【0006】なお、本発明の構成を説明する上記課題を
解決するための手段の項では、本発明を分かり易くする
ために実施の形態の図を用いたが、これにより本発明が
実施の形態に限定されるものではない。[0006] In the section of the means for solving the above-mentioned problems, which explains the configuration of the present invention, the drawings of the embodiments are used to make the present invention easier to understand. However, the present invention is not limited to this.
【0007】[0007]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1に示すように、この実施の形
態による一眼レフデジタルスチルカメラは、カメラ本体
70と、カメラ本体70に着脱されるファインダ装置8
0と、レンズ91と絞り92を内蔵してカメラ本体70
に着脱される交換レンズ90とを備える。被写体光は交
換レンズ90を通ってカメラ本体70に入射し、レリー
ズ前は点線で示す位置にあるクイックリターンミラー7
1でファインダ装置80に導かれてファインダマット8
1に結像するとともに、焦点検出装置36にも結像す
る。ファインダーマット81に結像する被写体光はさら
にペンタプリズム82で接眼レンズ83に導かれる。ま
た、被写体光はレリーズ前に、プリズム84と結像レン
ズ85を通って色センサ86に入射して被写体像を結像
する。レリーズ後はクイックリターンミラー71が実線
で示す位置に回動し、被写体光はシャッタ72を介して
撮影用の撮像装置73上に結像する。色センサ86は、
撮影レンズ91に対して撮像装置73と共役な位置に配
設される。Embodiments of the present invention will be described below with reference to the drawings. As shown in FIG. 1, a single-lens reflex digital still camera according to this embodiment includes a camera body 70 and a finder device 8 attached to and detached from the camera body 70.
0, a lens 91 and an aperture 92, and a camera body 70
And an interchangeable lens 90 attached to and detached from the camera. The subject light enters the camera body 70 through the interchangeable lens 90. Before the release, the quick return mirror 7 located at the position indicated by the dotted line
The finder mat 8 is guided to the finder device 80 at 1
1, and also forms an image on the focus detection device 36. The subject light that forms an image on the viewfinder mat 81 is further guided to an eyepiece 83 by a pentaprism 82. Before the release, the subject light passes through the prism 84 and the imaging lens 85 and enters the color sensor 86 to form a subject image. After the release, the quick return mirror 71 rotates to the position shown by the solid line, and the subject light forms an image on the imaging device 73 for photography via the shutter 72. The color sensor 86
It is arranged at a position conjugate with the imaging device 73 with respect to the taking lens 91.
【0008】図2は本発明によるデジタルカメラの一実
施の形態の回路を示すブロック図である。CPU21に
はレリーズボタンに連動する半押しスイッチ22と全押
しスイッチ23から半押し信号と全押し信号がそれぞれ
入力される。また、CPU21には後述する測光結果を
保持するAEロックスイッチ17、後述する焦点検出結
果を保持するAFロックスイッチ18、焦点検出領域お
よび測光領域を選択する領域選択スイッチ19a〜19d
からの入力信号が入力される。CPU21からの指令に
より焦点検出装置36が撮影レンズ91の焦点調節状態
を検出し、交換レンズ90に入射する被写体光が撮像装
置73の撮像素子26上で結像するように、レンズ駆動
装置37がレンズ91を合焦位置へ駆動する。なお、焦
点検出装置36は複数の焦点検出領域を有し、選択され
たいずれか1つの焦点検出領域において焦点調節状態を
検出する。CPU21は、タイミングジェネレータ24
とドライバ25を介して撮像装置73の撮像素子26を
駆動制御する。そして、タイミングジェネレータ24に
よりアナログ処理回路27とA/D変換回路28の動作
タイミングが制御される。FIG. 2 is a block diagram showing a circuit of a digital camera according to an embodiment of the present invention. The CPU 21 receives a half-press signal and a full-press signal from a half-press switch 22 and a full-press switch 23 linked to the release button, respectively. The CPU 21 has an AE lock switch 17 for holding a photometry result described later, an AF lock switch 18 for holding a focus detection result described later, and area selection switches 19a to 19d for selecting a focus detection area and a photometry area.
Is input. In response to a command from the CPU 21, the focus detection device 36 detects the focus adjustment state of the photographing lens 91, and the lens driving device 37 is controlled so that the subject light incident on the interchangeable lens 90 forms an image on the imaging device 26 of the imaging device 73. The lens 91 is driven to a focus position. The focus detection device 36 has a plurality of focus detection areas, and detects a focus adjustment state in any one of the selected focus detection areas. The CPU 21 includes a timing generator 24
And the driver 25 to control the driving of the imaging element 26 of the imaging device 73. Then, the operation timing of the analog processing circuit 27 and the A / D conversion circuit 28 is controlled by the timing generator 24.
【0009】半押しスイッチ22のオン操作に引続いて
全押しスイッチ23がオン操作されるとクイックリター
ンミラー71が上方に回動し、交換レンズ90からの被
写体光が撮像素子26の受光面上で結像する。撮像素子
26はCCDであり、被写体像の明るさに応じた信号電
荷が蓄積される。撮像素子26に蓄積された信号電荷は
ドライバ25により掃き出され、AGC回路やCDS回
路などを含むアナログ信号処理回路27に入力される。
アナログ信号処理回路27でアナログ画像信号に対して
ゲインコントロール、雑音除去等のアナログ処理が施さ
れた後、A/D変換回路28によってデジタル信号に変
換される。デジタル変換された信号は、たとえば、AS
ICとして構成される画像処理CPU29に導かれ、そ
こで後述するホワイトバランス調整、輪郭補償、ガンマ
補正等の画像前処理が行われる。When the full-press switch 23 is turned on after the half-press switch 22 is turned on, the quick return mirror 71 rotates upward, and subject light from the interchangeable lens 90 is applied to the light receiving surface of the image sensor 26. Image. The image sensor 26 is a CCD, and accumulates signal charges corresponding to the brightness of the subject image. The signal charges stored in the image sensor 26 are swept out by the driver 25 and input to an analog signal processing circuit 27 including an AGC circuit and a CDS circuit.
After analog processing such as gain control and noise removal is performed on the analog image signal by the analog signal processing circuit 27, the analog image signal is converted into a digital signal by the A / D conversion circuit 28. The digitally converted signal is, for example, AS
The image is guided to an image processing CPU 29 configured as an IC, where image preprocessing such as white balance adjustment, contour compensation, and gamma correction, which will be described later, is performed.
【0010】画像前処理が行なわれた画像データに対し
てはさらに、JPEG圧縮のためのフォーマット処理
(画像後処理)が行なわれ、フォーマット処理後の画像
データが一時的にバッファメモリ30に格納される。The image data subjected to the image pre-processing is further subjected to a format process (image post-process) for JPEG compression, and the image data after the format process is temporarily stored in the buffer memory 30. You.
【0011】バッファメモリ30に格納された画像デー
タは、表示画像作成回路31により表示用の画像データ
に処理され、LCD等のビューファインダー32に撮影
結果として表示される。また、バッファメモリ30に記
憶された画像データは、圧縮回路33によりJPEG方
式で所定の比率にデータ圧縮を受け、フラッシュメモリ
などの記録媒体(メモリカード)34に記録される。The image data stored in the buffer memory 30 is processed into image data for display by a display image creation circuit 31 and displayed as a photographing result on a viewfinder 32 such as an LCD. The image data stored in the buffer memory 30 is subjected to data compression at a predetermined ratio by the compression circuit 33 according to the JPEG method, and is recorded on a recording medium (memory card) 34 such as a flash memory.
【0012】図3は上述したように動作するデジタルカ
メラにおける画像処理CPU29の詳細を示すブロック
図である。図3は撮像素子26からの画像データに対し
てラインごとに信号処理するライン処理回路100であ
り、上述した画像前処理を行う。このライン処理回路1
00は、A/D変換回路28から出力される12ビット
のR、G、B信号に対して後述する各種の信号処理を行
なうものであり、デジタルクランプ回路101と、ゲイ
ン設定回路102と、ゲイン調整回路103と、黒レベ
ル回路104と、γ補正回路105とを有する。FIG. 3 is a block diagram showing details of the image processing CPU 29 in the digital camera operating as described above. FIG. 3 shows a line processing circuit 100 that performs signal processing on image data from the image sensor 26 line by line, and performs the above-described image preprocessing. This line processing circuit 1
Reference numeral 00 denotes various types of signal processing described below for the 12-bit R, G, and B signals output from the A / D conversion circuit 28. The digital clamp circuit 101, the gain setting circuit 102, and the gain It has an adjustment circuit 103, a black level circuit 104, and a γ correction circuit 105.
【0013】A/D変換回路28から出力される12ビ
ットのR,G,B信号は、撮像素子26の出力に対して
1ラインごとに点順次で、欠陥のある画素(そのアドレ
スがあらかじめ特定されてレジスタにセットされてい
る)からのデータを補正したのちデジタルクランプ回路
101に入力される。デジタルクランプ回路101は、
撮像素子26の出力に対して1ラインごとに点順次で、
オプティカルブラックとして使用する複数の画素データ
の加重平均をそのラインの各画素データから減算する。The 12-bit R, G, and B signals output from the A / D conversion circuit 28 are dot-sequentially output line by line with respect to the output of the image sensor 26, and the defective pixel (the address of which is specified in advance) After that, the data is input to the digital clamp circuit 101 after being corrected. The digital clamp circuit 101
The output of the image sensor 26 is dot-sequential for each line,
A weighted average of a plurality of pixel data used as optical black is subtracted from each pixel data of the line.
【0014】ゲイン設定回路102はR、G、B各色の
画素データに対する調整用ゲインを設定する。調整用ゲ
インの設定は、撮像素子26から出力される各色の画素
データごとにゲインを与え、与えられたゲインにより各
色の出力レベルが所定のレベルとなるように設定され
る。撮像素子26のばらつきにより撮像素子26から出
力される画素データの出力レベルが異なる場合でも、調
整用ゲインが設定されることにより、ゲイン調整回路1
03に入力される画像データレベルが撮像素子26の器
差にかかわらず所定のレベルに補正される。ゲイン調整
回路103は、入力されたR、B各色の画素データに対
してホワイトバランス調整用のRゲインとBゲインをそ
れぞれかけ合わせることにより、ホワイトバランス調整
を行う。これらのRゲイン、Bゲインは、後述するホワ
イトバランス検出回路35で算出されてメモリ35Dに
記憶されている。A gain setting circuit 102 sets an adjustment gain for pixel data of each of R, G, and B colors. The adjustment gain is set such that a gain is given to each pixel data of each color output from the imaging element 26, and the output level of each color becomes a predetermined level by the given gain. Even when the output level of the pixel data output from the image sensor 26 varies due to the variation of the image sensor 26, the gain adjustment circuit 1
The image data level input to 03 is corrected to a predetermined level regardless of the instrumental error of the image sensor 26. The gain adjustment circuit 103 performs white balance adjustment by multiplying the input R and B color pixel data by R gain and B gain for white balance adjustment. These R gain and B gain are calculated by a white balance detection circuit 35 described later and stored in the memory 35D.
【0015】黒レベル回路104は、撮像素子26の出
力に対して1ラインごとに点順次で、あらかじめ決定さ
れてCPU21のレジスタに格納されている値をR,
G,B信号に対して加算する。γ補正回路105は、撮
像素子26の出力に対して1ラインごとに点順次で、階
調ルックアップテーブルを用いてγ補正を行なう。The black level circuit 104 outputs a predetermined value stored in the register of the CPU 21 to R,
G and B signals are added. The gamma correction circuit 105 performs gamma correction on the output of the image sensor 26 in a dot-sequential manner for each line using a gradation look-up table.
【0016】−ホワイトバランス検出− 図2のホワイトバランス検出回路35で行われるホワイ
トバランス検出処理について詳細に説明する。ホワイト
バランス検出回路35は、上述した色センサ86と、色
センサ86からのアナログ信号をデジタル信号に変換す
るA/D変換回路35Bと、変換されたデジタル信号に
基づいてホワイトバランス調整係数を生成するCPU3
5Cと、参照用ルックアップテーブルが記録されたメモ
リ35Dとを含む。CPU35Cは、色センサ86で撮
像されたデジタルデータよりホワイトバランスを検出し
てホワイトバランス調整用ゲインを決定する。本実施の
形態では、CPU35Cがデジタルデータの色情報に基
づいて肌色を検出し、検出された肌色に応じてホワイト
バランス調整係数、すなわち、ホワイトバランス調整用
のRゲインおよびBゲインを決定する。なお、本明細書
では、肌色をより肌色にするようなゲイン調整もホワイ
トバランス調整と呼ぶ。-White Balance Detection- The white balance detection processing performed by the white balance detection circuit 35 of FIG. 2 will be described in detail. The white balance detection circuit 35 generates the white balance adjustment coefficient based on the above-described color sensor 86, an A / D conversion circuit 35B that converts an analog signal from the color sensor 86 into a digital signal, and the converted digital signal. CPU3
5C and a memory 35D in which a lookup table for reference is recorded. The CPU 35C detects a white balance from digital data captured by the color sensor 86 and determines a white balance adjustment gain. In the present embodiment, the CPU 35C detects a skin color based on color information of digital data, and determines a white balance adjustment coefficient, that is, an R gain and a B gain for white balance adjustment, according to the detected skin color. In this specification, a gain adjustment that makes a skin color more flesh-colored is also referred to as white balance adjustment.
【0017】色センサ86は、たとえば図4に示すよう
に横24列×縦20行に分割された480個の画素を有
する1枚の2次元撮像素子である。撮像素子86の表面
には、480画素に対応して横24列×縦20行の48
0ブロックに分割されたRGBカラーフィルタ861が
配設されている。被写体光がこのような色フィルタを通
して撮像されることにより、被写体光はR色信号、G色
信号およびB色信号に分解されて撮像される。CPU3
5Cで色情報を検出するとき、後述する焦点検出装置3
6で選択された焦点検出領域に対応して、色センサ86
から被写体光の色データが読出される。The color sensor 86 is a single two-dimensional image sensor having 480 pixels divided into, for example, 24 columns × 20 columns as shown in FIG. On the surface of the image sensor 86, 48 rows of 24 columns × 20 rows corresponding to 480 pixels
An RGB color filter 861 divided into 0 blocks is provided. By capturing the subject light through such a color filter, the subject light is decomposed into an R color signal, a G color signal, and a B color signal and captured. CPU3
When detecting color information in 5C, a focus detection device 3 described later
The color sensor 86 corresponds to the focus detection area selected in Step 6.
, The color data of the subject light is read out.
【0018】図4において、点86V〜86Wは焦点検
出領域に対応する色センサ86上の位置を表す。たとえ
ば、後述する焦点検出領域の設定により、焦点検出領域
が被写界の中央に設定された場合は、色センサ86の中
央の点86Wを中心とする横6画素×縦4画素の方形領
域内(図4に斜線で示す)に存在するR、GおよびB色の
色データが読出される。In FIG. 4, points 86V to 86W represent positions on the color sensor 86 corresponding to the focus detection area. For example, when the focus detection area is set at the center of the object scene by the setting of the focus detection area described later, a square area of 6 pixels horizontally × 4 pixels vertically centered on the center point 86W of the color sensor 86 is used. The color data of the R, G, and B colors (shown by hatching in FIG. 4) are read.
【0019】読出された色データについて、横方向に隣
接する一組のR、G、B色のデータを注目画素iと呼
び、方形領域内から読出された各注目画素iについて、
R色データとG色データの比R/G、およびB色データ
と/G色データの比B/Gがそれぞれ算出される。算出
されたR/GおよびB/Gについて、次式(1)、(2)を
用いることにより肌色らしいデータが検出される。Regarding the read color data, a set of R, G, and B color data adjacent in the horizontal direction is referred to as a target pixel i, and for each target pixel i read from the rectangular area,
A ratio R / G between the R color data and the G color data and a ratio B / G between the B color data and the / G color data are calculated. By using the following equations (1) and (2) for the calculated R / G and B / G, data suitable for skin color is detected.
【数1】 SRGLOWER<Fi(R/G)<SRGUPPER (1) SBGLOWER<Fi(B/G)<SBGUPPER (2) ただし、SRGLOWERおよびSRGUPPERは肌色判定時における
R色比率の下限閾値および上限閾値であり、SBGLOWERお
よびSBGUPPERは肌色判定時におけるB色比率の下限閾値
および上限閾値である。また、Fi(R/G)およびFi(B/G)は
注目画素iにおけるR信号とG信号の比、およびB信号
とG信号の比である。これらの閾値は、メモリ35Dに
あらかじめ記憶されているもので、たとえば、0.9<Fi
(R/G)<1.1および0.7<Fi(B/G)<0.9のように与えられ
る。SRGLOWER <Fi (R / G) <SRGUPPER (1) SBGLOWER <Fi (B / G) <SBGUPPER (2) where SRGLOWER and SRGUPPER are the lower and upper thresholds of the R color ratio at the time of skin color judgment. Yes, SBGLOWER and SBGUPPER are a lower threshold and an upper threshold of the B color ratio at the time of skin color determination. Further, Fi (R / G) and Fi (B / G) are the ratio of the R signal to the G signal and the ratio of the B signal to the G signal in the target pixel i. These thresholds are stored in the memory 35D in advance, and for example, 0.9 <Fi
(R / G) <1.1 and 0.7 <Fi (B / G) <0.9.
【0020】上式(1)、(2)を満足する肌色らしいデー
タを注目画素jとして、全ての注目画素jのR/Gの平均
値、および全ての注目画素jのB/Gの平均値が次式
(3)、(4)により算出される。Assuming that the skin-color-like data satisfying the above equations (1) and (2) is the target pixel j, the average value of R / G of all target pixels j and the average value of B / G of all target pixels j Is
It is calculated by (3) and (4).
【数2】 (Equation 2)
【0021】算出されたR/GおよびB/Gの平均値に
基づいて相関色温度が決定される。図5は相関色温度曲
線を表す図であり、横軸がR/G、縦軸がB/Gであ
る。R信号およびB信号をG信号で除算することによ
り、被写体の色における赤色成分と青色成分を被写体の
輝度差による影響を除いて表すことができる。色温度が
高くなると青色成分が強くなり、色温度が低くなると赤
色成分が強くなる。図5の相関色温度曲線があらかじめ
メモリ35Dにルックアップテーブルとして記憶されて
いるので、上式(3)、(4)で算出された結果に応じてメ
モリ35Dから相関色温度が読出される。読出された相
関色温度からRデータに対するホワイトバランス調整用
Rゲイン、およびBデータに対するホワイトバランス調
整用Bゲインが図6を用いて決定される。The correlated color temperature is determined based on the calculated average values of R / G and B / G. FIG. 5 is a diagram showing a correlated color temperature curve, where the horizontal axis is R / G and the vertical axis is B / G. By dividing the R signal and the B signal by the G signal, the red component and the blue component of the color of the subject can be represented without the influence of the luminance difference of the subject. As the color temperature increases, the blue component increases, and as the color temperature decreases, the red component increases. Since the correlated color temperature curve of FIG. 5 is stored in the memory 35D in advance as a look-up table, the correlated color temperature is read from the memory 35D according to the results calculated by the above equations (3) and (4). The white balance adjustment R gain for the R data and the white balance adjustment B gain for the B data are determined from the read correlated color temperature using FIG.
【0022】図6は相関色温度とRゲインおよびBゲイ
ンとの関係を表す図である。RゲインおよびBゲインの
値は、検出された肌色らしい色をより肌色に近づけるよ
うにあらかじめ実測データに基づいて決定し、色温度の
関数として表したものである。これらRゲインおよびB
ゲインの値はルックアップテーブルとしてメモリ35D
にあらかじめ記憶されており、上述したように求められ
た相関色温度に応じてメモリ35Dから読出される。読
出されたRゲインおよびBゲインの値がホワイトバラン
ス調整時に使用するホワイトバランス調整係数として決
定される。このホワイトバランス調整用ゲインは、メモ
リ35Dに記憶されるとともにCPU21を介して画像
処理CPU29へ送られる。FIG. 6 is a diagram showing the relationship between the correlated color temperature and the R gain and the B gain. The values of the R gain and the B gain are determined in advance based on the actually measured data so as to bring the detected skin-like color closer to the skin color, and are expressed as a function of the color temperature. These R gain and B
The gain value is stored in a memory 35D as a lookup table.
And is read from the memory 35D according to the correlated color temperature obtained as described above. The read R gain and B gain values are determined as white balance adjustment coefficients used at the time of white balance adjustment. This white balance adjustment gain is stored in the memory 35D and sent to the image processing CPU 29 via the CPU 21.
【0023】上述したように決定されたホワイトバラン
ス調整係数は、以降に撮像素子26で撮像される画像デ
ータに対してゲイン調整回路103で行われるホワイト
バランス調整時に使用される。ホワイトバランス調整
は、ホワイトバランス検出領域に関係なく、撮像素子2
6で撮像された全域のR信号およびB信号に対してホワ
イトバランス調整用のRゲインおよびBゲインがそれぞ
れかけ合わされることによって行われる。The white balance adjustment coefficient determined as described above is used at the time of white balance adjustment performed by the gain adjustment circuit 103 on image data picked up by the image pickup device 26 thereafter. White balance adjustment is performed regardless of the white balance detection area.
This is performed by multiplying the R signal and the B signal of the entire area imaged in step 6 by the R gain and the B gain for white balance adjustment, respectively.
【0024】−焦点検出− 図7を参照して焦点検出装置36の構成およびこの焦点
検出装置36による焦点検出動作の原理について説明す
る。焦点検出装置36はCPU21により制御され、赤
外光カットフィルタ700、視野マスク900、フィー
ルドレンズ300、開口マスク400、再結像レンズ5
01および502、そしてイメージセンサ310などで
構成される。領域800は撮影レンズ91(図1)の射
出瞳である。また、領域801、802は、開口マスク
400に穿設される開口部401、402をフィールド
レンズ300によって領域800上に逆投影した像の存
在する領域である。なお、赤外光カットフィルタ700
の位置は視野マスク900の右側でも左側でも構わな
い。領域801、802を介して入射した光束は、撮像
素子26の等価面600上で焦点を結んだ後、赤外光カ
ットフィルタ700、視野マスク900、フィールドレ
ンズ300、開口部401、402および再結像レンズ
501、502を通りイメージセンサアレイ310a、
310b上に結像する。-Focus Detection- The configuration of the focus detection device 36 and the principle of the focus detection operation by the focus detection device 36 will be described with reference to FIG. The focus detection device 36 is controlled by the CPU 21 and includes an infrared light cut filter 700, a field mask 900, a field lens 300, an aperture mask 400, and a re-imaging lens 5.
01 and 502, and an image sensor 310. An area 800 is an exit pupil of the photographing lens 91 (FIG. 1). Areas 801 and 802 are areas where an image obtained by back-projecting the openings 401 and 402 formed in the aperture mask 400 onto the area 800 by the field lens 300 is present. Note that the infrared light cut filter 700
May be on the right or left side of the field mask 900. The light beams incident through the regions 801 and 802 are focused on the equivalent surface 600 of the image sensor 26, and then are focused on the infrared light cut filter 700, the field mask 900, the field lenses 300, the openings 401 and 402, and The image sensor array 310a passes through the image lenses 501 and 502,
An image is formed on 310b.
【0025】これらイメージセンサアレイ310a、3
10b上に結像した一対の被写体像は、撮影レンズ91
が撮像素子26の等価面600よりも前(被写体側)に
被写体の鮮鋭像を結ぶいわゆる前ピン状態では互いに近
づき、逆に撮像素子26の等価面600よりも後に被写
体の鮮鋭像を結ぶいわゆる後ピン状態では互いに遠ざか
る。そして、イメージセンサアレイ310a、310b
上に結像した被写体像が所定の間隔となるときに被写体
の鮮鋭像は撮像素子26の等価面600上に位置する。
したがってこの一対の被写体像をイメージセンサアレイ
310a、310bで光電変換して電気信号に換え、こ
れらの信号を演算処理して一対の被写体像の相対距離を
求めることにより撮影レンズ91の焦点調節状態、つま
り交換レンズ90により鮮鋭な像が形成される位置が、
撮像素子26の等価面600に対してどの方向にどれだ
け離れているか、つまりずれ量が求められる。図7にお
いて焦点検出領域は、イメージセンサアレイ310a、
310bが再結像レンズ501、502によって逆投影
されて、撮像素子26の等価面600の近傍で重なった
部分に相当する。These image sensor arrays 310a, 310a
A pair of subject images formed on 10 b
Are close to each other in a so-called front focus state in which a sharp image of the subject is formed before (subject side) the equivalent surface 600 of the image sensor 26, and conversely, in a so-called rear focus state in which a sharp image of the subject is formed behind the equivalent surface 600 of the image sensor 26. In the pin state, they move away from each other. Then, the image sensor arrays 310a and 310b
A sharp image of the subject is located on the equivalent surface 600 of the image sensor 26 when the subject image formed above has a predetermined interval.
Therefore, the pair of subject images are photoelectrically converted by the image sensor arrays 310a and 310b to be converted into electric signals, and these signals are subjected to arithmetic processing to obtain the relative distance between the pair of subject images. That is, the position where a sharp image is formed by the interchangeable lens 90 is
In which direction and how far from the equivalent surface 600 of the image sensor 26, that is, the shift amount is obtained. In FIG. 7, the focus detection areas are the image sensor array 310a,
310b is projected back by the re-imaging lenses 501 and 502, and corresponds to a portion overlapping near the equivalent surface 600 of the image sensor 26.
【0026】撮影画面内における焦点検出領域は以下の
ように設定される。図8はデジタルスチルカメラの背面
に設けられた領域選択スイッチ19a〜19dを表す図で
あり、図9は接眼レンズ83を通して観測される画面を
表す図である。図9において、5つのマーク9V〜9Z
が焦点検出領域を示す。焦点検出領域の変更は、半押し
スイッチ22が操作されてから所定時間が経過するまで
の間に領域選択スイッチ19a〜19dが操作されること
により行われる。The focus detection area in the photographing screen is set as follows. FIG. 8 is a diagram illustrating the area selection switches 19a to 19d provided on the back of the digital still camera, and FIG. 9 is a diagram illustrating a screen observed through the eyepiece 83. In FIG. 9, five marks 9V to 9Z
Indicates a focus detection area. The change of the focus detection area is performed by operating the area selection switches 19a to 19d until a predetermined time elapses after the half-push switch 22 is operated.
【0027】半押しスイッチ22が操作されると領域選
択スイッチ19a〜19dが所定時間有効になり、この間
にスイッチ19aが操作されると図9において現在設定
されている焦点検出領域9Wの上に位置する焦点検出領
域9Vに変更される。続いて領域選択スイッチ19bが
操作されると、再び焦点検出領域9Wに変更される。ま
た、領域選択スイッチ19cが操作されると、焦点検出
領域9Wに対して左に位置する焦点検出領域9Yに変更
される。同様にして、領域選択スイッチ19dを操作す
ることにより、設定されている焦点検出領域9Wに対し
て右に位置する焦点検出領域9Zに変更することができ
る。選択された焦点検出領域は、たとえば図9における
領域9Yのように他の領域のマーカに比べて強調して表
示される。撮影者が主要被写体上にあるマーク9V〜9
Zのいずれかを選択することにより、選択されたマーク
に対応する撮影画面内の焦点検出領域において上述した
焦点位置の調節状態が検出される。When the half-push switch 22 is operated, the area selection switches 19a to 19d are enabled for a predetermined time. When the switch 19a is operated during this time, when the switch 19a is operated, a position above the currently set focus detection area 9W in FIG. Is changed to the focus detection area 9V. Subsequently, when the area selection switch 19b is operated, the area is changed to the focus detection area 9W again. When the area selection switch 19c is operated, the focus detection area 9Y is changed to the focus detection area 9Y located on the left of the focus detection area 9W. Similarly, by operating the area selection switch 19d, it is possible to change to the focus detection area 9Z located to the right of the set focus detection area 9W. The selected focus detection area is displayed in an emphasized manner as compared with markers in other areas, for example, as in an area 9Y in FIG. Marks 9V to 9 on the main subject by the photographer
By selecting any one of Z, the adjustment state of the focus position described above is detected in the focus detection area in the shooting screen corresponding to the selected mark.
【0028】なお、図7は焦点検出の原理を説明するた
めに1つの焦点検出領域について表したものである。図
9のように被写界内に複数の焦点検出領域を有する場合
は、焦点検出領域に対応して複数の開口が視野マスク9
00に設けられる。そして、視野マスク900の複数の
開口を通過した光束が、それぞれ一対の被写体像として
結像されるように光学系が設けられる。FIG. 7 shows one focus detection area for explaining the principle of focus detection. When a plurality of focus detection areas are provided in the field as shown in FIG. 9, a plurality of openings are formed in the field mask 9 corresponding to the focus detection areas.
00 is provided. Then, an optical system is provided so that the light beams passing through the plurality of openings of the field mask 900 are respectively formed as a pair of subject images.
【0029】焦点検出装置36による焦点検出動作は、
AFロックスイッチ18がオンされると、その時点で検
出された焦点調節状態に基づいてレンズ駆動回路37に
より撮影レンズ91を合焦位置に移動し、撮影処理が終
了するまで以降の焦点検出動作を停止する。焦点検出動
作で使用される焦点検出領域の情報は、上述したように
ホワイトバランス検出を行う領域としても使用される。
すなわち、色センサ86上の点86V〜86Zが焦点検
出領域9V〜9Zにそれぞれ対応する。たとえば、図9
において領域9Yが焦点検出領域に選択された場合は、
上述したホワイトバランス検出において、図4の点86
Yを中心とする横6画素×縦4画素の方形領域内に存在
するG、BおよびR色の色データが色センサ86から読
出される。焦点検出領域の情報およびAFロックスイッ
チ18の操作状態は、CPU21からホワイトバランス
検出回路35にも送られる。The focus detecting operation by the focus detecting device 36 is as follows.
When the AF lock switch 18 is turned on, the photographing lens 91 is moved to the in-focus position by the lens drive circuit 37 based on the focus adjustment state detected at that time, and the subsequent focus detection operation is performed until the photographing process ends. Stop. Information on the focus detection area used in the focus detection operation is also used as an area for performing white balance detection as described above.
That is, points 86V to 86Z on the color sensor 86 correspond to the focus detection areas 9V to 9Z, respectively. For example, FIG.
When the area 9Y is selected as the focus detection area in
In the above-described white balance detection, the point 86 in FIG.
The color data of the G, B, and R colors existing in a rectangular area of 6 pixels × 4 pixels centering on Y is read from the color sensor 86. Information on the focus detection area and the operation state of the AF lock switch 18 are also sent from the CPU 21 to the white balance detection circuit 35.
【0030】図10は本実施の形態によるホワイトバラ
ンス検出処理を表すフローチャートである。ステップS
201において、AFロックスイッチ18がオンされて
いるか否かが判定される。否定判定される(ステップS
201のN)とステップS202へ進み、肯定判定され
る(ステップS201のY)とステップS210へ進む。
ステップS202において、色センサ86で信号電荷が
蓄積され、蓄積された電荷信号がA/D変換回路35B
でデジタルデータに変換される。ステップS203にお
いて、焦点検出装置36で焦点検出が行われる焦点検出
領域の位置情報がメモリ35Dから読出される。ステッ
プS204において、焦点検出領域に対応する色センサ
86上の位置を中心とする所定領域内のR、GおよびB
色の画素データについて、それぞれR色データとG色デ
ータの比、B色データと/G色データの比が算出され
る。FIG. 10 is a flowchart showing the white balance detection processing according to the present embodiment. Step S
In 201, it is determined whether the AF lock switch 18 is turned on. A negative determination is made (step S
If (N of 201) and the process proceeds to step S202, and if an affirmative determination is made (Y of step S201), the process proceeds to step S210.
In step S202, signal charges are accumulated in the color sensor 86, and the accumulated charge signals are converted into the A / D conversion circuit 35B.
Is converted to digital data. In step S203, position information of a focus detection area where focus detection is performed by the focus detection device 36 is read from the memory 35D. In step S204, R, G, and B in a predetermined area centered on the position on the color sensor 86 corresponding to the focus detection area
For the color pixel data, the ratio between the R color data and the G color data and the ratio between the B color data and the / G color data are calculated.
【0031】ステップS205において、注目画素iの
中に肌色らしいデータがあるか否かが上式(1)、(2)を
用いて判定される。両式を満足する注目画素jが1つ以
上検出された場合に肯定判定(ステップS205のY)さ
れてステップS206へ進む。ステップS206では上
式(1)、(2)により検出されたm組のR/GおよびB/
Gの平均値が上式(3)、(4)により算出される。In step S205, it is determined whether or not there is skin color data in the target pixel i using the above equations (1) and (2). When one or more target pixels j satisfying both equations are detected, an affirmative determination is made (Y in step S205), and the process proceeds to step S206. In step S206, m sets of R / G and B / B detected by the above equations (1) and (2) are used.
The average value of G is calculated by the above equations (3) and (4).
【0032】ステップS207において、算出されたR
/GおよびB/Gの平均値に基づいてメモリ35Dから
相関色温度が読出される。ステップS208において、
Rデータに対するホワイトバランス調整用Rゲイン、お
よびBデータに対するホワイトバランス調整用Bゲイン
が、図6の相関色温度およびホワイトバランス調整用ゲ
インの関係から決定される。決定されたRゲインおよび
Bゲインはメモリ35Dに記憶される。ステップS20
9において、ホワイトバランス調整用のRゲインおよび
Bゲインが画像処理CPU29へ送出されて、図10の
処理が終了する。In step S207, the calculated R
The correlated color temperature is read from memory 35D based on the average values of / G and B / G. In step S208,
The white balance adjustment R gain for the R data and the white balance adjustment B gain for the B data are determined from the relationship between the correlated color temperature and the white balance adjustment gain in FIG. The determined R gain and B gain are stored in the memory 35D. Step S20
At 9, the R gain and the B gain for white balance adjustment are sent to the image processing CPU 29, and the processing in FIG. 10 ends.
【0033】上述したステップS205において、否定
判定された(ステップS205のN)場合はステップS2
11へ進み、メモリ35Dに記憶されている所定のホワ
イトバランス調整用のRゲインおよびBゲインが読出さ
れる。これらRゲインおよびBゲインは、デフォルト値
としてあらかじめメモリ35Dに記憶されているもので
ある。When a negative determination is made in step S205 (N in step S205), step S2 is performed.
Proceeding to 11, the predetermined white balance adjustment R gain and B gain stored in the memory 35D are read. These R gain and B gain are previously stored in the memory 35D as default values.
【0034】一方、上述したステップS201において
肯定判定された場合に進むステップS210では、前回
ステップS208で記憶されたRゲインおよびBゲイン
がメモリ35Dから読出される。つまり、AFロックス
イッチ18がオンされている場合は、新たにホワイトバ
ランス調整係数の演算を行わない。AFロックスイッチ
18がオンされたとき、その時点で検出された肌色らし
い色に基づいてホワイトバランス調整係数を決定し、撮
影処理が終了するまでの以降のホワイトバランス検出動
作を停止する。AFロックスイッチ18の操作状態はC
PU21からホワイトバランス検出回路35にも送られ
る。On the other hand, in step S210, which proceeds when the result of the determination in step S201 is affirmative, the R gain and B gain stored in the previous step S208 are read from the memory 35D. That is, when the AF lock switch 18 is turned on, no new calculation of the white balance adjustment coefficient is performed. When the AF lock switch 18 is turned on, the white balance adjustment coefficient is determined based on the skin-like color detected at that time, and the subsequent white balance detection operation until the photographing process ends is stopped. The operation state of the AF lock switch 18 is C
It is also sent from the PU 21 to the white balance detection circuit 35.
【0035】このように構成されたデジタルスチルカメ
ラの動作について説明する。図11は撮影処理を表すフ
ローチャートである。ステップS301において、AF
ロックスイッチ18がオンされているか否かが判定され
る。否定判定される(ステップS301のN)とステップ
S302へ進み、肯定判定される(ステップS301の
Y)とステップS303へ進む。ステップS302にお
いて、焦点検出装置36により焦点調節状態が検出さ
れ、検出された焦点調節状態に基づいてレンズ駆動装置
37がレンズ91を合焦位置へ駆動する。ステップS3
03において、上述した図10のホワイトバランス検出
処理が行われる。The operation of the digital still camera thus configured will be described. FIG. 11 is a flowchart showing the photographing process. In step S301, AF
It is determined whether the lock switch 18 is turned on. If a negative determination is made (N in step S301), the process proceeds to step S302, and if an affirmative determination is made (Y in step S301), the process proceeds to step S303. In step S302, the focus adjustment state is detected by the focus detection device 36, and the lens driving device 37 drives the lens 91 to the in-focus position based on the detected focus adjustment state. Step S3
At 03, the above-described white balance detection processing of FIG. 10 is performed.
【0036】ステップS304において、撮像素子26
の各画素が受光信号を蓄積し、蓄積終了後、全画素の蓄
積電荷が順次読出される。読出された画像データはアナ
ログ信号処理回路27で処理された後、A/D変換回路
28でデジタル画像データに変換され、画像処理CPU
29に入力される。画像処理CPU29で上述したホワ
イトバランス調整を含む所定の画像処理が行われ、ステ
ップS305で画像処理後のスルー画像がビューファイ
ンダー32に表示される。In step S304, the image sensor 26
Each pixel accumulates the light receiving signal, and after the accumulation is completed, the accumulated charges of all the pixels are sequentially read. The read image data is processed by an analog signal processing circuit 27 and then converted into digital image data by an A / D conversion circuit 28.
29. Predetermined image processing including the above-described white balance adjustment is performed by the image processing CPU 29, and a through image after the image processing is displayed on the viewfinder 32 in step S305.
【0037】ステップS306において半押しスイッチ
22が操作されたか否かが判定され、肯定判定される
(ステップS306のY)とステップS307へ進み、否
定判定される(ステップS306のN)とステップS30
1へ戻る。ステップS307において被写体の輝度を検
出する測光動作が行われる。被写体の輝度検出は色セン
サ86から出力されたデータを用いてCPU35Cで行
われる。CPU35Cが検出した輝度データをCPU2
1に出力すると、CPU21は輝度データに基づいて露
出演算を行う。ステップS308でAFロックスイッチ
18がオンされているか否かが判定される。否定判定さ
れる(ステップS308のN)とステップS309へ進
み、肯定判定される(ステップS308のY)とステップ
S310へ進む。In step S306, it is determined whether or not the half-press switch 22 has been operated, and an affirmative determination is made.
(Y in step S306) and the process proceeds to step S307, and if a negative determination is made (N in step S306), the process proceeds to step S30.
Return to 1. In step S307, a photometric operation for detecting the luminance of the subject is performed. The luminance of the subject is detected by the CPU 35C using the data output from the color sensor 86. The luminance data detected by the CPU 35C is
When output to 1, the CPU 21 performs an exposure calculation based on the luminance data. In step S308, it is determined whether the AF lock switch 18 is turned on. If a negative determination is made (N in step S308), the process proceeds to step S309, and if an affirmative determination is made (Y in step S308), the process proceeds to step S310.
【0038】ステップS309において、焦点検出装置
36により焦点調節状態が検出され、検出された焦点調
節状態に基づいてレンズ駆動装置37がレンズ91を合
焦位置へ駆動する。ステップS310において全押しス
イッチ23が操作されたと判定される(ステップS31
0のY)と、クイックリターンミラーが跳ね上がり、ス
テップS311以降の撮影シーケンスが開始される。一
方、否定判定される(ステップS310のN)とステップ
S317へ進み、タイムアウト判定が行われる。ステッ
プS317でタイムアウト判定されない(ステップS3
17のN)場合はステップS310へ戻り、タイムアウ
ト判定された(ステップS317のY)場合は撮影シーケ
ンスを行わずに図11の処理を終了する。In step S309, the focus adjustment state is detected by the focus detection device 36, and the lens driving device 37 drives the lens 91 to the in-focus position based on the detected focus adjustment state. It is determined in step S310 that the full-press switch 23 has been operated (step S31).
If 0), the quick return mirror jumps up, and the photographing sequence after step S311 is started. On the other hand, when a negative determination is made (N in step S310), the process proceeds to step S317, and a timeout determination is performed. No timeout is determined in step S317 (step S3
In the case of 17) (N), the process returns to step S310, and when the timeout is determined (Y in step S317), the processing in FIG.
【0039】ステップS311において、撮像素子26
の各画素が受光信号を蓄積し、蓄積終了後、全画素の蓄
積電荷が順次読出される。ステップS312において、
読出された画像データはアナログ信号処理回路27で処
理された後、A/D変換回路28でデジタル画像データ
に変換され、画像処理CPU29に入力される。次にス
テップS313に進み、上述したホワイトバランス調
整、γ階調補正、JPEGフォーマット化処理などが画
像処理CPU29で行なわれる。画像処理が終了すると
ステップS314に進み、画像処理後の画像データをい
ったんバッファメモリ30に記憶するとともに、ビュー
ファインダー32にフリーズ画像を表示する。ステップ
S315において、バッファメモリ30から画像データ
を読込んでJPEG圧縮回路33でデータを圧縮する。
ステップS316では、圧縮した画像データをメモリカ
ード34に記憶して図11の処理を終了する。In step S311, the image sensor 26
Each pixel accumulates the light receiving signal, and after the accumulation is completed, the accumulated charges of all the pixels are sequentially read. In step S312,
The read image data is processed by the analog signal processing circuit 27, converted into digital image data by the A / D conversion circuit 28, and input to the image processing CPU 29. Next, the process proceeds to step S313, and the image processing CPU 29 performs the above-described white balance adjustment, γ gradation correction, JPEG formatting, and the like. Upon completion of the image processing, the flow advances to step S314 to temporarily store the image data after the image processing in the buffer memory 30 and display a frozen image on the viewfinder 32. In step S315, the image data is read from the buffer memory 30, and the data is compressed by the JPEG compression circuit 33.
In step S316, the compressed image data is stored in the memory card 34, and the processing in FIG. 11 ends.
【0040】上記の説明では、自然光の下で撮影する場
合を想定して説明したが、蛍光灯の下で撮影する場合に
はホワイトバランス調整用ゲインを調整する必要が生じ
る。一般に、自然光の下で撮影したときより蛍光灯の下
で撮影したときの方が、撮影されたRGBデータの色温
度が高くなる。この色温度差は図6のRゲインおよびB
ゲインの値を所定量補正することで補正できる。そこ
で、RゲインおよびBゲインの値を格納したルックアッ
プテーブルを自然光の下での撮影用と蛍光灯の下での撮
影用に2組用意し、撮影者によりあらかじめ設定された
撮影光に対応するルックアップテーブルが読出されるよ
うにする。In the above description, the case of photographing under natural light has been described. However, when photographing under fluorescent light, it is necessary to adjust the white balance adjustment gain. Generally, the color temperature of the captured RGB data is higher when photographing under a fluorescent light than when photographing under natural light. This color temperature difference is determined by the R gain and the B gain shown in FIG.
It can be corrected by correcting the value of the gain by a predetermined amount. Therefore, two sets of lookup tables storing the values of the R gain and the B gain are prepared for photographing under natural light and for photographing under fluorescent light, and correspond to photographing light preset by the photographer. Make the lookup table read.
【0041】この実施の形態の特徴についてまとめる。 (1)色センサ86の出力から肌色らしい注目画素jを
検出し、検出された注目画素jにおけるR/GおよびB/Gの
平均を求め、R/G-B/G座標上のデータに変換して相関色
温度を求めるようにした。さらに、求められた相関色温
度に応じてホワイトバランス調整用のRゲインおよびB
ゲインを決定するようにしたので、肌色に対して最適な
ホワイトバランス調整が行われる。したがって、ポート
レート撮影を行う場合に、人物の肌色に対して最適なホ
ワイトバランス調整が背景の色に関係なく行われるよう
になる。 (2)上記(1)による肌色らしい注目画素jの検出は、
焦点検出装置36で選択された焦点検出領域に対応して
色センサ86から読出される色データを用いて行うよう
にした。つまり、図9において焦点検出領域9Yが選択
された場合は、図4における点86Yを中心とする横6
画素×縦4画素の方形領域内に存在するG、BおよびR
色の色データを用いて行うようにした。一般に、焦点検
出領域は主要被写体が存在する位置に設定されるので、
この領域に対応する色センサ86の色データを用いるこ
とにより、ポートレート撮影の場合に肌色らしいデータ
を検出しやすくする効果が得られる。 (3)AFロックスイッチ18がオンされると、その時
点で検出された肌色らしい色に基づいてホワイトバラン
ス調整係数を決定し、撮影処理が終了するまでの以降の
ホワイトバランス検出動作を停止するようにした。たと
えば、選択されている焦点検出領域に主要被写体が位置
するようにしてAFロックスイッチ18をオンし、その
後カメラをパンして撮影すれば、主要被写体を焦点検出
領域から外して撮影する場合でも、主要被写体に対する
最適なホワイトバランス調整係数および合焦状態が保持
される。 (4)色センサ86はファインダー装置80内に配設さ
れるようにしたので、全押しスイッチ23の操作により
ミラー71がミラーアップされる前に色センサ86でホ
ワイトバランス検出用データを受光し、ホワイトバラン
ス調整用ゲインを決定して画像処理CPU29へ送出し
ておくことが可能になる。したがって、全押しスイッチ
23の操作により行われるステップS311からの撮影
シーケンスにおいてホワイトバランス調整用ゲインを決
定する必要がないから、撮影シーケンスでホワイトバラ
ンス検出用データが受光される場合に比べて撮影処理時
間を短縮することができる。 (5)色センサ86は、ホワイトバランス検出用と被写
体の輝度検出の両方に兼用されるようにしたので、兼用
しない場合に比べて実装スペースを小さくすることがで
きる上に、コストを低減する効果が得られる。The features of this embodiment will be summarized. (1) A target pixel j likely to be skin color is detected from the output of the color sensor 86, an average of R / G and B / G at the detected target pixel j is calculated, and converted to data on R / GB / G coordinates. The correlated color temperature was determined. Further, according to the obtained correlated color temperature, R gain and B for white balance adjustment are set.
Since the gain is determined, the optimum white balance is adjusted for the skin color. Therefore, when performing portrait photography, the optimal white balance adjustment for the flesh color of the person is performed regardless of the background color. (2) The detection of the attention pixel j which looks like skin color according to the above (1)
This is performed using the color data read from the color sensor 86 corresponding to the focus detection area selected by the focus detection device 36. That is, when the focus detection area 9Y is selected in FIG. 9, the horizontal 6 around the point 86Y in FIG.
G, B and R existing in a rectangular area of pixel × 4 pixels
It is performed using the color data of the color. Generally, the focus detection area is set at the position where the main subject exists,
By using the color data of the color sensor 86 corresponding to this area, it is possible to obtain an effect of making it easy to detect skin color-like data in portrait shooting. (3) When the AF lock switch 18 is turned on, the white balance adjustment coefficient is determined based on the skin-like color detected at that time, and the subsequent white balance detection operation until the photographing process ends is stopped. I made it. For example, if the AF lock switch 18 is turned on so that the main subject is located in the selected focus detection area, and then the camera is panned and photographed, even when the main subject is taken out of the focus detection area and photographed, The optimum white balance adjustment coefficient and the in-focus state for the main subject are maintained. (4) Since the color sensor 86 is disposed in the finder device 80, the color sensor 86 receives white balance detection data before the mirror 71 is mirrored up by operating the full-press switch 23. The white balance adjustment gain can be determined and sent to the image processing CPU 29. Therefore, it is not necessary to determine the white balance adjustment gain in the photographing sequence from step S311 performed by operating the full-press switch 23, so that the photographing processing time is shorter than when the white balance detection data is received in the photographing sequence. Can be shortened. (5) Since the color sensor 86 is used for both white balance detection and subject brightness detection, the mounting space can be reduced as compared with the case where the color sensor 86 is not used for both purposes, and the cost can be reduced. Is obtained.
【0042】以上の説明では、一眼レフデジタルスチル
カメラについて説明したが、一眼レフでないデジタルカ
メラにも本発明を適用することができる。この場合、ビ
ームスプリッタやハーフミラーなどを用いて撮像素子2
6および色センサ86に被写体像を別々に結像させる。In the above description, a single-lens reflex digital still camera has been described. However, the present invention can be applied to a non-single-lens reflex digital camera. In this case, the image sensor 2 is formed using a beam splitter, a half mirror, or the like.
6 and the color sensor 86 separately form subject images.
【0043】また、上述した説明では、撮像素子26お
よび色センサ86を別々に設けたが、撮像素子26が色
センサを兼用するようにしてもよい。この場合には、撮
像素子26で撮像されたデータを用いて上述したように
ホワイトバランス調整用ゲインを決定する。そして、レ
リーズ操作が行われたときに撮像された被写体画像デー
タに対して、上記のホワイトバランス調整用ゲインによ
りホワイトバランス調整を行う。In the above description, the image sensor 26 and the color sensor 86 are provided separately. However, the image sensor 26 may also be used as a color sensor. In this case, the white balance adjustment gain is determined as described above using the data captured by the image sensor 26. Then, white balance adjustment is performed on the subject image data captured when the release operation is performed by using the white balance adjustment gain.
【0044】上記の説明では、撮像素子26および焦点
検出装置36のイメージセンサ310を別々に設けた
が、撮像素子26がイメージセンサ310を兼用するよ
うにしてもよい。また、イメージセンサ310および色
センサ86を別々に設けたが、イメージセンサ310が
色センサ86を兼用するようにしてもよい。さらにま
た、撮像素子26がイメージセンサ310および色セン
サ86を兼用するようにすることもできる。In the above description, the image sensor 26 and the image sensor 310 of the focus detecting device 36 are provided separately. However, the image sensor 26 may be used also as the image sensor 310. Further, although the image sensor 310 and the color sensor 86 are provided separately, the image sensor 310 may also serve as the color sensor 86. Furthermore, the image sensor 26 can also be used as the image sensor 310 and the color sensor 86.
【0045】上述した説明では、CPU35Cで色情報
を検出するとき、色センサ86上の焦点検出領域に対応
する位置を中心とした横6画素×縦4画素の方形領域内
から色データを読出し、読出されたR、GおよびB色の
色データについて、それぞれR色データとG色データの
比、B色データと/G色データの比を算出するようにし
た。しかしながら、上記の方形領域内の色データの代わ
りに、色センサ86上の焦点検出領域に対応する位置に
近接する1組のR、G、B色データを読出し、この1組
の色データを用いてR/GおよびB/Gを算出してもよ
い。In the above description, when color information is detected by the CPU 35C, color data is read from a square area of 6 pixels × 4 pixels centered on a position corresponding to the focus detection area on the color sensor 86, For the read R, G, and B color data, the ratio between the R color data and the G color data and the ratio between the B color data and the / G color data are calculated. However, instead of the color data in the rectangular area, a set of R, G, and B color data close to a position corresponding to the focus detection area on the color sensor 86 is read, and the set of color data is used. R / G and B / G may be calculated by the following method.
【0046】以上の説明では、肌色らしい注目画素jの
検出を行う際に、焦点検出装置36で選択された焦点検
出領域に対応させて行うようにした。しかしながら、デ
ジタルカメラが被写界中に複数の測光領域を有し、選択
されたいずれか1つの測光領域でスポット測光動作を行
う場合には、選択されている測光領域に対応して肌色ら
しい注目画素jの検出を行うようにすることもできる。
本実施の形態では、色センサ86から出力される色デー
タの値の大きさから被写体の輝度を検出し、検出された
輝度値に基づいて露出演算が行われる。そこで、測光領
域に対応して色センサ86から読出された色データを用
いて輝度検出とホワイトバランス検出の両方を行うよう
にすればよい。通常、スポット測光領域は主要被写体に
合わせて設定されるので、スポット測光領域に対応して
色センサ86から読出された色データを用いることによ
り、ポートレート撮影の場合に肌色らしいデータが検出
しやすくなる効果が得られる。In the above description, the detection of the target pixel j which looks like flesh color is performed in accordance with the focus detection area selected by the focus detection device 36. However, when the digital camera has a plurality of photometric areas in the object field and performs a spot photometric operation in any one of the selected photometric areas, a skin-color-like attention corresponding to the selected photometric area. The detection of the pixel j may be performed.
In the present embodiment, the brightness of the subject is detected from the magnitude of the value of the color data output from the color sensor 86, and an exposure calculation is performed based on the detected brightness value. Therefore, both the luminance detection and the white balance detection may be performed using the color data read from the color sensor 86 corresponding to the photometry area. Normally, the spot metering area is set in accordance with the main subject. By using the color data read from the color sensor 86 corresponding to the spot metering area, it is easy to detect skin color-like data in portrait shooting. Is obtained.
【0047】また、図10のフローチャートのステップ
S201において、AFロックスイッチ18がオンされ
ているか否かが判定され、オンされていると判定される
とステップS210へ進み、撮影処理が終了するまでの
以降のホワイトバランス検出動作を停止するようにし
た。このステップS201において、AFロックスイッ
チ18に代えて、AEロックスイッチ17がオンされて
いるか否かを判定するようにしてもよい。この場合、A
Eロックスイッチ17がオンされると、その時点で検出
された肌色らしい色に基づいてホワイトバランス調整係
数を決定し、撮影処理が終了するまでの以降のホワイト
バランス検出動作を停止する。たとえば、被写界の中央
に主要被写体が位置するようにしてAEロックスイッチ
17をオンし、その後カメラをパンして撮影すれば、主
要被写体を被写界の中央から外して撮影する場合でも、
主要被写体に対して最適なホワイトバランス調整および
露出演算値が保持される。測光領域の情報およびAEロ
ックスイッチ17の操作状態は、CPU21からホワイ
トバランス検出回路35にも送られる。In step S201 of the flowchart of FIG. 10, it is determined whether or not the AF lock switch 18 is turned on. If it is determined that the AF lock switch 18 is turned on, the process proceeds to step S210, and the processing is continued until the photographing process ends. The subsequent white balance detection operation is stopped. In step S201, it may be determined whether or not the AE lock switch 17 is turned on instead of the AF lock switch 18. In this case, A
When the E-lock switch 17 is turned on, the white balance adjustment coefficient is determined based on the skin-like color detected at that time, and the subsequent white balance detection operation until the photographing process ends is stopped. For example, if the AE lock switch 17 is turned on so that the main subject is located at the center of the object scene, and then the camera is panned and photographed, even if the main object is taken out of the center of the object scene and photographed,
The optimum white balance adjustment and exposure calculation value for the main subject are held. The information on the photometry area and the operation state of the AE lock switch 17 are also sent from the CPU 21 to the white balance detection circuit 35.
【0048】さらにまた、図10のステップS201を
省略するようにしてもよい。この場合には、AFロック
スイッチ18の操作状態にかかわらず、常にステップS
202以降のホワイトバランス検出動作が行われるよう
になる。さらにまた、図11のフローチャートのステッ
プS301およびS308を省略するようにしてもよ
い。この場合には、ステップS302およびステップS
309において焦点検出装置36による焦点検出動作が
行われるようになる。Further, step S201 in FIG. 10 may be omitted. In this case, regardless of the operation state of the AF lock switch 18, the process always proceeds to step S
The white balance detection operation after 202 is performed. Furthermore, steps S301 and S308 of the flowchart of FIG. 11 may be omitted. In this case, step S302 and step S302
At 309, the focus detection operation by the focus detection device 36 is performed.
【0049】特許請求の範囲における各構成要素と、発
明の実施の形態における各構成要素との対応について説
明すると、交換レンズ90が撮影レンズに、撮像素子2
6が撮像装置に、色センサ86が色温度検出手段および
測光手段に、CPU35Cがゲイン算出手段に、ゲイン
調整回路103がゲイン調整手段に、焦点検出装置36
が焦点検出手段に、レンズ駆動装置37がレンズ駆動手
段に、領域選択スイッチ19a〜19dが焦点検出領域選択手
段および測光領域選択手段に、それぞれ対応する。The correspondence between each component in the claims and each component in the embodiment of the present invention will be described.
6, the color sensor 86 serves as a color temperature detecting means and a photometric means, the CPU 35C serves as a gain calculating means, the gain adjusting circuit 103 serves as a gain adjusting means, and the focus detecting device 36 serves as a gain adjusting means.
Corresponds to the focus detection means, the lens driving device 37 corresponds to the lens driving means, and the area selection switches 19a to 19d correspond to the focus detection area selection means and the photometry area selection means, respectively.
【0050】[0050]
【発明の効果】以上詳細に説明したように本発明によれ
ば、次のような効果を奏する。 (1)請求項1の発明では、色温度検出手段で被写界の
所定領域に対応して色温度情報を検出し、この色温度情
報から検出された肌色を用いて算出されたゲインで画像
データに対するゲイン調整を行うようにした。したがっ
て、たとえば、ポートレート撮影のように人物のアップ
撮影を行う場合に人物の肌の領域から色温度情報を検出
するようにすれば、他の領域に彩度が高い色が存在して
も肌色に対して最適なゲインを算出することができる。
この結果、正しくホワイトバランス調整を行うことが可
能になり、高品位の画像を得ることが可能になる。 (2)請求項2、3の発明では、請求項1の構成に加え
て、焦点検出手段による焦点検出領域に対応して色温度
情報を検出するようにした。一般に、焦点検出領域は主
要被写体が存在する位置に設定されるので、この領域に
対応して色温度情報を検出することにより、ポートレー
ト撮影の場合に人物の肌の色温度情報が検出される可能
性が高くなる。 (3)請求項4の発明では、測光手段による測光領域に
対応して色温度情報を検出するようにした。たとえば、
スポット測光が行われる場合は測光領域が主要被写体の
位置に設定されるので、この領域に対応して色温度情報
を検出することにより、ポートレート撮影の場合に人物
の肌の色温度情報が検出される可能性が高くなる。According to the present invention as described in detail above, the following effects can be obtained. (1) According to the first aspect of the present invention, the color temperature detecting means detects color temperature information corresponding to a predetermined area of the object scene, and an image is obtained with a gain calculated using the skin color detected from the color temperature information. Gain adjustment for data was performed. Therefore, for example, when performing close-up photographing of a person as in portrait photographing, if color temperature information is detected from the skin region of the person, even if there is a highly saturated color in other regions, the skin color , An optimum gain can be calculated.
As a result, the white balance can be correctly adjusted, and a high-quality image can be obtained. (2) According to the second and third aspects of the invention, in addition to the configuration of the first aspect, the color temperature information is detected corresponding to the focus detection area by the focus detection means. In general, the focus detection area is set at a position where the main subject is present. Therefore, by detecting color temperature information corresponding to this area, color temperature information of a person's skin is detected in portrait shooting. The likelihood increases. (3) According to the invention of claim 4, the color temperature information is detected corresponding to the photometry area by the photometry means. For example,
When spot metering is performed, the metering area is set at the position of the main subject. By detecting color temperature information corresponding to this area, color temperature information of a person's skin is detected in portrait shooting. It is more likely to be done.
【図面の簡単な説明】[Brief description of the drawings]
【図1】一眼レフデジタルスチルカメラの一実施の形態
の構成を示す図である。FIG. 1 is a diagram illustrating a configuration of an embodiment of a single-lens reflex digital still camera.
【図2】一眼レフデジタルスチルカメラの信号処理系統
の一実施の形態を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of a signal processing system of the single-lens reflex digital still camera.
【図3】図2に示した信号処理系統のうちライン処理を
行なう回路を説明するブロック図である。FIG. 3 is a block diagram illustrating a circuit that performs line processing in the signal processing system illustrated in FIG. 2;
【図4】色センサのフィルタ配列を示す図である。FIG. 4 is a diagram showing a filter array of a color sensor.
【図5】R/G-B/G座標上に表した色温度曲線の図であ
る。FIG. 5 is a diagram of a color temperature curve represented on R / GB / G coordinates.
【図6】色温度とホワイトバランス調整用ゲインの関係
を表す図である。FIG. 6 is a diagram illustrating a relationship between a color temperature and a gain for white balance adjustment.
【図7】焦点検出装置を説明する図である。FIG. 7 is a diagram illustrating a focus detection device.
【図8】領域選択スイッチを説明する図である。FIG. 8 is a diagram illustrating an area selection switch.
【図9】接眼レンズを通して観測される画面の図であ
る。FIG. 9 is a diagram of a screen observed through an eyepiece.
【図10】ホワイトバランス検出処理を表すフローチャ
ートである。FIG. 10 is a flowchart illustrating a white balance detection process.
【図11】撮影処理を表すフローチャートである。FIG. 11 is a flowchart illustrating a photographing process.
17…AEロックスイッチ、 18…AFロ
ックスイッチ、19a〜19d…領域選択スイッチ、
21…CPU、22…半押しスイッチ、
23…全押しスイッチ、26…撮像素子、
28…A/D変換回路、29…画像処理
CPU、 32…ビューファインダー、
33…JPEG圧縮回路、 35…ホワイ
トバランス検出回路、35B…A/D変換回路、
35C…CPU、35D…メモリ、
36…焦点検出装置、37…レンズ駆動装
置、 73…撮像装置、86…色セン
サ、 90…交換レンズ、91…
撮影レンズ、 92…絞り、100
…ライン処理回路、 102…ゲイン設定
回路、103…ゲイン調整回路17: AE lock switch, 18: AF lock switch, 19a to 19d: area selection switch,
21: CPU, 22: Half-press switch,
23: Full-press switch, 26: Image sensor,
28: A / D conversion circuit, 29: Image processing CPU, 32: Viewfinder,
33: JPEG compression circuit, 35: White balance detection circuit, 35B: A / D conversion circuit,
35C CPU, 35D memory
36: focus detection device, 37: lens driving device, 73: imaging device, 86: color sensor, 90: interchangeable lens, 91 ...
Shooting lens, 92 ... Aperture, 100
... Line processing circuit, 102 ... Gain setting circuit, 103 ... Gain adjustment circuit
フロントページの続き Fターム(参考) 5C065 AA03 BB02 BB04 BB10 BB12 BB23 CC08 CC09 DD02 DD17 EE06 EE13 FF03 GG15 GG17 GG18 GG23 GG30 GG31 GG32 GG35 5C066 AA01 BA20 CA08 CA17 DD01 DD07 EA08 EA15 EA19 EB03 EC02 EC05 GA01 HA02 KA09 KA12 KD02 KD06 KE03 KE09 KE17 KE19 KE24 KF05 KM02 KM05 Continued on the front page F term (reference) 5C065 AA03 BB02 BB04 BB10 BB12 BB23 CC08 CC09 DD02 DD17 EE06 EE13 FF03 GG15 GG17 GG18 GG23 GG30 GG31 GG32 GG35 5C066 AA01 BA20 CA08 CA17 DD01 DD07 EA08 EA02 EC02 KE03 KE09 KE17 KE19 KE24 KF05 KM02 KM05
Claims (4)
画像データを出力する撮像装置と、 前記撮影レンズに対して前記撮像装置と共役な位置に配
設され、前記被写体像を受光して色温度情報を検出する
色温度検出手段と、 被写界の所定の領域に対応する前記色温度検出手段の色
温度情報から肌色を検出し、この肌色を用いてゲインを
算出するゲイン算出手段と、 前記撮像装置から出力された画像データに対して前記ゲ
イン算出手段で算出されたゲインをかけてゲイン調整を
行うゲイン調整手段とを備えることを特徴とする電子カ
メラ。An image pickup device for picking up an image of a subject passing through a photographing lens and outputting image data; and an image pickup device disposed at a position conjugate to the image pickup device with respect to the photographing lens and receiving the image of the subject. Color temperature detecting means for detecting color temperature information, and gain calculating means for detecting a skin color from the color temperature information of the color temperature detecting means corresponding to a predetermined area of the object scene and calculating a gain using the skin color. An electronic camera, comprising: a gain adjustment unit configured to apply a gain calculated by the gain calculation unit to image data output from the imaging device to perform gain adjustment.
節状態を検出する焦点検出手段と、 前記複数の領域の中から前記焦点検出手段による検出領
域を選択する焦点検出領域選択手段と、 前記焦点検出手段により検出された前記焦点調節状態に
基づいて、前記撮影レンズを合焦位置へ駆動するレンズ
駆動手段とを備え、 前記ゲイン算出手段は、前記焦点検出領域選択手段によ
り選択された検出領域に対応する前記色温度検出手段の
色温度情報から肌色を検出し、この肌色を用いてゲイン
を算出することを特徴とする電子カメラ。2. The electronic camera according to claim 1, wherein the focus detection means detects a focus adjustment state of the photographing lens in a plurality of areas in the object scene, and the focus detection means from the plurality of areas. Focus detection area selecting means for selecting a detection area according to the following; and lens driving means for driving the photographing lens to a focusing position based on the focus adjustment state detected by the focus detecting means, wherein the gain calculating means An electronic camera comprising: detecting a flesh color from color temperature information of the color temperature detecting means corresponding to a detection area selected by the focus detection area selecting means; and calculating a gain using the flesh color.
調節駆動が終了したときに検出している肌色を用いてゲ
インを算出し、前記ゲイン調整手段は、このゲインを前
記撮像装置から出力された画像データにかけてゲイン調
整を行うことを特徴とする電子カメラ。3. The electronic camera according to claim 2, wherein the gain calculating means calculates a gain using a skin color detected when the focus adjustment driving by the lens driving means is completed, and the gain adjustment is performed. An electronic camera, wherein the means adjusts the gain by applying the gain to image data output from the imaging device.
ラにおいて、 被写界の複数の領域において前記被写体像の輝度を検出
する測光手段と、 前記複数の領域の中から前記測光手段による測光領域を
選択する測光領域選択手段とを備え、 前記ゲイン算出手段は、前記測光領域選択手段により選
択された測光領域に対応する前記色温度検出手段の色温
度情報から肌色を検出し、この肌色を用いてゲインを算
出することを特徴とする電子カメラ。4. The electronic camera according to claim 1, wherein said photometering means detects a luminance of said subject image in a plurality of regions of the object scene, and said photometering means from among said plurality of regions. A photometric region selecting unit that selects a photometric region according to the above, wherein the gain calculating unit detects a flesh color from the color temperature information of the color temperature detecting unit corresponding to the photometric region selected by the photometric region selecting unit. An electronic camera which calculates a gain using a skin color.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31816499A JP2001136546A (en) | 1999-11-09 | 1999-11-09 | Electronic camera |
| US09/503,917 US6906744B1 (en) | 1999-09-28 | 2000-02-15 | Electronic camera |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31816499A JP2001136546A (en) | 1999-11-09 | 1999-11-09 | Electronic camera |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001136546A true JP2001136546A (en) | 2001-05-18 |
Family
ID=18096196
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31816499A Pending JP2001136546A (en) | 1999-09-28 | 1999-11-09 | Electronic camera |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001136546A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6958773B1 (en) * | 1999-07-15 | 2005-10-25 | Pentax Corporation | White balance control amount calculating device |
| US6975759B2 (en) | 2002-06-25 | 2005-12-13 | Koninklijke Philips Electronics N.V. | Method and system for white balancing images using facial color as a reference signal |
| JP2009303260A (en) * | 2005-12-06 | 2009-12-24 | Panasonic Corp | Digital camera |
| EP3588429A4 (en) * | 2017-03-09 | 2020-02-26 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | PROCESSING METHOD, PROCESSING DEVICE, ELECTRONIC DEVICE, AND COMPUTER READABLE STORAGE MEDIUM |
| CN114500968A (en) * | 2021-12-16 | 2022-05-13 | 苏州科达科技股份有限公司 | Color temperature estimation method, white balance adjustment device and storage medium |
-
1999
- 1999-11-09 JP JP31816499A patent/JP2001136546A/en active Pending
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6958773B1 (en) * | 1999-07-15 | 2005-10-25 | Pentax Corporation | White balance control amount calculating device |
| US6975759B2 (en) | 2002-06-25 | 2005-12-13 | Koninklijke Philips Electronics N.V. | Method and system for white balancing images using facial color as a reference signal |
| JP2009303260A (en) * | 2005-12-06 | 2009-12-24 | Panasonic Corp | Digital camera |
| US7782394B2 (en) | 2005-12-06 | 2010-08-24 | Panasonic Corporation | Digital camera |
| US7787045B2 (en) | 2005-12-06 | 2010-08-31 | Panasonic Corporation | Digital camera having a control portion for light measurement |
| US7796160B2 (en) | 2005-12-06 | 2010-09-14 | Panasonic Corporation | Digital camera |
| US8111323B2 (en) | 2005-12-06 | 2012-02-07 | Panasonic Corporation | Digital camera |
| US8218071B2 (en) | 2005-12-06 | 2012-07-10 | Panasonic Corporation | Digital camera |
| US8223263B2 (en) | 2005-12-06 | 2012-07-17 | Panasonic Corporation | Digital camera |
| US8228416B2 (en) | 2005-12-06 | 2012-07-24 | Panasonic Corporation | Digital camera |
| US8264596B2 (en) | 2005-12-06 | 2012-09-11 | Panasonic Corporation | Digital camera with live view mode |
| US8411196B2 (en) | 2005-12-06 | 2013-04-02 | Panasonic Corporation | Digital camera with movable mirror for AF in live view mode and optical viewfinder mode |
| US8970759B2 (en) | 2005-12-06 | 2015-03-03 | Panasonic Intellectual Property Management Co., Ltd. | Digital camera |
| US9071747B2 (en) | 2005-12-06 | 2015-06-30 | Panasonic Intellectual Property Management Co., Ltd. | Digital camera |
| EP3588429A4 (en) * | 2017-03-09 | 2020-02-26 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | PROCESSING METHOD, PROCESSING DEVICE, ELECTRONIC DEVICE, AND COMPUTER READABLE STORAGE MEDIUM |
| US11145038B2 (en) | 2017-03-09 | 2021-10-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Image processing method and device for adjusting saturation based on depth of field information |
| CN114500968A (en) * | 2021-12-16 | 2022-05-13 | 苏州科达科技股份有限公司 | Color temperature estimation method, white balance adjustment device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4826028B2 (en) | Electronic camera | |
| US7009641B2 (en) | Electronic camera with gain adjustment | |
| US6906744B1 (en) | Electronic camera | |
| JP6046905B2 (en) | Imaging apparatus, exposure control method, and program | |
| US20090091633A1 (en) | Image-taking method and apparatus | |
| JP4487342B2 (en) | Digital camera | |
| JP4366768B2 (en) | Digital camera and computer-readable recording medium | |
| JP2000209598A (en) | Electronic camera with white balance adjustment function | |
| JP2010072619A (en) | Exposure operation device and camera | |
| JP4029206B2 (en) | Imaging device | |
| JP4760496B2 (en) | Image data generation apparatus and image data generation method | |
| JP4106774B2 (en) | Digital camera | |
| JP4337161B2 (en) | Digital camera and computer-readable recording medium | |
| JP2001136546A (en) | Electronic camera | |
| JP4105933B2 (en) | Digital camera and image generation method | |
| JP2009033386A (en) | Imaging apparatus and imaging method | |
| JP2000156874A (en) | Digital camera | |
| JP2006157342A (en) | The camera module | |
| US8670044B2 (en) | Photometric device with accumulation control | |
| JP5120414B2 (en) | Electronic camera and image processing program | |
| JP4622668B2 (en) | Electronic camera and image processing program | |
| JP5076265B2 (en) | Electronic camera | |
| JP4710143B2 (en) | Electronic camera | |
| JP4281134B2 (en) | Digital camera | |
| JP4539254B2 (en) | Electronic camera and image processing program |