JP4761039B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4761039B2
JP4761039B2 JP2005304747A JP2005304747A JP4761039B2 JP 4761039 B2 JP4761039 B2 JP 4761039B2 JP 2005304747 A JP2005304747 A JP 2005304747A JP 2005304747 A JP2005304747 A JP 2005304747A JP 4761039 B2 JP4761039 B2 JP 4761039B2
Authority
JP
Japan
Prior art keywords
face
auxiliary light
light emitting
image
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005304747A
Other languages
Japanese (ja)
Other versions
JP2007114411A (en
Inventor
訓 岡本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2005304747A priority Critical patent/JP4761039B2/en
Publication of JP2007114411A publication Critical patent/JP2007114411A/en
Application granted granted Critical
Publication of JP4761039B2 publication Critical patent/JP4761039B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は撮像装置に係り、特にオートフォーカス動作時に補助光の発光が可能な撮像装置に関する。   The present invention relates to an imaging apparatus, and more particularly to an imaging apparatus capable of emitting auxiliary light during an autofocus operation.

デジタルカメラなどで採用されるオートフォーカス(AF)の方式として、コントラストAFが知られている。このコントラストAFは、画像のコントラストがピークとなる位置を検出し、その位置にフォーカスレンズを移動させてピント合せを行うものであるが、被写体のコントラストが少ない場合や被写体が暗い場合には、正確なピント合せができないという問題があった。   Contrast AF is known as an autofocus (AF) method employed in digital cameras and the like. This contrast AF detects the position where the contrast of the image reaches its peak and moves the focus lens to that position for focusing. However, this contrast AF is accurate when the subject contrast is low or the subject is dark. There was a problem that proper focusing was not possible.

そこで、このAF動作時に被写体に向けて補助光を照射し、コントラストの検出を可能にするカメラが提案されている(たとえば、特許文献1〜4)
特開2003−244535号公報 特開2005−31290号公報 特開2005−37519号公報 特開2003−140027号公報
In view of this, there has been proposed a camera that enables the detection of contrast by irradiating auxiliary light toward a subject during the AF operation (for example, Patent Documents 1 to 4).
JP 2003-244535 A JP 200531290 A JP 2005-37519 A Japanese Patent Laid-Open No. 2003-140027

しかしながら、AF動作時に補助光を発光させるカメラで人物撮影を行うと、被写体が補助光の発光に気を取られ、自然な表情の絵が撮りにくくなるという欠点があった。特に、赤ん坊の撮影では、補助光の発光に驚いたり、目をつむったりして、うまく撮影できないという問題があった。   However, when a person is photographed with a camera that emits auxiliary light during AF operation, there is a drawback in that the subject is distracted by the emission of auxiliary light, making it difficult to take pictures with natural expressions. In particular, when taking pictures of babies, there was a problem that they could not shoot well because they were surprised by the light emitted from the auxiliary light or they closed their eyes.

本発明は、このような事情に鑑みてなされたもので、人物撮影時に被写体に違和感を与えずに撮影することができる撮像装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and it is an object of the present invention to provide an imaging apparatus that can capture an image of a subject without feeling uncomfortable.

請求項1に係る発明は、前記目的を達成するために、撮影レンズを通した光を撮像素子で受け、該撮像素子から得られる画像信号に所要の信号処理を施して記憶メディアに記録する撮像装置において、被写体の輝度を検出する手段と、オートフォーカス動作時に被写体に向けて補助光を発光する補助光発光手段と、マクロ撮影が可能なマクロモードに設定するモード設定手段と、前記撮像素子から得られる画像信号を解析して人物の顔を検出する顔検出手段と、所定の輝度値以下の低輝度時に前記補助光発光手段から補助光が発光されるように制御する制御手段であって、前記マクロモード設定時に前記顔検出手段で人物の顔が検出された場合は、前記補助光発光手段からの補助光の発光を停止する制御手段と、を備えたことを特徴とする撮像装置を提供する。 In order to achieve the above object, the invention according to claim 1 is an image pickup method in which light passing through a photographing lens is received by an image pickup device, an image signal obtained from the image pickup device is subjected to necessary signal processing and recorded on a storage medium. In the apparatus, means for detecting the luminance of the subject, auxiliary light emitting means for emitting auxiliary light toward the subject at the time of autofocus operation, mode setting means for setting a macro mode capable of macro photography, and the imaging device A face detecting means for analyzing the obtained image signal to detect a human face, and a control means for controlling the auxiliary light to be emitted from the auxiliary light emitting means at a low luminance equal to or lower than a predetermined luminance value, If the face of a person is detected in the face detecting means to the macro mode is set, shooting is characterized in that and a control means for stopping the emission of auxiliary light from the auxiliary light emitting means To provide a device.

請求項1に係る発明によれば、マクロ撮影時に撮像素子で捉えた画像から人の顔が検出されると、補助光の発光が禁止される。これにより、人物の近くで撮影する際、不用意に補助光が発光して、被写体に違和感を与えるのを防止できる。   According to the first aspect of the present invention, when a human face is detected from an image captured by the image sensor at the time of macro photography, emission of auxiliary light is prohibited. Thereby, when photographing near a person, it is possible to prevent the auxiliary light from being inadvertently emitted and giving the subject an uncomfortable feeling.

請求項2に係る発明は、前記目的を達成するために、撮影レンズを通した光を撮像素子で受け、該撮像素子から得られる画像信号に所要の信号処理を施して記憶メディアに記録する撮像装置において、被写体の輝度を検出する手段と、オートフォーカス動作時に被写体に向けて補助光を発光する補助光発光手段と、前記撮像素子から得られる画像信号を解析して人物の顔を抽出する顔抽出手段と、前記顔抽出手段で抽出された顔が画面に占める割合を顔支配率として算出する手段と、所定の輝度値以下の低輝度時に前記補助光発光手段から補助光が発光されるように制御する制御手段であって、前記顔支配率が大きくなるに従って前記補助光発光手段から発光する補助光の光量が小さくなるように、前記顔支配率に応じて前記補助光発光手段から発光する補助光の光量を制御する制御手段と、を備えたことを特徴とする撮像装置を提供する。 According to a second aspect of the present invention, in order to achieve the above object, an image pickup device that receives light passing through a photographic lens by an image pickup device, performs necessary signal processing on an image signal obtained from the image pickup device, and records the image signal on a storage medium. In the apparatus, means for detecting the luminance of the subject, auxiliary light emitting means for emitting auxiliary light toward the subject during the autofocus operation, and a face for extracting a human face by analyzing an image signal obtained from the image sensor Extraction means, means for calculating the ratio of the face extracted by the face extraction means on the screen as a face dominance ratio, and auxiliary light emitting means emitting light from the auxiliary light emitting means when the luminance is lower than a predetermined luminance value control means for controlling, as the light amount of the auxiliary light is reduced to the face possession is emitted from the auxiliary light emitting means in accordance with increases, the auxiliary light emitting means in response to said face possession Providing a control means for controlling the amount of auxiliary light to be al emission, the imaging apparatus characterized by comprising a.

請求項2に係る発明は、撮像素子で捉えた画像に人物の顔が含まれている場合、その人物の顔が画面に占める割合に応じて補助光の光量が調整される。これにより、被写体となる人物の近くで強い光が発射されて、被写体に違和感を与えるのを防止できる。
請求項3に係る発明は、前記目的を達成するために、前記顔支配率を算出する手段は、前記顔抽出手段で複数の人物の顔が検出された場合、顔が最も大きく写されている人物を特定し、該人物の顔支配率を算出することを特徴とする請求項2に記載の撮像装置を提供する。
請求項4に係る発明は、前記目的を達成するために、前記顔支配率に応じた前記補助光発光手段の出力の設定が定められたルックアップテーブルであって、前記顔支配率が小さくなるほど前記補助光発光手段の出力の設定が大きくなるように定められたルックアップテーブルを備え、前記制御手段は、算出された前記顔支配率から前記ルックアップテーブルに基づいて、前記補助光発光手段の出力を決定し、前記補助光発光手段から発光する補助光の光量を制御することを特徴とする請求項2又は3に記載の撮像装置を提供する。
In the invention according to claim 2, when a person's face is included in an image captured by the image sensor, the amount of auxiliary light is adjusted in accordance with the ratio of the person's face to the screen. Thereby, it is possible to prevent strong light from being emitted in the vicinity of the person who is the subject and giving the subject a sense of incongruity.
According to a third aspect of the present invention, in order to achieve the above object, the means for calculating the face dominance ratio shows the largest image when a plurality of human faces are detected by the face extracting means. The imaging apparatus according to claim 2, wherein a person is specified and a face dominance ratio of the person is calculated.
The invention according to claim 4 is a look-up table in which the setting of the output of the auxiliary light emitting means according to the face dominance rate is determined in order to achieve the object, and the smaller the face dominance rate is A lookup table that is set so that the setting of the output of the auxiliary light emitting means is increased, and the control means is configured to calculate the auxiliary light emitting means based on the look-up table from the calculated face dominance rate. The imaging apparatus according to claim 2 or 3, wherein an output is determined and the amount of auxiliary light emitted from the auxiliary light emitting unit is controlled.

請求項に係る発明は、前記目的を達成するために、ズームレンズで構成される撮影レンズを通した光を撮像素子で受け、該撮像素子から得られる画像信号に所要の信号処理を施して記憶メディアに記録する撮像装置において、被写体の輝度を検出する手段と、オートフォーカス動作時に被写体に向けて補助光を発光する補助光発光手段と、前記撮像素子から得られる画像信号を解析して人物の顔を抽出する顔抽出手段と、前記顔抽出手段で抽出された顔が画面に占める割合を顔支配率として算出する手段と、あらかじめ設定された顔支配率の分類に従って、算出された前記顔支配率のランクを決定する手段と、あらかじめ設定されたズームポジションの分類に従って、現在設定されている前記撮影レンズのズームポジションを判定する手段と、前記顔支配率のランクと前記ズームポジションとに応じた前記補助光発光手段の出力の設定が定められたルックアップテーブルであって、前記顔支配率が小さくなるほど前記補助光発光手段の出力の設定が大きくなり、前記撮影レンズの焦点距離が長くなるほど前記補助光発光手段の出力の設定が大きくなるように定められたルックアップテーブルと、所定の輝度値以下の低輝度時に前記補助光発光手段から補助光が発光されるように制御する制御手段であって、前記顔支配率と前記ズームポジションとから前記ルックアップテーブルに基づいて、前記補助光発光手段の出力を決定し、前記補助光発光手段から発光する補助光の光量を制御する制御手段と、を備えたことを特徴とする撮像装置を提供する。 In order to achieve the above object, the invention according to claim 5 receives light that has passed through a photographic lens constituted by a zoom lens by an image sensor, and performs necessary signal processing on an image signal obtained from the image sensor. In an imaging apparatus for recording on a storage medium, means for detecting the luminance of a subject, auxiliary light emitting means for emitting auxiliary light toward the subject during autofocus operation, and analyzing the image signal obtained from the imaging element The face extraction means for extracting the face, means for calculating the ratio of the face extracted by the face extraction means on the screen as the face dominance ratio, and the face calculated according to a preset classification of the face dominance ratio Means for determining the rank of the control ratio, and means for determining the zoom position of the photographic lens currently set according to a preset zoom position classification A lookup table in which the setting of the output of the auxiliary light emitting means according to the rank of the face dominant rate and the zoom position is determined, and the output of the auxiliary light emitting means decreases as the face dominant rate decreases. A lookup table that is set so that the setting of the output of the auxiliary light emitting means becomes larger as the setting becomes larger and the focal length of the photographing lens becomes longer, and the auxiliary light emitting means when the luminance is lower than a predetermined luminance value Control means for controlling the auxiliary light to be emitted from the face dominance rate and the zoom position based on the look-up table to determine the output of the auxiliary light emitting means, and the auxiliary light emission There is provided an imaging apparatus comprising: control means for controlling the amount of auxiliary light emitted from the means .

請求項に係る発明によれば、撮影レンズがズームレンズの場合は、撮像素子で捉えた画像に人物の顔が含まれていると、その人物の顔が画面全体に占める割合と、撮影レンズの焦点距離とに応じて補助光の光量が調整される。これにより、被写体の近くで撮影する場合に被写体に向けて強い光が発射されて、被写体に違和感を与えるのを防止できる一方、被写体の遠くで撮影する場合は、光量の大きい補助光を発射して、正確にピント合せを行うことができる。 According to the fifth aspect of the present invention, when the photographing lens is a zoom lens, if an image captured by the image sensor includes a person's face, the ratio of the person's face to the entire screen, and the photographing lens The amount of auxiliary light is adjusted according to the focal length. As a result, when shooting near the subject, strong light is emitted toward the subject, which can prevent the subject from feeling uncomfortable. Thus, it is possible to focus accurately.

本発明に係る撮像装置によれば、人物撮影時に被写体に違和感を与えずに撮影することができる。   According to the imaging apparatus of the present invention, it is possible to shoot without giving a sense of incongruity to a subject when shooting a person.

以下、添付図面を参照して本発明に係る撮像装置を実施するための最良の形態について説明する。   The best mode for carrying out an imaging apparatus according to the present invention will be described below with reference to the accompanying drawings.

図1、図2は、それぞれ本発明が適用されたデジタルカメラの正面斜視図と背面斜視図である。   1 and 2 are a front perspective view and a rear perspective view of a digital camera to which the present invention is applied, respectively.

同図に示すように、本実施の形態のデジタルカメラ10のカメラボディ12は、薄く四角い箱状に形成されている。   As shown in the figure, the camera body 12 of the digital camera 10 of the present embodiment is formed in a thin and square box shape.

カメラボディ12の正面には、図1に示すように、撮影レンズ14、ストロボ16、セルフタイマランプ18、AF補助光ランプ20等が設けられており、上面には、シャッタボタン22、モードレバー24、電源ボタン26等が設けられている。   As shown in FIG. 1, a photographing lens 14, a strobe 16, a self-timer lamp 18, an AF auxiliary light lamp 20, and the like are provided on the front surface of the camera body 12, and a shutter button 22 and a mode lever 24 are disposed on the upper surface. A power button 26 and the like are provided.

一方、カメラボディ12の背面には、図2に示すように、モニタ28、ズームボタン30、再生ボタン32、フォトモードボタン34、十字ボタン36、MENU/OKボタン38、BACKボタン40等が設けられている。   On the other hand, as shown in FIG. 2, a monitor 28, a zoom button 30, a playback button 32, a photo mode button 34, a cross button 36, a MENU / OK button 38, a BACK button 40, and the like are provided on the back of the camera body 12. ing.

また、図示されていないが、カメラボディ12の底面には、USB端子とバッテリカバーが開閉自在に設けられており、そのバッテリカバーの内側にバッテリを収納するためのバッテリ収納室と、メモリカードを装填するためのメモリカードスロットとが設けられている。   Although not shown, a USB terminal and a battery cover are provided on the bottom surface of the camera body 12 so as to be openable and closable. A battery storage chamber for storing the battery inside the battery cover and a memory card are provided. A memory card slot for loading is provided.

撮影レンズ14は、マクロ機構を備えた沈胴式のズームレンズで構成されており、デジタルカメラ10の電源をONすると、カメラボディ12から繰り出される。また、後述するように、マクロモードに設定すると、マクロ機構が作動し、マクロ撮影(近接撮影)が可能になる。   The taking lens 14 is composed of a retractable zoom lens having a macro mechanism, and is extended from the camera body 12 when the power of the digital camera 10 is turned on. As will be described later, when the macro mode is set, the macro mechanism is activated, and macro photography (proximity photography) becomes possible.

なお、撮影レンズ14のズーム機構や沈胴機構、マクロ機構については、公知の技術なので、ここではその具体的な説明は省略する。   In addition, since the zoom mechanism, the retracting mechanism, and the macro mechanism of the photographing lens 14 are known techniques, a specific description thereof is omitted here.

シャッタボタン22は、いわゆる「半押し」と「全押し」とからなる二段ストローク式のスイッチで構成されている。デジタルカメラ10は、このシャッタボタン22の半押しでAE(Automatic Exposure:自動露出)、AF(Auto Focus:自動合焦)、AWB(Automatic White Balance:自動ホワイトバランス)を行い、全押しで画像の記録を行う。   The shutter button 22 is constituted by a two-stage stroke type switch composed of so-called “half press” and “full press”. The digital camera 10 performs AE (Automatic Exposure), AF (Auto Focus), and AWB (Automatic White Balance) by half-pressing the shutter button 22, and full-pressing the image. Make a record.

モードレバー24は、撮影モードの設定に用いられる。このモードレバー24は、シャッタボタン22の周りを回動自在に設けられており、「SP位置」、「AUTO位置」、「M位置」、「動画位置」にセット可能に設けられている。デジタルカメラ10は、このモードレバー24を「SP位置」にセットすることにより、「シーンプログラム撮影モード」に設定され、撮影シーンに応じた露出制御を行うモードに設定される。また、「AUTO位置」にセットすることにより、「オート撮影モード」に設定され、露出制御を全自動で行うモードに設定される。また、「M位置」に設定されることにより、「マニュアル撮影モード」に設定され、露出設定を手動で行うモードに設定される。また、「動画位置」に設定することにより、「動画撮影モード」に設定され、動画を撮影するモードに設定される。   The mode lever 24 is used for setting the shooting mode. The mode lever 24 is provided so as to be rotatable around the shutter button 22 and can be set at the “SP position”, “AUTO position”, “M position”, and “moving picture position”. The digital camera 10 is set to the “scene program shooting mode” by setting the mode lever 24 to the “SP position”, and set to a mode for performing exposure control according to the shooting scene. Also, by setting the “AUTO position”, the “auto shooting mode” is set, and the mode is set to perform the exposure control fully automatically. Also, by setting the “M position”, the “manual shooting mode” is set, and the exposure setting is manually set. Also, by setting the “moving image position”, the “moving image shooting mode” is set, and the moving image shooting mode is set.

モニタ28は、カラーLCDで構成されている。このモニタ28は、撮影済み画像を表示するための画像表示部として利用されるとともに、各種設定時にGUIとして利用される。また、撮影時には、撮像素子で捉えた画像がスルー表示されて、電子ファインダとして利用される。   The monitor 28 is composed of a color LCD. The monitor 28 is used as an image display unit for displaying captured images, and is used as a GUI during various settings. Further, at the time of shooting, an image captured by the image sensor is displayed as a through view and used as an electronic viewfinder.

ズームボタン30は、撮影レンズ14のズーム操作に用いられ、望遠側へのズームを指示するズームテレボタンと、広角側へのズームを指示するズームワイドボタンとで構成されている。   The zoom button 30 is used for a zoom operation of the photographic lens 14 and includes a zoom tele button for instructing zooming to the telephoto side and a zoom wide button for instructing zooming to the wide angle side.

再生ボタン32は、再生モードへの切り替え指示に用いられる。すなわち、デジタルカメラ10は、撮影中、この再生ボタン32が押されると、再生モードに切り替えられる。   The playback button 32 is used for an instruction to switch to the playback mode. That is, the digital camera 10 is switched to the playback mode when the playback button 32 is pressed during shooting.

フォトモードボタン34は、撮影及び再生の各種設定画面の呼び出しに用いられる。すなわち、撮影時に、このフォトモードボタン34が押されると、モニタ28に画像サイズ(記録画素数)、感度等の設定画面が表示され、再生時に、このフォトモードボタン4が押されると、モニタ28にプリント予約(DPOF)の設定画面が表示される。   The photo mode button 34 is used to call up various setting screens for shooting and reproduction. That is, when the photo mode button 34 is pressed during shooting, a setting screen for image size (number of recording pixels) and sensitivity is displayed on the monitor 28. When the photo mode button 4 is pressed during playback, the monitor 28 is displayed. A print reservation (DPOF) setting screen is displayed.

十字ボタン36は、上下左右4方向に押圧操作可能に設けられており、各方向のボタンには、カメラの設定状況に応じた機能が割り当てられる。   The cross button 36 is provided so that it can be pressed in four directions, up, down, left, and right, and a function corresponding to the setting status of the camera is assigned to the button in each direction.

すなわち、たとえば、撮影時には、左ボタンにマクロモードのON/OFFを切り替える機能が割り当てられ、右ボタンにストロボモードを切り替える機能が割り当てられる。また、上ボタンにモニタ28の明るさを替える機能が割り当てられ、下ボタンにセルフタイマのON/OFFを切り替える機能が割り当てられる。   That is, for example, at the time of shooting, a function for switching the macro mode ON / OFF is assigned to the left button, and a function for switching the strobe mode is assigned to the right button. In addition, a function for changing the brightness of the monitor 28 is assigned to the upper button, and a function for switching ON / OFF of the self-timer is assigned to the lower button.

また、再生時には、左ボタンにコマ送りの機能が割り当てられ、右ボタンにコマ戻しの機能が割り当てられる。また、上ボタンにモニタ28の明るさを替える機能が割り当てられ、下ボタンに再生中の画像を削除する機能が割り当てられる。   Further, during playback, a frame advance function is assigned to the left button, and a frame return function is assigned to the right button. Also, a function for changing the brightness of the monitor 28 is assigned to the upper button, and a function for deleting the image being reproduced is assigned to the lower button.

また、各種設定時には、各ボタンの方向にカーソルを移動させる機能が割り当てられる。   Also, at the time of various settings, a function for moving the cursor in the direction of each button is assigned.

MENU/OKボタン38は、メニュー画面の呼び出しに用いられるとともに、選択内容の確定、処理の実行指示等に用いられる。BACKボタン42は、入力操作のキャンセル等の指示に用いられる。   The MENU / OK button 38 is used for calling up a menu screen, and is used for confirming selection contents, executing a process, and the like. The BACK button 42 is used for an instruction such as canceling an input operation.

図3は、デジタルカメラ10の電気的構成を示すブロック図である。同図に示すように、デジタルカメラ10は、CPU110、操作部(シャッタボタン22、モードレバー24、電源ボタン26、ズームボタン30、再生ボタン32、フォトモードボタン34、十字ボタン36、MENU/OKボタン38、BACKボタン40等)112、ROM114、RAM116、EEPROM118、VRAM120、時計/カレンダ部122、撮影光学系124、撮影光学系駆動部126、撮像素子128、タイミングジェネレータ130、アナログ信号処理部132、A/Dコンバータ134、画像入力コントローラ136、画像信号処理部138、圧縮伸張処理部140、顔検出部142、メディアコントローラ144、メモリカードM、USBコントローラ146、エンコーダ148、OSD部150、AE/AWB検出部152、AF検出部154、ストロボ制御部156、電源制御部158、バッテリ160、AF補助光発光制御部162、AF補助光ランプ20等で構成されている。   FIG. 3 is a block diagram showing an electrical configuration of the digital camera 10. As shown in the figure, the digital camera 10 includes a CPU 110, an operation unit (shutter button 22, mode lever 24, power button 26, zoom button 30, playback button 32, photo mode button 34, cross button 36, MENU / OK button. 38, BACK button 40, etc.) 112, ROM 114, RAM 116, EEPROM 118, VRAM 120, clock / calendar unit 122, imaging optical system 124, imaging optical system driving unit 126, imaging device 128, timing generator 130, analog signal processing unit 132, A / D converter 134, image input controller 136, image signal processing unit 138, compression / decompression processing unit 140, face detection unit 142, media controller 144, memory card M, USB controller 146, encoder 148, OSD unit 150, A / AWB detection unit 152, AF detection unit 154, the flash control unit 156, the power supply control unit 158, and a battery 160, AF auxiliary light emission control unit 162, AF auxiliary light lamp 20 or the like.

CPU110は、デジタルカメラ10の全体の動作を統括制御する制御手段として機能するとともに、各種の演算処理を行う演算処理手段として機能し、操作部112からの入力に基づき所定の制御プログラムに従って各回路を制御する。   The CPU 110 functions as a control unit that performs overall control of the overall operation of the digital camera 10 and also functions as an arithmetic processing unit that performs various arithmetic processes. Each circuit is configured according to a predetermined control program based on an input from the operation unit 112. Control.

ROM114には、CPU110が実行する制御プログラム及び制御に必要な各種データ等が格納されており、EEPROM118には、ユーザ設定情報等の各種設定情報等が格納されている。   The ROM 114 stores a control program executed by the CPU 110 and various data necessary for control. The EEPROM 118 stores various setting information such as user setting information.

RAM116は、CPU110の演算作業用領域として利用されるとともに、画像データの一時記憶領域として利用され、VRAM120は、表示用の画像データ専用の一時記憶領域として利用される。   The RAM 116 is used as a calculation work area for the CPU 110 and is also used as a temporary storage area for image data, and the VRAM 120 is used as a temporary storage area dedicated for image data for display.

時計/カレンダ部122は、現在日時を計時し、CPU110からの指令に応じて計時した現在時刻情報をCPU110に出力する。   The clock / calendar unit 122 counts the current date and time, and outputs the current time information measured according to a command from the CPU 110 to the CPU 110.

撮影光学系124は、撮影レンズ14、絞り、シャッタを含み、撮影レンズ14は、フォーカスレンズとズームレンズとを含んで構成されている。   The photographing optical system 124 includes a photographing lens 14, a diaphragm, and a shutter, and the photographing lens 14 includes a focus lens and a zoom lens.

撮影光学系駆動部126は、CPU110からの指令に応じて撮影レンズ14を構成するフォーカスレンズ及びズームレンズを駆動し、フォーカシング及びズーミング行う。また、CPU110からの指令に応じて、絞りを駆動し、撮像素子128に入射する光量を調節するとともに、シャッタを駆動し、撮像素子128の露光/遮光を制御する。   The photographing optical system driving unit 126 drives a focus lens and a zoom lens constituting the photographing lens 14 in accordance with a command from the CPU 110, and performs focusing and zooming. Further, in response to a command from the CPU 110, the diaphragm is driven to adjust the amount of light incident on the image sensor 128, and the shutter is driven to control exposure / light shielding of the image sensor 128.

撮像素子128は、カラーCCDで構成されており、その受光面には多数のフォトダイオード(受光素子)が配列されている。撮影光学系124を介して撮像素子128の受光面に入射した光は、各フォトダイオードによって入射光量に応じた量の信号電荷に変換されて、各フォトダイオードに蓄積される。   The image sensor 128 is composed of a color CCD, and a large number of photodiodes (light receiving elements) are arranged on the light receiving surface thereof. Light incident on the light receiving surface of the image sensor 128 via the imaging optical system 124 is converted into signal charges of an amount corresponding to the amount of incident light by each photodiode and accumulated in each photodiode.

タイミングジェネレータ(TG)130は、CPU110からの指令に従い、主として撮像素子128を駆動するためのタイミング信号を生成する。撮像素子128は、このタイミングジェネレータ130から加えられるタイミング信号に従って各フォトダイオードに蓄積された信号電荷を読み出し、電圧信号(画像信号)として出力する。   A timing generator (TG) 130 generates a timing signal mainly for driving the image sensor 128 in accordance with a command from the CPU 110. The image sensor 128 reads the signal charge accumulated in each photodiode in accordance with the timing signal applied from the timing generator 130 and outputs it as a voltage signal (image signal).

アナログ信号処理部132は、撮像素子128から順次出力される画像信号を相関二重サンプリング処理(撮像素子の出力信号に含まれるノイズ(特に熱雑音)等を軽減することを目的として、撮像素子の1画素毎の出力信号に含まれるフィードスルー成分レベルと画素信号成分レベルとの差をとることにより正確な画素データを得る処理)するとともに、増幅して出力する。   The analog signal processing unit 132 performs correlated double sampling processing on image signals sequentially output from the image sensor 128 (for the purpose of reducing noise (particularly thermal noise) included in the output signal of the image sensor). (A process for obtaining accurate pixel data by taking the difference between the feedthrough component level and the pixel signal component level included in the output signal for each pixel) and amplifying and outputting.

A/Dコンバータ134は、アナログ信号処理部132から出力されたR、G、Bのアナログの画像信号をデジタルの画像信号に変換する。   The A / D converter 134 converts the R, G, and B analog image signals output from the analog signal processing unit 132 into digital image signals.

画像入力コントローラ136は、所定容量のラインバッファを内蔵し、A/Dコンバータ134から出力された1画像分の画像信号を蓄積して、RAM116に格納する。   The image input controller 136 includes a line buffer having a predetermined capacity, accumulates image signals for one image output from the A / D converter 134, and stores them in the RAM 116.

画像信号処理部138は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路)、ホワイトバランス補正回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含み、CPU110からの指令に従って入力された画像信号に所要の信号処理を施して、輝度データ(Yデータ)と色差データ(Cr,Cbデータ)とからなる画像データ(YUVデータ)を生成する。   The image signal processing unit 138 includes a synchronization circuit (a processing circuit that interpolates a spatial shift of the color signal associated with the color filter array of the single CCD and converts the color signal into a simultaneous expression), a white balance correction circuit, and a gamma correction. Circuit, contour correction circuit, luminance / color difference signal generation circuit, etc., and performs necessary signal processing on the image signal input in accordance with a command from the CPU 110 to obtain luminance data (Y data) and color difference data (Cr, Cb data). Image data (YUV data) consisting of:

圧縮伸張処理部140は、CPU110からの指令に従って入力された画像データに圧縮処理を施し、所定フォーマット(たとえば、JPEG)の圧縮画像データを生成する。また、入力された圧縮画像データに伸張処理を施し、非圧縮の画像データを生成する。   The compression / decompression processing unit 140 performs compression processing on the image data input in accordance with a command from the CPU 110, and generates compressed image data in a predetermined format (for example, JPEG). Further, the input compressed image data is decompressed to generate non-compressed image data.

顔検出部142は、CPU110からの指令に従って入力された画像データを解析し、人物の顔画像を検出する。すなわち、画像データから顔領域を抽出し、その位置(重心座標)及び大きさ(範囲)を検出する。この処理は、たとえば、入力された画像データから肌色に指定した色と近い色を持つ画素を取り出し、その取り出した領域を顔領域として抽出することにより行われる。肌色の抽出処理は、たとえば、肌色を他の色と区別するための色空間上で、あらかじめサンプリングした肌色の情報から色空間上の肌色の範囲を定め、各画素の色が定めた範囲に入っているか否かを判定することにより行われる。なお、顔検出の処理は、この他公知の技術を用いることができる。   The face detection unit 142 analyzes image data input in accordance with a command from the CPU 110 and detects a human face image. That is, a face region is extracted from image data, and its position (center of gravity coordinates) and size (range) are detected. This process is performed, for example, by extracting pixels having a color close to the color designated as the skin color from the input image data and extracting the extracted area as a face area. In the skin color extraction process, for example, in the color space for distinguishing the skin color from other colors, the skin color range on the color space is determined from the pre-sampled skin color information, and the color of each pixel falls within the specified range. It is performed by determining whether or not. Note that other known techniques can be used for the face detection process.

メディアコントローラ144は、CPU110からの指令に従ってメディアスロットに装填されたメモリカードMに対してデータの読み出し及び書き込みを制御する。   The media controller 144 controls reading and writing of data with respect to the memory card M loaded in the media slot according to a command from the CPU 110.

なお、本実施の形態のデジタルカメラ10では、カメラボディ12から着脱可能なメモリカードMに画像を格納することとしているが、内蔵式のメモリに画像を格納する構成としてもよい。   In the digital camera 10 of the present embodiment, the image is stored in the memory card M that can be detached from the camera body 12, but the image may be stored in a built-in memory.

USBコントローラ146は、CPU110からの指令に従ってUSB端子147に接続された外部機器(パソコンやプリンタ等)との間でデータの送受信を行う。   The USB controller 146 transmits / receives data to / from an external device (such as a personal computer or a printer) connected to the USB terminal 147 according to a command from the CPU 110.

エンコーダ148は、CPU110からの指令に従って入力された画像信号をモニタ28に表示するための映像信号(たとえば、NTSC信号やPAL信号、SCAM信号)に変換し、モニタ28に出力する。   The encoder 148 converts an image signal input in accordance with a command from the CPU 110 into a video signal (for example, an NTSC signal, a PAL signal, or a SCAM signal) for display on the monitor 28 and outputs the video signal to the monitor 28.

OSD(On Screen Display)部150は、CPU110からの指令に従ってモニタ28に表示するための文字や図形を示す信号をエンコーダ148に出力する。   An OSD (On Screen Display) unit 150 outputs a signal indicating characters and graphics to be displayed on the monitor 28 to the encoder 148 in accordance with a command from the CPU 110.

AE/AWB検出部152は、CPU110からの指令に従って、入力された画像信号からAE制御及びAWB制御に必要な物理量を算出する。たとえば、AE制御に必要な物理量として、1画面を複数のエリア(たとえば16×16)に分割し、分割したエリアごとにR、G、Bの画像信号の積算値を算出する。CPU110は、このAE/AWB検出部152から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出して、撮影に適した露出値(撮影EV値)を算出し、算出した撮影EV値と所定のプログラム線図から絞り値とシャッタースピードを決定する。また、AWB制御に必要な物理量として、1画面を複数のエリア(例えば、16×16)に分割し、分割したエリアごとにR、G、Bの画像信号の色別の平均積算値を算出する。CPU110は、得られたRの積算値、Bの積算値、Gの積算値から分割エリアごとにR/G及びB/Gの比を求め、求めたR/G、B/Gの値のR/G、B/Gの色空間における分布等に基づいて光源種判別を行う。そして、判別された光源種に適したホワイトバランス調整値に従って、たとえば各比の値がおよそ1(つまり、1画面においてRGBの積算比率がR:G:B≒1:1:1)になるように、ホワイトバランス調整回路のR、G、B信号に対するゲイン値(ホワイトバランス補正値)を決定する。   The AE / AWB detection unit 152 calculates a physical quantity necessary for AE control and AWB control from the input image signal in accordance with a command from the CPU 110. For example, as a physical quantity required for AE control, one screen is divided into a plurality of areas (for example, 16 × 16), and an integrated value of R, G, and B image signals is calculated for each divided area. The CPU 110 detects the brightness of the subject (subject brightness) based on the integrated value obtained from the AE / AWB detector 152, calculates an exposure value (shooting EV value) suitable for shooting, and calculates the calculated shooting EV. An aperture value and a shutter speed are determined from the value and a predetermined program diagram. Further, as a physical quantity necessary for AWB control, one screen is divided into a plurality of areas (for example, 16 × 16), and an average integrated value for each color of R, G, and B image signals is calculated for each divided area. . The CPU 110 obtains the ratio of R / G and B / G for each divided area from the obtained R accumulated value, B accumulated value, and G accumulated value, and R of the obtained R / G and B / G values. The light source type is discriminated based on the distribution in the / G, B / G color space. Then, according to the white balance adjustment value suitable for the determined light source type, for example, the value of each ratio is approximately 1 (that is, the RGB integration ratio is R: G: B≈1: 1: 1 in one screen). Then, a gain value (white balance correction value) for the R, G, and B signals of the white balance adjustment circuit is determined.

AF検出部154は、CPU110からの指令に従って、入力された画像信号からAF制御に必要な物理量を算出する。本実施の形態のデジタルカメラ10では、画像のコントラストによりAF制御を行うものとし、AF検出部154は、入力された画像信号から画像の鮮鋭度を示す焦点評価値を算出する。CPU110は、このAF検出部154で算出される焦点評価値が極大となる位置にフォーカスレンズを移動させる。すなわち、至近から無限遠までフォーカスレンズを移動させ、全域で焦点評価値を取得し、焦点評価値がピークとなる位置を検出する。そして、その焦点評価値がピークの位置にフォーカスレンズを移動させる。   The AF detection unit 154 calculates a physical quantity necessary for AF control from the input image signal in accordance with a command from the CPU 110. In the digital camera 10 of the present embodiment, AF control is performed based on the contrast of the image, and the AF detection unit 154 calculates a focus evaluation value indicating the sharpness of the image from the input image signal. The CPU 110 moves the focus lens to a position where the focus evaluation value calculated by the AF detection unit 154 is maximized. That is, the focus lens is moved from the closest distance to infinity, the focus evaluation value is acquired in the entire area, and the position where the focus evaluation value reaches a peak is detected. Then, the focus lens is moved to a position where the focus evaluation value is a peak.

ストロボ制御部156は、CPU110からの指令に従ってストロボ16の発光を制御する。   The strobe control unit 156 controls the light emission of the strobe 16 in accordance with a command from the CPU 110.

電源制御部158は、CPU110からの指令に従ってバッテリ160から各部への電力供給を制御する。   The power control unit 158 controls power supply from the battery 160 to each unit in accordance with a command from the CPU 110.

AF補助光発光制御部162は、CPU110からの指令に従ってAF補助光ランプ20の発光を制御する。AF補助光ランプ20は、たとえば、高輝度のLEDで構成される。   The AF auxiliary light emission control unit 162 controls the light emission of the AF auxiliary light lamp 20 in accordance with a command from the CPU 110. The AF auxiliary light lamp 20 is composed of, for example, a high-brightness LED.

本実施の形態のデジタルカメラ10は以上のように構成される。   The digital camera 10 of the present embodiment is configured as described above.

次に、本実施の形態のデジタルカメラ10による基本的な撮影、再生の処理について説明する。   Next, basic photographing and reproduction processing by the digital camera 10 of the present embodiment will be described.

まず、撮影時におけるデジタルカメラ10の基本的な処理動作について説明する。   First, a basic processing operation of the digital camera 10 at the time of shooting will be described.

電源ボタン26を押し、デジタルカメラ10の電源をONすると、撮像素子128で捉えた画像がモニタ28にスルー表示される。すなわち、デジタルカメラ10の電源をONすると、撮像素子128で連続的に画像が撮像され、その撮像素子128から連続的に得られた画像信号から画像信号処理部138で画像データが連続的に生成される。生成された画像データは、VRAM120を介して順次エンコーダ148に加えられ、エンコーダ148からモニタ28に出力される。これにより、撮像素子128で捉えた画像がモニタ28にスルー表示される。撮影者は、このモニタ28に表示されたスルー画像を見ながら必要に応じてズームボタン30を操作し、構図を決定する。そして、構図が決まったところで、シャッタボタン22を半押しする。   When the power button 26 is pressed and the digital camera 10 is turned on, an image captured by the image sensor 128 is displayed on the monitor 28 as a through display. That is, when the digital camera 10 is turned on, images are continuously picked up by the image pickup device 128, and image data is continuously generated by the image signal processing unit 138 from image signals obtained continuously from the image pickup device 128. Is done. The generated image data is sequentially added to the encoder 148 via the VRAM 120 and output from the encoder 148 to the monitor 28. As a result, the image captured by the image sensor 128 is displayed through on the monitor 28. The photographer determines the composition by operating the zoom button 30 as necessary while viewing the through image displayed on the monitor 28. When the composition is determined, the shutter button 22 is half-pressed.

シャッタボタン22が半押しされると、CPU110にS1ON信号が入力される。CPU110は、このS1ON信号に応動して、AE、AF、AWBの各処理を実行する。   When the shutter button 22 is half-pressed, an S1 ON signal is input to the CPU 110. The CPU 110 executes AE, AF, and AWB processes in response to the S1 ON signal.

まず、撮像素子128から出力された画像信号をアナログ信号処理部132、A/Dコンバータ134、画像入力コントローラ136を介して取り込み、AE/AWB検出部152及びAF検出部154に加える。   First, an image signal output from the image sensor 128 is captured via the analog signal processing unit 132, the A / D converter 134, and the image input controller 136, and is added to the AE / AWB detection unit 152 and the AF detection unit 154.

AE/AWB検出部152は、入力された画像信号からAE制御及びAWB制御に必要な物理量を算出し、CPU110に出力する。CPU110は、このAE/AWB検出部152からの出力に基づき、絞り値とシャッタースピードを決定するとともに、ホワイトバランス補正値を決定する。   The AE / AWB detection unit 152 calculates a physical quantity necessary for AE control and AWB control from the input image signal, and outputs it to the CPU 110. Based on the output from the AE / AWB detection unit 152, the CPU 110 determines an aperture value and a shutter speed, and also determines a white balance correction value.

また、AF検出部154は、入力された画像信号からAF制御に必要な物理量を算出し、CPU110に出力する。CPU110は、このAF検出部154からの出力に基づき撮影光学系駆動部126の駆動を制御し、撮影レンズ14のピント調節を行う。すなわち、至近から無限遠までフォーカスレンズを移動させ、全域で焦点評価値を取得し、焦点評価値がピークとなる位置を検出する(AFスキャン)。そして、その焦点評価値がピークの位置にフォーカスレンズを移動させる。   Further, the AF detection unit 154 calculates a physical quantity necessary for AF control from the input image signal, and outputs it to the CPU 110. The CPU 110 controls the driving of the photographing optical system driving unit 126 based on the output from the AF detection unit 154 and adjusts the focus of the photographing lens 14. That is, the focus lens is moved from the close range to infinity, the focus evaluation value is acquired in the entire area, and the position where the focus evaluation value reaches a peak is detected (AF scan). Then, the focus lens is moved to a position where the focus evaluation value is a peak.

この際、被写体が暗いとき、すなわち、AE/AWB検出部152から得られる被写体輝度が所定の輝度値以下のとき、CPU100は、AF補助光ランプ20を発光させて、AFスキャンを行い、焦点評価値がピークの位置を検出する。なお、このAF補助光の発光については、後にさらに詳述する。   At this time, when the subject is dark, that is, when the subject brightness obtained from the AE / AWB detector 152 is equal to or lower than a predetermined brightness value, the CPU 100 causes the AF auxiliary light lamp 20 to emit light, performs AF scan, and performs focus evaluation. The value detects the position of the peak. The emission of the AF auxiliary light will be described in detail later.

撮影者は、モニタ28に表示されるスルー画像を確認し、撮影レンズ14のピント状態等を確認して撮影を実行する。すなわち、シャッタボタン22を全押しする。   The photographer confirms the through image displayed on the monitor 28, confirms the focus state of the photographing lens 14, and executes photographing. That is, the shutter button 22 is fully pressed.

シャッタボタン22が全押しされると、CPU110にS2ON信号が入力され、このS2ON信号に応動して、CPU110は画像の記録処理を実行する。   When the shutter button 22 is fully pressed, an S2ON signal is input to the CPU 110, and the CPU 110 executes an image recording process in response to the S2ON signal.

まず、上記のAE処理で求めた絞り値、シャッタースピードで撮像素子128を露光し、記録用の画像信号の取り込みを行う。この際、必要に応じてストロボ16が発光される。   First, the image sensor 128 is exposed with the aperture value and shutter speed obtained in the above AE process, and an image signal for recording is captured. At this time, the strobe 16 emits light as necessary.

撮像素子128から出力された一コマ分の画像信号は、アナログ信号処理部132、A/Dコンバータ134を介して画像入力コントローラ136に取り込まれ、RAM116に格納される。RAM116に格納された画像信号は、CPU110の制御の下、画像信号処理部138に加えられ、輝度データと色差データとからなる画像データ(YUVデータ)が生成される。生成された画像データは、一旦、RAM116に格納されたのち、圧縮伸張処理部140に加えられる。圧縮伸張処理部140は、入力された画像データを所定の圧縮フォーマットに従って圧縮する。   The image signal for one frame output from the image sensor 128 is taken into the image input controller 136 via the analog signal processing unit 132 and the A / D converter 134 and stored in the RAM 116. The image signal stored in the RAM 116 is added to the image signal processing unit 138 under the control of the CPU 110, and image data (YUV data) including luminance data and color difference data is generated. The generated image data is temporarily stored in the RAM 116 and then added to the compression / decompression processing unit 140. The compression / decompression processing unit 140 compresses the input image data according to a predetermined compression format.

圧縮された画像データは、RAM116に格納され、所定フォーマットの静止画像ファイル(たとえば、Exif)として、メディアコントローラ144を介してメモリカードMに記録される。   The compressed image data is stored in the RAM 116 and recorded on the memory card M via the media controller 144 as a still image file (for example, Exif) in a predetermined format.

なお、本実施の形態のデジタルカメラ10では、記録する画像のサイズ及び圧縮率を撮影者が任意に設定できるようにされている。この点については、のちに詳述する。   In the digital camera 10 of the present embodiment, the photographer can arbitrarily set the size and compression rate of the image to be recorded. This point will be described in detail later.

次に、再生時におけるデジタルカメラ10の基本的な処理動作について説明する。   Next, a basic processing operation of the digital camera 10 during reproduction will be described.

撮影済み画像の再生は、再生ボタン32を押すことにより行われる。再生ボタン32が押されると、CPU110は、メディアコントローラ144を介してメモリカードMに最後に記録された画像ファイルの圧縮画像データを読み出す。読み出された圧縮画像データは、圧縮伸張処理部140に加えられ、非圧縮の画像データとされたのちVRAM120に加えられる。そして、VRAM120からエンコーダ148を介してモニタ28に出力される。これにより、メモリカードMに記録されている画像がモニタ28に再生表示される。   The captured image is played back by pressing the playback button 32. When the play button 32 is pressed, the CPU 110 reads the compressed image data of the image file last recorded on the memory card M via the media controller 144. The read compressed image data is added to the compression / decompression processing unit 140, converted into uncompressed image data, and then added to the VRAM 120. Then, it is output from the VRAM 120 to the monitor 28 via the encoder 148. As a result, the image recorded on the memory card M is reproduced and displayed on the monitor 28.

画像のコマ送りは、十字ボタン36の左右のボタン操作で行なわれ、右ボタンが操作されると、次の画像がメモリカードMから読み出され、モニタ28に再生表示される。また、十字ボタン36の左ボタンが操作されると、一つ前の画像がメモリカードMから読み出され、モニタ28に再生表示される。   The frame advance of the image is performed by operating the left and right buttons of the cross button 36. When the right button is operated, the next image is read from the memory card M and reproduced and displayed on the monitor 28. When the left button of the cross button 36 is operated, the previous image is read from the memory card M and is reproduced and displayed on the monitor 28.

さて、上記のように、本実施の形態のデジタルカメラ10では、低輝度下においてもAFを可能にするため、被写体の輝度が所定の輝度値以下になると、AF補助光ランプ20から被写体に向けてAF補助光が発光される。   As described above, in the digital camera 10 according to the present embodiment, AF is possible even under low luminance. When the luminance of the subject falls below a predetermined luminance value, the AF auxiliary light lamp 20 is directed toward the subject. AF assist light is emitted.

しかし、人物撮影時に近距離からAF補助光が発光されると、被写体に違和感を与え、自然な表情の絵が撮れないという問題がある。   However, when AF assist light is emitted from a short distance when shooting a person, there is a problem that the subject is uncomfortable and a picture with a natural expression cannot be taken.

そこで、本実施の形態のデジタルカメラ10では、マクロ撮影時に人物の顔が検出されると、AF補助光の発光が禁止される。以下、このAF補助光の発光制御の手順について説明する。   Therefore, in the digital camera 10 according to the present embodiment, the emission of AF auxiliary light is prohibited when a human face is detected during macro photography. Hereinafter, the procedure of the emission control of the AF auxiliary light will be described.

図4は、AFサーチ時におけるAF補助光の発光制御の手順を示すフローチャートである。   FIG. 4 is a flowchart showing a procedure of emission control of AF auxiliary light at the time of AF search.

シャッタボタン22が半押しされ、AFサーチの実行が指示されると、まず、CPU110は、デジタルカメラ10がマクロモードにされているか否か判定する(ステップS10)。なお、マクロモードの設定は、上述したように、十字ボタン36のボタン操作で行われる。すなわち、十字ボタン36の左ボタンを押すと、マクロモードがONになり、再度左ボタンを押すと、マクロモードがOFFになる。   When the shutter button 22 is pressed halfway and execution of AF search is instructed, first, the CPU 110 determines whether or not the digital camera 10 is in the macro mode (step S10). The macro mode is set by operating the cross button 36 as described above. That is, when the left button of the cross button 36 is pressed, the macro mode is turned on, and when the left button is pressed again, the macro mode is turned off.

CPU110は、操作部112からの入力に基づいてデジタルカメラ10がマクロモードにされているか否か判定する。   The CPU 110 determines whether or not the digital camera 10 is in the macro mode based on the input from the operation unit 112.

この判定の結果、マクロモードにされていると判定すると、CPU110は、撮像素子128で捉えた画像から顔画像が検出されたか否か判定する(ステップS11)。すなわち、撮像素子128から得た画像データを顔検出部142に加えて顔画像の検出処理を行い、その検出結果に基づいて顔画像が検出されたか否かを判定する。   If it is determined that the macro mode is set as a result of the determination, the CPU 110 determines whether or not a face image is detected from the image captured by the image sensor 128 (step S11). That is, the image data obtained from the image sensor 128 is added to the face detection unit 142 to perform face image detection processing, and it is determined whether a face image is detected based on the detection result.

この判定の結果、顔画像が検出されたと判定すると、CPU110は、AF補助光の発光をOFF(禁止)し(ステップS12)、AFサーチを実行する(ステップS13)。   If it is determined that the face image is detected as a result of the determination, the CPU 110 turns off (prohibits) the AF auxiliary light (step S12) and executes an AF search (step S13).

一方、顔画像が検出されていないと判定すると、CPU110は、被写体が低輝度か否かを判定する(ステップS14)。すなわち、AE/AWB検出部152から得られる被写体輝度と、ROM114に格納された所定の輝度値とを比較し、AE/AWB検出部152から得られる被写体輝度が所定の輝度値以下か否かを判定する。   On the other hand, when determining that the face image is not detected, the CPU 110 determines whether or not the subject has low luminance (step S14). That is, the subject luminance obtained from the AE / AWB detection unit 152 is compared with a predetermined luminance value stored in the ROM 114, and it is determined whether or not the subject luminance obtained from the AE / AWB detection unit 152 is equal to or lower than the predetermined luminance value. judge.

この判定の結果、低輝度(被写体輝度が所定の輝度値以下)であると判定すると、CPU110は、AF補助光発光制御部162を介してAF補助光ランプ20を発光させ(ステップS15)、AFサーチを実行する(ステップS16)。   If it is determined that the brightness is low (the subject brightness is equal to or less than a predetermined brightness value), the CPU 110 causes the AF auxiliary light lamp 20 to emit light via the AF auxiliary light emission control unit 162 (step S15). A search is executed (step S16).

なお、マクロモードに設定されていない場合には、通常どおり被写体輝度が所定の輝度値以下になると、AF補助光を発光させて、AFサーチを実行する。   If the macro mode is not set, the AF auxiliary light is emitted and the AF search is executed when the subject luminance falls below a predetermined luminance value as usual.

このように、本実施の形態のデジタルカメラ10では、マクロモードに設定された場合、撮影しようとする画像に人物の顔画像が含まれていると、AF補助光の発光が禁止される。これにより、被写体の近くで撮影する場合に不用意にAF補助光が発光されて、被写体に違和感を与えるのを防止でき、自然な表情の画像を撮影することができる。   As described above, in the digital camera 10 according to the present embodiment, when the macro mode is set, if a face image of a person is included in the image to be photographed, the AF auxiliary light emission is prohibited. Thereby, when shooting near the subject, the AF auxiliary light is inadvertently emitted to prevent the subject from feeling uncomfortable, and an image with a natural expression can be taken.

なお、上記実施の形態では、マクロモードで人物の顔が検出されると、AF補助光の発光を完全に停止しているが、検出された人物の顔画像が画面全体に占める割合(顔支配率)に応じて発光量を調整するようにしてもよい。すなわち、顔支配率が小さい場合は、カメラが被写体から離れていると考えられるので、比較的大きい発光量でAF補助光を発光させ、AFサーチを行う。一方、顔支配率が大きい場合は、カメラが被写体に近いと考えられるので、比較的小さい発光量でAF補助光を発光、あるいは、発光を停止して、AFサーチを行う。すなわち、顔支配率に比例させて発光量を変える。これにより、人物に違和感を与えずに、撮影することができる。   In the above embodiment, when a human face is detected in the macro mode, the AF auxiliary light emission is completely stopped, but the ratio of the detected human face image to the entire screen (face control) The light emission amount may be adjusted according to the rate. That is, when the face dominance rate is small, it is considered that the camera is away from the subject, so AF auxiliary light is emitted with a relatively large light emission amount and AF search is performed. On the other hand, when the face dominance rate is large, it is considered that the camera is close to the subject. Therefore, the AF auxiliary light is emitted with a relatively small light emission amount, or the light emission is stopped, and the AF search is performed. That is, the light emission amount is changed in proportion to the face control rate. Thereby, it is possible to take a picture without giving the person a sense of incongruity.

なお、ズームレンズを用いたデジタルカメラの場合、被写体までの距離が同じでも焦点距離(ズームポジション)によって顔支配率が変わるので、ズームポジションも考慮して、発光量を調整することが好ましい。   Note that in the case of a digital camera using a zoom lens, even if the distance to the subject is the same, the face dominance rate varies depending on the focal length (zoom position). Therefore, it is preferable to adjust the light emission amount in consideration of the zoom position.

また、上記実施の形態では、AFサーチを1回のみ行う場合(いわゆるワンショットAF)を例に説明したが、連続的にAFサーチを行う場合(いわゆるコンティニュアスAF)は、連続的に顔画像の検出を行い、その検出結果に基づいてAF補助光の発光を連続的に制御する。すなわち、顔が検出されている間はAF補助光の発光を停止し、顔が検出されなくなったら、AF補助光の発光を行う(ただし、低輝度時のみ)。   In the above embodiment, the case where the AF search is performed only once (so-called one-shot AF) has been described as an example. However, when the AF search is continuously performed (so-called continuous AF), the face is continuously detected. An image is detected, and the emission of AF auxiliary light is continuously controlled based on the detection result. That is, the emission of the AF auxiliary light is stopped while the face is detected, and when the face is no longer detected, the AF auxiliary light is emitted (only when the brightness is low).

また、顔が検出された場合には、図5に示すように、スルー画像に重ねて枠を表示し、その枠で検出された顔を囲って表示することが好ましい。これにより、顔が検出されたことが撮影者に明確になる。   Further, when a face is detected, it is preferable to display a frame so as to overlap the through image and surround the face detected by the frame as shown in FIG. This makes it clear to the photographer that the face has been detected.

さて、上記の実施の形態では、マクロモードに設定された場合にのみAF補助光の発光が制御されるが、マクロ撮影以外でも比較的被写体の近くで撮影する場合はある。   In the embodiment described above, the emission of the AF auxiliary light is controlled only when the macro mode is set. However, there are cases where shooting is performed relatively close to the subject other than the macro shooting.

そこで、マクロモードの設定に関わらず、AF補助光の発光を制御する場合について、次に説明する。   Therefore, a case where the emission of AF auxiliary light is controlled regardless of the macro mode setting will be described next.

本実施の形態では、撮影画像中に人物の顔が含まれている場合において、その人物の顔が画面全体に占める割合(顔支配率)に応じてAF補助光の発光を制御する。すなわち、顔支配率が高いほど、被写体の近くで撮影していると想定されるので、顔支配率に応じてAF補助光の発光量を制御する。   In the present embodiment, when a person's face is included in the captured image, the emission of AF auxiliary light is controlled according to the ratio of the person's face to the entire screen (face control ratio). In other words, it is assumed that the higher the face control rate is, the closer the subject is to the image, so the amount of AF auxiliary light emitted is controlled according to the face control rate.

図6は、顔支配率に応じてAF補助光の発光を制御する場合のAF補助光の発光制御の手順を示すフローチャートである。   FIG. 6 is a flowchart showing a procedure for controlling the emission of AF auxiliary light when the emission of AF auxiliary light is controlled in accordance with the face dominance rate.

シャッタボタン22が半押しされ、AFサーチの実行が指示されると、まず、CPU110は、被写体が低輝度か否かを判定する(ステップS20)。すなわち、AE/AWB検出部152から得られる被写体輝度が所定の輝度値以下か否かを判定する。   When the shutter button 22 is pressed halfway and execution of AF search is instructed, the CPU 110 first determines whether or not the subject has low luminance (step S20). That is, it is determined whether or not the subject brightness obtained from the AE / AWB detection unit 152 is equal to or less than a predetermined brightness value.

この判定の結果、低輝度ではないと判定すると、CPU110は、AF補助光ランプ20の出力を0%、すなわち、AF補助光を発光させずに(ステップS21)、AFサーチを実行する(ステップS22)。   If the CPU 110 determines that the brightness is not low as a result of this determination, the CPU 110 outputs 0% of the AF auxiliary light lamp 20, that is, does not emit AF auxiliary light (step S21), and executes an AF search (step S22). ).

一方、低輝度であると判定すると、CPU110は、撮像素子128で捉えた画像から顔画像が検出されたか否か判定する(ステップS23)。すなわち、撮像素子128から得た画像データを顔検出部142に加えて顔画像の検出処理を行い、その検出結果に基づいて顔画像が検出されたか否かを判定する。   On the other hand, when determining that the brightness is low, the CPU 110 determines whether or not a face image is detected from the image captured by the image sensor 128 (step S23). That is, the image data obtained from the image sensor 128 is added to the face detection unit 142 to perform face image detection processing, and it is determined whether a face image is detected based on the detection result.

この判定の結果、顔画像が検出されていないと判定すると、CPU110は、AF補助光ランプ20の出力を100%に設定してAF補助光を発光(フル発光)発光させ(ステップS24)、AFサーチを実行する(ステップS22)。   If it is determined that the face image is not detected as a result of the determination, the CPU 110 sets the output of the AF auxiliary light lamp 20 to 100% and emits AF auxiliary light (full light emission) (step S24). A search is executed (step S22).

一方、顔画像が検出されたと判定すると、CPU110は、顔検出部142からの出力に基づいて顔支配率を算出し、その顔支配率が10%以下か否か判定する(ステップS25)。そして、顔支配率が10%以下と判定すると、ROM114に格納されたルックアップテーブル(LUT)に基づいてAF補助光ランプ20の出力を90%に設定し、設定された出力でAF補助光ランプ20を発光させて(ステップS26)、AFサーチを実行する(ステップS22)。すなわち、この場合、比較的被写体から離れていると判断して、強いAF補助光を発光させて、AFサーチを実行する。   On the other hand, if it is determined that a face image has been detected, CPU 110 calculates a face dominance rate based on the output from face detection unit 142, and determines whether the face dominance rate is 10% or less (step S25). If the face dominating rate is determined to be 10% or less, the output of the AF auxiliary light lamp 20 is set to 90% based on a lookup table (LUT) stored in the ROM 114, and the AF auxiliary light lamp is set at the set output. 20 is emitted (step S26), and AF search is executed (step S22). That is, in this case, it is determined that the subject is relatively far from the subject, and strong AF auxiliary light is emitted to perform AF search.

一方、顔支配率が10%以下でないと判定すると、CPU110は、顔支配率が20%以下か否か判定する(ステップS27)。そして、顔支配率が20%以下と判定すると、CPU110は、LUTに基づきAF補助光ランプ20の出力を75%に設定し、設定された出力でAF補助光ランプ20を発光させて(ステップS28)、AFサーチを実行する(ステップS22)。すなわち、この場合も比較的被写体から離れていると判断して、比較的強いAF補助光を発光させて、AFサーチを実行する。   On the other hand, when determining that the face dominance rate is not 10% or less, the CPU 110 determines whether or not the face dominance rate is 20% or less (step S27). If it is determined that the face control rate is 20% or less, the CPU 110 sets the output of the AF auxiliary light lamp 20 to 75% based on the LUT, and causes the AF auxiliary light lamp 20 to emit light with the set output (step S28). ), AF search is executed (step S22). That is, also in this case, it is determined that the subject is relatively far from the subject, relatively strong AF auxiliary light is emitted, and AF search is executed.

一方、顔支配率が20%以下でないと判定すると、CPU110は、顔支配率が40%以下か否か判定する(ステップS29)。そして、顔支配率が40%以下と判定すると、CPU110は、LUTに基づきAF補助光ランプ20の出力を55%に設定し、設定した出力でAF補助光ランプ20を発光させて(ステップS30)、AFサーチを実行する(ステップS22)。すなわち、この場合、やや被写体から離れていると判断して、ほぼ半分の発光量でAF補助光を発光させて、AFサーチを実行する。   On the other hand, when determining that the face dominance rate is not 20% or less, the CPU 110 determines whether or not the face dominance rate is 40% or less (step S29). If it is determined that the face control rate is 40% or less, the CPU 110 sets the output of the AF auxiliary light lamp 20 to 55% based on the LUT, and causes the AF auxiliary light lamp 20 to emit light with the set output (step S30). An AF search is executed (step S22). That is, in this case, it is determined that the subject is slightly away from the subject, and the AF auxiliary light is emitted with approximately half the light emission amount, and the AF search is executed.

一方、顔支配率が40%以下でないと判定すると、CPU110は、顔支配率が60%以下か否か判定する(ステップS31)。そして、顔支配率が60%以下と判定すると、CPU110は、LUTに基づきAF補助光ランプ20の出力を30%に設定し、設定した出力でAF補助光ランプ20を発光させて(ステップS32)、AFサーチを実行する(ステップS22)。すなわち、この場合、やや被写体に近いと判断して、やや弱いAF補助光を発光させて、AFサーチを実行する。   On the other hand, when determining that the face dominance rate is not 40% or less, the CPU 110 determines whether or not the face dominance rate is 60% or less (step S31). If it is determined that the face control rate is 60% or less, the CPU 110 sets the output of the AF auxiliary light lamp 20 to 30% based on the LUT, and causes the AF auxiliary light lamp 20 to emit light with the set output (step S32). An AF search is executed (step S22). That is, in this case, it is determined that the subject is slightly close to the subject, and the AF search is executed by emitting slightly weak AF auxiliary light.

一方、顔支配率が60%以下でないと判定すると、CPU110は、LUTに基づきAF補助光ランプ20の出力を20%に設定し、設定した出力でAF補助光ランプ20を発光させて(ステップS33)、AFサーチを実行する(ステップS22)。すなわち、この場合、被写体に近いと判断して、弱いAF補助光を発光させて、AFサーチを実行する。   On the other hand, when determining that the face dominating rate is not 60% or less, the CPU 110 sets the output of the AF auxiliary light lamp 20 to 20% based on the LUT, and causes the AF auxiliary light lamp 20 to emit light with the set output (step S33). ), AF search is executed (step S22). That is, in this case, it is determined that the object is close to the subject, weak AF auxiliary light is emitted, and AF search is executed.

このように、顔支配率から被写体までの距離を予測して、AF補助光の発光量を制御することにより、被写体の近くで強いAF補助光が発光されて、被写体に違和感を与えるのを防止できる。また、被写体が離れている場合には、的確にAF補助光を発光させて、正確にピント合せを行うことができる。   In this way, by predicting the distance from the face control rate to the subject and controlling the amount of AF auxiliary light emitted, strong AF auxiliary light is emitted near the subject to prevent the subject from feeling uncomfortable. it can. In addition, when the subject is far away, the AF auxiliary light can be accurately emitted to perform accurate focusing.

なお、複数の人物の顔が検出された場合には、顔が最も大きく写されている人物を特定し、その人物の顔画像の支配率を用いてAF補助光ランプ20の出力を決定するものとする。   When a plurality of human faces are detected, the person whose face is most greatly photographed is specified, and the output of the AF auxiliary light lamp 20 is determined using the control ratio of the face images of the persons. And

ところで、ズームレンズの場合、被写体までの距離が同じであっても、焦点距離(ズームポジション)を変えると、顔支配率も変わってくるという問題がある。   By the way, in the case of a zoom lens, even if the distance to the subject is the same, there is a problem that if the focal length (zoom position) is changed, the face dominance rate also changes.

そこで、ズームレンズを用いた場合は、次のように、ズームポジションと顔支配率とに基づいてAF補助光の発光を制御する。   Therefore, when a zoom lens is used, the emission of AF auxiliary light is controlled based on the zoom position and the face dominance rate as follows.

図7は、ズームレンズを用いた場合のAF補助光の発光制御の手順を示すフローチャートである。   FIG. 7 is a flowchart showing a procedure of AF auxiliary light emission control when a zoom lens is used.

シャッタボタン22が半押しされ、AFサーチの実行が指示されると、まず、CPU110は、被写体が低輝度か否かを判定する(ステップS40)。すなわち、AE/AWB検出部152から得られる被写体輝度が所定の輝度値以下か否かを判定する。この判定の結果、低輝度ではないと判定すると、CPU110は、AF補助光を発光させずに、AFサーチを実行する(ステップS41)。   When the shutter button 22 is pressed halfway and execution of AF search is instructed, first, the CPU 110 determines whether or not the subject has low luminance (step S40). That is, it is determined whether or not the subject brightness obtained from the AE / AWB detection unit 152 is equal to or less than a predetermined brightness value. If it is determined that the brightness is not low as a result of the determination, the CPU 110 performs an AF search without emitting the AF auxiliary light (step S41).

一方、低輝度であると判定すると、CPU110は、撮像素子128で捉えた画像から顔画像が検出されたか否か判定する(ステップS42)。すなわち、撮像素子128から得た画像データを顔検出部142に加えて顔画像の検出処理を行い、その検出結果に基づいて顔画像が検出されたか否かを判定する。   On the other hand, when determining that the brightness is low, the CPU 110 determines whether or not a face image is detected from the image captured by the image sensor 128 (step S42). That is, the image data obtained from the image sensor 128 is added to the face detection unit 142 to perform face image detection processing, and it is determined whether a face image is detected based on the detection result.

この判定の結果、顔画像が検出されていないと判定すると、CPU110は、顔支配率をAに設定する(ステップS43)。   If it is determined that the face image is not detected as a result of the determination, the CPU 110 sets the face control rate to A (step S43).

一方、顔画像が検出されたと判定すると、CPU110は、顔検出部142からの出力に基づいて顔支配率を算出し、その顔支配率が10%以下か否か判定する(ステップS44)。そして、顔支配率が10%以下と判定すると、顔支配率をBに設定する(ステップS45)。   On the other hand, when determining that a face image has been detected, the CPU 110 calculates a face dominance rate based on the output from the face detection unit 142, and determines whether the face dominance rate is 10% or less (step S44). If it is determined that the face dominance rate is 10% or less, the face dominance rate is set to B (step S45).

また、顔支配率が10%以下でないと判定すると、CPU110は、顔支配率が20%以下か否か判定し(ステップS46)、顔支配率が20%以下と判定すると、顔支配率をCに設定する(ステップS47)。   If it is determined that the face control rate is not 10% or less, the CPU 110 determines whether or not the face control rate is 20% or less (step S46). (Step S47).

また、顔支配率が20%以下でないと判定すると、CPU110は、顔支配率が40%以下か否か判定し(ステップS48)、顔支配率が40%以下と判定すると、顔支配率をDに設定する(ステップS49)。   If it is determined that the face dominance rate is not 20% or less, the CPU 110 determines whether the face dominance rate is 40% or less (step S48). If the face dominance rate is determined to be 40% or less, the CPU 110 determines the face dominance rate as D. (Step S49).

また、顔支配率が40%以下でないと判定すると、CPU110は、顔支配率が60%以下か否か判定する(ステップ50)。そして、顔支配率が60%以下と判定すると、顔支配率をEに設定し(ステップS51)、顔支配率が60%以下でないと判定すると、CPU110は、顔支配率をFに設定する(ステップS52)。   If it is determined that the face dominance rate is not 40% or less, the CPU 110 determines whether or not the face dominance rate is 60% or less (step 50). When the face control rate is determined to be 60% or less, the face control rate is set to E (step S51), and when it is determined that the face control rate is not 60% or less, the CPU 110 sets the face control rate to F ( Step S52).

このように顔が検出された場合は、その顔が画面全体に占める割合(顔支配率)に応じてランク(A〜F)に設定する。そして、現在のズームポジション(Z1〜Z10)を判定する(ステップS53)。   When a face is detected in this way, the rank (A to F) is set according to the ratio of the face to the entire screen (face dominance rate). Then, the current zoom position (Z1 to Z10) is determined (step S53).

ここで、ズームポジションの判定は、現在設定されている焦点距離が、10分割された焦点距離域のどの領域に属するかを判定することにより行われる。たとえば、焦点距離が35mm換算で30mm〜330mmのズームレンズの場合、30〜60mmがZ1、61〜90mmがZ2、91〜120mmがZ3、121〜150mmがZ4、151〜180mmがZ5、181〜210mmがZ6、211〜240mmがZ7、241〜270mmがZ8、271〜300mmがZ9、301〜330mmがZ10に設定される。そして、現在の焦点距離の設定が、50mmの場合、ズームポジションはZ1に設定される。   Here, the determination of the zoom position is performed by determining to which region of the focal length range divided into 10 the currently set focal length belongs. For example, in the case of a zoom lens having a focal length of 30 mm to 330 mm in terms of 35 mm, 30 to 60 mm is Z1, 61 to 90 mm is Z2, 91 to 120 mm is Z3, 121 to 150 mm is Z4, 151 to 180 mm is Z5, 181 to 210 mm Is Z6, 211 to 240 mm is Z7, 241 to 270 mm is Z8, 271 to 300 mm is Z9, and 301 to 330 mm is Z10. When the current focal length setting is 50 mm, the zoom position is set to Z1.

このように、現在の焦点距離の設定に基づいてズームポジションを判定する(ステップS53)。そして、判定したズームポジションと顔支配率のランクとに基づいてAF補助光ランプ20の発光量を決定する(ステップS54)。   In this way, the zoom position is determined based on the current focal length setting (step S53). Then, the light emission amount of the AF auxiliary light lamp 20 is determined based on the determined zoom position and the rank of the face control rate (step S54).

ここで、このAF補助光20の発光量は、ROM114に格納されたルックアップテーブル(LUT)を参照して設定される。このLUTには、図8に示すように、顔支配率のランクごとにズームポジションに応じたAF補助光ランプの出力が設定されており、CPU110は、このLUTを参照してズームポジションと顔支配率のランクとからAF補助光ランプ20の発光量を決定する(ステップS54)。そして、設定した出力でAF補助光ランプ20を発光させ(ステップS55)、AFサーチを実行する(ステップS41)。   Here, the light emission amount of the AF auxiliary light 20 is set with reference to a lookup table (LUT) stored in the ROM 114. In this LUT, as shown in FIG. 8, the output of the AF auxiliary light lamp corresponding to the zoom position is set for each rank of the face dominance rate, and the CPU 110 refers to this LUT and the zoom position and the face dominance. The light emission amount of the AF auxiliary light lamp 20 is determined from the rank of the rate (step S54). Then, the AF auxiliary light lamp 20 is caused to emit light with the set output (step S55), and AF search is executed (step S41).

以上説明したように、本実施の形態のAF補助光の発光制御方法によれば、設定されている焦点距離及び顔支配率に応じてAF補助光の発光が制御されるため、撮影シチュエーションに応じて適切にAF補助光を発光させることができる。すなわち、近距離での人物撮影時には被写体に違和感を与えずに撮影でき、人物以外の撮影時には、低輝度下でも正確にピント合せを行うことができる。   As described above, according to the AF auxiliary light emission control method of the present embodiment, the AF auxiliary light emission is controlled in accordance with the set focal length and face dominance rate. Thus, the AF auxiliary light can be appropriately emitted. That is, when shooting a person at a short distance, it is possible to shoot without giving a sense of incongruity to the subject, and when shooting other than a person, it is possible to focus accurately even under low luminance.

なお、本実施の形態では、顔支配率のランクを6段階に分けているが、顔支配率のランクの分け方は、これに限定されるものではなく、さらに詳細又は簡略化して分けるようにしてもよい。同様にズームポジションの分類の仕方もさらに詳細に分類してもよいし、簡略化してもよい。   In the present embodiment, the rank of the face dominance rate is divided into six levels. However, the method of dividing the rank of the face dominance rate is not limited to this, and is divided in more detail or in a simplified manner. May be. Similarly, the zoom position classification method may be classified in more detail or may be simplified.

また、上記の実施の形態では、AF補助光の発光にLEDからなるAF補助光ランプを用いているが、AF補助光を発光させる手段は、これに限定されるものではない。たとえば、ストロボを用いてAF補助光を発光させる構成としてもよい。また、外付けした発光手段を発光させて、AF補助光に利用してもよい。   In the above-described embodiment, an AF auxiliary light lamp made of an LED is used to emit AF auxiliary light. However, the means for emitting AF auxiliary light is not limited to this. For example, it may be configured to emit AF auxiliary light using a strobe. Alternatively, an external light emitting unit may emit light and be used for AF auxiliary light.

また、本実施の形態では、本発明をデジタルカメラに適用した場合を例に説明したが、本発明の適用は、これに限定されるものではない。AF補助光の発光手段を備えた撮像装置全てに適用することができる。たとえば、AF補助光の発光機能を備えたカメラ付き携帯電話機やビデオカメラ等にも同様に適用することができる。   In this embodiment, the case where the present invention is applied to a digital camera has been described as an example. However, the application of the present invention is not limited to this. The present invention can be applied to all imaging apparatuses provided with AF auxiliary light emitting means. For example, the present invention can be similarly applied to a camera-equipped mobile phone, a video camera, and the like having a function of emitting AF auxiliary light.

デジタルカメラの正面斜視図Front perspective view of digital camera デジタルカメラの背面斜視図Rear perspective view of digital camera デジタルカメラの電気的構成を示すブロック図Block diagram showing the electrical configuration of the digital camera AFサーチ時におけるAF補助光の発光制御の手順を示すフローチャートFlowchart showing the procedure of emission control of AF auxiliary light during AF search 顔の検出枠の表示例を示す図The figure which shows the example of a display of the detection frame of a face 顔支配率に応じてAF補助光の発光を制御する場合のAF補助光の発光制御の手順を示すフローチャートThe flowchart which shows the procedure of the light emission control of AF auxiliary light in the case of controlling light emission of AF auxiliary light according to the face control rate ズームレンズを用いた場合のAF補助光の発光制御の手順を示すフローチャートFlowchart showing the procedure of AF auxiliary light emission control when using a zoom lens ルックアップテーブルの一例を示す図Diagram showing an example of a lookup table

符号の説明Explanation of symbols

10…デジタルカメラ、12…カメラボディ、14…撮影レンズ、16…ストロボ、20…AF補助光ランプ、22…シャッタボタン、24…電源/モードスイッチ、26…モードダイヤル、30…スピーカ、32…ファインダ接眼部、34…モニタ、36…ズームボタン、38…十字ボタン、40…MENU/OKボタン、42…DISPボタン、44…BACKボタン、46…バッテリカバー、110…CPU、112…操作部、114…ROM、116…RAM、118…EEPROM、120…VRAM、122…時計/カレンダ部、124…撮影光学系、126…撮影光学系駆動部、128…撮像素子、130…タイミングジェネレータ、132…アナログ信号処理部、134…A/Dコンバータ、136…画像入力コントローラ、138…画像信号処理部、140…圧縮伸張処理部、142…顔検出部、144…メディアコントローラ、M…メモリカード、146…USBコントローラ、147…USB端子、148…エンコーダ、150…OSD部、152…AE/AWB検出部、154…AF検出部、156…ストロボ制御部、158…電源制御部、160…バッテリ   DESCRIPTION OF SYMBOLS 10 ... Digital camera, 12 ... Camera body, 14 ... Shooting lens, 16 ... Strobe, 20 ... AF auxiliary light lamp, 22 ... Shutter button, 24 ... Power / mode switch, 26 ... Mode dial, 30 ... Speaker, 32 ... Viewfinder Eyepiece, 34 ... Monitor, 36 ... Zoom button, 38 ... Cross button, 40 ... MENU / OK button, 42 ... DISP button, 44 ... BACK button, 46 ... Battery cover, 110 ... CPU, 112 ... Operation unit, 114 ... ROM, 116 ... RAM, 118 ... EEPROM, 120 ... VRAM, 122 ... clock / calendar unit, 124 ... imaging optical system, 126 ... imaging optical system drive unit, 128 ... imaging device, 130 ... timing generator, 132 ... analog signal Processing unit 134... A / D converter, 136... Image input controller DESCRIPTION OF SYMBOLS 138 ... Image signal processing part, 140 ... Compression / decompression processing part, 142 ... Face detection part, 144 ... Media controller, M ... Memory card, 146 ... USB controller, 147 ... USB terminal, 148 ... Encoder, 150 ... OSD part, 152 ... AE / AWB detection unit, 154 ... AF detection unit, 156 ... Strobe control unit, 158 ... Power supply control unit, 160 ... Battery

Claims (5)

撮影レンズを通した光を撮像素子で受け、該撮像素子から得られる画像信号に所要の信号処理を施して記憶メディアに記録する撮像装置において、
被写体の輝度を検出する手段と、
オートフォーカス動作時に被写体に向けて補助光を発光する補助光発光手段と、
マクロ撮影が可能なマクロモードに設定するモード設定手段と、
前記撮像素子から得られる画像信号を解析して人物の顔を検出する顔検出手段と、
所定の輝度値以下の低輝度時に前記補助光発光手段から補助光が発光されるように制御する制御手段であって、前記マクロモード設定時に前記顔検出手段で人物の顔が検出された場合は、前記補助光発光手段からの補助光の発光を停止する制御手段と、
を備えたことを特徴とする撮像装置。
In an imaging device that receives light passing through a photographing lens by an imaging device, performs necessary signal processing on an image signal obtained from the imaging device, and records it on a storage medium.
Means for detecting the brightness of the subject;
Auxiliary light emitting means for emitting auxiliary light toward the subject during autofocus operation;
Mode setting means for setting to a macro mode capable of macro shooting;
A face detection means for detecting a human face by analyzing an image signal obtained from the image sensor;
A control for controlling means so auxiliary light from the auxiliary light emitting means when a predetermined luminance value or lower intensity is emitted, if the face of a person is detected in the face detecting means to the macro mode is set Control means for stopping emission of auxiliary light from the auxiliary light emitting means;
An imaging apparatus comprising:
撮影レンズを通した光を撮像素子で受け、該撮像素子から得られる画像信号に所要の信号処理を施して記憶メディアに記録する撮像装置において、
被写体の輝度を検出する手段と、
オートフォーカス動作時に被写体に向けて補助光を発光する補助光発光手段と、
前記撮像素子から得られる画像信号を解析して人物の顔を抽出する顔抽出手段と、
前記顔抽出手段で抽出された顔が画面に占める割合を顔支配率として算出する手段と、
所定の輝度値以下の低輝度時に前記補助光発光手段から補助光が発光されるように制御する制御手段であって、前記顔支配率が大きくなるに従って前記補助光発光手段から発光する補助光の光量が小さくなるように、前記顔支配率に応じて前記補助光発光手段から発光する補助光の光量を制御する制御手段と、
を備えたことを特徴とする撮像装置。
In an imaging device that receives light passing through a photographing lens by an imaging device, performs necessary signal processing on an image signal obtained from the imaging device, and records it on a storage medium.
Means for detecting the brightness of the subject;
Auxiliary light emitting means for emitting auxiliary light toward the subject during autofocus operation;
A face extraction means for analyzing an image signal obtained from the image sensor and extracting a person's face;
Means for calculating a ratio of the face extracted by the face extraction means on the screen as a face dominance rate;
Control means for controlling the auxiliary light emitting means to emit auxiliary light when the luminance is lower than a predetermined luminance value, wherein the auxiliary light emitting means emits light from the auxiliary light emitting means as the face dominance rate increases. Control means for controlling the amount of auxiliary light emitted from the auxiliary light emitting means according to the face control rate so that the amount of light is reduced ;
An imaging apparatus comprising:
前記顔支配率を算出する手段は、前記顔抽出手段で複数の人物の顔が検出された場合、顔が最も大きく写されている人物を特定し、該人物の顔支配率を算出することを特徴とする請求項2に記載の撮像装置。The means for calculating the face dominance rate, when a plurality of human faces are detected by the face extraction means, specifies a person whose face is most greatly photographed, and calculates the face dominance rate of the person The imaging apparatus according to claim 2, characterized in that: 前記顔支配率に応じた前記補助光発光手段の出力の設定が定められたルックアップテーブルであって、前記顔支配率が小さくなるほど前記補助光発光手段の出力の設定が大きくなるように定められたルックアップテーブルを備え、前記制御手段は、算出された前記顔支配率から前記ルックアップテーブルに基づいて、前記補助光発光手段の出力を決定し、前記補助光発光手段から発光する補助光の光量を制御することを特徴とする請求項2又は3に記載の撮像装置。A look-up table in which the setting of the output of the auxiliary light emitting means according to the face dominating rate is determined, and the setting of the output of the auxiliary light emitting means is increased as the face dominating rate decreases. The control means determines an output of the auxiliary light emitting means based on the look-up table from the calculated face dominance rate, and outputs auxiliary light emitted from the auxiliary light emitting means. The imaging apparatus according to claim 2, wherein the amount of light is controlled. ズームレンズで構成される撮影レンズを通した光を撮像素子で受け、該撮像素子から得られる画像信号に所要の信号処理を施して記憶メディアに記録する撮像装置において、In an imaging device that receives light passing through a photographing lens constituted by a zoom lens by an imaging device, performs necessary signal processing on an image signal obtained from the imaging device, and records the image signal on a storage medium.
被写体の輝度を検出する手段と、Means for detecting the brightness of the subject;
オートフォーカス動作時に被写体に向けて補助光を発光する補助光発光手段と、Auxiliary light emitting means for emitting auxiliary light toward the subject during autofocus operation;
前記撮像素子から得られる画像信号を解析して人物の顔を抽出する顔抽出手段と、A face extraction means for analyzing an image signal obtained from the image sensor and extracting a person's face;
前記顔抽出手段で抽出された顔が画面に占める割合を顔支配率として算出する手段と、Means for calculating a ratio of the face extracted by the face extraction means on the screen as a face dominance rate;
あらかじめ設定された顔支配率の分類に従って、算出された前記顔支配率のランクを決定する手段と、Means for determining a rank of the calculated face dominance rate according to a preset classification of the face dominance rate;
あらかじめ設定されたズームポジションの分類に従って、現在設定されている前記撮影レンズのズームポジションを判定する手段と、Means for determining the currently set zoom position of the taking lens according to a preset zoom position classification;
前記顔支配率のランクと前記ズームポジションとに応じた前記補助光発光手段の出力の設定が定められたルックアップテーブルであって、前記顔支配率が小さくなるほど前記補助光発光手段の出力の設定が大きくなり、前記撮影レンズの焦点距離が長くなるほど前記補助光発光手段の出力の設定が大きくなるように定められたルックアップテーブルと、A look-up table in which the setting of the output of the auxiliary light emitting unit is determined according to the rank of the face control rate and the zoom position, and the setting of the output of the auxiliary light emitting unit as the face control rate decreases A look-up table determined so that the setting of the output of the auxiliary light emitting means increases as the focal length of the photographic lens increases.
所定の輝度値以下の低輝度時に前記補助光発光手段から補助光が発光されるように制御する制御手段であって、前記顔支配率と前記ズームポジションとから前記ルックアップテーブルに基づいて、前記補助光発光手段の出力を決定し、前記補助光発光手段から発光する補助光の光量を制御する制御手段と、Control means for controlling the auxiliary light emitting means to emit auxiliary light at a low luminance of a predetermined luminance value or less, and based on the look-up table from the face dominance rate and the zoom position, Control means for determining the output of the auxiliary light emitting means and controlling the amount of auxiliary light emitted from the auxiliary light emitting means;
を備えたことを特徴とする撮像装置。An imaging apparatus comprising:
JP2005304747A 2005-10-19 2005-10-19 Imaging device Expired - Fee Related JP4761039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005304747A JP4761039B2 (en) 2005-10-19 2005-10-19 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005304747A JP4761039B2 (en) 2005-10-19 2005-10-19 Imaging device

Publications (2)

Publication Number Publication Date
JP2007114411A JP2007114411A (en) 2007-05-10
JP4761039B2 true JP4761039B2 (en) 2011-08-31

Family

ID=38096677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005304747A Expired - Fee Related JP4761039B2 (en) 2005-10-19 2005-10-19 Imaging device

Country Status (1)

Country Link
JP (1) JP4761039B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8717490B2 (en) 2009-06-19 2014-05-06 Casio Computer Co., Ltd Imaging apparatus, focusing method, and computer-readable recording medium recording program
JP4985716B2 (en) * 2009-06-19 2012-07-25 カシオ計算機株式会社 Imaging apparatus, method for setting focus evaluation area, and program
JP2011158696A (en) * 2010-02-01 2011-08-18 Panasonic Corp Imaging device and mobile apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07199039A (en) * 1994-01-10 1995-08-04 Minolta Co Ltd Af camera
JPH1164938A (en) * 1997-08-20 1999-03-05 Nikon Corp Af auxiliary light illuminator, electronic flashing device and camera incorporating the same
JP4870887B2 (en) * 2001-09-28 2012-02-08 株式会社リコー Imaging apparatus, strobe control method, and program for computer to execute the method
JP2005223660A (en) * 2004-02-06 2005-08-18 Nikon Gijutsu Kobo:Kk Digital camera

Also Published As

Publication number Publication date
JP2007114411A (en) 2007-05-10

Similar Documents

Publication Publication Date Title
US7706674B2 (en) Device and method for controlling flash
JP4644883B2 (en) Imaging device
JP4904108B2 (en) Imaging apparatus and image display control method
US8106995B2 (en) Image-taking method and apparatus
JP4432054B2 (en) Imaging apparatus and method
JP4135100B2 (en) Imaging device
JP4787180B2 (en) Imaging apparatus and imaging method
JP4730553B2 (en) Imaging apparatus and exposure control method
JP2007324877A (en) Imaging device
JP2007311861A (en) Photographic apparatus and method
JP2007178576A (en) Imaging apparatus and program therefor
JP6325841B2 (en) Imaging apparatus, imaging method, and program
JP5048614B2 (en) Imaging apparatus and method
JP4697549B2 (en) Image capturing apparatus and face detection method thereof
JP2010239277A (en) Imaging device and imaging method
JP2007235640A (en) Photographing device and method
JP2008298847A (en) Photographing method and digital camera
JP4761039B2 (en) Imaging device
JP2010141609A (en) Imaging apparatus
JP4964992B2 (en) Image capturing apparatus and image recording method thereof
JP2008035243A (en) Imaging device
JP2007110221A (en) Imaging apparatus
JP2009139423A (en) Imaging apparatus and subject distance calculating method
JP4897577B2 (en) Imaging device
JP5208295B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070122

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110310

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110511

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

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

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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