JP6526270B2 - Image pickup apparatus and control method thereof - Google Patents

Image pickup apparatus and control method thereof Download PDF

Info

Publication number
JP6526270B2
JP6526270B2 JP2018016661A JP2018016661A JP6526270B2 JP 6526270 B2 JP6526270 B2 JP 6526270B2 JP 2018016661 A JP2018016661 A JP 2018016661A JP 2018016661 A JP2018016661 A JP 2018016661A JP 6526270 B2 JP6526270 B2 JP 6526270B2
Authority
JP
Japan
Prior art keywords
focus detection
main subject
display
subject
focus
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
JP2018016661A
Other languages
Japanese (ja)
Other versions
JP2018097380A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018016661A priority Critical patent/JP6526270B2/en
Publication of JP2018097380A publication Critical patent/JP2018097380A/en
Application granted granted Critical
Publication of JP6526270B2 publication Critical patent/JP6526270B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Focusing (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は、撮像装置及びその制御方法に関し、特に被写体の合焦表示のための技術に関する。   The present invention relates to an imaging apparatus and a control method thereof, and more particularly to a technique for displaying an object in focus.

従来、撮像装置、特に自動合焦(オートフォーカス)機能を有する撮像装置においては、合焦させた被写体を撮影者に示すための表示(合焦表示)を行うものがある。   2. Description of the Related Art Conventionally, in an imaging apparatus, in particular, an imaging apparatus having an automatic focusing (automatic focusing) function, there is one which performs display (focusing display) for showing a photographer a focused object.

特許文献1では、複数の測距フレームの被写体がそれぞれ被写界深度内にあるか否かを検知し、被写界深度内に存在する被写体の測距フレームに対応する位置に表示を行うことが開示されている。   In Patent Document 1, it is detected whether or not the objects of a plurality of distance measurement frames are within the depth of field, and display is performed at a position corresponding to the distance measurement frame of the objects present within the depth of field. Is disclosed.

また、特許文献2には、被写界深度内にあると判別された測距枠を表示する撮像装置において、撮像光学系の焦点距離に応じて被写界深度内にあるか否かを判別するための合焦度の閾値を変更することが開示されている。   Further, in Patent Document 2, in an imaging apparatus that displays a distance measurement frame determined to be within the depth of field, it is determined whether or not within the depth of field according to the focal length of the imaging optical system. It is disclosed to change the focus degree threshold value to

特開平4−9932号公報JP-A-4-9932 特開平5−232371号公報Japanese Patent Laid-Open No. 5-232371

従来技術によれば、被写界深度内にある被写体の確認は容易となるが、被写界深度内の被写体を示す表示が多くなると画面表示が煩雑になる場合がある。   According to the prior art, although it becomes easy to check the subject within the depth of field, if the display showing the subject within the depth of field increases, the screen display may be complicated.

例えば、ユーザによって主被写体選択が可能な撮像装置を用いた撮影時に、選択した主要被写体とほぼ同じ距離に複数の被写体が存在したとする。この場合、それら全ての被写体に関して被写界深度内であることを示す表示が行われると、主要被写体の識別が困難となり、利便性が損なわれてしまう。   For example, it is assumed that a plurality of subjects are present at substantially the same distance as the selected main subject at the time of shooting using an imaging device capable of selecting a main subject by the user. In this case, if a display indicating that all the subjects are within the depth of field is displayed, it is difficult to identify the main subject, and the convenience is lost.

本発明はこのような従来技術の課題を解決するためになされたものであり、具体的には主被写体の選択が可能な撮像装置において、利便性のよい合焦表示を実現することを目的とする。   The present invention has been made to solve the problems of the prior art as described above, and specifically, it is an object of the present invention to realize convenient and convenient focusing display in an imaging apparatus capable of selecting a main subject. Do.

上述の目的は、レンズユニットを通じて得られた画像から被写体を検出する検出手段と、検出手段が検出した複数の被写体から主被写体を選択する選択手段と、検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、主被写体が合焦した場合、主被写体が、主被写体を選択するユーザ指示に基づいて選択手段により選択されていれば、主被写体に対応する焦点検出領域についての焦点検出の結果と、レンズユニットの予め定められた被写界深度内の、主被写体以外の被写体に対応する焦点検出領域についての焦点検出の結果の違いに関わらず、予め定められた被写界深度内の被写体についての合焦表示を、主被写体についての合焦表示の表示形態が主被写体以外の被写体についての合焦表示の表示形態とは異なるように表示し、主被写体が主被写体を選択するユーザ指示に基づいて選択手段により選択されていなければ、予め定められた被写界深度内の、主被写体を含む被写体についての合焦表示を、同じ表示形態で表示するように制御する制御手段と、を有することを特徴とする撮像装置によって達成される。   The above-described objects are based on detection means for detecting an object from an image obtained through the lens unit, selection means for selecting a main subject from a plurality of subjects detected by the detection means, and a plurality of subjects detected by the detection means. A setting unit that sets a plurality of focus detection areas, a focus detection unit that performs focus detection in a plurality of focus detection areas set by the setting unit, and a user whose main subject selects the main subject when the main subject is in focus If it is selected by the selection means based on the instruction, the result of focus detection for the focus detection area corresponding to the main subject, and objects other than the main subject within the predetermined depth of field of the lens unit Focusing display of the subject within the predetermined depth of field and focusing display of the main subject regardless of the difference in the result of focus detection for the focus detection area The display form is displayed differently from the display form of the in-focus display for subjects other than the main subject, and is predetermined if the main subject is not selected by the selection unit based on the user's instruction to select the main subject. The present invention is achieved by an image pickup apparatus characterized by further comprising: control means for controlling in-focus display of an object including a main object within the depth of field in the same display form.

このような構成により、本発明によれば、主被写体の選択が可能な撮像装置において、利便性のよい合焦表示を実現することができる。   With such a configuration, according to the present invention, it is possible to realize convenient and convenient in-focus display in an imaging apparatus capable of selecting a main subject.

本発明の第1の実施形態に係る撮像装置の一例としてのデジタルカメラ100の構成例を示すブロック図である。It is a block diagram showing an example of composition of digital camera 100 as an example of an imaging device concerning a 1st embodiment of the present invention. 本発明の第1の実施形態に係るデジタルカメラ100の全体的な動作を説明するフローチャートである。It is a flowchart explaining the whole operation | movement of the digital camera 100 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るデジタルカメラ100が行う静止画記録モード処理の一例を示すフローチャートである。It is a flowchart which shows an example of the still image recording mode process which the digital camera 100 which concerns on the 1st Embodiment of this invention performs. 本発明の第1の実施形態に係るデジタルカメラ100が行う顔検出処理の一例を示すフローチャートである。It is a flowchart which shows an example of the face detection process which the digital camera 100 which concerns on the 1st Embodiment of this invention performs. 本発明の第1の実施形態に係るデジタルカメラ100が行う撮影処理の一例を示すフローチャートである。It is a flow chart which shows an example of photography processing which digital camera 100 concerning a 1st embodiment of the present invention performs. 本発明の第1の実施形態に係るデジタルカメラ100が行う主顔選択処理の一例を示すフローチャートである。It is a flowchart which shows an example of the main face selection process which the digital camera 100 which concerns on the 1st Embodiment of this invention performs. 本発明の第1の実施形態に係るデジタルカメラ100が行う焦点検出処理の一例を示すフローチャートである。It is a flow chart which shows an example of focus detection processing which digital camera 100 concerning a 1st embodiment of the present invention performs. 本発明の第1の実施形態に係るデジタルカメラ100が行う合焦表示処理の一例を示すフローチャートである。It is a flowchart which shows an example of the focusing display process which the digital camera 100 which concerns on the 1st Embodiment of this invention performs. 本発明の実施形態に係るデジタルカメラ100が行う合焦表示の例を示す図であるIt is a figure which shows the example of the focusing display which the digital camera 100 which concerns on embodiment of this invention performs. 本発明の第1の実施形態に係るデジタルカメラ100が行うスルー表示の例を示す図である。It is a figure which shows the example of the through display which the digital camera 100 which concerns on the 1st Embodiment of this invention performs. 本発明の第2の実施形態に係るデジタルカメラ100が行う合焦表示処理の一例を示すフローチャートである。It is a flowchart which shows an example of the focusing display process which the digital camera 100 which concerns on the 2nd Embodiment of this invention performs.

以下、添付図面を参照して、本発明の好適かつ例示的な実施形態について詳細に説明する。
(第1の実施形態)
(デジタルカメラ100の構成)
図1は、本発明の第1の実施形態に係る撮像装置の一例としてのデジタルカメラ100の構成例を示すブロック図である。ただし、本実施形態における撮像装置は、デジタルカメラに限るものではなく、デジタルカメラとして動作する装置であってもよい。デジタルカメラとして動作する装置の一例としては、デジタルビデオカメラ、デジタルカメラ付き携帯電話、デジタルカメラ付きパーソナルコンピュータなどがある。
Hereinafter, preferred and exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
First Embodiment
(Configuration of digital camera 100)
FIG. 1 is a block diagram showing a configuration example of a digital camera 100 as an example of an imaging device according to a first embodiment of the present invention. However, the imaging device in the present embodiment is not limited to the digital camera, and may be a device operating as a digital camera. Examples of devices that operate as digital cameras include digital video cameras, cell phones with digital cameras, and personal computers with digital cameras.

10はレンズ部、12は絞り機能を備えるシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14からのアナログ画像信号をデジタル化し、画像データに変換するA/D変換器である。なお、撮像素子14には、CCDイメージセンサ、CMOSイメージセンサ等を用いることができる。   10 is a lens unit, 12 is a shutter having an aperture function, 14 is an image pickup device for converting an optical image into an electric signal, 16 is an A / D converter for digitizing an analog image signal from the image pickup device 14 and converting it into image data It is. A CCD image sensor, a CMOS image sensor, or the like can be used as the imaging device 14.

タイミング発生部18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給し、メモリ制御部22及びシステム制御部50により制御される。   The timing generation unit 18 supplies clock signals and control signals to the imaging device 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control unit 22 and the system control unit 50.

画像処理部20は、A/D変換器16からの画像データ或いはメモリ制御部22からの画像データに対して所定の画素補間処理や色変換処理を行う。   The image processing unit 20 performs predetermined pixel interpolation processing and color conversion processing on the image data from the A / D converter 16 or the image data from the memory control unit 22.

また、画像処理部20においては、撮像した画像データを用いて所定の演算処理を行う。そして、得られた演算結果に基づいてシステム制御部50が露光制御部40、合焦制御部42を制御し、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)、AE(自動露出)、EF(フラッシュプリ発光)機能を実現している。   Further, the image processing unit 20 performs predetermined arithmetic processing using the captured image data. Then, the system control unit 50 controls the exposure control unit 40 and the focusing control unit 42 based on the obtained calculation result, and TTL (through the lens) AF (auto focus), AE (automatic exposure) , EF (flash pre-emission) function is realized.

さらに、画像処理部20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   Furthermore, in the image processing unit 20, predetermined arithmetic processing is performed using captured image data, and TTL AWB (Auto White Balance) processing is also performed based on the obtained arithmetic result.

メモリ制御部22は、A/D変換器16、タイミング発生部18、画像処理部20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮伸長部32を制御する。   The memory control unit 22 controls the A / D converter 16, the timing generation unit 18, the image processing unit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression unit 32.

A/D変換器16の出力データが画像処理部20、メモリ制御部22を介して、或いはA/D変換器16の出力データが直接メモリ制御部22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。   The output data of the A / D converter 16 passes through the image processing unit 20, the memory control unit 22, or the output data of the A / D converter 16 passes directly through the memory control unit 22. Is written to

画像表示メモリ24に書き込まれた表示用の画像データは、D/A変換器26を介してLCDや有機ELディスプレイ等の画像表示部28により表示される。撮像した画像データを画像表示部28で逐次表示すれば、電子ビューファインダー(EVF)機能を実現することが可能である。   The display image data written in the image display memory 24 is displayed by the image display unit 28 such as an LCD or an organic EL display via the D / A converter 26. If the captured image data is sequentially displayed on the image display unit 28, it is possible to realize an electronic view finder (EVF) function.

また、画像表示部28は、システム制御部50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合にはデジタルカメラ100の電力消費を大幅に低減することができる。   Further, the image display unit 28 can arbitrarily turn on / off the display according to an instruction of the system control unit 50, and when the display is turned off, the power consumption of the digital camera 100 can be significantly reduced. it can.

メモリ30は撮影した静止画像や動画像を格納する記憶装置であり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶容量を備えている。そのため、複数枚の静止画像を連続して撮影する連続撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。
また、メモリ30はシステム制御部50の作業領域としても使用することが可能である。
The memory 30 is a storage device for storing captured still images and moving images, and has a storage capacity sufficient for storing a predetermined number of still images and a moving image for a predetermined time. Therefore, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, a large amount of image writing can be performed to the memory 30 at high speed.
The memory 30 can also be used as a work area of the system control unit 50.

圧縮伸長部32は、メモリ30に格納された画像データを読み込み、その画像データを所定の画像圧縮方法に従って圧縮し、圧縮された画像データをメモリ30に書き込む。また、圧縮伸長部32は、メモリ30から圧縮された画像データを読み込み、その画像データを伸張し、伸張された画像データをメモリ30に書き込むこともできる。なお、所定の画像圧縮方法には、JPEG、JPEG 2000等で規定された画像圧縮方法を使用することも、適応離散コサイン変換(ADCT)、ウェーブレット変換等を用いた画像圧縮方法を使用することもできる。   The compression / decompression unit 32 reads the image data stored in the memory 30, compresses the image data according to a predetermined image compression method, and writes the compressed image data into the memory 30. The compression / decompression unit 32 can also read the compressed image data from the memory 30, decompress the image data, and write the decompressed image data into the memory 30. The predetermined image compression method may be an image compression method defined by JPEG, JPEG 2000 or the like, or an image compression method using adaptive discrete cosine transform (ADCT) or wavelet transform. it can.

暗号復号部34は、撮影してメモリ30の所定領域に記憶した画像データに対して必要に応じて暗号化処理を行う。暗号復号部34は、メモリ30の所定領域に記憶した暗号化済の画像データを再生表示する際に復号化処理を行う。   The decryption unit 34 encrypts the image data captured and stored in a predetermined area of the memory 30 as necessary. The decryption unit 34 performs a decryption process when reproducing and displaying the encrypted image data stored in a predetermined area of the memory 30.

露光制御部40は絞り機能を備えるシャッター12を制御するとともに、フラッシュ48と連携することによりフラッシュ調光機能も有する。
合焦制御部42はレンズ部10のフォーカシングを制御し、ズーム制御部44はレンズ部10のズーミングを制御する。バリア制御部46はレンズ部10の保護を行うためのバリア102の動作を制御する。
The exposure control unit 40 controls the shutter 12 having an aperture function, and also has a flash light control function by cooperating with the flash 48.
The focusing control unit 42 controls focusing of the lens unit 10, and the zoom control unit 44 controls zooming of the lens unit 10. The barrier control unit 46 controls the operation of the barrier 102 for protecting the lens unit 10.

フラッシュ48は撮影時の補助光源として機能し、調光機能も有する。また、AF補助光の投光機能も有する。
露光制御部40、合焦制御部42はTTL方式を用いて制御されており、撮像した画像データを画像処理部20によって演算した演算結果に基づき、システム制御部50が露光制御部40、合焦制御部42に対して制御を行う。
The flash 48 functions as an auxiliary light source at the time of shooting and also has a light control function. It also has a function of projecting AF auxiliary light.
The exposure control unit 40 and the focusing control unit 42 are controlled using the TTL method, and the system control unit 50 controls the exposure control unit 40 based on the calculation result obtained by the image processing unit 20 calculating captured image data. Control of the control unit 42 is performed.

システム制御部50は例えばCPUであり、システムメモリ52に記憶されたプログラムを実行することによりデジタルカメラ100全体を制御する。システムメモリ52はシステム制御部50の動作用の定数、変数、プログラム等を記憶する。   The system control unit 50 is, for example, a CPU, and controls the entire digital camera 100 by executing a program stored in the system memory 52. The system memory 52 stores constants, variables, programs and the like for the operation of the system control unit 50.

表示部54は例えばLCDやLED、スピーカ等の出力装置の組み合わせにより構成され、システム制御部50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を出力する。表示部54はデジタルカメラ100の操作部70近辺の視認し易い位置に、単数或いは複数設置される。また、表示部54の一部は光学ファインダー104内に設置されている。   The display unit 54 is formed of, for example, a combination of output devices such as an LCD, an LED, and a speaker, and outputs an operation state, a message, etc. using characters, images, sounds, etc. according to execution of a program by the system control unit 50. . One or a plurality of display units 54 are provided at positions easily visible in the vicinity of the operation unit 70 of the digital camera 100. Further, a part of the display unit 54 is installed in the optical finder 104.

表示部54の表示内容としては、例えば、メモリカード200の取り外し状態、通信I/Fの動作状態、外部コンピュータとの接続状態等がある。この一部は光学ファインダー104内に表示される。   The display contents of the display unit 54 include, for example, the removal state of the memory card 200, the operation state of the communication I / F, the connection state with the external computer, and the like. A portion of this is displayed in the optical finder 104.

そして、表示部54の表示内容のうち、ランプ等により表示するものとしては、例えば、セルフタイマー通知ランプ、等がある。このセルフタイマー通知ランプは、AF補助光と共用して用いても良い。   Among the display contents of the display unit 54, for example, a self-timer notification lamp or the like is displayed as a lamp or the like. This self-timer notification lamp may be used in common with the AF auxiliary light.

不揮発性メモリ56は電気的に消去・記録可能なメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ56は、デジタルカメラ100が用いる各種設定な初期値などを記憶する。   The non-volatile memory 56 is an electrically erasable / recordable memory, and for example, an EEPROM or the like is used. The non-volatile memory 56 stores various setting initial values and the like used by the digital camera 100.

モードダイアル72、第1シャッタースイッチ(SW1)62、第2シャッタースイッチ(SW2)64、電源スイッチ60及び操作部70は、システム制御部50に所定の動作の開始、停止等を指示するための操作部材である。これらの操作部材は、ボタン、スイッチ、ダイアル、タッチパネル、視線検知装置、音声認識装置或いはこれらの組み合わせで構成される。   The mode dial 72, the first shutter switch (SW1) 62, the second shutter switch (SW2) 64, the power switch 60, and the operation unit 70 are operations for instructing the system control unit 50 to start and stop predetermined operations. It is a member. These operation members are configured by buttons, switches, dials, touch panels, eye gaze detectors, voice recognition devices, or a combination thereof.

ここで、これらの操作部材の具体的な説明を行う。
モードダイアル72は、例えば静止画記録モード(自動撮影モード、プログラム撮影モード、パノラマ撮影モード)、動画記録モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定するためのスイッチである。
Here, specific description of these operation members is given.
The mode dial 72 switches and sets each function mode such as, for example, still image recording mode (automatic photographing mode, program photographing mode, panoramic photographing mode), moving image recording mode, reproduction mode, multi-screen reproduction / erase mode, PC connection mode, etc. It is a switch for

第1シャッタースイッチ(SW1)62は、デジタルカメラ100に設けられたシャッターボタン(図示せず)の第1ストローク(例えば半押し)でONとなる。第1シャッタースイッチ(SW1)62がONにされた場合、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF処理等が開始される。   The first shutter switch (SW1) 62 is turned on by a first stroke (for example, half depression) of a shutter button (not shown) provided on the digital camera 100. When the first shutter switch (SW1) 62 is turned on, AF (auto focus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, EF processing, and the like are started.

第2シャッタースイッチ(SW2)64は、デジタルカメラ100に設けられたシャッターボタンの第2ストローク(例えば全押し)でONとなり、露光処理、現像処理及び記録処理からなる一連の処理の開始を指示する。まず、露光処理では、撮像素子14から読み出した信号をA/D変換器16、メモリ制御部22を介して画像データをメモリ30に書き込み、更に、画像処理部20やメモリ制御部22での演算を用いた現像処理が行われる。更に、メモリ30から画像データを読み出し、圧縮伸長部32で圧縮を行い、メモリカード200に画像データを書き込む記録処理が行われる。
電源スイッチ60は、デジタルカメラ100の電源オン及び電源オフを行うためのスイッチである。
The second shutter switch (SW2) 64 is turned on by the second stroke (for example, full press) of the shutter button provided on the digital camera 100, and instructs the start of a series of processing including exposure processing, development processing, and recording processing. . First, in the exposure processing, the image data is written to the memory 30 through the A / D converter 16 and the memory control unit 22 in the signal read from the imaging device 14, and further, the calculation in the image processing unit 20 and the memory control unit 22 Development processing is performed. Further, the image data is read from the memory 30, compressed by the compression / decompression unit 32, and recording processing for writing the image data to the memory card 200 is performed.
The power switch 60 is a switch for turning on and off the digital camera 100.

操作部70は、スイッチ、ボタン、回転ダイアルスイッチ、タッチパネル等の操作部材を有するユーザインターフェースである。後述する主顔選択ボタン及び主顔選択解除ボタンは、操作部70に含まれる。撮影画像の画像記録モード、圧縮率、画質等は、操作部70で選択できる。画像記録モードには、JPEGモードとRAWモードがある。JPEGモードは、撮影画像をJPEG圧縮方式で圧縮してメモリカード200等に記録する画像記録モードである。RAWモードは、撮像素子14からの信号をデジタル化して得たデジタルデータを圧縮せずに又はロスレス圧縮方式で圧縮してメモリカード200等に記録する画像記録モードである。なお、JPEGモードにおける圧縮率及び画質は、操作部70で選択可能である。   The operation unit 70 is a user interface having operation members such as switches, buttons, rotary dial switches, and touch panels. A main face selection button and a main face selection release button described later are included in the operation unit 70. The image recording mode, compression rate, image quality and the like of the photographed image can be selected by the operation unit 70. There are JPEG mode and RAW mode as an image recording mode. The JPEG mode is an image recording mode in which a photographed image is compressed by the JPEG compression method and recorded in the memory card 200 or the like. The RAW mode is an image recording mode in which digital data obtained by digitizing a signal from the imaging device 14 is compressed without compression or compressed by a lossless compression method and recorded in the memory card 200 or the like. The compression rate and the image quality in the JPEG mode can be selected by the operation unit 70.

縦位置検知センサ75は、デジタルカメラ100の姿勢が縦位置、横位置であるか検知するセンサである。
電源制御部80は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、これらの検出の結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、メモリカード200を含む各部へ供給する。
The vertical position detection sensor 75 is a sensor that detects whether the attitude of the digital camera 100 is the vertical position or the horizontal position.
The power supply control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like, and detects the presence or absence of a battery, the type of battery, and the battery remaining amount. Further, the power control unit 80 controls the DC-DC converter based on the detection result and the instruction of the system control unit 50, and supplies necessary voltage to each unit including the memory card 200 for a necessary period.

電源86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、或いはACアダプター等からなり、コネクタ82及び84によってデジタルカメラ100に取り付けられる。   A power source 86 is made of a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery or a Li battery, or an AC adapter, and is attached to the digital camera 100 by connectors 82 and 84.

メモリカード200は、取り外し可能な記憶媒体である。メモリカード200には、SDメモリカード、コンパクトフラッシュ(登録商標)、リムーバブルHDDなどを用いることができる。メモリカード200は、メモリ202と、カメラインターフェース204と、コネクタ206とを有する。メモリ202は、ランダムアクセス可能な不揮発性メモリである。カメラインターフェース204はデジタルカメラ100側のカードインターフェース90と通信可能であり、コネクタ206はカメラ側のコネクタ92と接続可能である。なお、メモリカード200の装着及び取り外しは、デジタルカメラ100に内蔵されたカード検知部(不図示)によって検知される。   The memory card 200 is a removable storage medium. As the memory card 200, an SD memory card, Compact Flash (registered trademark), a removable HDD, or the like can be used. The memory card 200 has a memory 202, a camera interface 204, and a connector 206. The memory 202 is a randomly accessible nonvolatile memory. The camera interface 204 can communicate with the card interface 90 on the digital camera 100 side, and the connector 206 can connect to the connector 92 on the camera side. The mounting and removal of the memory card 200 is detected by a card detection unit (not shown) built in the digital camera 100.

バリア102は、デジタルカメラ100の、レンズ部10を含む撮像部を覆う事により、撮像部の汚れや破損を防止する。   The barrier 102 covers the imaging unit including the lens unit 10 of the digital camera 100 to prevent the imaging unit from being dirty or damaged.

光学ファインダー104は例えばTTLファインダーであり、プリズムやミラーを用いてレンズ部10を通じた光束を結像する。光学ファインダー104を用いることで、画像表示部28による電子ファインダー機能を使用すること無しに撮影を行うことが可能である。また、上述したように、光学ファインダー104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示などの情報表示がなされる。   The optical finder 104 is, for example, a TTL finder, and forms an image of a light flux passing through the lens unit 10 using a prism or a mirror. By using the optical finder 104, shooting can be performed without using the electronic finder function of the image display unit. In addition, as described above, in the optical finder 104, a part of the functions of the display unit 54, such as an in-focus display, a shake alert display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, etc. Information is displayed.

有線通信部110は、RS232C、USB、IEEE1394、P1284、SCSI、モデム、LAN等による通信を行う。コネクタ112は、有線通信部110によりデジタルカメラ100と外部装置との通信を行う際に、ケーブルを接続するためのコネクタである。   The wired communication unit 110 performs communication by RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN or the like. The connector 112 is a connector for connecting a cable when the wired communication unit 110 communicates with the digital camera 100 and an external device.

無線通信部114は、IEEE802.11a/b/g等の無線LAN通信、Bluetooth(登録商標)、IrDA等による通信を行う。アンテナ116は、無線通信部114によりデジタルカメラ100と外部装置との通信を行う際に用いる。   The wireless communication unit 114 performs wireless LAN communication such as IEEE 802.11a / b / g, and communication by Bluetooth (registered trademark), IrDA, and the like. The antenna 116 is used when the wireless communication unit 114 communicates with the digital camera 100 and an external device.

識別情報記憶部118は、無線通信部114、アンテナ116を介して外部装置(不図示)と無線通信を行う際に、通信に先立って認証を行うための各種識別情報を格納する。識別情報記憶部118は、例えば書き換え可能な不揮発性メモリから構成される。   The identification information storage unit 118 stores various identification information for performing authentication prior to communication when performing wireless communication with an external device (not shown) via the wireless communication unit 114 and the antenna 116. The identification information storage unit 118 includes, for example, a rewritable non-volatile memory.

(全体動作)
図2は、本発明の第1の実施形態に係るデジタルカメラ100の全体的な動作を説明するフローチャートである。
電源スイッチ60が操作され電源がオンに切り替わると、S201においてシステム制御部50はフラグや制御変数等を初期化する。初期化処理の中で、主顔選択フラグは解除される。続いて、S202において、システム制御部50は、メモリカード200に記録されているファイルに関する管理処理を開始する。
(Overall operation)
FIG. 2 is a flow chart for explaining the overall operation of the digital camera 100 according to the first embodiment of the present invention.
When the power switch 60 is operated and the power is switched on, the system control unit 50 initializes a flag, a control variable, and the like in S201. During the initialization process, the main face selection flag is cleared. Subsequently, in S202, the system control unit 50 starts management processing relating to the file recorded in the memory card 200.

次に、S203、S205、S207において、システム制御部50は、モードダイアル72の設定位置を判断する。静止画記録モードに設定されていたならば処理はS203からS204へ進み、静止画記録モード処理を実行する。S204の静止画記録モード処理の詳細は図3を用いて後述する。モードダイアル72が動画記録モードに設定されていたならば、処理はS203、S205を経てS206へ進み、動画記録モード処理を実行する。また、モードダイアル72が再生モードに設定されていた場合、処理はS203、S205、S207を経てS208へ進み、再生モード処理を実行する。   Next, in steps S203, S205, and S207, the system control unit 50 determines the set position of the mode dial 72. If the still image recording mode has been set, the process advances from step S203 to step S204 to execute still image recording mode processing. Details of the still image recording mode process of S204 will be described later with reference to FIG. If the mode dial 72 is set to the moving image recording mode, the process proceeds to S206 through S203 and S205, and executes the moving image recording mode process. If the mode dial 72 is set to the reproduction mode, the process proceeds to S208 through S203, S205, and S207, and the reproduction mode process is executed.

また、その他のモードに設定されていた場合、処理はS209へ進み、システム制御部50は選択されたモードに応じた処理を実行する。その他のモードとしては例えばメモリカード200に格納されたファイルの送信を行う送信モード処理、外部機器からファイルを受信してメモリカード200に格納する受信モード処理が含まれる。   If the other mode is set, the process proceeds to S209, and the system control unit 50 executes the process according to the selected mode. Other modes include, for example, transmission mode processing for transmitting a file stored in the memory card 200, and reception mode processing for receiving a file from an external device and storing the file in the memory card 200.

S204、S206、S208、S209のうちのモードダイアル72によって設定されたモードに対応した処理を実行した後、処理はS210へ進む。S210において、システム制御部50は電源スイッチ60の設定位置を判断する。電源スイッチ60が電源オンに設定されていれば、S203に処理を戻す。一方、電源スイッチ60が電源オフに設定されていたならば、処理はS210からS211へ進み、システム制御部50は終了処理を行う。   After the process corresponding to the mode set by the mode dial 72 among S204, S206, S208, and S209 is performed, the process proceeds to S210. In S210, the system control unit 50 determines the setting position of the power switch 60. If the power switch 60 is set to power on, the process returns to S203. On the other hand, if the power switch 60 is set to power off, the process proceeds from S210 to S211, and the system control unit 50 performs the end process.

終了処理には、例えば以下の処理が含まれる。すなわち、画像表示部28の表示を終了状態に変更し、バリア102を閉じてレンズ部10を保護し、フラグや制御変数等を含むパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源供給が不要な部分への電源を遮断する。S211の終了処理が完了すると、システム制御部50は、電源制御部80を制御して電源をOFF状態へ移行させる。   The end processing includes, for example, the following processing. That is, the display of the image display unit 28 is changed to the end state, the barrier 102 is closed to protect the lens unit 10, and parameters and setting values including setting flags and control variables are recorded in the non-volatile memory 56. Shut off the power to parts where power supply is unnecessary. When the termination process of S211 is completed, the system control unit 50 controls the power supply control unit 80 to shift the power supply to the OFF state.

(静止画記録モード)
図3は図2のS204における静止画記録モード処理の一例を示すフローチャートである。
なお、図3に示した静止画記録モード処理は、モードダイアル72により他のモードへの切替が行われた場合や、電源スイッチ60がOFFにセットされた場合には終了するものとする。
(Still image recording mode)
FIG. 3 is a flowchart showing an example of the still image recording mode process in S204 of FIG.
The still image recording mode process shown in FIG. 3 is ended when the mode dial 72 switches to another mode or when the power switch 60 is set to OFF.

システム制御部50は、静止画記録モードを開始すると、S301において撮影モードを確定する。撮影モードの確定は、
(1)不揮発性メモリ56より前回の静止画記録モード終了時における撮影モードを取得してシステムメモリ52に格納する、或は、
(2)ユーザにより操作部70が操作されて撮影モードの設定入力があった場合に、その設定入力された撮影モードをシステムメモリ52に格納する、
ことでなされる。
When the system control unit 50 starts the still image recording mode, the system control unit 50 determines a shooting mode in S301. Confirming the shooting mode is
(1) Acquire the shooting mode at the end of the previous still image recording mode from the non-volatile memory 56 and store it in the system memory 52, or
(2) When the user operates the operation unit 70 and the setting input of the shooting mode is made, the set shooting input is stored in the system memory 52,
It is done by

ここで、撮影モードとは撮影シーンに適したシャッター速度や絞り値、ストロボ発光状態、感度設定等を組み合わせて実現されるモードのことである。本実施形態のデジタルカメラ100は例えば以下のような撮影モードを有するものとする。   Here, the shooting mode is a mode realized by combining a shutter speed and an aperture value suitable for a shooting scene, a flash state, a sensitivity setting, and the like. The digital camera 100 according to the present embodiment has, for example, the following shooting mode.

・オートモード:カメラの各種パラメータが、計測された露出値に基づいてデジタルカメラ100に組み込まれたプログラムにより自動的に決定されるモード、
・マニュアルモード:カメラの各種パラメータをユーザが自由に変更可能なモード、
・シーンモード:撮影シーンに適したシャッター速度や絞り値、ストロボ発光状態、感度設定等の組み合わせが自動で設定される。
Auto mode: A mode in which various parameters of the camera are automatically determined by a program incorporated in the digital camera 100 based on the measured exposure value,
-Manual mode: A mode in which the user can freely change various camera parameters,
Scene mode: A combination of shutter speed and aperture value suitable for the shooting scene, flash light emission state, sensitivity setting, etc. is automatically set.

また、シーンモードには以下のようなモードが含まれるものとする。
・ポートレートモード:背景をぼかして人物を浮き立たせるようにして人物撮影に特化したモード、
・夜景モード:人物にストロボ光をあて背景を遅いシャッター速度で記録する、夜景シーンに特化したモード、
・風景モード:広がりのある風景シーンに特化したモード、
・ナイト&スナップモード:三脚なしで夜景と人物をきれいに撮るのに適したモード、
・キッズ&ペットモード:よく動き回る子供やペットをシャッターチャンスを逃さず撮影可能にしたモード、
・新緑&紅葉モード:新緑等の木々や葉を色鮮やかに撮影するのに適したモード、
・パーティーモード:蛍光灯や電球のもとで、手振れを抑えて被写体に忠実な色味で撮影するモード、
・スノーモード:雪景色をバックにしても人物が暗くならず、青みも残さず撮影するモード、
・ビーチモード:太陽光の反射の強い海面や砂浜でも、人物などが暗くならずに撮影可能なモード、
・花火モード:打ち上げ花火を最適な露出で鮮やかに撮影するためのモード
・水族館モード:屋内の水槽内の魚などを撮影するのに適した感度、ホワイトバランス、色味を設定するモード、
・水中モード:水中に最適なホワイトバランスに設定し、青みを押さえた色合いで撮影するモード。
In addition, the scene mode includes the following modes.
・ Portrait mode: A mode specialized for person shooting, with a blurred background to make the person stand out,
・ Night scene mode: A mode specialized for night scene scenes, where strobe light is applied to a person and the background is recorded at a slow shutter speed,
・ Landscape mode: A mode that specializes in expansive landscape scenes,
・ Night & Snap mode: A mode suitable for taking pictures of night scenes and people without a tripod
・ Kids & Pet mode: A mode that enables shooting moving children and pets without missing a photo opportunity.
-Fresh green & autumn leaves mode: A mode suitable for photographing trees and leaves such as fresh green in a colorful manner,
-Party mode: A mode that shoots with the color faithful to the subject, suppressing camera shake under fluorescent lights and light bulbs,
・ Snow mode: A mode in which the person does not get dark even when the snow scene is back, and the blue color is not left,
-Beach mode: A mode in which people and others can shoot without getting dark, even on a sea surface or sand beach with strong sunlight reflections,
-Fireworks mode: A mode for shooting vivid fireworks with optimal exposure-Aquarium mode: A mode for setting the sensitivity, white balance, and color tone, which are suitable for shooting fish etc. in an indoor aquarium
-Underwater mode: A mode in which you can set the white balance to the best for underwater and shoot in bluish tints.

S302において、システム制御部50は、S301において撮影モードが確定すると、続いて撮像素子14からの画像データを画像表示部28に逐次表示するスルー表示を開始させる。これにより、画像表示部28はEVFとして機能する。   In step S302, when the imaging mode is determined in step S301, the system control unit 50 subsequently starts through display in which the image display unit 28 sequentially displays the image data from the imaging device 14. Thus, the image display unit 28 functions as an EVF.

続いて、S303において、システム制御部50は、電源制御部80を用いて電池等により構成される残容量や、メモリカード200の有無や残容量がデジタルカメラ100の動作に問題があるか否かを判定する。問題があるならば、システム制御部50は、S304において、画像表示部28を用いて画像や音声により所定の警告表示を行い、処理をS301に戻す。   Subsequently, in S303, the system control unit 50 determines whether there is a problem in the operation of the digital camera 100 with the remaining capacity constituted by a battery or the like using the power control unit 80, the presence or absence of the memory card 200, and the remaining capacity. Determine If there is a problem, the system control unit 50 causes the image display unit 28 to display a predetermined warning with an image or a sound in S304, and returns the process to S301.

メモリカード200の状態に問題が無いならば、S305において、システム制御部50は、必要に応じてAF枠(焦点検出領域)の設定を行う。本実施形態において、AF枠は、操作部70に含まれるメニューボタンを押すことで画像表示部28に表示されるメニュー画面(不図示)や、操作部70に含まれるAF枠設定用の操作部材を操作することでユーザが任意に設定可能である。   If there is no problem in the state of the memory card 200, the system control unit 50 sets an AF frame (focus detection area) as needed in S305. In the present embodiment, the AF frame is a menu screen (not shown) displayed on the image display unit 28 by pressing a menu button included in the operation unit 70, and an operation member for AF frame setting included in the operation unit 70. The user can arbitrarily set by operating.

本実施形態のデジタルカメラ100では、AF枠設定の選択肢としては、
中央の1枠をAFエリアとする「中央」、
AFエリアを操作部70に含まれる操作部材によってユーザが任意の位置に移動可能な「アクティブ」、
9枠のAFエリアを設定し合焦動作を行う「AiAF」、
検出した顔位置に応じてAFエリアを設定する「顔優先」
が含まれるものとする。
In the digital camera 100 according to the present embodiment, the AF frame setting options are:
"Center", with one frame in the center as the AF area,
“Active” which allows the user to move the AF area to any position by the operation member included in the operation unit 70,
"Ai AF" to set 9 AF areas and perform focusing operation,
Set the AF area according to the detected face position "Face priority"
Shall be included.

システム制御部50はAF枠設定が「顔優先」であるか否かを判断し(S320)、「顔優先」でなければS307に進む。AF枠設定が「顔優先」である場合はS306に進む。   The system control unit 50 determines whether or not the AF frame setting is "face priority" (S320), and if it is not "face priority", the process proceeds to S307. If the AF frame setting is “face priority”, the process advances to step S306.

S306において、システム制御部50は、スルー表示される画像中から被写体の一例としての人の顔(顔領域)が存在するか否かを検知する顔検出処理を行う。この、被写体検出処理の一例としての顔検出処理の詳細については図4を用いて後述する。システム制御部50は、顔検出処理において顔領域が検出された場合、検出された顔領域の位置座標、サイズ(幅、高さ)、検出個数、信頼性係数等を顔情報としてシステムメモリ52に記憶する。顔検出処理において顔領域が検出されなかった場合、システムメモリ52内の顔情報に0を設定する。顔検出処理(S306)を終えたらS321に進む。   In step S306, the system control unit 50 performs face detection processing to detect whether or not there is a human face (face area) as an example of the subject in the through-displayed image. The details of the face detection process as an example of the subject detection process will be described later with reference to FIG. When the face area is detected in the face detection process, the system control unit 50 uses the position information of the detected face area, the size (width, height), the number of detections, the reliability coefficient, etc. Remember. If no face area is detected in the face detection process, 0 is set to face information in the system memory 52. When the face detection process (S306) is completed, the process proceeds to S321.

S321でシステム制御部50は、システムメモリ52に記憶された被写体情報の一例としての顔情報を参照し、検出された顔領域の中から主被写体の一例としての主顔領域を選択する。この主顔選択処理(S321)については図6を用いて後述する。   In step S321, the system control unit 50 refers to the face information as an example of the subject information stored in the system memory 52, and selects a main face area as an example of the main subject from the detected face areas. The main face selection process (S321) will be described later with reference to FIG.

S321における主顔選択はユーザ操作によることもでき、本実施形態において、ユーザ操作により主顔が指定された場合、システム制御部50は主顔選択フラグを設定する。   The main face selection in S321 may be performed by a user operation. In the present embodiment, when a main face is specified by a user operation, the system control unit 50 sets a main face selection flag.

画像表示部28によるスルー表示の例を図10に示す。
図10(a)は主顔選択フラグが設定されていない場合、すなわち撮像装置が主顔を自動で決定した場合の表示例を、図10(b)は、主顔選択フラグが設定されている場合の表示例をそれぞれ示す。
An example of through display by the image display unit 28 is shown in FIG.
FIG. 10A shows a display example when the main face selection flag is not set, that is, when the imaging apparatus automatically determines the main face, and FIG. 10B shows the display example when the main face selection flag is set. The example of a case is shown, respectively.

図10(a)では主被写体の顔領域を示す白色の顔枠120と共に、他の被写体(主被写体以外の被写体)の顔領域にも灰色の顔枠121を表示している。なお、本実施形態においては、表示処理負荷および表示レートの関係上、スルー表示時に表示する顔枠の上限数を3としている。一方、図10(b)ではユーザが選択した主被写体についてのみ白色の顔枠120を表示している。   In FIG. 10A, a gray face frame 121 is displayed in the face area of another subject (subject other than the main subject) together with the white face frame 120 indicating the face area of the main subject. In the present embodiment, the upper limit number of face frames to be displayed at the time of through display is three in view of the display processing load and the display rate. On the other hand, in FIG. 10B, the white face frame 120 is displayed only for the main subject selected by the user.

続いてS307において、システム制御部50は、第1シャッタースイッチSW1 62がONか否かを判定する。第1シャッタースイッチSW1 62がOFFの場合は、処理はS305に戻り、S305、S306の処理を繰り返す。   Subsequently, in step S307, the system control unit 50 determines whether the first shutter switch SW1 62 is ON. If the first shutter switch SW1 62 is off, the process returns to S305, and the processes of S305 and S306 are repeated.

一方、第1シャッタースイッチSW1 62がONの場合は、S322において、システム制御部50は、合焦制御部42を制御して焦点検出処理を行い、レンズ部10の焦点を被写体に合わせ、S308に進む。この焦点検出処理については図7を用いて後述する。   On the other hand, when the first shutter switch SW1 62 is ON, the system control unit 50 controls the focusing control unit 42 to perform focus detection processing in S322, and brings the lens unit 10 into focus on the subject. move on. The focus detection process will be described later with reference to FIG.

S308において、システム制御部50は、測光処理を行って絞り値及びシャッター時間(シャッタースピード)を決定する。なお、測光処理において、必要であればフラッシュの設定も行われる。このとき、S306において顔(顔領域)が検出されていれば、検出した顔の範囲で測光を行うようにすることも可能である。   In step S308, the system control unit 50 performs photometric processing to determine the aperture value and the shutter time (shutter speed). In the photometric processing, flash setting is also performed if necessary. At this time, if a face (face area) is detected in S306, it is also possible to perform photometry in the range of the detected face.

次に、S323において、システム制御部50は、S322における焦点検出結果を示す合焦表示を画像表示部28に行う。この合焦表示処理の詳細は図8を用いて後述する。   Next, in step S323, the system control unit 50 causes the image display unit 28 to perform in-focus display indicating the focus detection result in step S322. The details of the in-focus display process will be described later with reference to FIG.

次に、S309、S310では、第1シャッタースイッチSW1 62と第2シャッタースイッチSW2 64のON/OFF状態を判定する。第1シャッタースイッチSW1 62がONした状態で第2シャッタースイッチSW2 64がONになると、処理はS309からS311へ進む。第1シャッタースイッチSW1 62がOFFになると(第2シャッタースイッチSW2 64がONせずに、更に第1シャッタースイッチSW1 62も解除された場合)、処理はS310からS305へ戻る。また、第1シャッタースイッチSW1 62がON、第2シャッタースイッチSW2 64がOFFの間は、S309,S310の処理が繰り返される。   Next, in S309 and S310, the ON / OFF states of the first shutter switch SW1 62 and the second shutter switch SW2 64 are determined. If the second shutter switch SW2 64 is turned on while the first shutter switch SW1 62 is turned on, the process proceeds from step S309 to step S311. When the first shutter switch SW1 62 is turned off (when the first shutter switch SW1 62 is also released without turning on the second shutter switch SW2 64), the process returns from S310 to S305. Further, while the first shutter switch SW1 62 is ON and the second shutter switch SW2 64 is OFF, the processing of S309 and S310 is repeated.

第2シャッタースイッチSW2 64がONになると、S311において、システム制御部50は、画像表示部28の表示状態をスルー表示から固定色表示状態に設定する。そして、S312において、システム制御部50は、各部を制御して露光処理や現像処理を含む撮影処理を実行する。なお、露光処理では、A/D変換器16を経て得られた画像データ、或いはA/D変換器16から直接メモリ30に書き込まれる。また、現像処理では、システム制御部50が、画像処理部20を制御し、必要に応じてメモリ30に書き込まれた画像データを読み出して各種処理を行う。この撮影処理の詳細は図5を用いて後述する。   When the second shutter switch SW2 64 is turned on, in step S311, the system control unit 50 sets the display state of the image display unit 28 from the through display to the fixed color display state. Then, in step S312, the system control unit 50 controls each unit to execute an imaging process including an exposure process and a development process. In the exposure processing, the image data obtained through the A / D converter 16 or the A / D converter 16 is directly written to the memory 30. Further, in the development processing, the system control unit 50 controls the image processing unit 20, reads out the image data written in the memory 30 as necessary, and performs various processing. The details of this shooting process will be described later with reference to FIG.

次に、システム制御部50は、S313において、画像表示部28に対し撮影処理で得られた画像データのクイックレビュー処理を行う。クイックレビュー処理とは、撮影画像の確認のために、被写体の撮影後、メモリカード200への記録前に、予め決められた時間(レビュー時間)だけ画像データを画像表示部28に表示する処理である。   Next, in step S313, the system control unit 50 performs quick review processing of the image data obtained by the photographing processing on the image display unit. The quick review process is a process of displaying image data on the image display unit 28 for a predetermined time (review time) before recording on the memory card 200 after shooting an object for confirmation of a photographed image. is there.

クイックレビュー表示後、S314において、システム制御部50は撮影処理で得られた画像データを画像ファイルとしてメモリカード200に対して書き込む記録処理を実行する。   After the quick review display, in step S314, the system control unit 50 executes a recording process of writing the image data obtained by the photographing process into the memory card 200 as an image file.

S314の記録処理が終了すると、S315において、システム制御部50は、第2シャッタースイッチSW2 64のON/OFF状態を判定する。第2シャッタースイッチSW2 64がONの場合は、S315の判定を繰り返し、第2シャッタースイッチSW2 64がOFFになるのを待つ。第2シャッタースイッチSW2 64がONの間、クイックレビュー処理による表示を継続させる。即ち、S314の記録処理が終了した際に、第2シャッタースイッチSW2 64がOFFになるまで画像表示部28におけるクイックレビュー表示を継続させる。このように構成することにより、ユーザは、シャッターボタンの全押し状態を継続することで、クイックレビュー表示された撮影画像データの確認を入念に行うことが可能となる。   When the recording process of S314 is completed, the system control unit 50 determines the ON / OFF state of the second shutter switch SW2 64 in S315. If the second shutter switch SW2 64 is ON, the determination in S315 is repeated to wait for the second shutter switch SW2 64 to be OFF. While the second shutter switch SW2 64 is ON, the display by the quick review process is continued. That is, when the recording process of S314 is completed, the quick review display on the image display unit 28 is continued until the second shutter switch SW2 64 is turned OFF. With this configuration, the user can carefully check the captured image data displayed in the quick review by continuing the full-press state of the shutter button.

ユーザがシャッターボタンを全押し状態にして撮影を行った後、シャッターボタンから手を放すなどして全押し状態が解除されると、第2シャッタースイッチSW2 64がOFFとなり、処理はS315からS316へ進む。S316において、システム制御部50は、クイックレビュー表示の予め定められた最小表示時間(ミニマムレビュー時間)が経過したか否かを判断する。システム制御部50は、ミニマムレビュー時間が経過していれば処理をS317に進め、未経過であればミニマムレビュー時間の経過を待つ。   After the user takes a picture with the shutter button fully pressed, the second shutter switch SW2 64 is turned off when the fully pressed state is released by releasing the shutter button, etc., and the process proceeds from S315 to S316. move on. In S316, the system control unit 50 determines whether or not a predetermined minimum display time (minimum review time) of the quick review display has elapsed. If the minimum review time has elapsed, the system control unit 50 proceeds to S317. If the minimum review time has not elapsed, the system control unit 50 waits for the minimum review time to elapse.

S317において、システム制御部50は、画像表示部28の表示状態をクイックレビュー表示からスルー表示状態に戻す。この処理により、クイックレビュー表示によって撮影画像データを確認した後、画像表示部28の表示状態は次の撮影のために撮像素子14からの画像データを逐次表示するスルー表示状態に自動的に切り替わることになる。   In S317, the system control unit 50 returns the display state of the image display unit 28 from the quick review display to the through display state. After the photographed image data is confirmed by the quick review display by this processing, the display state of the image display unit 28 is automatically switched to the through display state in which the image data from the imaging element 14 is sequentially displayed for the next photographing. become.

そして、S318において、システム制御部50は、第1シャッタースイッチSW1 62のON/OFFを判定し、第1シャッタースイッチSW1 62がONの場合はS309へ、OFFの場合はS305へ処理を戻す。即ち、シャッターボタンの半押し状態が継続している(第1シャッタースイッチSW1 62がON)場合は、システム制御部50は次の撮影に備える(S309)。一方、シャッターボタンが放された状態(第1シャッタースイッチSW1 62がOFF)であったならば、システム制御部50は、一連の撮影動作を終えて撮影待機状態に戻る(S305)。   Then, in S318, the system control unit 50 determines whether the first shutter switch SW1 62 is ON / OFF, and returns the process to S309 when the first shutter switch SW1 62 is ON, and returns the process to S305 when the first shutter switch SW1 62 is OFF. That is, when the half-pressed state of the shutter button continues (the first shutter switch SW1 62 is ON), the system control unit 50 prepares for the next photographing (S309). On the other hand, if the shutter button is released (the first shutter switch SW1 62 is OFF), the system control unit 50 ends the series of shooting operations and returns to the shooting standby state (S305).

(顔検出処理)
次に、図3のS306における顔検出処理の一例を、図4に示すフローチャートを用いて説明する。上述したように、顔検出処理は被写体検出処理の一例であり、他の方法で被写体検出を行っても良い。
(Face detection process)
Next, an example of the face detection process in S306 of FIG. 3 will be described using the flowchart shown in FIG. As described above, the face detection process is an example of the subject detection process, and the subject detection may be performed by another method.

S401において、システム制御部50は、顔検出対象の画像データをメモリ30から画像処理部20に送る。S402において、システム制御部50の制御下で画像処理部20は、画像データに水平方向バンドパスフィルタを作用させる。また、S403において、システム制御部50の制御下で画像処理部20は、S402で処理された画像データに垂直方向バンドパスフィルタを作用させる。これら水平及び垂直方向のバンドパスフィルタ処理により、画像データよりエッジ成分が検出される。   In step S <b> 401, the system control unit 50 sends image data to be face detected from the memory 30 to the image processing unit 20. In step S402, the image processing unit 20 applies a horizontal band pass filter to the image data under the control of the system control unit 50. In addition, in step S403, under the control of the system control unit 50, the image processing unit 20 applies a vertical band pass filter to the image data processed in step S402. Edge components are detected from image data by band pass filtering in the horizontal and vertical directions.

その後、S404において、システム制御部50は、検出されたエッジ成分に関してパターンマッチングを行い、目及び鼻、口、耳の候補群を抽出する。そして、S405において、システム制御部50は、S404で抽出された目の候補群の中から、予め設定された条件(例えば2つの目の距離、傾き等)を満たす一対の候補を、目の対と判断する目検出処理を行なう。そして、システム制御部50は、目の対を形成しない候補を取り除いて目の候補群を絞り込む。   After that, in S404, the system control unit 50 performs pattern matching on the detected edge components, and extracts eye, nose, mouth, and ear candidate groups. Then, in S405, the system control unit 50 selects, from among the eye candidate groups extracted in S404, a pair of candidates satisfying a preset condition (for example, distance between two eyes, inclination, etc.) Perform eye detection processing to judge that Then, the system control unit 50 narrows down the eye candidate group by removing candidates that do not form eye pairs.

そして、S406において、システム制御部50は、S405で絞り込まれた目の候補群とそれに対応する顔を形成する他のパーツ(鼻、口、耳)を対応付け、また、予め設定した非顔条件フィルタを通すことで、顔(顔領域)を検出する。S407において、システム制御部50は、S406で検出した顔領域について、被写体情報の一例としての顔情報(顔領域の位置座標、サイズ(幅、高さ)、検出個数、信頼性係数等)を算出し、システムメモリ52に記憶し、処理を終了する。   Then, in S406, the system control unit 50 associates the eye candidate group narrowed down in S405 with the other parts (nose, mouth, ear) forming the face corresponding thereto, and also sets the non-face condition set in advance. A face (face area) is detected by passing the filter. In step S407, the system control unit 50 calculates face information (position coordinates of the face area, size (width, height), number of detections, reliability coefficient, etc.) as an example of the subject information for the face area detected in step S406. Stored in the system memory 52, and the process ends.

以上のようにスルー表示される画像データを用いて、画像データの特徴量を抽出して被写体情報を検出することが可能である。本実施形態では被写体情報として顔情報を例に挙げたが、スルー表示される画像データから取得できる被写体情報には他にも赤目情報等の様々な情報がある。   As described above, it is possible to extract the feature amount of the image data and detect the subject information by using the image data which is through-displayed. In the present embodiment, face information is taken as an example of subject information, but subject information that can be acquired from through-displayed image data includes various other information such as red-eye information.

(撮影処理)
図5は図3のS312における撮影処理の一例を示すフローチャートである。
S501において、システム制御部50は、撮影開始時にその日時を例えば内蔵システムタイマ(図示せず)より取得し、システムメモリ52に記憶する。続いて、S502において、システムメモリ52に記憶されている測光データに従い、絞り機能を有するシャッター12を絞り値に応じて開放する。こうして、露光が開始される(S503)。
(Shooting process)
FIG. 5 is a flowchart showing an example of the photographing process in S312 of FIG.
In S501, the system control unit 50 acquires the date and time at the start of shooting from, for example, an internal system timer (not shown) and stores the date and time in the system memory 52. Subsequently, in step S502, the shutter 12 having the aperture function is opened according to the aperture value in accordance with the photometric data stored in the system memory 52. Thus, exposure is started (S503).

S504において、システム制御部50は、測光データに従った露光時間の経過を待つ。露光終了時刻に到達すると、S505において、システム制御部50はシャッター12を閉じる。そして、S506において、撮像素子14から電荷信号を読み出し、A/D変換器16及びメモリ制御部22を通じて、或いはA/D変換器16から直接、メモリ30に画像データを書き込む。S501〜S506が露光処理に対応する。   In S504, the system control unit 50 waits for the elapse of the exposure time according to the photometric data. When the exposure end time is reached, the system control unit 50 closes the shutter 12 in S505. Then, in S506, the charge signal is read from the imaging device 14, and the image data is written to the memory 30 directly through the A / D converter 16 and the memory control unit 22 or from the A / D converter 16. S501 to S506 correspond to the exposure processing.

続いて、S507において、システム制御部50は必要に応じて画像処理部20や圧縮伸長部32を用い、メモリ30に書き込まれた画像データに対して画像処理を行う。この画像処理には、例えば、画像処理部20によるホワイトバランス処理や、圧縮伸長部32を用いた圧縮処理等が含まれる。画像処理が行われた画像データはメモリ30に書き込まれる。   Subsequently, in S507, the system control unit 50 performs image processing on the image data written in the memory 30, using the image processing unit 20 and the compression / decompression unit 32 as necessary. The image processing includes, for example, white balance processing by the image processing unit 20, compression processing using the compression / decompression unit 32, and the like. The image data subjected to the image processing is written to the memory 30.

そして、S508において、システム制御部50は、メモリ30から画像データを読み出し、これを圧縮伸長部32を用いて伸張し、画像表示部28での表示用にリサイズする。そして、リサイズされた画像データを画像表示部28に表示するべくD/A変換器26に転送する。一連の処理を終えたならば、撮影処理を終了する。   Then, in S508, the system control unit 50 reads the image data from the memory 30, decompresses this using the compression / decompression unit 32, and resizes it for display on the image display unit 28. Then, the resized image data is transferred to the D / A converter 26 to be displayed on the image display unit 28. When the series of processes are completed, the photographing process is ended.

(主顔選択処理)
図6は図3のS321における主顔選択処理の一例を示すフローチャートである。上述したように、主顔選択処理は主被写体選択処理の一例であり、他の方法で主被写体の選択を行っても良い。
(Major face selection process)
FIG. 6 is a flowchart showing an example of the main face selection process in S321 of FIG. As described above, the main face selection process is an example of the main subject selection process, and the main subject may be selected by another method.

システム制御部50は、操作部70に含まれる主顔選択ボタン(図示せず)が操作されたか否か(ONかOFFか)を判断する(S601)。そして、ONであればS602へ、OFFであればS608へそれぞれ処理を進める。   The system control unit 50 determines whether a main face selection button (not shown) included in the operation unit 70 has been operated (ON or OFF) (S601). And if it is ON, the process proceeds to S602, and if it is OFF, the process proceeds to S608.

S602で、システム制御部50は、システムメモリ52に記憶されている顔情報のうち、検出された顔(被写体)の数を参照し、顔が1つも検出されていなければS608に進む。また、顔が検出されていた場合はS603に進み、検出された顔の数が1つかどうか判定する。そして、システム制御部50は、顔の検出数が1であればS604へ、顔の検出数が2以上であればS606へそれぞれ処理を進める。   In step S602, the system control unit 50 refers to the number of detected faces (subjects) among the face information stored in the system memory 52, and proceeds to step S608 if no face is detected. If a face has been detected, the process advances to step S603 to determine whether the number of detected faces is one. Then, the system control unit 50 advances the processing to step S604 if the number of detected faces is one, and to step S606 if the number of detected faces is two or more.

S604において、システム制御部50は、唯一検出された顔を主顔に設定する(S604)。そして、システム制御部50は、システムメモリ52等に記憶される主顔選択フラグを設定し(S605)、処理をS601に戻す。   In S604, the system control unit 50 sets the uniquely detected face as the main face (S604). Then, the system control unit 50 sets a main face selection flag stored in the system memory 52 or the like (S605), and returns the process to S601.

顔(被写体)が複数検出されていた場合、システム制御部50はS603において、複数の顔の1つを主顔(主被写体)に設定する。既に主顔として選択されている顔がある場合には、現在主顔に選択されている顔以外の1つ(次の1つ)を主顔に設定する(S606)。そして、システムメモリ52等に記憶される主顔選択フラグを設定し(S607)、処理をS601に戻す。つまり、顔が複数検出されている場合、主顔選択ボタンがONである間、複数の顔が順次、主顔として選択された状態となる。そのため、ユーザは、所望の顔が主顔として選択された状態になるまで主顔選択ボタンをONに維持することで、所望の顔を主顔(主被写体)として選択することができる。   If a plurality of faces (subjects) are detected, the system control unit 50 sets one of the plurality of faces as a main face (main subject) in S603. If there is a face that has already been selected as the main face, one (next one) other than the face currently selected as the main face is set as the main face (S606). Then, a main face selection flag stored in the system memory 52 or the like is set (S 607), and the process returns to S 601. That is, when a plurality of faces are detected, the plurality of faces are sequentially selected as the main face while the main face selection button is ON. Therefore, the user can select the desired face as the main face (main subject) by maintaining the main face selection button ON until the desired face is selected as the main face.

主顔選択ボタンがOFFの状態であるか、主顔選択ボタンがONでも顔検出数が0の場合、処理はS608に進む。S608でシステム制御部50は、操作部70に含まれる主顔選択解除ボタン(図示せず)が操作されたか否か(ONかOFFか)を判断する。そして、ONであればS609へ、OFFであればS610へそれぞれ処理を進める。   If the main face selection button is off or if the number of face detections is 0 even if the main face selection button is on, the process proceeds to step S608. In step S608, the system control unit 50 determines whether a main face selection release button (not shown) included in the operation unit 70 has been operated (ON or OFF). If it is ON, the process proceeds to S609, and if it is OFF, the process proceeds to S610.

主顔選択解除ボタンがONの場合、S608でシステム制御部50は、システムメモリ52等に記憶される主顔選択フラグを解除し(S609)、処理をS610に進める。
S610において、システム制御部50は、システムメモリ52等に記憶される主顔選択フラグを参照し、フラグが設定されていればS321の主顔選択処理を終了する。
If the main face selection cancellation button is ON, the system control unit 50 cancels the main face selection flag stored in the system memory 52 or the like in S608 (S609), and advances the process to S610.
In S610, the system control unit 50 refers to the main face selection flag stored in the system memory 52 or the like, and ends the main face selection process of S321 if the flag is set.

主顔選択フラグが設定されていない場合(S610)、システム制御部50は、システムメモリ52に記憶されている顔情報を基に主顔を決定し(S611)、S321の主顔選択処理を終了する。S611では例えば、顔検出数が0であれば主顔選択を行わない。また、顔検出数が1であれば検出された顔を自動的に主顔として選択する。また、顔検出数が複数、すなわち2以上の場合、位置が画面の中央に近いほど、サイズが大きいほど優先度を高くすることにより、複数の顔の中から最も優先度の高い顔を主顔として選択することができる。もちろん、位置や大きさだけでなく、信頼度など他の情報を考慮して主顔を選択しても良いことは言うまでもない。   If the main face selection flag is not set (S610), the system control unit 50 determines the main face based on the face information stored in the system memory 52 (S611), and ends the main face selection process of S321. Do. In S611, for example, if the face detection number is 0, the main face selection is not performed. If the face detection number is 1, the detected face is automatically selected as the main face. Also, if the number of detected faces is more than one, that is, two or more, the priority is set higher as the position is closer to the center of the screen, and the size is larger. It can be selected as Of course, it goes without saying that the main face may be selected in consideration of other information such as the degree of reliability as well as the position and size.

(焦点検出処理)
図7は図3のS322における焦点検出処理の一例を示すフローチャートである。
システム制御部50は現在のAF枠設定が「顔優先」であるかどうかを判別する(S701)。そして、AF枠設定が「顔優先」以外であれば、AF枠設定に応じた焦点検出処理を行い(S702)、焦点検出処理S322を終了する。
(Focus detection process)
FIG. 7 is a flowchart showing an example of the focus detection process in S322 of FIG.
The system control unit 50 determines whether the current AF frame setting is “face priority” (S701). Then, if the AF frame setting is other than "face priority", focus detection processing according to the AF frame setting is performed (S702), and the focus detection processing S322 ends.

一方、AF枠設定が「顔優先」であった場合、システム制御部50はS703において、システムメモリ52に記憶されている被写体情報の一例としての顔情報を参照する。そして、検出された顔(顔領域)と、各顔領域の中心座標を含む焦点検出領域の対応づけ(設定)を行う(S703)。なお、設定される焦点検出領域のうち、主顔の顔領域に対応するものを主焦点検出領域と呼ぶ。   On the other hand, when the AF frame setting is “face priority”, the system control unit 50 refers to face information as an example of the subject information stored in the system memory 52 in S703. Then, the detected face (face area) is associated (set) with the focus detection area including the center coordinates of each face area (S703). Among the focus detection areas to be set, one corresponding to the face area of the main face is called a main focus detection area.

ここで、中心座標は、顔領域が矩形であるとした場合、例えばその対角線の交点の座標であって良い。あるいは、重心の座標を中心座標としても良い。また、本明細書においては、顔領域を示す矩形枠を顔枠と呼ぶ。   Here, if the face area is rectangular, the center coordinates may be, for example, the coordinates of the intersection of the diagonal lines. Alternatively, the coordinates of the center of gravity may be used as the center coordinates. Further, in the present specification, a rectangular frame indicating a face area is referred to as a face frame.

S704で、システム制御部50は、合焦制御部42を制御し、S703で設定した焦点検出領域での焦点検出を行う。これにより、各顔領域に対応した焦点検出領域での焦点検出処理が行なわれる。焦点検出処理が終わると、システム制御部50は処理をS705に進める。   In step S704, the system control unit 50 controls the focusing control unit 42 to perform focus detection in the focus detection area set in step S703. Thereby, focus detection processing in the focus detection area corresponding to each face area is performed. When the focus detection process ends, the system control unit 50 advances the process to step S705.

S705でシステム制御部50は、主焦点検出領域すなわち主顔に対応する焦点検出領域が合焦であるかどうかを調べ、合焦と判断すればS706へ、合焦と判断されなければS708へそれぞれ処理を進める。   In step S705, the system control unit 50 checks whether the main focus detection area, that is, the focus detection area corresponding to the main face is in focus. If it is determined to be in focus, the process proceeds to step S706. Proceed with the process.

S706で、システム制御部50は、S703において顔領域と対応づけた焦点検出領域の中で、主焦点検出領域に対する焦点検出結果の被写界深度内に含まれる焦点検出領域を合焦枠として処理をS707へと進める。S707で、システム制御部50は、主焦点検出領域の焦点検出結果を合焦位置とし、合焦制御部42によりレンズ部10のフォーカスレンズを合焦位置に駆動して焦点検出処理を終了する。   In step S706, the system control unit 50 processes the focus detection area included in the depth of field of the focus detection result for the main focus detection area as the in-focus frame in the focus detection areas associated with the face area in S703. Advance to S707. In step S707, the system control unit 50 sets the focus detection result of the main focus detection area as the in-focus position, drives the focus lens of the lens unit 10 to the in-focus position by the in-focus control unit 42, and ends the focus detection process.

一方、S708でシステム制御部50は合焦枠なしと判定し、処理をS709へと進める。S709でシステム制御部50は、合焦制御部42によりレンズ部10のフォーカスレンズを予め定めた定点へと駆動して焦点検出処理を終了する。   On the other hand, at S708, the system control unit 50 determines that there is no in-focus frame, and advances the process to S709. In step S709, the system control unit 50 drives the focus lens of the lens unit 10 to a predetermined fixed point by the focusing control unit 42, and ends the focus detection process.

なお、図7のフローチャートでは、AF枠設定が「顔優先」の場合、顔検出数が1以上であるものとして説明したが、S701とS703の間で顔検出数を調べ、顔検出数が0の場合には合焦枠無しとしてS708へ処理を移すようにしてもよい。   In the flowchart of FIG. 7, when the AF frame setting is “face priority”, the face detection number is described as one or more, but the face detection number is checked between S701 and S703, and the face detection number is 0. In this case, the process may be shifted to S 708 with no focusing frame.

(合焦表示)
図8は図3のS323における合焦表示処理の一例を示すフローチャートである。上述の通り、合焦表示は焦点検出領域ごとの焦点検出結果を示す表示であり、「合焦」又は「非合焦」のいずれかを示す。
(In-focus display)
FIG. 8 is a flowchart showing an example of the focus display process in S323 of FIG. As described above, the in-focus display is a display indicating the focus detection result for each focus detection area, and indicates either “in-focus” or “out-of-focus”.

まずS801において、システム制御部50は現在のAF枠設定を参照し、AF枠設定が9枠のAFエリアを設定し合焦動作を行う「AiAF」であれば処理をS802に進める。   First, in step S801, the system control unit 50 refers to the current AF frame setting, and advances the process to S802 if the AF frame setting is “AiAF” that sets an AF area of 9 frames and performs the focusing operation.

S802でシステム制御部50は、焦点検出処理(図3のS322及び図7)の結果を参照し、結果が合焦であればS803へ、非合焦であればS804へそれぞれ処理を進める。   In step S802, the system control unit 50 refers to the result of the focus detection process (step S322 in FIG. 3 and FIG. 7), and advances the process to step S803 if the result is in-focus, or to step S804 if the result is out-of-focus.

S803でシステム制御部50は、画像表示部28を用いて、被写界深度内のAF枠(焦点検出領域)をすべて合焦表示する。合焦表示は例えば、画像表示メモリ24に記憶されている画像データに、AF枠を示す矩形枠の画像データを上書きする等により、枠をスルー表示中の画像に重畳表示することによって行うことができる。S803における表示例を図9(a)に示す。図9(a)では、深度内の3つのAF枠122を合焦表示(緑枠表示)している。   In step S803, the system control unit 50 uses the image display unit 28 to focus-display all AF frames (focus detection areas) within the depth of field. Focus display can be performed, for example, by superimposing a frame on an image being through-displayed by, for example, overwriting image data of a rectangular frame indicating an AF frame on image data stored in the image display memory 24. it can. A display example in S803 is shown in FIG. In FIG. 9A, three AF frames 122 within the depth are displayed in focus (green frame display).

非合焦の場合、S804でシステム制御部50は、画像表示部28に合焦枠表示も非合焦枠表示も行わない。S804における表示例を図9(b)に示す。   In the case of out of focus, the system control unit 50 does not display the in-focus frame display or the out-of-focus frame display on the image display unit 28 in S804. A display example in S804 is shown in FIG.

S801においてAF枠設定が「AiAF」でない場合、システム制御部50はS805で、AF枠設定が「顔優先」かどうか判別する。そして、システム制御部50は、AF枠設定が「顔優先」であった場合にはS806へ、それ以外であればS813へそれぞれ処理を進める。   If the AF frame setting is not “AiAF” in S801, the system control unit 50 determines in S805 whether the AF frame setting is “face priority”. Then, the system control unit 50 advances the processing to step S806 if the AF frame setting is "face priority", and to step S813 otherwise.

S806でシステム制御部50は、例えばシステムメモリ52に記憶した主顔選択フラグを参照し、主顔選択フラグが設定されていなければS807へ、設定されていればS810へ処理を進める。   In step S806, the system control unit 50 refers to, for example, the main face selection flag stored in the system memory 52 and advances the process to step S807 if the main face selection flag is not set, or to step S810 if it is set.

S807でシステム制御部50は、焦点検出処理(図3のS322及び図7)の結果を参照し、結果が合焦(主焦点検出領域が合焦)であればS808へ、非合焦であればS809へ処理を進める。   In S807, the system control unit 50 refers to the result of the focus detection process (S322 in FIG. 3 and FIG. 7), and if the result is in focus (the main focus detection area is in focus), the process proceeds to S808. For example, the process advances to step S809.

S808ではシステム制御部50は、画像表示部28を用いて、被写界深度内の焦点検出領域に対応する顔枠をすべて合焦表示する。表示例を図9(c)に示す。図9(c)は、5人の被写体に対応するAF枠が全て被写界深度内に含まれる場合の表示例を示しており、5人の被写体の顔枠123を同様に合焦表示(緑枠表示)している。
S809ではシステム制御部50は、S804と同様に、画像表示部28に合焦枠表示も非合焦枠表示も行わない。従って表示例は図9(b)のようになる。
In S808, the system control unit 50 uses the image display unit 28 to focus-display all face frames corresponding to the focus detection area within the depth of field. A display example is shown in FIG. 9 (c). FIG. 9C shows a display example when all AF frames corresponding to five subjects are included in the depth of field, and the face frames 123 of the five subjects are similarly displayed in focus ( Green frame is displayed.
In S809, as in S804, the system control unit 50 does not display the in-focus frame display or the out-of-focus frame display on the image display unit 28. Therefore, the display example is as shown in FIG.

S810ではシステム制御部50は焦点検出処理(図3のS322及び図7)の結果を参照し、結果が合焦(主焦点検出領域が合焦)であればS811へ、非合焦であればS812へ処理を進める。   In S810, the system control unit 50 refers to the result of the focus detection process (S322 and FIG. 7 in FIG. 3), and if the result is in focus (the main focus detection area is in focus), the process proceeds to S811. The process advances to step S812.

S811ではシステム制御部50は、画像表示部28を用いて、主焦点検出領域に対応する顔枠、すなわち主顔の顔領域のみについて合焦表示する。表示例を図9(d)に示す。ここでは、主焦点検出領域以外の焦点検出領域の合焦状態に関わらず、主顔についてのみ顔枠124を合焦表示として表示し、主顔以外の顔領域については合焦表示(顔枠の表示)を行わない。   In S811, the system control unit 50 uses the image display unit 28 to focus-display only the face frame corresponding to the main focus detection area, that is, only the face area of the main face. A display example is shown in FIG. 9 (d). Here, regardless of the in-focus state of the focus detection areas other than the main focus detection area, the face frame 124 is displayed as an in-focus display only for the main face, and the in-focus display for the face areas other than the main face Do not display.

このように、主顔選択フラグが設定されている場合、即ちユーザが自ら主顔(主被写体)を設定した場合には、主顔(主被写体)についてのみ合焦表示を行うことで、ユーザの選択した主顔を容易に把握することが可能となる。S811における合焦表示は、ユーザが設定した主顔を識別可能でありさえすれば、主顔以外の顔領域、即ち主被写体以外の被写体について行っても良い。例えば、図9(h)に示すように、被写界深度内の他の顔領域の顔枠128を、主顔に対する顔枠124とは視覚的に異なる形態で表示してもよい。図9(h)に示す例では、主顔に対する顔枠124と、それ以外の顔に対する顔枠128の色を異ならせることで、主顔の識別を容易にしたものである。色を変える以外にも、主顔の顔枠124のみ点滅させたり、顔枠124の太さを変えたりするなど、様々な方法を用いることが出来ることは言うまでもない。   As described above, when the main face selection flag is set, that is, when the user sets the main face (main subject) by itself, the in-focus display is performed only on the main face (main subject). It becomes possible to easily grasp the selected main face. The in-focus display in step S811 may be performed on face areas other than the main face, that is, subjects other than the main subject as long as the main face set by the user can be identified. For example, as shown in FIG. 9H, the face frame 128 of another face area within the depth of field may be displayed in a form visually different from the face frame 124 for the main face. In the example shown in FIG. 9H, the main face can be easily identified by making the face frame 124 for the main face different in color from the face frame 128 for the other faces. It goes without saying that various methods can be used other than changing the color, such as blinking the face frame 124 of the main face or changing the thickness of the face frame 124.

S812ではシステム制御部50は、画像表示部28を用いて、主顔の顔枠を非合焦表示する。表示例を図9(e)に示す。ここでは、S811における主顔の合焦表示(図9(d))と異なる色の顔枠125の表示を非合焦表示(黄枠表示)としている。   In S812, the system control unit 50 uses the image display unit 28 to display the face frame of the main face out of focus. A display example is shown in FIG. 9 (e). Here, the display of the face frame 125 of a color different from the in-focus display (FIG. 9D) of the main face in S811 is displayed as the out-of-focus display (yellow frame display).

S805において、AF枠設定が「顔優先」でない場合は、S813に進み、システム制御部50は焦点検出処理(図3のS322及び図7)の結果を参照する。   If the AF frame setting is not “face priority” in S805, the process proceeds to S813, and the system control unit 50 refers to the result of the focus detection process (S322 in FIG. 3 and FIG. 7).

結果が合焦であった場合は(S813)、システム制御部50は、画像表示部28を用いて、AF枠の合焦表示を行う(S814)。ここではAF枠設定が「中央」もしくは「アクティブ」であり、AF枠が1枠であることを想定している。表示例を図9(f)に示す。ここでは中央のAF枠126を合焦表示(緑枠表示)している。   If the result is in focus (S813), the system control unit 50 uses the image display unit 28 to perform in-focus display of the AF frame (S814). Here, it is assumed that the AF frame setting is “center” or “active” and the AF frame is one frame. A display example is shown in FIG. 9 (f). Here, the center AF frame 126 is displayed in focus (green frame display).

結果が非合焦であった場合(S813)、システム制御部50は、画像表示部28を用いて、AF枠の非合焦表示を行う(S815)。ここではAF枠設定が「中央」もしくは「アクティブ」であり、AF枠が1枠であることを想定している。表示例を図9(g)に示す。中央のAF枠127を非合焦表示(黄枠表示)している。   If the result is out of focus (S813), the system control unit 50 performs out-of-focus display of the AF frame using the image display unit 28 (S815). Here, it is assumed that the AF frame setting is “center” or “active” and the AF frame is one frame. A display example is shown in FIG. The center AF frame 127 is displayed out of focus (yellow frame display).

以上説明したように、本実施形態によれば、撮影画像中から主被写体を設定可能な撮像装置において、主被写体に関する合焦表示を、被写界深度内に含まれる他の被写体(主被写体以外の被写体)に関する合焦表示と視覚的に異ならせる。そのため、被写界深度内に含まれる被写体が多数存在していても、主被写体についての合焦状態が判別しやすくなる。
特に、主被写体をユーザが設定した場合にこのような合焦表示を行うことで、ユーザが意図した主被写体についての合焦状態が特に把握しやすくなり、利便性が高い。
As described above, according to the present embodiment, in the imaging apparatus capable of setting the main subject from the photographed image, the in-focus display regarding the main subject is performed on another subject included in the depth of field (other than the main subject And visually different from the focus display on the subject). Therefore, even if there are many subjects included in the depth of field, it is easy to determine the in-focus state of the main subject.
In particular, when the main subject is set by the user, such in-focus display makes it particularly easy to grasp the in-focus state of the main subject intended by the user, and the convenience is high.

(第2の実施形態)
次に、本発明の第2の実施形態に係る撮像装置について説明する。
なお、本実施形態に係る撮像装置は、第1の実施形態で説明した撮像装置と合焦表示処理(図3、S323及び図7)のみが異なるため、合焦表示処理以外の説明は省略する。本実施形態では、ユーザが、合焦表示に関する設定を行うことが可能であり、この設定(合焦表示設定)に応じた合焦表示を行うことを特徴とする。合焦表示設定は、例えば操作部70に含まれるメニューボタンの押下により画像表示部28に表示されるメニュー画面(不図示)や、操作部70に含まれる合焦表示設定用の操作部材を操作することでユーザが任意に設定可能である。例えばAF枠設定と同様にS305(図3)で設定できるようにすることができる。合焦表示設定は他の設定値と同様、例えば不揮発性メモリ56に記憶される。
Second Embodiment
Next, an imaging device according to a second embodiment of the present invention will be described.
Note that the imaging apparatus according to the present embodiment is different from the imaging apparatus described in the first embodiment only in the in-focus display process (FIG. 3, S323 and FIG. 7), and therefore the description other than the in-focus display process is omitted. . The present embodiment is characterized in that the user can perform setting relating to in-focus display, and performs in-focus display according to the setting (in-focus display setting). Focus display setting is performed by, for example, operating a menu screen (not shown) displayed on the image display unit 28 by pressing a menu button included in the operation unit 70 or an operation member for focus display setting included in the operation unit 70. By doing this, the user can arbitrarily set it. For example, similar to the AF frame setting, the setting can be made in S305 (FIG. 3). The focusing display setting is stored, for example, in the non-volatile memory 56, like the other setting values.

図11は、本発明の第2の実施形態に係る撮像装置が行う合焦表示処理の一例を示すフローチャートである。
まずS1101において、システム制御部50は現在のAF枠設定を参照し、AF枠設定が9枠のAFエリアを設定し合焦動作を行う「AiAF」であればS1103に処理を進める。
FIG. 11 is a flowchart showing an example of focus display processing performed by the imaging device according to the second embodiment of the present invention.
First, in step S1101, the system control unit 50 refers to the current AF frame setting, and proceeds to step S1103 if the AF frame setting is “AiAF” which sets the AF area of 9 frames and performs the focusing operation.

S1101においてAF枠設定が「AiAF」でない場合、システム制御部50はS1102で、AF枠設定が「顔優先」かどうか判別する。そして、システム制御部50は、AF枠設定が「顔優先」であった場合にはS1103へ、それ以外であればS1110へそれぞれ処理を進める。   If the AF frame setting is not "AiAF" in S1101, the system control unit 50 determines in S1102 whether the AF frame setting is "face priority". Then, the system control unit 50 advances the process to step S1103 if the AF frame setting is “face priority”, or to step S1110 otherwise.

S1103でシステム制御部50は、例えば不揮発性メモリ56に記憶された合焦表示設定を参照し、合焦表示設定が「深度内全表示」かどうか判定する。システム制御部50は、合焦表示設定が「深度内全表示」であればS1104へ、そうでなければS1107へ処理を進める。   In step S1103, the system control unit 50 refers to, for example, the in-focus display setting stored in the non-volatile memory 56, and determines whether the in-focus display setting is “full display in depth”. If the in-focus display setting is “full display in depth”, the system control unit 50 proceeds to step S1104, otherwise proceeds to step S1107.

S1104で、システム制御部50は焦点検出処理(図3のS322及び図7)の結果を参照し、結果が合焦(9つのAF枠のいずれか又は主焦点検出領域が合焦)であればS1105へ、非合焦であればS1106へ処理を進める。   In S1104, the system control unit 50 refers to the result of the focus detection process (S322 in FIG. 3 and FIG. 7), and if the result is in focus (any of nine AF frames or the main focus detection area is in focus) If it is not in focus, the process advances to step S1106.

S1105でシステム制御部50は、画像表示部28を用いて、被写界深度内に含まれるAF枠または顔枠をすべて合焦表示する。すなわち、AF枠設定に応じて、「AiAF」の場合は図9(a)、「顔優先」の場合は図9(c)のような合焦表示を行う。
S1106ではシステム制御部50は、画像表示部28に合焦枠表示も非合焦枠表示も行わない(図9(b))。
In step S1105, the system control unit 50 uses the image display unit 28 to focus-display all AF frames or face frames included in the depth of field. That is, according to the AF frame setting, in-focus display as shown in FIG. 9A in the case of “AiAF” and in FIG. 9C in the case of “face priority” is performed.
In S1106, the system control unit 50 does not display the in-focus frame display or the out-of-focus frame display on the image display unit 28 (FIG. 9B).

合焦表示設定が「深度内全表示」でなければ、S1107において、システム制御部50は焦点検出処理(図3のS322及び図7)の結果を参照し、結果が合焦であればS1108へ、非合焦であればS1109へ処理を進める。   If the in-focus display setting is not "full display in depth", the system control unit 50 refers to the result of the focus detection process (S322 in Fig. 3 and Fig. 7) in S1107, and if the result is in-focus, the process proceeds to S1108. If not out of focus, the process advances to step S1109.

S1108でシステム制御部50は、画像表示部28を用いて、主焦点検出領域(AF枠)またはそれに対応する顔枠すなわち主顔の顔領域を合焦表示する。すなわち、AF枠設定に応じて、「AiAF」の場合は図9(f)、「顔優先」の場合は図9(d)のような合焦表示を行う。   In step S1108, the system control unit 50 uses the image display unit 28 to focus-display the main focus detection area (AF frame) or the face frame corresponding thereto, that is, the face area of the main face. That is, according to the AF frame setting, in-focus display as shown in FIG. 9F in the case of “AiAF” and in FIG. 9D in the case of “face priority” is performed.

S1109でシステム制御部50は、画像表示部28を用いて、主焦点検出領域(AF枠)またはそれに対応する顔枠すなわち主顔の顔領域を非合焦表示する。すなわち、AF枠設定に応じて、「AiAF」の場合は図9(g)、「顔優先」の場合は図9(e)のような合焦表示を行う。上述のように、合焦表示と非合焦表示は、AF枠又は顔枠の色のみが異なっていても良い。本実施形態でも第1の実施形態と同様、合焦表示は緑(又は白)、非合焦表示は黄としている。   In step S1109, the system control unit 50 causes the image display unit 28 to display the main focus detection area (AF frame) or the face frame corresponding to it, that is, the face area of the main face out of focus. That is, according to the AF frame setting, in-focus display as shown in FIG. 9G in the case of “AiAF” and in FIG. 9E in the case of “face priority” is performed. As described above, the in-focus indication and the out-of-focus indication may differ only in the color of the AF frame or the face frame. In the present embodiment, as in the first embodiment, the in-focus indication is green (or white) and the out-of-focus indication is yellow.

S1102においてAF枠設定が「顔優先」でない場合、S1110でシステム制御部50は、焦点検出処理(図3のS322及び図7)の結果を参照し、結果が合焦であればS1111へ、非合焦であればS1112へ処理を進める。   If the AF frame setting is not “face priority” in S1102, the system control unit 50 refers to the result of the focus detection process (S322 and FIG. 7 in FIG. 3) in S1110. If in focus, the process advances to step S1112.

S1111で、システム制御部50は、画像表示部28を用いて、AF枠の合焦表示を行う。ここではAF枠設定が「中央」もしくは「アクティブ」であり、AF枠が1枠であることを想定している。表示例を図9(f)に示す。ここでは中央のAF枠を合焦表示(緑枠表示)している。   In step S1111, the system control unit 50 performs in-focus display of the AF frame using the image display unit 28. Here, it is assumed that the AF frame setting is “center” or “active” and the AF frame is one frame. A display example is shown in FIG. 9 (f). Here, the center AF frame is displayed in focus (green frame display).

S1112で、システム制御部50は、画像表示部28を用いて、AF枠の非合焦表示を行う。ここではAF枠設定が「中央」もしくは「アクティブ」であり、AF枠が1枠であることを想定している。表示例を図9(g)に示す。中央のAF枠を非合焦表示(黄枠表示)している。   In step S1112, the system control unit 50 uses the image display unit 28 to perform out-of-focus display of the AF frame. Here, it is assumed that the AF frame setting is “center” or “active” and the AF frame is one frame. A display example is shown in FIG. The center AF frame is displayed out of focus (yellow frame).

第1の実施形態においては、主顔設定をユーザが行ったか否か(主顔選択フラグが設定されているか否か)に応じて、主顔に対応する焦点検出領域の合焦表示の方法を選択するものであった。それに対し、本実施形態では、合焦表示設定が深度内全表示であるか否かに応じて、主顔に対応する焦点検出領域の合焦表示の方法を選択する。   In the first embodiment, a method of focusing display of the focus detection area corresponding to the main face is performed according to whether or not the user has made the main face setting (whether or not the main face selection flag is set). It was a choice. On the other hand, in the present embodiment, the method of focusing display of the focus detection area corresponding to the main face is selected depending on whether or not the focusing display setting is full display in depth.

なお、上述の実施形態では撮像画面内の検出された顔の位置に対応した焦点検出領域を設定し、合焦した場合には顔に対応する焦点検出領域の合焦表示をしているが、その他の画像検出により特定の被写体を検出しても構わない。例えば、背景から被写体像を切り出して検出したりすることも考えられる。その他、外部入力手段から撮像画面内の位置を入力したり、ファインダーを見ている撮影者の視線を検出したりして撮像画面内の位置を決定しても構わない。   In the above-described embodiment, the focus detection area corresponding to the detected face position in the imaging screen is set, and the in-focus display of the focus detection area corresponding to the face is performed when focusing is performed. A specific subject may be detected by other image detection. For example, it is also conceivable to cut out and detect a subject image from the background. In addition, the position in the imaging screen may be determined by inputting the position in the imaging screen from the external input means or detecting the line of sight of the photographer looking at the finder.

また、上述の実施形態では、主顔選択ボタンや主顔選択解除ボタンは専用ボタンとした。しかし、主顔選択/解除操作について、専用のボタンは設けず、例えば、AF枠を設定する際に使用するボタンの長押しや、上下ボタンで対応できるようにしてもよい。また、主顔選択ボタンを設け、主顔選択ボタンの長押しにより主顔選択解除操作を実現させてもよい。   Further, in the above-described embodiment, the main face selection button and the main face selection release button are dedicated buttons. However, for the main face selection / cancellation operation, a dedicated button may not be provided, and for example, a long press on a button used when setting an AF frame or an up and down button may be used. In addition, a main face selection button may be provided, and the main face selection release operation may be realized by long-pressing the main face selection button.

本実施形態においても、ユーザの意図に応じて、主被写体についての合焦状態を把握しやすく表示することが可能になる。   Also in the present embodiment, it is possible to easily display the in-focus state of the main subject according to the user's intention.

10…レンズ部、14…撮像素子、20…画像処理部、22…メモリ制御部、24…画像表示メモリ、40…露光制御部、42…合焦制御部、44…ズーム制御部、50…システム制御部、52…システムメモリ、54…表示部、100…デジタルカメラ DESCRIPTION OF SYMBOLS 10 Lens part 14 Image sensor 20 Image processing part 22 Memory control part 24 Image display memory 40 Exposure control part 42 Focusing control part 44 Zoom control part 50 System Control unit, 52: System memory, 54: Display unit, 100: Digital camera

Claims (15)

レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記主被写体が合焦した場合、
前記主被写体が、前記主被写体を選択するユーザ指示に基づいて前記選択手段により選択されていれば、前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの予め定められた被写界深度内の、前記主被写体以外の被写体に対応する焦点検出領域についての前記焦点検出の結果の違いに関わらず、前記予め定められた被写界深度内の被写体についての合焦表示を、前記主被写体についての前記合焦表示の表示形態が前記主被写体以外の被写体についての前記合焦表示の表示形態とは異なるように表示し、
前記主被写体が前記主被写体を選択するユーザ指示に基づいて前記選択手段により選択されていなければ、前記予め定められた被写界深度内の、前記主被写体を含む被写体についての合焦表示を、同じ表示形態で表示するように制御する
制御手段と、
を有することを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
When the main subject is in focus,
If the main subject is selected by the selection unit based on a user instruction to select the main subject, the result of the focus detection for the focus detection area corresponding to the main subject, and the predetermined setting of the lens unit Focusing on the subject within the predetermined depth of field regardless of the difference in the result of the focus detection for the focus detection area corresponding to the subject other than the main subject within the determined depth of field The display mode is such that the display mode of the in-focus display for the main subject is different from the display mode of the in-focus display for subjects other than the main subject,
If the main subject is not selected by the selection unit based on a user instruction to select the main subject, the in-focus display of the subject including the main subject within the predetermined depth of field is provided. Control means for controlling to display in the same display form;
An imaging apparatus characterized by having:
前記主被写体が、前記主被写体を選択するユーザ指示に基づいて、あるいは検出された複数の被写体それぞれについて前記制御手段によって得られる被写体情報に基づいて選択され、
前記主被写体が前記主被写体を選択するユーザ指示に基づいて選択されていれば、前記制御手段は、前記合焦表示として、前記主被写体に対応する焦点検出領域を表す枠画像と、前記予め定められた被写界深度内の前記主被写体以外の被写体に対応する焦点検出領域を表す枠画像とを、色、太さ、および点滅速度の少なくとも1つについて異ならせて表示するように制御し、
前記主被写体が前記被写体情報に基づいて選択されていれば、前記制御手段は、前記合焦表示として、前記主被写体に対応する焦点検出領域を表す枠画像と、前記予め定められた被写界深度内の前記主被写体以外の被写体に対応する焦点検出領域を表す枠画像とを、同じ表示形態で表示するように制御する、
ことを特徴とする請求項1に記載の撮像装置。
The main subject is selected based on a user instruction to select the main subject, or based on subject information obtained by the control unit for each of a plurality of detected subjects.
If the main subject is selected based on a user's instruction to select the main subject, the control means, as the in-focus display, a frame image representing a focus detection area corresponding to the main subject, and the predetermined Control to display a frame image representing a focus detection area corresponding to a subject other than the main subject within the specified depth of field differently for at least one of color, thickness, and blink rate,
If the main subject is selected based on the subject information, the control means, as the in-focus display, a frame image representing a focus detection area corresponding to the main subject, and the predetermined field of view A frame image representing a focus detection area corresponding to a subject other than the main subject within the depth is controlled to be displayed in the same display form.
The imaging device according to claim 1,
前記枠画像のそれぞれが、対応する焦点検出領域、もしくは前記被写体の領域を表すことを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein each of the frame images represents a corresponding focus detection area or an area of the subject. 前記検出手段が前記被写体として人物の顔を検出することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the detection unit detects a face of a person as the subject. レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
制御手段と、を有する撮像装置であって、
前記制御手段は、(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、(ii)前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果とを表す指標の表示を制御し、
前記制御手段は、前記主被写体が前記主被写体を選択するユーザ指示に基づいて選択されている場合、前記主被写体に対応する前記焦点検出領域についての前記焦点検出の結果を表す指標を表示し、前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果を表す指標は表示せず、
前記制御手段は、前記主被写体が前記制御手段によって取得された被写体情報に基づいて選択されている場合、(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、(ii)前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する焦点検出領域についての前記焦点検出の1つ以上の結果と、を示す指標を表示する、
ことを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
An imaging device having control means,
The control means is configured to: (i) a result of the focus detection for a focus detection area corresponding to the main subject; and (ii) the subject corresponding to a subject other than the main subject within the depth of field of the lens unit. Controlling the display of an indicator representing the result of the focus detection on the focus detection area;
When the main subject is selected based on a user's instruction to select the main subject, the control means displays an index indicating the result of the focus detection for the focus detection area corresponding to the main subject, An index representing the result of the focus detection for the focus detection area corresponding to a subject other than the main subject within the depth of field of the lens unit is not displayed.
When the main subject is selected based on the subject information acquired by the control means, the control means (i) the result of the focus detection for the focus detection area corresponding to the main subject, (ii An indicator indicating one or more results of the focus detection for a focus detection area corresponding to a subject other than the main subject within the depth of field of the lens unit;
An imaging device characterized by
前記制御手段は、前記被写界深度内の前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果を表示するか否かを、設定に基づいて決定することを特徴とする請求項5に記載の撮像装置。   The control means may determine based on setting whether or not to display the result of the focus detection on the focus detection area corresponding to a subject other than the main subject within the depth of field. The imaging device according to claim 5. 前記検出手段が前記被写体として人物の顔を検出することを特徴とする請求項5に記載の撮像装置。   6. The image pickup apparatus according to claim 5, wherein the detection means detects a face of a person as the subject. 撮像装置の制御方法であって、
レンズユニットを通じて得られた画像から被写体を検出する検出工程と、
前記検出工程で検出した複数の被写体から主被写体を選択する選択工程と、
前記検出工程で検出した複数の被写体に応じた複数の焦点検出領域を設定する設定工程と、
前記設定工程で設定した複数の焦点検出領域で焦点検出を行う焦点検出工程と、
前記主被写体が合焦した場合、
前記主被写体が、前記主被写体を選択するユーザ指示に基づいて選択されていれば、前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの予め定められた被写界深度内の、前記主被写体以外の被写体に対応する焦点検出領域についての前記焦点検出の結果の違いに関わらず、前記予め定められた被写界深度内の被写体についての合焦表示を、前記主被写体についての前記合焦表示の表示形態が前記主被写体以外の被写体についての前記合焦表示の表示形態とは異なるように表示し、
前記主被写体が前記主被写体を選択するユーザ指示に基づいて選択されていなければ、前記予め定められた被写界深度内の、前記主被写体を含む被写体についての合焦表示を、同じ表示形態で表示する表示工程と、
を有することを特徴とする撮像装置の制御方法。
It is a control method of an imaging device, and
A detection step of detecting an object from an image obtained through the lens unit;
A selection step of selecting a main subject from a plurality of subjects detected in the detection step;
A setting step of setting a plurality of focus detection areas corresponding to a plurality of subjects detected in the detection step;
A focus detection step of performing focus detection in a plurality of focus detection areas set in the setting step;
When the main subject is in focus,
If the main subject is selected based on a user instruction to select the main subject, a result of the focus detection for a focus detection area corresponding to the main subject, and a predetermined subject of the lens unit The in-focus display for the subject within the predetermined depth of field is performed regardless of the difference in the result of the focus detection for the focus detection area corresponding to the subject other than the main subject within the depth of field, The display form of the in-focus display on the main subject is displayed differently from the display form of the in-focus display on subjects other than the main subject,
If the main subject is not selected based on a user's instruction to select the main subject, the in-focus display of the subject including the main subject within the predetermined depth of field is the same display form. A display process to be displayed,
And a control method of an imaging apparatus.
撮像装置の制御方法であって、
レンズユニットを通じて得られた画像から被写体を検出する検出工程と、
前記検出工程で検出した複数の被写体から主被写体を選択する選択工程と、
前記検出工程で検出した複数の被写体に応じた複数の焦点検出領域を設定する設定工程と、
前記設定工程で設定した複数の焦点検出領域で焦点検出を行う焦点検出工程と、
(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、(ii)前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果とを表す指標を表示する表示工程と、を有し、
前記選択工程において前記主被写体が前記主被写体を選択するユーザ指示に基づいて選択されている場合、前記表示工程では前記主被写体に対応する前記焦点検出領域についての前記焦点検出の結果を表す指標を表示し、前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果を表す指標は表示せず、
前記主被写体が前記撮像装置の制御手段によって取得された被写体情報に基づいて選択されている場合、前記表示工程では(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、(ii)前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する焦点検出領域についての前記焦点検出の1つ以上の結果と、を示す指標を表示する、
ことを特徴とする撮像装置の制御方法。
It is a control method of an imaging device, and
A detection step of detecting an object from an image obtained through the lens unit;
A selection step of selecting a main subject from a plurality of subjects detected in the detection step;
A setting step of setting a plurality of focus detection areas corresponding to a plurality of subjects detected in the detection step;
A focus detection step of performing focus detection in a plurality of focus detection areas set in the setting step;
(I) the result of the focus detection for the focus detection area corresponding to the main subject, and (ii) the focus detection area for the subject other than the main subject within the depth of field of the lens unit Displaying an index representing the result of the focus detection;
When the main subject is selected based on the user's instruction to select the main subject in the selection step, the display step is an index that represents the result of the focus detection for the focus detection area corresponding to the main subject. An indicator representing the result of the focus detection for the focus detection area corresponding to a subject other than the main subject within the depth of field of the lens unit is displayed and not displayed.
When the main subject is selected based on subject information acquired by the control unit of the imaging device, in the display step, (i) a result of the focus detection on a focus detection area corresponding to the main subject; (Ii) displaying an indicator indicating one or more results of the focus detection for a focus detection area corresponding to a subject other than the main subject within the depth of field of the lens unit;
And controlling the imaging device.
レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記主被写体が合焦した場合、前記主被写体が、前記主被写体を選択するユーザ指示に基づいて前記選択手段により選択されていれば、前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの予め定められた被写界深度内の、前記主被写体以外の被写体に対応する焦点検出領域についての前記焦点検出の結果の違いに関わらず、前記予め定められた被写界深度内の被写体についての合焦表示を、前記主被写体についての前記合焦表示の表示形態が前記主被写体以外の被写体についての前記合焦表示の表示形態とは異なるように表示する制御手段と、
を有することを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
When the main subject is in focus, if the main subject is selected by the selection unit based on a user instruction to select the main subject, the focus detection area for the focus detection area corresponding to the main subject is Regardless of the difference between the result and the result of the focus detection for a focus detection area corresponding to a subject other than the main subject within the predetermined depth of field of the lens unit, the predetermined subject Control means for displaying the in-focus display of the subject within the depth of field so that the display form of the in-focus display of the main subject is different from the display form of the in-focus display of the subjects other than the main subject; ,
An imaging apparatus characterized by having:
レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記焦点検出の結果の表示を制御する制御手段と、を有し、
前記制御手段は、前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの被写界深度内の、前記主被写体以外の1つ以上の被写体に対応する1つ以上の前記焦点検出領域についての前記焦点検出の結果を表示するように制御を行い、
前記制御手段は、前記主被写体に対応する前記焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果との違いに関わらず、前記主被写体に対応する焦点検出領域についての前記焦点検出の前記結果と、前記レンズユニットの被写界深度内の、前記主被写体以外の1つ以上の被写体に対応する前記1つ以上の焦点検出領域についての前記焦点検出の1つ以上の結果とを異なる表示形態で表示するように制御を行う、
ことを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
Control means for controlling the display of the result of the focus detection;
The control means is a result of the focus detection for the focus detection area corresponding to the main subject, and one or more corresponding to one or more subjects other than the main subject within the depth of field of the lens unit. Control to display the result of the focus detection for the focus detection area of
The control means is configured to obtain a result of the focus detection on the focus detection area corresponding to the main subject and a focus detection area corresponding to a subject other than the main subject within the depth of field of the lens unit. Regardless of the difference from the focus detection result, the focus detection result for the focus detection area corresponding to the main subject, and one or more other than the main subject within the depth of field of the lens unit Control to display in a different display form from the one or more results of the focus detection for the one or more focus detection areas corresponding to the subject of
An imaging device characterized by
レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記焦点検出の結果の表示を制御する制御手段と、を有し、
前記主被写体が、前記主被写体を選択するユーザ指示に基づいて、あるいは検出された被写体それぞれについて前記制御手段によって得られる被写体情報に基づいて選択され、
前記制御手段は、前記主被写体を選択するユーザ指示に基づいて選択された前記主被写体に対する前記焦点検出の結果と、前記被写体情報に基づいて選択された前記主被写体に対する前記焦点検出の結果とを異なる表示形態で表示するように制御し、
前記制御手段は、(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、(ii)前記レンズユニットの被写界深度内の前記主被写体以外の1つ以上の被写体に対応する1つ以上の焦点検出領域についての1つ以上の前記焦点検出の結果との両方を表示するように制御し、
前記制御手段は、前記主被写体に対応する前記焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの被写界深度内の、前記主被写体以外の被写体に対応する前記焦点検出領域についての前記焦点検出の結果との違いに関わらず、(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、(ii)前記レンズユニットの被写界深度内の前記主被写体以外の1つ以上の被写体に対応する1つ以上の焦点検出領域についての1つ以上の前記焦点検出の結果とを、異なる表示形態で表示するように制御する、
ことを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
Control means for controlling the display of the result of the focus detection;
The main subject is selected based on a user instruction to select the main subject, or based on subject information obtained by the control means for each of the detected subjects.
The control means includes a result of the focus detection for the main subject selected based on a user instruction to select the main subject, and a result of the focus detection for the main subject selected based on the subject information. Control to display in different display modes,
The control means is configured to: (i) a result of the focus detection for a focus detection area corresponding to the main subject; and (ii) one or more subjects other than the main subject within the depth of field of the lens unit. Control to display both the one or more focus detection results for the corresponding one or more focus detection areas,
The control means is configured to obtain a result of the focus detection on the focus detection area corresponding to the main subject and a focus detection area corresponding to a subject other than the main subject within the depth of field of the lens unit. Regardless of the difference from the focus detection result, (i) the focus detection result for the focus detection area corresponding to the main subject, and (ii) other than the main subject within the depth of field of the lens unit Controlling one or more focus detection areas corresponding to one or more subjects corresponding to one or more subjects to be displayed in different display forms,
An imaging device characterized by
レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記焦点検出の結果の表示を制御する制御手段と、を有し、
前記主被写体が、前記主被写体を選択するユーザ指示に基づいて、あるいは検出された被写体それぞれについて前記制御手段によって得られる被写体情報に基づいて選択され、
前記制御手段は、前記主被写体を選択するユーザ指示に基づいて選択された前記主被写体に対する前記焦点検出の結果と、前記被写体情報に基づいて選択された前記主被写体に対する前記焦点検出の結果とを異なる表示形態で表示するように制御し、
前記制御手段は、(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果を表示し、(ii)前記レンズユニットの被写界深度内の前記主被写体以外の1つ以上の被写体に対応する1つ以上の焦点検出領域についての1つ以上の前記焦点検出の結果を表示しないように制御する、
ことを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
Control means for controlling the display of the result of the focus detection;
The main subject is selected based on a user instruction to select the main subject, or based on subject information obtained by the control means for each of the detected subjects.
The control means includes a result of the focus detection for the main subject selected based on a user instruction to select the main subject, and a result of the focus detection for the main subject selected based on the subject information. Control to display in different display modes,
The control means (i) displays the result of the focus detection for a focus detection area corresponding to the main subject, and (ii) one or more of the main subjects other than the main subject within the depth of field of the lens unit. Controlling not to display one or more focus detection results for one or more focus detection areas corresponding to an object;
An imaging device characterized by
レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記焦点検出の結果の表示を制御する制御手段と、を有し、
前記主被写体が、前記主被写体を選択するユーザ指示に基づいて、あるいは検出された被写体それぞれについて前記制御手段によって得られる被写体情報に基づいて選択され、
前記制御手段は、前記主被写体を選択するユーザ指示に基づいて選択された前記主被写体に対する前記焦点検出の結果と、前記被写体情報に基づいて選択された前記主被写体に対する前記焦点検出の結果とを異なる表示形態で表示するように制御し、
前記制御手段は、前記主被写体が前記主被写体を選択するユーザ指示に基づいて選択されている場合、(i)前記主被写体に対応する焦点検出領域についての前記焦点検出の結果を表示し、(ii)前記レンズユニットの被写界深度内の前記主被写体以外の1つ以上の被写体に対応する1つ以上の焦点検出領域についての1つ以上の前記焦点検出の結果を表示しないように制御する、
ことを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
Control means for controlling the display of the result of the focus detection;
The main subject is selected based on a user instruction to select the main subject, or based on subject information obtained by the control means for each of the detected subjects.
The control means includes a result of the focus detection for the main subject selected based on a user instruction to select the main subject, and a result of the focus detection for the main subject selected based on the subject information. Control to display in different display modes,
When the main subject is selected based on a user's instruction to select the main subject, the control means displays (i) the result of the focus detection for the focus detection area corresponding to the main subject, ii) controlling not to display one or more focus detection results for one or more focus detection areas corresponding to one or more subjects other than the main subject within the depth of field of the lens unit ,
An imaging device characterized by
レンズユニットを通じて得られた画像から被写体を検出する検出手段と、
前記検出手段が検出した複数の被写体から主被写体を選択する選択手段と、
前記検出手段が検出した複数の被写体に応じた複数の焦点検出領域を設定する設定手段と、
前記設定手段が設定した複数の焦点検出領域で焦点検出を行う焦点検出手段と、
前記主被写体が合焦した場合、前記主被写体に対応する焦点検出領域についての前記焦点検出の結果と、前記レンズユニットの予め定められた被写界深度内の、前記主被写体以外の被写体に対応する焦点検出領域についての前記焦点検出の結果の違いに関わらず、前記予め定められた被写界深度内の被写体についての合焦表示を、前記主被写体についての前記合焦表示の表示形態が前記主被写体以外の被写体についての前記合焦表示の表示形態とは異なるように表示するように制御する制御手段と、
を有することを特徴とする撮像装置。
Detection means for detecting an object from an image obtained through the lens unit;
Selection means for selecting a main subject from a plurality of subjects detected by the detection means;
Setting means for setting a plurality of focus detection areas according to the plurality of subjects detected by the detection means;
Focus detection means for performing focus detection in a plurality of focus detection areas set by the setting means;
If the main subject is in focus, and the result of the focus detection for a focus detection area corresponding to the previous SL main object, the predetermined object scene in depth of the lens unit, the object other than the main subject Regardless of the difference between the result of the focus detection for the corresponding focus detection area, and the display form of the focus display for the main subject, the in-focus display for the subject in the predetermined depth of field Control means for performing control so as to be displayed differently from the display form of the in-focus display for subjects other than the main subject;
An imaging apparatus characterized by having:
JP2018016661A 2018-02-01 2018-02-01 Image pickup apparatus and control method thereof Expired - Fee Related JP6526270B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018016661A JP6526270B2 (en) 2018-02-01 2018-02-01 Image pickup apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018016661A JP6526270B2 (en) 2018-02-01 2018-02-01 Image pickup apparatus and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016092800A Division JP2016167088A (en) 2016-05-02 2016-05-02 Imaging device and control method of the same

Publications (2)

Publication Number Publication Date
JP2018097380A JP2018097380A (en) 2018-06-21
JP6526270B2 true JP6526270B2 (en) 2019-06-05

Family

ID=62632938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018016661A Expired - Fee Related JP6526270B2 (en) 2018-02-01 2018-02-01 Image pickup apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP6526270B2 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04251234A (en) * 1991-01-08 1992-09-07 Nikon Corp Display device of camera
JP2002051255A (en) * 2000-07-31 2002-02-15 Olympus Optical Co Ltd Main object detectable camera
JP2003107335A (en) * 2001-09-28 2003-04-09 Ricoh Co Ltd Image pickup device, automatic focusing method, and program for making computer execute the method
US7298412B2 (en) * 2001-09-18 2007-11-20 Ricoh Company, Limited Image pickup device, automatic focusing method, automatic exposure method, electronic flash control method and computer program
JP3675412B2 (en) * 2002-02-18 2005-07-27 コニカミノルタフォトイメージング株式会社 Imaging device
JP2004101632A (en) * 2002-09-05 2004-04-02 Canon Inc Camera equipped with automatic focusing device
US6801717B1 (en) * 2003-04-02 2004-10-05 Hewlett-Packard Development Company, L.P. Method and apparatus for controlling the depth of field using multiple user interface markers
JP4475044B2 (en) * 2004-07-16 2010-06-09 株式会社ニコン Digital camera
US20060182433A1 (en) * 2005-02-15 2006-08-17 Nikon Corporation Electronic camera
JP4581730B2 (en) * 2005-02-15 2010-11-17 株式会社ニコン Digital camera
JP4992215B2 (en) * 2005-09-21 2012-08-08 カシオ計算機株式会社 Imaging apparatus and program
GB2432659A (en) * 2005-11-28 2007-05-30 Pixology Software Ltd Face detection in digital images

Also Published As

Publication number Publication date
JP2018097380A (en) 2018-06-21

Similar Documents

Publication Publication Date Title
JP5046788B2 (en) Imaging apparatus and control method thereof
JP4448039B2 (en) Imaging apparatus and control method thereof
JP4574459B2 (en) Image capturing apparatus, control method therefor, program, and storage medium
JP5258531B2 (en) Imaging apparatus and zoom control method
JP6327995B2 (en) IMAGING DEVICE, CONTROL DEVICE, CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM
JP2007281873A (en) Imaging device
JP4891270B2 (en) Image editing apparatus, image editing method and program
JP2007081732A (en) Imaging apparatus
JP5875388B2 (en) Electronic device, control method of electronic device, program, and storage medium
JP2016019161A (en) Imaging device
JP5075288B2 (en) Imaging apparatus and control method thereof
JP4647518B2 (en) Imaging device
JP5968386B2 (en) Imaging apparatus and control method thereof
JP2015204516A (en) Imaging device, control method and control program thereof
JP6526270B2 (en) Image pickup apparatus and control method thereof
JP2010008711A (en) Imaging apparatus, imaging method, and program
JP2016167088A (en) Imaging device and control method of the same
JP5116494B2 (en) Imaging device
JP5777309B2 (en) Imaging apparatus and control method thereof, and image processing apparatus and control method thereof
JP5261092B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5013924B2 (en) Imaging apparatus, imaging method, and program
JP2012034199A (en) Imaging device, control method, program and recording medium for imaging device
JP2009182945A (en) Image processor, its control method, and program
JP6537664B2 (en) Electronic device, control method therefor, program, and recording medium
JP2013011896A (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190408

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190507

R151 Written notification of patent or utility model registration

Ref document number: 6526270

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees