JP5961929B2 - camera - Google Patents

camera Download PDF

Info

Publication number
JP5961929B2
JP5961929B2 JP2011137206A JP2011137206A JP5961929B2 JP 5961929 B2 JP5961929 B2 JP 5961929B2 JP 2011137206 A JP2011137206 A JP 2011137206A JP 2011137206 A JP2011137206 A JP 2011137206A JP 5961929 B2 JP5961929 B2 JP 5961929B2
Authority
JP
Japan
Prior art keywords
focus
focus detection
switching
image
contrast
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.)
Active
Application number
JP2011137206A
Other languages
Japanese (ja)
Other versions
JP2013003501A (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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2011137206A priority Critical patent/JP5961929B2/en
Publication of JP2013003501A publication Critical patent/JP2013003501A/en
Application granted granted Critical
Publication of JP5961929B2 publication Critical patent/JP5961929B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、複数の焦点調節方式を有するカメラに関する。   The present invention relates to a camera having a plurality of focus adjustment methods.

撮像素子上の撮影画面全域に、被写体像を撮像する撮像用画素を配置するとともに、位相差検出方式の焦点検出用画素を規則的に配置し、撮像用画素の出力を用いてコントラスト方式の焦点検出(以下、コントラストAFという)を行うとともに、焦点検出用画素の出力を用いて位相差検出方式の焦点検出(以下、像面位相差AFという)を行うようにしたカメラが知られている(例えば特許文献1参照)。   The imaging pixels for imaging the subject image are arranged over the entire imaging screen on the imaging element, and the focus detection pixels for the phase difference detection method are regularly arranged, and the focus of the contrast method is used by using the output of the imaging pixels. There is known a camera that performs detection (hereinafter referred to as contrast AF) and performs focus detection by a phase difference detection method (hereinafter referred to as image plane phase difference AF) using an output of a focus detection pixel (hereinafter referred to as image plane phase difference AF). For example, see Patent Document 1).

特開2009−244429号公報JP 2009-244429 A

しかしながら、上述した従来のカメラでは、光学的な制約により光量が低下する撮影画面の周辺でも撮像用画素の代わりに焦点検出用画素が配置されるので、撮像用画素からの画像情報が減少するという問題がある。   However, in the conventional camera described above, the focus detection pixels are arranged instead of the imaging pixels even in the vicinity of the imaging screen where the light amount is reduced due to optical restrictions, so that the image information from the imaging pixels is reduced. There's a problem.

本発明の第1の態様によると、カメラは、撮像面に撮像用画素と焦点検出用画素とを二次元状に配置した撮像素子であって、撮像面の全体に亘って撮像用画素を配列するとともに、撮像面の一部分に設定された焦点検出領域に焦点検出用画素を配列した撮像素子と、撮像素子の撮像面に被写体像を結像する撮影光学系と、焦点検出用画素の出力信号に基づいて位相差検出方式により撮影光学系の焦点調節を行う第一焦点調節手段と、撮像用画素の出力信号に基づいてコントラスト方式により撮影光学系の焦点調節を行う第二焦点調節手段と、撮像素子により撮像された画像を処理して主要被写体を認識する画像処理手段と、画像処理手段により認識された主要被写体と焦点検出領域との位置関係に基づいて、第一焦点調節手段と第二焦点調節手段とのうちの一方の焦点調節手段から他方の焦点調節手段への切り換えを予測する切換予測手段と、切換予測手段により切り換えが予測されたときに、切り換え先である他方の焦点調節手段を起動する起動手段と、起動手段による切り換え先の他方の焦点調節手段の起動後に、一方の焦点調節手段から他方の焦点調節手段への切り換えを行う切換手段を有し、切換予測手段は、第二焦点調節手段による撮影光学系の焦点調節が行われているときに、主要被写体が焦点検出領域の端部で検出された場合は、第二焦点調節手段から第一焦点調節手段への切り換えを予測する。
本発明の第2の態様によると、カメラは、カメラは、撮影光学系による被写体像が結像される撮像面に撮像用画素と焦点検出用画素とが備えられた撮像素子と、第1の焦点検出領域について焦点検出用画素の出力を用いて位相差検出方式による撮影光学系の焦点調節制御である第1制御を行い、第1の焦点検出領域よりも広い第2の焦点検出領域について撮像用画素の出力を用いてコントラスト方式による撮影光学系の焦点調節制御である第2制御を行う焦点調節制御部と、撮像素子により撮像された画像を用いて主要被写体を認定する画像処理部とを有し、第2制御が行われている場合に、主要被写体が第1の焦点検出領域の端部で検出されたとき第2制御から第1制御への切り換えを予測する予測部と、予測部により第2制御から第1制御への切り換えが予測されたとき第2制御から第1制御への切り換えを行う切換部とを有する。
According to the first aspect of the present invention, the camera is an imaging device in which imaging pixels and focus detection pixels are two-dimensionally arranged on the imaging surface, and the imaging pixels are arranged over the entire imaging surface. In addition, an image pickup device in which focus detection pixels are arranged in a focus detection region set in a part of the image pickup surface, a photographing optical system that forms a subject image on the image pickup surface of the image pickup device, and an output signal of the focus detection pixel A first focus adjusting unit that adjusts the focus of the imaging optical system based on a phase difference detection method, and a second focus adjusting unit that adjusts the focus of the imaging optical system using a contrast method based on an output signal of the imaging pixel, Based on the positional relationship between the main subject recognized by the image processing unit and the focus detection area, the first focus adjustment unit and the second focus adjustment unit Focus adjustment Switching prediction means for predicting switching from one focus adjustment means to the other focus adjustment means, and when the switching prediction means predicts switching, activates the other focus adjustment means that is the switching destination And a switching means for switching from one focus adjusting means to the other focus adjusting means after the activation of the other focus adjusting means of the switching destination by the starting means. When the focus of the photographing optical system is being adjusted by the adjusting means, if the main subject is detected at the end of the focus detection area, switching from the second focus adjusting means to the first focus adjusting means is predicted. .
According to the second aspect of the present invention, the camera includes an image pickup device including an image pickup pixel and a focus detection pixel on an image pickup surface on which a subject image is formed by a shooting optical system ; For the focus detection area, the first control that is the focus adjustment control of the imaging optical system by the phase difference detection method is performed using the output of the focus detection pixel, and the second focus detection area wider than the first focus detection area is imaged. A focus adjustment control unit that performs second control, which is focus adjustment control of the imaging optical system by a contrast method , using an output of a pixel for use, and an image processing unit that recognizes a main subject using an image captured by an image sensor And a prediction unit that predicts switching from the second control to the first control when a main subject is detected at the end of the first focus detection area when the second control is performed, and a prediction unit From the second control to the first control Switching to is closed and switching unit for switching to the first control from the second control when it is predicted.

本発明によれば、画像情報の低下を補正が容易な撮影画面の中央部に制限しながら、像面位相差AFとコントラストAFとを切り換えて実行することができる。   According to the present invention, it is possible to switch between the image plane phase difference AF and the contrast AF while restricting the decrease in the image information to the center of the photographing screen that can be easily corrected.

一実施の形態のハイブリッドAFカメラの構成を示す図The figure which shows the structure of the hybrid AF camera of one embodiment 撮影画面に設定された焦点検出領域の一例を示す図The figure which shows an example of the focus detection area set to the imaging | photography screen 撮影画面の長辺方向の焦点検出領域における撮像用画素と焦点検出用画素の配列例を示す図The figure which shows the example of an arrangement | sequence of the pixel for imaging and the pixel for focus detection in the focus detection area | region of the long side direction of an imaging | photography screen 撮影画面の短辺方向の焦点検出領域における撮像用画素と焦点検出用画素の配列例を示す図The figure which shows the example of an arrangement | sequence of the pixel for an imaging and the pixel for a focus detection in the focus detection area | region of the short side direction of an imaging | photography screen 一実施の形態のAF制御プログラムを示すフローチャートA flowchart showing an AF control program according to an embodiment 図5に続く、一実施の形態のAF制御プログラムを示すフローチャートFIG. 5 is a flowchart illustrating an AF control program according to an embodiment, 人物の顔の領域と焦点検出領域との位置関係に基づく像面位相差AFとコントラストAFとの切り換えを説明する図FIG. 6 is a diagram for explaining switching between image plane phase difference AF and contrast AF based on the positional relationship between a human face area and a focus detection area.

図1は、一実施の形態のハイブリッドAFカメラ(以下、単にカメラという)の構成を示すブロック図である。なお、図1ではハイブリッドAF機能と直接、関係のないカメラの機器および回路の図示と説明を省略する。図1において、カメラ1は撮影レンズ2、撮像素子3、AFE(Analog Front End)回路4、画像処理回路5、コントラストAF回路6、位相差AF回路7、レンズ駆動回路8、メモリ9、モニター10、メモリカード11、インターフェース12、操作部材13、バッテリー14、コントローラー15などを備えている。   FIG. 1 is a block diagram illustrating a configuration of a hybrid AF camera (hereinafter simply referred to as a camera) according to an embodiment. In FIG. 1, illustration and description of camera devices and circuits not directly related to the hybrid AF function are omitted. In FIG. 1, a camera 1 includes a photographic lens 2, an image sensor 3, an AFE (Analog Front End) circuit 4, an image processing circuit 5, a contrast AF circuit 6, a phase difference AF circuit 7, a lens driving circuit 8, a memory 9, and a monitor 10. , A memory card 11, an interface 12, an operation member 13, a battery 14, a controller 15, and the like.

撮影レンズ2は単レンズとして図示しているが、ズーミングレンズやフォーカシングレンズを含む複数のレンズ群で構成され、被写体像を撮像素子3の撮像面上に結像させる。撮像素子3は、受光面に複数の画素が二次元状に配列されたCMOSイメージセンサなどから構成され、撮影レンズ2により結像された被写体像を光電変換してアナログ画像信号を出力する。   Although the photographing lens 2 is illustrated as a single lens, it is composed of a plurality of lens groups including a zooming lens and a focusing lens, and forms a subject image on the imaging surface of the image sensor 3. The imaging device 3 is composed of a CMOS image sensor or the like in which a plurality of pixels are two-dimensionally arranged on a light receiving surface, and photoelectrically converts a subject image formed by the photographing lens 2 and outputs an analog image signal.

図2はカメラ1の撮影画面3aを示す図である。撮影画面3aに対応する撮像素子3の撮像面には、複数の撮像用画素と焦点検出用画素とが二次元状に配列され、これらの画素はそれぞれマイクロレンズと受光部を備えている。この一実施の形態では、撮影画面3aの中央部の11カ所に撮影画面3aの長辺方向に沿ってライン状の焦点検出領域a〜kが設定されている。   FIG. 2 is a diagram showing a photographing screen 3a of the camera 1. A plurality of imaging pixels and focus detection pixels are two-dimensionally arranged on the imaging surface of the imaging device 3 corresponding to the imaging screen 3a, and each of these pixels includes a microlens and a light receiving unit. In this embodiment, line-shaped focus detection areas a to k are set along the long side direction of the photographing screen 3a at 11 positions in the center of the photographing screen 3a.

撮像用画素は撮影画面3aの全域にベイヤー配列され、撮影レンズ2(図1参照)の射出瞳を通る光を受光して被写体像に応じた画像信号を出力する。一方、図3(a)の斜線部に示すように、焦点検出用画素は、撮影画面3aの中央に各焦点検出領域a〜kに対応して撮影画面3aの長辺方向に沿ってライン状に配列され、撮影レンズ2の一部の領域を通る光を受光して撮影レンズ2の焦点調節状態を示す焦点検出信号を出力する。   The imaging pixels are arranged in a Bayer pattern over the entire area of the imaging screen 3a, receive light passing through the exit pupil of the imaging lens 2 (see FIG. 1), and output an image signal corresponding to the subject image. On the other hand, as shown by the hatched portion in FIG. 3A, the focus detection pixel is formed in a line shape along the long side direction of the shooting screen 3a at the center of the shooting screen 3a corresponding to each of the focus detection areas a to k. And receiving a light passing through a partial region of the photographic lens 2 and outputting a focus detection signal indicating a focus adjustment state of the photographic lens 2.

図3(b)は、焦点検出領域の内の横(撮影画面3aの長辺方向)領域における撮像用画素R、G、Bと焦点検出用画素S1、S2の受光領域の配置を示す部分拡大図である。図3(b)において、縦横のラインで囲まれた各“マス”は撮像用画素の領域を示す。各マスの中の実線で示す正方形はマスク開口部を示し、これらのマスク開口部を通って光が受光部に到達する各画素の受光領域を示す。また、図3(b)において、半円形で囲まれた領域は焦点検出画素のマスク開口部を示し、これらのマスク開口部を通って光が受光部に到達する各画素の受光領域を示す。また、R、G、Bはそれぞれ撮像用赤画素、撮像用緑画素、撮像用青画素を表す。なお、図3では各画素のマイクロレンズおよび受光部の図示を省略する。   FIG. 3B is a partially enlarged view showing the arrangement of the light receiving areas of the imaging pixels R, G, B and the focus detection pixels S1, S2 in the horizontal (long side direction of the photographing screen 3a) area of the focus detection area. FIG. In FIG. 3B, each “mass” surrounded by vertical and horizontal lines indicates an imaging pixel region. A square indicated by a solid line in each square indicates a mask opening, and indicates a light receiving area of each pixel through which the light reaches the light receiving part. In FIG. 3B, a region surrounded by a semicircle indicates a mask opening portion of the focus detection pixel, and indicates a light receiving region of each pixel through which the light reaches the light receiving portion. R, G, and B represent an imaging red pixel, an imaging green pixel, and an imaging blue pixel, respectively. In FIG. 3, illustration of the microlens and the light receiving unit of each pixel is omitted.

この一実施の形態では撮像用画素R、G、Bの受光領域(マスク開口部)の形状を正四角形とした例を示すが、撮像用画素R、G、Bの受光領域の形状は正四角形に限定されず、例えば円形としてもよい。   In this embodiment, the shape of the light receiving regions (mask openings) of the imaging pixels R, G, and B is a regular square. However, the shape of the light receiving regions of the imaging pixels R, G, and B is a regular square. For example, it may be circular.

また、この一実施の形態では焦点検出用画素S1〜S4の受光領域(マスク開口部)の形状を半円形とした例を示す。さらに、図3(b)に示す横方向の対の焦点検出用画素S1とS2では、受光領域を画素中心に対し左と右に偏って配置する。   In this embodiment, an example in which the shape of the light receiving region (mask opening) of the focus detection pixels S1 to S4 is a semicircular shape is shown. Furthermore, in the pair of focus detection pixels S1 and S2 in the horizontal direction shown in FIG.

なお、焦点検出用画素の受光領域の形状は半円形に限定されず、例えば撮像用画素のR,G,Bの受光領域(マスク開口部)を縦または横に略二分した長方形としてもよい。   Note that the shape of the light receiving region of the focus detection pixel is not limited to a semicircular shape, and may be, for example, a rectangle in which the R, G, and B light receiving regions (mask opening portions) of the imaging pixel are approximately bisected vertically or horizontally.

撮像面に撮像用画素と焦点検出用画素を二次元状に配列した撮像素子はすでに周知であり、これらの画素の詳細な図示と説明を省略する。   An imaging device in which imaging pixels and focus detection pixels are two-dimensionally arranged on the imaging surface is already known, and detailed illustration and description of these pixels will be omitted.

焦点検出領域の横領域では、焦点検出用画素S1とS2が一対になり、撮影レンズ2の射出瞳の一対の領域を通過した光を受光し、撮影レンズ2の横方向(撮影画面3aの長辺方向)の焦点調節状態を示す焦点検出信号を出力する。   In the horizontal region of the focus detection region, a pair of focus detection pixels S1 and S2 receive a light beam that has passed through the pair of regions of the exit pupil of the photographing lens 2, and the horizontal direction of the photographing lens 2 (the length of the photographing screen 3a). A focus detection signal indicating the focus adjustment state in the side direction is output.

なお、撮影画面3aの焦点検出領域は、撮影画面3aの中央部に設定される限りこの一実施の形態の配置に限定されない。また、焦点検出領域の個数および形状についても、この一実施の形態の個数および形状に限定されるものではない。さらに、各焦点検出領域に対応して配列される焦点検出用画素の配置もこの一実施の形態の配置に限定されるものではない。   Note that the focus detection area of the shooting screen 3a is not limited to the arrangement of this embodiment as long as it is set at the center of the shooting screen 3a. Further, the number and shape of the focus detection regions are not limited to the number and shape of this embodiment. Furthermore, the arrangement of the focus detection pixels arranged corresponding to each focus detection area is not limited to the arrangement of this embodiment.

図1に戻り、AFE回路4はアナログ画像信号に対して相関二重サンプリングやゲイン調整などのアナログ処理を行うとともに、アナログ処理後の画像信号をデジタル画像データに変換する。画像処理回路5はデジタル画像データに対して各種の画像処理(色補間処理、階調変換処理、輪郭強調処理、ホワイトバランス調整処理、画像圧縮処理、画像伸張処理など)を施す。   Returning to FIG. 1, the AFE circuit 4 performs analog processing such as correlated double sampling and gain adjustment on the analog image signal, and converts the analog-processed image signal into digital image data. The image processing circuit 5 performs various types of image processing (color interpolation processing, gradation conversion processing, contour enhancement processing, white balance adjustment processing, image compression processing, image expansion processing, etc.) on the digital image data.

コントラストAF回路6は、撮像用画素R、G、Bから出力される画像信号のコントラストがピークとなるフォーカシングレンズ位置を検出する回路である。また、位相差AF回路7は、対の焦点検出用画素(S1,S2)から出力される焦点検出信号に基づいて、フォーカシングレンズの焦点調節状態を示すデフォーカス量を演算する。   The contrast AF circuit 6 is a circuit that detects a focusing lens position where the contrast of image signals output from the imaging pixels R, G, and B reaches a peak. The phase difference AF circuit 7 calculates a defocus amount indicating the focus adjustment state of the focusing lens based on the focus detection signals output from the pair of focus detection pixels (S1, S2).

レンズ駆動回路8は、撮影レンズ2のフォーカシングレンズを駆動して焦点調節を行うとともに、ズーミングレンズを駆動して焦点距離を変える。メモリ9は各種プログラムや各種情報を記憶するROM、RAMなどの記憶素子である。モニター10は、撮像素子3により撮像したスルー画像や撮影した画像と各種情報を表示するLCDである。インターフェース12は、メモリカード11に対する画像や各種情報データの書き込みや、メモリカード51からの画像や各種情報データの読み込みを行う。   The lens driving circuit 8 drives the focusing lens of the photographing lens 2 to adjust the focus, and also drives the zooming lens to change the focal length. The memory 9 is a storage element such as a ROM or a RAM that stores various programs and various information. The monitor 10 is an LCD that displays a through image captured by the image sensor 3, a captured image, and various types of information. The interface 12 writes images and various information data to the memory card 11 and reads images and various information data from the memory card 51.

操作部材13には、レリーズ半押しおよび全押しスイッチ、ズームスイッチ、モードスイッチ、メニュースイッチ、十字スイッチ、OKスイッチなどの各種スイッチ類が含まれる。バッテリー14はカメラ1の機器および回路に電力を供給する。コントローラー17はCPUとその周辺部品から構成され、撮像、露出、焦点調節(AF)、画像表示などのカメラ1の各種動作を制御するとともに、後述するAFプログラムを実行してコントラストAFと像面位相差AFとを切り換え制御する。   The operation member 13 includes various switches such as a release half-press and full-press switch, a zoom switch, a mode switch, a menu switch, a cross switch, and an OK switch. The battery 14 supplies power to the devices and circuits of the camera 1. The controller 17 is composed of a CPU and its peripheral components, and controls various operations of the camera 1 such as imaging, exposure, focus adjustment (AF), image display and the like, and executes an AF program described later to execute contrast AF and image plane position. The phase difference AF is switched and controlled.

<ポートレート撮影モードの動作について>
図5および図6は、一実施の形態のハイブリッドAF制御を示すフローチャートである。カメラ1のコントローラー15は、カメラ1の操作部材13の電源スイッチが投入されモードセレクターにより撮影モードが設定されると、図5および図6に示すハイブリッドAF制御プログラムの実行を開始する。
<Operation in portrait shooting mode>
5 and 6 are flowcharts illustrating the hybrid AF control according to the embodiment. The controller 15 of the camera 1 starts executing the hybrid AF control program shown in FIGS. 5 and 6 when the power switch of the operation member 13 of the camera 1 is turned on and the photographing mode is set by the mode selector.

ステップ1において、操作部材13のモードセレクターによりポートレート撮影モードが選択されているか否かを確認する。ポートレート撮影モードでは、主要被写体を撮影画面中央部に設定してそのまま撮影するか、あるいは主要被写体を撮影画面中央部に設定して主要被写体に撮影レンズ2を合焦させた後、構図を変更して主要被写体を撮影画面周辺部に設定し直し、建物や風景などともに撮影を行う場合が多い。   In step 1, it is confirmed whether or not the portrait photographing mode is selected by the mode selector of the operation member 13. In portrait shooting mode, set the main subject in the center of the shooting screen and shoot as it is, or set the main subject in the center of the shooting screen and focus the shooting lens 2 on the main subject, then change the composition In many cases, the main subject is set again in the periphery of the shooting screen, and shooting is performed for both buildings and landscapes.

前者の場合には、図2に示す撮影画面3aの中央部に設定された焦点検出領域a〜kのいずれかで検出されたデフォーカス量により撮影レンズ2の焦点調節を行い、像面位相差AFにより撮影レンズ2を主要被写体に合焦させて撮影を行う。   In the former case, the focus of the photographic lens 2 is adjusted by the defocus amount detected in any of the focus detection areas a to k set at the center of the photographic screen 3a shown in FIG. The photographing lens 2 is focused on the main subject by AF to perform photographing.

一方、後者の場合には、いったん主要被写体を撮影画面中央部に設定し、像面位相差AFにより撮影レンズ2を主要被写体に合焦させた後、撮影者の画角変更にともなって主要被写体が撮影画面中央の焦点検出領域a〜kを外れる。この場合、主要被写体に対する像面位相差AFができなくなるため、コントラストAFに切り換えて主要被写体に対するAF制御を継続することになる。   On the other hand, in the latter case, once the main subject is set at the center of the shooting screen, the shooting lens 2 is focused on the main subject by the image plane phase difference AF, and then the main subject is changed along with the change of the angle of view of the photographer. Deviates from the focus detection areas a to k at the center of the shooting screen. In this case, since the image plane phase difference AF for the main subject cannot be performed, the AF control for the main subject is continued by switching to the contrast AF.

ここで、本実施形態におけるポートレート撮影モードにおいて、カメラが主要被写体を認識する手法としては、ユーザーのマニュアル設定動作に従う方法と、カメラが自動的に認識する方法と、がある。まずマニュアル操作によって決定される方法の一例について説明する。ユーザーがマニュアル選択操作によって複数のAFエリアの中から任意のAFエリアを選択し、その選択されたAFエリアをAFで使用するAFエリアとして決定する。そしてその決定されたAFエリア内に存在する被写体に対して合焦動作を行った場合に、その被写体を主要被写体としてカメラは認識する。一方、カメラが自動的に主要被写体を認識する方法の一例を説明する。カメラは、撮影視野内(スルー画像内)に存在する「顔」を周知の顔認識技術を用いて検出する。そしてカメラは、その検出された「顔」を主要被写体として認識する。
以下の説明では、カメラが主要被写体を自動認識する方法を採用するものとして説明を続ける。
Here, in the portrait shooting mode according to the present embodiment, as a method for the camera to recognize the main subject, there are a method in accordance with a user's manual setting operation and a method in which the camera automatically recognizes. First, an example of a method determined by manual operation will be described. The user selects an arbitrary AF area from a plurality of AF areas by a manual selection operation, and determines the selected AF area as an AF area to be used in AF. When a focusing operation is performed on a subject existing in the determined AF area, the camera recognizes the subject as a main subject. On the other hand, an example of how the camera automatically recognizes the main subject will be described. The camera detects a “face” existing in the field of view (through image) using a known face recognition technique. The camera recognizes the detected “face” as the main subject.
In the following description, the description will be continued assuming that the camera adopts a method of automatically recognizing a main subject.

ステップS1でポートレート撮影モードが設定されていない場合はステップS2へ進み、位相差AF用の予め指定されている(或いは最至近位置被写体に対応する)AFエリア内に存在する被写体を主要被写体として設定した上で、位相差AF回路7(図1参照)による像面位相差AF制御を実行して撮影レンズ2をその主要被写体に合焦させる。その後、ステップS3で操作部材13のレリーズボタンの押下操作によりステップS4へ進む。ステップS4では撮像素子3により撮像を行い、画像処理を行って画像をメモリカード11に記録する。   If the portrait photographing mode is not set in step S1, the process proceeds to step S2, and the subject existing in the AF area designated in advance for phase difference AF (or corresponding to the closest subject) is set as the main subject. After setting, image plane phase difference AF control is executed by the phase difference AF circuit 7 (see FIG. 1) to focus the photographing lens 2 on the main subject. Thereafter, the process proceeds to step S4 by pressing the release button of the operation member 13 in step S3. In step S <b> 4, an image is picked up by the image pickup device 3, image processing is performed, and an image is recorded on the memory card 11.

一方、ステップS1でポートレート撮影モードが設定されている場合はステップS5へ進み、撮影画面中央部のいずれかの焦点検出領域a〜kで捕捉した主要被写体に対して、位相差AF回路7により像面位相差AF制御を行う。像面位相差AF制御による合焦後のステップS6において、画像処理回路5により画像を処理して人物の顔を検出し、顔の範囲と焦点検出領域a〜kとの位置関係を確認する。顔認識処理により人物の顔が検出されると、ステップS7で、人物の顔の範囲を示す顔認識枠をモニター10に表示されているスルー画像に重畳して表示する。   On the other hand, if the portrait shooting mode is set in step S1, the process proceeds to step S5, where the phase difference AF circuit 7 applies the main subject captured in any of the focus detection areas a to k in the center of the shooting screen. Image plane phase difference AF control is performed. In step S6 after focusing by the image plane phase difference AF control, the image is processed by the image processing circuit 5 to detect a human face, and the positional relationship between the face range and the focus detection areas a to k is confirmed. When a face of a person is detected by the face recognition process, a face recognition frame indicating the range of the person's face is displayed superimposed on the through image displayed on the monitor 10 in step S7.

ここで、図7は、モニター10に表示された人物の顔に顔認識枠21を重畳表示した一例を示す。なお、図7では図2に示す焦点検出領域a〜kの符号を省略する。図7(a)は、人物の顔がほぼ撮影画面の中央に捕捉されており、図2に示す焦点検出領域a〜kの内の領域a、b、f、gで人物の顔が検出されている。また、図7(b)は、人物の顔が撮影画面の左側で捕捉されており、焦点検出領域a〜kの内の左端の領域dで人物の顔が検出されている。なお図7(b)では、主要被写体(人物の顔)が、焦点検出領域dだけでなく、図中において焦点検出領域dの左側に配置されている画像要画素においても検出されている。つまり図7(b)の状態は、焦点検出領域dの出力を使った位相差AF回路7によるAF演算が可能であり、且つ主要被写体(顔)を撮像している画像用画素の出力を使ったコントラストAF回路6によるAF演算も可能である。   Here, FIG. 7 shows an example in which the face recognition frame 21 is superimposed and displayed on the face of the person displayed on the monitor 10. In FIG. 7, the reference numerals of the focus detection areas a to k shown in FIG. 2 are omitted. In FIG. 7A, the person's face is captured almost at the center of the shooting screen, and the person's face is detected in the areas a, b, f, and g in the focus detection areas a to k shown in FIG. ing. In FIG. 7B, the person's face is captured on the left side of the shooting screen, and the person's face is detected in the leftmost area d of the focus detection areas a to k. In FIG. 7B, the main subject (person's face) is detected not only in the focus detection area d, but also in image-required pixels arranged on the left side of the focus detection area d in the figure. That is, in the state of FIG. 7B, the AF calculation by the phase difference AF circuit 7 using the output of the focus detection area d is possible, and the output of the pixel for the image capturing the main subject (face) is used. The AF calculation by the contrast AF circuit 6 is also possible.

図7(a)および図7(b)において、焦点検出領域a〜kの内の人物の顔が検出されている焦点検出領域では、モニター10の当該領域を示すライン状のマーク(AFエリアマークa〜kの何れか)が点灯され、アクティブ表示される。   7A and 7B, in a focus detection area where a human face is detected in the focus detection areas a to k, a line mark (AF area mark) indicating the area of the monitor 10 is used. Any one of a to k) is turned on and is actively displayed.

一方、図7(c)は、人物の顔が撮影画面の左端で捕捉されており、焦点検出領域a〜kの内のいずれの領域でも人物の顔は検出されていない。つまり、人物の顔が像面位相差AFの焦点検出領域a〜kを外れており、この状態では像面位相差AFを行うことはできない。つまり図7(c)では、主要被写体(顔)を撮像している画像用画素の出力を使ったコントラストAF回路6によるAF演算のみ可能である。   On the other hand, in FIG. 7C, the human face is captured at the left end of the shooting screen, and no human face is detected in any of the focus detection areas a to k. That is, the human face is out of the focus detection areas a to k of the image plane phase difference AF, and in this state, the image plane phase difference AF cannot be performed. That is, in FIG. 7C, only the AF calculation by the contrast AF circuit 6 using the output of the pixel for the image capturing the main subject (face) is possible.

図5に戻って、ステップS8で操作部材13のレリーズボタンが押下操作されたか否かを判別し、レリーズされた場合はステップ4へ進む。ステップ4では撮像素子3により撮像を行い、画像処理を行って画像をメモリカード11に記録する。一方、レリーズされていない場合はステップS9へ進む。   Returning to FIG. 5, it is determined in step S8 whether or not the release button of the operation member 13 has been pressed. If released, the process proceeds to step 4. In step 4, imaging is performed by the imaging device 3, image processing is performed, and an image is recorded on the memory card 11. On the other hand, if not released, the process proceeds to step S9.

ステップS9において、人物の顔領域が像面位相差AFの焦点検出領域a〜kを外れるか否かを予測する。例えば今、図7(a)に示すように人物の顔を画面中央に捕捉して像面位相差AFで合焦させた後、ユーザーによるカメラの向き(姿勢)調整操作(構図の変更操作)により、図7(b)に示すように人物の顔を撮影画面の左に配置し、画面中央に富士山を入れる構図に設定する場合を想定する。このとき、ユーザーによるカメラの向き(姿勢)調整操作(構図変更操作)が行き過ぎてしまうと、人物の顔が撮影画面の左端に移動してしまって、図7(c)に示す状態になる。この場合は既述のように、人物の顔が焦点検出領域a〜kから外れ、像面位相差AFができなくなる。   In step S9, it is predicted whether or not the face area of the person is out of the focus detection areas a to k of the image plane phase difference AF. For example, as shown in FIG. 7A, a human face is captured at the center of the screen and focused by image plane phase difference AF, and then the camera orientation (posture) adjustment operation (composition change operation) by the user. Therefore, as shown in FIG. 7B, it is assumed that the person's face is arranged on the left of the shooting screen and the composition is set such that Mt. Fuji is placed in the center of the screen. At this time, if the user's camera orientation (posture) adjustment operation (composition change operation) goes too far, the face of the person moves to the left end of the shooting screen, resulting in the state shown in FIG. In this case, as described above, the human face deviates from the focus detection areas a to k, and the image plane phase difference AF cannot be performed.

このように、当初、撮影画面中央の11点の焦点検出領域a〜kの内の複数の焦点検出領域で検出していた人物の顔(主要被写体)が、上下左右端の焦点検出領域、例えば領域d、領域e、あるいは領域a〜cのいずれか、または領域i〜kのいずれかで検出された場合には(換言すれば、主要被写体が、像面位相差AF用の焦点検出領域とコントラストAF用の焦点検出領域との境界近傍に存在する場合には)、いずれ近い将来に人物の顔領域が像面位相差AFの焦点検出領域a〜kを外れる、とカメラは予測する。   In this way, the face (main subject) of the person initially detected in a plurality of focus detection areas among the 11 focus detection areas a to k at the center of the shooting screen is the focus detection area at the top, bottom, left, and right ends, for example, When detected in any one of the areas d, e, or a to c, or the areas i to k (in other words, the main subject is the focus detection area for the image plane phase difference AF). The camera predicts that the face area of the person will deviate from the focus detection areas a to k of the image plane phase difference AF in the near future (when it exists near the boundary with the focus detection area for contrast AF).

人物の顔領域が像面位相差AFの焦点検出領域a〜kを外れると予測される場合には(図7の例であれば図7(b)の状態のときに)、ステップS10へ進み、コントラストAF回路6は、入力した画像信号(顔枠内に含まれる画像用画素の出力)を用いてコントラストAF回路6による演算を開始する。本実施形態では、このステップS10の手前まで(すなわちステップS9まで)は、コントラストAF回路6は給電を受けているがAF演算動作が停止している状態である。なお、省エネのためにステップS9まではコントラストAF回路6への給電自体を遮断しておき、ステップS10からコントラストAF回路6に電源を投入してAF演算を起動するように構成してもよい。ただし、人物の顔領域が焦点検出領域a〜kの内のいずれかで検出されている間(換言すれば、主要被写体が像面位相差AFの実行が優先されているエリアに存在している間)は、主要被写体(顔)を検出した像面位相差AFの焦点検出領域の焦点検出結果により像面位相差AFを実行し、コントラストAFは実行しない(換言すれば、この場面では、コントラストAF回路6によるコントラスト演算(AF演算)は行うが、そのAF演算結果を使った合焦動作(AFレンズの駆動制御)は行わない)。
即ち、主要被写体(顔)が、像面位相差AFの検出エリアとコントラストAFの検出エリアとの境界近傍に近づくと、それまで行っていなかったコントラストAF回路による演算動作を開始させる。このように、両AF方式の検出エリア間の境界近傍においては、両AF回路(コントラストAF回路6と位相差AF回路7)の動作を重複させる。これにより、像面位相差AFによって主要被写体に対する合焦が得られている状態におけるコントラストAF回路7からの出力値(即ち主要被写体に対して合焦状態にあるときのコントラストAF回路7の出力値)を得ることが出来る。
When it is predicted that the face area of the person is out of the focus detection areas a to k of the image plane phase difference AF (in the case of FIG. 7B, the process proceeds to step S10). The contrast AF circuit 6 starts calculation by the contrast AF circuit 6 using the input image signal (output of image pixels included in the face frame). In the present embodiment, until the time before step S10 (that is, until step S9), the contrast AF circuit 6 is supplied with power but the AF calculation operation is stopped. In order to save energy, the power supply to the contrast AF circuit 6 itself may be cut off until step S9, and the AF calculation may be started by turning on the power to the contrast AF circuit 6 from step S10. However, while the face area of the person is detected in any of the focus detection areas a to k (in other words, the main subject exists in an area where execution of the image plane phase difference AF is prioritized. ), The image plane phase difference AF is executed based on the focus detection result of the focus detection area of the image plane phase difference AF in which the main subject (face) is detected, and the contrast AF is not executed (in other words, in this scene, the contrast is The contrast calculation (AF calculation) is performed by the AF circuit 6, but the focusing operation (AF lens drive control) using the AF calculation result is not performed).
That is, when the main subject (face) approaches the vicinity of the boundary between the detection area of the image plane phase difference AF and the detection area of the contrast AF, the calculation operation by the contrast AF circuit that has not been performed is started. Thus, in the vicinity of the boundary between the detection areas of both AF methods, the operations of both AF circuits (the contrast AF circuit 6 and the phase difference AF circuit 7) are overlapped. Thereby, the output value from the contrast AF circuit 7 in a state where the focus on the main subject is obtained by the image plane phase difference AF (that is, the output value of the contrast AF circuit 7 when the main subject is in focus) ) Can be obtained.

ステップS11において、人物の顔領域が像面位相差AFの焦点検出領域a〜kのいずれの領域でも検出されず、人物の顔領域が像面位相差AFの焦点検出領域a〜kから外れたか否かを確認する。人物の顔領域がいずれかの焦点検出領域a〜kで検出されている場合にはステップS9へ戻り、上述した処理を繰り返す。   In step S11, the face area of the person is not detected in any of the focus detection areas a to k of the image plane phase difference AF, and the person face area is out of the focus detection areas a to k of the image plane phase difference AF. Confirm whether or not. When the face area of the person is detected in any of the focus detection areas a to k, the process returns to step S9 and the above process is repeated.

一方、ステップS11において、主要被写体が像面位相差AFの焦点検出領域a〜kを外れたと判断した場合(人物の顔領域が像面位相差AFの焦点検出領域a〜kを外れると予測された後、図7(c)に示すように、実際に人物の顔領域が焦点検出領域a〜kから外れた場合)には、ステップS12へ進み、既に(ステップS10において)起動されているコントラストAF回路6からの出力に基づいて、コントラストAFを実行するとともに、像面位相差AFを停止する。すなわち、このステップS12において、主要被写体に対するAF動作を、像面位相差AFからコントラストAFに完全に移行する(切り替える)。   On the other hand, if it is determined in step S11 that the main subject has deviated from the focus detection areas a to k of the image plane phase difference AF (a person's face area is predicted to deviate from the focus detection areas a to k of the image plane phase difference AF). After that, as shown in FIG. 7C, when the face area of the person actually deviates from the focus detection areas a to k), the process proceeds to step S12, and the contrast already activated (in step S10). Based on the output from the AF circuit 6, contrast AF is executed and image plane phase difference AF is stopped. That is, in this step S12, the AF operation for the main subject is completely shifted (switched) from the image plane phase difference AF to the contrast AF.

像面位相差AFからコントラストAFへ移行するときには、ステップS10で既述したようにコントラストAF回路6による演算動作は既に起動している。そして移行期間中(位相差AF回路7とコントラストAF回路6とが並行して演算している期間)は、主要被写体に対してAF追従して位相差AF回路7の出力に基づいて合焦し続けている。このため像面位相差AFからコントラストAFへ移行する時には、その起動中(AF演算中)のコントラストAF回路6の出力をそのまま引き継いで、コントラストAFへの移行を行えば良い。そして、この移行降のコントラストAF動作としては、通常の(周知の)コントラストAF動作を行う。   When shifting from the image plane phase difference AF to the contrast AF, the calculation operation by the contrast AF circuit 6 has already been started as already described in step S10. During the transition period (a period in which the phase difference AF circuit 7 and the contrast AF circuit 6 are calculating in parallel), the main subject is AF-tracked and focused based on the output of the phase difference AF circuit 7. continuing. For this reason, when shifting from the image plane phase difference AF to contrast AF, the output of the contrast AF circuit 6 during startup (during AF calculation) may be taken over as it is to shift to contrast AF. Then, as the contrast AF operation after the transition, a normal (well-known) contrast AF operation is performed.

本実施形態では、このコントラストAF(コントラストAF回路6の出力に基づく、主要被写体に対する合焦動作)が行われている期間、位相差AF回路7への電源供給は継続されるが、位相差AF回路7での演算動作は行われない。なお、このステップ12で、省エネのために位相差AF回路7への給電自体を止めるように構成しても良い。   In the present embodiment, the power supply to the phase difference AF circuit 7 is continued during the period in which this contrast AF (focusing operation on the main subject based on the output of the contrast AF circuit 6) is performed. The arithmetic operation in the circuit 7 is not performed. In this step 12, the power supply itself to the phase difference AF circuit 7 may be stopped for energy saving.

コントラストAFに移行した後のステップS13において、操作部材13のレリーズボタンが押下操作されたか否かを判別し、レリーズされた場合はステップS14へ進む。ステップS14では撮像素子3により撮像を行い、画像処理を行って画像をメモリカード11に記録する。一方、レリーズされていない場合は図6のステップS15へ進む。   In step S13 after shifting to contrast AF, it is determined whether or not the release button of the operation member 13 has been pressed. If released, the process proceeds to step S14. In step S <b> 14, an image is picked up by the image pickup device 3, image processing is performed, and an image is recorded on the memory card 11. On the other hand, if not released, the process proceeds to step S15 in FIG.

ステップS15では、主要被写体(人物の顔領域)が像面位相差AFの焦点検出領域a〜kの範囲内に入ったか否かを確認する。つまりここでは上記ステップS9で述べたのとは逆の場合、即ち主要被写体がコントラストAF用の焦点検出領域から、像面位相差AF用の焦点検出領域a〜kの何れかの領域内へ移動したのか否か、換言すればコントラストAFから像面位相差AFへの移行のための準備動作(ステップS16にて後述する動作)に入る必要があるか否か、について判断する。人物の顔領域が焦点検出領域a〜kの内の少なくとも1つの領域で検出された場合はステップS16へ進む。ステップS16で位相差AF回路7を起動する、すなわち位相差AF回路7による演算動作を開始する(もしこのステップS16以前に位相差AF回路7の給電を停止していたとしたら、その給電を開始した上で演算動作を開始する)。このとき、位相差AF回路7により人物の顔を検出した焦点検出領域の焦点検出信号を用いて焦点検出演算を実行するが、その演算結果を用いてフォーカシングレンズを駆動しない。   In step S15, it is confirmed whether or not the main subject (person's face area) is within the focus detection areas a to k of the image plane phase difference AF. That is, here, in the case opposite to that described in step S9, that is, the main subject moves from the focus detection area for contrast AF into any one of the focus detection areas a to k for image plane phase difference AF. In other words, it is determined whether or not it is necessary to enter a preparatory operation (operation described later in step S16) for shifting from contrast AF to image plane phase difference AF. If the face area of the person is detected in at least one of the focus detection areas a to k, the process proceeds to step S16. In step S16, the phase difference AF circuit 7 is started, that is, the calculation operation by the phase difference AF circuit 7 is started (if the power supply to the phase difference AF circuit 7 was stopped before step S16, the power supply was started. Start the calculation operation above). At this time, the focus detection calculation is executed using the focus detection signal of the focus detection area in which the human face is detected by the phase difference AF circuit 7, but the focusing lens is not driven using the calculation result.

なお上記ステップS15では、焦点検出領域a〜kの何れかに主要被写体が存在している場合に、位相差AF回路7による演算動作(AF演算)を開始するようにしている。しかしながら、位相差AF回路7による演算開始をもう少し早いタイミングから行うようにしても良い。例えば主要被写体が焦点検出領域a〜kに至る少し手前の領域(焦点検出領域a〜kの画素領域内から1画素手前又は所定数画素手前の画素領域)に主要被写体が存在するか否かを検出し、当該手前の領域に主要被写体が存在したら位相差AF回路7による演算開始を行うようにしても良い。   In step S15, when the main subject is present in any of the focus detection areas a to k, the calculation operation (AF calculation) by the phase difference AF circuit 7 is started. However, the calculation by the phase difference AF circuit 7 may be started at a slightly earlier timing. For example, whether or not the main subject exists in a region just before the main subject reaches the focus detection regions a to k (a pixel region one pixel before or a predetermined number of pixels before the focus detection regions a to k). If a main subject exists in the area in front of the detected object, the calculation by the phase difference AF circuit 7 may be started.

ステップ17においてコントラストAFから像面位相差AFへ切り換えるか否かの判定を行う。本実施形態では、像面位相差AFの焦点検出領域a〜kに主要被写体が完全に存在していれば(図7(a)の状態であれば)、既に(ステップS16において)起動されている位相差AF回路7からの出力に基づいて、位相差AFを実行するとともに、コントラストAFを停止する。すなわち、このステップS17において、主要被写体に対するAF動作を、コントラストAFから像面位相差AFに完全に移行する(切り替える)。
なお、このAF動作の切り替えを、もう少し早い段階(手前の領域)、例えば図7(b)の状態のように主要被写体の一部がまだ像面位相差AFのエリアに入りきっていない状態のときに行うようにしても良い。
In step 17, it is determined whether or not to switch from contrast AF to image plane phase difference AF. In the present embodiment, if the main subject is completely present in the focus detection areas a to k of the image plane phase difference AF (in the state of FIG. 7A), it has already been activated (in step S16). Based on the output from the phase difference AF circuit 7, the phase difference AF is executed and the contrast AF is stopped. That is, in this step S17, the AF operation for the main subject is completely shifted (switched) from the contrast AF to the image plane phase difference AF.
It should be noted that this AF operation is switched at a slightly earlier stage (front area), for example, in a state where a part of the main subject has not yet entered the area of the image plane phase difference AF as shown in FIG. 7B. Sometimes it can be done.

なお、コントラストAFから像面位相差AFへの切り換え判定はこの一実施の形態の判定方法に限定されず、例えばコントラストAFを行っているときに像面位相差AFの焦点検出領域a〜kのいずれかで人物の顔を捕捉してから所定時間が経過したら、コントラストAFから像面位相差AFへ切り換えるようにしてもよい。   Note that switching determination from contrast AF to image plane phase difference AF is not limited to the determination method of this embodiment. For example, when contrast AF is performed, focus detection areas a to k of image plane phase difference AF are detected. If a predetermined time elapses after capturing a person's face in either case, the contrast AF may be switched to the image plane phase difference AF.

コントラストAFから像面位相差AFへの切り換えが決定された場合はステップS18へ進み、位相差AF回路7により像面位相差AFを実行するとともに、コントラストAF回路6による演算が停止される。なお、ステップS10でコントラストAF回路6に電源を供給する構成とした場合には、ステップS18においてコントラストAF回路6への電源の供給を停止してコントラストAFを停止してもよい。その後、図5のステップ6へ戻って上述した処理を繰り返す。   When switching from the contrast AF to the image plane phase difference AF is determined, the process proceeds to step S18, where the phase difference AF circuit 7 executes the image plane phase difference AF and the calculation by the contrast AF circuit 6 is stopped. In the case where power is supplied to the contrast AF circuit 6 in step S10, the supply of power to the contrast AF circuit 6 may be stopped in step S18 to stop the contrast AF. Then, it returns to step 6 of FIG. 5 and repeats the process mentioned above.

この一実施の形態によれば、像面位相差AFを行うための焦点検出用画素は撮影画面の中央部とその周辺(中央部近傍)に配置され、撮影画面周辺部はほぼ撮像用画素のみとなる。この場合、撮影画面中央部では生の画像情報が得られないが、撮影画面周辺部では生の画像情報が得られるため画像情報の低下はない。しかしながら撮影画面中央部は撮影画面周辺部に比べて収差や入射光量などの面で有利である。このため、焦点検出用画素の位置周辺の撮像用画素の出力を用いた周知の補間処理(例えば周知の画素欠陥補正の技術など)を用いて、焦点検出用画素の位置に対応する画像情報を得ることにより、画像の画質低下を最小限に抑制することができる。   According to this embodiment, the focus detection pixels for performing the image plane phase difference AF are arranged in the central portion of the photographing screen and its periphery (near the central portion), and the photographing screen peripheral portion is substantially only the imaging pixels. It becomes. In this case, the raw image information cannot be obtained in the central portion of the shooting screen, but the image information does not deteriorate because the raw image information is obtained in the peripheral portion of the shooting screen. However, the central portion of the photographing screen is more advantageous in terms of aberration, incident light quantity, and the like than the peripheral portion of the photographing screen. For this reason, image information corresponding to the position of the focus detection pixel is obtained using a known interpolation process (for example, a known pixel defect correction technique) using the output of the imaging pixels around the position of the focus detection pixel. As a result, it is possible to minimize degradation of the image quality.

また、ハイブリッドAFでありながら、ポートレート撮影時のように比較的被写体の動きが小さい場合には、コントラストAFと像面位相差AFとを切り換えて行うため、コントラストAFと像面位相差AFとを同時に実行する従来のハイブリッドAFカメラに比べて演算にともなうバッテリー14の消費電力を抑制することができる。   In addition, when the subject movement is relatively small as in portrait photography, the contrast AF and the image plane phase difference AF are performed by switching between the contrast AF and the image plane phase difference AF. As compared with a conventional hybrid AF camera that executes the above simultaneously, the power consumption of the battery 14 accompanying the calculation can be suppressed.

一実施の形態のハイブリッドAFカメラによれば、撮影画面中央部で被写体にピントを合わせた後、構図を変更してAFを追従させることによって、始めから撮影画面周辺部に人物の顔がある場合に、コントラストAFではフォーカシングレンズを広範囲にわたってサーチ駆動しなければならないが、この一実施の形態では撮影画面中央部で像面位相差AFにより粗調を行った後、構図を変えてコントラストAFに切り換えるので、コントラストAFにおけるピーク検出に要する時間を短縮できる。特に、一眼レフカメラにおけるAFロック機能と同様な機能を実現できる。   According to the hybrid AF camera of one embodiment, when the subject is focused on the center of the shooting screen and then the AF is followed by changing the composition, there is a human face on the periphery of the shooting screen from the beginning. Furthermore, in contrast AF, the focusing lens must be searched and driven over a wide range. In this embodiment, after performing coarse adjustment by image plane phase difference AF at the center of the shooting screen, the composition is changed and switched to contrast AF. Therefore, the time required for peak detection in contrast AF can be shortened. In particular, a function similar to the AF lock function in a single-lens reflex camera can be realized.

<追尾撮影モードの動作について>
<第2の実施形態>
上記第1実施形態では、ポートレートモードについて記載したが、AF動作の切り替えは、他の撮影モードでも実施可能である。第2実施形態では、追尾撮影モードの際の動作について、上記第1実施形態の説明を流用しながら説明する。
追尾撮影モードでは、まずスルー画像において、主要被写体の識別を、既知の被写体認識技術、例えば上述の顔認識技術を用いて検出する。
スルー画像において認識された主要被写体が像面位相差AFのAFエリア内に存在する場合には像面位相差AFを用いて主要被写体に対するAFを行い、コントラストAFのAFエリア内に存在する場合にはコントラストAFを用いて主要被写体に対するAFを行う。
次いで、主要被写体に対する周知の追尾AFを行う。その際に、像面位相差AFのAFエリアとコントラストAFのAFエリアとの境界領域に主要被写体が移動した場合には、図5,6にて既述したAF動作の切り替えを行うようにする。
<Operation in tracking shooting mode>
<Second Embodiment>
Although the portrait mode has been described in the first embodiment, the AF operation can be switched in other shooting modes. In the second embodiment, the operation in the tracking shooting mode will be described using the description of the first embodiment.
In the tracking shooting mode, first, identification of a main subject is detected in a through image using a known subject recognition technique, for example, the above-described face recognition technique.
When the main subject recognized in the through image exists in the AF area of the image plane phase difference AF, AF is performed on the main subject using the image plane phase difference AF, and when the main subject exists in the AF area of the contrast AF. Performs AF on the main subject using contrast AF.
Next, a well-known tracking AF is performed on the main subject. At this time, when the main subject moves to the boundary area between the AF area of the image plane phase difference AF and the AF area of the contrast AF, the AF operation described above with reference to FIGS. .

《一実施の形態の変形例1》
上述した一実施の形態では、人物の顔領域が像面位相差AFの焦点検出領域a〜kを外れたら像面位相差AFを停止する例を示した。しかしながら、像面位相差AFを停止させず、これを利用する方法も考えられる。主要被写体である撮影画面周辺部の人物(の顔)に対してはコントラストAFで焦点検出を行うように構成し、それと並行して撮影画面中央部に位置する背景に対しては像面位相差AFで焦点検出を行って、人物の顔と背景の両方にピントが合うような絞りを決定し、撮像を行うようにしてもよい。
<< Modification 1 of Embodiment 1 >>
In the embodiment described above, an example in which the image plane phase difference AF is stopped when the face area of the person deviates from the focus detection areas a to k of the image plane phase difference AF has been described. However, a method using this without stopping the image plane phase difference AF is also conceivable. Contrast AF is used to detect the focus on the person (face) around the shooting screen, which is the main subject, and the image plane phase difference is applied to the background located at the center of the shooting screen. It is also possible to perform focus detection by AF, determine an aperture that focuses on both the face and background of a person, and perform imaging.

例えば、図7(c)に示すように、像面位相差AFの焦点検出領域a〜kをはずれた人物の顔はコントラストAFにより焦点検出を行うとともに、背景の富士山に対しては焦点検出領域a〜kのいずれかで像面位相差AFにより焦点検出を行い、人物の顔と背景の富士山の両方にピントが合うような絞りを決定して撮像を行う。あるいは、人物の顔と背景の富士山との中間にピントを合わせてAFをおこなってもよい。   For example, as shown in FIG. 7C, the face of a person who has deviated from the focus detection areas a to k of the image plane phase difference AF is subjected to focus detection by contrast AF, and the focus detection area for Mt. Fuji in the background. Focus detection is performed by image plane phase difference AF at any one of a to k, and an image is picked up by determining an aperture that is in focus on both the face of the person and Mt. Fuji in the background. Alternatively, AF may be performed by focusing between the face of a person and Mt. Fuji in the background.

《一実施の形態の変形例2》
上記実施形態では、像面位相差AFとコントラストAFとの間のAF動作の切り替えを、主要被写体の存在する領域に応じて決定するようにした。
他の実施の形態としては、コントラストAFによる目標位置Xにおいて像面位相差AFによる焦点検出演算を行い、コントラストAFによる演算結果の目標位置と、像面位相差AFによる演算結果の目標位置との差が予め設定した基準値以下となる場合が連続して所定回数続いたら、コントラストAFから像面位相差AFへの切り換えを決定するようにしても良い。
<< Modification 2 of Embodiment >>
In the above embodiment, the switching of the AF operation between the image plane phase difference AF and the contrast AF is determined according to the area where the main subject exists.
As another embodiment, the focus detection calculation is performed by the image plane phase difference AF at the target position X by the contrast AF, and the target position of the calculation result by the contrast AF and the target position of the calculation result by the image plane phase difference AF are calculated. If the difference is less than or equal to a preset reference value, the switching from the contrast AF to the image plane phase difference AF may be determined when the difference continues for a predetermined number of times.

《一実施の形態の変形例3》
上記変形例2では、像面位相差AFかコントラストAFへの移行の際の、最初のコントラストAFの目標位置としては、移行時のコントラストAF回路6の出力をそのまま用いるように構成した。これとは別の実施形態として、最初のコントラストAFのレンズ目標位置Xには、最後の像面位相差AFのレンズ目標位置Xlastを設定するという手法も考えられる。
<< Modification 3 of Embodiment >>
In the second modification, the output of the contrast AF circuit 6 at the time of transition is used as it is as the initial target position of the contrast AF when shifting to the image plane phase difference AF or contrast AF. As another embodiment, a method of setting the lens target position Xlast of the last image plane phase difference AF as the lens target position X of the first contrast AF is also conceivable.

コントラストAF制御時には、まず目標位置X時点における画像を表示し、目標位置Xの前後の位置X−σとX+σの間で微小にフォーカシングレンズを移動させ(サーチ駆動またはウォブリングという)、3位置X−σ、X、X+σで撮像してコントラスト演算を行う。コントラスト演算の結果、位置Xにおけるコントラストがその前後の位置X−σ、X+σにおけるコントラストより高い場合は目標位置Xにフォーカシングレンズを移動させる。位置X−σまたはX+σのコントラストが高い場合には、コントラストが高い位置を新しい目標位置Xとしてその前後のX−σとX+σの間で上記と同様に微小にフォーカシングレンズを移動させ、3位置X−σ、X、X+σで撮像してコントラスト演算を行う。   At the time of contrast AF control, an image at the target position X is first displayed, and the focusing lens is slightly moved between positions X−σ and X + σ before and after the target position X (referred to as search drive or wobbling), and three positions X− Contrast calculation is performed by imaging with σ, X, and X + σ. As a result of the contrast calculation, when the contrast at the position X is higher than the contrast at the previous and subsequent positions X−σ and X + σ, the focusing lens is moved to the target position X. When the contrast at the position X−σ or X + σ is high, a position having a high contrast is set as a new target position X, and the focusing lens is slightly moved between X−σ and X + σ before and after the position to set the position 3−X Contrast calculation is performed by imaging with −σ, X, and X + σ.

3位置X−σ、X、X+σの間で微小にフォーカシングレンズを移動してコントラストAFにおけるサーチ駆動を行う際に、3位置X−σ、X、X+σで撮像した画像をその都度、モニター10にスルー画像として表示するのではなく、目標位置Xにおいて撮像した画像のみをモニター10にスルー画像として表示する。これにより、コントラストAF時に頻繁にスルー画表示が切り換わってモニター画面が見づらいという問題を解決できる。   When the focusing lens is slightly moved between the three positions X−σ, X, and X + σ to perform search driving in contrast AF, the images captured at the three positions X−σ, X, and X + σ are displayed on the monitor 10 each time. Instead of displaying as a through image, only the image captured at the target position X is displayed on the monitor 10 as a through image. As a result, it is possible to solve the problem that it is difficult to see the monitor screen because the through image display is frequently switched during contrast AF.

なお、上述した実施の形態とそれらの変形例において、実施の形態どうし、または実施の形態と変形例とのあらゆる組み合わせが可能である。   In the above-described embodiments and their modifications, all combinations of the embodiments or the embodiments and the modifications are possible.

上述した実施の形態によれば以下のような作用効果を奏することができる。まず、主要被写体である人物の顔の領域と撮影画面中央に設定された焦点検出領域との位置関係に基づいて、像面位相差AFからコントラストAFへ、またはコントラストAFから像面位相差AFへの切り換えを予測する。そして、切り換え先の像面位相差AFまたはコントラストAFによる演算を行った後、像面位相差AFとコントラストAFの切り換えを行うようにしたので、画像情報2の低下を補正が容易な撮影画面中央のみに制限することができ、像面位相差AFとコントラストAFとを切り換えて実行することができる。   According to embodiment mentioned above, there can exist the following effects. First, based on the positional relationship between the face area of the person who is the main subject and the focus detection area set at the center of the shooting screen, from the image plane phase difference AF to the contrast AF, or from the contrast AF to the image plane phase difference AF. Predict the switching. Then, after performing the calculation by the image plane phase difference AF or contrast AF of the switching destination, the image plane phase difference AF and the contrast AF are switched. The image plane phase difference AF and the contrast AF can be switched and executed.

また、上述した実施の形態によれば、像面位相差AFによる撮影レンズの焦点調節が行われているときに、人物の顔の領域が焦点検出領域の端部に移動した場合は、像面位相差AFからコントラストAFへの切り換えを予測し、コントラストAFによる演算を実行するようにした。その結果、撮影画面中央部の焦点検出領域における像面位相差AFから撮影画面周辺部におけるコントラストAFへの切り換えを確実にスムーズに実行することができる。   Further, according to the above-described embodiment, when the focus of the photographing lens is adjusted by the image plane phase difference AF, when the face area of the person moves to the end of the focus detection area, the image plane Switching from phase difference AF to contrast AF is predicted, and calculation by contrast AF is executed. As a result, the switching from the image plane phase difference AF in the focus detection area at the center of the shooting screen to the contrast AF at the periphery of the shooting screen can be reliably and smoothly performed.

上述した実施の形態によれば、切り換え先のコントラストAFによる演算の実行後に、人物の顔の領域が焦点検出領域から外れたときに、像面位相差AFからコントラストAFへ切り換えるとともに、像面位相差AFによる演算を停止するようにした。そのため、像面位相差AFとコントラストAFとのいずれか一方のAFを合理的に動作させることができる。   According to the above-described embodiment, when the human face area deviates from the focus detection area after execution of the contrast AF at the switching destination, the image plane phase difference AF is switched to the contrast AF, and the image plane position is changed. The calculation by phase difference AF was stopped. Therefore, any one of the image plane phase difference AF and the contrast AF can be rationally operated.

上述した実施の形態によれば、像面位相差AFからコントラストAFへの切り換え時に、像面位相差AFによる最後の撮影レンズの目標位置をコントラストAFの目標位置に設定し、コントラストAFは、目標位置の前後に撮影レンズをサーチ駆動してコントラストがピークとなる撮影レンズの位置を検出するようにしたので、像面位相差AFからコントラストAFへの切り換えをスムーズに実行することができる。   According to the above-described embodiment, when switching from the image plane phase difference AF to the contrast AF, the target position of the last photographing lens based on the image plane phase difference AF is set as the target position of the contrast AF. Since the photographic lens is driven to search before and after the position to detect the position of the photographic lens at which the contrast reaches a peak, switching from the image plane phase difference AF to the contrast AF can be performed smoothly.

上述した実施の形態によれば、コントラストAFによる撮影レンズの焦点調節が行われているときに、人物の顔の領域が焦点検出領域の端部で検出された場合は、コントラストAFから像面位相差AFへの切り換えを予測し、像面位相差AFによる演算を実行するようにした。したがって、撮影画面周辺部におけるコントラストAFから撮影画面中央部の焦点検出領域における像面位相差AFへの切り換えを確実にスムーズに実行することができる。   According to the embodiment described above, when the focus of the photographing lens is adjusted by contrast AF, if the face area of the person is detected at the end of the focus detection area, the image plane position is determined from the contrast AF. Switching to phase difference AF is predicted, and calculation based on image plane phase difference AF is executed. Therefore, the switching from the contrast AF in the peripheral portion of the photographing screen to the image plane phase difference AF in the focus detection region in the central portion of the photographing screen can be surely and smoothly performed.

上述した実施の形態によれば、切り換え先の像面位相差AFの演算を行った後に、コントラストAFの目標位置と像面位相差AFの目標位置とが所定の条件を満たしたときに、コントラストAFから像面位相差AFへ切り換えるとともに、コントラストAFによる演算を停止するようにした。したがって、像面位相差AFとコントラストAFとのいずれか一方のAFを合理的に動作させることができる。   According to the above-described embodiment, when the image plane phase difference AF at the switching destination is calculated, the contrast AF target position and the image plane phase difference AF target position satisfy a predetermined condition. While switching from AF to image plane phase difference AF, the calculation by contrast AF is stopped. Therefore, any one of the image plane phase difference AF and the contrast AF can be rationally operated.

上述した実施の形態によれば、コントラストAFの目標位置と像面位相差AFの目標位置との差が所定値以内となる焦点検出が所定回数連続して発生した場合にコントラストAFから像面位相差AFへ切り換えるとともに、コントラストAFを停止するようにしたので、コントラストAFから像面位相差AFへの切り換えを確実にかつスムーズに実行することができる。   According to the above-described embodiment, the image plane position is detected from the contrast AF when the focus detection in which the difference between the target position of the contrast AF and the target position of the image plane phase difference AF is within a predetermined value is continuously generated a predetermined number of times. Since the switching to the phase difference AF and the contrast AF are stopped, the switching from the contrast AF to the image plane phase difference AF can be executed reliably and smoothly.

上述した実施の形態によれば、焦点検出用画素は撮影画面3aの長辺方向に沿ってライン形状に配列されるものとしたが、撮影画面3aの短辺方向に沿ってライン形状に配列されてもよい。この場合、焦点検出領域a〜kが撮影画面3aの短辺方向に沿ってライン状に設定され、焦点検出用画素は、図4(a)の斜線部に示すように、撮影画面3aの短辺方向に沿ってライン状の領域に配列される。図4(b)は、焦点検出領域の内の縦(撮影画面3aの短辺方向)領域における撮像用画素R、G、Bと焦点検出用画素S3、S4の受光領域の配置を示す部分拡大図である。   According to the embodiment described above, the focus detection pixels are arranged in a line shape along the long side direction of the photographing screen 3a, but are arranged in a line shape along the short side direction of the photographing screen 3a. May be. In this case, the focus detection areas a to k are set in a line shape along the short side direction of the shooting screen 3a, and the focus detection pixels are short on the shooting screen 3a as shown by the hatched portion in FIG. They are arranged in a line-shaped region along the side direction. FIG. 4B is a partial enlargement showing the arrangement of the light receiving areas of the imaging pixels R, G, B and the focus detection pixels S3, S4 in the vertical (short-side direction of the photographing screen 3a) area of the focus detection area. FIG.

図4(b)において、図3(b)の場合と同様に、縦横のラインで囲まれた各“マス”は撮像用画素の領域を示す。各マスの中の実線で示す正方形はマスク開口部を示し、これらのマスク開口部を通って光が受光部に到達する各画素の受光領域を示す。また、図4(b)において、図3(b)の場合と同様に、半円形で囲まれた領域は焦点検出画素のマスク開口部を示し、これらのマスク開口部を通って光が受光部に到達する各画素の受光領域を示す。また、R、G、Bはそれぞれ撮像用赤画素、撮像用緑画素、撮像用青画素を表す。なお、図4(b)でも各画素のマイクロレンズおよび受光部の図示を省略する。なお、図4(b)に示す縦方向の対の焦点検出用画素S3とS4では、受光領域を画素中心に対し上と下に偏って配置する。   In FIG. 4B, as in the case of FIG. 3B, each “mass” surrounded by vertical and horizontal lines indicates an imaging pixel region. A square indicated by a solid line in each square indicates a mask opening, and indicates a light receiving area of each pixel through which the light reaches the light receiving part. Further, in FIG. 4B, as in FIG. 3B, the area surrounded by the semicircle indicates the mask opening of the focus detection pixel, and the light is received through the mask opening. The light receiving area of each pixel that reaches is shown. R, G, and B represent an imaging red pixel, an imaging green pixel, and an imaging blue pixel, respectively. In FIG. 4B, illustration of the microlens and the light receiving portion of each pixel is omitted. In addition, in the vertical pair of focus detection pixels S3 and S4 shown in FIG. 4B, the light receiving region is arranged so as to be biased upward and downward with respect to the pixel center.

図4(b)に示す例では、焦点検出領域の縦領域では、焦点検出用画素S3とS4が一対になり、撮影レンズ2の縦方向(撮影画面3aの短辺方向)の焦点調節状態を示す焦点検出信号を出力する。焦点検出用画素が上記のように配列された場合は、位相差AF回路7は、対の焦点検出用画素 (S3,S4)から出力される焦点検出信号に基づいて、フォーカシングレンズの焦点調節状態を示すデフォーカス量を演算する。   In the example shown in FIG. 4B, in the vertical region of the focus detection region, the focus detection pixels S3 and S4 are paired, and the focus adjustment state in the vertical direction of the photographing lens 2 (the short side direction of the photographing screen 3a) is changed. A focus detection signal is output. When the focus detection pixels are arranged as described above, the phase difference AF circuit 7 determines the focus adjustment state of the focusing lens based on the focus detection signals output from the pair of focus detection pixels (S3, S4). Is calculated.

なお、焦点検出領域a〜kが十字型に設定されていてもよい。この場合、図3(b)に示す焦点検出用画素の配列と、図4(b)に示す焦点検出用画素の配列とを組み合わせればよい。   The focus detection areas a to k may be set in a cross shape. In this case, the array of focus detection pixels shown in FIG. 3B may be combined with the array of focus detection pixels shown in FIG.

1;ハイブリッドAFカメラ、2;撮影レンズ、3;撮像素子、5;画像処理回路、6;コントラストAF回路、7;位相差AF回路、8;レンズ駆動回路、10;モニター、15;コントローラー、R,G,B;撮像用画素、S1〜S4;焦点検出用画素、a〜k;焦点検出領域 DESCRIPTION OF SYMBOLS 1; Hybrid AF camera, 2; Shooting lens, 3; Image pick-up element, 5; Image processing circuit, 6: Contrast AF circuit, 7: Phase difference AF circuit, 8; Lens drive circuit, 10; Monitor, 15; , G, B; imaging pixels, S1 to S4; focus detection pixels, a to k; focus detection regions

Claims (11)

撮像面に撮像用画素と焦点検出用画素とを二次元状に配置した撮像素子であって、前記撮像面の全体に亘って前記撮像用画素を配列するとともに、前記撮像面の一部分に設定された焦点検出領域に前記焦点検出用画素を配列した撮像素子と、
前記撮像素子の前記撮像面に被写体像を結像する撮影光学系と、
前記焦点検出用画素の出力信号に基づいて位相差検出方式により前記撮影光学系の焦点調節を行う第一焦点調節手段と、
前記撮像用画素の出力信号に基づいてコントラスト方式により前記撮影光学系の焦点調節を行う第二焦点調節手段と、
前記撮像素子により撮像された画像を処理して主要被写体を認識する画像処理手段と、
前記画像処理手段により認識された前記主要被写体と前記焦点検出領域との位置関係に基づいて、前記第一焦点調節手段と前記第二焦点調節手段とのうちの一方の焦点調節手段から他方の焦点調節手段への切り換えを予測する切換予測手段と、
前記切換予測手段により切り換えが予測されたときに、切り換え先である前記他方の焦点調節手段を起動する起動手段と、
前記起動手段による切り換え先の前記他方の焦点調節手段の起動後に、前記一方の焦点調節手段から前記他方の焦点調節手段への切り換えを行う切換手段とを有し、
前記切換予測手段は、前記第二焦点調節手段による前記撮影光学系の焦点調節が行われているときに、前記主要被写体が前記焦点検出領域の端部で検出された場合は、前記第二焦点調節手段から前記第一焦点調節手段への切り換えを予測するカメラ。
An imaging device in which imaging pixels and focus detection pixels are two-dimensionally arranged on an imaging surface, wherein the imaging pixels are arranged over the entire imaging surface, and are set to a part of the imaging surface. An image sensor in which the focus detection pixels are arranged in the focus detection area;
An imaging optical system that forms a subject image on the imaging surface of the imaging element;
First focus adjustment means for performing focus adjustment of the photographing optical system by a phase difference detection method based on an output signal of the focus detection pixel;
Second focus adjusting means for performing focus adjustment of the photographing optical system by a contrast method based on an output signal of the imaging pixel;
Image processing means for recognizing a main subject by processing an image picked up by the image pickup device;
Based on the positional relationship between the main subject recognized by the image processing means and the focus detection area, one focus adjustment means from the first focus adjustment means and the second focus adjustment means to the other focus. Switching prediction means for predicting switching to the adjusting means;
An activation unit that activates the other focus adjustment unit that is a switching destination when switching is predicted by the switching prediction unit;
Switching means for switching from the one focus adjustment means to the other focus adjustment means after the activation of the other focus adjustment means of the switching destination by the activation means,
When the focus adjustment of the photographing optical system is being performed by the second focus adjustment unit, the switching prediction unit is configured to detect the second focus when the main subject is detected at the end of the focus detection region. A camera that predicts switching from the adjusting means to the first focus adjusting means.
請求項1に記載のカメラにおいて、
前記切換予測手段は、前記第一焦点調節手段による前記焦点調節が行われているときに、前記主要被写体が前記焦点検出領域の端部に移動した場合は、前記第一焦点調節手段から前記第二焦点調節手段への切り換えを予測することを特徴とするカメラ。
The camera of claim 1,
The switching predicting means, when the focus adjustment is performed by the first focus adjusting means, when the main subject moves to the end of the focus detection area, A camera characterized by predicting switching to a bifocal adjustment means.
請求項2に記載のカメラにおいて、
前記切換手段は、前記起動手段による切り換え先の前記第二焦点調節手段の起動後に、前記主要被写体が前記焦点検出領域から外れたときに、前記第一焦点調節手段から前記第二焦点調節手段へ切り換えるとともに、前記第一焦点調節手段の動作を停止することを特徴とするカメラ。
The camera according to claim 2,
The switching means switches from the first focus adjustment means to the second focus adjustment means when the main subject deviates from the focus detection area after activation of the second focus adjustment means to be switched by the activation means. A camera characterized by switching and stopping the operation of the first focus adjusting means.
請求項3に記載のカメラにおいて、
前記第一焦点調節手段から前記第二焦点調節手段への切り換え時に、前記第一焦点調節手段による最後の前記撮影光学系の目標位置を前記第二焦点調節手段の最初の目標位置に設定し、前記第二焦点調節手段は、前記目標位置の前後に前記撮影光学系をサーチ駆動してコントラストがピークとなる前記撮影光学系の位置を検出することを特徴とするカメラ。
The camera according to claim 3.
At the time of switching from the first focus adjustment means to the second focus adjustment means, the last target position of the photographing optical system by the first focus adjustment means is set to the first target position of the second focus adjustment means, 2. The camera according to claim 1, wherein the second focus adjusting unit detects the position of the photographing optical system at which the contrast reaches a peak by performing search driving of the photographing optical system before and after the target position.
請求項1に記載のカメラにおいて、
前記切換手段は、前記起動手段による切り換え先の前記第一焦点調節手段の起動後に、前記第二焦点調節手段の目標位置と前記第一焦点調節手段の目標位置とが所定の条件を満たしたときに、前記第二焦点調節手段から前記第一焦点調節手段へ切り換えるとともに、前記第二焦点調節手段の動作を停止することを特徴とするカメラ。
The camera of claim 1,
The switching means, when the target position of the second focus adjusting means and the target position of the first focus adjusting means satisfy a predetermined condition after the start of the first focus adjusting means of the switching destination by the starting means And switching from the second focus adjusting means to the first focus adjusting means and stopping the operation of the second focus adjusting means.
請求項5に記載のカメラにおいて、
前記所定の条件は、前記第二焦点調節手段の目標位置と前記第一焦点調節手段の目標位置との差が所定値以内となる焦点検出が所定回数連続して発生した場合とすることを特徴とするカメラ。
The camera according to claim 5, wherein
The predetermined condition is a case where focus detection in which a difference between a target position of the second focus adjusting unit and a target position of the first focus adjusting unit is within a predetermined value is continuously generated a predetermined number of times. Camera.
請求項1〜5のいずれか一項に記載のカメラにおいて、
前記撮像素子により撮像された画像を表示する表示手段と備え、
前記表示手段は、前記第二焦点調節手段が目標位置の前後に前記撮影光学系をサーチ駆動してコントラストがピークとなる前記撮影光学系の位置を検出する際に、前記目標位置において前記撮像素子により撮像した画像を表示手段に表示することを特徴とするカメラ。
In the camera according to any one of claims 1 to 5,
Display means for displaying an image captured by the image sensor ;
The display means is configured to detect the position of the imaging optical system at which the contrast is at a peak when the second focus adjusting means detects and drives the imaging optical system before and after the target position to detect the position of the imaging element. A camera characterized in that an image picked up by (2) is displayed on a display means.
撮影光学系による被写体像が結像される撮像面に撮像用画素と焦点検出用画素とが備えられた撮像素子と、
第1の焦点検出領域について前記焦点検出用画素の出力を用いて位相差検出方式による前記撮影光学系の焦点調節制御である第1制御を行い、前記第1の焦点検出領域よりも広い第2の焦点検出領域について前記撮像用画素の出力を用いてコントラスト方式による前記撮影光学系の焦点調節制御である第2制御を行う焦点調節制御部と、
前記撮像素子により撮像された画像を用いて主要被写体を認定する画像処理部とを有し、
前記第2制御が行われている場合に、前記主要被写体が前記第1の焦点検出領域の端部で検出されたとき前記第2制御から前記第1制御への切り換えを予測する予測部と、
前記予測部により前記第2制御から前記第1制御への切り換えが予測されたとき前記第2制御から前記第1制御への切り換えを行う切換部とを有するカメラ。
An image pickup device including an image pickup pixel and a focus detection pixel on an image pickup surface on which a subject image is formed by a photographing optical system;
The first focus detection area is subjected to a first control, which is a focus adjustment control of the photographing optical system by a phase difference detection method, using an output of the focus detection pixel, and a second wider than the first focus detection area. A focus adjustment control unit that performs a second control, which is a focus adjustment control of the imaging optical system by a contrast method , using the output of the imaging pixel for the focus detection region of
An image processing unit that identifies a main subject using an image captured by the image sensor ;
A predicting unit that predicts switching from the second control to the first control when the main subject is detected at an end of the first focus detection area when the second control is performed;
Camera chromatic and switching unit for switching to the first control from the second control when switching to the first control from the second control is predicted by the prediction unit.
請求項8に記載のカメラにおいて、
前記焦点調節制御部は、前記第2制御が行われている場合に、前記主要被写体が前記第1焦点検出領域の端部で検出されたとき、前記第1制御を起動し、前記第1制御が起動した後に、前記第2制御から前記第1制御に変更するカメラ。
The camera according to claim 8, wherein
When the second control is being performed, the focus adjustment control unit activates the first control when the main subject is detected at the end of the first focus detection area, and the first control after the control is started, the camera to be changed to the first control from the second control.
請求項8または9に記載のカメラにおいて、
前記画像処理部は、前記主要被写体として顔を認識するカメラ。
The camera according to claim 8 or 9 ,
The image processing unit is a camera that recognizes a face as the main subject .
請求項8乃至10の何れか一項に記載のカメラにおいて、
前記第1の焦点検出領域は、位相差検出方式により合焦位置の検出が可能な複数の焦点検出領域を含み、
前記第1の焦点検出領域の端部は、前記複数の焦点検出領域のうちの端に備えられた前記焦点検出領域の位置であるカメラ。
The camera according to any one of claims 8 to 10 ,
The first focus detection area includes a plurality of focus detection areas capable of detecting a focus position by a phase difference detection method,
An end of the first focus detection area is a camera that is a position of the focus detection area provided at an end of the plurality of focus detection areas.
JP2011137206A 2011-06-21 2011-06-21 camera Active JP5961929B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011137206A JP5961929B2 (en) 2011-06-21 2011-06-21 camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011137206A JP5961929B2 (en) 2011-06-21 2011-06-21 camera

Publications (2)

Publication Number Publication Date
JP2013003501A JP2013003501A (en) 2013-01-07
JP5961929B2 true JP5961929B2 (en) 2016-08-03

Family

ID=47672106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011137206A Active JP5961929B2 (en) 2011-06-21 2011-06-21 camera

Country Status (1)

Country Link
JP (1) JP5961929B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5705270B2 (en) 2013-05-27 2015-04-22 キヤノン株式会社 IMAGING DEVICE, IMAGING SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP6257201B2 (en) * 2013-07-23 2018-01-10 キヤノン株式会社 FOCUS DETECTION DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE
JP6257231B2 (en) * 2013-09-09 2018-01-10 オリンパス株式会社 IMAGING DEVICE AND CONTROL METHOD OF IMAGING DEVICE
JP6285683B2 (en) * 2013-10-01 2018-02-28 キヤノン株式会社 Imaging apparatus and control method thereof
JP6458343B2 (en) * 2014-02-27 2019-01-30 株式会社ニコン Imaging device
JP2015187662A (en) * 2014-03-27 2015-10-29 株式会社ニコン Focus adjustment device and imaging apparatus
JP6452354B2 (en) * 2014-09-01 2019-01-16 キヤノン株式会社 Imaging device
JP2016142925A (en) 2015-02-02 2016-08-08 キヤノン株式会社 Imaging apparatus, method of controlling the same, program, and storage medium
JP6282240B2 (en) * 2015-02-25 2018-02-21 キヤノン株式会社 IMAGING DEVICE, IMAGING SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
US10129477B2 (en) 2015-08-19 2018-11-13 Google Llc Smart image sensor having integrated memory and processor
CN106506969B (en) * 2016-11-29 2019-07-19 Oppo广东移动通信有限公司 Camera module, the method and electronic equipment that portrait tracking is carried out by it
JP2019095594A (en) 2017-11-22 2019-06-20 キヤノン株式会社 Focus detection device and method, and imaging apparatus
JP6699679B2 (en) * 2018-02-28 2020-05-27 株式会社ニコン Imaging device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005025212A1 (en) * 2003-09-04 2005-03-17 Canon Kabushiki Kaisha Imaging device, control method thereof, and control program
JP4390286B2 (en) * 2005-01-25 2009-12-24 キヤノン株式会社 Camera, control method thereof, program, and storage medium
JP4701805B2 (en) * 2005-04-19 2011-06-15 株式会社ニコン Autofocus device
JP5180042B2 (en) * 2008-11-28 2013-04-10 三星電子株式会社 Imaging apparatus and imaging method
JP5417827B2 (en) * 2008-12-09 2014-02-19 株式会社ニコン Focus detection apparatus and imaging apparatus
JP5247522B2 (en) * 2009-02-18 2013-07-24 パナソニック株式会社 Imaging device

Also Published As

Publication number Publication date
JP2013003501A (en) 2013-01-07

Similar Documents

Publication Publication Date Title
JP5961929B2 (en) camera
JP5054583B2 (en) Imaging device
US20140198244A1 (en) Focus aid system
JP2010282085A (en) Imaging apparatus
EP2007135B1 (en) Imaging apparatus
JP2007225808A (en) Autofocus unit and digital camera
JP2009109839A (en) Image tracking device and imaging device
JP4893334B2 (en) Image tracking device and imaging device
US10477101B2 (en) Focus detection apparatus, control method and storage medium
JP4801960B2 (en) Autofocus control device, image forming apparatus using the autofocus control device, and autofocus control method
JP7293025B2 (en) Imaging device and its control method
JP2009069696A (en) Imaging device and focusing control method
JP2003244520A (en) Photographing device
JP2009157123A (en) Imaging device
JP5056136B2 (en) Image tracking device
JP4941141B2 (en) Imaging device
JP2012208507A (en) Image tracking device
JP2013205675A (en) Imaging apparatus
JP2010134309A (en) Autofocus device, autofocus method and imaging apparatus
JP5965654B2 (en) TRACKING DEVICE, IMAGING DEVICE, TRACKING METHOD USED FOR IMAGING DEVICE
KR101634249B1 (en) auto focusing apparatus and auto focusing method
JP2017032874A (en) Focus detection device and method, and imaging apparatus
JP2009267893A (en) Imaging apparatus
JP2009048123A (en) Photographing equipment and method of controlling same
JP2003185911A (en) Optical system control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150421

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160613

R150 Certificate of patent or registration of utility model

Ref document number: 5961929

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250