JP2007221284A - Photographing apparatus and method, and program - Google Patents

Photographing apparatus and method, and program Download PDF

Info

Publication number
JP2007221284A
JP2007221284A JP2006037359A JP2006037359A JP2007221284A JP 2007221284 A JP2007221284 A JP 2007221284A JP 2006037359 A JP2006037359 A JP 2006037359A JP 2006037359 A JP2006037359 A JP 2006037359A JP 2007221284 A JP2007221284 A JP 2007221284A
Authority
JP
Japan
Prior art keywords
image
photographing
subject
predetermined object
imaging
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.)
Granted
Application number
JP2006037359A
Other languages
Japanese (ja)
Other versions
JP2007221284A5 (en
JP4510768B2 (en
Inventor
Koji Furubayashi
晃治 古林
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006037359A priority Critical patent/JP4510768B2/en
Priority to US11/705,777 priority patent/US7801436B2/en
Publication of JP2007221284A publication Critical patent/JP2007221284A/en
Publication of JP2007221284A5 publication Critical patent/JP2007221284A5/ja
Application granted granted Critical
Publication of JP4510768B2 publication Critical patent/JP4510768B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units

Abstract

<P>PROBLEM TO BE SOLVED: To provide a photographing apparatus such as a digital camera for preventing the occurrence of white jump caused in an image acquired by photographing. <P>SOLUTION: A CCD 58 executes photographing in advance, when a preimage includes a prescribed object such as a face, a flash control section 73 suppresses a light emission amount of a flash 24, and the photographing apparatus carries out principal photographing. The photographing apparatus applies processing of adjusting luminance and/or gradation of the prescribed object included in a principal image acquired by the principal photographing to the principal image. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、撮影により画像を取得するデジタルカメラ等の撮影装置および撮影方法並びに撮影方法をコンピュータに実行させるためのプログラムに関するものである。   The present invention relates to a photographing apparatus such as a digital camera for obtaining an image by photographing, a photographing method, and a program for causing a computer to execute the photographing method.

デジタルカメラによる撮影において、被写体が暗い画像から顔の輪郭が抽出された場合に、顔の大きさや目幅およびズームレンズ位置に基づいて被写体距離を算出し、適正露光範囲内の距離であった場合には、撮影前にフラッシュをプレ発光させ、プレ発光光の顔における反射光に基づいて、撮影時におけるフラッシュの発光量を調整する機能を備えたデジタルカメラが提案されている(特許文献1参照)。
特開2004−320284号公報
When shooting with a digital camera and the contour of the face is extracted from an image of a dark subject, the subject distance is calculated based on the face size, eye width, and zoom lens position, and the distance is within the appropriate exposure range. Has proposed a digital camera having a function of pre-flashing before photographing and adjusting the flash emission amount at the time of photographing based on the reflected light of the pre-emitted light on the face (see Patent Document 1). ).
JP 2004-320284 A

しかしながら、上記デジタルカメラにおいては、フラッシュの発光量の調整に失敗した場合には、顔が白くとんでしまう白とびが発生するおそれがある。このように画像に発生した白とびは、後の画像処理により補正することができないため、再度撮影をやり直す必要が生じる。   However, in the above-described digital camera, when the adjustment of the light emission amount of the flash fails, there is a possibility that overexposure that causes the face to fade out may occur. The overexposure that has occurred in the image in this way cannot be corrected by subsequent image processing, so that it is necessary to perform shooting again.

本発明は、上記事情に鑑みなされたものであり、デジタルカメラ等の撮影装置において、撮影により取得された画像の白とびを防止することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to prevent overexposure of an image acquired by photographing in a photographing apparatus such as a digital camera.

本発明による第1の撮影装置は、被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段と、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物が検出された場合に、前記補助光の発光量を抑えて前記撮影手段による前記被写体の本撮影を行って本画像を取得する処理制御手段と、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整する画像処理手段とを備えたことを特徴とするものである。
A first imaging apparatus according to the present invention includes an imaging unit including an imaging unit that captures an image of the subject by capturing the subject and acquiring an image representing the subject;
Irradiating means for irradiating the subject with auxiliary light when photographing the subject;
When a predetermined object is detected from a pre-image acquired by causing the photographing unit to perform pre-photographing, the photographing unit performs main photographing of the subject while suppressing the amount of auxiliary light emitted. Processing control means for acquiring an image;
And image processing means for adjusting luminance and / or gradation of a region of the predetermined object in the main image.

本発明による第2の撮影装置は、被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段と、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物が検出された場合に、前記撮像手段のゲインを低くして前記撮影手段による前記被写体の本撮影を行って本画像を取得する処理制御手段と、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整する画像処理手段とを備えたことを特徴とするものである。
A second imaging device according to the present invention includes an imaging unit including an imaging unit that captures an image of the subject by capturing the subject and acquiring an image representing the subject;
Irradiating means for irradiating the subject with auxiliary light when photographing the subject;
When a predetermined object is detected from a pre-image acquired by causing the photographing unit to perform pre-photographing, the gain of the imaging unit is reduced and the subject is actually photographed by the photographing unit. Processing control means for acquiring an image;
And image processing means for adjusting luminance and / or gradation of a region of the predetermined object in the main image.

「輝度を調整する」とは、補助光の発光量を抑えるまたは撮像手段のゲインを低くして撮影を行うことにより暗くなった、本画像に含まれる所定の対象物を明るくするよう画像全体または所定の被写体の部分の輝度を調整することを意味する。具体的には、所定の対象物の輝度の平均値が所定値となるように輝度を調整すればよい。   “Adjusting the brightness” means that the entire image or the target object included in the main image is brightened by reducing the amount of light emitted from the auxiliary light or lowering the gain of the image pickup means. This means that the luminance of a predetermined subject portion is adjusted. Specifically, the luminance may be adjusted so that the average luminance value of a predetermined object becomes a predetermined value.

「階調を調整する」とは、補助光の発光量を抑えるまたは撮像手段のゲインを低くして撮影を行うことにより暗くなった、本画像に含まれる所定の対象物を明るくするよう画像全体または所定の被写体の部分の階調を調整することを意味する。具体的には、所定の対象物の輝度の平均値が所定値となるように階調を調整すればよい。   “Adjusting the gradation” means that the entire image is brightened by reducing the amount of auxiliary light emitted or by lowering the gain of the imaging means to darken a predetermined object included in the main image. Alternatively, it means that the gradation of a predetermined subject portion is adjusted. Specifically, the gradation may be adjusted so that the average luminance value of a predetermined object becomes a predetermined value.

なお、本発明による第1および第2の撮影装置においては、前記所定の対象物が顔であることが好ましい。   In the first and second imaging apparatuses according to the present invention, it is preferable that the predetermined object is a face.

本発明による第1の撮影方法は、被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段とを備えた撮影装置における撮影方法において、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物を検出し、
前記プレ画像から所定の対象物が検出された場合に、前記補助光の発光量を抑えて前記撮影手段による前記被写体の本撮影を行って本画像を取得し、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整することを特徴とするものである。
According to a first imaging method of the present invention, an imaging unit including an imaging unit that captures an image of the subject by capturing the subject and acquiring an image representing the subject;
In a photographing method in a photographing apparatus comprising an irradiating means for irradiating the subject with auxiliary light when photographing the subject,
Detecting a predetermined object from a pre-image acquired by causing the photographing means to perform pre-photographing;
When a predetermined object is detected from the pre-image, the main image of the subject is captured by the photographing unit while suppressing the light emission amount of the auxiliary light to obtain the main image,
The brightness and / or gradation of the region of the predetermined object in the main image is adjusted.

本発明による第2の撮影方法は、被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段とを備えた撮影装置における撮影方法において、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物を検出し、
前記プレ画像から所定の対象物が検出された場合に、前記撮像手段のゲインを低くして前記撮影手段による前記被写体の本撮影を行って本画像を取得し、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整することを特徴とするものである。
According to a second imaging method of the present invention, an imaging unit including an imaging unit that captures an image of the subject by capturing the subject and acquiring an image representing the subject;
In a photographing method in a photographing apparatus comprising an irradiating means for irradiating the subject with auxiliary light when photographing the subject,
Detecting a predetermined object from a pre-image acquired by causing the photographing means to perform pre-photographing;
When a predetermined object is detected from the pre-image, the gain of the imaging unit is lowered and the subject is captured by the photographing unit to obtain the actual image,
The brightness and / or gradation of the region of the predetermined object in the main image is adjusted.

なお、本発明による第1および第2の撮影方法をコンピュータに実行させるためのプログラムとして提供してもよい。   In addition, you may provide as a program for making a computer perform the 1st and 2nd imaging | photography method by this invention.

本発明による第1の撮影装置および方法によれば、プレ画像から所定の対象物が検出された場合に、補助光の発光量を抑えて撮影手段による被写体の本撮影を行って本画像を取得し、本画像における所定の対象物の輝度および/または階調を調整するようにしたものである。このように補助光の発光量を抑えることにより、撮影により取得される本画像における所定の対象物の白とびを防止することができる。また、補助光の発光量を抑えることにより、本画像における所定の対象物が暗くなってしまうが、所定の対象物の領域の輝度および/または階調を調整することにより、所定の対象物が暗くなってしまうことを防止することができる。   According to the first photographing apparatus and method of the present invention, when a predetermined object is detected from the pre-image, the main image is acquired by performing the main photographing of the subject by the photographing means while suppressing the light emission amount of the auxiliary light. The brightness and / or gradation of a predetermined object in the main image is adjusted. Thus, by suppressing the light emission amount of the auxiliary light, it is possible to prevent overexposure of a predetermined object in the main image acquired by photographing. Further, by suppressing the amount of auxiliary light emitted, the predetermined object in the main image becomes dark. However, by adjusting the luminance and / or gradation of the area of the predetermined object, the predetermined object It can be prevented from becoming dark.

本発明による第2の撮影装置および方法によれば、プレ画像から所定の対象物が検出された場合に、撮像手段のゲインを低くして被写体の本撮影を行って本画像を取得し、本画像における所定の対象物の輝度および/または階調を調整するようにしたものである。このように撮像手段のゲインを低くすることにより、撮影により取得される本画像における所定の対象物の白とびを防止することができる。また、撮像手段のゲインを低くすることにより、本画像における所定の対象物が暗くなってしまうが、所定の対象物の領域の輝度および/または階調を調整することにより、所定の対象物が暗くなってしまうことを防止することができる。   According to the second photographing apparatus and method of the present invention, when a predetermined object is detected from the pre-image, the main image of the subject is acquired by lowering the gain of the imaging unit to acquire the main image, The brightness and / or gradation of a predetermined object in the image is adjusted. Thus, by reducing the gain of the imaging means, it is possible to prevent overexposure of a predetermined object in the main image acquired by photographing. In addition, when the gain of the imaging unit is lowered, the predetermined object in the main image becomes dark. However, by adjusting the luminance and / or gradation of the area of the predetermined object, the predetermined object It can be prevented from becoming dark.

以下、図面を参照して本発明の実施形態について説明する。図1は本発明の撮影装置の第1の実施形態であるデジタルカメラ1の背面を中心とする斜視図である。図1に示すように、このデジタルカメラ1の背面には、撮影者による操作のためのインターフェースとして、動作モードスイッチ11、メニュー/OKボタン12、ズーム/上下矢印レバー13、左右矢印ボタン14、Back(戻る)ボタン15、表示切替ボタン16を有している他、ファインダ17、液晶モニタ18を有している。また、上面には、レリーズボタン19を有している。図2は第1の実施形態によるデジタルカメラ1の前面を中心とする斜視図である。図2に示すように、前面には、レンズ20、レンズカバー21、電源スイッチ22、ファインダ窓23、フラッシュ24、セルフタイマーランプ25を有している。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view centering on the back surface of a digital camera 1 which is a first embodiment of a photographing apparatus of the present invention. As shown in FIG. 1, an operation mode switch 11, a menu / OK button 12, a zoom / up / down arrow lever 13, a left / right arrow button 14, a back are provided on the back of the digital camera 1 as an interface for operations by a photographer. In addition to having a (return) button 15 and a display switching button 16, it has a finder 17 and a liquid crystal monitor 18. A release button 19 is provided on the upper surface. FIG. 2 is a perspective view centering on the front surface of the digital camera 1 according to the first embodiment. As shown in FIG. 2, a lens 20, a lens cover 21, a power switch 22, a finder window 23, a flash 24, and a self-timer lamp 25 are provided on the front surface.

動作モードスイッチ11は、静止画撮影モード、動画撮影モード、および再生モードの各動作モードを切り替えるためのスライドスイッチである。   The operation mode switch 11 is a slide switch for switching operation modes of a still image shooting mode, a moving image shooting mode, and a playback mode.

メニュー/OKボタン12は、押下することによって、撮影モード、フラッシュ発光モード、記録画素数や感度等の設定を行うための各種メニューを液晶モニタ18に表示させたり、液晶モニタ18に表示されたメニューに基づく選択・設定を確定させたりするためのボタンである。なお、メニュー/OKボタン12により、撮影モードを露出やホワイトバランスをすべて自動で設定するためのオートモード、およびマニュアルで設定するためのマニュアルモードに設定可能である。   When the menu / OK button 12 is pressed, various menus for setting the shooting mode, flash emission mode, number of recording pixels, sensitivity, and the like are displayed on the liquid crystal monitor 18 or the menu displayed on the liquid crystal monitor 18 is displayed. This is a button for confirming selection / setting based on the. The menu / OK button 12 can be used to set the shooting mode to an auto mode for automatically setting exposure and white balance and a manual mode for manually setting.

ズーム/上下矢印レバー13は、上下方向にレバーを倒すことによって、撮影時は望遠/広角の調整を行い、各種設定時は液晶モニタ18に表示されるメニュー画面中のカーソルを上下に移動させるためのレバーである。   The zoom / up / down arrow lever 13 is used to adjust the telephoto / wide angle during shooting by tilting the lever in the vertical direction, and to move the cursor in the menu screen displayed on the liquid crystal monitor 18 up and down during various settings. The lever.

左右矢印ボタン14は、各種設定時に液晶モニタ18に表示されるメニュー画面中のカーソルを左右に移動させるためのボタンである。   The left and right arrow buttons 14 are buttons for moving the cursor in the menu screen displayed on the liquid crystal monitor 18 to the left and right at various settings.

Back(戻る)ボタン15は、押下することによって各種設定操作を中止し、1つ前の画面に戻るためのボタンである。   The Back button 15 is a button for stopping various setting operations when pressed and returning to the previous screen.

表示切替ボタン16は、押下することによって、液晶モニタ18の表示のON/OFF、各種ガイド表示、文字表示のON/OFF等を切り替えるためのボタンである。   The display switching button 16 is a button for switching ON / OFF of the display of the liquid crystal monitor 18, various guide displays, ON / OFF of character display, and the like when pressed.

各ボタン、レバーの操作によって設定された内容は、液晶モニタ18中の表示や、ファインダ内のランプ、スライドレバーの位置等によって確認することができるようになっている。   The contents set by the operation of each button and lever can be confirmed by the display on the liquid crystal monitor 18, the position of the lamp in the finder, the slide lever, and the like.

液晶モニタ18は、撮影の際に被写体確認用のスルー画を表示することにより、電子ビューファインダとして機能する他、撮影後の静止画や動画の再生表示、各種設定メニューの表示を行う。   The liquid crystal monitor 18 displays a through image for confirming a subject at the time of shooting, thereby functioning as an electronic viewfinder, displaying a still image and a moving image after shooting, and displaying various setting menus.

図3は本発明の撮影装置の第1の実施形態であるデジタルカメラの構成を示す概略ブロック図である。図3に示すデジタルカメラ1は、撮影により取得した画像データを、Exif形式の画像ファイルに変換して、本体に着脱可能な外部記録メディア70へ記録するものである。   FIG. 3 is a schematic block diagram showing the configuration of the digital camera which is the first embodiment of the photographing apparatus of the present invention. The digital camera 1 shown in FIG. 3 converts image data acquired by shooting into an Exif format image file and records it on an external recording medium 70 that can be attached to and detached from the main body.

このデジタルカメラの操作系としては、前述の動作モードスイッチ11、メニュー/OKボタン12、ズーム/上下矢印レバー13、左右矢印ボタン14、Back(戻る)ボタン15、表示切替ボタン16、レリーズボタン19、電源スイッチ22と、これらのスイッチ類の操作内容をCPU75に伝えるためのインターフェース部分である操作系制御部74とを有している。   The operation system of this digital camera includes the above-described operation mode switch 11, menu / OK button 12, zoom / up / down arrow lever 13, left / right arrow button 14, Back button 15, display switch button 16, release button 19, The power switch 22 and an operation system control unit 74 which is an interface part for transmitting the operation contents of these switches to the CPU 75 are provided.

光学系としては、フォーカスレンズ20aおよびズームレンズ20bを有している。各々のレンズは、モータとモータドライバとからなるフォーカスレンズ駆動部51およびズームレンズ駆動部52によって光軸方向に移動可能である。フォーカスレンズ駆動部51はAF処理部62から出力されるフォーカス駆動量データに基づいて、ズームレンズ駆動部52はズーム/上下矢印レバー13の操作量データに基づいて、各々のレンズの移動を制御する。   The optical system includes a focus lens 20a and a zoom lens 20b. Each lens can be moved in the optical axis direction by a focus lens driving unit 51 and a zoom lens driving unit 52 including a motor and a motor driver. The focus lens driving unit 51 controls the movement of each lens based on the focus driving amount data output from the AF processing unit 62 and the zoom lens driving unit 52 based on the operation amount data of the zoom / up / down arrow lever 13. .

また、絞り54は、モータとモータドライバとからなる絞り駆動部55によって駆動される。この絞り駆動部55は、AE/AWB処理部63から出力される絞り値データに基づいて絞り径の調整を行う。   The diaphragm 54 is driven by a diaphragm driving unit 55 including a motor and a motor driver. The aperture driver 55 adjusts the aperture diameter based on aperture value data output from the AE / AWB processor 63.

シャッタ56は、メカニカルシャッタであり、モータとモータドライバとからなるシャッタ駆動部57によって駆動される。シャッタ駆動部57は、レリーズボタン19の押下により発生する信号と、AE/AWB処理部63から出力されるシャッタスピードデータとに応じて、シャッタ56の開閉の制御を行う。   The shutter 56 is a mechanical shutter and is driven by a shutter drive unit 57 including a motor and a motor driver. The shutter drive unit 57 controls the opening / closing of the shutter 56 in accordance with a signal generated by pressing the release button 19 and the shutter speed data output from the AE / AWB processing unit 63.

光学系の後方には、撮像素子であるCCD58を有している。CCD58は、多数の受光素子を2次元的に配列した光電面を有しており、光学系を通過した被写体光がこの光電面に結像し、光電変換される。光電面の前方には、各画素に光を集光するためのマイクロレンズアレイと、R,G,B各色のフィルタが規則的に配列されたカラーフィルタアレイとが配置されている。CCD58は、CCD制御部59から供給される垂直転送クロックおよび水平転送クロックに同期して、画素毎に蓄積された電荷を1ラインずつシリアルなアナログ撮影信号として出力する。各画素において電荷を蓄積する時間、すなわち、露出時間は、CCD制御部59から与えられる電子シャッタ駆動信号によって決定される。また、CCD58はCCD制御部59により、あらかじめ定められた大きさのアナログ撮像信号が得られるように、ゲインが調整されている。   A CCD 58, which is an image sensor, is provided behind the optical system. The CCD 58 has a photoelectric surface in which a large number of light receiving elements are two-dimensionally arranged, and subject light that has passed through the optical system forms an image on the photoelectric surface and is subjected to photoelectric conversion. In front of the photocathode, a microlens array for condensing light on each pixel and a color filter array in which filters of R, G, and B colors are regularly arranged are arranged. The CCD 58 outputs the charges accumulated for each pixel as a serial analog photographing signal line by line in synchronization with the vertical transfer clock and horizontal transfer clock supplied from the CCD controller 59. The time for accumulating charges in each pixel, that is, the exposure time is determined by an electronic shutter drive signal given from the CCD controller 59. The gain of the CCD 58 is adjusted by the CCD control unit 59 so that an analog imaging signal having a predetermined size can be obtained.

CCD58から取り込まれたアナログ撮影信号は、アナログ信号処理部60に入力される。アナログ信号処理部60は、アナログ信号のノイズを除去する相関2重サンプリング回路(CDS)と、アナログ信号のゲインを調節するオートゲインコントローラ(AGC)と、アナログ信号をデジタル信号に変換するA/Dコンバータ(ADC)とからなる。このデジタル信号に変換された画像データは、画素毎にR,G,Bの濃度値を持つCCD−RAWデータである。   The analog photographing signal captured from the CCD 58 is input to the analog signal processing unit 60. The analog signal processing unit 60 includes a correlated double sampling circuit (CDS) that removes noise from the analog signal, an auto gain controller (AGC) that adjusts the gain of the analog signal, and an A / D that converts the analog signal into a digital signal. It consists of a converter (ADC). The image data converted into the digital signal is CCD-RAW data having R, G, and B density values for each pixel.

タイミングジェネレータ72は、タイミング信号を発生させるものであり、このタイミング信号をシャッタ駆動部57、CCD制御部59、アナログ信号処理部60に供給することにより、レリーズボタン19の操作、シャッタ56の開閉、CCD58の電荷の取込み、およびアナログ信号処理部60の処理の同期を取っている。   The timing generator 72 generates a timing signal. By supplying this timing signal to the shutter drive unit 57, the CCD control unit 59, and the analog signal processing unit 60, the operation of the release button 19, the opening and closing of the shutter 56, The charge taking of the CCD 58 and the processing of the analog signal processing unit 60 are synchronized.

フラッシュ制御部73は、撮影時にフラッシュ24を発光させる。具体的には、フラッシュ発光モードがフラッシュオンとされている場合、およびフラッシュ発光モードがオートモードである場合において後述するプレ画像が所定の明るさにない場合にフラッシュ24をオンとして、撮影時にフラッシュ24を発光させる。一方、フラッシュ発光モードがフラッシュオフとされている場合、撮影時にフラッシュ24の発光を禁止する。   The flash control unit 73 causes the flash 24 to emit light during shooting. Specifically, when the flash emission mode is set to flash on, and when the flash emission mode is the auto mode, the flash 24 is turned on when a pre-image to be described later is not at a predetermined brightness, and the flash is set at the time of shooting. 24 is caused to emit light. On the other hand, when the flash emission mode is set to flash off, the flash 24 is prohibited from emitting light during shooting.

また、フラッシュ制御部73は、AF処理部62が求めた焦点位置に基づいて、焦点位置が遠いほど発光量が大きくなるようにフラッシュ24の発光量を決定する。この発光量を第1の発光量とする。なお、フラッシュ24を発光させて撮影を行う場合において、プレ撮影により取得されたプレ画像に顔が含まれている場合には、フラッシュ24の発光量を第1の発光量よりも小さい第2の発光量に決定する。ここで、発光量は顔に白とびが発生しない程度小さくすればよく、その程度は実験的に求めればよいものである。   Further, the flash control unit 73 determines the light emission amount of the flash 24 based on the focal position obtained by the AF processing unit 62 so that the light emission amount increases as the focal position increases. This light emission amount is defined as a first light emission amount. In the case where shooting is performed with the flash 24 emitting light, if the face is included in the pre-image acquired by the pre-shooting, the light emission amount of the flash 24 is set to the second light emission amount smaller than the first light emission amount. Determine the amount of luminescence. Here, the amount of light emission may be reduced to such an extent that no whiteout occurs on the face, and the degree may be obtained experimentally.

画像入力コントローラ61は、アナログ信号処理部60から入力されたCCD−RAWデータをフレームメモリ66に書き込む。   The image input controller 61 writes the CCD-RAW data input from the analog signal processing unit 60 in the frame memory 66.

フレームメモリ66は、画像データに対して後述の各種デジタル画像処理(信号処理)を行う際に使用する作業用メモリであり、例えば、一定周期のバスクロック信号に同期してデータ転送を行うSDRAM(Synchronous Dynamic Random Access Memory)が使用される。   The frame memory 66 is a working memory used when various digital image processing (signal processing) described later is performed on image data. For example, an SDRAM (data transfer device that performs data transfer in synchronization with a bus clock signal having a fixed period. Synchronous Dynamic Random Access Memory) is used.

表示制御部71は、フレームメモリ66に格納された画像データをスルー画像として液晶モニタ18に表示させたり、再生モード時に外部記録メディア70に保存されている画像データを液晶モニタ18に表示させたりするためのものである。なお、スルー画像は、撮影モードが選択されている間、所定間隔でCCD58により撮影される。   The display control unit 71 displays the image data stored in the frame memory 66 on the liquid crystal monitor 18 as a through image, or displays the image data stored in the external recording medium 70 on the liquid crystal monitor 18 in the reproduction mode. Is for. The through image is taken by the CCD 58 at a predetermined interval while the shooting mode is selected.

AF処理部62およびAE/AWB処理部63は、プレ画像に基づいて撮影条件を決定する。このプレ画像とは、レリーズボタン19が半押しされることによって発生する半押し信号を検出したCPU75がCCD58にプレ撮影を実行させた結果、フレームメモリ66に格納された画像データにより表される画像である。   The AF processing unit 62 and the AE / AWB processing unit 63 determine shooting conditions based on the pre-image. This pre-image is an image represented by image data stored in the frame memory 66 as a result of the CPU 75 having detected a half-press signal generated by half-pressing the release button 19 causing the CCD 58 to perform pre-photographing. It is.

AF処理部62は、プレ画像に基づいて焦点位置を検出し、フォーカス駆動量データを出力する(AF処理)。焦点位置の検出方式としては、例えば、ピントが合った状態では画像のコントラストが高くなるという特徴を利用して合焦位置を検出するパッシブ方式が考えられる。   The AF processing unit 62 detects the focal position based on the pre-image and outputs focus drive amount data (AF processing). As a focus position detection method, for example, a passive method that detects a focus position using a feature that the contrast of an image increases in a focused state can be considered.

AE/AWB処理部63は、プレ画像に基づいて被写体輝度を測定し、測定した被写体輝度に基づいて絞り値、シャッタスピード等を決定し、絞り値データおよびシャッタスピードデータを露出設定値として決定するとともに(AE処理)、撮影時のホワイトバランスを自動調整する(AWB)。なお、露出およびホワイトバランスについては、撮影モードがマニュアルモードに設定されている場合には、デジタルカメラ1のユーザがマニュアル操作により設定可能である。また、露出およびホワイトバランスが自動で設定された場合にも、ユーザがメニュー/OKボタン12等の操作系から指示を行うことにより、露出およびホワイトバランスをマニュアル調整することが可能である。   The AE / AWB processing unit 63 measures subject brightness based on the pre-image, determines an aperture value, shutter speed, etc. based on the measured subject brightness, and determines aperture value data and shutter speed data as exposure setting values. At the same time (AE processing), white balance at the time of shooting is automatically adjusted (AWB). The exposure and white balance can be set manually by the user of the digital camera 1 when the shooting mode is set to the manual mode. Even when the exposure and white balance are set automatically, the user can manually adjust the exposure and white balance by giving an instruction from the operation system such as the menu / OK button 12.

画像処理部64は、本画像の画像データに対して、ガンマ補正、シャープネス補正、コントラスト補正等の画質補正処理、CCD−RAWデータを輝度信号であるYデータと、青色色差信号であるCbデータおよび赤色色差信号であるCrデータとからなるYCデータに変換するYC処理を行う。この本画像とは、レリーズボタン19が全押しされることによって実行される本撮影においてCCD58から取り込まれ、アナログ信号処理部60、画像入力コントローラ61経由でフレームメモリ66に格納された画像データによる画像である。本画像の画素数の上限は、CCD58の画素数によって決定されるが、例えば、ファイン、ノーマル等の設定により、記録画素数を変更することができる。一方、スルー画像およびプレ画像の画像数は、本画像よりも少なく、例えば、本画像の1/16程度の画素数で取り込まれる。   The image processing unit 64 performs image quality correction processing such as gamma correction, sharpness correction, and contrast correction on the image data of the main image, CCD-RAW data as Y data that is a luminance signal, Cb data that is a blue color difference signal, and YC processing is performed for conversion to YC data composed of Cr data which is a red color difference signal. The main image is an image based on image data that is captured from the CCD 58 in the main photographing executed when the release button 19 is fully pressed and stored in the frame memory 66 via the analog signal processing unit 60 and the image input controller 61. It is. The upper limit of the number of pixels of the main image is determined by the number of pixels of the CCD 58. For example, the number of recorded pixels can be changed by setting such as fine and normal. On the other hand, the number of images of the through image and the pre-image is smaller than that of the main image.

また、画像処理部64は、フラッシュ24の発光量が通常の撮影時よりも小さくされた場合には、本画像における顔領域の輝度を求め、輝度が所定のしきい値Th1よりも小さい場合には顔領域の輝度をしきい値Th1に調整する処理を行う。   Further, the image processing unit 64 obtains the luminance of the face area in the main image when the light emission amount of the flash 24 is smaller than that during normal photographing, and when the luminance is smaller than the predetermined threshold Th1. Performs the process of adjusting the brightness of the face area to the threshold value Th1.

圧縮/伸長処理部65は、画像処理部64によって補正・変換処理が行われた本画像の画像データに対して、例えば、JPEG等の圧縮形式で圧縮処理を行い、画像ファイルを生成する。この画像ファイルには、Exifフォーマット等に基づいて、撮影日時等の付帯情報が格納されたタグが付加される。また、圧縮/伸長処理部65は、再生モードの場合には、外部記録メディア70から圧縮された画像ファイルを読み出し、伸張処理を行う。伸長後の画像データは液晶モニタ18に出力される。   The compression / decompression processing unit 65 performs compression processing on the image data of the main image that has been corrected and converted by the image processing unit 64 in a compression format such as JPEG, and generates an image file. A tag storing incidental information such as shooting date and time is added to the image file based on the Exif format or the like. In the reproduction mode, the compression / decompression processing unit 65 reads the compressed image file from the external recording medium 70 and performs the decompression process. The decompressed image data is output to the liquid crystal monitor 18.

メディア制御部67は、外部記録メディア70にアクセスして画像ファイルの書き込みと読み込みの制御を行う。   The media control unit 67 accesses the external recording medium 70 and controls writing and reading of the image file.

内部メモリ68は、デジタルカメラ1において設定される各種定数、およびCPU75が実行するプログラム等を格納する。   The internal memory 68 stores various constants set in the digital camera 1, programs executed by the CPU 75, and the like.

顔検出部80は、プレ画像および本画像から人物の顔を検出する。具体的には、顔に含まれる顔の特徴を有する領域(例えば肌色を有する、目を有する、顔の形状を有する等)を顔領域として検出するが、これに限定されるものではない。   The face detection unit 80 detects a human face from the pre-image and the main image. Specifically, an area having a facial feature included in the face (for example, having skin color, having eyes, or having a face shape) is detected as a face area, but the present invention is not limited to this.

CPU75は、動作モードスイッチ11等の操作系やAF処理部62等の各種処理部からの信号に応じてデジタルカメラ1の本体各部を制御する。   The CPU 75 controls each part of the main body of the digital camera 1 according to signals from the operation system such as the operation mode switch 11 and various processing units such as the AF processing unit 62.

データバス76は、画像入力コントローラ61、各種処理部62〜65、フレームメモリ66、メディア制御部67、内部メモリ68、表示制御部71、顔検出部80、およびCPU75に接続されており、デジタル画像データ等のやり取りを行う。   The data bus 76 is connected to the image input controller 61, various processing units 62 to 65, a frame memory 66, a media control unit 67, an internal memory 68, a display control unit 71, a face detection unit 80, and a CPU 75. Exchange data.

次いで、以上の構成のデジタルカメラ1において撮影時に行われる処理について説明する。図4は第1の実施形態において行われる処理を示すフローチャートである。   Next, processing performed at the time of shooting in the digital camera 1 having the above configuration will be described. FIG. 4 is a flowchart showing processing performed in the first embodiment.

まず、CPU75がデジタルカメラ1の動作モードを判定し(ステップST1)、再生モードである場合には、外部記録メディア70に記録されている画像データを液晶モニタ18に表示する再生処理を行い(ステップST2)、後述するステップST13へ進む。   First, the CPU 75 determines the operation mode of the digital camera 1 (step ST1). If the operation mode is the reproduction mode, a reproduction process for displaying the image data recorded on the external recording medium 70 on the liquid crystal monitor 18 is performed (step ST1). ST2), the process proceeds to step ST13 described later.

動作モードが撮影モードである場合には、液晶モニタ18にスルー画像を表示し(ステップST3)、さらに、レリーズボタン19が半押しされたか否かの監視を開始する(ステップST4)。ステップST4が肯定されると、プレ撮影を行ってプレ画像を取得し(ステップST5)、AE/AWB処理部63およびAF処理部62がプレ画像に基づいてAE/AWBおよびAF処理をそれぞれ行い(ステップST6)、続いて、フラッシュ制御部73が撮影条件決定処理を行う(ステップST7)。   When the operation mode is the photographing mode, a through image is displayed on the liquid crystal monitor 18 (step ST3), and monitoring whether or not the release button 19 is half-pressed is started (step ST4). When step ST4 is affirmed, pre-photographing is performed to obtain a pre-image (step ST5), and the AE / AWB processing unit 63 and the AF processing unit 62 perform AE / AWB and AF processing based on the pre-image, respectively ( Subsequently, the flash controller 73 performs a shooting condition determination process (step ST7).

図5は撮影条件決定処理のフローチャートである。まず、フラッシュ制御部73が、フラッシュ発光モードを判定する(ステップST21)。フラッシュ発光モードがフラッシュオフである場合には、フラッシュ24の発光をオフとし(ステップST22)、リターンする。フラッシュ発光モードがオートモードである場合には、プレ画像が所定の明るさにあるか否かを判定し(ステップST23)、ステップST23が肯定されるとステップST22に進み、フラッシュ24の発光をオフとする。ステップST24が否定されるとフラッシュ24の発光をオンとし(ステップST24)、さらにフラッシュ発光量決定処理を行い(ステップST25)、リターンする。また、フラッシュ発光モードがフラッシュオンである場合には、ステップST24に進んでフラッシュ24の発光をオンとし、さらにフラッシュ発光量決定処理を行い(ステップST25)、リターンする。   FIG. 5 is a flowchart of the photographing condition determination process. First, the flash control unit 73 determines the flash emission mode (step ST21). If the flash emission mode is flash off, the flash 24 is turned off (step ST22) and the process returns. When the flash emission mode is the auto mode, it is determined whether or not the pre-image has a predetermined brightness (step ST23). If step ST23 is affirmed, the process proceeds to step ST22, and the flash 24 is turned off. And If step ST24 is negative, the light emission of the flash 24 is turned on (step ST24), a flash light emission amount determination process is performed (step ST25), and the process returns. If the flash emission mode is flash on, the process proceeds to step ST24 to turn on the flash 24, perform flash emission amount determination processing (step ST25), and return.

図6はフラッシュ発光量決定処理のフローチャートである。まず、顔検出部80がプレ画像から顔を検出し(ステップST31)、さらにフラッシュ制御部73がフラッシュ24をプレ発光させる(ステップST32)。続いて、顔検出部80が、プレ画像に顔が含まれるか否かを判定する(ステップST33)。ステップST33が否定されると、フラッシュ制御部73が、プレ発光光の被写体における反射光に基づいてフラッシュ24の発光量を決定し(ステップST34)、リターンする。なお、この発光量を第1の発光量とする。   FIG. 6 is a flowchart of the flash emission amount determination process. First, the face detection unit 80 detects a face from the pre-image (step ST31), and the flash control unit 73 causes the flash 24 to pre-emit (step ST32). Subsequently, the face detection unit 80 determines whether or not a face is included in the pre-image (step ST33). If step ST33 is negative, the flash controller 73 determines the light emission amount of the flash 24 based on the reflected light of the pre-emission light on the subject (step ST34), and the process returns. This light emission amount is defined as a first light emission amount.

一方、ステップST33が肯定されると、第1の発光量よりも小さい第2の発光量にフラッシュ24の発光量を決定し(ステップST35)、リターンする。ここで、第1の実施形態においては、焦点位置と第1および第2の発光量との関係を規定したテーブルが内部メモリ68に格納されており、このテーブルを参照して第1および第2の発光量を決定する。   On the other hand, if step ST33 is affirmed, the light emission amount of the flash 24 is determined to be a second light emission amount smaller than the first light emission amount (step ST35), and the process returns. Here, in the first embodiment, a table defining the relationship between the focal position and the first and second light emission amounts is stored in the internal memory 68, and the first and second tables are referred to this table. Determine the amount of light emitted.

図4に戻り、ステップST7に続いて、CPU75はレリーズボタン19の半押しが解除されたか否かを判定し(ステップST8)、ステップST8が肯定されるとステップST3に戻り、ステップST3以降の処理を繰り返す。ステップST8が否定されると、さらにレリーズボタン19が全押しされたか否かを判定し(ステップST9)、ステップST9が否定されるとステップST8に戻る。   Returning to FIG. 4, following step ST7, the CPU 75 determines whether or not the half-press of the release button 19 has been released (step ST8). If step ST8 is affirmed, the process returns to step ST3, and the processing after step ST3 is performed. repeat. If step ST8 is negative, it is further determined whether or not the release button 19 is fully pressed (step ST9). If step ST9 is negative, the process returns to step ST8.

ステップST9が肯定されると、本画像の撮影(本撮影)を行い(ステップST10)、本撮影により取得された本画像に対して画像処理を行う(ステップST11)。   When step ST9 is affirmed, the main image is shot (main shooting) (step ST10), and image processing is performed on the main image acquired by the main shooting (step ST11).

図7は本画像の画像処理のフローチャートである。顔検出部80が本画像から人物の顔を検出し(ステップST41)、本画像に顔が含まれるか否かを判定する(ステップST42)。ステップST42が肯定されると、画像処理部64が本画像の顔領域の輝度の平均値が所定のしきい値Th1未満であるか否かを判定する(ステップST43)。ステップST43が肯定されると、本画像の顔領域の輝度の平均値がしきい値Th1となるように、顔領域に対応する画像データのゲインを調整する(ステップST44)。さらに、顔領域のゲインを調整した本画像に対して、画質補正処理およびYC処理を施し(ステップST45)、リターンする。   FIG. 7 is a flowchart of the image processing of the main image. The face detection unit 80 detects a person's face from the main image (step ST41), and determines whether or not a face is included in the main image (step ST42). When step ST42 is affirmed, the image processing unit 64 determines whether or not the average luminance value of the face area of the main image is less than a predetermined threshold value Th1 (step ST43). If step ST43 is positive, the gain of the image data corresponding to the face area is adjusted so that the average value of the brightness of the face area of the main image becomes the threshold value Th1 (step ST44). Further, image quality correction processing and YC processing are performed on the main image in which the gain of the face area is adjusted (step ST45), and the process returns.

ここで、ステップST44の処理においては、顔領域に対応する画像データのゲインを調整するのに代えて、本画像の顔領域の輝度の平均値がしきい値Th1となるように、画像全体または顔領域の階調を調整するようにしてもよい。また、顔領域に対応する画像データのゲインを調整するとともに、画像全体または顔領域の階調を調整するようにしてもよい。   Here, in the process of step ST44, instead of adjusting the gain of the image data corresponding to the face region, the entire image or the entire image or the threshold value Th1 is set so that the average value of the brightness of the face region of the main image becomes the threshold value Th1. You may make it adjust the gradation of a face area. Further, the gain of the image data corresponding to the face area may be adjusted, and the gradation of the entire image or the face area may be adjusted.

なお、ステップST42が否定された場合、およびステップST43が否定された場合はステップST45に進み、本画像に対して、画質補正処理およびYC処理のみを施し、リターンする。   If step ST42 is denied or if step ST43 is denied, the process proceeds to step ST45, where only the image quality correction process and the YC process are performed on the main image, and the process returns.

図4に戻り、ステップST11に続いて、処理済みの本画像を液晶モニタ18に表示するとともに、外部記録メディア70に記録する(ステップST12)。そして、電源がオフとされたか否かを判定し(ステップST13)、ステップST13が否定されるとステップST1に戻り、ステップST1以降の処理を繰り返す。ステップST13が肯定されると、処理を終了する。   Returning to FIG. 4, following step ST11, the processed main image is displayed on the liquid crystal monitor 18 and recorded on the external recording medium 70 (step ST12). Then, it is determined whether or not the power is turned off (step ST13). If step ST13 is negative, the process returns to step ST1, and the processes after step ST1 are repeated. If step ST13 is positive, the process is terminated.

このように、第1の実施形態においては、プレ画像から顔が検出された場合には、フラッシュ24の発光量を小さくして本画像の撮影を行い、さらに本画像に含まれる顔の輝度の平均値を所定のしきい値Th1に調整するようにしたものである。このようにフラッシュ24の発光量を小さくすることにより、本画像に含まれる顔の白とびを防止することができる。また、フラッシュ24の発光量を小さくすることにより本画像に含まれる顔が暗くなってしまうが、顔の輝度および/または階調を調整することにより、本画像に含まれる顔が暗くなってしまうことも防止することができる。   As described above, in the first embodiment, when a face is detected from the pre-image, the main image is shot with the flash 24 reduced in amount of light, and the brightness of the face included in the main image is further reduced. The average value is adjusted to a predetermined threshold value Th1. By reducing the light emission amount of the flash 24 in this way, it is possible to prevent overexposure of the face included in the main image. Further, the face included in the main image becomes dark by reducing the light emission amount of the flash 24, but the face included in the main image becomes dark by adjusting the brightness and / or gradation of the face. This can also be prevented.

次いで、本発明の第2の実施形態について説明する。なお、第2の実施形態においては、デジタルカメラ1の構成は第1の実施形態と同様であるため、ここでは詳細な説明は省略する。上記第1の実施形態においては、プレ画像に顔が含まれる場合にフラッシュ24の発光量を小さくしているが、第2の実施形態においては、プレ画像に顔が含まれる場合にCCD制御部59がCCD58のゲインを小さくするようにしたものである。   Next, a second embodiment of the present invention will be described. In the second embodiment, since the configuration of the digital camera 1 is the same as that of the first embodiment, detailed description thereof is omitted here. In the first embodiment, the amount of light emitted from the flash 24 is reduced when a face is included in the pre-image. However, in the second embodiment, the CCD controller is used when a face is included in the pre-image. 59 is for reducing the gain of the CCD 58.

このため、第2の実施形態においては、フラッシュ24を発光させて撮影を行う場合において、プレ撮影により取得されたプレ画像に顔が含まれている場合には、CCD制御部59がCCD58のゲインを通常の撮影時のゲイン(第1のゲインとする)によりも小さい第2のゲインに決定する。ここで、通常の撮影とは、フラッシュの使用の有無にかかわらず、被写体として顔を含まない撮影である。また、ゲインは顔に白とびが発生しない程度小さくすればよく、その程度は実験的に求めればよいものである。   For this reason, in the second embodiment, when shooting is performed with the flash 24 emitted, and the face is included in the pre-image acquired by the pre-shooting, the CCD control unit 59 sets the gain of the CCD 58. Is determined to be a second gain that is smaller than a gain during normal photographing (referred to as a first gain). Here, normal shooting is shooting that does not include a face as a subject regardless of whether or not the flash is used. The gain may be reduced to such an extent that the face is not overexposed, and the degree may be obtained experimentally.

なお、第2の実施形態においては、第1および第2のゲインが内部メモリ68に格納されており、プレ画像に顔が含まれるか否かに応じて第1または第2のゲインを読み出してCCD58のゲインを決定するものである。   In the second embodiment, the first and second gains are stored in the internal memory 68, and the first or second gain is read out depending on whether or not a face is included in the pre-image. The gain of the CCD 58 is determined.

ここで、第2の実施形態においては、第1の実施形態における撮影条件決定処理のフラッシュ発光量決定処理がCCDゲイン決定処理である点において第1の実施形態と異なるのみであり、他の処理については第1の実施形態の処理と同一であるため、ここでは、CCDゲイン決定処理についてのみ説明する。   Here, the second embodiment is different from the first embodiment only in that the flash light emission amount determination process of the photographing condition determination process in the first embodiment is a CCD gain determination process, and other processes. Since this is the same as the process of the first embodiment, only the CCD gain determination process will be described here.

図8はCCDゲイン決定処理のフローチャートである。まず、顔検出部80がプレ画像から顔領域を検出し(ステップST51)、プレ画像に顔が含まれるか否かを判定する(ステップST52)。ステップST52が否定されると、CCD制御部59がCCD58のゲインを第1のゲインに決定し(ステップST53)、リターンする。   FIG. 8 is a flowchart of the CCD gain determination process. First, the face detection unit 80 detects a face area from the pre-image (step ST51), and determines whether or not a face is included in the pre-image (step ST52). If step ST52 is negative, the CCD controller 59 determines the gain of the CCD 58 as the first gain (step ST53) and returns.

一方、ステップST52が肯定されると、CCD制御部59がCCDのゲインを第1のゲインよりも小さい第2のゲインに決定し(ステップST54)、リターンする。   On the other hand, when step ST52 is affirmed, the CCD controller 59 determines the gain of the CCD to be a second gain smaller than the first gain (step ST54), and returns.

このように、第2の実施形態においては、プレ画像に顔が検出された場合には、CCD58のゲインを小さくして本画像の撮影を行い、さらに本画像に含まれる顔の輝度を調整するようにしたものである。このようにCCD58のゲインを小さくすることにより、本画像に含まれる顔の白とびを防止することができる。また、CCD58のゲインを小さくすることにより、本画像に含まれる顔が暗くなってしまうが、顔の輝度を調整することにより、本画像に含まれる顔が暗くなってしまうことも防止することができる。   As described above, in the second embodiment, when a face is detected in the pre-image, the gain of the CCD 58 is reduced, the main image is taken, and the brightness of the face included in the main image is adjusted. It is what I did. By reducing the gain of the CCD 58 in this way, it is possible to prevent overexposure of the face included in the main image. Further, although the face included in the main image becomes dark by reducing the gain of the CCD 58, it is possible to prevent the face included in the main image from becoming dark by adjusting the brightness of the face. it can.

なお、上記実施形態においては、所定の被写体を顔としているが、これに限定されるものではなく、顔以外の他の被写体でもよいものである。   In the above embodiment, the predetermined subject is a face, but the present invention is not limited to this, and other subjects other than the face may be used.

以上、本発明の実施形態に係るデジタルカメラについて説明したが、コンピュータを、上記の画像処理部64、フラッシュ制御部73、CCD制御部59および顔検出部80に対応する手段として機能させ、図4〜図8に示すような処理を行わせるプログラムも、本発明の実施形態の1つである。また、そのようなプログラムを記録したコンピュータ読取り可能な記録媒体も、本発明の実施形態の1つである。   Although the digital camera according to the embodiment of the present invention has been described above, the computer is caused to function as a unit corresponding to the image processing unit 64, the flash control unit 73, the CCD control unit 59, and the face detection unit 80, and FIG. A program for performing processing as shown in FIG. 8 is also one embodiment of the present invention. A computer-readable recording medium in which such a program is recorded is also one embodiment of the present invention.

本発明の撮影装置の第1の実施形態であるデジタルカメラの背面を中心とする斜視図The perspective view centering on the back surface of the digital camera which is 1st Embodiment of the imaging device of this invention 本発明の撮影装置の第1の実施形態であるデジタルカメラの前面を中心とする斜視図The perspective view centering on the front of the digital camera which is 1st Embodiment of the imaging device of this invention 本発明の撮影装置の第1の実施形態であるデジタルカメラの構成を示す概略ブロック図1 is a schematic block diagram showing the configuration of a digital camera that is a first embodiment of a photographing apparatus of the present invention. 第1の実施形態において行われる処理を示すフローチャートThe flowchart which shows the process performed in 1st Embodiment. 撮影条件決定処理のフローチャートFlow chart of shooting condition determination processing フラッシュ発光量決定処理のフローチャートFlow chart of flash emission amount determination processing 本画像の画像処理のフローチャートFlowchart of image processing of main image 第2の実施形態において行われるCCDゲイン決定処理のフローチャートFlowchart of CCD gain determination processing performed in the second embodiment

符号の説明Explanation of symbols

1 デジタルカメラ
18 液晶モニタ
24 フラッシュ
58 CCD
59 CCD制御部
71 表示制御部
73 フラッシュ制御部
75 CPU
80 顔検出部
1 Digital Camera 18 LCD Monitor 24 Flash 58 CCD
59 CCD control unit 71 Display control unit 73 Flash control unit 75 CPU
80 Face detector

Claims (7)

被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段と、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物が検出された場合に、前記補助光の発光量を抑えて前記撮影手段による前記被写体の本撮影を行って本画像を取得する処理制御手段と、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整する画像処理手段とを備えたことを特徴とする撮影装置。
An imaging means including an imaging means for capturing an image of the subject by capturing the subject and obtaining an image representing the subject;
Irradiating means for irradiating the subject with auxiliary light when photographing the subject;
When a predetermined object is detected from a pre-image acquired by causing the photographing unit to perform pre-photographing, the photographing unit performs main photographing of the subject while suppressing the amount of auxiliary light emitted. Processing control means for acquiring an image;
An imaging apparatus comprising: image processing means for adjusting luminance and / or gradation of the region of the predetermined object in the main image.
被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段と、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物が検出された場合に、前記撮像手段のゲインを低くして前記撮影手段による前記被写体の本撮影を行って本画像を取得する処理制御手段と、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整する画像処理手段とを備えたことを特徴とする撮影装置。
An imaging means including an imaging means for capturing an image of the subject by capturing the subject and obtaining an image representing the subject;
Irradiating means for irradiating the subject with auxiliary light when photographing the subject;
When a predetermined object is detected from a pre-image acquired by causing the photographing unit to perform pre-photographing, the gain of the imaging unit is reduced and the subject is actually photographed by the photographing unit. Processing control means for acquiring an image;
An imaging apparatus comprising: image processing means for adjusting luminance and / or gradation of the region of the predetermined object in the main image.
前記所定の対象物が顔であることを特徴とする請求項1または2記載の撮影装置。   The photographing apparatus according to claim 1, wherein the predetermined object is a face. 被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段とを備えた撮影装置における撮影方法において、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物を検出し、
前記プレ画像から所定の対象物が検出された場合に、前記補助光の発光量を抑えて前記撮影手段による前記被写体の本撮影を行って本画像を取得し、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整することを特徴とする撮影方法。
An imaging means including an imaging means for capturing an image of the subject by capturing the subject and obtaining an image representing the subject;
In a photographing method in a photographing apparatus comprising an irradiating means for irradiating the subject with auxiliary light when photographing the subject,
Detecting a predetermined object from a pre-image acquired by causing the photographing means to perform pre-photographing;
When a predetermined object is detected from the pre-image, the main image of the subject is captured by the photographing unit while suppressing the light emission amount of the auxiliary light to obtain the main image,
An imaging method comprising adjusting a luminance and / or gradation of an area of the predetermined object in the main image.
被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段とを備えた撮影装置における撮影方法において、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物を検出し、
前記プレ画像から所定の対象物が検出された場合に、前記撮像手段のゲインを低くして前記撮影手段による前記被写体の本撮影を行って本画像を取得し、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整することを特徴とする撮影方法。
An imaging means including an imaging means for capturing an image of the subject by capturing the subject and obtaining an image representing the subject;
In a photographing method in a photographing apparatus comprising an irradiating means for irradiating the subject with auxiliary light when photographing the subject,
Detecting a predetermined object from a pre-image acquired by causing the photographing means to perform pre-photographing;
When a predetermined object is detected from the pre-image, the gain of the imaging unit is lowered and the subject is captured by the photographing unit to obtain the actual image,
An imaging method comprising adjusting a luminance and / or gradation of an area of the predetermined object in the main image.
被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段とを備えた撮影装置における撮影方法をコンピュータに実行させるためのプログラムにおいて、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物を検出する手順と、
前記プレ画像から所定の対象物が検出された場合に、前記補助光の発光量を抑えて前記撮影手段による前記被写体の本撮影を行って本画像を取得する手順と、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整する手順とを有することを特徴とするプログラム。
An imaging means including an imaging means for capturing an image of the subject by capturing the subject and obtaining an image representing the subject;
In a program for causing a computer to execute a photographing method in a photographing apparatus including an irradiating unit that emits auxiliary light to the subject when photographing the subject,
A procedure for detecting a predetermined object from a pre-image acquired by causing the photographing means to perform pre-photographing;
A procedure for acquiring a main image by performing a main photographing of the subject by the photographing unit while suppressing a light emission amount of the auxiliary light when a predetermined object is detected from the pre-image;
A program for adjusting a luminance and / or gradation of a region of the predetermined object in the main image.
被写体を撮影して該被写体を表す画像を取得する、該被写体を撮像する撮像手段を備えた撮影手段と、
前記被写体を撮影する際に該被写体に補助光を照射する照射手段とを備えた撮影装置における撮影方法をコンピュータに実行させるためのプログラムにおいて、
前記撮影手段にプレ撮影を行わせることにより取得されたプレ画像から所定の対象物を検出する手順と、
前記プレ画像から所定の対象物が検出された場合に、前記撮像手段のゲインを低くして前記撮影手段による前記被写体の本撮影を行って本画像を取得する手順と、
該本画像における前記所定の対象物の領域の輝度および/または階調を調整する手順とを有することを特徴とするプログラム。
An imaging means including an imaging means for capturing an image of the subject by capturing the subject and obtaining an image representing the subject;
In a program for causing a computer to execute a photographing method in a photographing apparatus including an irradiating unit that emits auxiliary light to the subject when photographing the subject,
A procedure for detecting a predetermined object from a pre-image acquired by causing the photographing means to perform pre-photographing;
When a predetermined object is detected from the pre-image, a procedure for acquiring a main image by performing a main shooting of the subject by the shooting unit with a lower gain of the imaging unit;
A program for adjusting a luminance and / or gradation of a region of the predetermined object in the main image.
JP2006037359A 2006-02-15 2006-02-15 Imaging apparatus and method, and program Expired - Fee Related JP4510768B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006037359A JP4510768B2 (en) 2006-02-15 2006-02-15 Imaging apparatus and method, and program
US11/705,777 US7801436B2 (en) 2006-02-15 2007-02-14 Photography apparatus, photography method, and photography program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006037359A JP4510768B2 (en) 2006-02-15 2006-02-15 Imaging apparatus and method, and program

Publications (3)

Publication Number Publication Date
JP2007221284A true JP2007221284A (en) 2007-08-30
JP2007221284A5 JP2007221284A5 (en) 2009-09-03
JP4510768B2 JP4510768B2 (en) 2010-07-28

Family

ID=38368608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006037359A Expired - Fee Related JP4510768B2 (en) 2006-02-15 2006-02-15 Imaging apparatus and method, and program

Country Status (2)

Country Link
US (1) US7801436B2 (en)
JP (1) JP4510768B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4653019B2 (en) * 2006-06-05 2011-03-16 キヤノン株式会社 Display control device
US7885532B2 (en) * 2007-02-08 2011-02-08 Canon Kabushiki Kaisha Image sensing apparatus with pre-flash and image sensing method for calculating flash illumination amount using degree of convergence
JP5096017B2 (en) * 2007-02-15 2012-12-12 オリンパスイメージング株式会社 Imaging device
CN101772952B (en) * 2007-07-23 2013-04-24 松下电器产业株式会社 Imaging device
JP5072655B2 (en) * 2008-03-03 2012-11-14 キヤノン株式会社 Image processing apparatus, image processing method, program, and storage medium
US7894715B2 (en) * 2008-03-31 2011-02-22 Canon Kabushiki Kaisha Image pickup apparatus, camera system, and control method for image pickup apparatus
JP5127592B2 (en) * 2008-06-25 2013-01-23 キヤノン株式会社 Image processing apparatus, image processing method, program, and computer-readable recording medium
TWI394443B (en) * 2008-09-19 2013-04-21 Altek Corp Image brightness correction method
EP2466873B1 (en) * 2010-12-17 2014-07-23 BlackBerry Limited Reduced pre-flash for camera devices with LED flash
US8391702B2 (en) 2010-12-17 2013-03-05 Research In Motion Limited Reduced pre-flash for LED flash based camera devices
TWI503579B (en) * 2013-06-07 2015-10-11 Young Optics Inc Three-dimensional image apparatus, three-dimensional scanning base thereof, and operation methods thereof
WO2018133202A1 (en) * 2017-01-22 2018-07-26 华为技术有限公司 Flash light prompt method and terminal device
CN107257455A (en) * 2017-07-10 2017-10-17 广东欧珀移动通信有限公司 White balancing treatment method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001339636A (en) * 2000-05-26 2001-12-07 Konica Corp Image pickup method and device
JP2006033519A (en) * 2004-07-16 2006-02-02 Fuji Photo Film Co Ltd Image pickup device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4087631B2 (en) 2001-08-24 2008-05-21 富士フイルム株式会社 Imaging apparatus, image processing apparatus, imaging method, image processing method, image processing system, and program
US7298412B2 (en) 2001-09-18 2007-11-20 Ricoh Company, Limited Image pickup device, automatic focusing method, automatic exposure method, electronic flash control method and computer program
JP4794786B2 (en) 2001-09-28 2011-10-19 株式会社リコー Imaging apparatus, automatic exposure method, and program for computer to execute the method
JP4870887B2 (en) 2001-09-28 2012-02-08 株式会社リコー Imaging apparatus, strobe control method, and program for computer to execute the method
JP2004320284A (en) 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera
US7844076B2 (en) * 2003-06-26 2010-11-30 Fotonation Vision Limited Digital image processing using face detection and skin tone information
JP4867365B2 (en) * 2006-01-30 2012-02-01 ソニー株式会社 Imaging control apparatus, imaging apparatus, and imaging control method
JP4665780B2 (en) * 2006-01-30 2011-04-06 ソニー株式会社 Face importance degree determination apparatus, method, and imaging apparatus
JP2008141740A (en) * 2006-11-07 2008-06-19 Fujifilm Corp Apparatus, method and program for photography
EP2148499B1 (en) * 2008-07-25 2018-01-17 FUJIFILM Corporation Imaging apparatus and method
JP2010035048A (en) * 2008-07-30 2010-02-12 Fujifilm Corp Imaging apparatus and imaging method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001339636A (en) * 2000-05-26 2001-12-07 Konica Corp Image pickup method and device
JP2006033519A (en) * 2004-07-16 2006-02-02 Fuji Photo Film Co Ltd Image pickup device

Also Published As

Publication number Publication date
JP4510768B2 (en) 2010-07-28
US7801436B2 (en) 2010-09-21
US20070189752A1 (en) 2007-08-16

Similar Documents

Publication Publication Date Title
JP4510768B2 (en) Imaging apparatus and method, and program
JP4782725B2 (en) Focusing device, method and program
JP4444936B2 (en) Imaging apparatus, method, and program
JP2008017166A (en) Photographing device and method, and program
JP2007264196A (en) Strobe control unit and method
JP5180349B2 (en) Imaging apparatus, method, and program
JP2007311861A (en) Photographic apparatus and method
JP2007264049A (en) Imaging method and apparatus
JP4818999B2 (en) Imaging apparatus, method, and program
US20070206938A1 (en) Distance measuring apparatus and method
JP4796007B2 (en) Imaging device
JP5027580B2 (en) Imaging apparatus, method, and program
JP2007188126A (en) Image brightness calculation device, method, and program
JP2006145629A (en) Imaging apparatus
JP2007299339A (en) Image reproducing device, method and program
JP2008298847A (en) Photographing method and digital camera
JP4750063B2 (en) Imaging apparatus and imaging method
JP2007208355A (en) Photographing device, method, and program
JP2010026039A (en) Photographing apparatus, and control method and program of photographing apparatus
WO2006054763A1 (en) Electronic camera
JP2008072412A (en) Photographing device and method, and program
JP2008172650A (en) Photographing apparatus, method and program
JP4761039B2 (en) Imaging device
JP2008283456A (en) Imaging apparatus and imaging method
JP2002252804A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080714

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090722

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20090722

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20091014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091104

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20091204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20091204

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

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

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4510768

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees