JP2007281647A - Electronic camera and image processing apparatus - Google Patents

Electronic camera and image processing apparatus Download PDF

Info

Publication number
JP2007281647A
JP2007281647A JP2006102783A JP2006102783A JP2007281647A JP 2007281647 A JP2007281647 A JP 2007281647A JP 2006102783 A JP2006102783 A JP 2006102783A JP 2006102783 A JP2006102783 A JP 2006102783A JP 2007281647 A JP2007281647 A JP 2007281647A
Authority
JP
Japan
Prior art keywords
face
electronic camera
state
image
unit
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.)
Withdrawn
Application number
JP2006102783A
Other languages
Japanese (ja)
Inventor
Hirotake Nozaki
弘剛 野崎
Akira Omura
晃 大村
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2006102783A priority Critical patent/JP2007281647A/en
Publication of JP2007281647A publication Critical patent/JP2007281647A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus or the like whereby unique operations can easily be executed at face detection without losing the operability or the like when no face is detected. <P>SOLUTION: The electronic camera includes: an imaging element; a face detection section; an operation section; a monitor; and a control section. The imaging element photographs an object image. The face detection section detects a face region in a photographed image on the basis of an output of the imaging element. The operation section includes a plurality of switches for accepting entries by a user. The monitor can display a menu image whereby various settings of the electronic camera are executed. The control section switches between a first state wherein the face detection section detects a face region and a second state when the face detection section detects no face region for at least one of user interfaces being the operation section and the menu image. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、人物の顔検出機能を備えた電子カメラおよび画像処理装置に関する。   The present invention relates to an electronic camera and an image processing apparatus having a human face detection function.

従来から、例えば特許文献1に示すように、撮影画面内から被写体の顔を検出して合焦制御(AF)を行うカメラが公知である。
特開2005−86682号公報
2. Description of the Related Art Conventionally, as shown in Patent Document 1, for example, a camera that performs focus control (AF) by detecting a face of a subject from a shooting screen is known.
JP 2005-86682 A

ところで、電子カメラのユーザーインターフェースは、ユーザーの直感的な操作を可能とするために、操作釦の数やメニュー画面の項目などをできるだけ簡易に構成することが好ましい。したがって、顔検出機能を備えた電子カメラでは、顔検出を行わない場合の操作性などを損なうことなく、顔検出時には固有の操作を容易に行うことができるユーザーインターフェースが要望されている。   By the way, it is preferable that the user interface of the electronic camera is configured as simply as possible with the number of operation buttons, items on the menu screen, and the like in order to enable intuitive operation by the user. Therefore, an electronic camera having a face detection function is desired to have a user interface that can easily perform a specific operation at the time of face detection without impairing operability when face detection is not performed.

本発明は上記従来技術の課題を解決するためのものであって、その目的は、顔検出を行わない場合の操作性などを損なうことなく、顔検出時には固有の操作を容易に行うことができる電子カメラなどを提供することである。   The present invention is intended to solve the above-described problems of the prior art, and its purpose is to easily perform unique operations during face detection without impairing operability when face detection is not performed. It is to provide electronic cameras.

第1の発明に係る電子カメラは、撮像素子と、顔検出部と、操作部と、モニタと、制御部とを備える。撮像素子は、被写体像を撮影する。顔検出部は、撮像素子の出力に基づいて撮影画面内の顔領域を検出する。操作部は、ユーザーの入力を受け付ける複数のスイッチを有する。モニタは、電子カメラの各種設定を行うメニュー画面を表示できる。制御部は、操作部およびメニュー画面の少なくとも一方のユーザーインターフェースについて、顔検出部が顔領域を検出した場合の第1状態と顔検出部が顔領域を検出していない場合の第2状態との切替を行う。   An electronic camera according to a first invention includes an image sensor, a face detection unit, an operation unit, a monitor, and a control unit. The image sensor captures a subject image. The face detection unit detects a face area in the shooting screen based on the output of the image sensor. The operation unit includes a plurality of switches that accept user input. The monitor can display a menu screen for performing various settings of the electronic camera. The control unit includes a first state when the face detection unit detects a face area and a second state when the face detection unit does not detect the face area for at least one user interface of the operation unit and the menu screen. Switch.

第2の発明に係る電子カメラは、撮像素子と、顔検出部と、操作部と、モニタと、制御部とを備える。撮像素子は、被写体像を撮影する。顔検出部は、撮像素子の出力に基づいて撮影画面内の顔領域を検出する。操作部は、ユーザーの入力を受け付ける複数のスイッチを有する。モニタは、電子カメラの各種設定を行うメニュー画面を表示できる。制御部は、操作部およびメニュー画面の少なくとも一方のユーザーインターフェースについて、顔検出処理を実行する顔検出撮影モードに対応する第1状態と他の撮影モードに対応する第2状態との切り替えを行う。   An electronic camera according to a second invention includes an image sensor, a face detection unit, an operation unit, a monitor, and a control unit. The image sensor captures a subject image. The face detection unit detects a face area in the shooting screen based on the output of the image sensor. The operation unit includes a plurality of switches that accept user input. The monitor can display a menu screen for performing various settings of the electronic camera. The control unit switches between a first state corresponding to the face detection photographing mode for executing the face detection process and a second state corresponding to another photographing mode for at least one user interface of the operation unit and the menu screen.

第3の発明は、第1または第2の発明において、制御部は、操作部の第1スイッチに割り当てる操作を第1状態と第2状態とで切り替える。
第4の発明は、第3の発明において、第1スイッチは、レリーズ釦の近傍に配置されている。
第5の発明は、第3の発明において、レリーズ釦が配置された把持部を有し、把持部以外の位置に撮影光学系が配置される筐体をさらに備える。そして、第1スイッチは、筐体の把持部の対応位置に配置されている。
According to a third invention, in the first or second invention, the control unit switches an operation assigned to the first switch of the operation unit between the first state and the second state.
In a fourth aspect based on the third aspect, the first switch is disposed in the vicinity of the release button.
According to a fifth aspect of the present invention, in the third aspect of the present invention, the electronic device further includes a housing having a grip portion in which the release button is disposed and in which the photographing optical system is disposed at a position other than the grip portion. And the 1st switch is arrange | positioned in the corresponding position of the holding part of a housing | casing.

第6の発明は、第3の発明において、第1スイッチは、モニタのレリーズ釦寄りの側部に配置されている。
第7の発明は、第3の発明において、第1スイッチは、メニュー画面での操作で項目の決定を示す入力を受け付ける釦である。
第8の発明は、第3の発明において、モニタは、撮像素子から得た表示画像を撮影待機時に動画表示する。制御部は、第1状態での第1スイッチの入力に応じて、撮影画面の全体を示す第1の表示画像と、顔領域を拡大して示す第2の表示画像との表示を切り替える。
In a sixth aspect based on the third aspect, the first switch is disposed on the side of the monitor near the release button.
In a seventh aspect based on the third aspect, the first switch is a button for receiving an input indicating determination of an item by an operation on the menu screen.
In an eighth aspect based on the third aspect, the monitor displays a display image obtained from the imaging device as a moving image during shooting standby. The control unit switches between the display of the first display image showing the entire photographing screen and the second display image showing the enlarged face area in response to the input of the first switch in the first state.

第9の発明は、第3の発明において、顔領域に対応する焦点検出エリアを指定して合焦制御を実行する合焦制御部をさらに備える。そして、制御部は、第1状態での第1スイッチの入力に応じて、焦点検出エリアに指定される顔領域を変更する。
第10の発明は、第3の発明において、撮像素子の出力に基づいて顔領域に対応する人物の顔の特徴点を抽出し、撮影された人物の顔認識データを生成する顔認識データ生成部をさらに備える。そして、制御部は、第1状態での第1スイッチの入力に応じて、顔認識データを生成する顔領域を変更する。
In a ninth aspect based on the third aspect, the apparatus further includes a focus control unit that performs focus control by designating a focus detection area corresponding to the face area. And a control part changes the face area designated as a focus detection area according to the input of the 1st switch in the 1st state.
According to a tenth aspect, in the third aspect, a face recognition data generation unit that extracts feature points of a person's face corresponding to the face area based on an output of the image sensor and generates face recognition data of the photographed person Is further provided. And a control part changes the face area | region which produces | generates face recognition data according to the input of the 1st switch in a 1st state.

第11の発明は、第3の発明において、操作部は、第1状態において顔領域での合焦状態を調節するための入力を受け付ける第2スイッチをさらに備える。
第12の発明は、第1または第2の発明において、制御部は、メニュー画面でユーザーに提示される項目を第1状態と第2状態とで変化させる。
第13の発明は、第12の発明において、制御部は、人物の顔認識処理に関する項目を第1状態と第2状態とで変化させる。
In an eleventh aspect based on the third aspect, the operation unit further includes a second switch for receiving an input for adjusting the in-focus state in the face area in the first state.
In a twelfth aspect based on the first or second aspect, the control unit changes an item presented to the user on the menu screen between the first state and the second state.
In a thirteenth aspect based on the twelfth aspect, the control unit changes an item related to the human face recognition process between the first state and the second state.

第14の発明は、第12の発明において、制御部は、人物を対象とした画像処理に関する項目を第1状態と第2状態とで変化させる。
第15の発明に係る画像処理装置は、データ読込部と、顔検出部と、表示制御部と、制御部と、を備える。データ読込部は、電子カメラによって生成された撮影画像のデータを含む画像ファイルを読み込む。顔検出部は、撮影画像から顔領域を検出する。表示制御部は、画像処理装置の各種設定を行うメニュー画面の表示出力を行う。制御部は、メニュー画面のユーザーインターフェースについて、顔検出部が顔領域を検出した場合の第1状態と顔検出部が顔領域を検出していない場合の第2状態との切替を行う。
In a fourteenth aspect based on the twelfth aspect, the control unit changes an item related to image processing for a person between the first state and the second state.
An image processing apparatus according to a fifteenth aspect includes a data reading unit, a face detection unit, a display control unit, and a control unit. The data reading unit reads an image file including captured image data generated by the electronic camera. The face detection unit detects a face area from the captured image. The display control unit performs display output of a menu screen for performing various settings of the image processing apparatus. The control unit switches the user interface of the menu screen between a first state when the face detection unit detects a face area and a second state when the face detection unit does not detect the face area.

第16の発明に係る画像処理装置は、データ読込部と、表示制御部と、制御部と、を備える。データ読込部は画像ファイルを読み込む。画像ファイルは、電子カメラによって生成された撮影画像のデータと、撮影画像における顔領域を示す付属データとが関連付けされている。表示制御部は、画像処理装置の各種設定を行うメニュー画面の表示出力を行う。制御部は、付属データに基づいて撮影画像における顔領域の有無を判定するとともに、メニュー画面のユーザーインターフェースについて、顔領域がある場合の第1状態と顔領域がない場合の第2状態との切替を行う。   An image processing apparatus according to a sixteenth aspect includes a data reading unit, a display control unit, and a control unit. The data reading unit reads an image file. In the image file, data of a captured image generated by the electronic camera is associated with attached data indicating a face area in the captured image. The display control unit performs display output of a menu screen for performing various settings of the image processing apparatus. The control unit determines the presence or absence of a face area in the captured image based on the attached data, and switches between a first state when the face area is present and a second state when the face area is not present on the user interface of the menu screen I do.

第17の発明は、第15または第16の発明において、制御部は、メニュー画面でユーザーに提示される項目を第1状態と第2状態とで変化させる。
なお、上記第15または第16の発明に関する構成を方法、記録媒体、コンピュータプログラムなどに変換して表現したものも本発明の具体的態様として有効である。
In a seventeenth aspect based on the fifteenth or sixteenth aspect, the control unit changes an item presented to the user on the menu screen between the first state and the second state.
It should be noted that what is expressed by converting the configuration relating to the fifteenth or sixteenth invention into a method, a recording medium, a computer program, or the like is also effective as a specific aspect of the present invention.

本発明によれば、制御部のユーザーインターフェースの切り替えによって、顔検出を行わない場合の操作性などを損なうことなく、顔検出時には固有の操作を容易に行うことが可能となる。   According to the present invention, by switching the user interface of the control unit, it is possible to easily perform a specific operation at the time of face detection without impairing operability when face detection is not performed.

以下、本実施形態の電子カメラの説明を行う。図1は本実施形態の電子カメラの内部構成を示すブロック図である。
電子カメラは、撮影レンズ11と、レンズ駆動部12と、絞り13と、絞り駆動部14と、撮像素子15と、アナログ処理部16と、A/D変換部17と、タイミングジェネレータ(TG)18と、第1メモリ19と、画像処理部20と、記録I/F21と、表示I/F22と、モニタ23と、操作部24と、通信部25と、外部I/F26と、CPU27と、第2メモリ28と、システムバス29とを有している。上記の構成部品は筐体10に格納されている。なお、第1メモリ19、画像処理部20、記録I/F21、表示I/F22、通信部25、外部I/F26およびCPU27はシステムバス29を介して接続されている。
Hereinafter, the electronic camera of this embodiment will be described. FIG. 1 is a block diagram showing the internal configuration of the electronic camera of this embodiment.
The electronic camera includes a photographing lens 11, a lens driving unit 12, a diaphragm 13, a diaphragm driving unit 14, an image sensor 15, an analog processing unit 16, an A / D conversion unit 17, and a timing generator (TG) 18. The first memory 19, the image processing unit 20, the recording I / F 21, the display I / F 22, the monitor 23, the operation unit 24, the communication unit 25, the external I / F 26, the CPU 27, 2 has a memory 28 and a system bus 29. The above components are stored in the housing 10. The first memory 19, the image processing unit 20, the recording I / F 21, the display I / F 22, the communication unit 25, the external I / F 26, and the CPU 27 are connected via a system bus 29.

撮影レンズ11は、ズームレンズと、合焦位置調節用のフォーカスレンズとを含む複数のレンズ群で構成されている。撮影レンズ11を構成する各々のレンズは、レンズ駆動部12によって光軸方向に移動する。また、レンズ駆動部12は、撮影レンズ11の光軸方向位置を検出するエンコーダ(不図示)を備えている。なお、レンズ駆動部12の入出力はCPU27と接続されている。   The photographing lens 11 is composed of a plurality of lens groups including a zoom lens and a focus lens for adjusting a focus position. Each lens constituting the photographing lens 11 is moved in the optical axis direction by the lens driving unit 12. Further, the lens driving unit 12 includes an encoder (not shown) that detects the position of the photographing lens 11 in the optical axis direction. The input / output of the lens driving unit 12 is connected to the CPU 27.

絞り13は、撮影レンズ11からの入射光量を調節する。絞り13の開口量は、絞り駆動部14によって調整される。なお、絞り駆動部14の入出力はCPU27と接続されている。
撮像素子15は、撮影レンズ11を通過した光束を光電変換して被写体像のアナログ画像信号を生成する。被写体の撮影を行う撮影モードでは、撮像素子15は、撮影時に記録用の撮影画像を撮影するとともに、撮影待機時にも所定間隔毎に間引き読み出しでスルー画像を出力する。上記のスルー画像のデータは、CPU27による各種の演算処理やモニタ23での表示などに使用される。
The diaphragm 13 adjusts the amount of incident light from the photographic lens 11. The aperture amount of the diaphragm 13 is adjusted by the diaphragm drive unit 14. The input / output of the aperture driving unit 14 is connected to the CPU 27.
The image sensor 15 photoelectrically converts the light beam that has passed through the photographing lens 11 to generate an analog image signal of the subject image. In the photographing mode for photographing a subject, the image sensor 15 captures a recording image for recording at the time of shooting, and outputs a through image by thinning out at predetermined intervals even during standby for shooting. The through image data is used for various arithmetic processes by the CPU 27 and display on the monitor 23.

アナログ処理部16は、撮像素子15の出力に対してアナログ信号処理を施すアナログフロントエンド回路である。このアナログ処理部16はCDS回路やゲイン回路を内部に有している。アナログ処理部16のCDS回路は、相関二重サンプリングによって撮像素子15の出力のノイズ成分を低減する。アナログ処理部16のゲイン回路は、CPU27の指示に基づいて入力信号の利得を増幅する。上記のゲイン回路では、ISO感度に相当する撮像感度の調整を行うことができる。   The analog processing unit 16 is an analog front end circuit that performs analog signal processing on the output of the image sensor 15. The analog processing unit 16 has a CDS circuit and a gain circuit inside. The CDS circuit of the analog processing unit 16 reduces the noise component of the output of the image sensor 15 by correlated double sampling. The gain circuit of the analog processing unit 16 amplifies the gain of the input signal based on an instruction from the CPU 27. In the gain circuit described above, the imaging sensitivity corresponding to the ISO sensitivity can be adjusted.

A/D変換部17は、アナログ処理部16から出力されたアナログの画像信号にA/D変換を行う。このA/D変換部17の出力は第1メモリ19に接続されている。
TG18は、CPU27の指示に基づいて、撮像素子15、アナログ処理部16およびA/D変換部17に対してタイミングパルスを供給する。撮像素子15、アナログ処理部およびA/D変換部17の駆動タイミングは、TG18のタイミングパルスによって制御される。
The A / D conversion unit 17 performs A / D conversion on the analog image signal output from the analog processing unit 16. The output of the A / D converter 17 is connected to the first memory 19.
The TG 18 supplies timing pulses to the image sensor 15, the analog processing unit 16, and the A / D conversion unit 17 based on instructions from the CPU 27. The drive timing of the image sensor 15, the analog processing unit and the A / D conversion unit 17 is controlled by the timing pulse of the TG 18.

第1メモリ19は、後述の画像処理の前工程や後工程などで画像のデータを一時的に記録するためのバッファメモリである。
画像処理部20は、上記の撮影モードにおいて撮影時のデジタル画像信号に各種の画像処理を施して撮影画像を生成する。また、画像処理部20は撮影画像のデータをJPEG形式で圧縮する。さらに、画像処理部20は、上記の撮影モードにおいて、CPU27の指示によりスルー画像の画像信号から表示用画像(ビュー画像)を生成する。
The first memory 19 is a buffer memory for temporarily recording image data in the pre-process and post-process of image processing described later.
The image processing unit 20 performs various kinds of image processing on the digital image signal at the time of shooting in the above shooting mode to generate a shot image. The image processing unit 20 compresses the captured image data in the JPEG format. Furthermore, the image processing unit 20 generates a display image (view image) from the image signal of the through image according to an instruction from the CPU 27 in the above-described shooting mode.

一方、撮影画像の再生などを行う編集モードでは、画像処理部20は、圧縮された撮影画像のデータを伸長復元する処理を実行する。また、画像処理部20は、上記の編集モードにおいて、撮影画像のデータに画像処理を施すことも可能である。なお、画像処理部20による画像処理の具体的な内容は後述する。
記録I/F21には記録媒体30を接続するためのコネクタが形成されている。そして、記録I/F21は、コネクタに接続された記録媒体30に対して撮影画像データの書き込み/読み込みを実行する。上記の記録媒体30は、ハードディスクや半導体メモリを内蔵したメモリカードなどで構成される。なお、図1では記録媒体30の一例としてメモリカードを図示する。
On the other hand, in an edit mode in which a captured image is reproduced, the image processing unit 20 executes a process of decompressing and restoring the compressed captured image data. The image processing unit 20 can also perform image processing on captured image data in the editing mode. The specific contents of the image processing by the image processing unit 20 will be described later.
A connector for connecting the recording medium 30 is formed on the recording I / F 21. The recording I / F 21 executes writing / reading of the captured image data with respect to the recording medium 30 connected to the connector. The recording medium 30 includes a hard disk, a memory card incorporating a semiconductor memory, or the like. In FIG. 1, a memory card is illustrated as an example of the recording medium 30.

表示I/F22は、CPU27の指示に基づいてモニタ23の表示を制御する。また、表示I/F22は、外部に画像出力を行うための映像端子を有している。そのため、本実施形態の電子カメラでは、表示I/F22の映像端子を介して、外部の表示装置(テレビなど)に再生画像を表示させることも可能である。
モニタ23は、CPU27および表示I/F22の指示に応じて各種画像を表示する。本実施形態でのモニタ23は液晶モニタで構成されている。このモニタ23には、撮影モードでの撮影待機時にビュー画像が動画表示される。また、モニタ23は、オンスクリーン機能によって、撮影に必要となる各種情報の表示(例えば、撮影可能なフレーム数、焦点検出エリアの位置、後述の顔検出処理で検出された顔領域の枠表示など)をビュー画像に重畳表示させることもできる。さらに、モニタ23には、撮影画像のデータに基づく再生画像や、GUI(Graphical User Interface)形式の入力が可能なメニュー画面なども表示できる。
The display I / F 22 controls display on the monitor 23 based on an instruction from the CPU 27. The display I / F 22 has a video terminal for outputting an image to the outside. Therefore, in the electronic camera of the present embodiment, it is possible to display a reproduced image on an external display device (such as a television) via the video terminal of the display I / F 22.
The monitor 23 displays various images in accordance with instructions from the CPU 27 and the display I / F 22. The monitor 23 in this embodiment is a liquid crystal monitor. The monitor 23 displays a moving image of the view image during shooting standby in the shooting mode. The monitor 23 displays various information necessary for shooting (for example, the number of frames that can be shot, the position of the focus detection area, the frame display of the face area detected by the face detection process described later, etc.) by the on-screen function. ) Can be superimposed on the view image. Further, the monitor 23 can display a reproduced image based on the captured image data, a menu screen that allows input in a GUI (Graphical User Interface) format, and the like.

操作部24は、ユーザーの操作を受け付ける複数のスイッチを有している。具体的に本実施形態の操作部24は、レリーズ釦40と、モードダイヤル41と、ズームスイッチ42と、メニュー釦43と、再生釦44と、削除釦45と、モニタ釦46と、多機能操作釦47と有している。なお、操作部24の個々のスイッチの説明は後述する。
通信部25は、無線LANの標準規格IEEE802.11に規定された仕様に準拠して、外部装置との通信を制御する。例えば、撮影画像のデータを外部装置に送信する場合、通信部25は撮影画像のデータを無線通信可能なデータに変換するとともに、変換後のデータを外部装置に送信する。
The operation unit 24 has a plurality of switches that accept user operations. Specifically, the operation unit 24 of the present embodiment includes a release button 40, a mode dial 41, a zoom switch 42, a menu button 43, a playback button 44, a delete button 45, a monitor button 46, and a multi-function operation. It has button 47. In addition, description of each switch of the operation part 24 is mentioned later.
The communication unit 25 controls communication with an external device in accordance with a specification defined in the wireless LAN standard IEEE 802.11. For example, when transmitting captured image data to an external device, the communication unit 25 converts the captured image data into data that can be wirelessly communicated, and transmits the converted data to the external device.

外部I/F26は、USB(Universal Serial Bus)などのシリアル通信規格の接続端子を有している。そして、外部I/F26は、接続端子を介して接続されたコンピュータなどとのデータ送受信を上記の通信規格に準拠して制御する。
CPU27は、不図示のROMに格納されたシーケンスプログラムに従って、電子カメラの各部動作を制御するとともに、撮影などに必要となる各種演算を実行する。また、CPU27は、操作部24の各スイッチへの操作の割り当てやメニュー画面での項目などのユーザーインターフェースの管理を行う。さらに、本実施形態のCPU27は、AF制御部31、顔検出部32、顔認識部33として機能する。
The external I / F 26 has a connection terminal of a serial communication standard such as USB (Universal Serial Bus). The external I / F 26 controls data transmission / reception with a computer or the like connected via the connection terminal in accordance with the communication standard.
The CPU 27 controls the operation of each part of the electronic camera according to a sequence program stored in a ROM (not shown) and executes various calculations necessary for photographing. In addition, the CPU 27 performs management of user interfaces such as assignment of operations to each switch of the operation unit 24 and items on the menu screen. Further, the CPU 27 of this embodiment functions as an AF control unit 31, a face detection unit 32, and a face recognition unit 33.

AF制御部31は、フォーカスレンズの駆動制御や、スルー画像のデータに基づくコントラスト検出方式での公知のAF演算などを実行する。また、AF制御部31は、レンズ駆動部12から合焦時のフォーカスレンズの位置を取得し、撮影画面内の各々の被写体の被写体距離を演算することもできる。
顔検出部32は、スルー画像または撮影画像のデータから特徴点を抽出して被写体の顔領域、顔の大きさ等を検出する。例えば、顔検出部32は、特開2001−16573号公報などに記載された特徴点抽出処理によって顔領域を抽出する。また、上記の特徴点としては、例えば、眉、目、鼻、唇の各端点、顔の輪郭点、頭頂点や顎の下端点などが挙げられる。なお、顔検出部32では、犬、猫、鳥などの動物の顔を検出対象とすることもできる。
The AF control unit 31 performs drive control of the focus lens, a known AF calculation in a contrast detection method based on through image data, and the like. The AF control unit 31 can also acquire the position of the focus lens at the time of focusing from the lens driving unit 12 and calculate the subject distance of each subject in the shooting screen.
The face detection unit 32 extracts feature points from the data of the through image or the photographed image, and detects the face area of the subject, the size of the face and the like. For example, the face detection unit 32 extracts a face region by a feature point extraction process described in Japanese Patent Laid-Open No. 2001-16573. Examples of the feature points include eyebrow, eye, nose, and lip end points, face contour points, head vertices, and chin lower end points. Note that the face detection unit 32 can also detect the faces of animals such as dogs, cats, and birds.

顔認識部33は、顔検出部32で検出した特徴点に基づいて顔認識データを生成する。例えば、顔認識部33は、検出した顔の特徴点の位置、特徴点から求まる顔パーツの大きさ、各特徴点の相対距離などから認識対象となる登録人物の顔認識データを生成する。
また、顔認識部33は、撮影画面内の人物の顔が顔認識データの人物の顔か否かを判定する顔認識処理を行う。具体的には、まず顔認識部33は検出された顔の特徴点に基づいて、撮影人物の顔の特徴点の位置、各顔パーツの大きさ、各特徴点の相対距離などを演算する。次に顔認識部33は、上記の演算結果と顔認識データとを比較して、顔認識データの人物の顔と撮影人物の顔との相似度を求める。そして、顔認識部33は上記の相似度が閾値を上回る場合に撮影人物が顔認識データの人物に合致すると判定する。なお、CPU27は、顔認識部33の顔認識結果に基づいて、後述の主要被写体の指定を実行する。
The face recognition unit 33 generates face recognition data based on the feature points detected by the face detection unit 32. For example, the face recognition unit 33 generates face recognition data of a registered person to be recognized from the position of the detected feature point of the face, the size of the face part obtained from the feature point, the relative distance of each feature point, and the like.
Further, the face recognition unit 33 performs face recognition processing for determining whether or not the face of the person in the shooting screen is the face of the person in the face recognition data. Specifically, first, the face recognition unit 33 calculates the position of the feature point of the photographed person's face, the size of each face part, the relative distance of each feature point, and the like based on the detected feature points of the face. Next, the face recognition unit 33 compares the above calculation result with the face recognition data, and obtains the similarity between the face of the person in the face recognition data and the face of the photographed person. Then, the face recognition unit 33 determines that the photographed person matches the person in the face recognition data when the similarity is above the threshold. Note that the CPU 27 executes designation of a main subject, which will be described later, based on the face recognition result of the face recognition unit 33.

第2メモリ28はCPU27と接続されている。第2メモリ28には、顔認識部33で生成された顔認識データが記録される。この第2メモリ28には登録した人物(登録人物)ごとにグループフォルダを生成することができ、グループフォルダによって顔認識データを登録人物ごとにグループ化できる。例えば、グループフォルダには、同一の登録人物に関して、顔の向きや撮影条件などが異なる複数の顔認識データを記録することができる。   The second memory 28 is connected to the CPU 27. In the second memory 28, face recognition data generated by the face recognition unit 33 is recorded. In the second memory 28, a group folder can be generated for each registered person (registered person), and face recognition data can be grouped for each registered person by the group folder. For example, in the group folder, a plurality of face recognition data with different face orientations, shooting conditions, etc. can be recorded for the same registered person.

次に、図2、図3を参照しつつ本実施形態の電子カメラの外観を説明する。図2は、本実施形態の電子カメラの正面側外観図である。図3は、本実施形態の電子カメラの背面側外観図である。本実施形態では、筐体正面からみて筐体10の右側部分に撮影レンズ11と光学ファインダ34とが配置されている。また、筐体正面からみて筐体10の左側部分が把持部をなしている。そのため、電子カメラの把持部に添えられるユーザーの掌や指は、撮影レンズ11の邪魔となることはない。   Next, the external appearance of the electronic camera of the present embodiment will be described with reference to FIGS. FIG. 2 is an external view of the front side of the electronic camera of the present embodiment. FIG. 3 is an external view of the back side of the electronic camera of this embodiment. In the present embodiment, the photographing lens 11 and the optical viewfinder 34 are arranged on the right side of the housing 10 when viewed from the front of the housing. In addition, the left side portion of the housing 10 forms a grip portion when viewed from the front of the housing. Therefore, the user's palm and fingers attached to the grip portion of the electronic camera do not interfere with the photographing lens 11.

筐体10の上面には、レリーズ釦40およびモードダイヤル41が配置されている。レリーズ釦40は、露光動作開始の指示入力をユーザーから受け付ける。このレリーズ釦40は、筐体正面からみて把持部をなす左側面寄りに配置されている。モードダイヤル41は、撮影モードの切替入力をユーザーから受け付ける。
図3に示すように、筐体10の背面には、モニタ23と、光学ファインダ34の接眼部と、ズームスイッチ42と、メニュー釦43と、再生釦44と、削除釦45と、モニタ釦46と、多機能操作釦47とが配置されている。モニタ23は図3の左側(筐体正面を基準とすると右側)に寄せて配置されている。また、図3においてモニタの右側(把持部側)には、ズームスイッチ42と、メニュー釦43と、再生釦44と、削除釦45と、モニタ釦46と、多機能操作釦47とが集中的に配置されている。これらのスイッチはレリーズ釦40の近傍に配置されているので、把持部を支える手で簡単に片手操作できるようになっている。
A release button 40 and a mode dial 41 are disposed on the upper surface of the housing 10. The release button 40 receives an instruction input for starting an exposure operation from the user. The release button 40 is disposed near the left side surface that forms the grip portion when viewed from the front of the housing. The mode dial 41 receives a shooting mode switching input from the user.
As shown in FIG. 3, on the rear surface of the housing 10, a monitor 23, an eyepiece part of the optical finder 34, a zoom switch 42, a menu button 43, a playback button 44, a delete button 45, a monitor button 46 and a multi-function operation button 47 are arranged. The monitor 23 is arranged close to the left side of FIG. 3 (right side with respect to the front of the casing). In FIG. 3, the zoom switch 42, the menu button 43, the playback button 44, the delete button 45, the monitor button 46, and the multi-function operation button 47 are concentrated on the right side (grip part side) of the monitor. Is arranged. Since these switches are arranged in the vicinity of the release button 40, they can be easily operated with one hand by a hand supporting the gripping portion.

ここで、多機能操作釦47は、本体部47aと、決定釦47bと、ダイヤル部47cとを有している。本体部47aの全体形状は円形に形成されており、上下左右の4方向に傾斜可能に構成されている。決定釦47bは、多機能操作釦47の中央に配置されている。ダイヤル部47cは全体形状が環状に形成されており、決定釦47bの外周において回動可能に構成されている。   Here, the multi-function operation button 47 has a main body portion 47a, an enter button 47b, and a dial portion 47c. The overall shape of the main body 47a is circular, and is configured to be tiltable in four directions, up, down, left, and right. The decision button 47 b is arranged at the center of the multi-function operation button 47. The dial portion 47c is formed in an annular shape as a whole, and is configured to be rotatable on the outer periphery of the decision button 47b.

以下、本実施形態の電子カメラによる撮影動作を説明する。電子カメラで撮影を行う場合には、ユーザーはモードダイヤル41でCPU27に対して撮影モード(例えば、通常の撮影モード、ボートレート撮影モードなど)を指定する。
ユーザーがモードダイヤル41で撮影モードを選択すると、CPU27は撮像素子15を駆動させてスルー画像の取得を開始する。撮像素子15は所定間隔毎に間引き読み出しでスルー画像の画像信号を取得する。画像処理部20はスルー画像のデータに基づいてビュー画像を逐次生成する。そして、撮影モードにおいて、撮影待機時のモニタ23にはビュー画像が動画表示される。したがって、ユーザーはモニタ23のビュー画像によって、撮影構図を決定するためのフレーミングを行うことができる。
Hereinafter, the photographing operation by the electronic camera of this embodiment will be described. When shooting with the electronic camera, the user designates a shooting mode (for example, a normal shooting mode, a boat rate shooting mode, etc.) to the CPU 27 with the mode dial 41.
When the user selects a shooting mode with the mode dial 41, the CPU 27 drives the image pickup device 15 to start acquiring a through image. The imaging element 15 acquires an image signal of a through image by thinning out reading at predetermined intervals. The image processing unit 20 sequentially generates view images based on through-image data. In the shooting mode, the view image is displayed as a moving image on the monitor 23 during standby for shooting. Therefore, the user can perform framing for determining the shooting composition based on the view image on the monitor 23.

ここで、顔検出を行わない標準状態では、ユーザーは操作部の各スイッチによって以下の操作を行うことができる。なお、操作部の各スイッチへの操作の割り当てはCPU27によって管理されている。
ズームスイッチ42は、撮影時において画像の倍率を光学的または電子的に拡大/縮小する操作をユーザーから受け付ける。メニュー釦43は、モニタ23にメニュー画面を立ち上げる操作をユーザーから受け付ける。また、標準状態におけるメニュー画面の一例を図4に示す。メニュー画面での表示および入力の処理は、いずれもCPU27がシーケンスプログラムに基づいて実行する。このメニュー画面では、ユーザーは多機能操作釦47の本体部47aまたはダイヤル部47cでメニュー画面上の項目を選択するとともに、項目の決定を示す入力を決定釦47bで行うことができる。このメニュー画面では、顔認識機能のオン/オフの設定を行うこともできる。
Here, in a standard state in which face detection is not performed, the user can perform the following operations using the switches of the operation unit. The assignment of operations to each switch of the operation unit is managed by the CPU 27.
The zoom switch 42 receives an operation for enlarging / reducing the magnification of the image optically or electronically from the user at the time of shooting. The menu button 43 receives an operation for starting a menu screen on the monitor 23 from the user. An example of the menu screen in the standard state is shown in FIG. Both the display and input processing on the menu screen are executed by the CPU 27 based on the sequence program. On this menu screen, the user can select an item on the menu screen with the main body 47a or the dial 47c of the multi-function operation button 47, and can make an input indicating the determination of the item with the determination button 47b. On this menu screen, the face recognition function can be turned on / off.

再生釦44は、モニタ23に撮影画像を再生表示するための操作をユーザーから受け付ける。削除釦45は、モニタ23に撮影画像が再生表示された状態において、表示中の撮影画像のデータを消去する操作をユーザーから受け付ける。モニタ釦46は、モニタ23の点灯状態と消灯状態とを切り替える操作をユーザーから受け付ける。
多機能操作釦47の本体部47aはユーザーから4種類の操作を受け付ける。本体部47aを上方向へ押圧すると、不図示のフラッシュの設定(自動発光、発光禁止、赤目軽減発光など)をCPU27に対して行うことができる。本体部47aを右方向へ押圧すると、露出補正をCPU27に対して行うことができる。本体部47aを下方向へ押圧すると、マクロ撮影のオン/オフの設定をCPU27に対して行うことができる。本体部47aを左方向へ押圧すると、セルフタイマーのオン/オフの設定をCPU27に対して行うことができる。なお、上記の標準状態では、多機能操作釦47の決定釦47bおよびダイヤル部47cには撮影時(ビュー画像の表示)の操作は割り振られていない。
The reproduction button 44 receives an operation for reproducing and displaying the photographed image on the monitor 23 from the user. The delete button 45 accepts an operation for erasing data of the displayed captured image from the user in a state where the captured image is reproduced and displayed on the monitor 23. The monitor button 46 receives an operation for switching between a lighting state and a light-off state of the monitor 23 from the user.
The main body 47a of the multi-function operation button 47 accepts four types of operations from the user. When the main body 47a is pressed upward, flash settings (not shown) (automatic light emission, light emission inhibition, red-eye reduction light emission, etc.) can be performed on the CPU 27. When the main body 47a is pressed rightward, exposure correction can be performed on the CPU 27. When the main body 47a is pressed downward, the macro shooting can be turned on / off for the CPU 27. When the main body 47a is pressed leftward, the CPU 27 can be set to turn on / off the self-timer. Note that, in the standard state described above, the operation at the time of shooting (display of the view image) is not assigned to the enter button 47b of the multi-function operation button 47 and the dial unit 47c.

また、メニュー画面でユーザーが電子カメラの顔検出機能をオンに設定すると、CPU27は顔検出によるAFを実行する。以下、図5の流れ図を参照しつつ、顔検出機能がオンの場合の電子カメラの撮影動作を説明する。
ステップ101:CPU27の顔検出部32はスルー画像に基づいて撮影画面内の顔領域を検出する。
When the user turns on the face detection function of the electronic camera on the menu screen, the CPU 27 executes AF by face detection. Hereinafter, the photographing operation of the electronic camera when the face detection function is on will be described with reference to the flowchart of FIG.
Step 101: The face detection unit 32 of the CPU 27 detects a face area in the shooting screen based on the through image.

ステップ102:CPU27は、S101の顔検出処理で顔領域を検出したか否かを判定する。顔領域を検出した場合(YES側)には、CPU27は、制御プログラムにおける顔検出を示すフラグ(顔検出フラグ)をオンに設定してS103に移行する。一方、顔領域を検出していない場合(NO側)には、CPU27は顔検出フラグをオフに設定してS106に移行する。なお、後述のS104でユーザーインターフェースの設定が変更されていた場合には、CPU27はユーザーインターフェースを標準状態の設定に復帰させる。   Step 102: The CPU 27 determines whether or not a face area has been detected in the face detection process of S101. When the face area is detected (YES side), the CPU 27 sets a flag (face detection flag) indicating face detection in the control program to ON, and proceeds to S103. On the other hand, when the face area is not detected (NO side), the CPU 27 sets the face detection flag to OFF and proceeds to S106. If the user interface setting has been changed in S104 described later, the CPU 27 returns the user interface to the standard state setting.

ステップ103:CPU27は、ビュー画像上の顔領域の位置に矩形の枠を重畳させてモニタ23に表示する。
図6に顔検出時にモニタ23に表示されるビュー画像の一例を示す。図6の例では、CPU27は、モニタ23上のビュー画像において顔領域の位置に矩形の枠を重畳表示している。そして、CPU27は、矩形の枠の太さや色を変えるなどの手段によって、モニタ23上で焦点検出エリアに対応する顔領域を示している。これにより、ユーザーはビュー画像で顔検出の結果と、焦点検出の対象となっている顔領域とを確認することができる。
Step 103: The CPU 27 superimposes a rectangular frame on the position of the face area on the view image and displays it on the monitor 23.
FIG. 6 shows an example of a view image displayed on the monitor 23 when a face is detected. In the example of FIG. 6, the CPU 27 displays a rectangular frame superimposed on the position of the face area in the view image on the monitor 23. Then, the CPU 27 shows the face area corresponding to the focus detection area on the monitor 23 by means such as changing the thickness or color of the rectangular frame. Accordingly, the user can confirm the face detection result and the face area that is the focus detection target in the view image.

ステップ104:CPU27は、顔検出フラグのオンに伴って、操作部およびモニタのメニュー画面のユーザーインターフェースの設定を変更する。具体的には、CPU27は、以下の(1)および(2)の制御を実行する。
(1)CPU27は、顔検出時においる操作部24のスイッチの設定を標準状態の設定から一部変更する。本実施形態では、CPU27は、多機能操作釦47に割り当てる操作を変更する。
Step 104: The CPU 27 changes the settings of the user interface on the operation unit and the menu screen of the monitor as the face detection flag is turned on. Specifically, the CPU 27 executes the following controls (1) and (2).
(1) The CPU 27 partially changes the setting of the switch of the operation unit 24 at the time of face detection from the setting of the standard state. In the present embodiment, the CPU 27 changes the operation assigned to the multi-function operation button 47.

第1に、CPU27は多機能操作釦47の決定釦47bに対して、顔検出時におけるビュー画像の表示切替操作と、顔検出時における焦点検出対象の顔領域の変更操作とを割り当てる。例えば、撮影画面内に複数の顔領域が検出されている状態の例の図7を参照しつつ説明する。
顔検出時に決定釦47bが押圧されると、CPU27はビュー画像のうちで焦点検出エリアに対応する顔領域の部分をモニタ23に拡大表示する。このとき、CPU27は顔領域の全体を拡大表示してもよく、顔領域の目の部分のみを拡大表示してもよい。
First, the CPU 27 assigns to the determination button 47b of the multi-function operation button 47 a view image display switching operation at the time of face detection and a change operation of the focus detection target face area at the time of face detection. For example, a description will be given with reference to FIG. 7 showing an example of a state in which a plurality of face regions are detected in the shooting screen.
When the enter button 47b is pressed during face detection, the CPU 27 enlarges and displays on the monitor 23 the part of the face area corresponding to the focus detection area in the view image. At this time, the CPU 27 may enlarge and display the entire face area, or may enlarge and display only the eyes of the face area.

その後に決定釦47bが押圧されると、CPU27は再びビュー画像の全体をモニタ23に表示するとともに、焦点検出エリアに対応する顔領域を他の顔領域に変更する。勿論、検出されている顔領域が1つの場合には、CPU27は焦点検出エリアに対応する顔領域を変更することはない。
さらに決定釦47bが押圧されると、CPU27はビュー画像のうちで現在の焦点検出エリアに対応する顔領域の部分をモニタ23に拡大表示する。以後、決定釦47bが押圧される毎に、CPU27は上記の動作を繰り替えす。これにより、ユーザーは決定釦の押圧で焦点検出エリアの人物を容易に切り替えることができるとともに、被写体の顔の合焦状態を確認することができる。
When the determination button 47b is subsequently pressed, the CPU 27 displays the entire view image again on the monitor 23, and changes the face area corresponding to the focus detection area to another face area. Of course, when there is one detected face area, the CPU 27 does not change the face area corresponding to the focus detection area.
When the determination button 47b is further pressed, the CPU 27 enlarges and displays on the monitor 23 the portion of the face area corresponding to the current focus detection area in the view image. Thereafter, every time the enter button 47b is pressed, the CPU 27 repeats the above operation. Accordingly, the user can easily switch the person in the focus detection area by pressing the enter button, and can check the focused state of the face of the subject.

第2に、CPU27は多機能操作釦47のダイヤル部47cに対して、顔領域での合焦状態を調節する入力を割り当てる。例えば、CPU27はダイヤル部47cの回動に応じてフォーカスレンズの位置をマニュアルで移動させる。これにより、ユーザーは上記の顔領域の拡大表示を確認しながら、より確実に所望の顔にピントを合わせることができるようになる。   Second, the CPU 27 assigns an input for adjusting the in-focus state in the face area to the dial portion 47 c of the multi-function operation button 47. For example, the CPU 27 manually moves the position of the focus lens according to the rotation of the dial portion 47c. As a result, the user can more reliably focus on the desired face while confirming the enlarged display of the face area.

第3に、CPU27は顔検出時において本体部47aの下方向入力の操作内容を変更する。具体的には、顔検出時に本体部47aが下方向に入力されると、CPU27は検出された顔領域を対象として顔認識データを生成する。これにより、ユーザーは容易に第2メモリ28に顔認識データを登録することができる。
なお、CPU27は、顔検出機能がオンの場合にはマクロ撮影機能を常時オフに設定する。これは、マクロ撮影で顔を撮影すると顔の一部の撮影になり、顔の一部からは顔を検出することができないためである。したがって、本体部47aの下方向入力の内容を切り替えても特に問題が生じることはない。
Third, the CPU 27 changes the operation content of the downward input of the main body 47a at the time of face detection. Specifically, when the main body 47a is input downward during face detection, the CPU 27 generates face recognition data for the detected face area. Thereby, the user can easily register the face recognition data in the second memory 28.
Note that the CPU 27 always sets the macro shooting function to OFF when the face detection function is ON. This is because when a face is photographed by macro photography, a part of the face is photographed and the face cannot be detected from a part of the face. Therefore, there is no particular problem even if the content of the downward input of the main body 47a is switched.

(2)CPU27は、メニュー釦43の押圧で表示されるメニュー画面の項目を標準状態の設定から変化させる。例えば、CPU27は、人物の顔認識処理の項目や人物を対象とした画像処理の項目をメニュー画面に追加する。あるいは、CPU27は顔検出時においてメニュー画面の項目の表示順を変化させて、CPU27は人物の顔認識処理の項目や人物を対象とした画像処理の項目を優先的に表示する。   (2) The CPU 27 changes the item on the menu screen displayed by pressing the menu button 43 from the standard state setting. For example, the CPU 27 adds a person face recognition process item and a person image processing item to the menu screen. Alternatively, the CPU 27 changes the display order of the items on the menu screen at the time of face detection, and the CPU 27 preferentially displays a person's face recognition processing item and a person's image processing item.

図8は顔検出時におけるメニュー画面の一例を示す図である。図8のメニュー画面は図4に示した標準状態の場合と異なり、顔登録・削除の項目と、赤目補正処理の項目と、美肌補正処理の項目とが、標準状態の項目よりも上位に表示されている。
ここで、顔登録・削除の項目を選択すると、顔認識データの生成に適した顔登録撮影モードの起動や、顔登録時の各種の設定や、第2メモリ28に記録した顔認識データの編集、削除などをCPU27に指示できる。なお、顔登録・削除の項目では、第2メモリ28のグループフォルダを所定のカテゴリ(例えば、家族、サークルなど)で予めリンクさせることができる。そして、顔登録・削除の項目でユーザーがカテゴリを指定することで、ユーザーはリンクされたグループフォルダの人物の一括指定をCPU23に対して行うこともできる。
FIG. 8 is a diagram showing an example of a menu screen at the time of face detection. The menu screen of FIG. 8 is different from the standard state shown in FIG. 4 in that the face registration / deletion item, the red-eye correction processing item, and the skin beautification processing item are displayed above the standard state item. Has been.
Here, when an item for face registration / deletion is selected, activation of a face registration shooting mode suitable for generation of face recognition data, various settings at the time of face registration, and editing of face recognition data recorded in the second memory 28 The CPU 27 can be instructed to delete. In the face registration / deletion item, the group folder in the second memory 28 can be linked in advance with a predetermined category (for example, family, circle, etc.). When the user designates a category in the face registration / deletion item, the user can perform batch designation of persons in the linked group folder to the CPU 23.

また、赤目補正処理の項目を選択すると、CPU27は撮影画像のデータに対して画像処理による赤目補正処理を実行する。また、美肌補正処理の項目を選択すると、CPU27は撮影画像のデータに対して、例えば、輪郭強調の度合いを弱める処理や、色補正および彩度の調整などの補正処理を実行する。
ステップ105:CPU27のAF制御部31は、S101で検出された顔領域の位置に対応する焦点検出エリアを基準としてAF制御を実行する。
When the item of red-eye correction processing is selected, the CPU 27 executes red-eye correction processing by image processing on the captured image data. When an item for skin beautification correction is selected, the CPU 27 executes correction processing such as processing for reducing the degree of edge enhancement, color correction, and saturation adjustment on the captured image data.
Step 105: The AF control unit 31 of the CPU 27 executes AF control with reference to the focus detection area corresponding to the position of the face area detected in S101.

なお、撮影画面内で人物の顔が複数検出されている場合、AF制御部31は最も面積が大きくて至近側にあると考えられる顔領域または撮影画面の中央に位置する顔領域を焦点検出エリアに選択する。
ステップ106:CPU27はレリーズ釦40が半押しされたか否かを判定する。レリーズ釦40が半押しされた場合(YES側)にはS107に移行する。一方、レリーズ釦40が半押しされていない場合(NO側)には、CPU27はS101に戻って上記動作を繰り返す。
When a plurality of human faces are detected in the shooting screen, the AF control unit 31 selects a face area that is considered to be the closest to the closest area or a face area located at the center of the shooting screen as a focus detection area. Select
Step 106: The CPU 27 determines whether or not the release button 40 is half-pressed. If the release button 40 is half-pressed (YES side), the process proceeds to S107. On the other hand, when the release button 40 is not half-pressed (NO side), the CPU 27 returns to S101 and repeats the above operation.

ステップ107:CPU27は、S102で顔検出フラグがオンに設定されているか否かを判定する。顔検出フラグがオンの場合(YES側)にはS108に移行する。一方、顔検出フラグがオフの場合(NO側)にはS109に移行する。
ステップ108:CPU27は、AFロックを行うとともに、自動露出(AE)演算などを実行して撮影条件(絞り値、露光時間、撮像感度)を調整する。CPU27はその後にS110に移行する。
Step 107: The CPU 27 determines whether or not the face detection flag is set to ON in S102. When the face detection flag is on (YES side), the process proceeds to S108. On the other hand, when the face detection flag is OFF (NO side), the process proceeds to S109.
Step 108: The CPU 27 performs AF lock and executes automatic exposure (AE) calculation or the like to adjust shooting conditions (aperture value, exposure time, imaging sensitivity). Thereafter, the CPU 27 proceeds to S110.

ステップ109:CPU27は、通常撮影時と同様のアルゴリズムでAFを実行するとともに、AE演算などを実行して撮影条件を調整する。
ステップ110:レリーズ釦40の全押しに応じて、CPU27は被写体を撮影する。画像処理部20は、撮像素子15の出力に基づいて撮影画像のデータを生成する。そして、撮影画像のデータは、最終的に記録媒体30に記録される。なお、顔検出がされている場合には、CPU27は撮影画像のデータと、検出した顔の位置や顔のサイズを示す付属データとを関連付けして記録してもよい。
Step 109: The CPU 27 adjusts the shooting conditions by executing AF with the same algorithm as in normal shooting and executing AE calculation or the like.
Step 110: The CPU 27 shoots the subject in response to the release button 40 being fully pressed. The image processing unit 20 generates captured image data based on the output of the image sensor 15. The captured image data is finally recorded on the recording medium 30. When face detection is performed, the CPU 27 may record the captured image data in association with attached data indicating the detected face position and face size.

また、本実施形態の電子カメラは、再生時にも顔検出の結果に基づいてメニュー画面の項目に関するユーザーインタフェースを変更する。以下、図9の流れ図を参照しつつ、本実施形態の電子カメラによる再生動作の一例を説明する。
ステップ201:ユーザーがモードダイヤル41で再生モードに設定するか、あるいはユーザーが再生釦44を押圧すると、CPU27は記録媒体30に記録された撮影画像をモニタに再生表示する。
In addition, the electronic camera of the present embodiment changes the user interface related to the items on the menu screen based on the result of face detection even during playback. Hereinafter, an example of a reproduction operation by the electronic camera of the present embodiment will be described with reference to the flowchart of FIG.
Step 201: When the user sets the playback mode with the mode dial 41 or when the user presses the playback button 44, the CPU 27 plays back and displays the captured image recorded on the recording medium 30 on the monitor.

ステップ202:CPU27は、例えば決定釦47bの長押しなどの所定の操作によって、ユーザーからの顔検出の指示を受けたか否かを判定する。顔検出の指示を受けた場合(YES側)にはS203に移行する。一方、顔検出の指示がない場合(NO側)にはS206に移行する。
ステップ203:CPU27は再生中の撮影画像に含まれる顔領域を検出する。例えば、CPU27は、撮影画像のデータに顔検出処理を施して顔検出を実行する。また、撮影時に検出された顔領域を示す付属データが撮影画像のデータに関連付けされている場合には、CPU27は上記の付属データに基づいて顔検出を行うようにしてもよい。
Step 202: The CPU 27 determines whether or not a face detection instruction is received from the user by a predetermined operation such as a long press of the decision button 47b. When a face detection instruction is received (YES side), the process proceeds to S203. On the other hand, when there is no instruction for face detection (NO side), the process proceeds to S206.
Step 203: The CPU 27 detects a face area included in the captured image being reproduced. For example, the CPU 27 performs face detection by performing face detection processing on the captured image data. Further, when the attached data indicating the face area detected at the time of shooting is associated with the data of the shot image, the CPU 27 may perform face detection based on the attached data.

ステップ204:CPU27は、S203で顔領域が検出されたか否かを判定する。顔領域が検出された場合(YES側)にはS205に移行する。一方、顔領域が検出されない場合にはS206に移行する。なお、この場合にはメニュー画面のユーザーインターフェースが変更されることはない。
ステップ205:CPU27は、S203での顔検出に伴って、メニュー釦43の押圧で表示されるメニュー画面の設定を変更する。具体的には、CPU27は、上記のS104の(2)と同様に、人物の顔認識処理の項目や人物を対象とした画像処理の項目をメニュー画面に追加する。あるいは、CPU27は顔検出時においてメニュー画面の項目の表示順を変化させて、人物の顔認識処理の項目や人物を対象とした画像処理の項目を優先的に表示する。なお、S205でモニタ23に表示されるメニュー画面は、標準状態の項目が再生モードに応じた項目になる以外は図8とほぼ共通するので図示は省略する。
Step 204: The CPU 27 determines whether or not a face area is detected in S203. If a face area is detected (YES side), the process proceeds to S205. On the other hand, if no face area is detected, the process proceeds to S206. In this case, the menu screen user interface is not changed.
Step 205: The CPU 27 changes the setting of the menu screen displayed by pressing the menu button 43 along with the face detection in S203. Specifically, the CPU 27 adds a human face recognition processing item and an image processing item for the person to the menu screen, as in (2) of S104 above. Alternatively, the CPU 27 changes the display order of the items on the menu screen at the time of face detection, and preferentially displays a person face recognition processing item or a person image processing item. Note that the menu screen displayed on the monitor 23 in S205 is substantially the same as that in FIG. 8 except that the item in the standard state is an item corresponding to the playback mode, and is not shown.

ステップ206:CPU27は、再生表示を終了する旨の入力があったか否かを判定する。上記の入力がある場合(YES側)には、CPU27は撮影画像の再生表示を終了する。一方、上記の入力がない場合(NO側)には、CPU27はS202に戻って上記動作を繰り返す。
(実施形態の補足事項)
(1)上記実施形態では、顔検出時においてCPUがユーザーインターフェースを標準状態と変化させる例を説明した。しかし、本発明では、顔検出機能をオンにした段階で顔検出の状態に関係なくユーザーインターフェースを変化させるようにしてもよい。
Step 206: The CPU 27 determines whether or not there is an input to end the reproduction display. When the above input is present (YES side), the CPU 27 ends the reproduction display of the photographed image. On the other hand, if there is no input (NO side), the CPU 27 returns to S202 and repeats the above operation.
(Supplementary items of the embodiment)
(1) In the above-described embodiment, an example in which the CPU changes the user interface to the standard state at the time of face detection has been described. However, in the present invention, the user interface may be changed regardless of the face detection state when the face detection function is turned on.

(2)上記実施形態では電子カメラで画像の再生などを行う例を説明した。しかし、本発明では、画像ファイルを再生する機能を備える再生専用装置(ビューアー)や、画像再生プログラムを実行する汎用コンピュータで、上記実施形態の電子カメラの編集モードと同様の処理を実行する画像処理装置を構成してもよい。
(3)上記実施形態で説明したユーザーインターフェースの変更はあくまで一例にすぎず、電子カメラの構成や使用条件等に応じて、機能を変更するボタンやメニューの項目などを適宜変更してもよい。
(2) In the above embodiment, an example in which an image is reproduced by an electronic camera has been described. However, in the present invention, image processing for executing processing similar to the editing mode of the electronic camera of the above-described embodiment on a playback-only device (viewer) having a function of playing back an image file or a general-purpose computer that executes an image playback program. An apparatus may be configured.
(3) The change of the user interface described in the above embodiment is merely an example, and buttons and menu items for changing functions may be appropriately changed according to the configuration of the electronic camera, usage conditions, and the like.

本実施形態の電子カメラの内部構成を示すブロック図The block diagram which shows the internal structure of the electronic camera of this embodiment 本実施形態の電子カメラの正面側外観図Front side external view of electronic camera of this embodiment 本実施形態の電子カメラの背面側外観図Rear view of the electronic camera of the present embodiment 標準状態におけるメニュー画面の一例を示す図Diagram showing an example of the menu screen in the standard state 顔検出機能がオンの場合の電子カメラの撮影動作を示す流れ図Flow chart showing the shooting operation of the electronic camera when the face detection function is on 顔検出時にモニタに表示されるビュー画像の一例を示す図The figure which shows an example of the view image displayed on a monitor at the time of face detection 複数の顔領域が検出されている状態の電子カメラの操作例を示す図The figure which shows the operation example of the electronic camera of the state in which the several face area | region is detected 顔検出時におけるメニュー画面の一例を示す図The figure which shows an example of the menu screen at the time of face detection 本実施形態の電子カメラによる再生動作例を示す流れ図Flow chart showing an example of a reproduction operation by the electronic camera of the present embodiment

符号の説明Explanation of symbols

10…筐体、11…撮影レンズ、15…撮像素子、22…表示I/F、23…モニタ、24…操作部、27…CPU、28…第2メモリ、31…AF制御部、32…顔検出部、33…顔認識部、40…レリーズ釦、41…モードダイヤル、43…メニュー釦、44…再生釦、47…多機能操作釦、47a…本体部、47b…決定釦、47c…ダイヤル部
DESCRIPTION OF SYMBOLS 10 ... Case, 11 ... Shooting lens, 15 ... Image sensor, 22 ... Display I / F, 23 ... Monitor, 24 ... Operation part, 27 ... CPU, 28 ... 2nd memory, 31 ... AF control part, 32 ... Face Detection unit, 33 ... Face recognition unit, 40 ... Release button, 41 ... Mode dial, 43 ... Menu button, 44 ... Playback button, 47 ... Multi-function operation button, 47a ... Main unit, 47b ... Decision button, 47c ... Dial part

Claims (17)

被写体像を撮影する撮像素子と、
前記撮像素子の出力に基づいて撮影画面内の顔領域を検出する顔検出部と、
ユーザーの入力を受け付ける複数のスイッチを有する操作部と、
電子カメラの各種設定を行うメニュー画面を表示可能なモニタと、
前記操作部および前記メニュー画面の少なくとも一方のユーザーインターフェースについて、前記顔検出部が前記顔領域を検出した場合の第1状態と前記顔検出部が前記顔領域を検出していない場合の第2状態との切替を行う制御部と、
を備えることを特徴とする電子カメラ。
An image sensor for capturing a subject image;
A face detection unit for detecting a face area in a shooting screen based on an output of the image sensor;
An operation unit having a plurality of switches for receiving user input;
A monitor capable of displaying a menu screen for various settings of the electronic camera;
A first state when the face detection unit detects the face region and a second state when the face detection unit does not detect the face region for at least one user interface of the operation unit and the menu screen A control unit for switching between and
An electronic camera comprising:
被写体像を撮影する撮像素子と、
前記撮像素子の出力に基づいて撮影画面内の顔領域を検出する顔検出部と、
ユーザーの入力を受け付ける複数のスイッチを有する操作部と、
電子カメラの各種設定を行うメニュー画面を表示可能なモニタと、
前記操作部および前記メニュー画面の少なくとも一方のユーザーインターフェースについて、顔検出処理を実行する顔検出撮影モードに対応する第1状態と他の撮影モードに対応する第2状態との切り替えを行う制御部と、
を備えることを特徴とする電子カメラ。
An image sensor for capturing a subject image;
A face detection unit for detecting a face area in a shooting screen based on an output of the image sensor;
An operation unit having a plurality of switches for receiving user input;
A monitor capable of displaying a menu screen for various settings of the electronic camera;
A control unit that switches between a first state corresponding to a face detection photographing mode for executing face detection processing and a second state corresponding to another photographing mode for at least one user interface of the operation unit and the menu screen; ,
An electronic camera comprising:
請求項1または請求項2に記載の電子カメラにおいて、
前記制御部は、前記操作部の第1スイッチに割り当てる操作を前記第1状態と前記第2状態とで切り替えることを特徴とする電子カメラ。
The electronic camera according to claim 1 or 2,
The control unit is configured to switch an operation assigned to a first switch of the operation unit between the first state and the second state.
請求項3に記載の電子カメラにおいて、
前記第1スイッチは、レリーズ釦の近傍に配置されていることを特徴とする電子カメラ。
The electronic camera according to claim 3.
The electronic camera according to claim 1, wherein the first switch is disposed in the vicinity of the release button.
請求項3に記載の電子カメラにおいて、
レリーズ釦が配置された把持部を有し、前記把持部以外の位置に撮影光学系が配置される筐体をさらに備え、
前記第1スイッチは、前記筐体の前記把持部の対応位置に配置されていることを特徴とする電子カメラ。
The electronic camera according to claim 3.
A holding unit in which a release button is arranged, and a housing in which a photographing optical system is arranged at a position other than the holding unit;
The electronic camera according to claim 1, wherein the first switch is disposed at a position corresponding to the grip portion of the housing.
請求項3に記載の電子カメラにおいて、
前記第1スイッチは、前記モニタのレリーズ釦寄りの側部に配置されていることを特徴とする電子カメラ。
The electronic camera according to claim 3.
The electronic camera according to claim 1, wherein the first switch is disposed on a side of the monitor near the release button.
請求項3に記載の電子カメラにおいて、
前記第1スイッチは、前記メニュー画面での操作で項目の決定を示す入力を受け付ける釦であることを特徴とする電子カメラ。
The electronic camera according to claim 3.
The electronic camera according to claim 1, wherein the first switch is a button that receives an input indicating determination of an item by an operation on the menu screen.
請求項3に記載の電子カメラにおいて、
前記モニタは、前記撮像素子から得た表示画像を撮影待機時に動画表示し、
前記制御部は、前記第1状態での前記第1スイッチの入力に応じて、前記撮影画面の全体を示す第1の前記表示画像と、前記顔領域を拡大して示す第2の前記表示画像との表示を切り替えることを特徴とする電子カメラ。
The electronic camera according to claim 3.
The monitor displays a display image obtained from the imaging element as a moving image during shooting standby,
In response to an input of the first switch in the first state, the control unit is configured to display the first display image showing the entire photographing screen and the second display image showing the face area in an enlarged manner. An electronic camera characterized by switching the display.
請求項3に記載の電子カメラにおいて、
前記顔領域に対応する焦点検出エリアを指定して合焦制御を実行する合焦制御部をさらに備え、
前記制御部は、前記第1状態での前記第1スイッチの入力に応じて、前記焦点検出エリアに指定される前記顔領域を変更することを特徴とする電子カメラ。
The electronic camera according to claim 3.
A focus control unit that performs focus control by designating a focus detection area corresponding to the face region;
The electronic camera according to claim 1, wherein the control unit changes the face area designated as the focus detection area in accordance with an input of the first switch in the first state.
請求項3に記載の電子カメラにおいて、
前記撮像素子の出力に基づいて前記顔領域に対応する人物の顔の特徴点を抽出し、撮影された人物の顔認識データを生成する顔認識データ生成部をさらに備え、
前記制御部は、前記第1状態での前記第1スイッチの入力に応じて、前記顔認識データを生成する前記顔領域を変更することを特徴とする電子カメラ。
The electronic camera according to claim 3.
Further comprising a face recognition data generating unit for extracting feature points of a person's face corresponding to the face region based on an output of the image sensor and generating face recognition data of the photographed person;
The electronic camera according to claim 1, wherein the control unit changes the face area in which the face recognition data is generated in accordance with an input of the first switch in the first state.
請求項3に記載の電子カメラにおいて、
前記操作部は、前記第1状態において前記顔領域での合焦状態を調節するための入力を受け付ける第2スイッチをさらに備えることを特徴とする電子カメラ。
The electronic camera according to claim 3.
The electronic camera further includes a second switch that receives an input for adjusting a focus state in the face area in the first state.
請求項1または請求項2に記載の電子カメラにおいて、
前記制御部は、前記メニュー画面でユーザーに提示される項目を前記第1状態と前記第2状態とで変化させることを特徴とする電子カメラ。
The electronic camera according to claim 1 or 2,
The said control part changes the item shown to a user on the said menu screen by the said 1st state and the said 2nd state, The electronic camera characterized by the above-mentioned.
請求項12に記載の電子カメラにおいて、
前記制御部は、人物の顔認識処理に関する項目を前記第1状態と前記第2状態とで変化させることを特徴とする電子カメラ。
The electronic camera according to claim 12,
The control unit changes an item related to human face recognition processing between the first state and the second state.
請求項12に記載の電子カメラにおいて、
前記制御部は、人物を対象とした画像処理に関する項目を前記第1状態と前記第2状態とで変化させることを特徴とする電子カメラ。
The electronic camera according to claim 12,
The control unit changes an item related to image processing for a person between the first state and the second state.
電子カメラによって生成された撮影画像のデータを含む画像ファイルを読み込むデータ読込部と、
前記撮影画像から顔領域を検出する顔検出部と、
画像処理装置の各種設定を行うメニュー画面の表示出力を行う表示制御部と、
前記メニュー画面のユーザーインターフェースについて、前記顔検出部が前記顔領域を検出した場合の第1状態と前記顔検出部が前記顔領域を検出していない場合の第2状態との切替を行う制御部と、
を備えることを特徴とする画像処理装置。
A data reading unit for reading an image file including data of a captured image generated by an electronic camera;
A face detection unit for detecting a face area from the captured image;
A display control unit for performing display output of a menu screen for performing various settings of the image processing apparatus;
For the user interface of the menu screen, a control unit that switches between a first state when the face detection unit detects the face region and a second state when the face detection unit does not detect the face region When,
An image processing apparatus comprising:
電子カメラによって生成された撮影画像のデータと、前記撮影画像における顔領域を示す付属データとを関連付けした画像ファイルを読み込むデータ読込部と、
画像処理装置の各種設定を行うメニュー画面の表示出力を行う表示制御部と、
前記付属データに基づいて前記撮影画像における前記顔領域の有無を判定するとともに、前記メニュー画面のユーザーインターフェースについて、前記顔領域がある場合の第1状態と前記顔領域がない場合の第2状態との切替を行う制御部と、
を備えることを特徴とする画像処理装置。
A data reading unit that reads an image file in which data of a captured image generated by an electronic camera is associated with attached data indicating a face area in the captured image;
A display control unit for performing display output of a menu screen for performing various settings of the image processing apparatus;
The presence / absence of the face area in the captured image is determined based on the attached data, and for the user interface of the menu screen, a first state when the face area is present and a second state when the face area is absent A control unit for switching between
An image processing apparatus comprising:
請求項15または請求項16に記載の画像処理装置において、
前記制御部は、前記メニュー画面でユーザーに提示される項目を前記第1状態と前記第2状態とで変化させることを特徴とする画像処理装置。
The image processing apparatus according to claim 15 or 16,
The control unit changes an item presented to a user on the menu screen between the first state and the second state.
JP2006102783A 2006-04-04 2006-04-04 Electronic camera and image processing apparatus Withdrawn JP2007281647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006102783A JP2007281647A (en) 2006-04-04 2006-04-04 Electronic camera and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006102783A JP2007281647A (en) 2006-04-04 2006-04-04 Electronic camera and image processing apparatus

Publications (1)

Publication Number Publication Date
JP2007281647A true JP2007281647A (en) 2007-10-25

Family

ID=38682681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006102783A Withdrawn JP2007281647A (en) 2006-04-04 2006-04-04 Electronic camera and image processing apparatus

Country Status (1)

Country Link
JP (1) JP2007281647A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009177316A (en) * 2008-01-22 2009-08-06 Canon Inc Imaging apparatus
JP2010028353A (en) * 2008-07-17 2010-02-04 Canon Inc Image capturing apparatus, imaging method, program and recording medium
JP2010050950A (en) * 2008-07-23 2010-03-04 Victor Co Of Japan Ltd Imaging apparatus
JP2012142780A (en) * 2010-12-28 2012-07-26 Olympus Imaging Corp Imaging apparatus and imaging program
JP2013502662A (en) * 2009-08-24 2013-01-24 サムスン エレクトロニクス カンパニー リミテッド Object information providing method and photographing apparatus to which the object information is applied
JP2014014138A (en) * 2013-09-02 2014-01-23 Hitachi Consumer Electronics Co Ltd Imaging apparatus
WO2015001606A1 (en) 2013-07-01 2015-01-08 パイオニア株式会社 Imaging system
CN113282207A (en) * 2021-06-15 2021-08-20 咪咕文化科技有限公司 Menu display method, device, equipment, storage medium and product

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009177316A (en) * 2008-01-22 2009-08-06 Canon Inc Imaging apparatus
JP2010028353A (en) * 2008-07-17 2010-02-04 Canon Inc Image capturing apparatus, imaging method, program and recording medium
US8269851B2 (en) 2008-07-17 2012-09-18 Canon Kabushiki Kaisha Image pickup device and image pickup method to set image capturing condition
JP2010050948A (en) * 2008-07-23 2010-03-04 Victor Co Of Japan Ltd Imaging apparatus
JP2010050949A (en) * 2008-07-23 2010-03-04 Victor Co Of Japan Ltd Imaging apparatus
JP2010050950A (en) * 2008-07-23 2010-03-04 Victor Co Of Japan Ltd Imaging apparatus
JP2013502662A (en) * 2009-08-24 2013-01-24 サムスン エレクトロニクス カンパニー リミテッド Object information providing method and photographing apparatus to which the object information is applied
JP2012142780A (en) * 2010-12-28 2012-07-26 Olympus Imaging Corp Imaging apparatus and imaging program
WO2015001606A1 (en) 2013-07-01 2015-01-08 パイオニア株式会社 Imaging system
US10061995B2 (en) 2013-07-01 2018-08-28 Pioneer Corporation Imaging system to detect a trigger and select an imaging area
JP2014014138A (en) * 2013-09-02 2014-01-23 Hitachi Consumer Electronics Co Ltd Imaging apparatus
CN113282207A (en) * 2021-06-15 2021-08-20 咪咕文化科技有限公司 Menu display method, device, equipment, storage medium and product
CN113282207B (en) * 2021-06-15 2024-03-22 咪咕文化科技有限公司 Menu display method, menu display device, menu display equipment, storage medium and menu display product

Similar Documents

Publication Publication Date Title
JP5056061B2 (en) Imaging device
JP4761146B2 (en) Imaging apparatus and program thereof
JP5087856B2 (en) Electronic camera
US8823864B2 (en) Image capturing apparatus and associated methodology for auto-focus and facial detection
JP5251215B2 (en) Digital camera
JP5173453B2 (en) Imaging device and display control method of imaging device
JP2007282119A (en) Electronic camera and image processing apparatus
JP4657960B2 (en) Imaging method and apparatus
JP2007150601A (en) Electronic camera
JP2007279601A (en) Camera
JP2006211103A (en) Imaging apparatus and control method thereof
JP2009010776A (en) Imaging device, photography control method, and program
JP2006345254A (en) Photographing apparatus, its control method, program, and storage medium
JP2006025238A (en) Imaging device
JP2007310813A (en) Image retrieving device and camera
JP2007281646A (en) Electronic camera
JP2007215091A (en) Imaging apparatus and program therefor
JP2007281647A (en) Electronic camera and image processing apparatus
JP2010288240A (en) Imaging apparatus, control method of the same, and program
JP2007282118A (en) Electronic camera and image processing apparatus
JP2010062854A (en) Device and method for shooting image
JP4957263B2 (en) Imaging apparatus, imaging method, and program thereof
JP4888192B2 (en) Imaging device
JP2007081732A (en) Imaging apparatus
JP2008079193A (en) Digital camera

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090707